diff --git a/CHANGELOG b/CHANGELOG index 3074cf6db..ae33b7b55 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2019-04-15 Version: 1.36.5 +1, Add apis, DescribeScreenHostStatistics、DescribeScreenSummaryInfo、DescribeScreenAttackAnalysisData、DescribeScreenAttackAnalysisData、DescribeScreenAttackAnalysisData + 2019-04-15 Version: 1.36.4 1, Add Group Api. diff --git a/VERSION b/VERSION index 3046826fc..372b6d10d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.4 \ No newline at end of file +1.36.5 \ No newline at end of file diff --git a/aegis/CMakeLists.txt b/aegis/CMakeLists.txt index 817d53d1b..edfaa02ff 100644 --- a/aegis/CMakeLists.txt +++ b/aegis/CMakeLists.txt @@ -21,105 +21,905 @@ set(aegis_public_header include/alibabacloud/aegis/AegisExport.h ) set(aegis_public_header_model - include/alibabacloud/aegis/model/GetEntityListRequest.h - include/alibabacloud/aegis/model/GetEntityListResult.h - include/alibabacloud/aegis/model/GetStatisticsByUuidRequest.h - include/alibabacloud/aegis/model/GetStatisticsByUuidResult.h - include/alibabacloud/aegis/model/GetStatisticsRequest.h - include/alibabacloud/aegis/model/GetStatisticsResult.h - include/alibabacloud/aegis/model/DescribeVulDetailsRequest.h - include/alibabacloud/aegis/model/DescribeVulDetailsResult.h + include/alibabacloud/aegis/model/DescribeAnalysisShipperStatusRequest.h + include/alibabacloud/aegis/model/DescribeAnalysisShipperStatusResult.h + include/alibabacloud/aegis/model/DescribeCanUpgradeSasRequest.h + include/alibabacloud/aegis/model/DescribeCanUpgradeSasResult.h + include/alibabacloud/aegis/model/DescribeTraceInfoNodeRequest.h + include/alibabacloud/aegis/model/DescribeTraceInfoNodeResult.h + include/alibabacloud/aegis/model/DescribeScreenAttackAnalysisDataRequest.h + include/alibabacloud/aegis/model/DescribeScreenAttackAnalysisDataResult.h + include/alibabacloud/aegis/model/DescribeAutoDelConfigRequest.h + include/alibabacloud/aegis/model/DescribeAutoDelConfigResult.h + include/alibabacloud/aegis/model/DescribeVulListRequest.h + include/alibabacloud/aegis/model/DescribeVulListResult.h + include/alibabacloud/aegis/model/ModifyWebLockUpdateConfigRequest.h + include/alibabacloud/aegis/model/ModifyWebLockUpdateConfigResult.h + include/alibabacloud/aegis/model/DescribeVulnerabilitySummaryRequest.h + include/alibabacloud/aegis/model/DescribeVulnerabilitySummaryResult.h + include/alibabacloud/aegis/model/SetDatasourceStatusRequest.h + include/alibabacloud/aegis/model/SetDatasourceStatusResult.h + include/alibabacloud/aegis/model/OperateSuspiciousEventRequest.h + include/alibabacloud/aegis/model/OperateSuspiciousEventResult.h + include/alibabacloud/aegis/model/OperateSuspiciousTargetConfigRequest.h + include/alibabacloud/aegis/model/OperateSuspiciousTargetConfigResult.h + include/alibabacloud/aegis/model/DescribeAnalysisHistogramsRequest.h + include/alibabacloud/aegis/model/DescribeAnalysisHistogramsResult.h + include/alibabacloud/aegis/model/ExportWarningRequest.h + include/alibabacloud/aegis/model/ExportWarningResult.h + include/alibabacloud/aegis/model/DescribeEcsStsStatusRequest.h + include/alibabacloud/aegis/model/DescribeEcsStsStatusResult.h + include/alibabacloud/aegis/model/UpdateWhiteListStrategyRelationRequest.h + include/alibabacloud/aegis/model/UpdateWhiteListStrategyRelationResult.h include/alibabacloud/aegis/model/DeleteStrategyRequest.h include/alibabacloud/aegis/model/DeleteStrategyResult.h + include/alibabacloud/aegis/model/DescribeOperateInfoRequest.h + include/alibabacloud/aegis/model/DescribeOperateInfoResult.h + include/alibabacloud/aegis/model/OpenSasTrialRequest.h + include/alibabacloud/aegis/model/OpenSasTrialResult.h + include/alibabacloud/aegis/model/ModifyVulLevelRequest.h + include/alibabacloud/aegis/model/ModifyVulLevelResult.h + include/alibabacloud/aegis/model/ModifyVulTargetRequest.h + include/alibabacloud/aegis/model/ModifyVulTargetResult.h + include/alibabacloud/aegis/model/ModifyBatchIgnoreVulRequest.h + include/alibabacloud/aegis/model/ModifyBatchIgnoreVulResult.h + include/alibabacloud/aegis/model/DescribeSummaryInfoRequest.h + include/alibabacloud/aegis/model/DescribeSummaryInfoResult.h + include/alibabacloud/aegis/model/DescribeStrategyProcessRequest.h + include/alibabacloud/aegis/model/DescribeStrategyProcessResult.h + include/alibabacloud/aegis/model/DescribeSuspTrendStatisticsRequest.h + include/alibabacloud/aegis/model/DescribeSuspTrendStatisticsResult.h + include/alibabacloud/aegis/model/DescribeDataSourceRequest.h + include/alibabacloud/aegis/model/DescribeDataSourceResult.h + include/alibabacloud/aegis/model/DescribeResultListRequest.h + include/alibabacloud/aegis/model/DescribeResultListResult.h + include/alibabacloud/aegis/model/DownloadLogRequest.h + include/alibabacloud/aegis/model/DownloadLogResult.h + include/alibabacloud/aegis/model/DescribeTargetConfigRequest.h + include/alibabacloud/aegis/model/DescribeTargetConfigResult.h + include/alibabacloud/aegis/model/DescribeVulNumStatisticsRequest.h + include/alibabacloud/aegis/model/DescribeVulNumStatisticsResult.h + include/alibabacloud/aegis/model/DescribeLogInfoRequest.h + include/alibabacloud/aegis/model/DescribeLogInfoResult.h + include/alibabacloud/aegis/model/GetAccountStatisticsRequest.h + include/alibabacloud/aegis/model/GetAccountStatisticsResult.h + include/alibabacloud/aegis/model/DescribeUuidConfigRequest.h + include/alibabacloud/aegis/model/DescribeUuidConfigResult.h + include/alibabacloud/aegis/model/DescribeScreenHostStatisticsRequest.h + include/alibabacloud/aegis/model/DescribeScreenHostStatisticsResult.h + include/alibabacloud/aegis/model/DeleteDingTalkRequest.h + include/alibabacloud/aegis/model/DeleteDingTalkResult.h + include/alibabacloud/aegis/model/DescribeSuspEventTypesRequest.h + include/alibabacloud/aegis/model/DescribeSuspEventTypesResult.h + include/alibabacloud/aegis/model/BatchDeleteWhiteListRequest.h + include/alibabacloud/aegis/model/BatchDeleteWhiteListResult.h + include/alibabacloud/aegis/model/DeleteJoinRuleRequest.h + include/alibabacloud/aegis/model/DeleteJoinRuleResult.h + include/alibabacloud/aegis/model/ModifySasAssetStatisticsColumnRequest.h + include/alibabacloud/aegis/model/ModifySasAssetStatisticsColumnResult.h + include/alibabacloud/aegis/model/DescribeTraceInfoNodeListRequest.h + include/alibabacloud/aegis/model/DescribeTraceInfoNodeListResult.h + include/alibabacloud/aegis/model/DescribeAnalysisSlsIndexRequest.h + include/alibabacloud/aegis/model/DescribeAnalysisSlsIndexResult.h + include/alibabacloud/aegis/model/ModifyWebLockCreateConfigRequest.h + include/alibabacloud/aegis/model/ModifyWebLockCreateConfigResult.h + include/alibabacloud/aegis/model/DeleteRuleGroupRequest.h + include/alibabacloud/aegis/model/DeleteRuleGroupResult.h + include/alibabacloud/aegis/model/DescribeStatisticsRequest.h + include/alibabacloud/aegis/model/DescribeStatisticsResult.h + include/alibabacloud/aegis/model/DescribeAlarmEventDetailRequest.h + include/alibabacloud/aegis/model/DescribeAlarmEventDetailResult.h + include/alibabacloud/aegis/model/CreateSuspiciousExportRequest.h + include/alibabacloud/aegis/model/CreateSuspiciousExportResult.h + include/alibabacloud/aegis/model/OperateVulRequest.h + include/alibabacloud/aegis/model/OperateVulResult.h include/alibabacloud/aegis/model/GetCrackStatisticsRequest.h include/alibabacloud/aegis/model/GetCrackStatisticsResult.h - include/alibabacloud/aegis/model/DescribeWarningRequest.h - include/alibabacloud/aegis/model/DescribeWarningResult.h + include/alibabacloud/aegis/model/DescribeConcernNecessityRequest.h + include/alibabacloud/aegis/model/DescribeConcernNecessityResult.h + include/alibabacloud/aegis/model/OperateAgentClientInstallRequest.h + include/alibabacloud/aegis/model/OperateAgentClientInstallResult.h + include/alibabacloud/aegis/model/DescribeScreenScoreThreadRequest.h + include/alibabacloud/aegis/model/DescribeScreenScoreThreadResult.h + include/alibabacloud/aegis/model/DescribeBuySummaryRequest.h + include/alibabacloud/aegis/model/DescribeBuySummaryResult.h + include/alibabacloud/aegis/model/DescribeStrategyTargetRequest.h + include/alibabacloud/aegis/model/DescribeStrategyTargetResult.h + include/alibabacloud/aegis/model/DescribeSuspiciousUUIDConfigRequest.h + include/alibabacloud/aegis/model/DescribeSuspiciousUUIDConfigResult.h + include/alibabacloud/aegis/model/DescribeTopicListRequest.h + include/alibabacloud/aegis/model/DescribeTopicListResult.h + include/alibabacloud/aegis/model/DescribeAssetDetailByUuidRequest.h + include/alibabacloud/aegis/model/DescribeAssetDetailByUuidResult.h + include/alibabacloud/aegis/model/DescribeScreenVersionConfigRequest.h + include/alibabacloud/aegis/model/DescribeScreenVersionConfigResult.h + include/alibabacloud/aegis/model/DescribeVulExportInfoRequest.h + include/alibabacloud/aegis/model/DescribeVulExportInfoResult.h + include/alibabacloud/aegis/model/DeleteRuleRequest.h + include/alibabacloud/aegis/model/DeleteRuleResult.h + include/alibabacloud/aegis/model/DescribeSuspEventDetailRequest.h + include/alibabacloud/aegis/model/DescribeSuspEventDetailResult.h + include/alibabacloud/aegis/model/DescribeEventLevelCountRequest.h + include/alibabacloud/aegis/model/DescribeEventLevelCountResult.h + include/alibabacloud/aegis/model/QueryCrackEventRequest.h + include/alibabacloud/aegis/model/QueryCrackEventResult.h + include/alibabacloud/aegis/model/CreateOrUpdateGroupRequest.h + include/alibabacloud/aegis/model/CreateOrUpdateGroupResult.h + include/alibabacloud/aegis/model/SaveSuspEventUserSettingRequest.h + include/alibabacloud/aegis/model/SaveSuspEventUserSettingResult.h + include/alibabacloud/aegis/model/DescribeSearchConditionRequest.h + include/alibabacloud/aegis/model/DescribeSearchConditionResult.h + include/alibabacloud/aegis/model/ModifySaveVulBatchRequest.h + include/alibabacloud/aegis/model/ModifySaveVulBatchResult.h + include/alibabacloud/aegis/model/DescribeVulDetailsRequest.h + include/alibabacloud/aegis/model/DescribeVulDetailsResult.h + include/alibabacloud/aegis/model/DescribeLogItemsRequest.h + include/alibabacloud/aegis/model/DescribeLogItemsResult.h + include/alibabacloud/aegis/model/DescribeWebLockEventsRequest.h + include/alibabacloud/aegis/model/DescribeWebLockEventsResult.h + include/alibabacloud/aegis/model/ExecStrategyRequest.h + include/alibabacloud/aegis/model/ExecStrategyResult.h + include/alibabacloud/aegis/model/DescribeSuspEventExportInfoRequest.h + include/alibabacloud/aegis/model/DescribeSuspEventExportInfoResult.h + include/alibabacloud/aegis/model/OperationSuspEventsRequest.h + include/alibabacloud/aegis/model/OperationSuspEventsResult.h + include/alibabacloud/aegis/model/DescribeSasAssetStatisticsRequest.h + include/alibabacloud/aegis/model/DescribeSasAssetStatisticsResult.h + include/alibabacloud/aegis/model/DescribeDefenceThreadRequest.h + include/alibabacloud/aegis/model/DescribeDefenceThreadResult.h + include/alibabacloud/aegis/model/CreateVulWhitelistRequest.h + include/alibabacloud/aegis/model/CreateVulWhitelistResult.h + include/alibabacloud/aegis/model/ModifyConcernNecessityRequest.h + include/alibabacloud/aegis/model/ModifyConcernNecessityResult.h + include/alibabacloud/aegis/model/GetStatisticsByUuidRequest.h + include/alibabacloud/aegis/model/GetStatisticsByUuidResult.h + include/alibabacloud/aegis/model/ModifyVulConfigRequest.h + include/alibabacloud/aegis/model/ModifyVulConfigResult.h + include/alibabacloud/aegis/model/GetStatisticsRequest.h + include/alibabacloud/aegis/model/GetStatisticsResult.h + include/alibabacloud/aegis/model/DescribesummaryRequest.h + include/alibabacloud/aegis/model/DescribesummaryResult.h + include/alibabacloud/aegis/model/DescribeSuspEventsRequest.h + include/alibabacloud/aegis/model/DescribeSuspEventsResult.h + include/alibabacloud/aegis/model/CreateOrUpdateDataSourceRequest.h + include/alibabacloud/aegis/model/CreateOrUpdateDataSourceResult.h + include/alibabacloud/aegis/model/DescribeVulWhitelistRequest.h + include/alibabacloud/aegis/model/DescribeVulWhitelistResult.h + include/alibabacloud/aegis/model/DescribeRiskTypeRequest.h + include/alibabacloud/aegis/model/DescribeRiskTypeResult.h + include/alibabacloud/aegis/model/DescribeVulLevelStatisticsRequest.h + include/alibabacloud/aegis/model/DescribeVulLevelStatisticsResult.h + include/alibabacloud/aegis/model/DescribeWhiteListStrategyListRequest.h + include/alibabacloud/aegis/model/DescribeWhiteListStrategyListResult.h + include/alibabacloud/aegis/model/DescribeTraceInfoDetailRequest.h + include/alibabacloud/aegis/model/DescribeTraceInfoDetailResult.h + include/alibabacloud/aegis/model/DescribeGroupListRequest.h + include/alibabacloud/aegis/model/DescribeGroupListResult.h + include/alibabacloud/aegis/model/DescribeCanTrySasRequest.h + include/alibabacloud/aegis/model/DescribeCanTrySasResult.h + include/alibabacloud/aegis/model/DescribeTargetRequest.h + include/alibabacloud/aegis/model/DescribeTargetResult.h + include/alibabacloud/aegis/model/DescribeWebshellRequest.h + include/alibabacloud/aegis/model/DescribeWebshellResult.h + include/alibabacloud/aegis/model/DescribeCheckWarningDetailRequest.h + include/alibabacloud/aegis/model/DescribeCheckWarningDetailResult.h + include/alibabacloud/aegis/model/SaveWhiteListStrategyAssetsRequest.h + include/alibabacloud/aegis/model/SaveWhiteListStrategyAssetsResult.h + include/alibabacloud/aegis/model/CreateOrUpdateDingTalkRequest.h + include/alibabacloud/aegis/model/CreateOrUpdateDingTalkResult.h + include/alibabacloud/aegis/model/DescribeWarningMachinesRequest.h + include/alibabacloud/aegis/model/DescribeWarningMachinesResult.h + include/alibabacloud/aegis/model/ModifySearchConditionRequest.h + include/alibabacloud/aegis/model/ModifySearchConditionResult.h + include/alibabacloud/aegis/model/DescribeWhiteListStrategyUuidCountRequest.h + include/alibabacloud/aegis/model/DescribeWhiteListStrategyUuidCountResult.h + include/alibabacloud/aegis/model/DescribeGroupedVulRequest.h + include/alibabacloud/aegis/model/DescribeGroupedVulResult.h + include/alibabacloud/aegis/model/ModifyWebLockDeleteConfigRequest.h + include/alibabacloud/aegis/model/ModifyWebLockDeleteConfigResult.h + include/alibabacloud/aegis/model/CreateUserWhiteListRequest.h + include/alibabacloud/aegis/model/CreateUserWhiteListResult.h + include/alibabacloud/aegis/model/DescribeSecureSuggestionRequest.h + include/alibabacloud/aegis/model/DescribeSecureSuggestionResult.h + include/alibabacloud/aegis/model/DescribeSuspiciousOverallConfigRequest.h + include/alibabacloud/aegis/model/DescribeSuspiciousOverallConfigResult.h + include/alibabacloud/aegis/model/DescribeAnalysisCurveRequest.h + include/alibabacloud/aegis/model/DescribeAnalysisCurveResult.h + include/alibabacloud/aegis/model/DescribeScreenAlarmEventListRequest.h + include/alibabacloud/aegis/model/DescribeScreenAlarmEventListResult.h + include/alibabacloud/aegis/model/CreatScreenSettingRequest.h + include/alibabacloud/aegis/model/CreatScreenSettingResult.h + include/alibabacloud/aegis/model/DescribeAlarmEventListRequest.h + include/alibabacloud/aegis/model/DescribeAlarmEventListResult.h + include/alibabacloud/aegis/model/CanTrySasRequest.h + include/alibabacloud/aegis/model/CanTrySasResult.h + include/alibabacloud/aegis/model/DescribeScreenSummaryInfoRequest.h + include/alibabacloud/aegis/model/DescribeScreenSummaryInfoResult.h + include/alibabacloud/aegis/model/OperateWarningRequest.h + include/alibabacloud/aegis/model/OperateWarningResult.h + include/alibabacloud/aegis/model/ExecuteRuleEngineActualTimeRequest.h + include/alibabacloud/aegis/model/ExecuteRuleEngineActualTimeResult.h + include/alibabacloud/aegis/model/CreateUserSettingRequest.h + include/alibabacloud/aegis/model/CreateUserSettingResult.h + include/alibabacloud/aegis/model/ExportSuspEventsRequest.h + include/alibabacloud/aegis/model/ExportSuspEventsResult.h + include/alibabacloud/aegis/model/DescribeLogShipperStatusRequest.h + include/alibabacloud/aegis/model/DescribeLogShipperStatusResult.h + include/alibabacloud/aegis/model/DescribeLogMetaRequest.h + include/alibabacloud/aegis/model/DescribeLogMetaResult.h + include/alibabacloud/aegis/model/DescribeQuaraFileRequest.h + include/alibabacloud/aegis/model/DescribeQuaraFileResult.h + include/alibabacloud/aegis/model/DescribeTotalStatisticsRequest.h + include/alibabacloud/aegis/model/DescribeTotalStatisticsResult.h + include/alibabacloud/aegis/model/DescribeWhiteListStrategyStatisticsRequest.h + include/alibabacloud/aegis/model/DescribeWhiteListStrategyStatisticsResult.h + include/alibabacloud/aegis/model/AutoUpgradeToSasAdvancedVersionRequest.h + include/alibabacloud/aegis/model/AutoUpgradeToSasAdvancedVersionResult.h + include/alibabacloud/aegis/model/DescribeStratetyRequest.h + include/alibabacloud/aegis/model/DescribeStratetyResult.h + include/alibabacloud/aegis/model/DescribeAnalysisStatisticsRequest.h + include/alibabacloud/aegis/model/DescribeAnalysisStatisticsResult.h + include/alibabacloud/aegis/model/DescribeWebLockConfigListRequest.h + include/alibabacloud/aegis/model/DescribeWebLockConfigListResult.h + include/alibabacloud/aegis/model/ModifyAutoDelConfigRequest.h + include/alibabacloud/aegis/model/ModifyAutoDelConfigResult.h + include/alibabacloud/aegis/model/DescribeUserSettingRequest.h + include/alibabacloud/aegis/model/DescribeUserSettingResult.h + include/alibabacloud/aegis/model/DescribeVulBatchRequest.h + include/alibabacloud/aegis/model/DescribeVulBatchResult.h include/alibabacloud/aegis/model/ReleaseInstanceRequest.h include/alibabacloud/aegis/model/ReleaseInstanceResult.h + include/alibabacloud/aegis/model/DescribeVulLevelRequest.h + include/alibabacloud/aegis/model/DescribeVulLevelResult.h + include/alibabacloud/aegis/model/ModifyWebLockOperateEventsRequest.h + include/alibabacloud/aegis/model/ModifyWebLockOperateEventsResult.h + include/alibabacloud/aegis/model/DescribeWhiteListAuthorizeRequest.h + include/alibabacloud/aegis/model/DescribeWhiteListAuthorizeResult.h + include/alibabacloud/aegis/model/DescribeAttackAnalysisDataRequest.h + include/alibabacloud/aegis/model/DescribeAttackAnalysisDataResult.h + include/alibabacloud/aegis/model/RenewInstanceRequest.h + include/alibabacloud/aegis/model/RenewInstanceResult.h + include/alibabacloud/aegis/model/OperateResultRequest.h + include/alibabacloud/aegis/model/OperateResultResult.h + include/alibabacloud/aegis/model/RollbackSuspEventQuaraFileRequest.h + include/alibabacloud/aegis/model/RollbackSuspEventQuaraFileResult.h + include/alibabacloud/aegis/model/DescribeLogstoreStorageRequest.h + include/alibabacloud/aegis/model/DescribeLogstoreStorageResult.h + include/alibabacloud/aegis/model/DescribeRuleListRequest.h + include/alibabacloud/aegis/model/DescribeRuleListResult.h + include/alibabacloud/aegis/model/DeleteSearchConditionRequest.h + include/alibabacloud/aegis/model/DeleteSearchConditionResult.h + include/alibabacloud/aegis/model/DescribeAllRegionsStatisticsRequest.h + include/alibabacloud/aegis/model/DescribeAllRegionsStatisticsResult.h + include/alibabacloud/aegis/model/DescribeCheckWarningSummaryRequest.h + include/alibabacloud/aegis/model/DescribeCheckWarningSummaryResult.h + include/alibabacloud/aegis/model/DescribeSlsProjectRequest.h + include/alibabacloud/aegis/model/DescribeSlsProjectResult.h + include/alibabacloud/aegis/model/DescribeWhiteListEffectiveAssetsRequest.h + include/alibabacloud/aegis/model/DescribeWhiteListEffectiveAssetsResult.h + include/alibabacloud/aegis/model/UpgradeInstanceRequest.h + include/alibabacloud/aegis/model/UpgradeInstanceResult.h + include/alibabacloud/aegis/model/DescribeLogQueryRequest.h + include/alibabacloud/aegis/model/DescribeLogQueryResult.h + include/alibabacloud/aegis/model/DescribeScreenSettingsRequest.h + include/alibabacloud/aegis/model/DescribeScreenSettingsResult.h + include/alibabacloud/aegis/model/DescribeRisksRequest.h + include/alibabacloud/aegis/model/DescribeRisksResult.h + include/alibabacloud/aegis/model/DescribeGroupStructRequest.h + include/alibabacloud/aegis/model/DescribeGroupStructResult.h + include/alibabacloud/aegis/model/DescribeRiskWhiteListRequest.h + include/alibabacloud/aegis/model/DescribeRiskWhiteListResult.h + include/alibabacloud/aegis/model/ModifyAssetGroupRequest.h + include/alibabacloud/aegis/model/ModifyAssetGroupResult.h + include/alibabacloud/aegis/model/DescribeSasLeftConditionRequest.h + include/alibabacloud/aegis/model/DescribeSasLeftConditionResult.h + include/alibabacloud/aegis/model/DescribeSasAssetStatisticsColumnRequest.h + include/alibabacloud/aegis/model/DescribeSasAssetStatisticsColumnResult.h + include/alibabacloud/aegis/model/CreateOrUpdateRuleRequest.h + include/alibabacloud/aegis/model/CreateOrUpdateRuleResult.h + include/alibabacloud/aegis/model/ModifyLogMetaStatusRequest.h + include/alibabacloud/aegis/model/ModifyLogMetaStatusResult.h + include/alibabacloud/aegis/model/DescribeYesterdayStatisticsRequest.h + include/alibabacloud/aegis/model/DescribeYesterdayStatisticsResult.h + include/alibabacloud/aegis/model/DescribeSuspiciousExportInfoRequest.h + include/alibabacloud/aegis/model/DescribeSuspiciousExportInfoResult.h + include/alibabacloud/aegis/model/DeleteScreenSettingRequest.h + include/alibabacloud/aegis/model/DeleteScreenSettingResult.h + include/alibabacloud/aegis/model/DescribeAssetSummaryRequest.h + include/alibabacloud/aegis/model/DescribeAssetSummaryResult.h + include/alibabacloud/aegis/model/DescribeAgentInstallStatusRequest.h + include/alibabacloud/aegis/model/DescribeAgentInstallStatusResult.h + include/alibabacloud/aegis/model/GetEntityListRequest.h + include/alibabacloud/aegis/model/GetEntityListResult.h + include/alibabacloud/aegis/model/ExportVulRequest.h + include/alibabacloud/aegis/model/ExportVulResult.h + include/alibabacloud/aegis/model/DescribeVulTargetStatisticsRequest.h + include/alibabacloud/aegis/model/DescribeVulTargetStatisticsResult.h include/alibabacloud/aegis/model/DescribeSuspiciousEventsRequest.h include/alibabacloud/aegis/model/DescribeSuspiciousEventsResult.h include/alibabacloud/aegis/model/CreateInstanceRequest.h include/alibabacloud/aegis/model/CreateInstanceResult.h - include/alibabacloud/aegis/model/DescribeVulListRequest.h - include/alibabacloud/aegis/model/DescribeVulListResult.h - include/alibabacloud/aegis/model/UpgradeInstanceRequest.h - include/alibabacloud/aegis/model/UpgradeInstanceResult.h - include/alibabacloud/aegis/model/RenewInstanceRequest.h - include/alibabacloud/aegis/model/RenewInstanceResult.h - include/alibabacloud/aegis/model/DescribeStrategyTargetRequest.h - include/alibabacloud/aegis/model/DescribeStrategyTargetResult.h + include/alibabacloud/aegis/model/DescribeMachineConfigRequest.h + include/alibabacloud/aegis/model/DescribeMachineConfigResult.h include/alibabacloud/aegis/model/QueryLoginEventRequest.h include/alibabacloud/aegis/model/QueryLoginEventResult.h - include/alibabacloud/aegis/model/GetAccountStatisticsRequest.h - include/alibabacloud/aegis/model/GetAccountStatisticsResult.h - include/alibabacloud/aegis/model/ModifyStrategyRequest.h - include/alibabacloud/aegis/model/ModifyStrategyResult.h - include/alibabacloud/aegis/model/ModifyStrategyTargetRequest.h - include/alibabacloud/aegis/model/ModifyStrategyTargetResult.h - include/alibabacloud/aegis/model/ModifyBatchIgnoreVulRequest.h - include/alibabacloud/aegis/model/ModifyBatchIgnoreVulResult.h - include/alibabacloud/aegis/model/DescribeWebshellRequest.h - include/alibabacloud/aegis/model/DescribeWebshellResult.h + include/alibabacloud/aegis/model/TransformLeakageRequest.h + include/alibabacloud/aegis/model/TransformLeakageResult.h + include/alibabacloud/aegis/model/DescribeAssetListRequest.h + include/alibabacloud/aegis/model/DescribeAssetListResult.h + include/alibabacloud/aegis/model/ModifyMachineConfigRequest.h + include/alibabacloud/aegis/model/ModifyMachineConfigResult.h + include/alibabacloud/aegis/model/DescribeVersionConfigRequest.h + include/alibabacloud/aegis/model/DescribeVersionConfigResult.h + include/alibabacloud/aegis/model/DescribeMacConfigRequest.h + include/alibabacloud/aegis/model/DescribeMacConfigResult.h + include/alibabacloud/aegis/model/RollbackQuaraFileRequest.h + include/alibabacloud/aegis/model/RollbackQuaraFileResult.h + include/alibabacloud/aegis/model/DescribeApiBuySummaryRequest.h + include/alibabacloud/aegis/model/DescribeApiBuySummaryResult.h + include/alibabacloud/aegis/model/DescribeWebLockMachineListRequest.h + include/alibabacloud/aegis/model/DescribeWebLockMachineListResult.h + include/alibabacloud/aegis/model/DeleteVulBatchRequest.h + include/alibabacloud/aegis/model/DeleteVulBatchResult.h + include/alibabacloud/aegis/model/ModifyWebLockStatusRequest.h + include/alibabacloud/aegis/model/ModifyWebLockStatusResult.h + include/alibabacloud/aegis/model/UpdateWhiteListProcessStatusRequest.h + include/alibabacloud/aegis/model/UpdateWhiteListProcessStatusResult.h + include/alibabacloud/aegis/model/DescribeScreenSettingRequest.h + include/alibabacloud/aegis/model/DescribeScreenSettingResult.h + include/alibabacloud/aegis/model/CreateLogQueryRequest.h + include/alibabacloud/aegis/model/CreateLogQueryResult.h + include/alibabacloud/aegis/model/DescribeWarningRequest.h + include/alibabacloud/aegis/model/DescribeWarningResult.h + include/alibabacloud/aegis/model/DescribeWhiteListProcessRequest.h + include/alibabacloud/aegis/model/DescribeWhiteListProcessResult.h + include/alibabacloud/aegis/model/DescribeStrategyExecDetailRequest.h + include/alibabacloud/aegis/model/DescribeStrategyExecDetailResult.h + include/alibabacloud/aegis/model/DescribeListAccessKeyIdAuthRequest.h + include/alibabacloud/aegis/model/DescribeListAccessKeyIdAuthResult.h + include/alibabacloud/aegis/model/DescribeTopRiskyAssetsRequest.h + include/alibabacloud/aegis/model/DescribeTopRiskyAssetsResult.h + include/alibabacloud/aegis/model/DescribeWebLockBindListRequest.h + include/alibabacloud/aegis/model/DescribeWebLockBindListResult.h + include/alibabacloud/aegis/model/ModifyOpenLogShipperRequest.h + include/alibabacloud/aegis/model/ModifyOpenLogShipperResult.h + include/alibabacloud/aegis/model/UpdateWhiteListStrategyStatusRequest.h + include/alibabacloud/aegis/model/UpdateWhiteListStrategyStatusResult.h + include/alibabacloud/aegis/model/DeleteVulWhitelistRequest.h + include/alibabacloud/aegis/model/DeleteVulWhitelistResult.h + include/alibabacloud/aegis/model/DescribeVulMachineListRequest.h + include/alibabacloud/aegis/model/DescribeVulMachineListResult.h + include/alibabacloud/aegis/model/DescribeAnalysisLogsRequest.h + include/alibabacloud/aegis/model/DescribeAnalysisLogsResult.h include/alibabacloud/aegis/model/DescribeStratetyDetailRequest.h include/alibabacloud/aegis/model/DescribeStratetyDetailResult.h - include/alibabacloud/aegis/model/DescribeStratetyRequest.h - include/alibabacloud/aegis/model/DescribeStratetyResult.h + include/alibabacloud/aegis/model/DescribeHistogramRequest.h + include/alibabacloud/aegis/model/DescribeHistogramResult.h + include/alibabacloud/aegis/model/DescribeDingTalkRequest.h + include/alibabacloud/aegis/model/DescribeDingTalkResult.h include/alibabacloud/aegis/model/DescribeLoginLogsRequest.h include/alibabacloud/aegis/model/DescribeLoginLogsResult.h - include/alibabacloud/aegis/model/QueryCrackEventRequest.h - include/alibabacloud/aegis/model/QueryCrackEventResult.h ) + include/alibabacloud/aegis/model/DescribeMetaDataRequest.h + include/alibabacloud/aegis/model/DescribeMetaDataResult.h + include/alibabacloud/aegis/model/DescribeWebLockStatusRequest.h + include/alibabacloud/aegis/model/DescribeWebLockStatusResult.h + include/alibabacloud/aegis/model/DescribeEmgVulGroupRequest.h + include/alibabacloud/aegis/model/DescribeEmgVulGroupResult.h + include/alibabacloud/aegis/model/DescribeNsasSuspEventTypeRequest.h + include/alibabacloud/aegis/model/DescribeNsasSuspEventTypeResult.h + include/alibabacloud/aegis/model/ModifyScreenSettingRequest.h + include/alibabacloud/aegis/model/ModifyScreenSettingResult.h + include/alibabacloud/aegis/model/ModifyStrategyRequest.h + include/alibabacloud/aegis/model/ModifyStrategyResult.h + include/alibabacloud/aegis/model/DescribeEmgNoticeRequest.h + include/alibabacloud/aegis/model/DescribeEmgNoticeResult.h + include/alibabacloud/aegis/model/DescribeScreenOperateInfoRequest.h + include/alibabacloud/aegis/model/DescribeScreenOperateInfoResult.h + include/alibabacloud/aegis/model/DescribeJoinRuleListRequest.h + include/alibabacloud/aegis/model/DescribeJoinRuleListResult.h + include/alibabacloud/aegis/model/DescribeSuspEventQuaraFilesRequest.h + include/alibabacloud/aegis/model/DescribeSuspEventQuaraFilesResult.h + include/alibabacloud/aegis/model/ValidateHcWarningsRequest.h + include/alibabacloud/aegis/model/ValidateHcWarningsResult.h + include/alibabacloud/aegis/model/CreateOrUpdateJoinRuleRequest.h + include/alibabacloud/aegis/model/CreateOrUpdateJoinRuleResult.h + include/alibabacloud/aegis/model/AutoUpgradeSasRequest.h + include/alibabacloud/aegis/model/AutoUpgradeSasResult.h + include/alibabacloud/aegis/model/DescribeEmgUserAgreementRequest.h + include/alibabacloud/aegis/model/DescribeEmgUserAgreementResult.h + include/alibabacloud/aegis/model/ModifyWebLockMachineListRequest.h + include/alibabacloud/aegis/model/ModifyWebLockMachineListResult.h + include/alibabacloud/aegis/model/ModifyEmgVulSubmitRequest.h + include/alibabacloud/aegis/model/ModifyEmgVulSubmitResult.h + include/alibabacloud/aegis/model/DeleteLogQueryRequest.h + include/alibabacloud/aegis/model/DeleteLogQueryResult.h + include/alibabacloud/aegis/model/ModifyTargetConfigRequest.h + include/alibabacloud/aegis/model/ModifyTargetConfigResult.h + include/alibabacloud/aegis/model/IgnoreHcCheckWarningsRequest.h + include/alibabacloud/aegis/model/IgnoreHcCheckWarningsResult.h + include/alibabacloud/aegis/model/DescribeExportInfoRequest.h + include/alibabacloud/aegis/model/DescribeExportInfoResult.h + include/alibabacloud/aegis/model/DescribeSuspEventUserSettingRequest.h + include/alibabacloud/aegis/model/DescribeSuspEventUserSettingResult.h + include/alibabacloud/aegis/model/DescribeWhiteListStrategyCountRequest.h + include/alibabacloud/aegis/model/DescribeWhiteListStrategyCountResult.h + include/alibabacloud/aegis/model/DescribeVulConfigRequest.h + include/alibabacloud/aegis/model/DescribeVulConfigResult.h + include/alibabacloud/aegis/model/ModifyWebLockRefreshRequest.h + include/alibabacloud/aegis/model/ModifyWebLockRefreshResult.h + include/alibabacloud/aegis/model/DescribeEventCountCurveRequest.h + include/alibabacloud/aegis/model/DescribeEventCountCurveResult.h + include/alibabacloud/aegis/model/DescribeWhiteListAssetRequest.h + include/alibabacloud/aegis/model/DescribeWhiteListAssetResult.h + include/alibabacloud/aegis/model/ModifyClearLogstoreStorageRequest.h + include/alibabacloud/aegis/model/ModifyClearLogstoreStorageResult.h + include/alibabacloud/aegis/model/ModifyStrategyTargetRequest.h + include/alibabacloud/aegis/model/ModifyStrategyTargetResult.h + include/alibabacloud/aegis/model/DescribeCheckWarningsRequest.h + include/alibabacloud/aegis/model/DescribeCheckWarningsResult.h + include/alibabacloud/aegis/model/DescribeSecurityStatInfoRequest.h + include/alibabacloud/aegis/model/DescribeSecurityStatInfoResult.h + include/alibabacloud/aegis/model/SaveWhiteListStrategyRequest.h + include/alibabacloud/aegis/model/SaveWhiteListStrategyResult.h + include/alibabacloud/aegis/model/DescribeFilterFieldsRequest.h + include/alibabacloud/aegis/model/DescribeFilterFieldsResult.h + include/alibabacloud/aegis/model/DescribeScreenSecurityStatInfoRequest.h + include/alibabacloud/aegis/model/DescribeScreenSecurityStatInfoResult.h + include/alibabacloud/aegis/model/OperateSuspiciousOverallConfigRequest.h + include/alibabacloud/aegis/model/OperateSuspiciousOverallConfigResult.h + include/alibabacloud/aegis/model/DescribeInstanceStatisticsRequest.h + include/alibabacloud/aegis/model/DescribeInstanceStatisticsResult.h ) set(aegis_src src/AegisClient.cc - src/model/GetEntityListRequest.cc - src/model/GetEntityListResult.cc - src/model/GetStatisticsByUuidRequest.cc - src/model/GetStatisticsByUuidResult.cc - src/model/GetStatisticsRequest.cc - src/model/GetStatisticsResult.cc - src/model/DescribeVulDetailsRequest.cc - src/model/DescribeVulDetailsResult.cc + src/model/DescribeAnalysisShipperStatusRequest.cc + src/model/DescribeAnalysisShipperStatusResult.cc + src/model/DescribeCanUpgradeSasRequest.cc + src/model/DescribeCanUpgradeSasResult.cc + src/model/DescribeTraceInfoNodeRequest.cc + src/model/DescribeTraceInfoNodeResult.cc + src/model/DescribeScreenAttackAnalysisDataRequest.cc + src/model/DescribeScreenAttackAnalysisDataResult.cc + src/model/DescribeAutoDelConfigRequest.cc + src/model/DescribeAutoDelConfigResult.cc + src/model/DescribeVulListRequest.cc + src/model/DescribeVulListResult.cc + src/model/ModifyWebLockUpdateConfigRequest.cc + src/model/ModifyWebLockUpdateConfigResult.cc + src/model/DescribeVulnerabilitySummaryRequest.cc + src/model/DescribeVulnerabilitySummaryResult.cc + src/model/SetDatasourceStatusRequest.cc + src/model/SetDatasourceStatusResult.cc + src/model/OperateSuspiciousEventRequest.cc + src/model/OperateSuspiciousEventResult.cc + src/model/OperateSuspiciousTargetConfigRequest.cc + src/model/OperateSuspiciousTargetConfigResult.cc + src/model/DescribeAnalysisHistogramsRequest.cc + src/model/DescribeAnalysisHistogramsResult.cc + src/model/ExportWarningRequest.cc + src/model/ExportWarningResult.cc + src/model/DescribeEcsStsStatusRequest.cc + src/model/DescribeEcsStsStatusResult.cc + src/model/UpdateWhiteListStrategyRelationRequest.cc + src/model/UpdateWhiteListStrategyRelationResult.cc src/model/DeleteStrategyRequest.cc src/model/DeleteStrategyResult.cc + src/model/DescribeOperateInfoRequest.cc + src/model/DescribeOperateInfoResult.cc + src/model/OpenSasTrialRequest.cc + src/model/OpenSasTrialResult.cc + src/model/ModifyVulLevelRequest.cc + src/model/ModifyVulLevelResult.cc + src/model/ModifyVulTargetRequest.cc + src/model/ModifyVulTargetResult.cc + src/model/ModifyBatchIgnoreVulRequest.cc + src/model/ModifyBatchIgnoreVulResult.cc + src/model/DescribeSummaryInfoRequest.cc + src/model/DescribeSummaryInfoResult.cc + src/model/DescribeStrategyProcessRequest.cc + src/model/DescribeStrategyProcessResult.cc + src/model/DescribeSuspTrendStatisticsRequest.cc + src/model/DescribeSuspTrendStatisticsResult.cc + src/model/DescribeDataSourceRequest.cc + src/model/DescribeDataSourceResult.cc + src/model/DescribeResultListRequest.cc + src/model/DescribeResultListResult.cc + src/model/DownloadLogRequest.cc + src/model/DownloadLogResult.cc + src/model/DescribeTargetConfigRequest.cc + src/model/DescribeTargetConfigResult.cc + src/model/DescribeVulNumStatisticsRequest.cc + src/model/DescribeVulNumStatisticsResult.cc + src/model/DescribeLogInfoRequest.cc + src/model/DescribeLogInfoResult.cc + src/model/GetAccountStatisticsRequest.cc + src/model/GetAccountStatisticsResult.cc + src/model/DescribeUuidConfigRequest.cc + src/model/DescribeUuidConfigResult.cc + src/model/DescribeScreenHostStatisticsRequest.cc + src/model/DescribeScreenHostStatisticsResult.cc + src/model/DeleteDingTalkRequest.cc + src/model/DeleteDingTalkResult.cc + src/model/DescribeSuspEventTypesRequest.cc + src/model/DescribeSuspEventTypesResult.cc + src/model/BatchDeleteWhiteListRequest.cc + src/model/BatchDeleteWhiteListResult.cc + src/model/DeleteJoinRuleRequest.cc + src/model/DeleteJoinRuleResult.cc + src/model/ModifySasAssetStatisticsColumnRequest.cc + src/model/ModifySasAssetStatisticsColumnResult.cc + src/model/DescribeTraceInfoNodeListRequest.cc + src/model/DescribeTraceInfoNodeListResult.cc + src/model/DescribeAnalysisSlsIndexRequest.cc + src/model/DescribeAnalysisSlsIndexResult.cc + src/model/ModifyWebLockCreateConfigRequest.cc + src/model/ModifyWebLockCreateConfigResult.cc + src/model/DeleteRuleGroupRequest.cc + src/model/DeleteRuleGroupResult.cc + src/model/DescribeStatisticsRequest.cc + src/model/DescribeStatisticsResult.cc + src/model/DescribeAlarmEventDetailRequest.cc + src/model/DescribeAlarmEventDetailResult.cc + src/model/CreateSuspiciousExportRequest.cc + src/model/CreateSuspiciousExportResult.cc + src/model/OperateVulRequest.cc + src/model/OperateVulResult.cc src/model/GetCrackStatisticsRequest.cc src/model/GetCrackStatisticsResult.cc - src/model/DescribeWarningRequest.cc - src/model/DescribeWarningResult.cc + src/model/DescribeConcernNecessityRequest.cc + src/model/DescribeConcernNecessityResult.cc + src/model/OperateAgentClientInstallRequest.cc + src/model/OperateAgentClientInstallResult.cc + src/model/DescribeScreenScoreThreadRequest.cc + src/model/DescribeScreenScoreThreadResult.cc + src/model/DescribeBuySummaryRequest.cc + src/model/DescribeBuySummaryResult.cc + src/model/DescribeStrategyTargetRequest.cc + src/model/DescribeStrategyTargetResult.cc + src/model/DescribeSuspiciousUUIDConfigRequest.cc + src/model/DescribeSuspiciousUUIDConfigResult.cc + src/model/DescribeTopicListRequest.cc + src/model/DescribeTopicListResult.cc + src/model/DescribeAssetDetailByUuidRequest.cc + src/model/DescribeAssetDetailByUuidResult.cc + src/model/DescribeScreenVersionConfigRequest.cc + src/model/DescribeScreenVersionConfigResult.cc + src/model/DescribeVulExportInfoRequest.cc + src/model/DescribeVulExportInfoResult.cc + src/model/DeleteRuleRequest.cc + src/model/DeleteRuleResult.cc + src/model/DescribeSuspEventDetailRequest.cc + src/model/DescribeSuspEventDetailResult.cc + src/model/DescribeEventLevelCountRequest.cc + src/model/DescribeEventLevelCountResult.cc + src/model/QueryCrackEventRequest.cc + src/model/QueryCrackEventResult.cc + src/model/CreateOrUpdateGroupRequest.cc + src/model/CreateOrUpdateGroupResult.cc + src/model/SaveSuspEventUserSettingRequest.cc + src/model/SaveSuspEventUserSettingResult.cc + src/model/DescribeSearchConditionRequest.cc + src/model/DescribeSearchConditionResult.cc + src/model/ModifySaveVulBatchRequest.cc + src/model/ModifySaveVulBatchResult.cc + src/model/DescribeVulDetailsRequest.cc + src/model/DescribeVulDetailsResult.cc + src/model/DescribeLogItemsRequest.cc + src/model/DescribeLogItemsResult.cc + src/model/DescribeWebLockEventsRequest.cc + src/model/DescribeWebLockEventsResult.cc + src/model/ExecStrategyRequest.cc + src/model/ExecStrategyResult.cc + src/model/DescribeSuspEventExportInfoRequest.cc + src/model/DescribeSuspEventExportInfoResult.cc + src/model/OperationSuspEventsRequest.cc + src/model/OperationSuspEventsResult.cc + src/model/DescribeSasAssetStatisticsRequest.cc + src/model/DescribeSasAssetStatisticsResult.cc + src/model/DescribeDefenceThreadRequest.cc + src/model/DescribeDefenceThreadResult.cc + src/model/CreateVulWhitelistRequest.cc + src/model/CreateVulWhitelistResult.cc + src/model/ModifyConcernNecessityRequest.cc + src/model/ModifyConcernNecessityResult.cc + src/model/GetStatisticsByUuidRequest.cc + src/model/GetStatisticsByUuidResult.cc + src/model/ModifyVulConfigRequest.cc + src/model/ModifyVulConfigResult.cc + src/model/GetStatisticsRequest.cc + src/model/GetStatisticsResult.cc + src/model/DescribesummaryRequest.cc + src/model/DescribesummaryResult.cc + src/model/DescribeSuspEventsRequest.cc + src/model/DescribeSuspEventsResult.cc + src/model/CreateOrUpdateDataSourceRequest.cc + src/model/CreateOrUpdateDataSourceResult.cc + src/model/DescribeVulWhitelistRequest.cc + src/model/DescribeVulWhitelistResult.cc + src/model/DescribeRiskTypeRequest.cc + src/model/DescribeRiskTypeResult.cc + src/model/DescribeVulLevelStatisticsRequest.cc + src/model/DescribeVulLevelStatisticsResult.cc + src/model/DescribeWhiteListStrategyListRequest.cc + src/model/DescribeWhiteListStrategyListResult.cc + src/model/DescribeTraceInfoDetailRequest.cc + src/model/DescribeTraceInfoDetailResult.cc + src/model/DescribeGroupListRequest.cc + src/model/DescribeGroupListResult.cc + src/model/DescribeCanTrySasRequest.cc + src/model/DescribeCanTrySasResult.cc + src/model/DescribeTargetRequest.cc + src/model/DescribeTargetResult.cc + src/model/DescribeWebshellRequest.cc + src/model/DescribeWebshellResult.cc + src/model/DescribeCheckWarningDetailRequest.cc + src/model/DescribeCheckWarningDetailResult.cc + src/model/SaveWhiteListStrategyAssetsRequest.cc + src/model/SaveWhiteListStrategyAssetsResult.cc + src/model/CreateOrUpdateDingTalkRequest.cc + src/model/CreateOrUpdateDingTalkResult.cc + src/model/DescribeWarningMachinesRequest.cc + src/model/DescribeWarningMachinesResult.cc + src/model/ModifySearchConditionRequest.cc + src/model/ModifySearchConditionResult.cc + src/model/DescribeWhiteListStrategyUuidCountRequest.cc + src/model/DescribeWhiteListStrategyUuidCountResult.cc + src/model/DescribeGroupedVulRequest.cc + src/model/DescribeGroupedVulResult.cc + src/model/ModifyWebLockDeleteConfigRequest.cc + src/model/ModifyWebLockDeleteConfigResult.cc + src/model/CreateUserWhiteListRequest.cc + src/model/CreateUserWhiteListResult.cc + src/model/DescribeSecureSuggestionRequest.cc + src/model/DescribeSecureSuggestionResult.cc + src/model/DescribeSuspiciousOverallConfigRequest.cc + src/model/DescribeSuspiciousOverallConfigResult.cc + src/model/DescribeAnalysisCurveRequest.cc + src/model/DescribeAnalysisCurveResult.cc + src/model/DescribeScreenAlarmEventListRequest.cc + src/model/DescribeScreenAlarmEventListResult.cc + src/model/CreatScreenSettingRequest.cc + src/model/CreatScreenSettingResult.cc + src/model/DescribeAlarmEventListRequest.cc + src/model/DescribeAlarmEventListResult.cc + src/model/CanTrySasRequest.cc + src/model/CanTrySasResult.cc + src/model/DescribeScreenSummaryInfoRequest.cc + src/model/DescribeScreenSummaryInfoResult.cc + src/model/OperateWarningRequest.cc + src/model/OperateWarningResult.cc + src/model/ExecuteRuleEngineActualTimeRequest.cc + src/model/ExecuteRuleEngineActualTimeResult.cc + src/model/CreateUserSettingRequest.cc + src/model/CreateUserSettingResult.cc + src/model/ExportSuspEventsRequest.cc + src/model/ExportSuspEventsResult.cc + src/model/DescribeLogShipperStatusRequest.cc + src/model/DescribeLogShipperStatusResult.cc + src/model/DescribeLogMetaRequest.cc + src/model/DescribeLogMetaResult.cc + src/model/DescribeQuaraFileRequest.cc + src/model/DescribeQuaraFileResult.cc + src/model/DescribeTotalStatisticsRequest.cc + src/model/DescribeTotalStatisticsResult.cc + src/model/DescribeWhiteListStrategyStatisticsRequest.cc + src/model/DescribeWhiteListStrategyStatisticsResult.cc + src/model/AutoUpgradeToSasAdvancedVersionRequest.cc + src/model/AutoUpgradeToSasAdvancedVersionResult.cc + src/model/DescribeStratetyRequest.cc + src/model/DescribeStratetyResult.cc + src/model/DescribeAnalysisStatisticsRequest.cc + src/model/DescribeAnalysisStatisticsResult.cc + src/model/DescribeWebLockConfigListRequest.cc + src/model/DescribeWebLockConfigListResult.cc + src/model/ModifyAutoDelConfigRequest.cc + src/model/ModifyAutoDelConfigResult.cc + src/model/DescribeUserSettingRequest.cc + src/model/DescribeUserSettingResult.cc + src/model/DescribeVulBatchRequest.cc + src/model/DescribeVulBatchResult.cc src/model/ReleaseInstanceRequest.cc src/model/ReleaseInstanceResult.cc + src/model/DescribeVulLevelRequest.cc + src/model/DescribeVulLevelResult.cc + src/model/ModifyWebLockOperateEventsRequest.cc + src/model/ModifyWebLockOperateEventsResult.cc + src/model/DescribeWhiteListAuthorizeRequest.cc + src/model/DescribeWhiteListAuthorizeResult.cc + src/model/DescribeAttackAnalysisDataRequest.cc + src/model/DescribeAttackAnalysisDataResult.cc + src/model/RenewInstanceRequest.cc + src/model/RenewInstanceResult.cc + src/model/OperateResultRequest.cc + src/model/OperateResultResult.cc + src/model/RollbackSuspEventQuaraFileRequest.cc + src/model/RollbackSuspEventQuaraFileResult.cc + src/model/DescribeLogstoreStorageRequest.cc + src/model/DescribeLogstoreStorageResult.cc + src/model/DescribeRuleListRequest.cc + src/model/DescribeRuleListResult.cc + src/model/DeleteSearchConditionRequest.cc + src/model/DeleteSearchConditionResult.cc + src/model/DescribeAllRegionsStatisticsRequest.cc + src/model/DescribeAllRegionsStatisticsResult.cc + src/model/DescribeCheckWarningSummaryRequest.cc + src/model/DescribeCheckWarningSummaryResult.cc + src/model/DescribeSlsProjectRequest.cc + src/model/DescribeSlsProjectResult.cc + src/model/DescribeWhiteListEffectiveAssetsRequest.cc + src/model/DescribeWhiteListEffectiveAssetsResult.cc + src/model/UpgradeInstanceRequest.cc + src/model/UpgradeInstanceResult.cc + src/model/DescribeLogQueryRequest.cc + src/model/DescribeLogQueryResult.cc + src/model/DescribeScreenSettingsRequest.cc + src/model/DescribeScreenSettingsResult.cc + src/model/DescribeRisksRequest.cc + src/model/DescribeRisksResult.cc + src/model/DescribeGroupStructRequest.cc + src/model/DescribeGroupStructResult.cc + src/model/DescribeRiskWhiteListRequest.cc + src/model/DescribeRiskWhiteListResult.cc + src/model/ModifyAssetGroupRequest.cc + src/model/ModifyAssetGroupResult.cc + src/model/DescribeSasLeftConditionRequest.cc + src/model/DescribeSasLeftConditionResult.cc + src/model/DescribeSasAssetStatisticsColumnRequest.cc + src/model/DescribeSasAssetStatisticsColumnResult.cc + src/model/CreateOrUpdateRuleRequest.cc + src/model/CreateOrUpdateRuleResult.cc + src/model/ModifyLogMetaStatusRequest.cc + src/model/ModifyLogMetaStatusResult.cc + src/model/DescribeYesterdayStatisticsRequest.cc + src/model/DescribeYesterdayStatisticsResult.cc + src/model/DescribeSuspiciousExportInfoRequest.cc + src/model/DescribeSuspiciousExportInfoResult.cc + src/model/DeleteScreenSettingRequest.cc + src/model/DeleteScreenSettingResult.cc + src/model/DescribeAssetSummaryRequest.cc + src/model/DescribeAssetSummaryResult.cc + src/model/DescribeAgentInstallStatusRequest.cc + src/model/DescribeAgentInstallStatusResult.cc + src/model/GetEntityListRequest.cc + src/model/GetEntityListResult.cc + src/model/ExportVulRequest.cc + src/model/ExportVulResult.cc + src/model/DescribeVulTargetStatisticsRequest.cc + src/model/DescribeVulTargetStatisticsResult.cc src/model/DescribeSuspiciousEventsRequest.cc src/model/DescribeSuspiciousEventsResult.cc src/model/CreateInstanceRequest.cc src/model/CreateInstanceResult.cc - src/model/DescribeVulListRequest.cc - src/model/DescribeVulListResult.cc - src/model/UpgradeInstanceRequest.cc - src/model/UpgradeInstanceResult.cc - src/model/RenewInstanceRequest.cc - src/model/RenewInstanceResult.cc - src/model/DescribeStrategyTargetRequest.cc - src/model/DescribeStrategyTargetResult.cc + src/model/DescribeMachineConfigRequest.cc + src/model/DescribeMachineConfigResult.cc src/model/QueryLoginEventRequest.cc src/model/QueryLoginEventResult.cc - src/model/GetAccountStatisticsRequest.cc - src/model/GetAccountStatisticsResult.cc - src/model/ModifyStrategyRequest.cc - src/model/ModifyStrategyResult.cc - src/model/ModifyStrategyTargetRequest.cc - src/model/ModifyStrategyTargetResult.cc - src/model/ModifyBatchIgnoreVulRequest.cc - src/model/ModifyBatchIgnoreVulResult.cc - src/model/DescribeWebshellRequest.cc - src/model/DescribeWebshellResult.cc + src/model/TransformLeakageRequest.cc + src/model/TransformLeakageResult.cc + src/model/DescribeAssetListRequest.cc + src/model/DescribeAssetListResult.cc + src/model/ModifyMachineConfigRequest.cc + src/model/ModifyMachineConfigResult.cc + src/model/DescribeVersionConfigRequest.cc + src/model/DescribeVersionConfigResult.cc + src/model/DescribeMacConfigRequest.cc + src/model/DescribeMacConfigResult.cc + src/model/RollbackQuaraFileRequest.cc + src/model/RollbackQuaraFileResult.cc + src/model/DescribeApiBuySummaryRequest.cc + src/model/DescribeApiBuySummaryResult.cc + src/model/DescribeWebLockMachineListRequest.cc + src/model/DescribeWebLockMachineListResult.cc + src/model/DeleteVulBatchRequest.cc + src/model/DeleteVulBatchResult.cc + src/model/ModifyWebLockStatusRequest.cc + src/model/ModifyWebLockStatusResult.cc + src/model/UpdateWhiteListProcessStatusRequest.cc + src/model/UpdateWhiteListProcessStatusResult.cc + src/model/DescribeScreenSettingRequest.cc + src/model/DescribeScreenSettingResult.cc + src/model/CreateLogQueryRequest.cc + src/model/CreateLogQueryResult.cc + src/model/DescribeWarningRequest.cc + src/model/DescribeWarningResult.cc + src/model/DescribeWhiteListProcessRequest.cc + src/model/DescribeWhiteListProcessResult.cc + src/model/DescribeStrategyExecDetailRequest.cc + src/model/DescribeStrategyExecDetailResult.cc + src/model/DescribeListAccessKeyIdAuthRequest.cc + src/model/DescribeListAccessKeyIdAuthResult.cc + src/model/DescribeTopRiskyAssetsRequest.cc + src/model/DescribeTopRiskyAssetsResult.cc + src/model/DescribeWebLockBindListRequest.cc + src/model/DescribeWebLockBindListResult.cc + src/model/ModifyOpenLogShipperRequest.cc + src/model/ModifyOpenLogShipperResult.cc + src/model/UpdateWhiteListStrategyStatusRequest.cc + src/model/UpdateWhiteListStrategyStatusResult.cc + src/model/DeleteVulWhitelistRequest.cc + src/model/DeleteVulWhitelistResult.cc + src/model/DescribeVulMachineListRequest.cc + src/model/DescribeVulMachineListResult.cc + src/model/DescribeAnalysisLogsRequest.cc + src/model/DescribeAnalysisLogsResult.cc src/model/DescribeStratetyDetailRequest.cc src/model/DescribeStratetyDetailResult.cc - src/model/DescribeStratetyRequest.cc - src/model/DescribeStratetyResult.cc + src/model/DescribeHistogramRequest.cc + src/model/DescribeHistogramResult.cc + src/model/DescribeDingTalkRequest.cc + src/model/DescribeDingTalkResult.cc src/model/DescribeLoginLogsRequest.cc src/model/DescribeLoginLogsResult.cc - src/model/QueryCrackEventRequest.cc - src/model/QueryCrackEventResult.cc ) + src/model/DescribeMetaDataRequest.cc + src/model/DescribeMetaDataResult.cc + src/model/DescribeWebLockStatusRequest.cc + src/model/DescribeWebLockStatusResult.cc + src/model/DescribeEmgVulGroupRequest.cc + src/model/DescribeEmgVulGroupResult.cc + src/model/DescribeNsasSuspEventTypeRequest.cc + src/model/DescribeNsasSuspEventTypeResult.cc + src/model/ModifyScreenSettingRequest.cc + src/model/ModifyScreenSettingResult.cc + src/model/ModifyStrategyRequest.cc + src/model/ModifyStrategyResult.cc + src/model/DescribeEmgNoticeRequest.cc + src/model/DescribeEmgNoticeResult.cc + src/model/DescribeScreenOperateInfoRequest.cc + src/model/DescribeScreenOperateInfoResult.cc + src/model/DescribeJoinRuleListRequest.cc + src/model/DescribeJoinRuleListResult.cc + src/model/DescribeSuspEventQuaraFilesRequest.cc + src/model/DescribeSuspEventQuaraFilesResult.cc + src/model/ValidateHcWarningsRequest.cc + src/model/ValidateHcWarningsResult.cc + src/model/CreateOrUpdateJoinRuleRequest.cc + src/model/CreateOrUpdateJoinRuleResult.cc + src/model/AutoUpgradeSasRequest.cc + src/model/AutoUpgradeSasResult.cc + src/model/DescribeEmgUserAgreementRequest.cc + src/model/DescribeEmgUserAgreementResult.cc + src/model/ModifyWebLockMachineListRequest.cc + src/model/ModifyWebLockMachineListResult.cc + src/model/ModifyEmgVulSubmitRequest.cc + src/model/ModifyEmgVulSubmitResult.cc + src/model/DeleteLogQueryRequest.cc + src/model/DeleteLogQueryResult.cc + src/model/ModifyTargetConfigRequest.cc + src/model/ModifyTargetConfigResult.cc + src/model/IgnoreHcCheckWarningsRequest.cc + src/model/IgnoreHcCheckWarningsResult.cc + src/model/DescribeExportInfoRequest.cc + src/model/DescribeExportInfoResult.cc + src/model/DescribeSuspEventUserSettingRequest.cc + src/model/DescribeSuspEventUserSettingResult.cc + src/model/DescribeWhiteListStrategyCountRequest.cc + src/model/DescribeWhiteListStrategyCountResult.cc + src/model/DescribeVulConfigRequest.cc + src/model/DescribeVulConfigResult.cc + src/model/ModifyWebLockRefreshRequest.cc + src/model/ModifyWebLockRefreshResult.cc + src/model/DescribeEventCountCurveRequest.cc + src/model/DescribeEventCountCurveResult.cc + src/model/DescribeWhiteListAssetRequest.cc + src/model/DescribeWhiteListAssetResult.cc + src/model/ModifyClearLogstoreStorageRequest.cc + src/model/ModifyClearLogstoreStorageResult.cc + src/model/ModifyStrategyTargetRequest.cc + src/model/ModifyStrategyTargetResult.cc + src/model/DescribeCheckWarningsRequest.cc + src/model/DescribeCheckWarningsResult.cc + src/model/DescribeSecurityStatInfoRequest.cc + src/model/DescribeSecurityStatInfoResult.cc + src/model/SaveWhiteListStrategyRequest.cc + src/model/SaveWhiteListStrategyResult.cc + src/model/DescribeFilterFieldsRequest.cc + src/model/DescribeFilterFieldsResult.cc + src/model/DescribeScreenSecurityStatInfoRequest.cc + src/model/DescribeScreenSecurityStatInfoResult.cc + src/model/OperateSuspiciousOverallConfigRequest.cc + src/model/OperateSuspiciousOverallConfigResult.cc + src/model/DescribeInstanceStatisticsRequest.cc + src/model/DescribeInstanceStatisticsResult.cc ) add_library(aegis ${LIB_TYPE} ${aegis_public_header} diff --git a/aegis/include/alibabacloud/aegis/AegisClient.h b/aegis/include/alibabacloud/aegis/AegisClient.h index c238e6b50..f11518105 100644 --- a/aegis/include/alibabacloud/aegis/AegisClient.h +++ b/aegis/include/alibabacloud/aegis/AegisClient.h @@ -22,54 +22,454 @@ #include #include #include "AegisExport.h" -#include "model/GetEntityListRequest.h" -#include "model/GetEntityListResult.h" -#include "model/GetStatisticsByUuidRequest.h" -#include "model/GetStatisticsByUuidResult.h" -#include "model/GetStatisticsRequest.h" -#include "model/GetStatisticsResult.h" -#include "model/DescribeVulDetailsRequest.h" -#include "model/DescribeVulDetailsResult.h" +#include "model/DescribeAnalysisShipperStatusRequest.h" +#include "model/DescribeAnalysisShipperStatusResult.h" +#include "model/DescribeCanUpgradeSasRequest.h" +#include "model/DescribeCanUpgradeSasResult.h" +#include "model/DescribeTraceInfoNodeRequest.h" +#include "model/DescribeTraceInfoNodeResult.h" +#include "model/DescribeScreenAttackAnalysisDataRequest.h" +#include "model/DescribeScreenAttackAnalysisDataResult.h" +#include "model/DescribeAutoDelConfigRequest.h" +#include "model/DescribeAutoDelConfigResult.h" +#include "model/DescribeVulListRequest.h" +#include "model/DescribeVulListResult.h" +#include "model/ModifyWebLockUpdateConfigRequest.h" +#include "model/ModifyWebLockUpdateConfigResult.h" +#include "model/DescribeVulnerabilitySummaryRequest.h" +#include "model/DescribeVulnerabilitySummaryResult.h" +#include "model/SetDatasourceStatusRequest.h" +#include "model/SetDatasourceStatusResult.h" +#include "model/OperateSuspiciousEventRequest.h" +#include "model/OperateSuspiciousEventResult.h" +#include "model/OperateSuspiciousTargetConfigRequest.h" +#include "model/OperateSuspiciousTargetConfigResult.h" +#include "model/DescribeAnalysisHistogramsRequest.h" +#include "model/DescribeAnalysisHistogramsResult.h" +#include "model/ExportWarningRequest.h" +#include "model/ExportWarningResult.h" +#include "model/DescribeEcsStsStatusRequest.h" +#include "model/DescribeEcsStsStatusResult.h" +#include "model/UpdateWhiteListStrategyRelationRequest.h" +#include "model/UpdateWhiteListStrategyRelationResult.h" #include "model/DeleteStrategyRequest.h" #include "model/DeleteStrategyResult.h" +#include "model/DescribeOperateInfoRequest.h" +#include "model/DescribeOperateInfoResult.h" +#include "model/OpenSasTrialRequest.h" +#include "model/OpenSasTrialResult.h" +#include "model/ModifyVulLevelRequest.h" +#include "model/ModifyVulLevelResult.h" +#include "model/ModifyVulTargetRequest.h" +#include "model/ModifyVulTargetResult.h" +#include "model/ModifyBatchIgnoreVulRequest.h" +#include "model/ModifyBatchIgnoreVulResult.h" +#include "model/DescribeSummaryInfoRequest.h" +#include "model/DescribeSummaryInfoResult.h" +#include "model/DescribeStrategyProcessRequest.h" +#include "model/DescribeStrategyProcessResult.h" +#include "model/DescribeSuspTrendStatisticsRequest.h" +#include "model/DescribeSuspTrendStatisticsResult.h" +#include "model/DescribeDataSourceRequest.h" +#include "model/DescribeDataSourceResult.h" +#include "model/DescribeResultListRequest.h" +#include "model/DescribeResultListResult.h" +#include "model/DownloadLogRequest.h" +#include "model/DownloadLogResult.h" +#include "model/DescribeTargetConfigRequest.h" +#include "model/DescribeTargetConfigResult.h" +#include "model/DescribeVulNumStatisticsRequest.h" +#include "model/DescribeVulNumStatisticsResult.h" +#include "model/DescribeLogInfoRequest.h" +#include "model/DescribeLogInfoResult.h" +#include "model/GetAccountStatisticsRequest.h" +#include "model/GetAccountStatisticsResult.h" +#include "model/DescribeUuidConfigRequest.h" +#include "model/DescribeUuidConfigResult.h" +#include "model/DescribeScreenHostStatisticsRequest.h" +#include "model/DescribeScreenHostStatisticsResult.h" +#include "model/DeleteDingTalkRequest.h" +#include "model/DeleteDingTalkResult.h" +#include "model/DescribeSuspEventTypesRequest.h" +#include "model/DescribeSuspEventTypesResult.h" +#include "model/BatchDeleteWhiteListRequest.h" +#include "model/BatchDeleteWhiteListResult.h" +#include "model/DeleteJoinRuleRequest.h" +#include "model/DeleteJoinRuleResult.h" +#include "model/ModifySasAssetStatisticsColumnRequest.h" +#include "model/ModifySasAssetStatisticsColumnResult.h" +#include "model/DescribeTraceInfoNodeListRequest.h" +#include "model/DescribeTraceInfoNodeListResult.h" +#include "model/DescribeAnalysisSlsIndexRequest.h" +#include "model/DescribeAnalysisSlsIndexResult.h" +#include "model/ModifyWebLockCreateConfigRequest.h" +#include "model/ModifyWebLockCreateConfigResult.h" +#include "model/DeleteRuleGroupRequest.h" +#include "model/DeleteRuleGroupResult.h" +#include "model/DescribeStatisticsRequest.h" +#include "model/DescribeStatisticsResult.h" +#include "model/DescribeAlarmEventDetailRequest.h" +#include "model/DescribeAlarmEventDetailResult.h" +#include "model/CreateSuspiciousExportRequest.h" +#include "model/CreateSuspiciousExportResult.h" +#include "model/OperateVulRequest.h" +#include "model/OperateVulResult.h" #include "model/GetCrackStatisticsRequest.h" #include "model/GetCrackStatisticsResult.h" -#include "model/DescribeWarningRequest.h" -#include "model/DescribeWarningResult.h" +#include "model/DescribeConcernNecessityRequest.h" +#include "model/DescribeConcernNecessityResult.h" +#include "model/OperateAgentClientInstallRequest.h" +#include "model/OperateAgentClientInstallResult.h" +#include "model/DescribeScreenScoreThreadRequest.h" +#include "model/DescribeScreenScoreThreadResult.h" +#include "model/DescribeBuySummaryRequest.h" +#include "model/DescribeBuySummaryResult.h" +#include "model/DescribeStrategyTargetRequest.h" +#include "model/DescribeStrategyTargetResult.h" +#include "model/DescribeSuspiciousUUIDConfigRequest.h" +#include "model/DescribeSuspiciousUUIDConfigResult.h" +#include "model/DescribeTopicListRequest.h" +#include "model/DescribeTopicListResult.h" +#include "model/DescribeAssetDetailByUuidRequest.h" +#include "model/DescribeAssetDetailByUuidResult.h" +#include "model/DescribeScreenVersionConfigRequest.h" +#include "model/DescribeScreenVersionConfigResult.h" +#include "model/DescribeVulExportInfoRequest.h" +#include "model/DescribeVulExportInfoResult.h" +#include "model/DeleteRuleRequest.h" +#include "model/DeleteRuleResult.h" +#include "model/DescribeSuspEventDetailRequest.h" +#include "model/DescribeSuspEventDetailResult.h" +#include "model/DescribeEventLevelCountRequest.h" +#include "model/DescribeEventLevelCountResult.h" +#include "model/QueryCrackEventRequest.h" +#include "model/QueryCrackEventResult.h" +#include "model/CreateOrUpdateGroupRequest.h" +#include "model/CreateOrUpdateGroupResult.h" +#include "model/SaveSuspEventUserSettingRequest.h" +#include "model/SaveSuspEventUserSettingResult.h" +#include "model/DescribeSearchConditionRequest.h" +#include "model/DescribeSearchConditionResult.h" +#include "model/ModifySaveVulBatchRequest.h" +#include "model/ModifySaveVulBatchResult.h" +#include "model/DescribeVulDetailsRequest.h" +#include "model/DescribeVulDetailsResult.h" +#include "model/DescribeLogItemsRequest.h" +#include "model/DescribeLogItemsResult.h" +#include "model/DescribeWebLockEventsRequest.h" +#include "model/DescribeWebLockEventsResult.h" +#include "model/ExecStrategyRequest.h" +#include "model/ExecStrategyResult.h" +#include "model/DescribeSuspEventExportInfoRequest.h" +#include "model/DescribeSuspEventExportInfoResult.h" +#include "model/OperationSuspEventsRequest.h" +#include "model/OperationSuspEventsResult.h" +#include "model/DescribeSasAssetStatisticsRequest.h" +#include "model/DescribeSasAssetStatisticsResult.h" +#include "model/DescribeDefenceThreadRequest.h" +#include "model/DescribeDefenceThreadResult.h" +#include "model/CreateVulWhitelistRequest.h" +#include "model/CreateVulWhitelistResult.h" +#include "model/ModifyConcernNecessityRequest.h" +#include "model/ModifyConcernNecessityResult.h" +#include "model/GetStatisticsByUuidRequest.h" +#include "model/GetStatisticsByUuidResult.h" +#include "model/ModifyVulConfigRequest.h" +#include "model/ModifyVulConfigResult.h" +#include "model/GetStatisticsRequest.h" +#include "model/GetStatisticsResult.h" +#include "model/DescribesummaryRequest.h" +#include "model/DescribesummaryResult.h" +#include "model/DescribeSuspEventsRequest.h" +#include "model/DescribeSuspEventsResult.h" +#include "model/CreateOrUpdateDataSourceRequest.h" +#include "model/CreateOrUpdateDataSourceResult.h" +#include "model/DescribeVulWhitelistRequest.h" +#include "model/DescribeVulWhitelistResult.h" +#include "model/DescribeRiskTypeRequest.h" +#include "model/DescribeRiskTypeResult.h" +#include "model/DescribeVulLevelStatisticsRequest.h" +#include "model/DescribeVulLevelStatisticsResult.h" +#include "model/DescribeWhiteListStrategyListRequest.h" +#include "model/DescribeWhiteListStrategyListResult.h" +#include "model/DescribeTraceInfoDetailRequest.h" +#include "model/DescribeTraceInfoDetailResult.h" +#include "model/DescribeGroupListRequest.h" +#include "model/DescribeGroupListResult.h" +#include "model/DescribeCanTrySasRequest.h" +#include "model/DescribeCanTrySasResult.h" +#include "model/DescribeTargetRequest.h" +#include "model/DescribeTargetResult.h" +#include "model/DescribeWebshellRequest.h" +#include "model/DescribeWebshellResult.h" +#include "model/DescribeCheckWarningDetailRequest.h" +#include "model/DescribeCheckWarningDetailResult.h" +#include "model/SaveWhiteListStrategyAssetsRequest.h" +#include "model/SaveWhiteListStrategyAssetsResult.h" +#include "model/CreateOrUpdateDingTalkRequest.h" +#include "model/CreateOrUpdateDingTalkResult.h" +#include "model/DescribeWarningMachinesRequest.h" +#include "model/DescribeWarningMachinesResult.h" +#include "model/ModifySearchConditionRequest.h" +#include "model/ModifySearchConditionResult.h" +#include "model/DescribeWhiteListStrategyUuidCountRequest.h" +#include "model/DescribeWhiteListStrategyUuidCountResult.h" +#include "model/DescribeGroupedVulRequest.h" +#include "model/DescribeGroupedVulResult.h" +#include "model/ModifyWebLockDeleteConfigRequest.h" +#include "model/ModifyWebLockDeleteConfigResult.h" +#include "model/CreateUserWhiteListRequest.h" +#include "model/CreateUserWhiteListResult.h" +#include "model/DescribeSecureSuggestionRequest.h" +#include "model/DescribeSecureSuggestionResult.h" +#include "model/DescribeSuspiciousOverallConfigRequest.h" +#include "model/DescribeSuspiciousOverallConfigResult.h" +#include "model/DescribeAnalysisCurveRequest.h" +#include "model/DescribeAnalysisCurveResult.h" +#include "model/DescribeScreenAlarmEventListRequest.h" +#include "model/DescribeScreenAlarmEventListResult.h" +#include "model/CreatScreenSettingRequest.h" +#include "model/CreatScreenSettingResult.h" +#include "model/DescribeAlarmEventListRequest.h" +#include "model/DescribeAlarmEventListResult.h" +#include "model/CanTrySasRequest.h" +#include "model/CanTrySasResult.h" +#include "model/DescribeScreenSummaryInfoRequest.h" +#include "model/DescribeScreenSummaryInfoResult.h" +#include "model/OperateWarningRequest.h" +#include "model/OperateWarningResult.h" +#include "model/ExecuteRuleEngineActualTimeRequest.h" +#include "model/ExecuteRuleEngineActualTimeResult.h" +#include "model/CreateUserSettingRequest.h" +#include "model/CreateUserSettingResult.h" +#include "model/ExportSuspEventsRequest.h" +#include "model/ExportSuspEventsResult.h" +#include "model/DescribeLogShipperStatusRequest.h" +#include "model/DescribeLogShipperStatusResult.h" +#include "model/DescribeLogMetaRequest.h" +#include "model/DescribeLogMetaResult.h" +#include "model/DescribeQuaraFileRequest.h" +#include "model/DescribeQuaraFileResult.h" +#include "model/DescribeTotalStatisticsRequest.h" +#include "model/DescribeTotalStatisticsResult.h" +#include "model/DescribeWhiteListStrategyStatisticsRequest.h" +#include "model/DescribeWhiteListStrategyStatisticsResult.h" +#include "model/AutoUpgradeToSasAdvancedVersionRequest.h" +#include "model/AutoUpgradeToSasAdvancedVersionResult.h" +#include "model/DescribeStratetyRequest.h" +#include "model/DescribeStratetyResult.h" +#include "model/DescribeAnalysisStatisticsRequest.h" +#include "model/DescribeAnalysisStatisticsResult.h" +#include "model/DescribeWebLockConfigListRequest.h" +#include "model/DescribeWebLockConfigListResult.h" +#include "model/ModifyAutoDelConfigRequest.h" +#include "model/ModifyAutoDelConfigResult.h" +#include "model/DescribeUserSettingRequest.h" +#include "model/DescribeUserSettingResult.h" +#include "model/DescribeVulBatchRequest.h" +#include "model/DescribeVulBatchResult.h" #include "model/ReleaseInstanceRequest.h" #include "model/ReleaseInstanceResult.h" +#include "model/DescribeVulLevelRequest.h" +#include "model/DescribeVulLevelResult.h" +#include "model/ModifyWebLockOperateEventsRequest.h" +#include "model/ModifyWebLockOperateEventsResult.h" +#include "model/DescribeWhiteListAuthorizeRequest.h" +#include "model/DescribeWhiteListAuthorizeResult.h" +#include "model/DescribeAttackAnalysisDataRequest.h" +#include "model/DescribeAttackAnalysisDataResult.h" +#include "model/RenewInstanceRequest.h" +#include "model/RenewInstanceResult.h" +#include "model/OperateResultRequest.h" +#include "model/OperateResultResult.h" +#include "model/RollbackSuspEventQuaraFileRequest.h" +#include "model/RollbackSuspEventQuaraFileResult.h" +#include "model/DescribeLogstoreStorageRequest.h" +#include "model/DescribeLogstoreStorageResult.h" +#include "model/DescribeRuleListRequest.h" +#include "model/DescribeRuleListResult.h" +#include "model/DeleteSearchConditionRequest.h" +#include "model/DeleteSearchConditionResult.h" +#include "model/DescribeAllRegionsStatisticsRequest.h" +#include "model/DescribeAllRegionsStatisticsResult.h" +#include "model/DescribeCheckWarningSummaryRequest.h" +#include "model/DescribeCheckWarningSummaryResult.h" +#include "model/DescribeSlsProjectRequest.h" +#include "model/DescribeSlsProjectResult.h" +#include "model/DescribeWhiteListEffectiveAssetsRequest.h" +#include "model/DescribeWhiteListEffectiveAssetsResult.h" +#include "model/UpgradeInstanceRequest.h" +#include "model/UpgradeInstanceResult.h" +#include "model/DescribeLogQueryRequest.h" +#include "model/DescribeLogQueryResult.h" +#include "model/DescribeScreenSettingsRequest.h" +#include "model/DescribeScreenSettingsResult.h" +#include "model/DescribeRisksRequest.h" +#include "model/DescribeRisksResult.h" +#include "model/DescribeGroupStructRequest.h" +#include "model/DescribeGroupStructResult.h" +#include "model/DescribeRiskWhiteListRequest.h" +#include "model/DescribeRiskWhiteListResult.h" +#include "model/ModifyAssetGroupRequest.h" +#include "model/ModifyAssetGroupResult.h" +#include "model/DescribeSasLeftConditionRequest.h" +#include "model/DescribeSasLeftConditionResult.h" +#include "model/DescribeSasAssetStatisticsColumnRequest.h" +#include "model/DescribeSasAssetStatisticsColumnResult.h" +#include "model/CreateOrUpdateRuleRequest.h" +#include "model/CreateOrUpdateRuleResult.h" +#include "model/ModifyLogMetaStatusRequest.h" +#include "model/ModifyLogMetaStatusResult.h" +#include "model/DescribeYesterdayStatisticsRequest.h" +#include "model/DescribeYesterdayStatisticsResult.h" +#include "model/DescribeSuspiciousExportInfoRequest.h" +#include "model/DescribeSuspiciousExportInfoResult.h" +#include "model/DeleteScreenSettingRequest.h" +#include "model/DeleteScreenSettingResult.h" +#include "model/DescribeAssetSummaryRequest.h" +#include "model/DescribeAssetSummaryResult.h" +#include "model/DescribeAgentInstallStatusRequest.h" +#include "model/DescribeAgentInstallStatusResult.h" +#include "model/GetEntityListRequest.h" +#include "model/GetEntityListResult.h" +#include "model/ExportVulRequest.h" +#include "model/ExportVulResult.h" +#include "model/DescribeVulTargetStatisticsRequest.h" +#include "model/DescribeVulTargetStatisticsResult.h" #include "model/DescribeSuspiciousEventsRequest.h" #include "model/DescribeSuspiciousEventsResult.h" #include "model/CreateInstanceRequest.h" #include "model/CreateInstanceResult.h" -#include "model/DescribeVulListRequest.h" -#include "model/DescribeVulListResult.h" -#include "model/UpgradeInstanceRequest.h" -#include "model/UpgradeInstanceResult.h" -#include "model/RenewInstanceRequest.h" -#include "model/RenewInstanceResult.h" -#include "model/DescribeStrategyTargetRequest.h" -#include "model/DescribeStrategyTargetResult.h" +#include "model/DescribeMachineConfigRequest.h" +#include "model/DescribeMachineConfigResult.h" #include "model/QueryLoginEventRequest.h" #include "model/QueryLoginEventResult.h" -#include "model/GetAccountStatisticsRequest.h" -#include "model/GetAccountStatisticsResult.h" -#include "model/ModifyStrategyRequest.h" -#include "model/ModifyStrategyResult.h" -#include "model/ModifyStrategyTargetRequest.h" -#include "model/ModifyStrategyTargetResult.h" -#include "model/ModifyBatchIgnoreVulRequest.h" -#include "model/ModifyBatchIgnoreVulResult.h" -#include "model/DescribeWebshellRequest.h" -#include "model/DescribeWebshellResult.h" +#include "model/TransformLeakageRequest.h" +#include "model/TransformLeakageResult.h" +#include "model/DescribeAssetListRequest.h" +#include "model/DescribeAssetListResult.h" +#include "model/ModifyMachineConfigRequest.h" +#include "model/ModifyMachineConfigResult.h" +#include "model/DescribeVersionConfigRequest.h" +#include "model/DescribeVersionConfigResult.h" +#include "model/DescribeMacConfigRequest.h" +#include "model/DescribeMacConfigResult.h" +#include "model/RollbackQuaraFileRequest.h" +#include "model/RollbackQuaraFileResult.h" +#include "model/DescribeApiBuySummaryRequest.h" +#include "model/DescribeApiBuySummaryResult.h" +#include "model/DescribeWebLockMachineListRequest.h" +#include "model/DescribeWebLockMachineListResult.h" +#include "model/DeleteVulBatchRequest.h" +#include "model/DeleteVulBatchResult.h" +#include "model/ModifyWebLockStatusRequest.h" +#include "model/ModifyWebLockStatusResult.h" +#include "model/UpdateWhiteListProcessStatusRequest.h" +#include "model/UpdateWhiteListProcessStatusResult.h" +#include "model/DescribeScreenSettingRequest.h" +#include "model/DescribeScreenSettingResult.h" +#include "model/CreateLogQueryRequest.h" +#include "model/CreateLogQueryResult.h" +#include "model/DescribeWarningRequest.h" +#include "model/DescribeWarningResult.h" +#include "model/DescribeWhiteListProcessRequest.h" +#include "model/DescribeWhiteListProcessResult.h" +#include "model/DescribeStrategyExecDetailRequest.h" +#include "model/DescribeStrategyExecDetailResult.h" +#include "model/DescribeListAccessKeyIdAuthRequest.h" +#include "model/DescribeListAccessKeyIdAuthResult.h" +#include "model/DescribeTopRiskyAssetsRequest.h" +#include "model/DescribeTopRiskyAssetsResult.h" +#include "model/DescribeWebLockBindListRequest.h" +#include "model/DescribeWebLockBindListResult.h" +#include "model/ModifyOpenLogShipperRequest.h" +#include "model/ModifyOpenLogShipperResult.h" +#include "model/UpdateWhiteListStrategyStatusRequest.h" +#include "model/UpdateWhiteListStrategyStatusResult.h" +#include "model/DeleteVulWhitelistRequest.h" +#include "model/DeleteVulWhitelistResult.h" +#include "model/DescribeVulMachineListRequest.h" +#include "model/DescribeVulMachineListResult.h" +#include "model/DescribeAnalysisLogsRequest.h" +#include "model/DescribeAnalysisLogsResult.h" #include "model/DescribeStratetyDetailRequest.h" #include "model/DescribeStratetyDetailResult.h" -#include "model/DescribeStratetyRequest.h" -#include "model/DescribeStratetyResult.h" +#include "model/DescribeHistogramRequest.h" +#include "model/DescribeHistogramResult.h" +#include "model/DescribeDingTalkRequest.h" +#include "model/DescribeDingTalkResult.h" #include "model/DescribeLoginLogsRequest.h" #include "model/DescribeLoginLogsResult.h" -#include "model/QueryCrackEventRequest.h" -#include "model/QueryCrackEventResult.h" +#include "model/DescribeMetaDataRequest.h" +#include "model/DescribeMetaDataResult.h" +#include "model/DescribeWebLockStatusRequest.h" +#include "model/DescribeWebLockStatusResult.h" +#include "model/DescribeEmgVulGroupRequest.h" +#include "model/DescribeEmgVulGroupResult.h" +#include "model/DescribeNsasSuspEventTypeRequest.h" +#include "model/DescribeNsasSuspEventTypeResult.h" +#include "model/ModifyScreenSettingRequest.h" +#include "model/ModifyScreenSettingResult.h" +#include "model/ModifyStrategyRequest.h" +#include "model/ModifyStrategyResult.h" +#include "model/DescribeEmgNoticeRequest.h" +#include "model/DescribeEmgNoticeResult.h" +#include "model/DescribeScreenOperateInfoRequest.h" +#include "model/DescribeScreenOperateInfoResult.h" +#include "model/DescribeJoinRuleListRequest.h" +#include "model/DescribeJoinRuleListResult.h" +#include "model/DescribeSuspEventQuaraFilesRequest.h" +#include "model/DescribeSuspEventQuaraFilesResult.h" +#include "model/ValidateHcWarningsRequest.h" +#include "model/ValidateHcWarningsResult.h" +#include "model/CreateOrUpdateJoinRuleRequest.h" +#include "model/CreateOrUpdateJoinRuleResult.h" +#include "model/AutoUpgradeSasRequest.h" +#include "model/AutoUpgradeSasResult.h" +#include "model/DescribeEmgUserAgreementRequest.h" +#include "model/DescribeEmgUserAgreementResult.h" +#include "model/ModifyWebLockMachineListRequest.h" +#include "model/ModifyWebLockMachineListResult.h" +#include "model/ModifyEmgVulSubmitRequest.h" +#include "model/ModifyEmgVulSubmitResult.h" +#include "model/DeleteLogQueryRequest.h" +#include "model/DeleteLogQueryResult.h" +#include "model/ModifyTargetConfigRequest.h" +#include "model/ModifyTargetConfigResult.h" +#include "model/IgnoreHcCheckWarningsRequest.h" +#include "model/IgnoreHcCheckWarningsResult.h" +#include "model/DescribeExportInfoRequest.h" +#include "model/DescribeExportInfoResult.h" +#include "model/DescribeSuspEventUserSettingRequest.h" +#include "model/DescribeSuspEventUserSettingResult.h" +#include "model/DescribeWhiteListStrategyCountRequest.h" +#include "model/DescribeWhiteListStrategyCountResult.h" +#include "model/DescribeVulConfigRequest.h" +#include "model/DescribeVulConfigResult.h" +#include "model/ModifyWebLockRefreshRequest.h" +#include "model/ModifyWebLockRefreshResult.h" +#include "model/DescribeEventCountCurveRequest.h" +#include "model/DescribeEventCountCurveResult.h" +#include "model/DescribeWhiteListAssetRequest.h" +#include "model/DescribeWhiteListAssetResult.h" +#include "model/ModifyClearLogstoreStorageRequest.h" +#include "model/ModifyClearLogstoreStorageResult.h" +#include "model/ModifyStrategyTargetRequest.h" +#include "model/ModifyStrategyTargetResult.h" +#include "model/DescribeCheckWarningsRequest.h" +#include "model/DescribeCheckWarningsResult.h" +#include "model/DescribeSecurityStatInfoRequest.h" +#include "model/DescribeSecurityStatInfoResult.h" +#include "model/SaveWhiteListStrategyRequest.h" +#include "model/SaveWhiteListStrategyResult.h" +#include "model/DescribeFilterFieldsRequest.h" +#include "model/DescribeFilterFieldsResult.h" +#include "model/DescribeScreenSecurityStatInfoRequest.h" +#include "model/DescribeScreenSecurityStatInfoResult.h" +#include "model/OperateSuspiciousOverallConfigRequest.h" +#include "model/OperateSuspiciousOverallConfigResult.h" +#include "model/DescribeInstanceStatisticsRequest.h" +#include "model/DescribeInstanceStatisticsResult.h" namespace AlibabaCloud @@ -79,155 +479,1355 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT AegisClient : public RpcServiceClient { public: - typedef Outcome GetEntityListOutcome; - typedef std::future GetEntityListOutcomeCallable; - typedef std::function&)> GetEntityListAsyncHandler; - typedef Outcome GetStatisticsByUuidOutcome; - typedef std::future GetStatisticsByUuidOutcomeCallable; - typedef std::function&)> GetStatisticsByUuidAsyncHandler; - typedef Outcome GetStatisticsOutcome; - typedef std::future GetStatisticsOutcomeCallable; - typedef std::function&)> GetStatisticsAsyncHandler; - typedef Outcome DescribeVulDetailsOutcome; - typedef std::future DescribeVulDetailsOutcomeCallable; - typedef std::function&)> DescribeVulDetailsAsyncHandler; - typedef Outcome DeleteStrategyOutcome; - typedef std::future DeleteStrategyOutcomeCallable; - typedef std::function&)> DeleteStrategyAsyncHandler; - typedef Outcome GetCrackStatisticsOutcome; - typedef std::future GetCrackStatisticsOutcomeCallable; - typedef std::function&)> GetCrackStatisticsAsyncHandler; - typedef Outcome DescribeWarningOutcome; - typedef std::future DescribeWarningOutcomeCallable; - typedef std::function&)> DescribeWarningAsyncHandler; - typedef Outcome ReleaseInstanceOutcome; - typedef std::future ReleaseInstanceOutcomeCallable; - typedef std::function&)> ReleaseInstanceAsyncHandler; - typedef Outcome DescribeSuspiciousEventsOutcome; - typedef std::future DescribeSuspiciousEventsOutcomeCallable; - typedef std::function&)> DescribeSuspiciousEventsAsyncHandler; - typedef Outcome CreateInstanceOutcome; - typedef std::future CreateInstanceOutcomeCallable; - typedef std::function&)> CreateInstanceAsyncHandler; - typedef Outcome DescribeVulListOutcome; - typedef std::future DescribeVulListOutcomeCallable; + typedef Outcome DescribeAnalysisShipperStatusOutcome; + typedef std::future DescribeAnalysisShipperStatusOutcomeCallable; + typedef std::function&)> DescribeAnalysisShipperStatusAsyncHandler; + typedef Outcome DescribeCanUpgradeSasOutcome; + typedef std::future DescribeCanUpgradeSasOutcomeCallable; + typedef std::function&)> DescribeCanUpgradeSasAsyncHandler; + typedef Outcome DescribeTraceInfoNodeOutcome; + typedef std::future DescribeTraceInfoNodeOutcomeCallable; + typedef std::function&)> DescribeTraceInfoNodeAsyncHandler; + typedef Outcome DescribeScreenAttackAnalysisDataOutcome; + typedef std::future DescribeScreenAttackAnalysisDataOutcomeCallable; + typedef std::function&)> DescribeScreenAttackAnalysisDataAsyncHandler; + typedef Outcome DescribeAutoDelConfigOutcome; + typedef std::future DescribeAutoDelConfigOutcomeCallable; + typedef std::function&)> DescribeAutoDelConfigAsyncHandler; + typedef Outcome DescribeVulListOutcome; + typedef std::future DescribeVulListOutcomeCallable; typedef std::function&)> DescribeVulListAsyncHandler; - typedef Outcome UpgradeInstanceOutcome; - typedef std::future UpgradeInstanceOutcomeCallable; - typedef std::function&)> UpgradeInstanceAsyncHandler; - typedef Outcome RenewInstanceOutcome; - typedef std::future RenewInstanceOutcomeCallable; - typedef std::function&)> RenewInstanceAsyncHandler; - typedef Outcome DescribeStrategyTargetOutcome; - typedef std::future DescribeStrategyTargetOutcomeCallable; - typedef std::function&)> DescribeStrategyTargetAsyncHandler; - typedef Outcome QueryLoginEventOutcome; - typedef std::future QueryLoginEventOutcomeCallable; - typedef std::function&)> QueryLoginEventAsyncHandler; - typedef Outcome GetAccountStatisticsOutcome; - typedef std::future GetAccountStatisticsOutcomeCallable; - typedef std::function&)> GetAccountStatisticsAsyncHandler; - typedef Outcome ModifyStrategyOutcome; - typedef std::future ModifyStrategyOutcomeCallable; - typedef std::function&)> ModifyStrategyAsyncHandler; - typedef Outcome ModifyStrategyTargetOutcome; - typedef std::future ModifyStrategyTargetOutcomeCallable; - typedef std::function&)> ModifyStrategyTargetAsyncHandler; - typedef Outcome ModifyBatchIgnoreVulOutcome; - typedef std::future ModifyBatchIgnoreVulOutcomeCallable; + typedef Outcome ModifyWebLockUpdateConfigOutcome; + typedef std::future ModifyWebLockUpdateConfigOutcomeCallable; + typedef std::function&)> ModifyWebLockUpdateConfigAsyncHandler; + typedef Outcome DescribeVulnerabilitySummaryOutcome; + typedef std::future DescribeVulnerabilitySummaryOutcomeCallable; + typedef std::function&)> DescribeVulnerabilitySummaryAsyncHandler; + typedef Outcome SetDatasourceStatusOutcome; + typedef std::future SetDatasourceStatusOutcomeCallable; + typedef std::function&)> SetDatasourceStatusAsyncHandler; + typedef Outcome OperateSuspiciousEventOutcome; + typedef std::future OperateSuspiciousEventOutcomeCallable; + typedef std::function&)> OperateSuspiciousEventAsyncHandler; + typedef Outcome OperateSuspiciousTargetConfigOutcome; + typedef std::future OperateSuspiciousTargetConfigOutcomeCallable; + typedef std::function&)> OperateSuspiciousTargetConfigAsyncHandler; + typedef Outcome DescribeAnalysisHistogramsOutcome; + typedef std::future DescribeAnalysisHistogramsOutcomeCallable; + typedef std::function&)> DescribeAnalysisHistogramsAsyncHandler; + typedef Outcome ExportWarningOutcome; + typedef std::future ExportWarningOutcomeCallable; + typedef std::function&)> ExportWarningAsyncHandler; + typedef Outcome DescribeEcsStsStatusOutcome; + typedef std::future DescribeEcsStsStatusOutcomeCallable; + typedef std::function&)> DescribeEcsStsStatusAsyncHandler; + typedef Outcome UpdateWhiteListStrategyRelationOutcome; + typedef std::future UpdateWhiteListStrategyRelationOutcomeCallable; + typedef std::function&)> UpdateWhiteListStrategyRelationAsyncHandler; + typedef Outcome DeleteStrategyOutcome; + typedef std::future DeleteStrategyOutcomeCallable; + typedef std::function&)> DeleteStrategyAsyncHandler; + typedef Outcome DescribeOperateInfoOutcome; + typedef std::future DescribeOperateInfoOutcomeCallable; + typedef std::function&)> DescribeOperateInfoAsyncHandler; + typedef Outcome OpenSasTrialOutcome; + typedef std::future OpenSasTrialOutcomeCallable; + typedef std::function&)> OpenSasTrialAsyncHandler; + typedef Outcome ModifyVulLevelOutcome; + typedef std::future ModifyVulLevelOutcomeCallable; + typedef std::function&)> ModifyVulLevelAsyncHandler; + typedef Outcome ModifyVulTargetOutcome; + typedef std::future ModifyVulTargetOutcomeCallable; + typedef std::function&)> ModifyVulTargetAsyncHandler; + typedef Outcome ModifyBatchIgnoreVulOutcome; + typedef std::future ModifyBatchIgnoreVulOutcomeCallable; typedef std::function&)> ModifyBatchIgnoreVulAsyncHandler; - typedef Outcome DescribeWebshellOutcome; - typedef std::future DescribeWebshellOutcomeCallable; - typedef std::function&)> DescribeWebshellAsyncHandler; - typedef Outcome DescribeStratetyDetailOutcome; - typedef std::future DescribeStratetyDetailOutcomeCallable; - typedef std::function&)> DescribeStratetyDetailAsyncHandler; - typedef Outcome DescribeStratetyOutcome; - typedef std::future DescribeStratetyOutcomeCallable; - typedef std::function&)> DescribeStratetyAsyncHandler; - typedef Outcome DescribeLoginLogsOutcome; - typedef std::future DescribeLoginLogsOutcomeCallable; - typedef std::function&)> DescribeLoginLogsAsyncHandler; - typedef Outcome QueryCrackEventOutcome; - typedef std::future QueryCrackEventOutcomeCallable; + typedef Outcome DescribeSummaryInfoOutcome; + typedef std::future DescribeSummaryInfoOutcomeCallable; + typedef std::function&)> DescribeSummaryInfoAsyncHandler; + typedef Outcome DescribeStrategyProcessOutcome; + typedef std::future DescribeStrategyProcessOutcomeCallable; + typedef std::function&)> DescribeStrategyProcessAsyncHandler; + typedef Outcome DescribeSuspTrendStatisticsOutcome; + typedef std::future DescribeSuspTrendStatisticsOutcomeCallable; + typedef std::function&)> DescribeSuspTrendStatisticsAsyncHandler; + typedef Outcome DescribeDataSourceOutcome; + typedef std::future DescribeDataSourceOutcomeCallable; + typedef std::function&)> DescribeDataSourceAsyncHandler; + typedef Outcome DescribeResultListOutcome; + typedef std::future DescribeResultListOutcomeCallable; + typedef std::function&)> DescribeResultListAsyncHandler; + typedef Outcome DownloadLogOutcome; + typedef std::future DownloadLogOutcomeCallable; + typedef std::function&)> DownloadLogAsyncHandler; + typedef Outcome DescribeTargetConfigOutcome; + typedef std::future DescribeTargetConfigOutcomeCallable; + typedef std::function&)> DescribeTargetConfigAsyncHandler; + typedef Outcome DescribeVulNumStatisticsOutcome; + typedef std::future DescribeVulNumStatisticsOutcomeCallable; + typedef std::function&)> DescribeVulNumStatisticsAsyncHandler; + typedef Outcome DescribeLogInfoOutcome; + typedef std::future DescribeLogInfoOutcomeCallable; + typedef std::function&)> DescribeLogInfoAsyncHandler; + typedef Outcome GetAccountStatisticsOutcome; + typedef std::future GetAccountStatisticsOutcomeCallable; + typedef std::function&)> GetAccountStatisticsAsyncHandler; + typedef Outcome DescribeUuidConfigOutcome; + typedef std::future DescribeUuidConfigOutcomeCallable; + typedef std::function&)> DescribeUuidConfigAsyncHandler; + typedef Outcome DescribeScreenHostStatisticsOutcome; + typedef std::future DescribeScreenHostStatisticsOutcomeCallable; + typedef std::function&)> DescribeScreenHostStatisticsAsyncHandler; + typedef Outcome DeleteDingTalkOutcome; + typedef std::future DeleteDingTalkOutcomeCallable; + typedef std::function&)> DeleteDingTalkAsyncHandler; + typedef Outcome DescribeSuspEventTypesOutcome; + typedef std::future DescribeSuspEventTypesOutcomeCallable; + typedef std::function&)> DescribeSuspEventTypesAsyncHandler; + typedef Outcome BatchDeleteWhiteListOutcome; + typedef std::future BatchDeleteWhiteListOutcomeCallable; + typedef std::function&)> BatchDeleteWhiteListAsyncHandler; + typedef Outcome DeleteJoinRuleOutcome; + typedef std::future DeleteJoinRuleOutcomeCallable; + typedef std::function&)> DeleteJoinRuleAsyncHandler; + typedef Outcome ModifySasAssetStatisticsColumnOutcome; + typedef std::future ModifySasAssetStatisticsColumnOutcomeCallable; + typedef std::function&)> ModifySasAssetStatisticsColumnAsyncHandler; + typedef Outcome DescribeTraceInfoNodeListOutcome; + typedef std::future DescribeTraceInfoNodeListOutcomeCallable; + typedef std::function&)> DescribeTraceInfoNodeListAsyncHandler; + typedef Outcome DescribeAnalysisSlsIndexOutcome; + typedef std::future DescribeAnalysisSlsIndexOutcomeCallable; + typedef std::function&)> DescribeAnalysisSlsIndexAsyncHandler; + typedef Outcome ModifyWebLockCreateConfigOutcome; + typedef std::future ModifyWebLockCreateConfigOutcomeCallable; + typedef std::function&)> ModifyWebLockCreateConfigAsyncHandler; + typedef Outcome DeleteRuleGroupOutcome; + typedef std::future DeleteRuleGroupOutcomeCallable; + typedef std::function&)> DeleteRuleGroupAsyncHandler; + typedef Outcome DescribeStatisticsOutcome; + typedef std::future DescribeStatisticsOutcomeCallable; + typedef std::function&)> DescribeStatisticsAsyncHandler; + typedef Outcome DescribeAlarmEventDetailOutcome; + typedef std::future DescribeAlarmEventDetailOutcomeCallable; + typedef std::function&)> DescribeAlarmEventDetailAsyncHandler; + typedef Outcome CreateSuspiciousExportOutcome; + typedef std::future CreateSuspiciousExportOutcomeCallable; + typedef std::function&)> CreateSuspiciousExportAsyncHandler; + typedef Outcome OperateVulOutcome; + typedef std::future OperateVulOutcomeCallable; + typedef std::function&)> OperateVulAsyncHandler; + typedef Outcome GetCrackStatisticsOutcome; + typedef std::future GetCrackStatisticsOutcomeCallable; + typedef std::function&)> GetCrackStatisticsAsyncHandler; + typedef Outcome DescribeConcernNecessityOutcome; + typedef std::future DescribeConcernNecessityOutcomeCallable; + typedef std::function&)> DescribeConcernNecessityAsyncHandler; + typedef Outcome OperateAgentClientInstallOutcome; + typedef std::future OperateAgentClientInstallOutcomeCallable; + typedef std::function&)> OperateAgentClientInstallAsyncHandler; + typedef Outcome DescribeScreenScoreThreadOutcome; + typedef std::future DescribeScreenScoreThreadOutcomeCallable; + typedef std::function&)> DescribeScreenScoreThreadAsyncHandler; + typedef Outcome DescribeBuySummaryOutcome; + typedef std::future DescribeBuySummaryOutcomeCallable; + typedef std::function&)> DescribeBuySummaryAsyncHandler; + typedef Outcome DescribeStrategyTargetOutcome; + typedef std::future DescribeStrategyTargetOutcomeCallable; + typedef std::function&)> DescribeStrategyTargetAsyncHandler; + typedef Outcome DescribeSuspiciousUUIDConfigOutcome; + typedef std::future DescribeSuspiciousUUIDConfigOutcomeCallable; + typedef std::function&)> DescribeSuspiciousUUIDConfigAsyncHandler; + typedef Outcome DescribeTopicListOutcome; + typedef std::future DescribeTopicListOutcomeCallable; + typedef std::function&)> DescribeTopicListAsyncHandler; + typedef Outcome DescribeAssetDetailByUuidOutcome; + typedef std::future DescribeAssetDetailByUuidOutcomeCallable; + typedef std::function&)> DescribeAssetDetailByUuidAsyncHandler; + typedef Outcome DescribeScreenVersionConfigOutcome; + typedef std::future DescribeScreenVersionConfigOutcomeCallable; + typedef std::function&)> DescribeScreenVersionConfigAsyncHandler; + typedef Outcome DescribeVulExportInfoOutcome; + typedef std::future DescribeVulExportInfoOutcomeCallable; + typedef std::function&)> DescribeVulExportInfoAsyncHandler; + typedef Outcome DeleteRuleOutcome; + typedef std::future DeleteRuleOutcomeCallable; + typedef std::function&)> DeleteRuleAsyncHandler; + typedef Outcome DescribeSuspEventDetailOutcome; + typedef std::future DescribeSuspEventDetailOutcomeCallable; + typedef std::function&)> DescribeSuspEventDetailAsyncHandler; + typedef Outcome DescribeEventLevelCountOutcome; + typedef std::future DescribeEventLevelCountOutcomeCallable; + typedef std::function&)> DescribeEventLevelCountAsyncHandler; + typedef Outcome QueryCrackEventOutcome; + typedef std::future QueryCrackEventOutcomeCallable; typedef std::function&)> QueryCrackEventAsyncHandler; + typedef Outcome CreateOrUpdateGroupOutcome; + typedef std::future CreateOrUpdateGroupOutcomeCallable; + typedef std::function&)> CreateOrUpdateGroupAsyncHandler; + typedef Outcome SaveSuspEventUserSettingOutcome; + typedef std::future SaveSuspEventUserSettingOutcomeCallable; + typedef std::function&)> SaveSuspEventUserSettingAsyncHandler; + typedef Outcome DescribeSearchConditionOutcome; + typedef std::future DescribeSearchConditionOutcomeCallable; + typedef std::function&)> DescribeSearchConditionAsyncHandler; + typedef Outcome ModifySaveVulBatchOutcome; + typedef std::future ModifySaveVulBatchOutcomeCallable; + typedef std::function&)> ModifySaveVulBatchAsyncHandler; + typedef Outcome DescribeVulDetailsOutcome; + typedef std::future DescribeVulDetailsOutcomeCallable; + typedef std::function&)> DescribeVulDetailsAsyncHandler; + typedef Outcome DescribeLogItemsOutcome; + typedef std::future DescribeLogItemsOutcomeCallable; + typedef std::function&)> DescribeLogItemsAsyncHandler; + typedef Outcome DescribeWebLockEventsOutcome; + typedef std::future DescribeWebLockEventsOutcomeCallable; + typedef std::function&)> DescribeWebLockEventsAsyncHandler; + typedef Outcome ExecStrategyOutcome; + typedef std::future ExecStrategyOutcomeCallable; + typedef std::function&)> ExecStrategyAsyncHandler; + typedef Outcome DescribeSuspEventExportInfoOutcome; + typedef std::future DescribeSuspEventExportInfoOutcomeCallable; + typedef std::function&)> DescribeSuspEventExportInfoAsyncHandler; + typedef Outcome OperationSuspEventsOutcome; + typedef std::future OperationSuspEventsOutcomeCallable; + typedef std::function&)> OperationSuspEventsAsyncHandler; + typedef Outcome DescribeSasAssetStatisticsOutcome; + typedef std::future DescribeSasAssetStatisticsOutcomeCallable; + typedef std::function&)> DescribeSasAssetStatisticsAsyncHandler; + typedef Outcome DescribeDefenceThreadOutcome; + typedef std::future DescribeDefenceThreadOutcomeCallable; + typedef std::function&)> DescribeDefenceThreadAsyncHandler; + typedef Outcome CreateVulWhitelistOutcome; + typedef std::future CreateVulWhitelistOutcomeCallable; + typedef std::function&)> CreateVulWhitelistAsyncHandler; + typedef Outcome ModifyConcernNecessityOutcome; + typedef std::future ModifyConcernNecessityOutcomeCallable; + typedef std::function&)> ModifyConcernNecessityAsyncHandler; + typedef Outcome GetStatisticsByUuidOutcome; + typedef std::future GetStatisticsByUuidOutcomeCallable; + typedef std::function&)> GetStatisticsByUuidAsyncHandler; + typedef Outcome ModifyVulConfigOutcome; + typedef std::future ModifyVulConfigOutcomeCallable; + typedef std::function&)> ModifyVulConfigAsyncHandler; + typedef Outcome GetStatisticsOutcome; + typedef std::future GetStatisticsOutcomeCallable; + typedef std::function&)> GetStatisticsAsyncHandler; + typedef Outcome DescribesummaryOutcome; + typedef std::future DescribesummaryOutcomeCallable; + typedef std::function&)> DescribesummaryAsyncHandler; + typedef Outcome DescribeSuspEventsOutcome; + typedef std::future DescribeSuspEventsOutcomeCallable; + typedef std::function&)> DescribeSuspEventsAsyncHandler; + typedef Outcome CreateOrUpdateDataSourceOutcome; + typedef std::future CreateOrUpdateDataSourceOutcomeCallable; + typedef std::function&)> CreateOrUpdateDataSourceAsyncHandler; + typedef Outcome DescribeVulWhitelistOutcome; + typedef std::future DescribeVulWhitelistOutcomeCallable; + typedef std::function&)> DescribeVulWhitelistAsyncHandler; + typedef Outcome DescribeRiskTypeOutcome; + typedef std::future DescribeRiskTypeOutcomeCallable; + typedef std::function&)> DescribeRiskTypeAsyncHandler; + typedef Outcome DescribeVulLevelStatisticsOutcome; + typedef std::future DescribeVulLevelStatisticsOutcomeCallable; + typedef std::function&)> DescribeVulLevelStatisticsAsyncHandler; + typedef Outcome DescribeWhiteListStrategyListOutcome; + typedef std::future DescribeWhiteListStrategyListOutcomeCallable; + typedef std::function&)> DescribeWhiteListStrategyListAsyncHandler; + typedef Outcome DescribeTraceInfoDetailOutcome; + typedef std::future DescribeTraceInfoDetailOutcomeCallable; + typedef std::function&)> DescribeTraceInfoDetailAsyncHandler; + typedef Outcome DescribeGroupListOutcome; + typedef std::future DescribeGroupListOutcomeCallable; + typedef std::function&)> DescribeGroupListAsyncHandler; + typedef Outcome DescribeCanTrySasOutcome; + typedef std::future DescribeCanTrySasOutcomeCallable; + typedef std::function&)> DescribeCanTrySasAsyncHandler; + typedef Outcome DescribeTargetOutcome; + typedef std::future DescribeTargetOutcomeCallable; + typedef std::function&)> DescribeTargetAsyncHandler; + typedef Outcome DescribeWebshellOutcome; + typedef std::future DescribeWebshellOutcomeCallable; + typedef std::function&)> DescribeWebshellAsyncHandler; + typedef Outcome DescribeCheckWarningDetailOutcome; + typedef std::future DescribeCheckWarningDetailOutcomeCallable; + typedef std::function&)> DescribeCheckWarningDetailAsyncHandler; + typedef Outcome SaveWhiteListStrategyAssetsOutcome; + typedef std::future SaveWhiteListStrategyAssetsOutcomeCallable; + typedef std::function&)> SaveWhiteListStrategyAssetsAsyncHandler; + typedef Outcome CreateOrUpdateDingTalkOutcome; + typedef std::future CreateOrUpdateDingTalkOutcomeCallable; + typedef std::function&)> CreateOrUpdateDingTalkAsyncHandler; + typedef Outcome DescribeWarningMachinesOutcome; + typedef std::future DescribeWarningMachinesOutcomeCallable; + typedef std::function&)> DescribeWarningMachinesAsyncHandler; + typedef Outcome ModifySearchConditionOutcome; + typedef std::future ModifySearchConditionOutcomeCallable; + typedef std::function&)> ModifySearchConditionAsyncHandler; + typedef Outcome DescribeWhiteListStrategyUuidCountOutcome; + typedef std::future DescribeWhiteListStrategyUuidCountOutcomeCallable; + typedef std::function&)> DescribeWhiteListStrategyUuidCountAsyncHandler; + typedef Outcome DescribeGroupedVulOutcome; + typedef std::future DescribeGroupedVulOutcomeCallable; + typedef std::function&)> DescribeGroupedVulAsyncHandler; + typedef Outcome ModifyWebLockDeleteConfigOutcome; + typedef std::future ModifyWebLockDeleteConfigOutcomeCallable; + typedef std::function&)> ModifyWebLockDeleteConfigAsyncHandler; + typedef Outcome CreateUserWhiteListOutcome; + typedef std::future CreateUserWhiteListOutcomeCallable; + typedef std::function&)> CreateUserWhiteListAsyncHandler; + typedef Outcome DescribeSecureSuggestionOutcome; + typedef std::future DescribeSecureSuggestionOutcomeCallable; + typedef std::function&)> DescribeSecureSuggestionAsyncHandler; + typedef Outcome DescribeSuspiciousOverallConfigOutcome; + typedef std::future DescribeSuspiciousOverallConfigOutcomeCallable; + typedef std::function&)> DescribeSuspiciousOverallConfigAsyncHandler; + typedef Outcome DescribeAnalysisCurveOutcome; + typedef std::future DescribeAnalysisCurveOutcomeCallable; + typedef std::function&)> DescribeAnalysisCurveAsyncHandler; + typedef Outcome DescribeScreenAlarmEventListOutcome; + typedef std::future DescribeScreenAlarmEventListOutcomeCallable; + typedef std::function&)> DescribeScreenAlarmEventListAsyncHandler; + typedef Outcome CreatScreenSettingOutcome; + typedef std::future CreatScreenSettingOutcomeCallable; + typedef std::function&)> CreatScreenSettingAsyncHandler; + typedef Outcome DescribeAlarmEventListOutcome; + typedef std::future DescribeAlarmEventListOutcomeCallable; + typedef std::function&)> DescribeAlarmEventListAsyncHandler; + typedef Outcome CanTrySasOutcome; + typedef std::future CanTrySasOutcomeCallable; + typedef std::function&)> CanTrySasAsyncHandler; + typedef Outcome DescribeScreenSummaryInfoOutcome; + typedef std::future DescribeScreenSummaryInfoOutcomeCallable; + typedef std::function&)> DescribeScreenSummaryInfoAsyncHandler; + typedef Outcome OperateWarningOutcome; + typedef std::future OperateWarningOutcomeCallable; + typedef std::function&)> OperateWarningAsyncHandler; + typedef Outcome ExecuteRuleEngineActualTimeOutcome; + typedef std::future ExecuteRuleEngineActualTimeOutcomeCallable; + typedef std::function&)> ExecuteRuleEngineActualTimeAsyncHandler; + typedef Outcome CreateUserSettingOutcome; + typedef std::future CreateUserSettingOutcomeCallable; + typedef std::function&)> CreateUserSettingAsyncHandler; + typedef Outcome ExportSuspEventsOutcome; + typedef std::future ExportSuspEventsOutcomeCallable; + typedef std::function&)> ExportSuspEventsAsyncHandler; + typedef Outcome DescribeLogShipperStatusOutcome; + typedef std::future DescribeLogShipperStatusOutcomeCallable; + typedef std::function&)> DescribeLogShipperStatusAsyncHandler; + typedef Outcome DescribeLogMetaOutcome; + typedef std::future DescribeLogMetaOutcomeCallable; + typedef std::function&)> DescribeLogMetaAsyncHandler; + typedef Outcome DescribeQuaraFileOutcome; + typedef std::future DescribeQuaraFileOutcomeCallable; + typedef std::function&)> DescribeQuaraFileAsyncHandler; + typedef Outcome DescribeTotalStatisticsOutcome; + typedef std::future DescribeTotalStatisticsOutcomeCallable; + typedef std::function&)> DescribeTotalStatisticsAsyncHandler; + typedef Outcome DescribeWhiteListStrategyStatisticsOutcome; + typedef std::future DescribeWhiteListStrategyStatisticsOutcomeCallable; + typedef std::function&)> DescribeWhiteListStrategyStatisticsAsyncHandler; + typedef Outcome AutoUpgradeToSasAdvancedVersionOutcome; + typedef std::future AutoUpgradeToSasAdvancedVersionOutcomeCallable; + typedef std::function&)> AutoUpgradeToSasAdvancedVersionAsyncHandler; + typedef Outcome DescribeStratetyOutcome; + typedef std::future DescribeStratetyOutcomeCallable; + typedef std::function&)> DescribeStratetyAsyncHandler; + typedef Outcome DescribeAnalysisStatisticsOutcome; + typedef std::future DescribeAnalysisStatisticsOutcomeCallable; + typedef std::function&)> DescribeAnalysisStatisticsAsyncHandler; + typedef Outcome DescribeWebLockConfigListOutcome; + typedef std::future DescribeWebLockConfigListOutcomeCallable; + typedef std::function&)> DescribeWebLockConfigListAsyncHandler; + typedef Outcome ModifyAutoDelConfigOutcome; + typedef std::future ModifyAutoDelConfigOutcomeCallable; + typedef std::function&)> ModifyAutoDelConfigAsyncHandler; + typedef Outcome DescribeUserSettingOutcome; + typedef std::future DescribeUserSettingOutcomeCallable; + typedef std::function&)> DescribeUserSettingAsyncHandler; + typedef Outcome DescribeVulBatchOutcome; + typedef std::future DescribeVulBatchOutcomeCallable; + typedef std::function&)> DescribeVulBatchAsyncHandler; + typedef Outcome ReleaseInstanceOutcome; + typedef std::future ReleaseInstanceOutcomeCallable; + typedef std::function&)> ReleaseInstanceAsyncHandler; + typedef Outcome DescribeVulLevelOutcome; + typedef std::future DescribeVulLevelOutcomeCallable; + typedef std::function&)> DescribeVulLevelAsyncHandler; + typedef Outcome ModifyWebLockOperateEventsOutcome; + typedef std::future ModifyWebLockOperateEventsOutcomeCallable; + typedef std::function&)> ModifyWebLockOperateEventsAsyncHandler; + typedef Outcome DescribeWhiteListAuthorizeOutcome; + typedef std::future DescribeWhiteListAuthorizeOutcomeCallable; + typedef std::function&)> DescribeWhiteListAuthorizeAsyncHandler; + typedef Outcome DescribeAttackAnalysisDataOutcome; + typedef std::future DescribeAttackAnalysisDataOutcomeCallable; + typedef std::function&)> DescribeAttackAnalysisDataAsyncHandler; + typedef Outcome RenewInstanceOutcome; + typedef std::future RenewInstanceOutcomeCallable; + typedef std::function&)> RenewInstanceAsyncHandler; + typedef Outcome OperateResultOutcome; + typedef std::future OperateResultOutcomeCallable; + typedef std::function&)> OperateResultAsyncHandler; + typedef Outcome RollbackSuspEventQuaraFileOutcome; + typedef std::future RollbackSuspEventQuaraFileOutcomeCallable; + typedef std::function&)> RollbackSuspEventQuaraFileAsyncHandler; + typedef Outcome DescribeLogstoreStorageOutcome; + typedef std::future DescribeLogstoreStorageOutcomeCallable; + typedef std::function&)> DescribeLogstoreStorageAsyncHandler; + typedef Outcome DescribeRuleListOutcome; + typedef std::future DescribeRuleListOutcomeCallable; + typedef std::function&)> DescribeRuleListAsyncHandler; + typedef Outcome DeleteSearchConditionOutcome; + typedef std::future DeleteSearchConditionOutcomeCallable; + typedef std::function&)> DeleteSearchConditionAsyncHandler; + typedef Outcome DescribeAllRegionsStatisticsOutcome; + typedef std::future DescribeAllRegionsStatisticsOutcomeCallable; + typedef std::function&)> DescribeAllRegionsStatisticsAsyncHandler; + typedef Outcome DescribeCheckWarningSummaryOutcome; + typedef std::future DescribeCheckWarningSummaryOutcomeCallable; + typedef std::function&)> DescribeCheckWarningSummaryAsyncHandler; + typedef Outcome DescribeSlsProjectOutcome; + typedef std::future DescribeSlsProjectOutcomeCallable; + typedef std::function&)> DescribeSlsProjectAsyncHandler; + typedef Outcome DescribeWhiteListEffectiveAssetsOutcome; + typedef std::future DescribeWhiteListEffectiveAssetsOutcomeCallable; + typedef std::function&)> DescribeWhiteListEffectiveAssetsAsyncHandler; + typedef Outcome UpgradeInstanceOutcome; + typedef std::future UpgradeInstanceOutcomeCallable; + typedef std::function&)> UpgradeInstanceAsyncHandler; + typedef Outcome DescribeLogQueryOutcome; + typedef std::future DescribeLogQueryOutcomeCallable; + typedef std::function&)> DescribeLogQueryAsyncHandler; + typedef Outcome DescribeScreenSettingsOutcome; + typedef std::future DescribeScreenSettingsOutcomeCallable; + typedef std::function&)> DescribeScreenSettingsAsyncHandler; + typedef Outcome DescribeRisksOutcome; + typedef std::future DescribeRisksOutcomeCallable; + typedef std::function&)> DescribeRisksAsyncHandler; + typedef Outcome DescribeGroupStructOutcome; + typedef std::future DescribeGroupStructOutcomeCallable; + typedef std::function&)> DescribeGroupStructAsyncHandler; + typedef Outcome DescribeRiskWhiteListOutcome; + typedef std::future DescribeRiskWhiteListOutcomeCallable; + typedef std::function&)> DescribeRiskWhiteListAsyncHandler; + typedef Outcome ModifyAssetGroupOutcome; + typedef std::future ModifyAssetGroupOutcomeCallable; + typedef std::function&)> ModifyAssetGroupAsyncHandler; + typedef Outcome DescribeSasLeftConditionOutcome; + typedef std::future DescribeSasLeftConditionOutcomeCallable; + typedef std::function&)> DescribeSasLeftConditionAsyncHandler; + typedef Outcome DescribeSasAssetStatisticsColumnOutcome; + typedef std::future DescribeSasAssetStatisticsColumnOutcomeCallable; + typedef std::function&)> DescribeSasAssetStatisticsColumnAsyncHandler; + typedef Outcome CreateOrUpdateRuleOutcome; + typedef std::future CreateOrUpdateRuleOutcomeCallable; + typedef std::function&)> CreateOrUpdateRuleAsyncHandler; + typedef Outcome ModifyLogMetaStatusOutcome; + typedef std::future ModifyLogMetaStatusOutcomeCallable; + typedef std::function&)> ModifyLogMetaStatusAsyncHandler; + typedef Outcome DescribeYesterdayStatisticsOutcome; + typedef std::future DescribeYesterdayStatisticsOutcomeCallable; + typedef std::function&)> DescribeYesterdayStatisticsAsyncHandler; + typedef Outcome DescribeSuspiciousExportInfoOutcome; + typedef std::future DescribeSuspiciousExportInfoOutcomeCallable; + typedef std::function&)> DescribeSuspiciousExportInfoAsyncHandler; + typedef Outcome DeleteScreenSettingOutcome; + typedef std::future DeleteScreenSettingOutcomeCallable; + typedef std::function&)> DeleteScreenSettingAsyncHandler; + typedef Outcome DescribeAssetSummaryOutcome; + typedef std::future DescribeAssetSummaryOutcomeCallable; + typedef std::function&)> DescribeAssetSummaryAsyncHandler; + typedef Outcome DescribeAgentInstallStatusOutcome; + typedef std::future DescribeAgentInstallStatusOutcomeCallable; + typedef std::function&)> DescribeAgentInstallStatusAsyncHandler; + typedef Outcome GetEntityListOutcome; + typedef std::future GetEntityListOutcomeCallable; + typedef std::function&)> GetEntityListAsyncHandler; + typedef Outcome ExportVulOutcome; + typedef std::future ExportVulOutcomeCallable; + typedef std::function&)> ExportVulAsyncHandler; + typedef Outcome DescribeVulTargetStatisticsOutcome; + typedef std::future DescribeVulTargetStatisticsOutcomeCallable; + typedef std::function&)> DescribeVulTargetStatisticsAsyncHandler; + typedef Outcome DescribeSuspiciousEventsOutcome; + typedef std::future DescribeSuspiciousEventsOutcomeCallable; + typedef std::function&)> DescribeSuspiciousEventsAsyncHandler; + typedef Outcome CreateInstanceOutcome; + typedef std::future CreateInstanceOutcomeCallable; + typedef std::function&)> CreateInstanceAsyncHandler; + typedef Outcome DescribeMachineConfigOutcome; + typedef std::future DescribeMachineConfigOutcomeCallable; + typedef std::function&)> DescribeMachineConfigAsyncHandler; + typedef Outcome QueryLoginEventOutcome; + typedef std::future QueryLoginEventOutcomeCallable; + typedef std::function&)> QueryLoginEventAsyncHandler; + typedef Outcome TransformLeakageOutcome; + typedef std::future TransformLeakageOutcomeCallable; + typedef std::function&)> TransformLeakageAsyncHandler; + typedef Outcome DescribeAssetListOutcome; + typedef std::future DescribeAssetListOutcomeCallable; + typedef std::function&)> DescribeAssetListAsyncHandler; + typedef Outcome ModifyMachineConfigOutcome; + typedef std::future ModifyMachineConfigOutcomeCallable; + typedef std::function&)> ModifyMachineConfigAsyncHandler; + typedef Outcome DescribeVersionConfigOutcome; + typedef std::future DescribeVersionConfigOutcomeCallable; + typedef std::function&)> DescribeVersionConfigAsyncHandler; + typedef Outcome DescribeMacConfigOutcome; + typedef std::future DescribeMacConfigOutcomeCallable; + typedef std::function&)> DescribeMacConfigAsyncHandler; + typedef Outcome RollbackQuaraFileOutcome; + typedef std::future RollbackQuaraFileOutcomeCallable; + typedef std::function&)> RollbackQuaraFileAsyncHandler; + typedef Outcome DescribeApiBuySummaryOutcome; + typedef std::future DescribeApiBuySummaryOutcomeCallable; + typedef std::function&)> DescribeApiBuySummaryAsyncHandler; + typedef Outcome DescribeWebLockMachineListOutcome; + typedef std::future DescribeWebLockMachineListOutcomeCallable; + typedef std::function&)> DescribeWebLockMachineListAsyncHandler; + typedef Outcome DeleteVulBatchOutcome; + typedef std::future DeleteVulBatchOutcomeCallable; + typedef std::function&)> DeleteVulBatchAsyncHandler; + typedef Outcome ModifyWebLockStatusOutcome; + typedef std::future ModifyWebLockStatusOutcomeCallable; + typedef std::function&)> ModifyWebLockStatusAsyncHandler; + typedef Outcome UpdateWhiteListProcessStatusOutcome; + typedef std::future UpdateWhiteListProcessStatusOutcomeCallable; + typedef std::function&)> UpdateWhiteListProcessStatusAsyncHandler; + typedef Outcome DescribeScreenSettingOutcome; + typedef std::future DescribeScreenSettingOutcomeCallable; + typedef std::function&)> DescribeScreenSettingAsyncHandler; + typedef Outcome CreateLogQueryOutcome; + typedef std::future CreateLogQueryOutcomeCallable; + typedef std::function&)> CreateLogQueryAsyncHandler; + typedef Outcome DescribeWarningOutcome; + typedef std::future DescribeWarningOutcomeCallable; + typedef std::function&)> DescribeWarningAsyncHandler; + typedef Outcome DescribeWhiteListProcessOutcome; + typedef std::future DescribeWhiteListProcessOutcomeCallable; + typedef std::function&)> DescribeWhiteListProcessAsyncHandler; + typedef Outcome DescribeStrategyExecDetailOutcome; + typedef std::future DescribeStrategyExecDetailOutcomeCallable; + typedef std::function&)> DescribeStrategyExecDetailAsyncHandler; + typedef Outcome DescribeListAccessKeyIdAuthOutcome; + typedef std::future DescribeListAccessKeyIdAuthOutcomeCallable; + typedef std::function&)> DescribeListAccessKeyIdAuthAsyncHandler; + typedef Outcome DescribeTopRiskyAssetsOutcome; + typedef std::future DescribeTopRiskyAssetsOutcomeCallable; + typedef std::function&)> DescribeTopRiskyAssetsAsyncHandler; + typedef Outcome DescribeWebLockBindListOutcome; + typedef std::future DescribeWebLockBindListOutcomeCallable; + typedef std::function&)> DescribeWebLockBindListAsyncHandler; + typedef Outcome ModifyOpenLogShipperOutcome; + typedef std::future ModifyOpenLogShipperOutcomeCallable; + typedef std::function&)> ModifyOpenLogShipperAsyncHandler; + typedef Outcome UpdateWhiteListStrategyStatusOutcome; + typedef std::future UpdateWhiteListStrategyStatusOutcomeCallable; + typedef std::function&)> UpdateWhiteListStrategyStatusAsyncHandler; + typedef Outcome DeleteVulWhitelistOutcome; + typedef std::future DeleteVulWhitelistOutcomeCallable; + typedef std::function&)> DeleteVulWhitelistAsyncHandler; + typedef Outcome DescribeVulMachineListOutcome; + typedef std::future DescribeVulMachineListOutcomeCallable; + typedef std::function&)> DescribeVulMachineListAsyncHandler; + typedef Outcome DescribeAnalysisLogsOutcome; + typedef std::future DescribeAnalysisLogsOutcomeCallable; + typedef std::function&)> DescribeAnalysisLogsAsyncHandler; + typedef Outcome DescribeStratetyDetailOutcome; + typedef std::future DescribeStratetyDetailOutcomeCallable; + typedef std::function&)> DescribeStratetyDetailAsyncHandler; + typedef Outcome DescribeHistogramOutcome; + typedef std::future DescribeHistogramOutcomeCallable; + typedef std::function&)> DescribeHistogramAsyncHandler; + typedef Outcome DescribeDingTalkOutcome; + typedef std::future DescribeDingTalkOutcomeCallable; + typedef std::function&)> DescribeDingTalkAsyncHandler; + typedef Outcome DescribeLoginLogsOutcome; + typedef std::future DescribeLoginLogsOutcomeCallable; + typedef std::function&)> DescribeLoginLogsAsyncHandler; + typedef Outcome DescribeMetaDataOutcome; + typedef std::future DescribeMetaDataOutcomeCallable; + typedef std::function&)> DescribeMetaDataAsyncHandler; + typedef Outcome DescribeWebLockStatusOutcome; + typedef std::future DescribeWebLockStatusOutcomeCallable; + typedef std::function&)> DescribeWebLockStatusAsyncHandler; + typedef Outcome DescribeEmgVulGroupOutcome; + typedef std::future DescribeEmgVulGroupOutcomeCallable; + typedef std::function&)> DescribeEmgVulGroupAsyncHandler; + typedef Outcome DescribeNsasSuspEventTypeOutcome; + typedef std::future DescribeNsasSuspEventTypeOutcomeCallable; + typedef std::function&)> DescribeNsasSuspEventTypeAsyncHandler; + typedef Outcome ModifyScreenSettingOutcome; + typedef std::future ModifyScreenSettingOutcomeCallable; + typedef std::function&)> ModifyScreenSettingAsyncHandler; + typedef Outcome ModifyStrategyOutcome; + typedef std::future ModifyStrategyOutcomeCallable; + typedef std::function&)> ModifyStrategyAsyncHandler; + typedef Outcome DescribeEmgNoticeOutcome; + typedef std::future DescribeEmgNoticeOutcomeCallable; + typedef std::function&)> DescribeEmgNoticeAsyncHandler; + typedef Outcome DescribeScreenOperateInfoOutcome; + typedef std::future DescribeScreenOperateInfoOutcomeCallable; + typedef std::function&)> DescribeScreenOperateInfoAsyncHandler; + typedef Outcome DescribeJoinRuleListOutcome; + typedef std::future DescribeJoinRuleListOutcomeCallable; + typedef std::function&)> DescribeJoinRuleListAsyncHandler; + typedef Outcome DescribeSuspEventQuaraFilesOutcome; + typedef std::future DescribeSuspEventQuaraFilesOutcomeCallable; + typedef std::function&)> DescribeSuspEventQuaraFilesAsyncHandler; + typedef Outcome ValidateHcWarningsOutcome; + typedef std::future ValidateHcWarningsOutcomeCallable; + typedef std::function&)> ValidateHcWarningsAsyncHandler; + typedef Outcome CreateOrUpdateJoinRuleOutcome; + typedef std::future CreateOrUpdateJoinRuleOutcomeCallable; + typedef std::function&)> CreateOrUpdateJoinRuleAsyncHandler; + typedef Outcome AutoUpgradeSasOutcome; + typedef std::future AutoUpgradeSasOutcomeCallable; + typedef std::function&)> AutoUpgradeSasAsyncHandler; + typedef Outcome DescribeEmgUserAgreementOutcome; + typedef std::future DescribeEmgUserAgreementOutcomeCallable; + typedef std::function&)> DescribeEmgUserAgreementAsyncHandler; + typedef Outcome ModifyWebLockMachineListOutcome; + typedef std::future ModifyWebLockMachineListOutcomeCallable; + typedef std::function&)> ModifyWebLockMachineListAsyncHandler; + typedef Outcome ModifyEmgVulSubmitOutcome; + typedef std::future ModifyEmgVulSubmitOutcomeCallable; + typedef std::function&)> ModifyEmgVulSubmitAsyncHandler; + typedef Outcome DeleteLogQueryOutcome; + typedef std::future DeleteLogQueryOutcomeCallable; + typedef std::function&)> DeleteLogQueryAsyncHandler; + typedef Outcome ModifyTargetConfigOutcome; + typedef std::future ModifyTargetConfigOutcomeCallable; + typedef std::function&)> ModifyTargetConfigAsyncHandler; + typedef Outcome IgnoreHcCheckWarningsOutcome; + typedef std::future IgnoreHcCheckWarningsOutcomeCallable; + typedef std::function&)> IgnoreHcCheckWarningsAsyncHandler; + typedef Outcome DescribeExportInfoOutcome; + typedef std::future DescribeExportInfoOutcomeCallable; + typedef std::function&)> DescribeExportInfoAsyncHandler; + typedef Outcome DescribeSuspEventUserSettingOutcome; + typedef std::future DescribeSuspEventUserSettingOutcomeCallable; + typedef std::function&)> DescribeSuspEventUserSettingAsyncHandler; + typedef Outcome DescribeWhiteListStrategyCountOutcome; + typedef std::future DescribeWhiteListStrategyCountOutcomeCallable; + typedef std::function&)> DescribeWhiteListStrategyCountAsyncHandler; + typedef Outcome DescribeVulConfigOutcome; + typedef std::future DescribeVulConfigOutcomeCallable; + typedef std::function&)> DescribeVulConfigAsyncHandler; + typedef Outcome ModifyWebLockRefreshOutcome; + typedef std::future ModifyWebLockRefreshOutcomeCallable; + typedef std::function&)> ModifyWebLockRefreshAsyncHandler; + typedef Outcome DescribeEventCountCurveOutcome; + typedef std::future DescribeEventCountCurveOutcomeCallable; + typedef std::function&)> DescribeEventCountCurveAsyncHandler; + typedef Outcome DescribeWhiteListAssetOutcome; + typedef std::future DescribeWhiteListAssetOutcomeCallable; + typedef std::function&)> DescribeWhiteListAssetAsyncHandler; + typedef Outcome ModifyClearLogstoreStorageOutcome; + typedef std::future ModifyClearLogstoreStorageOutcomeCallable; + typedef std::function&)> ModifyClearLogstoreStorageAsyncHandler; + typedef Outcome ModifyStrategyTargetOutcome; + typedef std::future ModifyStrategyTargetOutcomeCallable; + typedef std::function&)> ModifyStrategyTargetAsyncHandler; + typedef Outcome DescribeCheckWarningsOutcome; + typedef std::future DescribeCheckWarningsOutcomeCallable; + typedef std::function&)> DescribeCheckWarningsAsyncHandler; + typedef Outcome DescribeSecurityStatInfoOutcome; + typedef std::future DescribeSecurityStatInfoOutcomeCallable; + typedef std::function&)> DescribeSecurityStatInfoAsyncHandler; + typedef Outcome SaveWhiteListStrategyOutcome; + typedef std::future SaveWhiteListStrategyOutcomeCallable; + typedef std::function&)> SaveWhiteListStrategyAsyncHandler; + typedef Outcome DescribeFilterFieldsOutcome; + typedef std::future DescribeFilterFieldsOutcomeCallable; + typedef std::function&)> DescribeFilterFieldsAsyncHandler; + typedef Outcome DescribeScreenSecurityStatInfoOutcome; + typedef std::future DescribeScreenSecurityStatInfoOutcomeCallable; + typedef std::function&)> DescribeScreenSecurityStatInfoAsyncHandler; + typedef Outcome OperateSuspiciousOverallConfigOutcome; + typedef std::future OperateSuspiciousOverallConfigOutcomeCallable; + typedef std::function&)> OperateSuspiciousOverallConfigAsyncHandler; + typedef Outcome DescribeInstanceStatisticsOutcome; + typedef std::future DescribeInstanceStatisticsOutcomeCallable; + typedef std::function&)> DescribeInstanceStatisticsAsyncHandler; AegisClient(const Credentials &credentials, const ClientConfiguration &configuration); AegisClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); AegisClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); ~AegisClient(); - GetEntityListOutcome getEntityList(const Model::GetEntityListRequest &request)const; - void getEntityListAsync(const Model::GetEntityListRequest& request, const GetEntityListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetEntityListOutcomeCallable getEntityListCallable(const Model::GetEntityListRequest& request) const; - GetStatisticsByUuidOutcome getStatisticsByUuid(const Model::GetStatisticsByUuidRequest &request)const; - void getStatisticsByUuidAsync(const Model::GetStatisticsByUuidRequest& request, const GetStatisticsByUuidAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetStatisticsByUuidOutcomeCallable getStatisticsByUuidCallable(const Model::GetStatisticsByUuidRequest& request) const; - GetStatisticsOutcome getStatistics(const Model::GetStatisticsRequest &request)const; - void getStatisticsAsync(const Model::GetStatisticsRequest& request, const GetStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetStatisticsOutcomeCallable getStatisticsCallable(const Model::GetStatisticsRequest& request) const; - DescribeVulDetailsOutcome describeVulDetails(const Model::DescribeVulDetailsRequest &request)const; - void describeVulDetailsAsync(const Model::DescribeVulDetailsRequest& request, const DescribeVulDetailsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeVulDetailsOutcomeCallable describeVulDetailsCallable(const Model::DescribeVulDetailsRequest& request) const; - DeleteStrategyOutcome deleteStrategy(const Model::DeleteStrategyRequest &request)const; - void deleteStrategyAsync(const Model::DeleteStrategyRequest& request, const DeleteStrategyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteStrategyOutcomeCallable deleteStrategyCallable(const Model::DeleteStrategyRequest& request) const; - GetCrackStatisticsOutcome getCrackStatistics(const Model::GetCrackStatisticsRequest &request)const; - void getCrackStatisticsAsync(const Model::GetCrackStatisticsRequest& request, const GetCrackStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetCrackStatisticsOutcomeCallable getCrackStatisticsCallable(const Model::GetCrackStatisticsRequest& request) const; - DescribeWarningOutcome describeWarning(const Model::DescribeWarningRequest &request)const; - void describeWarningAsync(const Model::DescribeWarningRequest& request, const DescribeWarningAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeWarningOutcomeCallable describeWarningCallable(const Model::DescribeWarningRequest& request) const; - ReleaseInstanceOutcome releaseInstance(const Model::ReleaseInstanceRequest &request)const; - void releaseInstanceAsync(const Model::ReleaseInstanceRequest& request, const ReleaseInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ReleaseInstanceOutcomeCallable releaseInstanceCallable(const Model::ReleaseInstanceRequest& request) const; - DescribeSuspiciousEventsOutcome describeSuspiciousEvents(const Model::DescribeSuspiciousEventsRequest &request)const; - void describeSuspiciousEventsAsync(const Model::DescribeSuspiciousEventsRequest& request, const DescribeSuspiciousEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeSuspiciousEventsOutcomeCallable describeSuspiciousEventsCallable(const Model::DescribeSuspiciousEventsRequest& request) const; - CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const; - void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const; - DescribeVulListOutcome describeVulList(const Model::DescribeVulListRequest &request)const; - void describeVulListAsync(const Model::DescribeVulListRequest& request, const DescribeVulListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeVulListOutcomeCallable describeVulListCallable(const Model::DescribeVulListRequest& request) const; - UpgradeInstanceOutcome upgradeInstance(const Model::UpgradeInstanceRequest &request)const; - void upgradeInstanceAsync(const Model::UpgradeInstanceRequest& request, const UpgradeInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpgradeInstanceOutcomeCallable upgradeInstanceCallable(const Model::UpgradeInstanceRequest& request) const; - RenewInstanceOutcome renewInstance(const Model::RenewInstanceRequest &request)const; - void renewInstanceAsync(const Model::RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RenewInstanceOutcomeCallable renewInstanceCallable(const Model::RenewInstanceRequest& request) const; - DescribeStrategyTargetOutcome describeStrategyTarget(const Model::DescribeStrategyTargetRequest &request)const; - void describeStrategyTargetAsync(const Model::DescribeStrategyTargetRequest& request, const DescribeStrategyTargetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeStrategyTargetOutcomeCallable describeStrategyTargetCallable(const Model::DescribeStrategyTargetRequest& request) const; - QueryLoginEventOutcome queryLoginEvent(const Model::QueryLoginEventRequest &request)const; - void queryLoginEventAsync(const Model::QueryLoginEventRequest& request, const QueryLoginEventAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryLoginEventOutcomeCallable queryLoginEventCallable(const Model::QueryLoginEventRequest& request) const; - GetAccountStatisticsOutcome getAccountStatistics(const Model::GetAccountStatisticsRequest &request)const; - void getAccountStatisticsAsync(const Model::GetAccountStatisticsRequest& request, const GetAccountStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetAccountStatisticsOutcomeCallable getAccountStatisticsCallable(const Model::GetAccountStatisticsRequest& request) const; - ModifyStrategyOutcome modifyStrategy(const Model::ModifyStrategyRequest &request)const; - void modifyStrategyAsync(const Model::ModifyStrategyRequest& request, const ModifyStrategyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyStrategyOutcomeCallable modifyStrategyCallable(const Model::ModifyStrategyRequest& request) const; - ModifyStrategyTargetOutcome modifyStrategyTarget(const Model::ModifyStrategyTargetRequest &request)const; - void modifyStrategyTargetAsync(const Model::ModifyStrategyTargetRequest& request, const ModifyStrategyTargetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyStrategyTargetOutcomeCallable modifyStrategyTargetCallable(const Model::ModifyStrategyTargetRequest& request) const; - ModifyBatchIgnoreVulOutcome modifyBatchIgnoreVul(const Model::ModifyBatchIgnoreVulRequest &request)const; - void modifyBatchIgnoreVulAsync(const Model::ModifyBatchIgnoreVulRequest& request, const ModifyBatchIgnoreVulAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyBatchIgnoreVulOutcomeCallable modifyBatchIgnoreVulCallable(const Model::ModifyBatchIgnoreVulRequest& request) const; - DescribeWebshellOutcome describeWebshell(const Model::DescribeWebshellRequest &request)const; - void describeWebshellAsync(const Model::DescribeWebshellRequest& request, const DescribeWebshellAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeWebshellOutcomeCallable describeWebshellCallable(const Model::DescribeWebshellRequest& request) const; - DescribeStratetyDetailOutcome describeStratetyDetail(const Model::DescribeStratetyDetailRequest &request)const; - void describeStratetyDetailAsync(const Model::DescribeStratetyDetailRequest& request, const DescribeStratetyDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeStratetyDetailOutcomeCallable describeStratetyDetailCallable(const Model::DescribeStratetyDetailRequest& request) const; - DescribeStratetyOutcome describeStratety(const Model::DescribeStratetyRequest &request)const; - void describeStratetyAsync(const Model::DescribeStratetyRequest& request, const DescribeStratetyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeStratetyOutcomeCallable describeStratetyCallable(const Model::DescribeStratetyRequest& request) const; - DescribeLoginLogsOutcome describeLoginLogs(const Model::DescribeLoginLogsRequest &request)const; - void describeLoginLogsAsync(const Model::DescribeLoginLogsRequest& request, const DescribeLoginLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLoginLogsOutcomeCallable describeLoginLogsCallable(const Model::DescribeLoginLogsRequest& request) const; - QueryCrackEventOutcome queryCrackEvent(const Model::QueryCrackEventRequest &request)const; - void queryCrackEventAsync(const Model::QueryCrackEventRequest& request, const QueryCrackEventAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryCrackEventOutcomeCallable queryCrackEventCallable(const Model::QueryCrackEventRequest& request) const; + DescribeAnalysisShipperStatusOutcome describeAnalysisShipperStatus(const Model::DescribeAnalysisShipperStatusRequest &request)const; + void describeAnalysisShipperStatusAsync(const Model::DescribeAnalysisShipperStatusRequest& request, const DescribeAnalysisShipperStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAnalysisShipperStatusOutcomeCallable describeAnalysisShipperStatusCallable(const Model::DescribeAnalysisShipperStatusRequest& request) const; + DescribeCanUpgradeSasOutcome describeCanUpgradeSas(const Model::DescribeCanUpgradeSasRequest &request)const; + void describeCanUpgradeSasAsync(const Model::DescribeCanUpgradeSasRequest& request, const DescribeCanUpgradeSasAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCanUpgradeSasOutcomeCallable describeCanUpgradeSasCallable(const Model::DescribeCanUpgradeSasRequest& request) const; + DescribeTraceInfoNodeOutcome describeTraceInfoNode(const Model::DescribeTraceInfoNodeRequest &request)const; + void describeTraceInfoNodeAsync(const Model::DescribeTraceInfoNodeRequest& request, const DescribeTraceInfoNodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTraceInfoNodeOutcomeCallable describeTraceInfoNodeCallable(const Model::DescribeTraceInfoNodeRequest& request) const; + DescribeScreenAttackAnalysisDataOutcome describeScreenAttackAnalysisData(const Model::DescribeScreenAttackAnalysisDataRequest &request)const; + void describeScreenAttackAnalysisDataAsync(const Model::DescribeScreenAttackAnalysisDataRequest& request, const DescribeScreenAttackAnalysisDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeScreenAttackAnalysisDataOutcomeCallable describeScreenAttackAnalysisDataCallable(const Model::DescribeScreenAttackAnalysisDataRequest& request) const; + DescribeAutoDelConfigOutcome describeAutoDelConfig(const Model::DescribeAutoDelConfigRequest &request)const; + void describeAutoDelConfigAsync(const Model::DescribeAutoDelConfigRequest& request, const DescribeAutoDelConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAutoDelConfigOutcomeCallable describeAutoDelConfigCallable(const Model::DescribeAutoDelConfigRequest& request) const; + DescribeVulListOutcome describeVulList(const Model::DescribeVulListRequest &request)const; + void describeVulListAsync(const Model::DescribeVulListRequest& request, const DescribeVulListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVulListOutcomeCallable describeVulListCallable(const Model::DescribeVulListRequest& request) const; + ModifyWebLockUpdateConfigOutcome modifyWebLockUpdateConfig(const Model::ModifyWebLockUpdateConfigRequest &request)const; + void modifyWebLockUpdateConfigAsync(const Model::ModifyWebLockUpdateConfigRequest& request, const ModifyWebLockUpdateConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyWebLockUpdateConfigOutcomeCallable modifyWebLockUpdateConfigCallable(const Model::ModifyWebLockUpdateConfigRequest& request) const; + DescribeVulnerabilitySummaryOutcome describeVulnerabilitySummary(const Model::DescribeVulnerabilitySummaryRequest &request)const; + void describeVulnerabilitySummaryAsync(const Model::DescribeVulnerabilitySummaryRequest& request, const DescribeVulnerabilitySummaryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVulnerabilitySummaryOutcomeCallable describeVulnerabilitySummaryCallable(const Model::DescribeVulnerabilitySummaryRequest& request) const; + SetDatasourceStatusOutcome setDatasourceStatus(const Model::SetDatasourceStatusRequest &request)const; + void setDatasourceStatusAsync(const Model::SetDatasourceStatusRequest& request, const SetDatasourceStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDatasourceStatusOutcomeCallable setDatasourceStatusCallable(const Model::SetDatasourceStatusRequest& request) const; + OperateSuspiciousEventOutcome operateSuspiciousEvent(const Model::OperateSuspiciousEventRequest &request)const; + void operateSuspiciousEventAsync(const Model::OperateSuspiciousEventRequest& request, const OperateSuspiciousEventAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + OperateSuspiciousEventOutcomeCallable operateSuspiciousEventCallable(const Model::OperateSuspiciousEventRequest& request) const; + OperateSuspiciousTargetConfigOutcome operateSuspiciousTargetConfig(const Model::OperateSuspiciousTargetConfigRequest &request)const; + void operateSuspiciousTargetConfigAsync(const Model::OperateSuspiciousTargetConfigRequest& request, const OperateSuspiciousTargetConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + OperateSuspiciousTargetConfigOutcomeCallable operateSuspiciousTargetConfigCallable(const Model::OperateSuspiciousTargetConfigRequest& request) const; + DescribeAnalysisHistogramsOutcome describeAnalysisHistograms(const Model::DescribeAnalysisHistogramsRequest &request)const; + void describeAnalysisHistogramsAsync(const Model::DescribeAnalysisHistogramsRequest& request, const DescribeAnalysisHistogramsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAnalysisHistogramsOutcomeCallable describeAnalysisHistogramsCallable(const Model::DescribeAnalysisHistogramsRequest& request) const; + ExportWarningOutcome exportWarning(const Model::ExportWarningRequest &request)const; + void exportWarningAsync(const Model::ExportWarningRequest& request, const ExportWarningAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ExportWarningOutcomeCallable exportWarningCallable(const Model::ExportWarningRequest& request) const; + DescribeEcsStsStatusOutcome describeEcsStsStatus(const Model::DescribeEcsStsStatusRequest &request)const; + void describeEcsStsStatusAsync(const Model::DescribeEcsStsStatusRequest& request, const DescribeEcsStsStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEcsStsStatusOutcomeCallable describeEcsStsStatusCallable(const Model::DescribeEcsStsStatusRequest& request) const; + UpdateWhiteListStrategyRelationOutcome updateWhiteListStrategyRelation(const Model::UpdateWhiteListStrategyRelationRequest &request)const; + void updateWhiteListStrategyRelationAsync(const Model::UpdateWhiteListStrategyRelationRequest& request, const UpdateWhiteListStrategyRelationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateWhiteListStrategyRelationOutcomeCallable updateWhiteListStrategyRelationCallable(const Model::UpdateWhiteListStrategyRelationRequest& request) const; + DeleteStrategyOutcome deleteStrategy(const Model::DeleteStrategyRequest &request)const; + void deleteStrategyAsync(const Model::DeleteStrategyRequest& request, const DeleteStrategyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteStrategyOutcomeCallable deleteStrategyCallable(const Model::DeleteStrategyRequest& request) const; + DescribeOperateInfoOutcome describeOperateInfo(const Model::DescribeOperateInfoRequest &request)const; + void describeOperateInfoAsync(const Model::DescribeOperateInfoRequest& request, const DescribeOperateInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOperateInfoOutcomeCallable describeOperateInfoCallable(const Model::DescribeOperateInfoRequest& request) const; + OpenSasTrialOutcome openSasTrial(const Model::OpenSasTrialRequest &request)const; + void openSasTrialAsync(const Model::OpenSasTrialRequest& request, const OpenSasTrialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + OpenSasTrialOutcomeCallable openSasTrialCallable(const Model::OpenSasTrialRequest& request) const; + ModifyVulLevelOutcome modifyVulLevel(const Model::ModifyVulLevelRequest &request)const; + void modifyVulLevelAsync(const Model::ModifyVulLevelRequest& request, const ModifyVulLevelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyVulLevelOutcomeCallable modifyVulLevelCallable(const Model::ModifyVulLevelRequest& request) const; + ModifyVulTargetOutcome modifyVulTarget(const Model::ModifyVulTargetRequest &request)const; + void modifyVulTargetAsync(const Model::ModifyVulTargetRequest& request, const ModifyVulTargetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyVulTargetOutcomeCallable modifyVulTargetCallable(const Model::ModifyVulTargetRequest& request) const; + ModifyBatchIgnoreVulOutcome modifyBatchIgnoreVul(const Model::ModifyBatchIgnoreVulRequest &request)const; + void modifyBatchIgnoreVulAsync(const Model::ModifyBatchIgnoreVulRequest& request, const ModifyBatchIgnoreVulAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyBatchIgnoreVulOutcomeCallable modifyBatchIgnoreVulCallable(const Model::ModifyBatchIgnoreVulRequest& request) const; + DescribeSummaryInfoOutcome describeSummaryInfo(const Model::DescribeSummaryInfoRequest &request)const; + void describeSummaryInfoAsync(const Model::DescribeSummaryInfoRequest& request, const DescribeSummaryInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSummaryInfoOutcomeCallable describeSummaryInfoCallable(const Model::DescribeSummaryInfoRequest& request) const; + DescribeStrategyProcessOutcome describeStrategyProcess(const Model::DescribeStrategyProcessRequest &request)const; + void describeStrategyProcessAsync(const Model::DescribeStrategyProcessRequest& request, const DescribeStrategyProcessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeStrategyProcessOutcomeCallable describeStrategyProcessCallable(const Model::DescribeStrategyProcessRequest& request) const; + DescribeSuspTrendStatisticsOutcome describeSuspTrendStatistics(const Model::DescribeSuspTrendStatisticsRequest &request)const; + void describeSuspTrendStatisticsAsync(const Model::DescribeSuspTrendStatisticsRequest& request, const DescribeSuspTrendStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSuspTrendStatisticsOutcomeCallable describeSuspTrendStatisticsCallable(const Model::DescribeSuspTrendStatisticsRequest& request) const; + DescribeDataSourceOutcome describeDataSource(const Model::DescribeDataSourceRequest &request)const; + void describeDataSourceAsync(const Model::DescribeDataSourceRequest& request, const DescribeDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDataSourceOutcomeCallable describeDataSourceCallable(const Model::DescribeDataSourceRequest& request) const; + DescribeResultListOutcome describeResultList(const Model::DescribeResultListRequest &request)const; + void describeResultListAsync(const Model::DescribeResultListRequest& request, const DescribeResultListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeResultListOutcomeCallable describeResultListCallable(const Model::DescribeResultListRequest& request) const; + DownloadLogOutcome downloadLog(const Model::DownloadLogRequest &request)const; + void downloadLogAsync(const Model::DownloadLogRequest& request, const DownloadLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DownloadLogOutcomeCallable downloadLogCallable(const Model::DownloadLogRequest& request) const; + DescribeTargetConfigOutcome describeTargetConfig(const Model::DescribeTargetConfigRequest &request)const; + void describeTargetConfigAsync(const Model::DescribeTargetConfigRequest& request, const DescribeTargetConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTargetConfigOutcomeCallable describeTargetConfigCallable(const Model::DescribeTargetConfigRequest& request) const; + DescribeVulNumStatisticsOutcome describeVulNumStatistics(const Model::DescribeVulNumStatisticsRequest &request)const; + void describeVulNumStatisticsAsync(const Model::DescribeVulNumStatisticsRequest& request, const DescribeVulNumStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVulNumStatisticsOutcomeCallable describeVulNumStatisticsCallable(const Model::DescribeVulNumStatisticsRequest& request) const; + DescribeLogInfoOutcome describeLogInfo(const Model::DescribeLogInfoRequest &request)const; + void describeLogInfoAsync(const Model::DescribeLogInfoRequest& request, const DescribeLogInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLogInfoOutcomeCallable describeLogInfoCallable(const Model::DescribeLogInfoRequest& request) const; + GetAccountStatisticsOutcome getAccountStatistics(const Model::GetAccountStatisticsRequest &request)const; + void getAccountStatisticsAsync(const Model::GetAccountStatisticsRequest& request, const GetAccountStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetAccountStatisticsOutcomeCallable getAccountStatisticsCallable(const Model::GetAccountStatisticsRequest& request) const; + DescribeUuidConfigOutcome describeUuidConfig(const Model::DescribeUuidConfigRequest &request)const; + void describeUuidConfigAsync(const Model::DescribeUuidConfigRequest& request, const DescribeUuidConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUuidConfigOutcomeCallable describeUuidConfigCallable(const Model::DescribeUuidConfigRequest& request) const; + DescribeScreenHostStatisticsOutcome describeScreenHostStatistics(const Model::DescribeScreenHostStatisticsRequest &request)const; + void describeScreenHostStatisticsAsync(const Model::DescribeScreenHostStatisticsRequest& request, const DescribeScreenHostStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeScreenHostStatisticsOutcomeCallable describeScreenHostStatisticsCallable(const Model::DescribeScreenHostStatisticsRequest& request) const; + DeleteDingTalkOutcome deleteDingTalk(const Model::DeleteDingTalkRequest &request)const; + void deleteDingTalkAsync(const Model::DeleteDingTalkRequest& request, const DeleteDingTalkAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDingTalkOutcomeCallable deleteDingTalkCallable(const Model::DeleteDingTalkRequest& request) const; + DescribeSuspEventTypesOutcome describeSuspEventTypes(const Model::DescribeSuspEventTypesRequest &request)const; + void describeSuspEventTypesAsync(const Model::DescribeSuspEventTypesRequest& request, const DescribeSuspEventTypesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSuspEventTypesOutcomeCallable describeSuspEventTypesCallable(const Model::DescribeSuspEventTypesRequest& request) const; + BatchDeleteWhiteListOutcome batchDeleteWhiteList(const Model::BatchDeleteWhiteListRequest &request)const; + void batchDeleteWhiteListAsync(const Model::BatchDeleteWhiteListRequest& request, const BatchDeleteWhiteListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchDeleteWhiteListOutcomeCallable batchDeleteWhiteListCallable(const Model::BatchDeleteWhiteListRequest& request) const; + DeleteJoinRuleOutcome deleteJoinRule(const Model::DeleteJoinRuleRequest &request)const; + void deleteJoinRuleAsync(const Model::DeleteJoinRuleRequest& request, const DeleteJoinRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteJoinRuleOutcomeCallable deleteJoinRuleCallable(const Model::DeleteJoinRuleRequest& request) const; + ModifySasAssetStatisticsColumnOutcome modifySasAssetStatisticsColumn(const Model::ModifySasAssetStatisticsColumnRequest &request)const; + void modifySasAssetStatisticsColumnAsync(const Model::ModifySasAssetStatisticsColumnRequest& request, const ModifySasAssetStatisticsColumnAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifySasAssetStatisticsColumnOutcomeCallable modifySasAssetStatisticsColumnCallable(const Model::ModifySasAssetStatisticsColumnRequest& request) const; + DescribeTraceInfoNodeListOutcome describeTraceInfoNodeList(const Model::DescribeTraceInfoNodeListRequest &request)const; + void describeTraceInfoNodeListAsync(const Model::DescribeTraceInfoNodeListRequest& request, const DescribeTraceInfoNodeListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTraceInfoNodeListOutcomeCallable describeTraceInfoNodeListCallable(const Model::DescribeTraceInfoNodeListRequest& request) const; + DescribeAnalysisSlsIndexOutcome describeAnalysisSlsIndex(const Model::DescribeAnalysisSlsIndexRequest &request)const; + void describeAnalysisSlsIndexAsync(const Model::DescribeAnalysisSlsIndexRequest& request, const DescribeAnalysisSlsIndexAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAnalysisSlsIndexOutcomeCallable describeAnalysisSlsIndexCallable(const Model::DescribeAnalysisSlsIndexRequest& request) const; + ModifyWebLockCreateConfigOutcome modifyWebLockCreateConfig(const Model::ModifyWebLockCreateConfigRequest &request)const; + void modifyWebLockCreateConfigAsync(const Model::ModifyWebLockCreateConfigRequest& request, const ModifyWebLockCreateConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyWebLockCreateConfigOutcomeCallable modifyWebLockCreateConfigCallable(const Model::ModifyWebLockCreateConfigRequest& request) const; + DeleteRuleGroupOutcome deleteRuleGroup(const Model::DeleteRuleGroupRequest &request)const; + void deleteRuleGroupAsync(const Model::DeleteRuleGroupRequest& request, const DeleteRuleGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteRuleGroupOutcomeCallable deleteRuleGroupCallable(const Model::DeleteRuleGroupRequest& request) const; + DescribeStatisticsOutcome describeStatistics(const Model::DescribeStatisticsRequest &request)const; + void describeStatisticsAsync(const Model::DescribeStatisticsRequest& request, const DescribeStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeStatisticsOutcomeCallable describeStatisticsCallable(const Model::DescribeStatisticsRequest& request) const; + DescribeAlarmEventDetailOutcome describeAlarmEventDetail(const Model::DescribeAlarmEventDetailRequest &request)const; + void describeAlarmEventDetailAsync(const Model::DescribeAlarmEventDetailRequest& request, const DescribeAlarmEventDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAlarmEventDetailOutcomeCallable describeAlarmEventDetailCallable(const Model::DescribeAlarmEventDetailRequest& request) const; + CreateSuspiciousExportOutcome createSuspiciousExport(const Model::CreateSuspiciousExportRequest &request)const; + void createSuspiciousExportAsync(const Model::CreateSuspiciousExportRequest& request, const CreateSuspiciousExportAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateSuspiciousExportOutcomeCallable createSuspiciousExportCallable(const Model::CreateSuspiciousExportRequest& request) const; + OperateVulOutcome operateVul(const Model::OperateVulRequest &request)const; + void operateVulAsync(const Model::OperateVulRequest& request, const OperateVulAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + OperateVulOutcomeCallable operateVulCallable(const Model::OperateVulRequest& request) const; + GetCrackStatisticsOutcome getCrackStatistics(const Model::GetCrackStatisticsRequest &request)const; + void getCrackStatisticsAsync(const Model::GetCrackStatisticsRequest& request, const GetCrackStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetCrackStatisticsOutcomeCallable getCrackStatisticsCallable(const Model::GetCrackStatisticsRequest& request) const; + DescribeConcernNecessityOutcome describeConcernNecessity(const Model::DescribeConcernNecessityRequest &request)const; + void describeConcernNecessityAsync(const Model::DescribeConcernNecessityRequest& request, const DescribeConcernNecessityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeConcernNecessityOutcomeCallable describeConcernNecessityCallable(const Model::DescribeConcernNecessityRequest& request) const; + OperateAgentClientInstallOutcome operateAgentClientInstall(const Model::OperateAgentClientInstallRequest &request)const; + void operateAgentClientInstallAsync(const Model::OperateAgentClientInstallRequest& request, const OperateAgentClientInstallAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + OperateAgentClientInstallOutcomeCallable operateAgentClientInstallCallable(const Model::OperateAgentClientInstallRequest& request) const; + DescribeScreenScoreThreadOutcome describeScreenScoreThread(const Model::DescribeScreenScoreThreadRequest &request)const; + void describeScreenScoreThreadAsync(const Model::DescribeScreenScoreThreadRequest& request, const DescribeScreenScoreThreadAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeScreenScoreThreadOutcomeCallable describeScreenScoreThreadCallable(const Model::DescribeScreenScoreThreadRequest& request) const; + DescribeBuySummaryOutcome describeBuySummary(const Model::DescribeBuySummaryRequest &request)const; + void describeBuySummaryAsync(const Model::DescribeBuySummaryRequest& request, const DescribeBuySummaryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBuySummaryOutcomeCallable describeBuySummaryCallable(const Model::DescribeBuySummaryRequest& request) const; + DescribeStrategyTargetOutcome describeStrategyTarget(const Model::DescribeStrategyTargetRequest &request)const; + void describeStrategyTargetAsync(const Model::DescribeStrategyTargetRequest& request, const DescribeStrategyTargetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeStrategyTargetOutcomeCallable describeStrategyTargetCallable(const Model::DescribeStrategyTargetRequest& request) const; + DescribeSuspiciousUUIDConfigOutcome describeSuspiciousUUIDConfig(const Model::DescribeSuspiciousUUIDConfigRequest &request)const; + void describeSuspiciousUUIDConfigAsync(const Model::DescribeSuspiciousUUIDConfigRequest& request, const DescribeSuspiciousUUIDConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSuspiciousUUIDConfigOutcomeCallable describeSuspiciousUUIDConfigCallable(const Model::DescribeSuspiciousUUIDConfigRequest& request) const; + DescribeTopicListOutcome describeTopicList(const Model::DescribeTopicListRequest &request)const; + void describeTopicListAsync(const Model::DescribeTopicListRequest& request, const DescribeTopicListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTopicListOutcomeCallable describeTopicListCallable(const Model::DescribeTopicListRequest& request) const; + DescribeAssetDetailByUuidOutcome describeAssetDetailByUuid(const Model::DescribeAssetDetailByUuidRequest &request)const; + void describeAssetDetailByUuidAsync(const Model::DescribeAssetDetailByUuidRequest& request, const DescribeAssetDetailByUuidAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAssetDetailByUuidOutcomeCallable describeAssetDetailByUuidCallable(const Model::DescribeAssetDetailByUuidRequest& request) const; + DescribeScreenVersionConfigOutcome describeScreenVersionConfig(const Model::DescribeScreenVersionConfigRequest &request)const; + void describeScreenVersionConfigAsync(const Model::DescribeScreenVersionConfigRequest& request, const DescribeScreenVersionConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeScreenVersionConfigOutcomeCallable describeScreenVersionConfigCallable(const Model::DescribeScreenVersionConfigRequest& request) const; + DescribeVulExportInfoOutcome describeVulExportInfo(const Model::DescribeVulExportInfoRequest &request)const; + void describeVulExportInfoAsync(const Model::DescribeVulExportInfoRequest& request, const DescribeVulExportInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVulExportInfoOutcomeCallable describeVulExportInfoCallable(const Model::DescribeVulExportInfoRequest& request) const; + DeleteRuleOutcome deleteRule(const Model::DeleteRuleRequest &request)const; + void deleteRuleAsync(const Model::DeleteRuleRequest& request, const DeleteRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteRuleOutcomeCallable deleteRuleCallable(const Model::DeleteRuleRequest& request) const; + DescribeSuspEventDetailOutcome describeSuspEventDetail(const Model::DescribeSuspEventDetailRequest &request)const; + void describeSuspEventDetailAsync(const Model::DescribeSuspEventDetailRequest& request, const DescribeSuspEventDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSuspEventDetailOutcomeCallable describeSuspEventDetailCallable(const Model::DescribeSuspEventDetailRequest& request) const; + DescribeEventLevelCountOutcome describeEventLevelCount(const Model::DescribeEventLevelCountRequest &request)const; + void describeEventLevelCountAsync(const Model::DescribeEventLevelCountRequest& request, const DescribeEventLevelCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEventLevelCountOutcomeCallable describeEventLevelCountCallable(const Model::DescribeEventLevelCountRequest& request) const; + QueryCrackEventOutcome queryCrackEvent(const Model::QueryCrackEventRequest &request)const; + void queryCrackEventAsync(const Model::QueryCrackEventRequest& request, const QueryCrackEventAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryCrackEventOutcomeCallable queryCrackEventCallable(const Model::QueryCrackEventRequest& request) const; + CreateOrUpdateGroupOutcome createOrUpdateGroup(const Model::CreateOrUpdateGroupRequest &request)const; + void createOrUpdateGroupAsync(const Model::CreateOrUpdateGroupRequest& request, const CreateOrUpdateGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateOrUpdateGroupOutcomeCallable createOrUpdateGroupCallable(const Model::CreateOrUpdateGroupRequest& request) const; + SaveSuspEventUserSettingOutcome saveSuspEventUserSetting(const Model::SaveSuspEventUserSettingRequest &request)const; + void saveSuspEventUserSettingAsync(const Model::SaveSuspEventUserSettingRequest& request, const SaveSuspEventUserSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SaveSuspEventUserSettingOutcomeCallable saveSuspEventUserSettingCallable(const Model::SaveSuspEventUserSettingRequest& request) const; + DescribeSearchConditionOutcome describeSearchCondition(const Model::DescribeSearchConditionRequest &request)const; + void describeSearchConditionAsync(const Model::DescribeSearchConditionRequest& request, const DescribeSearchConditionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSearchConditionOutcomeCallable describeSearchConditionCallable(const Model::DescribeSearchConditionRequest& request) const; + ModifySaveVulBatchOutcome modifySaveVulBatch(const Model::ModifySaveVulBatchRequest &request)const; + void modifySaveVulBatchAsync(const Model::ModifySaveVulBatchRequest& request, const ModifySaveVulBatchAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifySaveVulBatchOutcomeCallable modifySaveVulBatchCallable(const Model::ModifySaveVulBatchRequest& request) const; + DescribeVulDetailsOutcome describeVulDetails(const Model::DescribeVulDetailsRequest &request)const; + void describeVulDetailsAsync(const Model::DescribeVulDetailsRequest& request, const DescribeVulDetailsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVulDetailsOutcomeCallable describeVulDetailsCallable(const Model::DescribeVulDetailsRequest& request) const; + DescribeLogItemsOutcome describeLogItems(const Model::DescribeLogItemsRequest &request)const; + void describeLogItemsAsync(const Model::DescribeLogItemsRequest& request, const DescribeLogItemsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLogItemsOutcomeCallable describeLogItemsCallable(const Model::DescribeLogItemsRequest& request) const; + DescribeWebLockEventsOutcome describeWebLockEvents(const Model::DescribeWebLockEventsRequest &request)const; + void describeWebLockEventsAsync(const Model::DescribeWebLockEventsRequest& request, const DescribeWebLockEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWebLockEventsOutcomeCallable describeWebLockEventsCallable(const Model::DescribeWebLockEventsRequest& request) const; + ExecStrategyOutcome execStrategy(const Model::ExecStrategyRequest &request)const; + void execStrategyAsync(const Model::ExecStrategyRequest& request, const ExecStrategyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ExecStrategyOutcomeCallable execStrategyCallable(const Model::ExecStrategyRequest& request) const; + DescribeSuspEventExportInfoOutcome describeSuspEventExportInfo(const Model::DescribeSuspEventExportInfoRequest &request)const; + void describeSuspEventExportInfoAsync(const Model::DescribeSuspEventExportInfoRequest& request, const DescribeSuspEventExportInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSuspEventExportInfoOutcomeCallable describeSuspEventExportInfoCallable(const Model::DescribeSuspEventExportInfoRequest& request) const; + OperationSuspEventsOutcome operationSuspEvents(const Model::OperationSuspEventsRequest &request)const; + void operationSuspEventsAsync(const Model::OperationSuspEventsRequest& request, const OperationSuspEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + OperationSuspEventsOutcomeCallable operationSuspEventsCallable(const Model::OperationSuspEventsRequest& request) const; + DescribeSasAssetStatisticsOutcome describeSasAssetStatistics(const Model::DescribeSasAssetStatisticsRequest &request)const; + void describeSasAssetStatisticsAsync(const Model::DescribeSasAssetStatisticsRequest& request, const DescribeSasAssetStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSasAssetStatisticsOutcomeCallable describeSasAssetStatisticsCallable(const Model::DescribeSasAssetStatisticsRequest& request) const; + DescribeDefenceThreadOutcome describeDefenceThread(const Model::DescribeDefenceThreadRequest &request)const; + void describeDefenceThreadAsync(const Model::DescribeDefenceThreadRequest& request, const DescribeDefenceThreadAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDefenceThreadOutcomeCallable describeDefenceThreadCallable(const Model::DescribeDefenceThreadRequest& request) const; + CreateVulWhitelistOutcome createVulWhitelist(const Model::CreateVulWhitelistRequest &request)const; + void createVulWhitelistAsync(const Model::CreateVulWhitelistRequest& request, const CreateVulWhitelistAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateVulWhitelistOutcomeCallable createVulWhitelistCallable(const Model::CreateVulWhitelistRequest& request) const; + ModifyConcernNecessityOutcome modifyConcernNecessity(const Model::ModifyConcernNecessityRequest &request)const; + void modifyConcernNecessityAsync(const Model::ModifyConcernNecessityRequest& request, const ModifyConcernNecessityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyConcernNecessityOutcomeCallable modifyConcernNecessityCallable(const Model::ModifyConcernNecessityRequest& request) const; + GetStatisticsByUuidOutcome getStatisticsByUuid(const Model::GetStatisticsByUuidRequest &request)const; + void getStatisticsByUuidAsync(const Model::GetStatisticsByUuidRequest& request, const GetStatisticsByUuidAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetStatisticsByUuidOutcomeCallable getStatisticsByUuidCallable(const Model::GetStatisticsByUuidRequest& request) const; + ModifyVulConfigOutcome modifyVulConfig(const Model::ModifyVulConfigRequest &request)const; + void modifyVulConfigAsync(const Model::ModifyVulConfigRequest& request, const ModifyVulConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyVulConfigOutcomeCallable modifyVulConfigCallable(const Model::ModifyVulConfigRequest& request) const; + GetStatisticsOutcome getStatistics(const Model::GetStatisticsRequest &request)const; + void getStatisticsAsync(const Model::GetStatisticsRequest& request, const GetStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetStatisticsOutcomeCallable getStatisticsCallable(const Model::GetStatisticsRequest& request) const; + DescribesummaryOutcome describesummary(const Model::DescribesummaryRequest &request)const; + void describesummaryAsync(const Model::DescribesummaryRequest& request, const DescribesummaryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribesummaryOutcomeCallable describesummaryCallable(const Model::DescribesummaryRequest& request) const; + DescribeSuspEventsOutcome describeSuspEvents(const Model::DescribeSuspEventsRequest &request)const; + void describeSuspEventsAsync(const Model::DescribeSuspEventsRequest& request, const DescribeSuspEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSuspEventsOutcomeCallable describeSuspEventsCallable(const Model::DescribeSuspEventsRequest& request) const; + CreateOrUpdateDataSourceOutcome createOrUpdateDataSource(const Model::CreateOrUpdateDataSourceRequest &request)const; + void createOrUpdateDataSourceAsync(const Model::CreateOrUpdateDataSourceRequest& request, const CreateOrUpdateDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateOrUpdateDataSourceOutcomeCallable createOrUpdateDataSourceCallable(const Model::CreateOrUpdateDataSourceRequest& request) const; + DescribeVulWhitelistOutcome describeVulWhitelist(const Model::DescribeVulWhitelistRequest &request)const; + void describeVulWhitelistAsync(const Model::DescribeVulWhitelistRequest& request, const DescribeVulWhitelistAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVulWhitelistOutcomeCallable describeVulWhitelistCallable(const Model::DescribeVulWhitelistRequest& request) const; + DescribeRiskTypeOutcome describeRiskType(const Model::DescribeRiskTypeRequest &request)const; + void describeRiskTypeAsync(const Model::DescribeRiskTypeRequest& request, const DescribeRiskTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRiskTypeOutcomeCallable describeRiskTypeCallable(const Model::DescribeRiskTypeRequest& request) const; + DescribeVulLevelStatisticsOutcome describeVulLevelStatistics(const Model::DescribeVulLevelStatisticsRequest &request)const; + void describeVulLevelStatisticsAsync(const Model::DescribeVulLevelStatisticsRequest& request, const DescribeVulLevelStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVulLevelStatisticsOutcomeCallable describeVulLevelStatisticsCallable(const Model::DescribeVulLevelStatisticsRequest& request) const; + DescribeWhiteListStrategyListOutcome describeWhiteListStrategyList(const Model::DescribeWhiteListStrategyListRequest &request)const; + void describeWhiteListStrategyListAsync(const Model::DescribeWhiteListStrategyListRequest& request, const DescribeWhiteListStrategyListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWhiteListStrategyListOutcomeCallable describeWhiteListStrategyListCallable(const Model::DescribeWhiteListStrategyListRequest& request) const; + DescribeTraceInfoDetailOutcome describeTraceInfoDetail(const Model::DescribeTraceInfoDetailRequest &request)const; + void describeTraceInfoDetailAsync(const Model::DescribeTraceInfoDetailRequest& request, const DescribeTraceInfoDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTraceInfoDetailOutcomeCallable describeTraceInfoDetailCallable(const Model::DescribeTraceInfoDetailRequest& request) const; + DescribeGroupListOutcome describeGroupList(const Model::DescribeGroupListRequest &request)const; + void describeGroupListAsync(const Model::DescribeGroupListRequest& request, const DescribeGroupListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGroupListOutcomeCallable describeGroupListCallable(const Model::DescribeGroupListRequest& request) const; + DescribeCanTrySasOutcome describeCanTrySas(const Model::DescribeCanTrySasRequest &request)const; + void describeCanTrySasAsync(const Model::DescribeCanTrySasRequest& request, const DescribeCanTrySasAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCanTrySasOutcomeCallable describeCanTrySasCallable(const Model::DescribeCanTrySasRequest& request) const; + DescribeTargetOutcome describeTarget(const Model::DescribeTargetRequest &request)const; + void describeTargetAsync(const Model::DescribeTargetRequest& request, const DescribeTargetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTargetOutcomeCallable describeTargetCallable(const Model::DescribeTargetRequest& request) const; + DescribeWebshellOutcome describeWebshell(const Model::DescribeWebshellRequest &request)const; + void describeWebshellAsync(const Model::DescribeWebshellRequest& request, const DescribeWebshellAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWebshellOutcomeCallable describeWebshellCallable(const Model::DescribeWebshellRequest& request) const; + DescribeCheckWarningDetailOutcome describeCheckWarningDetail(const Model::DescribeCheckWarningDetailRequest &request)const; + void describeCheckWarningDetailAsync(const Model::DescribeCheckWarningDetailRequest& request, const DescribeCheckWarningDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCheckWarningDetailOutcomeCallable describeCheckWarningDetailCallable(const Model::DescribeCheckWarningDetailRequest& request) const; + SaveWhiteListStrategyAssetsOutcome saveWhiteListStrategyAssets(const Model::SaveWhiteListStrategyAssetsRequest &request)const; + void saveWhiteListStrategyAssetsAsync(const Model::SaveWhiteListStrategyAssetsRequest& request, const SaveWhiteListStrategyAssetsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SaveWhiteListStrategyAssetsOutcomeCallable saveWhiteListStrategyAssetsCallable(const Model::SaveWhiteListStrategyAssetsRequest& request) const; + CreateOrUpdateDingTalkOutcome createOrUpdateDingTalk(const Model::CreateOrUpdateDingTalkRequest &request)const; + void createOrUpdateDingTalkAsync(const Model::CreateOrUpdateDingTalkRequest& request, const CreateOrUpdateDingTalkAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateOrUpdateDingTalkOutcomeCallable createOrUpdateDingTalkCallable(const Model::CreateOrUpdateDingTalkRequest& request) const; + DescribeWarningMachinesOutcome describeWarningMachines(const Model::DescribeWarningMachinesRequest &request)const; + void describeWarningMachinesAsync(const Model::DescribeWarningMachinesRequest& request, const DescribeWarningMachinesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWarningMachinesOutcomeCallable describeWarningMachinesCallable(const Model::DescribeWarningMachinesRequest& request) const; + ModifySearchConditionOutcome modifySearchCondition(const Model::ModifySearchConditionRequest &request)const; + void modifySearchConditionAsync(const Model::ModifySearchConditionRequest& request, const ModifySearchConditionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifySearchConditionOutcomeCallable modifySearchConditionCallable(const Model::ModifySearchConditionRequest& request) const; + DescribeWhiteListStrategyUuidCountOutcome describeWhiteListStrategyUuidCount(const Model::DescribeWhiteListStrategyUuidCountRequest &request)const; + void describeWhiteListStrategyUuidCountAsync(const Model::DescribeWhiteListStrategyUuidCountRequest& request, const DescribeWhiteListStrategyUuidCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWhiteListStrategyUuidCountOutcomeCallable describeWhiteListStrategyUuidCountCallable(const Model::DescribeWhiteListStrategyUuidCountRequest& request) const; + DescribeGroupedVulOutcome describeGroupedVul(const Model::DescribeGroupedVulRequest &request)const; + void describeGroupedVulAsync(const Model::DescribeGroupedVulRequest& request, const DescribeGroupedVulAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGroupedVulOutcomeCallable describeGroupedVulCallable(const Model::DescribeGroupedVulRequest& request) const; + ModifyWebLockDeleteConfigOutcome modifyWebLockDeleteConfig(const Model::ModifyWebLockDeleteConfigRequest &request)const; + void modifyWebLockDeleteConfigAsync(const Model::ModifyWebLockDeleteConfigRequest& request, const ModifyWebLockDeleteConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyWebLockDeleteConfigOutcomeCallable modifyWebLockDeleteConfigCallable(const Model::ModifyWebLockDeleteConfigRequest& request) const; + CreateUserWhiteListOutcome createUserWhiteList(const Model::CreateUserWhiteListRequest &request)const; + void createUserWhiteListAsync(const Model::CreateUserWhiteListRequest& request, const CreateUserWhiteListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateUserWhiteListOutcomeCallable createUserWhiteListCallable(const Model::CreateUserWhiteListRequest& request) const; + DescribeSecureSuggestionOutcome describeSecureSuggestion(const Model::DescribeSecureSuggestionRequest &request)const; + void describeSecureSuggestionAsync(const Model::DescribeSecureSuggestionRequest& request, const DescribeSecureSuggestionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSecureSuggestionOutcomeCallable describeSecureSuggestionCallable(const Model::DescribeSecureSuggestionRequest& request) const; + DescribeSuspiciousOverallConfigOutcome describeSuspiciousOverallConfig(const Model::DescribeSuspiciousOverallConfigRequest &request)const; + void describeSuspiciousOverallConfigAsync(const Model::DescribeSuspiciousOverallConfigRequest& request, const DescribeSuspiciousOverallConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSuspiciousOverallConfigOutcomeCallable describeSuspiciousOverallConfigCallable(const Model::DescribeSuspiciousOverallConfigRequest& request) const; + DescribeAnalysisCurveOutcome describeAnalysisCurve(const Model::DescribeAnalysisCurveRequest &request)const; + void describeAnalysisCurveAsync(const Model::DescribeAnalysisCurveRequest& request, const DescribeAnalysisCurveAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAnalysisCurveOutcomeCallable describeAnalysisCurveCallable(const Model::DescribeAnalysisCurveRequest& request) const; + DescribeScreenAlarmEventListOutcome describeScreenAlarmEventList(const Model::DescribeScreenAlarmEventListRequest &request)const; + void describeScreenAlarmEventListAsync(const Model::DescribeScreenAlarmEventListRequest& request, const DescribeScreenAlarmEventListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeScreenAlarmEventListOutcomeCallable describeScreenAlarmEventListCallable(const Model::DescribeScreenAlarmEventListRequest& request) const; + CreatScreenSettingOutcome creatScreenSetting(const Model::CreatScreenSettingRequest &request)const; + void creatScreenSettingAsync(const Model::CreatScreenSettingRequest& request, const CreatScreenSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreatScreenSettingOutcomeCallable creatScreenSettingCallable(const Model::CreatScreenSettingRequest& request) const; + DescribeAlarmEventListOutcome describeAlarmEventList(const Model::DescribeAlarmEventListRequest &request)const; + void describeAlarmEventListAsync(const Model::DescribeAlarmEventListRequest& request, const DescribeAlarmEventListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAlarmEventListOutcomeCallable describeAlarmEventListCallable(const Model::DescribeAlarmEventListRequest& request) const; + CanTrySasOutcome canTrySas(const Model::CanTrySasRequest &request)const; + void canTrySasAsync(const Model::CanTrySasRequest& request, const CanTrySasAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CanTrySasOutcomeCallable canTrySasCallable(const Model::CanTrySasRequest& request) const; + DescribeScreenSummaryInfoOutcome describeScreenSummaryInfo(const Model::DescribeScreenSummaryInfoRequest &request)const; + void describeScreenSummaryInfoAsync(const Model::DescribeScreenSummaryInfoRequest& request, const DescribeScreenSummaryInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeScreenSummaryInfoOutcomeCallable describeScreenSummaryInfoCallable(const Model::DescribeScreenSummaryInfoRequest& request) const; + OperateWarningOutcome operateWarning(const Model::OperateWarningRequest &request)const; + void operateWarningAsync(const Model::OperateWarningRequest& request, const OperateWarningAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + OperateWarningOutcomeCallable operateWarningCallable(const Model::OperateWarningRequest& request) const; + ExecuteRuleEngineActualTimeOutcome executeRuleEngineActualTime(const Model::ExecuteRuleEngineActualTimeRequest &request)const; + void executeRuleEngineActualTimeAsync(const Model::ExecuteRuleEngineActualTimeRequest& request, const ExecuteRuleEngineActualTimeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ExecuteRuleEngineActualTimeOutcomeCallable executeRuleEngineActualTimeCallable(const Model::ExecuteRuleEngineActualTimeRequest& request) const; + CreateUserSettingOutcome createUserSetting(const Model::CreateUserSettingRequest &request)const; + void createUserSettingAsync(const Model::CreateUserSettingRequest& request, const CreateUserSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateUserSettingOutcomeCallable createUserSettingCallable(const Model::CreateUserSettingRequest& request) const; + ExportSuspEventsOutcome exportSuspEvents(const Model::ExportSuspEventsRequest &request)const; + void exportSuspEventsAsync(const Model::ExportSuspEventsRequest& request, const ExportSuspEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ExportSuspEventsOutcomeCallable exportSuspEventsCallable(const Model::ExportSuspEventsRequest& request) const; + DescribeLogShipperStatusOutcome describeLogShipperStatus(const Model::DescribeLogShipperStatusRequest &request)const; + void describeLogShipperStatusAsync(const Model::DescribeLogShipperStatusRequest& request, const DescribeLogShipperStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLogShipperStatusOutcomeCallable describeLogShipperStatusCallable(const Model::DescribeLogShipperStatusRequest& request) const; + DescribeLogMetaOutcome describeLogMeta(const Model::DescribeLogMetaRequest &request)const; + void describeLogMetaAsync(const Model::DescribeLogMetaRequest& request, const DescribeLogMetaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLogMetaOutcomeCallable describeLogMetaCallable(const Model::DescribeLogMetaRequest& request) const; + DescribeQuaraFileOutcome describeQuaraFile(const Model::DescribeQuaraFileRequest &request)const; + void describeQuaraFileAsync(const Model::DescribeQuaraFileRequest& request, const DescribeQuaraFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeQuaraFileOutcomeCallable describeQuaraFileCallable(const Model::DescribeQuaraFileRequest& request) const; + DescribeTotalStatisticsOutcome describeTotalStatistics(const Model::DescribeTotalStatisticsRequest &request)const; + void describeTotalStatisticsAsync(const Model::DescribeTotalStatisticsRequest& request, const DescribeTotalStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTotalStatisticsOutcomeCallable describeTotalStatisticsCallable(const Model::DescribeTotalStatisticsRequest& request) const; + DescribeWhiteListStrategyStatisticsOutcome describeWhiteListStrategyStatistics(const Model::DescribeWhiteListStrategyStatisticsRequest &request)const; + void describeWhiteListStrategyStatisticsAsync(const Model::DescribeWhiteListStrategyStatisticsRequest& request, const DescribeWhiteListStrategyStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWhiteListStrategyStatisticsOutcomeCallable describeWhiteListStrategyStatisticsCallable(const Model::DescribeWhiteListStrategyStatisticsRequest& request) const; + AutoUpgradeToSasAdvancedVersionOutcome autoUpgradeToSasAdvancedVersion(const Model::AutoUpgradeToSasAdvancedVersionRequest &request)const; + void autoUpgradeToSasAdvancedVersionAsync(const Model::AutoUpgradeToSasAdvancedVersionRequest& request, const AutoUpgradeToSasAdvancedVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AutoUpgradeToSasAdvancedVersionOutcomeCallable autoUpgradeToSasAdvancedVersionCallable(const Model::AutoUpgradeToSasAdvancedVersionRequest& request) const; + DescribeStratetyOutcome describeStratety(const Model::DescribeStratetyRequest &request)const; + void describeStratetyAsync(const Model::DescribeStratetyRequest& request, const DescribeStratetyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeStratetyOutcomeCallable describeStratetyCallable(const Model::DescribeStratetyRequest& request) const; + DescribeAnalysisStatisticsOutcome describeAnalysisStatistics(const Model::DescribeAnalysisStatisticsRequest &request)const; + void describeAnalysisStatisticsAsync(const Model::DescribeAnalysisStatisticsRequest& request, const DescribeAnalysisStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAnalysisStatisticsOutcomeCallable describeAnalysisStatisticsCallable(const Model::DescribeAnalysisStatisticsRequest& request) const; + DescribeWebLockConfigListOutcome describeWebLockConfigList(const Model::DescribeWebLockConfigListRequest &request)const; + void describeWebLockConfigListAsync(const Model::DescribeWebLockConfigListRequest& request, const DescribeWebLockConfigListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWebLockConfigListOutcomeCallable describeWebLockConfigListCallable(const Model::DescribeWebLockConfigListRequest& request) const; + ModifyAutoDelConfigOutcome modifyAutoDelConfig(const Model::ModifyAutoDelConfigRequest &request)const; + void modifyAutoDelConfigAsync(const Model::ModifyAutoDelConfigRequest& request, const ModifyAutoDelConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyAutoDelConfigOutcomeCallable modifyAutoDelConfigCallable(const Model::ModifyAutoDelConfigRequest& request) const; + DescribeUserSettingOutcome describeUserSetting(const Model::DescribeUserSettingRequest &request)const; + void describeUserSettingAsync(const Model::DescribeUserSettingRequest& request, const DescribeUserSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUserSettingOutcomeCallable describeUserSettingCallable(const Model::DescribeUserSettingRequest& request) const; + DescribeVulBatchOutcome describeVulBatch(const Model::DescribeVulBatchRequest &request)const; + void describeVulBatchAsync(const Model::DescribeVulBatchRequest& request, const DescribeVulBatchAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVulBatchOutcomeCallable describeVulBatchCallable(const Model::DescribeVulBatchRequest& request) const; + ReleaseInstanceOutcome releaseInstance(const Model::ReleaseInstanceRequest &request)const; + void releaseInstanceAsync(const Model::ReleaseInstanceRequest& request, const ReleaseInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ReleaseInstanceOutcomeCallable releaseInstanceCallable(const Model::ReleaseInstanceRequest& request) const; + DescribeVulLevelOutcome describeVulLevel(const Model::DescribeVulLevelRequest &request)const; + void describeVulLevelAsync(const Model::DescribeVulLevelRequest& request, const DescribeVulLevelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVulLevelOutcomeCallable describeVulLevelCallable(const Model::DescribeVulLevelRequest& request) const; + ModifyWebLockOperateEventsOutcome modifyWebLockOperateEvents(const Model::ModifyWebLockOperateEventsRequest &request)const; + void modifyWebLockOperateEventsAsync(const Model::ModifyWebLockOperateEventsRequest& request, const ModifyWebLockOperateEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyWebLockOperateEventsOutcomeCallable modifyWebLockOperateEventsCallable(const Model::ModifyWebLockOperateEventsRequest& request) const; + DescribeWhiteListAuthorizeOutcome describeWhiteListAuthorize(const Model::DescribeWhiteListAuthorizeRequest &request)const; + void describeWhiteListAuthorizeAsync(const Model::DescribeWhiteListAuthorizeRequest& request, const DescribeWhiteListAuthorizeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWhiteListAuthorizeOutcomeCallable describeWhiteListAuthorizeCallable(const Model::DescribeWhiteListAuthorizeRequest& request) const; + DescribeAttackAnalysisDataOutcome describeAttackAnalysisData(const Model::DescribeAttackAnalysisDataRequest &request)const; + void describeAttackAnalysisDataAsync(const Model::DescribeAttackAnalysisDataRequest& request, const DescribeAttackAnalysisDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAttackAnalysisDataOutcomeCallable describeAttackAnalysisDataCallable(const Model::DescribeAttackAnalysisDataRequest& request) const; + RenewInstanceOutcome renewInstance(const Model::RenewInstanceRequest &request)const; + void renewInstanceAsync(const Model::RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RenewInstanceOutcomeCallable renewInstanceCallable(const Model::RenewInstanceRequest& request) const; + OperateResultOutcome operateResult(const Model::OperateResultRequest &request)const; + void operateResultAsync(const Model::OperateResultRequest& request, const OperateResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + OperateResultOutcomeCallable operateResultCallable(const Model::OperateResultRequest& request) const; + RollbackSuspEventQuaraFileOutcome rollbackSuspEventQuaraFile(const Model::RollbackSuspEventQuaraFileRequest &request)const; + void rollbackSuspEventQuaraFileAsync(const Model::RollbackSuspEventQuaraFileRequest& request, const RollbackSuspEventQuaraFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RollbackSuspEventQuaraFileOutcomeCallable rollbackSuspEventQuaraFileCallable(const Model::RollbackSuspEventQuaraFileRequest& request) const; + DescribeLogstoreStorageOutcome describeLogstoreStorage(const Model::DescribeLogstoreStorageRequest &request)const; + void describeLogstoreStorageAsync(const Model::DescribeLogstoreStorageRequest& request, const DescribeLogstoreStorageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLogstoreStorageOutcomeCallable describeLogstoreStorageCallable(const Model::DescribeLogstoreStorageRequest& request) const; + DescribeRuleListOutcome describeRuleList(const Model::DescribeRuleListRequest &request)const; + void describeRuleListAsync(const Model::DescribeRuleListRequest& request, const DescribeRuleListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRuleListOutcomeCallable describeRuleListCallable(const Model::DescribeRuleListRequest& request) const; + DeleteSearchConditionOutcome deleteSearchCondition(const Model::DeleteSearchConditionRequest &request)const; + void deleteSearchConditionAsync(const Model::DeleteSearchConditionRequest& request, const DeleteSearchConditionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteSearchConditionOutcomeCallable deleteSearchConditionCallable(const Model::DeleteSearchConditionRequest& request) const; + DescribeAllRegionsStatisticsOutcome describeAllRegionsStatistics(const Model::DescribeAllRegionsStatisticsRequest &request)const; + void describeAllRegionsStatisticsAsync(const Model::DescribeAllRegionsStatisticsRequest& request, const DescribeAllRegionsStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAllRegionsStatisticsOutcomeCallable describeAllRegionsStatisticsCallable(const Model::DescribeAllRegionsStatisticsRequest& request) const; + DescribeCheckWarningSummaryOutcome describeCheckWarningSummary(const Model::DescribeCheckWarningSummaryRequest &request)const; + void describeCheckWarningSummaryAsync(const Model::DescribeCheckWarningSummaryRequest& request, const DescribeCheckWarningSummaryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCheckWarningSummaryOutcomeCallable describeCheckWarningSummaryCallable(const Model::DescribeCheckWarningSummaryRequest& request) const; + DescribeSlsProjectOutcome describeSlsProject(const Model::DescribeSlsProjectRequest &request)const; + void describeSlsProjectAsync(const Model::DescribeSlsProjectRequest& request, const DescribeSlsProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSlsProjectOutcomeCallable describeSlsProjectCallable(const Model::DescribeSlsProjectRequest& request) const; + DescribeWhiteListEffectiveAssetsOutcome describeWhiteListEffectiveAssets(const Model::DescribeWhiteListEffectiveAssetsRequest &request)const; + void describeWhiteListEffectiveAssetsAsync(const Model::DescribeWhiteListEffectiveAssetsRequest& request, const DescribeWhiteListEffectiveAssetsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWhiteListEffectiveAssetsOutcomeCallable describeWhiteListEffectiveAssetsCallable(const Model::DescribeWhiteListEffectiveAssetsRequest& request) const; + UpgradeInstanceOutcome upgradeInstance(const Model::UpgradeInstanceRequest &request)const; + void upgradeInstanceAsync(const Model::UpgradeInstanceRequest& request, const UpgradeInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpgradeInstanceOutcomeCallable upgradeInstanceCallable(const Model::UpgradeInstanceRequest& request) const; + DescribeLogQueryOutcome describeLogQuery(const Model::DescribeLogQueryRequest &request)const; + void describeLogQueryAsync(const Model::DescribeLogQueryRequest& request, const DescribeLogQueryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLogQueryOutcomeCallable describeLogQueryCallable(const Model::DescribeLogQueryRequest& request) const; + DescribeScreenSettingsOutcome describeScreenSettings(const Model::DescribeScreenSettingsRequest &request)const; + void describeScreenSettingsAsync(const Model::DescribeScreenSettingsRequest& request, const DescribeScreenSettingsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeScreenSettingsOutcomeCallable describeScreenSettingsCallable(const Model::DescribeScreenSettingsRequest& request) const; + DescribeRisksOutcome describeRisks(const Model::DescribeRisksRequest &request)const; + void describeRisksAsync(const Model::DescribeRisksRequest& request, const DescribeRisksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRisksOutcomeCallable describeRisksCallable(const Model::DescribeRisksRequest& request) const; + DescribeGroupStructOutcome describeGroupStruct(const Model::DescribeGroupStructRequest &request)const; + void describeGroupStructAsync(const Model::DescribeGroupStructRequest& request, const DescribeGroupStructAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGroupStructOutcomeCallable describeGroupStructCallable(const Model::DescribeGroupStructRequest& request) const; + DescribeRiskWhiteListOutcome describeRiskWhiteList(const Model::DescribeRiskWhiteListRequest &request)const; + void describeRiskWhiteListAsync(const Model::DescribeRiskWhiteListRequest& request, const DescribeRiskWhiteListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRiskWhiteListOutcomeCallable describeRiskWhiteListCallable(const Model::DescribeRiskWhiteListRequest& request) const; + ModifyAssetGroupOutcome modifyAssetGroup(const Model::ModifyAssetGroupRequest &request)const; + void modifyAssetGroupAsync(const Model::ModifyAssetGroupRequest& request, const ModifyAssetGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyAssetGroupOutcomeCallable modifyAssetGroupCallable(const Model::ModifyAssetGroupRequest& request) const; + DescribeSasLeftConditionOutcome describeSasLeftCondition(const Model::DescribeSasLeftConditionRequest &request)const; + void describeSasLeftConditionAsync(const Model::DescribeSasLeftConditionRequest& request, const DescribeSasLeftConditionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSasLeftConditionOutcomeCallable describeSasLeftConditionCallable(const Model::DescribeSasLeftConditionRequest& request) const; + DescribeSasAssetStatisticsColumnOutcome describeSasAssetStatisticsColumn(const Model::DescribeSasAssetStatisticsColumnRequest &request)const; + void describeSasAssetStatisticsColumnAsync(const Model::DescribeSasAssetStatisticsColumnRequest& request, const DescribeSasAssetStatisticsColumnAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSasAssetStatisticsColumnOutcomeCallable describeSasAssetStatisticsColumnCallable(const Model::DescribeSasAssetStatisticsColumnRequest& request) const; + CreateOrUpdateRuleOutcome createOrUpdateRule(const Model::CreateOrUpdateRuleRequest &request)const; + void createOrUpdateRuleAsync(const Model::CreateOrUpdateRuleRequest& request, const CreateOrUpdateRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateOrUpdateRuleOutcomeCallable createOrUpdateRuleCallable(const Model::CreateOrUpdateRuleRequest& request) const; + ModifyLogMetaStatusOutcome modifyLogMetaStatus(const Model::ModifyLogMetaStatusRequest &request)const; + void modifyLogMetaStatusAsync(const Model::ModifyLogMetaStatusRequest& request, const ModifyLogMetaStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyLogMetaStatusOutcomeCallable modifyLogMetaStatusCallable(const Model::ModifyLogMetaStatusRequest& request) const; + DescribeYesterdayStatisticsOutcome describeYesterdayStatistics(const Model::DescribeYesterdayStatisticsRequest &request)const; + void describeYesterdayStatisticsAsync(const Model::DescribeYesterdayStatisticsRequest& request, const DescribeYesterdayStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeYesterdayStatisticsOutcomeCallable describeYesterdayStatisticsCallable(const Model::DescribeYesterdayStatisticsRequest& request) const; + DescribeSuspiciousExportInfoOutcome describeSuspiciousExportInfo(const Model::DescribeSuspiciousExportInfoRequest &request)const; + void describeSuspiciousExportInfoAsync(const Model::DescribeSuspiciousExportInfoRequest& request, const DescribeSuspiciousExportInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSuspiciousExportInfoOutcomeCallable describeSuspiciousExportInfoCallable(const Model::DescribeSuspiciousExportInfoRequest& request) const; + DeleteScreenSettingOutcome deleteScreenSetting(const Model::DeleteScreenSettingRequest &request)const; + void deleteScreenSettingAsync(const Model::DeleteScreenSettingRequest& request, const DeleteScreenSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteScreenSettingOutcomeCallable deleteScreenSettingCallable(const Model::DeleteScreenSettingRequest& request) const; + DescribeAssetSummaryOutcome describeAssetSummary(const Model::DescribeAssetSummaryRequest &request)const; + void describeAssetSummaryAsync(const Model::DescribeAssetSummaryRequest& request, const DescribeAssetSummaryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAssetSummaryOutcomeCallable describeAssetSummaryCallable(const Model::DescribeAssetSummaryRequest& request) const; + DescribeAgentInstallStatusOutcome describeAgentInstallStatus(const Model::DescribeAgentInstallStatusRequest &request)const; + void describeAgentInstallStatusAsync(const Model::DescribeAgentInstallStatusRequest& request, const DescribeAgentInstallStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAgentInstallStatusOutcomeCallable describeAgentInstallStatusCallable(const Model::DescribeAgentInstallStatusRequest& request) const; + GetEntityListOutcome getEntityList(const Model::GetEntityListRequest &request)const; + void getEntityListAsync(const Model::GetEntityListRequest& request, const GetEntityListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetEntityListOutcomeCallable getEntityListCallable(const Model::GetEntityListRequest& request) const; + ExportVulOutcome exportVul(const Model::ExportVulRequest &request)const; + void exportVulAsync(const Model::ExportVulRequest& request, const ExportVulAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ExportVulOutcomeCallable exportVulCallable(const Model::ExportVulRequest& request) const; + DescribeVulTargetStatisticsOutcome describeVulTargetStatistics(const Model::DescribeVulTargetStatisticsRequest &request)const; + void describeVulTargetStatisticsAsync(const Model::DescribeVulTargetStatisticsRequest& request, const DescribeVulTargetStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVulTargetStatisticsOutcomeCallable describeVulTargetStatisticsCallable(const Model::DescribeVulTargetStatisticsRequest& request) const; + DescribeSuspiciousEventsOutcome describeSuspiciousEvents(const Model::DescribeSuspiciousEventsRequest &request)const; + void describeSuspiciousEventsAsync(const Model::DescribeSuspiciousEventsRequest& request, const DescribeSuspiciousEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSuspiciousEventsOutcomeCallable describeSuspiciousEventsCallable(const Model::DescribeSuspiciousEventsRequest& request) const; + CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const; + void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const; + DescribeMachineConfigOutcome describeMachineConfig(const Model::DescribeMachineConfigRequest &request)const; + void describeMachineConfigAsync(const Model::DescribeMachineConfigRequest& request, const DescribeMachineConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeMachineConfigOutcomeCallable describeMachineConfigCallable(const Model::DescribeMachineConfigRequest& request) const; + QueryLoginEventOutcome queryLoginEvent(const Model::QueryLoginEventRequest &request)const; + void queryLoginEventAsync(const Model::QueryLoginEventRequest& request, const QueryLoginEventAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryLoginEventOutcomeCallable queryLoginEventCallable(const Model::QueryLoginEventRequest& request) const; + TransformLeakageOutcome transformLeakage(const Model::TransformLeakageRequest &request)const; + void transformLeakageAsync(const Model::TransformLeakageRequest& request, const TransformLeakageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + TransformLeakageOutcomeCallable transformLeakageCallable(const Model::TransformLeakageRequest& request) const; + DescribeAssetListOutcome describeAssetList(const Model::DescribeAssetListRequest &request)const; + void describeAssetListAsync(const Model::DescribeAssetListRequest& request, const DescribeAssetListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAssetListOutcomeCallable describeAssetListCallable(const Model::DescribeAssetListRequest& request) const; + ModifyMachineConfigOutcome modifyMachineConfig(const Model::ModifyMachineConfigRequest &request)const; + void modifyMachineConfigAsync(const Model::ModifyMachineConfigRequest& request, const ModifyMachineConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyMachineConfigOutcomeCallable modifyMachineConfigCallable(const Model::ModifyMachineConfigRequest& request) const; + DescribeVersionConfigOutcome describeVersionConfig(const Model::DescribeVersionConfigRequest &request)const; + void describeVersionConfigAsync(const Model::DescribeVersionConfigRequest& request, const DescribeVersionConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVersionConfigOutcomeCallable describeVersionConfigCallable(const Model::DescribeVersionConfigRequest& request) const; + DescribeMacConfigOutcome describeMacConfig(const Model::DescribeMacConfigRequest &request)const; + void describeMacConfigAsync(const Model::DescribeMacConfigRequest& request, const DescribeMacConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeMacConfigOutcomeCallable describeMacConfigCallable(const Model::DescribeMacConfigRequest& request) const; + RollbackQuaraFileOutcome rollbackQuaraFile(const Model::RollbackQuaraFileRequest &request)const; + void rollbackQuaraFileAsync(const Model::RollbackQuaraFileRequest& request, const RollbackQuaraFileAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RollbackQuaraFileOutcomeCallable rollbackQuaraFileCallable(const Model::RollbackQuaraFileRequest& request) const; + DescribeApiBuySummaryOutcome describeApiBuySummary(const Model::DescribeApiBuySummaryRequest &request)const; + void describeApiBuySummaryAsync(const Model::DescribeApiBuySummaryRequest& request, const DescribeApiBuySummaryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeApiBuySummaryOutcomeCallable describeApiBuySummaryCallable(const Model::DescribeApiBuySummaryRequest& request) const; + DescribeWebLockMachineListOutcome describeWebLockMachineList(const Model::DescribeWebLockMachineListRequest &request)const; + void describeWebLockMachineListAsync(const Model::DescribeWebLockMachineListRequest& request, const DescribeWebLockMachineListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWebLockMachineListOutcomeCallable describeWebLockMachineListCallable(const Model::DescribeWebLockMachineListRequest& request) const; + DeleteVulBatchOutcome deleteVulBatch(const Model::DeleteVulBatchRequest &request)const; + void deleteVulBatchAsync(const Model::DeleteVulBatchRequest& request, const DeleteVulBatchAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteVulBatchOutcomeCallable deleteVulBatchCallable(const Model::DeleteVulBatchRequest& request) const; + ModifyWebLockStatusOutcome modifyWebLockStatus(const Model::ModifyWebLockStatusRequest &request)const; + void modifyWebLockStatusAsync(const Model::ModifyWebLockStatusRequest& request, const ModifyWebLockStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyWebLockStatusOutcomeCallable modifyWebLockStatusCallable(const Model::ModifyWebLockStatusRequest& request) const; + UpdateWhiteListProcessStatusOutcome updateWhiteListProcessStatus(const Model::UpdateWhiteListProcessStatusRequest &request)const; + void updateWhiteListProcessStatusAsync(const Model::UpdateWhiteListProcessStatusRequest& request, const UpdateWhiteListProcessStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateWhiteListProcessStatusOutcomeCallable updateWhiteListProcessStatusCallable(const Model::UpdateWhiteListProcessStatusRequest& request) const; + DescribeScreenSettingOutcome describeScreenSetting(const Model::DescribeScreenSettingRequest &request)const; + void describeScreenSettingAsync(const Model::DescribeScreenSettingRequest& request, const DescribeScreenSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeScreenSettingOutcomeCallable describeScreenSettingCallable(const Model::DescribeScreenSettingRequest& request) const; + CreateLogQueryOutcome createLogQuery(const Model::CreateLogQueryRequest &request)const; + void createLogQueryAsync(const Model::CreateLogQueryRequest& request, const CreateLogQueryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateLogQueryOutcomeCallable createLogQueryCallable(const Model::CreateLogQueryRequest& request) const; + DescribeWarningOutcome describeWarning(const Model::DescribeWarningRequest &request)const; + void describeWarningAsync(const Model::DescribeWarningRequest& request, const DescribeWarningAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWarningOutcomeCallable describeWarningCallable(const Model::DescribeWarningRequest& request) const; + DescribeWhiteListProcessOutcome describeWhiteListProcess(const Model::DescribeWhiteListProcessRequest &request)const; + void describeWhiteListProcessAsync(const Model::DescribeWhiteListProcessRequest& request, const DescribeWhiteListProcessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWhiteListProcessOutcomeCallable describeWhiteListProcessCallable(const Model::DescribeWhiteListProcessRequest& request) const; + DescribeStrategyExecDetailOutcome describeStrategyExecDetail(const Model::DescribeStrategyExecDetailRequest &request)const; + void describeStrategyExecDetailAsync(const Model::DescribeStrategyExecDetailRequest& request, const DescribeStrategyExecDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeStrategyExecDetailOutcomeCallable describeStrategyExecDetailCallable(const Model::DescribeStrategyExecDetailRequest& request) const; + DescribeListAccessKeyIdAuthOutcome describeListAccessKeyIdAuth(const Model::DescribeListAccessKeyIdAuthRequest &request)const; + void describeListAccessKeyIdAuthAsync(const Model::DescribeListAccessKeyIdAuthRequest& request, const DescribeListAccessKeyIdAuthAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeListAccessKeyIdAuthOutcomeCallable describeListAccessKeyIdAuthCallable(const Model::DescribeListAccessKeyIdAuthRequest& request) const; + DescribeTopRiskyAssetsOutcome describeTopRiskyAssets(const Model::DescribeTopRiskyAssetsRequest &request)const; + void describeTopRiskyAssetsAsync(const Model::DescribeTopRiskyAssetsRequest& request, const DescribeTopRiskyAssetsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTopRiskyAssetsOutcomeCallable describeTopRiskyAssetsCallable(const Model::DescribeTopRiskyAssetsRequest& request) const; + DescribeWebLockBindListOutcome describeWebLockBindList(const Model::DescribeWebLockBindListRequest &request)const; + void describeWebLockBindListAsync(const Model::DescribeWebLockBindListRequest& request, const DescribeWebLockBindListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWebLockBindListOutcomeCallable describeWebLockBindListCallable(const Model::DescribeWebLockBindListRequest& request) const; + ModifyOpenLogShipperOutcome modifyOpenLogShipper(const Model::ModifyOpenLogShipperRequest &request)const; + void modifyOpenLogShipperAsync(const Model::ModifyOpenLogShipperRequest& request, const ModifyOpenLogShipperAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyOpenLogShipperOutcomeCallable modifyOpenLogShipperCallable(const Model::ModifyOpenLogShipperRequest& request) const; + UpdateWhiteListStrategyStatusOutcome updateWhiteListStrategyStatus(const Model::UpdateWhiteListStrategyStatusRequest &request)const; + void updateWhiteListStrategyStatusAsync(const Model::UpdateWhiteListStrategyStatusRequest& request, const UpdateWhiteListStrategyStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateWhiteListStrategyStatusOutcomeCallable updateWhiteListStrategyStatusCallable(const Model::UpdateWhiteListStrategyStatusRequest& request) const; + DeleteVulWhitelistOutcome deleteVulWhitelist(const Model::DeleteVulWhitelistRequest &request)const; + void deleteVulWhitelistAsync(const Model::DeleteVulWhitelistRequest& request, const DeleteVulWhitelistAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteVulWhitelistOutcomeCallable deleteVulWhitelistCallable(const Model::DeleteVulWhitelistRequest& request) const; + DescribeVulMachineListOutcome describeVulMachineList(const Model::DescribeVulMachineListRequest &request)const; + void describeVulMachineListAsync(const Model::DescribeVulMachineListRequest& request, const DescribeVulMachineListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVulMachineListOutcomeCallable describeVulMachineListCallable(const Model::DescribeVulMachineListRequest& request) const; + DescribeAnalysisLogsOutcome describeAnalysisLogs(const Model::DescribeAnalysisLogsRequest &request)const; + void describeAnalysisLogsAsync(const Model::DescribeAnalysisLogsRequest& request, const DescribeAnalysisLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAnalysisLogsOutcomeCallable describeAnalysisLogsCallable(const Model::DescribeAnalysisLogsRequest& request) const; + DescribeStratetyDetailOutcome describeStratetyDetail(const Model::DescribeStratetyDetailRequest &request)const; + void describeStratetyDetailAsync(const Model::DescribeStratetyDetailRequest& request, const DescribeStratetyDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeStratetyDetailOutcomeCallable describeStratetyDetailCallable(const Model::DescribeStratetyDetailRequest& request) const; + DescribeHistogramOutcome describeHistogram(const Model::DescribeHistogramRequest &request)const; + void describeHistogramAsync(const Model::DescribeHistogramRequest& request, const DescribeHistogramAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeHistogramOutcomeCallable describeHistogramCallable(const Model::DescribeHistogramRequest& request) const; + DescribeDingTalkOutcome describeDingTalk(const Model::DescribeDingTalkRequest &request)const; + void describeDingTalkAsync(const Model::DescribeDingTalkRequest& request, const DescribeDingTalkAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDingTalkOutcomeCallable describeDingTalkCallable(const Model::DescribeDingTalkRequest& request) const; + DescribeLoginLogsOutcome describeLoginLogs(const Model::DescribeLoginLogsRequest &request)const; + void describeLoginLogsAsync(const Model::DescribeLoginLogsRequest& request, const DescribeLoginLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLoginLogsOutcomeCallable describeLoginLogsCallable(const Model::DescribeLoginLogsRequest& request) const; + DescribeMetaDataOutcome describeMetaData(const Model::DescribeMetaDataRequest &request)const; + void describeMetaDataAsync(const Model::DescribeMetaDataRequest& request, const DescribeMetaDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeMetaDataOutcomeCallable describeMetaDataCallable(const Model::DescribeMetaDataRequest& request) const; + DescribeWebLockStatusOutcome describeWebLockStatus(const Model::DescribeWebLockStatusRequest &request)const; + void describeWebLockStatusAsync(const Model::DescribeWebLockStatusRequest& request, const DescribeWebLockStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWebLockStatusOutcomeCallable describeWebLockStatusCallable(const Model::DescribeWebLockStatusRequest& request) const; + DescribeEmgVulGroupOutcome describeEmgVulGroup(const Model::DescribeEmgVulGroupRequest &request)const; + void describeEmgVulGroupAsync(const Model::DescribeEmgVulGroupRequest& request, const DescribeEmgVulGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEmgVulGroupOutcomeCallable describeEmgVulGroupCallable(const Model::DescribeEmgVulGroupRequest& request) const; + DescribeNsasSuspEventTypeOutcome describeNsasSuspEventType(const Model::DescribeNsasSuspEventTypeRequest &request)const; + void describeNsasSuspEventTypeAsync(const Model::DescribeNsasSuspEventTypeRequest& request, const DescribeNsasSuspEventTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeNsasSuspEventTypeOutcomeCallable describeNsasSuspEventTypeCallable(const Model::DescribeNsasSuspEventTypeRequest& request) const; + ModifyScreenSettingOutcome modifyScreenSetting(const Model::ModifyScreenSettingRequest &request)const; + void modifyScreenSettingAsync(const Model::ModifyScreenSettingRequest& request, const ModifyScreenSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyScreenSettingOutcomeCallable modifyScreenSettingCallable(const Model::ModifyScreenSettingRequest& request) const; + ModifyStrategyOutcome modifyStrategy(const Model::ModifyStrategyRequest &request)const; + void modifyStrategyAsync(const Model::ModifyStrategyRequest& request, const ModifyStrategyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyStrategyOutcomeCallable modifyStrategyCallable(const Model::ModifyStrategyRequest& request) const; + DescribeEmgNoticeOutcome describeEmgNotice(const Model::DescribeEmgNoticeRequest &request)const; + void describeEmgNoticeAsync(const Model::DescribeEmgNoticeRequest& request, const DescribeEmgNoticeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEmgNoticeOutcomeCallable describeEmgNoticeCallable(const Model::DescribeEmgNoticeRequest& request) const; + DescribeScreenOperateInfoOutcome describeScreenOperateInfo(const Model::DescribeScreenOperateInfoRequest &request)const; + void describeScreenOperateInfoAsync(const Model::DescribeScreenOperateInfoRequest& request, const DescribeScreenOperateInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeScreenOperateInfoOutcomeCallable describeScreenOperateInfoCallable(const Model::DescribeScreenOperateInfoRequest& request) const; + DescribeJoinRuleListOutcome describeJoinRuleList(const Model::DescribeJoinRuleListRequest &request)const; + void describeJoinRuleListAsync(const Model::DescribeJoinRuleListRequest& request, const DescribeJoinRuleListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeJoinRuleListOutcomeCallable describeJoinRuleListCallable(const Model::DescribeJoinRuleListRequest& request) const; + DescribeSuspEventQuaraFilesOutcome describeSuspEventQuaraFiles(const Model::DescribeSuspEventQuaraFilesRequest &request)const; + void describeSuspEventQuaraFilesAsync(const Model::DescribeSuspEventQuaraFilesRequest& request, const DescribeSuspEventQuaraFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSuspEventQuaraFilesOutcomeCallable describeSuspEventQuaraFilesCallable(const Model::DescribeSuspEventQuaraFilesRequest& request) const; + ValidateHcWarningsOutcome validateHcWarnings(const Model::ValidateHcWarningsRequest &request)const; + void validateHcWarningsAsync(const Model::ValidateHcWarningsRequest& request, const ValidateHcWarningsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ValidateHcWarningsOutcomeCallable validateHcWarningsCallable(const Model::ValidateHcWarningsRequest& request) const; + CreateOrUpdateJoinRuleOutcome createOrUpdateJoinRule(const Model::CreateOrUpdateJoinRuleRequest &request)const; + void createOrUpdateJoinRuleAsync(const Model::CreateOrUpdateJoinRuleRequest& request, const CreateOrUpdateJoinRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateOrUpdateJoinRuleOutcomeCallable createOrUpdateJoinRuleCallable(const Model::CreateOrUpdateJoinRuleRequest& request) const; + AutoUpgradeSasOutcome autoUpgradeSas(const Model::AutoUpgradeSasRequest &request)const; + void autoUpgradeSasAsync(const Model::AutoUpgradeSasRequest& request, const AutoUpgradeSasAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AutoUpgradeSasOutcomeCallable autoUpgradeSasCallable(const Model::AutoUpgradeSasRequest& request) const; + DescribeEmgUserAgreementOutcome describeEmgUserAgreement(const Model::DescribeEmgUserAgreementRequest &request)const; + void describeEmgUserAgreementAsync(const Model::DescribeEmgUserAgreementRequest& request, const DescribeEmgUserAgreementAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEmgUserAgreementOutcomeCallable describeEmgUserAgreementCallable(const Model::DescribeEmgUserAgreementRequest& request) const; + ModifyWebLockMachineListOutcome modifyWebLockMachineList(const Model::ModifyWebLockMachineListRequest &request)const; + void modifyWebLockMachineListAsync(const Model::ModifyWebLockMachineListRequest& request, const ModifyWebLockMachineListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyWebLockMachineListOutcomeCallable modifyWebLockMachineListCallable(const Model::ModifyWebLockMachineListRequest& request) const; + ModifyEmgVulSubmitOutcome modifyEmgVulSubmit(const Model::ModifyEmgVulSubmitRequest &request)const; + void modifyEmgVulSubmitAsync(const Model::ModifyEmgVulSubmitRequest& request, const ModifyEmgVulSubmitAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyEmgVulSubmitOutcomeCallable modifyEmgVulSubmitCallable(const Model::ModifyEmgVulSubmitRequest& request) const; + DeleteLogQueryOutcome deleteLogQuery(const Model::DeleteLogQueryRequest &request)const; + void deleteLogQueryAsync(const Model::DeleteLogQueryRequest& request, const DeleteLogQueryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLogQueryOutcomeCallable deleteLogQueryCallable(const Model::DeleteLogQueryRequest& request) const; + ModifyTargetConfigOutcome modifyTargetConfig(const Model::ModifyTargetConfigRequest &request)const; + void modifyTargetConfigAsync(const Model::ModifyTargetConfigRequest& request, const ModifyTargetConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyTargetConfigOutcomeCallable modifyTargetConfigCallable(const Model::ModifyTargetConfigRequest& request) const; + IgnoreHcCheckWarningsOutcome ignoreHcCheckWarnings(const Model::IgnoreHcCheckWarningsRequest &request)const; + void ignoreHcCheckWarningsAsync(const Model::IgnoreHcCheckWarningsRequest& request, const IgnoreHcCheckWarningsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + IgnoreHcCheckWarningsOutcomeCallable ignoreHcCheckWarningsCallable(const Model::IgnoreHcCheckWarningsRequest& request) const; + DescribeExportInfoOutcome describeExportInfo(const Model::DescribeExportInfoRequest &request)const; + void describeExportInfoAsync(const Model::DescribeExportInfoRequest& request, const DescribeExportInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeExportInfoOutcomeCallable describeExportInfoCallable(const Model::DescribeExportInfoRequest& request) const; + DescribeSuspEventUserSettingOutcome describeSuspEventUserSetting(const Model::DescribeSuspEventUserSettingRequest &request)const; + void describeSuspEventUserSettingAsync(const Model::DescribeSuspEventUserSettingRequest& request, const DescribeSuspEventUserSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSuspEventUserSettingOutcomeCallable describeSuspEventUserSettingCallable(const Model::DescribeSuspEventUserSettingRequest& request) const; + DescribeWhiteListStrategyCountOutcome describeWhiteListStrategyCount(const Model::DescribeWhiteListStrategyCountRequest &request)const; + void describeWhiteListStrategyCountAsync(const Model::DescribeWhiteListStrategyCountRequest& request, const DescribeWhiteListStrategyCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWhiteListStrategyCountOutcomeCallable describeWhiteListStrategyCountCallable(const Model::DescribeWhiteListStrategyCountRequest& request) const; + DescribeVulConfigOutcome describeVulConfig(const Model::DescribeVulConfigRequest &request)const; + void describeVulConfigAsync(const Model::DescribeVulConfigRequest& request, const DescribeVulConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVulConfigOutcomeCallable describeVulConfigCallable(const Model::DescribeVulConfigRequest& request) const; + ModifyWebLockRefreshOutcome modifyWebLockRefresh(const Model::ModifyWebLockRefreshRequest &request)const; + void modifyWebLockRefreshAsync(const Model::ModifyWebLockRefreshRequest& request, const ModifyWebLockRefreshAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyWebLockRefreshOutcomeCallable modifyWebLockRefreshCallable(const Model::ModifyWebLockRefreshRequest& request) const; + DescribeEventCountCurveOutcome describeEventCountCurve(const Model::DescribeEventCountCurveRequest &request)const; + void describeEventCountCurveAsync(const Model::DescribeEventCountCurveRequest& request, const DescribeEventCountCurveAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEventCountCurveOutcomeCallable describeEventCountCurveCallable(const Model::DescribeEventCountCurveRequest& request) const; + DescribeWhiteListAssetOutcome describeWhiteListAsset(const Model::DescribeWhiteListAssetRequest &request)const; + void describeWhiteListAssetAsync(const Model::DescribeWhiteListAssetRequest& request, const DescribeWhiteListAssetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeWhiteListAssetOutcomeCallable describeWhiteListAssetCallable(const Model::DescribeWhiteListAssetRequest& request) const; + ModifyClearLogstoreStorageOutcome modifyClearLogstoreStorage(const Model::ModifyClearLogstoreStorageRequest &request)const; + void modifyClearLogstoreStorageAsync(const Model::ModifyClearLogstoreStorageRequest& request, const ModifyClearLogstoreStorageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyClearLogstoreStorageOutcomeCallable modifyClearLogstoreStorageCallable(const Model::ModifyClearLogstoreStorageRequest& request) const; + ModifyStrategyTargetOutcome modifyStrategyTarget(const Model::ModifyStrategyTargetRequest &request)const; + void modifyStrategyTargetAsync(const Model::ModifyStrategyTargetRequest& request, const ModifyStrategyTargetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyStrategyTargetOutcomeCallable modifyStrategyTargetCallable(const Model::ModifyStrategyTargetRequest& request) const; + DescribeCheckWarningsOutcome describeCheckWarnings(const Model::DescribeCheckWarningsRequest &request)const; + void describeCheckWarningsAsync(const Model::DescribeCheckWarningsRequest& request, const DescribeCheckWarningsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCheckWarningsOutcomeCallable describeCheckWarningsCallable(const Model::DescribeCheckWarningsRequest& request) const; + DescribeSecurityStatInfoOutcome describeSecurityStatInfo(const Model::DescribeSecurityStatInfoRequest &request)const; + void describeSecurityStatInfoAsync(const Model::DescribeSecurityStatInfoRequest& request, const DescribeSecurityStatInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSecurityStatInfoOutcomeCallable describeSecurityStatInfoCallable(const Model::DescribeSecurityStatInfoRequest& request) const; + SaveWhiteListStrategyOutcome saveWhiteListStrategy(const Model::SaveWhiteListStrategyRequest &request)const; + void saveWhiteListStrategyAsync(const Model::SaveWhiteListStrategyRequest& request, const SaveWhiteListStrategyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SaveWhiteListStrategyOutcomeCallable saveWhiteListStrategyCallable(const Model::SaveWhiteListStrategyRequest& request) const; + DescribeFilterFieldsOutcome describeFilterFields(const Model::DescribeFilterFieldsRequest &request)const; + void describeFilterFieldsAsync(const Model::DescribeFilterFieldsRequest& request, const DescribeFilterFieldsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeFilterFieldsOutcomeCallable describeFilterFieldsCallable(const Model::DescribeFilterFieldsRequest& request) const; + DescribeScreenSecurityStatInfoOutcome describeScreenSecurityStatInfo(const Model::DescribeScreenSecurityStatInfoRequest &request)const; + void describeScreenSecurityStatInfoAsync(const Model::DescribeScreenSecurityStatInfoRequest& request, const DescribeScreenSecurityStatInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeScreenSecurityStatInfoOutcomeCallable describeScreenSecurityStatInfoCallable(const Model::DescribeScreenSecurityStatInfoRequest& request) const; + OperateSuspiciousOverallConfigOutcome operateSuspiciousOverallConfig(const Model::OperateSuspiciousOverallConfigRequest &request)const; + void operateSuspiciousOverallConfigAsync(const Model::OperateSuspiciousOverallConfigRequest& request, const OperateSuspiciousOverallConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + OperateSuspiciousOverallConfigOutcomeCallable operateSuspiciousOverallConfigCallable(const Model::OperateSuspiciousOverallConfigRequest& request) const; + DescribeInstanceStatisticsOutcome describeInstanceStatistics(const Model::DescribeInstanceStatisticsRequest &request)const; + void describeInstanceStatisticsAsync(const Model::DescribeInstanceStatisticsRequest& request, const DescribeInstanceStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeInstanceStatisticsOutcomeCallable describeInstanceStatisticsCallable(const Model::DescribeInstanceStatisticsRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/aegis/include/alibabacloud/aegis/model/AutoUpgradeSasRequest.h b/aegis/include/alibabacloud/aegis/model/AutoUpgradeSasRequest.h new file mode 100644 index 000000000..2dcc85b21 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/AutoUpgradeSasRequest.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_AEGIS_MODEL_AUTOUPGRADESASREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_AUTOUPGRADESASREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT AutoUpgradeSasRequest : public RpcServiceRequest + { + + public: + AutoUpgradeSasRequest(); + ~AutoUpgradeSasRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_AUTOUPGRADESASREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/AutoUpgradeSasResult.h b/aegis/include/alibabacloud/aegis/model/AutoUpgradeSasResult.h new file mode 100644 index 000000000..068ee7313 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/AutoUpgradeSasResult.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_AEGIS_MODEL_AUTOUPGRADESASRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_AUTOUPGRADESASRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT AutoUpgradeSasResult : public ServiceResult + { + public: + + + AutoUpgradeSasResult(); + explicit AutoUpgradeSasResult(const std::string &payload); + ~AutoUpgradeSasResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_AUTOUPGRADESASRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/AutoUpgradeToSasAdvancedVersionRequest.h b/aegis/include/alibabacloud/aegis/model/AutoUpgradeToSasAdvancedVersionRequest.h new file mode 100644 index 000000000..b0d0d8bcd --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/AutoUpgradeToSasAdvancedVersionRequest.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_AEGIS_MODEL_AUTOUPGRADETOSASADVANCEDVERSIONREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_AUTOUPGRADETOSASADVANCEDVERSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT AutoUpgradeToSasAdvancedVersionRequest : public RpcServiceRequest + { + + public: + AutoUpgradeToSasAdvancedVersionRequest(); + ~AutoUpgradeToSasAdvancedVersionRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_AUTOUPGRADETOSASADVANCEDVERSIONREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/AutoUpgradeToSasAdvancedVersionResult.h b/aegis/include/alibabacloud/aegis/model/AutoUpgradeToSasAdvancedVersionResult.h new file mode 100644 index 000000000..bb701274b --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/AutoUpgradeToSasAdvancedVersionResult.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_AEGIS_MODEL_AUTOUPGRADETOSASADVANCEDVERSIONRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_AUTOUPGRADETOSASADVANCEDVERSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT AutoUpgradeToSasAdvancedVersionResult : public ServiceResult + { + public: + + + AutoUpgradeToSasAdvancedVersionResult(); + explicit AutoUpgradeToSasAdvancedVersionResult(const std::string &payload); + ~AutoUpgradeToSasAdvancedVersionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_AUTOUPGRADETOSASADVANCEDVERSIONRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/BatchDeleteWhiteListRequest.h b/aegis/include/alibabacloud/aegis/model/BatchDeleteWhiteListRequest.h new file mode 100644 index 000000000..85459ce8f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/BatchDeleteWhiteListRequest.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_AEGIS_MODEL_BATCHDELETEWHITELISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_BATCHDELETEWHITELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT BatchDeleteWhiteListRequest : public RpcServiceRequest + { + + public: + BatchDeleteWhiteListRequest(); + ~BatchDeleteWhiteListRequest(); + + std::string getRiskIdList()const; + void setRiskIdList(const std::string& riskIdList); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string riskIdList_; + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_BATCHDELETEWHITELISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/BatchDeleteWhiteListResult.h b/aegis/include/alibabacloud/aegis/model/BatchDeleteWhiteListResult.h new file mode 100644 index 000000000..9f7debb6c --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/BatchDeleteWhiteListResult.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_AEGIS_MODEL_BATCHDELETEWHITELISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_BATCHDELETEWHITELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT BatchDeleteWhiteListResult : public ServiceResult + { + public: + + + BatchDeleteWhiteListResult(); + explicit BatchDeleteWhiteListResult(const std::string &payload); + ~BatchDeleteWhiteListResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_BATCHDELETEWHITELISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CanTrySasRequest.h b/aegis/include/alibabacloud/aegis/model/CanTrySasRequest.h new file mode 100644 index 000000000..0e152de11 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CanTrySasRequest.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_AEGIS_MODEL_CANTRYSASREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CANTRYSASREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CanTrySasRequest : public RpcServiceRequest + { + + public: + CanTrySasRequest(); + ~CanTrySasRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CANTRYSASREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CanTrySasResult.h b/aegis/include/alibabacloud/aegis/model/CanTrySasResult.h new file mode 100644 index 000000000..1e4cfd562 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CanTrySasResult.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_AEGIS_MODEL_CANTRYSASRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CANTRYSASRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CanTrySasResult : public ServiceResult + { + public: + + + CanTrySasResult(); + explicit CanTrySasResult(const std::string &payload); + ~CanTrySasResult(); + int getCanTry()const; + + protected: + void parse(const std::string &payload); + private: + int canTry_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CANTRYSASRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreatScreenSettingRequest.h b/aegis/include/alibabacloud/aegis/model/CreatScreenSettingRequest.h new file mode 100644 index 000000000..a26847537 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreatScreenSettingRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_CREATSCREENSETTINGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATSCREENSETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreatScreenSettingRequest : public RpcServiceRequest + { + + public: + CreatScreenSettingRequest(); + ~CreatScreenSettingRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getScreenTitle()const; + void setScreenTitle(const std::string& screenTitle); + std::string getScreenIdSetting()const; + void setScreenIdSetting(const std::string& screenIdSetting); + + private: + std::string sourceIp_; + std::string screenTitle_; + std::string screenIdSetting_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATSCREENSETTINGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreatScreenSettingResult.h b/aegis/include/alibabacloud/aegis/model/CreatScreenSettingResult.h new file mode 100644 index 000000000..d70b01d70 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreatScreenSettingResult.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_AEGIS_MODEL_CREATSCREENSETTINGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATSCREENSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreatScreenSettingResult : public ServiceResult + { + public: + + + CreatScreenSettingResult(); + explicit CreatScreenSettingResult(const std::string &payload); + ~CreatScreenSettingResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATSCREENSETTINGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateInstanceResult.h b/aegis/include/alibabacloud/aegis/model/CreateInstanceResult.h index 94192b60f..db4e42db6 100644 --- a/aegis/include/alibabacloud/aegis/model/CreateInstanceResult.h +++ b/aegis/include/alibabacloud/aegis/model/CreateInstanceResult.h @@ -37,14 +37,14 @@ namespace AlibabaCloud CreateInstanceResult(); explicit CreateInstanceResult(const std::string &payload); ~CreateInstanceResult(); - std::string getInstanceId()const; - std::string getOrderId()const; + std::string getInstanceId()const; + std::string getOrderId()const; protected: void parse(const std::string &payload); private: - std::string instanceId_; - std::string orderId_; + std::string instanceId_; + std::string orderId_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/CreateLogQueryRequest.h b/aegis/include/alibabacloud/aegis/model/CreateLogQueryRequest.h new file mode 100644 index 000000000..09740e206 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateLogQueryRequest.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_AEGIS_MODEL_CREATELOGQUERYREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATELOGQUERYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateLogQueryRequest : public RpcServiceRequest + { + + public: + CreateLogQueryRequest(); + ~CreateLogQueryRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getQueryName()const; + void setQueryName(const std::string& queryName); + std::string getConditions()const; + void setConditions(const std::string& conditions); + std::string getQueryDetail()const; + void setQueryDetail(const std::string& queryDetail); + + private: + std::string sourceIp_; + std::string queryName_; + std::string conditions_; + std::string queryDetail_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATELOGQUERYREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateLogQueryResult.h b/aegis/include/alibabacloud/aegis/model/CreateLogQueryResult.h new file mode 100644 index 000000000..fd17e4879 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateLogQueryResult.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_AEGIS_MODEL_CREATELOGQUERYRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATELOGQUERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateLogQueryResult : public ServiceResult + { + public: + + + CreateLogQueryResult(); + explicit CreateLogQueryResult(const std::string &payload); + ~CreateLogQueryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATELOGQUERYRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateOrUpdateDataSourceRequest.h b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateDataSourceRequest.h new file mode 100644 index 000000000..1aaacf9a7 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateDataSourceRequest.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_AEGIS_MODEL_CREATEORUPDATEDATASOURCEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDATASOURCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateDataSourceRequest : public RpcServiceRequest + { + + public: + CreateOrUpdateDataSourceRequest(); + ~CreateOrUpdateDataSourceRequest(); + + std::string getProjectName()const; + void setProjectName(const std::string& projectName); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLogStoreName()const; + void setLogStoreName(const std::string& logStoreName); + std::string getDatasourceDescription()const; + void setDatasourceDescription(const std::string& datasourceDescription); + std::string getFields()const; + void setFields(const std::string& fields); + std::string getRegionNo()const; + void setRegionNo(const std::string& regionNo); + + private: + std::string projectName_; + std::string sourceIp_; + std::string logStoreName_; + std::string datasourceDescription_; + std::string fields_; + std::string regionNo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDATASOURCEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateOrUpdateDataSourceResult.h b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateDataSourceResult.h new file mode 100644 index 000000000..51918e375 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateDataSourceResult.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_AEGIS_MODEL_CREATEORUPDATEDATASOURCERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDATASOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateDataSourceResult : public ServiceResult + { + public: + + + CreateOrUpdateDataSourceResult(); + explicit CreateOrUpdateDataSourceResult(const std::string &payload); + ~CreateOrUpdateDataSourceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDATASOURCERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateOrUpdateDingTalkRequest.h b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateDingTalkRequest.h new file mode 100644 index 000000000..27a5a31d1 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateDingTalkRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDINGTALKREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDINGTALKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateDingTalkRequest : public RpcServiceRequest + { + + public: + CreateOrUpdateDingTalkRequest(); + ~CreateOrUpdateDingTalkRequest(); + + std::string getRuleActionName()const; + void setRuleActionName(const std::string& ruleActionName); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getSendUrl()const; + void setSendUrl(const std::string& sendUrl); + long getId()const; + void setId(long id); + long getIntervalTime()const; + void setIntervalTime(long intervalTime); + + private: + std::string ruleActionName_; + std::string sourceIp_; + std::string sendUrl_; + long id_; + long intervalTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDINGTALKREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateOrUpdateDingTalkResult.h b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateDingTalkResult.h new file mode 100644 index 000000000..1fbd08c9a --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateDingTalkResult.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_AEGIS_MODEL_CREATEORUPDATEDINGTALKRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDINGTALKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateDingTalkResult : public ServiceResult + { + public: + + + CreateOrUpdateDingTalkResult(); + explicit CreateOrUpdateDingTalkResult(const std::string &payload); + ~CreateOrUpdateDingTalkResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEDINGTALKRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateOrUpdateGroupRequest.h b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateGroupRequest.h new file mode 100644 index 000000000..62521d936 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateGroupRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEGROUPREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateGroupRequest : public RpcServiceRequest + { + + public: + CreateOrUpdateGroupRequest(); + ~CreateOrUpdateGroupRequest(); + + std::string getRuleIds()const; + void setRuleIds(const std::string& ruleIds); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getMachineGroupIds()const; + void setMachineGroupIds(const std::string& machineGroupIds); + std::string getDescription()const; + void setDescription(const std::string& description); + long getId()const; + void setId(long id); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getGroupName()const; + void setGroupName(const std::string& groupName); + + private: + std::string ruleIds_; + std::string sourceIp_; + std::string machineGroupIds_; + std::string description_; + long id_; + std::string lang_; + std::string groupName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEGROUPREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateOrUpdateGroupResult.h b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateGroupResult.h new file mode 100644 index 000000000..49b7e5f7d --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateGroupResult.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_AEGIS_MODEL_CREATEORUPDATEGROUPRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateGroupResult : public ServiceResult + { + public: + + + CreateOrUpdateGroupResult(); + explicit CreateOrUpdateGroupResult(const std::string &payload); + ~CreateOrUpdateGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEGROUPRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateOrUpdateJoinRuleRequest.h b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateJoinRuleRequest.h new file mode 100644 index 000000000..6f46dad69 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateJoinRuleRequest.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEJOINRULEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEJOINRULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateJoinRuleRequest : public RpcServiceRequest + { + + public: + CreateOrUpdateJoinRuleRequest(); + ~CreateOrUpdateJoinRuleRequest(); + + std::string getWarnLevel()const; + void setWarnLevel(const std::string& warnLevel); + long getDataSourceId2()const; + void setDataSourceId2(long dataSourceId2); + long getDataSourceId1()const; + void setDataSourceId1(long dataSourceId1); + long getTimeWindow()const; + void setTimeWindow(long timeWindow); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getRuleName()const; + void setRuleName(const std::string& ruleName); + std::string getExpression2()const; + void setExpression2(const std::string& expression2); + std::string getExpression1()const; + void setExpression1(const std::string& expression1); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getStatisticsRules()const; + void setStatisticsRules(const std::string& statisticsRules); + std::string getJoinRelation()const; + void setJoinRelation(const std::string& joinRelation); + long getRuleId()const; + void setRuleId(long ruleId); + std::string getActions()const; + void setActions(const std::string& actions); + + private: + std::string warnLevel_; + long dataSourceId2_; + long dataSourceId1_; + long timeWindow_; + std::string description_; + std::string ruleName_; + std::string expression2_; + std::string expression1_; + std::string sourceIp_; + std::string statisticsRules_; + std::string joinRelation_; + long ruleId_; + std::string actions_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEJOINRULEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateOrUpdateJoinRuleResult.h b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateJoinRuleResult.h new file mode 100644 index 000000000..84d1507a5 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateJoinRuleResult.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_AEGIS_MODEL_CREATEORUPDATEJOINRULERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEJOINRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateJoinRuleResult : public ServiceResult + { + public: + + + CreateOrUpdateJoinRuleResult(); + explicit CreateOrUpdateJoinRuleResult(const std::string &payload); + ~CreateOrUpdateJoinRuleResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATEJOINRULERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateOrUpdateRuleRequest.h b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateRuleRequest.h new file mode 100644 index 000000000..d300a9c30 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateRuleRequest.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_AEGIS_MODEL_CREATEORUPDATERULEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATERULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateRuleRequest : public RpcServiceRequest + { + + public: + CreateOrUpdateRuleRequest(); + ~CreateOrUpdateRuleRequest(); + + std::string getWarnLevel()const; + void setWarnLevel(const std::string& warnLevel); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getStatisticsRules()const; + void setStatisticsRules(const std::string& statisticsRules); + long getDataSourceId()const; + void setDataSourceId(long dataSourceId); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getRuleName()const; + void setRuleName(const std::string& ruleName); + long getId()const; + void setId(long id); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getExpressions()const; + void setExpressions(const std::string& expressions); + std::string getActions()const; + void setActions(const std::string& actions); + std::string getRuleGroupIds()const; + void setRuleGroupIds(const std::string& ruleGroupIds); + + private: + std::string warnLevel_; + std::string sourceIp_; + std::string statisticsRules_; + long dataSourceId_; + std::string description_; + std::string ruleName_; + long id_; + std::string lang_; + std::string expressions_; + std::string actions_; + std::string ruleGroupIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATERULEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateOrUpdateRuleResult.h b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateRuleResult.h new file mode 100644 index 000000000..d1317d1e3 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateOrUpdateRuleResult.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_AEGIS_MODEL_CREATEORUPDATERULERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATERULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateOrUpdateRuleResult : public ServiceResult + { + public: + + + CreateOrUpdateRuleResult(); + explicit CreateOrUpdateRuleResult(const std::string &payload); + ~CreateOrUpdateRuleResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEORUPDATERULERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateSuspiciousExportRequest.h b/aegis/include/alibabacloud/aegis/model/CreateSuspiciousExportRequest.h new file mode 100644 index 000000000..e74a565d5 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateSuspiciousExportRequest.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_AEGIS_MODEL_CREATESUSPICIOUSEXPORTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATESUSPICIOUSEXPORTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateSuspiciousExportRequest : public RpcServiceRequest + { + + public: + CreateSuspiciousExportRequest(); + ~CreateSuspiciousExportRequest(); + + std::string getStatusList()const; + void setStatusList(const std::string& statusList); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getEventNameRemark()const; + void setEventNameRemark(const std::string& eventNameRemark); + std::string getLevel()const; + void setLevel(const std::string& level); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getDealed()const; + void setDealed(const std::string& dealed); + std::string getEventType()const; + void setEventType(const std::string& eventType); + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getTag()const; + void setTag(const std::string& tag); + + private: + std::string statusList_; + std::string sourceIp_; + std::string eventNameRemark_; + std::string level_; + std::string groupId_; + std::string dealed_; + std::string eventType_; + std::string remark_; + std::string tag_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATESUSPICIOUSEXPORTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateSuspiciousExportResult.h b/aegis/include/alibabacloud/aegis/model/CreateSuspiciousExportResult.h new file mode 100644 index 000000000..8c06e6cb4 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateSuspiciousExportResult.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_AEGIS_MODEL_CREATESUSPICIOUSEXPORTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATESUSPICIOUSEXPORTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateSuspiciousExportResult : public ServiceResult + { + public: + + + CreateSuspiciousExportResult(); + explicit CreateSuspiciousExportResult(const std::string &payload); + ~CreateSuspiciousExportResult(); + std::string getFileName()const; + long getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string fileName_; + long id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATESUSPICIOUSEXPORTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateUserSettingRequest.h b/aegis/include/alibabacloud/aegis/model/CreateUserSettingRequest.h new file mode 100644 index 000000000..c56f960da --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateUserSettingRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_CREATEUSERSETTINGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATEUSERSETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateUserSettingRequest : public RpcServiceRequest + { + + public: + CreateUserSettingRequest(); + ~CreateUserSettingRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getAlertLevels()const; + void setAlertLevels(const std::string& alertLevels); + int getInvalidWarningKeepDays()const; + void setInvalidWarningKeepDays(int invalidWarningKeepDays); + + private: + std::string sourceIp_; + std::string alertLevels_; + int invalidWarningKeepDays_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEUSERSETTINGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateUserSettingResult.h b/aegis/include/alibabacloud/aegis/model/CreateUserSettingResult.h new file mode 100644 index 000000000..1499f752e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateUserSettingResult.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_AEGIS_MODEL_CREATEUSERSETTINGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATEUSERSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateUserSettingResult : public ServiceResult + { + public: + + + CreateUserSettingResult(); + explicit CreateUserSettingResult(const std::string &payload); + ~CreateUserSettingResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEUSERSETTINGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateUserWhiteListRequest.h b/aegis/include/alibabacloud/aegis/model/CreateUserWhiteListRequest.h new file mode 100644 index 000000000..5b107b02a --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateUserWhiteListRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_CREATEUSERWHITELISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATEUSERWHITELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateUserWhiteListRequest : public RpcServiceRequest + { + + public: + CreateUserWhiteListRequest(); + ~CreateUserWhiteListRequest(); + + std::string getRiskIdList()const; + void setRiskIdList(const std::string& riskIdList); + std::string getReason()const; + void setReason(const std::string& reason); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string riskIdList_; + std::string reason_; + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEUSERWHITELISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateUserWhiteListResult.h b/aegis/include/alibabacloud/aegis/model/CreateUserWhiteListResult.h new file mode 100644 index 000000000..f05facf35 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateUserWhiteListResult.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_AEGIS_MODEL_CREATEUSERWHITELISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATEUSERWHITELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateUserWhiteListResult : public ServiceResult + { + public: + + + CreateUserWhiteListResult(); + explicit CreateUserWhiteListResult(const std::string &payload); + ~CreateUserWhiteListResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEUSERWHITELISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateVulWhitelistRequest.h b/aegis/include/alibabacloud/aegis/model/CreateVulWhitelistRequest.h new file mode 100644 index 000000000..5f2808466 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateVulWhitelistRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_CREATEVULWHITELISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATEVULWHITELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateVulWhitelistRequest : public RpcServiceRequest + { + + public: + CreateVulWhitelistRequest(); + ~CreateVulWhitelistRequest(); + + std::string getReason()const; + void setReason(const std::string& reason); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getWhitelist()const; + void setWhitelist(const std::string& whitelist); + + private: + std::string reason_; + std::string sourceIp_; + std::string whitelist_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEVULWHITELISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/CreateVulWhitelistResult.h b/aegis/include/alibabacloud/aegis/model/CreateVulWhitelistResult.h new file mode 100644 index 000000000..cc44be66b --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/CreateVulWhitelistResult.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_AEGIS_MODEL_CREATEVULWHITELISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_CREATEVULWHITELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT CreateVulWhitelistResult : public ServiceResult + { + public: + + + CreateVulWhitelistResult(); + explicit CreateVulWhitelistResult(const std::string &payload); + ~CreateVulWhitelistResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEVULWHITELISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteDingTalkRequest.h b/aegis/include/alibabacloud/aegis/model/DeleteDingTalkRequest.h new file mode 100644 index 000000000..fc4b9ecf4 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteDingTalkRequest.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_AEGIS_MODEL_DELETEDINGTALKREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETEDINGTALKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteDingTalkRequest : public RpcServiceRequest + { + + public: + DeleteDingTalkRequest(); + ~DeleteDingTalkRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getIds()const; + void setIds(const std::string& ids); + + private: + std::string sourceIp_; + std::string ids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETEDINGTALKREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteDingTalkResult.h b/aegis/include/alibabacloud/aegis/model/DeleteDingTalkResult.h new file mode 100644 index 000000000..676c6c26e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteDingTalkResult.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_AEGIS_MODEL_DELETEDINGTALKRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETEDINGTALKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteDingTalkResult : public ServiceResult + { + public: + + + DeleteDingTalkResult(); + explicit DeleteDingTalkResult(const std::string &payload); + ~DeleteDingTalkResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETEDINGTALKRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteJoinRuleRequest.h b/aegis/include/alibabacloud/aegis/model/DeleteJoinRuleRequest.h new file mode 100644 index 000000000..be6a9f0f0 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteJoinRuleRequest.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_AEGIS_MODEL_DELETEJOINRULEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETEJOINRULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteJoinRuleRequest : public RpcServiceRequest + { + + public: + DeleteJoinRuleRequest(); + ~DeleteJoinRuleRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getIds()const; + void setIds(const std::string& ids); + + private: + std::string sourceIp_; + std::string ids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETEJOINRULEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteJoinRuleResult.h b/aegis/include/alibabacloud/aegis/model/DeleteJoinRuleResult.h new file mode 100644 index 000000000..ce328cea5 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteJoinRuleResult.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_AEGIS_MODEL_DELETEJOINRULERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETEJOINRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteJoinRuleResult : public ServiceResult + { + public: + + + DeleteJoinRuleResult(); + explicit DeleteJoinRuleResult(const std::string &payload); + ~DeleteJoinRuleResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETEJOINRULERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteLogQueryRequest.h b/aegis/include/alibabacloud/aegis/model/DeleteLogQueryRequest.h new file mode 100644 index 000000000..979b23385 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteLogQueryRequest.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_AEGIS_MODEL_DELETELOGQUERYREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETELOGQUERYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteLogQueryRequest : public RpcServiceRequest + { + + public: + DeleteLogQueryRequest(); + ~DeleteLogQueryRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getQueryName()const; + void setQueryName(const std::string& queryName); + + private: + std::string sourceIp_; + std::string queryName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETELOGQUERYREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteLogQueryResult.h b/aegis/include/alibabacloud/aegis/model/DeleteLogQueryResult.h new file mode 100644 index 000000000..d06c6e19f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteLogQueryResult.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_AEGIS_MODEL_DELETELOGQUERYRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETELOGQUERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteLogQueryResult : public ServiceResult + { + public: + + + DeleteLogQueryResult(); + explicit DeleteLogQueryResult(const std::string &payload); + ~DeleteLogQueryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETELOGQUERYRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteRuleGroupRequest.h b/aegis/include/alibabacloud/aegis/model/DeleteRuleGroupRequest.h new file mode 100644 index 000000000..f9759f135 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteRuleGroupRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DELETERULEGROUPREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETERULEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteRuleGroupRequest : public RpcServiceRequest + { + + public: + DeleteRuleGroupRequest(); + ~DeleteRuleGroupRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getId()const; + void setId(long id); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long id_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETERULEGROUPREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteRuleGroupResult.h b/aegis/include/alibabacloud/aegis/model/DeleteRuleGroupResult.h new file mode 100644 index 000000000..028d9dda9 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteRuleGroupResult.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_AEGIS_MODEL_DELETERULEGROUPRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETERULEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteRuleGroupResult : public ServiceResult + { + public: + + + DeleteRuleGroupResult(); + explicit DeleteRuleGroupResult(const std::string &payload); + ~DeleteRuleGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETERULEGROUPRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteRuleRequest.h b/aegis/include/alibabacloud/aegis/model/DeleteRuleRequest.h new file mode 100644 index 000000000..53865e656 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteRuleRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DELETERULEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETERULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteRuleRequest : public RpcServiceRequest + { + + public: + DeleteRuleRequest(); + ~DeleteRuleRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getId()const; + void setId(const std::string& id); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string id_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETERULEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteRuleResult.h b/aegis/include/alibabacloud/aegis/model/DeleteRuleResult.h new file mode 100644 index 000000000..fa46bd375 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteRuleResult.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_AEGIS_MODEL_DELETERULERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETERULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteRuleResult : public ServiceResult + { + public: + + + DeleteRuleResult(); + explicit DeleteRuleResult(const std::string &payload); + ~DeleteRuleResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETERULERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteScreenSettingRequest.h b/aegis/include/alibabacloud/aegis/model/DeleteScreenSettingRequest.h new file mode 100644 index 000000000..1f13a8e45 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteScreenSettingRequest.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_AEGIS_MODEL_DELETESCREENSETTINGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETESCREENSETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteScreenSettingRequest : public RpcServiceRequest + { + + public: + DeleteScreenSettingRequest(); + ~DeleteScreenSettingRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getScreenTitle()const; + void setScreenTitle(const std::string& screenTitle); + + private: + std::string sourceIp_; + std::string screenTitle_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETESCREENSETTINGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteScreenSettingResult.h b/aegis/include/alibabacloud/aegis/model/DeleteScreenSettingResult.h new file mode 100644 index 000000000..ffbe62040 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteScreenSettingResult.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_AEGIS_MODEL_DELETESCREENSETTINGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETESCREENSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteScreenSettingResult : public ServiceResult + { + public: + + + DeleteScreenSettingResult(); + explicit DeleteScreenSettingResult(const std::string &payload); + ~DeleteScreenSettingResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETESCREENSETTINGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteSearchConditionRequest.h b/aegis/include/alibabacloud/aegis/model/DeleteSearchConditionRequest.h new file mode 100644 index 000000000..27a4cf85c --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteSearchConditionRequest.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_AEGIS_MODEL_DELETESEARCHCONDITIONREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETESEARCHCONDITIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteSearchConditionRequest : public RpcServiceRequest + { + + public: + DeleteSearchConditionRequest(); + ~DeleteSearchConditionRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getName()const; + void setName(const std::string& name); + + private: + std::string sourceIp_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETESEARCHCONDITIONREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteSearchConditionResult.h b/aegis/include/alibabacloud/aegis/model/DeleteSearchConditionResult.h new file mode 100644 index 000000000..98a23ff0a --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteSearchConditionResult.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_AEGIS_MODEL_DELETESEARCHCONDITIONRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETESEARCHCONDITIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteSearchConditionResult : public ServiceResult + { + public: + + + DeleteSearchConditionResult(); + explicit DeleteSearchConditionResult(const std::string &payload); + ~DeleteSearchConditionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETESEARCHCONDITIONRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteStrategyRequest.h b/aegis/include/alibabacloud/aegis/model/DeleteStrategyRequest.h index 69400b417..a7bc99163 100644 --- a/aegis/include/alibabacloud/aegis/model/DeleteStrategyRequest.h +++ b/aegis/include/alibabacloud/aegis/model/DeleteStrategyRequest.h @@ -35,15 +35,12 @@ namespace AlibabaCloud DeleteStrategyRequest(); ~DeleteStrategyRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); std::string getId()const; void setId(const std::string& id); private: - long resourceOwnerId_; std::string sourceIp_; std::string id_; diff --git a/aegis/include/alibabacloud/aegis/model/DeleteVulBatchRequest.h b/aegis/include/alibabacloud/aegis/model/DeleteVulBatchRequest.h new file mode 100644 index 000000000..078d256de --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteVulBatchRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DELETEVULBATCHREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETEVULBATCHREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteVulBatchRequest : public RpcServiceRequest + { + + public: + DeleteVulBatchRequest(); + ~DeleteVulBatchRequest(); + + std::string getBatchName()const; + void setBatchName(const std::string& batchName); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getResource()const; + void setResource(const std::string& resource); + + private: + std::string batchName_; + std::string sourceIp_; + std::string resource_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETEVULBATCHREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteVulBatchResult.h b/aegis/include/alibabacloud/aegis/model/DeleteVulBatchResult.h new file mode 100644 index 000000000..4bdb17a2f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteVulBatchResult.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_AEGIS_MODEL_DELETEVULBATCHRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETEVULBATCHRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteVulBatchResult : public ServiceResult + { + public: + + + DeleteVulBatchResult(); + explicit DeleteVulBatchResult(const std::string &payload); + ~DeleteVulBatchResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETEVULBATCHRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteVulWhitelistRequest.h b/aegis/include/alibabacloud/aegis/model/DeleteVulWhitelistRequest.h new file mode 100644 index 000000000..4da056ef6 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteVulWhitelistRequest.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_AEGIS_MODEL_DELETEVULWHITELISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETEVULWHITELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteVulWhitelistRequest : public RpcServiceRequest + { + + public: + DeleteVulWhitelistRequest(); + ~DeleteVulWhitelistRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getWhitelist()const; + void setWhitelist(const std::string& whitelist); + + private: + std::string sourceIp_; + std::string whitelist_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETEVULWHITELISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DeleteVulWhitelistResult.h b/aegis/include/alibabacloud/aegis/model/DeleteVulWhitelistResult.h new file mode 100644 index 000000000..9e9b94d20 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DeleteVulWhitelistResult.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_AEGIS_MODEL_DELETEVULWHITELISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DELETEVULWHITELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DeleteVulWhitelistResult : public ServiceResult + { + public: + + + DeleteVulWhitelistResult(); + explicit DeleteVulWhitelistResult(const std::string &payload); + ~DeleteVulWhitelistResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETEVULWHITELISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAgentInstallStatusRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeAgentInstallStatusRequest.h new file mode 100644 index 000000000..2ad12269c --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAgentInstallStatusRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAGENTINSTALLSTATUSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAGENTINSTALLSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAgentInstallStatusRequest : public RpcServiceRequest + { + + public: + DescribeAgentInstallStatusRequest(); + ~DescribeAgentInstallStatusRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string sourceIp_; + std::string lang_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAGENTINSTALLSTATUSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAgentInstallStatusResult.h b/aegis/include/alibabacloud/aegis/model/DescribeAgentInstallStatusResult.h new file mode 100644 index 000000000..0db7399bd --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAgentInstallStatusResult.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_AEGIS_MODEL_DESCRIBEAGENTINSTALLSTATUSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAGENTINSTALLSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAgentInstallStatusResult : public ServiceResult + { + public: + struct AegisClientInvokeStatusResponse + { + std::string uuid; + std::string message; + int result; + }; + + + DescribeAgentInstallStatusResult(); + explicit DescribeAgentInstallStatusResult(const std::string &payload); + ~DescribeAgentInstallStatusResult(); + std::vector getAegisClientInvokeStatusResponseList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector aegisClientInvokeStatusResponseList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAGENTINSTALLSTATUSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAlarmEventDetailRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeAlarmEventDetailRequest.h new file mode 100644 index 000000000..57ebd8cf0 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAlarmEventDetailRequest.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_AEGIS_MODEL_DESCRIBEALARMEVENTDETAILREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAlarmEventDetailRequest : public RpcServiceRequest + { + + public: + DescribeAlarmEventDetailRequest(); + ~DescribeAlarmEventDetailRequest(); + + std::string getAlarmUniqueInfo()const; + void setAlarmUniqueInfo(const std::string& alarmUniqueInfo); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string alarmUniqueInfo_; + std::string sourceIp_; + std::string from_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTDETAILREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAlarmEventDetailResult.h b/aegis/include/alibabacloud/aegis/model/DescribeAlarmEventDetailResult.h new file mode 100644 index 000000000..6708e80df --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAlarmEventDetailResult.h @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTDETAILRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAlarmEventDetailResult : public ServiceResult + { + public: + struct Data + { + struct CauseDetail + { + struct ValueItem + { + std::string type; + std::string value; + std::string name; + }; + std::vector value; + std::string key; + }; + bool canCancelFault; + long endTime; + std::vector causeDetails; + long startTime; + std::string intranetIp; + bool hasTraceInfo; + std::string dataSource; + std::string instanceName; + std::string type; + bool canBeDealOnLine; + std::string uuid; + std::string internetIp; + std::string alarmEventDesc; + std::string alarmUniqueInfo; + std::string level; + std::string alarmEventAliasName; + std::string solution; + }; + + + DescribeAlarmEventDetailResult(); + explicit DescribeAlarmEventDetailResult(const std::string &payload); + ~DescribeAlarmEventDetailResult(); + Data getData()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTDETAILRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAlarmEventListRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeAlarmEventListRequest.h new file mode 100644 index 000000000..75c4f8fbc --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAlarmEventListRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTLISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAlarmEventListRequest : public RpcServiceRequest + { + + public: + DescribeAlarmEventListRequest(); + ~DescribeAlarmEventListRequest(); + + std::string getAlarmEventName()const; + void setAlarmEventName(const std::string& alarmEventName); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getPageSize()const; + void setPageSize(const std::string& pageSize); + std::string getAlarmEventType()const; + void setAlarmEventType(const std::string& alarmEventType); + std::string getDealed()const; + void setDealed(const std::string& dealed); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getRemark()const; + void setRemark(const std::string& remark); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getLevels()const; + void setLevels(const std::string& levels); + + private: + std::string alarmEventName_; + std::string sourceIp_; + std::string pageSize_; + std::string alarmEventType_; + std::string dealed_; + std::string from_; + std::string remark_; + int currentPage_; + std::string lang_; + std::string levels_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTLISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAlarmEventListResult.h b/aegis/include/alibabacloud/aegis/model/DescribeAlarmEventListResult.h new file mode 100644 index 000000000..c61359d7e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAlarmEventListResult.h @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTLISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAlarmEventListResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct SuspEventsItem + { + bool canCancelFault; + std::string description; + long endTime; + std::string alarmEventName; + long startTime; + long gmtModified; + std::string saleVersion; + std::string intranetIp; + bool dealed; + bool hasTraceInfo; + std::string dataSource; + std::string instanceName; + bool canBeDealOnLine; + std::string uuid; + std::string internetIp; + std::string alarmEventType; + int suspiciousEventCount; + std::string alarmUniqueInfo; + std::string level; + std::string solution; + }; + + + DescribeAlarmEventListResult(); + explicit DescribeAlarmEventListResult(const std::string &payload); + ~DescribeAlarmEventListResult(); + PageInfo getPageInfo()const; + std::vector getSuspEvents()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector suspEvents_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALARMEVENTLISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAllRegionsStatisticsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeAllRegionsStatisticsRequest.h new file mode 100644 index 000000000..df490f4cd --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAllRegionsStatisticsRequest.h @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALLREGIONSSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALLREGIONSSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAllRegionsStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeAllRegionsStatisticsRequest(); + ~DescribeAllRegionsStatisticsRequest(); + + std::string getStatusList()const; + void setStatusList(const std::string& statusList); + std::string getSaleId()const; + void setSaleId(const std::string& saleId); + int getRuleType()const; + void setRuleType(int ruleType); + long getGroupId()const; + void setGroupId(long groupId); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getDealed()const; + void setDealed(const std::string& dealed); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getType()const; + void setType(const std::string& type); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSecureToken()const; + void setSecureToken(const std::string& secureToken); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getWebGroupId()const; + void setWebGroupId(long webGroupId); + int getPageSize()const; + void setPageSize(int pageSize); + int getAction1()const; + void setAction1(int action1); + std::string getTag()const; + void setTag(const std::string& tag); + int getFlow()const; + void setFlow(int flow); + int getStatus()const; + void setStatus(int status); + + private: + std::string statusList_; + std::string saleId_; + int ruleType_; + long groupId_; + std::string endTime_; + std::string remark_; + std::string dealed_; + int currentPage_; + std::string startTime_; + std::string type_; + std::string uuid_; + std::string secureToken_; + std::string sourceIp_; + long webGroupId_; + int pageSize_; + int action1_; + std::string tag_; + int flow_; + int status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALLREGIONSSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAllRegionsStatisticsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeAllRegionsStatisticsResult.h new file mode 100644 index 000000000..1a39281e8 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAllRegionsStatisticsResult.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_AEGIS_MODEL_DESCRIBEALLREGIONSSTATISTICSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALLREGIONSSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAllRegionsStatisticsResult : public ServiceResult + { + public: + struct Data + { + int account; + int health; + int suspicious; + int trojan; + int vul; + }; + + + DescribeAllRegionsStatisticsResult(); + explicit DescribeAllRegionsStatisticsResult(const std::string &payload); + ~DescribeAllRegionsStatisticsResult(); + Data getData()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEALLREGIONSSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAnalysisCurveRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisCurveRequest.h new file mode 100644 index 000000000..7a053c2df --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisCurveRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISCURVEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISCURVEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisCurveRequest : public RpcServiceRequest + { + + public: + DescribeAnalysisCurveRequest(); + ~DescribeAnalysisCurveRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getStartTimeStamp()const; + void setStartTimeStamp(long startTimeStamp); + long getEndTimeStamp()const; + void setEndTimeStamp(long endTimeStamp); + + private: + std::string sourceIp_; + long startTimeStamp_; + long endTimeStamp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISCURVEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAnalysisCurveResult.h b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisCurveResult.h new file mode 100644 index 000000000..eb6dda953 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisCurveResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISCURVERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISCURVERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisCurveResult : public ServiceResult + { + public: + struct Curves + { + struct OriginalCurve + { + int count; + long dsTimestamp; + }; + struct ResultCurve + { + int count; + long dsTimestamp; + }; + std::vector originalCurveList; + std::vector resultCurveList; + }; + + + DescribeAnalysisCurveResult(); + explicit DescribeAnalysisCurveResult(const std::string &payload); + ~DescribeAnalysisCurveResult(); + Curves getCurves()const; + + protected: + void parse(const std::string &payload); + private: + Curves curves_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISCURVERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAnalysisHistogramsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisHistogramsRequest.h new file mode 100644 index 000000000..43df59e7e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisHistogramsRequest.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_AEGIS_MODEL_DESCRIBEANALYSISHISTOGRAMSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISHISTOGRAMSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisHistogramsRequest : public RpcServiceRequest + { + + public: + DescribeAnalysisHistogramsRequest(); + ~DescribeAnalysisHistogramsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getQuery()const; + void setQuery(const std::string& query); + int getFrom()const; + void setFrom(int from); + int getTo()const; + void setTo(int to); + + private: + std::string sourceIp_; + std::string query_; + int from_; + int to_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISHISTOGRAMSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAnalysisHistogramsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisHistogramsResult.h new file mode 100644 index 000000000..eaa1d752d --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisHistogramsResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISHISTOGRAMSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISHISTOGRAMSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisHistogramsResult : public ServiceResult + { + public: + struct Histograms + { + std::string histograms; + int totalCount; + }; + + + DescribeAnalysisHistogramsResult(); + explicit DescribeAnalysisHistogramsResult(const std::string &payload); + ~DescribeAnalysisHistogramsResult(); + Histograms getHistograms()const; + + protected: + void parse(const std::string &payload); + private: + Histograms histograms_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISHISTOGRAMSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAnalysisLogsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisLogsRequest.h new file mode 100644 index 000000000..04d04826a --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisLogsRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISLOGSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISLOGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisLogsRequest : public RpcServiceRequest + { + + public: + DescribeAnalysisLogsRequest(); + ~DescribeAnalysisLogsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getQuery()const; + void setQuery(const std::string& query); + int getPageSize()const; + void setPageSize(int pageSize); + int getFrom()const; + void setFrom(int from); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + int getTo()const; + void setTo(int to); + bool getReverse()const; + void setReverse(bool reverse); + + private: + std::string sourceIp_; + std::string query_; + int pageSize_; + int from_; + int currentPage_; + int to_; + bool reverse_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISLOGSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAnalysisLogsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisLogsResult.h new file mode 100644 index 000000000..788cc4960 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisLogsResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISLOGSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISLOGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisLogsResult : public ServiceResult + { + public: + struct Logs + { + int processedRow; + std::string whereQuery; + std::string mMarker; + std::string keys; + std::string terms; + int elapsedMilliSecond; + std::string aggQuery; + int count; + std::string logs; + int mLimited; + }; + + + DescribeAnalysisLogsResult(); + explicit DescribeAnalysisLogsResult(const std::string &payload); + ~DescribeAnalysisLogsResult(); + Logs getLogs()const; + + protected: + void parse(const std::string &payload); + private: + Logs logs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISLOGSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAnalysisShipperStatusRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisShipperStatusRequest.h new file mode 100644 index 000000000..13139ef43 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisShipperStatusRequest.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_AEGIS_MODEL_DESCRIBEANALYSISSHIPPERSTATUSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISSHIPPERSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisShipperStatusRequest : public RpcServiceRequest + { + + public: + DescribeAnalysisShipperStatusRequest(); + ~DescribeAnalysisShipperStatusRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISSHIPPERSTATUSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAnalysisShipperStatusResult.h b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisShipperStatusResult.h new file mode 100644 index 000000000..70e42e519 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisShipperStatusResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISSHIPPERSTATUSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISSHIPPERSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisShipperStatusResult : public ServiceResult + { + public: + struct ShipperData + { + std::string authStatus; + }; + + + DescribeAnalysisShipperStatusResult(); + explicit DescribeAnalysisShipperStatusResult(const std::string &payload); + ~DescribeAnalysisShipperStatusResult(); + ShipperData getShipperData()const; + + protected: + void parse(const std::string &payload); + private: + ShipperData shipperData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISSHIPPERSTATUSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAnalysisSlsIndexRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisSlsIndexRequest.h new file mode 100644 index 000000000..c872ef53e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisSlsIndexRequest.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_AEGIS_MODEL_DESCRIBEANALYSISSLSINDEXREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISSLSINDEXREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisSlsIndexRequest : public RpcServiceRequest + { + + public: + DescribeAnalysisSlsIndexRequest(); + ~DescribeAnalysisSlsIndexRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISSLSINDEXREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAnalysisSlsIndexResult.h b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisSlsIndexResult.h new file mode 100644 index 000000000..e8352ea7f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisSlsIndexResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISSLSINDEXRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISSLSINDEXRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisSlsIndexResult : public ServiceResult + { + public: + struct SlsIndex + { + std::string index; + }; + + + DescribeAnalysisSlsIndexResult(); + explicit DescribeAnalysisSlsIndexResult(const std::string &payload); + ~DescribeAnalysisSlsIndexResult(); + SlsIndex getSlsIndex()const; + + protected: + void parse(const std::string &payload); + private: + SlsIndex slsIndex_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISSLSINDEXRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAnalysisStatisticsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisStatisticsRequest.h new file mode 100644 index 000000000..1485ec9a0 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisStatisticsRequest.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_AEGIS_MODEL_DESCRIBEANALYSISSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeAnalysisStatisticsRequest(); + ~DescribeAnalysisStatisticsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAnalysisStatisticsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisStatisticsResult.h new file mode 100644 index 000000000..eb689560b --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAnalysisStatisticsResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISSTATISTICSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAnalysisStatisticsResult : public ServiceResult + { + public: + struct Statistics + { + int serious; + int suspicious; + int total; + int remind; + }; + + + DescribeAnalysisStatisticsResult(); + explicit DescribeAnalysisStatisticsResult(const std::string &payload); + ~DescribeAnalysisStatisticsResult(); + Statistics getStatistics()const; + + protected: + void parse(const std::string &payload); + private: + Statistics statistics_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEANALYSISSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeApiBuySummaryRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeApiBuySummaryRequest.h new file mode 100644 index 000000000..daaf1f46f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeApiBuySummaryRequest.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_AEGIS_MODEL_DESCRIBEAPIBUYSUMMARYREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAPIBUYSUMMARYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeApiBuySummaryRequest : public RpcServiceRequest + { + + public: + DescribeApiBuySummaryRequest(); + ~DescribeApiBuySummaryRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAPIBUYSUMMARYREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeApiBuySummaryResult.h b/aegis/include/alibabacloud/aegis/model/DescribeApiBuySummaryResult.h new file mode 100644 index 000000000..39f4134d8 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeApiBuySummaryResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAPIBUYSUMMARYRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAPIBUYSUMMARYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeApiBuySummaryResult : public ServiceResult + { + public: + struct BuySummary + { + long status; + bool buyThreatBook; + }; + + + DescribeApiBuySummaryResult(); + explicit DescribeApiBuySummaryResult(const std::string &payload); + ~DescribeApiBuySummaryResult(); + BuySummary getBuySummary()const; + + protected: + void parse(const std::string &payload); + private: + BuySummary buySummary_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAPIBUYSUMMARYRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAssetDetailByUuidRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeAssetDetailByUuidRequest.h new file mode 100644 index 000000000..2aece45f7 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAssetDetailByUuidRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEASSETDETAILBYUUIDREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEASSETDETAILBYUUIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAssetDetailByUuidRequest : public RpcServiceRequest + { + + public: + DescribeAssetDetailByUuidRequest(); + ~DescribeAssetDetailByUuidRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getUuid()const; + void setUuid(const std::string& uuid); + + private: + std::string sourceIp_; + std::string lang_; + std::string uuid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEASSETDETAILBYUUIDREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAssetDetailByUuidResult.h b/aegis/include/alibabacloud/aegis/model/DescribeAssetDetailByUuidResult.h new file mode 100644 index 000000000..8e619c6fa --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAssetDetailByUuidResult.h @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEASSETDETAILBYUUIDRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEASSETDETAILBYUUIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAssetDetailByUuidResult : public ServiceResult + { + public: + struct AssetDetail + { + std::string groupTrace; + std::string clientStatus; + std::string os; + int instanceId; + std::string cpuInfo; + std::vector ipList; + std::string ip; + int cpu; + std::string sysInfo; + std::string intranetIp; + std::string osDetail; + std::vector diskInfoList; + int instanceName; + std::vector macList; + std::string assetType; + std::string uuid; + std::string internetIp; + int mem; + std::string regionName; + std::string region; + std::string tag; + std::string kernel; + std::string hostName; + }; + + + DescribeAssetDetailByUuidResult(); + explicit DescribeAssetDetailByUuidResult(const std::string &payload); + ~DescribeAssetDetailByUuidResult(); + AssetDetail getAssetDetail()const; + + protected: + void parse(const std::string &payload); + private: + AssetDetail assetDetail_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEASSETDETAILBYUUIDRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAssetListRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeAssetListRequest.h new file mode 100644 index 000000000..0d629cf80 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAssetListRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEASSETLISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEASSETLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAssetListRequest : public RpcServiceRequest + { + + public: + DescribeAssetListRequest(); + ~DescribeAssetListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getFilterConditions()const; + void setFilterConditions(const std::string& filterConditions); + + private: + std::string sourceIp_; + int pageSize_; + int currentPage_; + std::string lang_; + std::string filterConditions_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEASSETLISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAssetListResult.h b/aegis/include/alibabacloud/aegis/model/DescribeAssetListResult.h new file mode 100644 index 000000000..87f8bc975 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAssetListResult.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_AEGIS_MODEL_DESCRIBEASSETLISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEASSETLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAssetListResult : public ServiceResult + { + public: + struct Asset + { + std::string instanceName; + std::string assetType; + std::string clientStatus; + std::string uuid; + std::string internetIp; + std::string os; + std::string regionName; + std::string ip; + std::string region; + std::string intranetIp; + }; + + + DescribeAssetListResult(); + explicit DescribeAssetListResult(const std::string &payload); + ~DescribeAssetListResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getAssetList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector assetList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEASSETLISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAssetSummaryRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeAssetSummaryRequest.h new file mode 100644 index 000000000..4ac93430f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAssetSummaryRequest.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_AEGIS_MODEL_DESCRIBEASSETSUMMARYREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEASSETSUMMARYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAssetSummaryRequest : public RpcServiceRequest + { + + public: + DescribeAssetSummaryRequest(); + ~DescribeAssetSummaryRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEASSETSUMMARYREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAssetSummaryResult.h b/aegis/include/alibabacloud/aegis/model/DescribeAssetSummaryResult.h new file mode 100644 index 000000000..b8992ce8f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAssetSummaryResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEASSETSUMMARYRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEASSETSUMMARYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAssetSummaryResult : public ServiceResult + { + public: + struct Summary + { + int totalCount; + int offline; + int online; + int allRegionCount; + }; + + + DescribeAssetSummaryResult(); + explicit DescribeAssetSummaryResult(const std::string &payload); + ~DescribeAssetSummaryResult(); + Summary getSummary()const; + + protected: + void parse(const std::string &payload); + private: + Summary summary_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEASSETSUMMARYRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAttackAnalysisDataRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeAttackAnalysisDataRequest.h new file mode 100644 index 000000000..30b89f938 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAttackAnalysisDataRequest.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_AEGIS_MODEL_DESCRIBEATTACKANALYSISDATAREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEATTACKANALYSISDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAttackAnalysisDataRequest : public RpcServiceRequest + { + + public: + DescribeAttackAnalysisDataRequest(); + ~DescribeAttackAnalysisDataRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getData()const; + void setData(const std::string& data); + std::string getBase64()const; + void setBase64(const std::string& base64); + int getPageSize()const; + void setPageSize(int pageSize); + long getEndTime()const; + void setEndTime(long endTime); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + long getStartTime()const; + void setStartTime(long startTime); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + + private: + std::string sourceIp_; + std::string data_; + std::string base64_; + int pageSize_; + long endTime_; + int currentPage_; + long startTime_; + std::string lang_; + std::string type_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEATTACKANALYSISDATAREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAttackAnalysisDataResult.h b/aegis/include/alibabacloud/aegis/model/DescribeAttackAnalysisDataResult.h new file mode 100644 index 000000000..279a9e845 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAttackAnalysisDataResult.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_AEGIS_MODEL_DESCRIBEATTACKANALYSISDATARESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEATTACKANALYSISDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAttackAnalysisDataResult : public ServiceResult + { + public: + + + DescribeAttackAnalysisDataResult(); + explicit DescribeAttackAnalysisDataResult(const std::string &payload); + ~DescribeAttackAnalysisDataResult(); + int getPageSize()const; + int getTotal()const; + std::string getData()const; + int getPage()const; + + protected: + void parse(const std::string &payload); + private: + int pageSize_; + int total_; + std::string data_; + int page_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEATTACKANALYSISDATARESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAutoDelConfigRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeAutoDelConfigRequest.h new file mode 100644 index 000000000..10f696a50 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAutoDelConfigRequest.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_AEGIS_MODEL_DESCRIBEAUTODELCONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAUTODELCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAutoDelConfigRequest : public RpcServiceRequest + { + + public: + DescribeAutoDelConfigRequest(); + ~DescribeAutoDelConfigRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAUTODELCONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeAutoDelConfigResult.h b/aegis/include/alibabacloud/aegis/model/DescribeAutoDelConfigResult.h new file mode 100644 index 000000000..12d9c848d --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeAutoDelConfigResult.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_AEGIS_MODEL_DESCRIBEAUTODELCONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAUTODELCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeAutoDelConfigResult : public ServiceResult + { + public: + + + DescribeAutoDelConfigResult(); + explicit DescribeAutoDelConfigResult(const std::string &payload); + ~DescribeAutoDelConfigResult(); + int getDays()const; + + protected: + void parse(const std::string &payload); + private: + int days_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEAUTODELCONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeBuySummaryRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeBuySummaryRequest.h new file mode 100644 index 000000000..51034e2a6 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeBuySummaryRequest.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_AEGIS_MODEL_DESCRIBEBUYSUMMARYREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEBUYSUMMARYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeBuySummaryRequest : public RpcServiceRequest + { + + public: + DescribeBuySummaryRequest(); + ~DescribeBuySummaryRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEBUYSUMMARYREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeBuySummaryResult.h b/aegis/include/alibabacloud/aegis/model/DescribeBuySummaryResult.h new file mode 100644 index 000000000..16c502274 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeBuySummaryResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEBUYSUMMARYRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEBUYSUMMARYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeBuySummaryResult : public ServiceResult + { + public: + struct BuySummary + { + std::string originalVersion; + bool canAccessHidden; + std::string originalBuyType; + std::string buyVersion; + long expireDate; + std::string instanceId; + int safePointSurplusDays; + long safePointExpireDate; + int specialCount; + bool buyStatus; + bool needFeedBack; + bool canApplyTrial; + int safePointdailyCost; + std::string buyType; + long expireDateTimestamp; + int capacity; + std::string safePointBuyVersion; + int safePointCapacity; + long purchaseDate; + int totalMachineNum; + int useCapacity; + }; + + + DescribeBuySummaryResult(); + explicit DescribeBuySummaryResult(const std::string &payload); + ~DescribeBuySummaryResult(); + BuySummary getBuySummary()const; + + protected: + void parse(const std::string &payload); + private: + BuySummary buySummary_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEBUYSUMMARYRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeCanTrySasRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeCanTrySasRequest.h new file mode 100644 index 000000000..a2f496c26 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeCanTrySasRequest.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_AEGIS_MODEL_DESCRIBECANTRYSASREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBECANTRYSASREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeCanTrySasRequest : public RpcServiceRequest + { + + public: + DescribeCanTrySasRequest(); + ~DescribeCanTrySasRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBECANTRYSASREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeCanTrySasResult.h b/aegis/include/alibabacloud/aegis/model/DescribeCanTrySasResult.h new file mode 100644 index 000000000..8c8e032ee --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeCanTrySasResult.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_AEGIS_MODEL_DESCRIBECANTRYSASRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBECANTRYSASRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeCanTrySasResult : public ServiceResult + { + public: + + + DescribeCanTrySasResult(); + explicit DescribeCanTrySasResult(const std::string &payload); + ~DescribeCanTrySasResult(); + int getCanTry()const; + + protected: + void parse(const std::string &payload); + private: + int canTry_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBECANTRYSASRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeCanUpgradeSasRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeCanUpgradeSasRequest.h new file mode 100644 index 000000000..efae7b9fb --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeCanUpgradeSasRequest.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_AEGIS_MODEL_DESCRIBECANUPGRADESASREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBECANUPGRADESASREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeCanUpgradeSasRequest : public RpcServiceRequest + { + + public: + DescribeCanUpgradeSasRequest(); + ~DescribeCanUpgradeSasRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBECANUPGRADESASREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeCanUpgradeSasResult.h b/aegis/include/alibabacloud/aegis/model/DescribeCanUpgradeSasResult.h new file mode 100644 index 000000000..e289854c2 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeCanUpgradeSasResult.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_AEGIS_MODEL_DESCRIBECANUPGRADESASRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBECANUPGRADESASRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeCanUpgradeSasResult : public ServiceResult + { + public: + + + DescribeCanUpgradeSasResult(); + explicit DescribeCanUpgradeSasResult(const std::string &payload); + ~DescribeCanUpgradeSasResult(); + bool getData()const; + + protected: + void parse(const std::string &payload); + private: + bool data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBECANUPGRADESASRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningDetailRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningDetailRequest.h new file mode 100644 index 000000000..42482ec29 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningDetailRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBECHECKWARNINGDETAILREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBECHECKWARNINGDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeCheckWarningDetailRequest : public RpcServiceRequest + { + + public: + DescribeCheckWarningDetailRequest(); + ~DescribeCheckWarningDetailRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + long getCheckWarningId()const; + void setCheckWarningId(long checkWarningId); + + private: + std::string sourceIp_; + std::string lang_; + long checkWarningId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBECHECKWARNINGDETAILREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningDetailResult.h b/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningDetailResult.h new file mode 100644 index 000000000..252487904 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningDetailResult.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_AEGIS_MODEL_DESCRIBECHECKWARNINGDETAILRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBECHECKWARNINGDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeCheckWarningDetailResult : public ServiceResult + { + public: + + + DescribeCheckWarningDetailResult(); + explicit DescribeCheckWarningDetailResult(const std::string &payload); + ~DescribeCheckWarningDetailResult(); + std::string getItem()const; + std::string getType()const; + std::string getDescription()const; + long getCheckId()const; + std::string getLevel()const; + std::string getPrompt()const; + std::string getAdvice()const; + + protected: + void parse(const std::string &payload); + private: + std::string item_; + std::string type_; + std::string description_; + long checkId_; + std::string level_; + std::string prompt_; + std::string advice_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBECHECKWARNINGDETAILRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningSummaryRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningSummaryRequest.h new file mode 100644 index 000000000..bb6eeae80 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningSummaryRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBECHECKWARNINGSUMMARYREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBECHECKWARNINGSUMMARYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeCheckWarningSummaryRequest : public RpcServiceRequest + { + + public: + DescribeCheckWarningSummaryRequest(); + ~DescribeCheckWarningSummaryRequest(); + + std::string getRiskName()const; + void setRiskName(const std::string& riskName); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getRiskStatus()const; + void setRiskStatus(int riskStatus); + int getPageSize()const; + void setPageSize(int pageSize); + long getStrategyId()const; + void setStrategyId(long strategyId); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getTypeName()const; + void setTypeName(const std::string& typeName); + std::string getStatus()const; + void setStatus(const std::string& status); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string riskName_; + std::string sourceIp_; + int riskStatus_; + int pageSize_; + long strategyId_; + int currentPage_; + std::string lang_; + std::string typeName_; + std::string status_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBECHECKWARNINGSUMMARYREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningSummaryResult.h b/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningSummaryResult.h new file mode 100644 index 000000000..0919b0b5c --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningSummaryResult.h @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBECHECKWARNINGSUMMARYRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBECHECKWARNINGSUMMARYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeCheckWarningSummaryResult : public ServiceResult + { + public: + struct WarningSummary + { + long riskId; + std::string lastFoundTime; + int mediumWarningCount; + int checkCount; + int warningMachineCount; + std::string typeAlias; + std::string level; + int highWarningCount; + std::string riskName; + std::string subTypeAlias; + int lowWarningCount; + }; + + + DescribeCheckWarningSummaryResult(); + explicit DescribeCheckWarningSummaryResult(const std::string &payload); + ~DescribeCheckWarningSummaryResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + int getCount()const; + std::vector getWarningSummarys()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + int count_; + std::vector warningSummarys_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBECHECKWARNINGSUMMARYRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningsRequest.h new file mode 100644 index 000000000..f170df79e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningsRequest.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_AEGIS_MODEL_DESCRIBECHECKWARNINGSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBECHECKWARNINGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeCheckWarningsRequest : public RpcServiceRequest + { + + public: + DescribeCheckWarningsRequest(); + ~DescribeCheckWarningsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLang()const; + void setLang(const std::string& lang); + long getRiskId()const; + void setRiskId(long riskId); + std::string getUuid()const; + void setUuid(const std::string& uuid); + + private: + std::string sourceIp_; + int pageSize_; + int currentPage_; + std::string lang_; + long riskId_; + std::string uuid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBECHECKWARNINGSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningsResult.h new file mode 100644 index 000000000..c16d0ffa1 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeCheckWarningsResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBECHECKWARNINGSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBECHECKWARNINGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeCheckWarningsResult : public ServiceResult + { + public: + struct CheckWarning + { + int status; + std::string item; + std::string type; + std::string uuid; + long checkId; + long checkWarningId; + std::string level; + }; + + + DescribeCheckWarningsResult(); + explicit DescribeCheckWarningsResult(const std::string &payload); + ~DescribeCheckWarningsResult(); + int getTotalCount()const; + std::vector getCheckWarnings()const; + int getPageSize()const; + int getCurrentPage()const; + int getCount()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector checkWarnings_; + int pageSize_; + int currentPage_; + int count_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBECHECKWARNINGSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeConcernNecessityRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeConcernNecessityRequest.h new file mode 100644 index 000000000..61c8c0c30 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeConcernNecessityRequest.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_AEGIS_MODEL_DESCRIBECONCERNNECESSITYREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBECONCERNNECESSITYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeConcernNecessityRequest : public RpcServiceRequest + { + + public: + DescribeConcernNecessityRequest(); + ~DescribeConcernNecessityRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBECONCERNNECESSITYREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeConcernNecessityResult.h b/aegis/include/alibabacloud/aegis/model/DescribeConcernNecessityResult.h new file mode 100644 index 000000000..03dc998b2 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeConcernNecessityResult.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_AEGIS_MODEL_DESCRIBECONCERNNECESSITYRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBECONCERNNECESSITYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeConcernNecessityResult : public ServiceResult + { + public: + + + DescribeConcernNecessityResult(); + explicit DescribeConcernNecessityResult(const std::string &payload); + ~DescribeConcernNecessityResult(); + std::vector getConcernNecessity()const; + + protected: + void parse(const std::string &payload); + private: + std::vector concernNecessity_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBECONCERNNECESSITYRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeDataSourceRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeDataSourceRequest.h new file mode 100644 index 000000000..415697d2e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeDataSourceRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEDATASOURCEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEDATASOURCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeDataSourceRequest : public RpcServiceRequest + { + + public: + DescribeDataSourceRequest(); + ~DescribeDataSourceRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getDescription()const; + void setDescription(const std::string& description); + long getId()const; + void setId(long id); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getGroupName()const; + void setGroupName(const std::string& groupName); + + private: + std::string sourceIp_; + std::string description_; + long id_; + std::string lang_; + std::string groupName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEDATASOURCEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeDataSourceResult.h b/aegis/include/alibabacloud/aegis/model/DescribeDataSourceResult.h new file mode 100644 index 000000000..3181f9559 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeDataSourceResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEDATASOURCERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEDATASOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeDataSourceResult : public ServiceResult + { + public: + struct Data + { + struct MetaDataField + { + struct _Operator + { + std::string description; + std::string name; + }; + std::string filedName; + std::string filed; + std::string valueType; + std::string sample; + std::vector operatorList; + }; + std::string description; + std::vector metaDataFields; + std::string dateSourceName; + int dataSourceId; + }; + + + DescribeDataSourceResult(); + explicit DescribeDataSourceResult(const std::string &payload); + ~DescribeDataSourceResult(); + std::vector getMetaDatas()const; + int getCount()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector metaDatas_; + int count_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEDATASOURCERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeDefenceThreadRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeDefenceThreadRequest.h new file mode 100644 index 000000000..9494c5ee1 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeDefenceThreadRequest.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_AEGIS_MODEL_DESCRIBEDEFENCETHREADREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEDEFENCETHREADREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeDefenceThreadRequest : public RpcServiceRequest + { + + public: + DescribeDefenceThreadRequest(); + ~DescribeDefenceThreadRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEDEFENCETHREADREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeDefenceThreadResult.h b/aegis/include/alibabacloud/aegis/model/DescribeDefenceThreadResult.h new file mode 100644 index 000000000..ab8e4edb5 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeDefenceThreadResult.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_AEGIS_MODEL_DESCRIBEDEFENCETHREADRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEDEFENCETHREADRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeDefenceThreadResult : public ServiceResult + { + public: + + + DescribeDefenceThreadResult(); + explicit DescribeDefenceThreadResult(const std::string &payload); + ~DescribeDefenceThreadResult(); + std::vector getTamperProofAaggregateArray()const; + std::vector getDefenceCountArray()const; + int getDefenceCountTotal()const; + std::vector getDefenceAaggregatCountArray()const; + std::vector getTamperProofArray()const; + int getTamperProofTotal()const; + std::vector getDateArray()const; + + protected: + void parse(const std::string &payload); + private: + std::vector tamperProofAaggregateArray_; + std::vector defenceCountArray_; + int defenceCountTotal_; + std::vector defenceAaggregatCountArray_; + std::vector tamperProofArray_; + int tamperProofTotal_; + std::vector dateArray_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEDEFENCETHREADRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeDingTalkRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeDingTalkRequest.h new file mode 100644 index 000000000..70a52a346 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeDingTalkRequest.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_AEGIS_MODEL_DESCRIBEDINGTALKREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEDINGTALKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeDingTalkRequest : public RpcServiceRequest + { + + public: + DescribeDingTalkRequest(); + ~DescribeDingTalkRequest(); + + std::string getRuleActionName()const; + void setRuleActionName(const std::string& ruleActionName); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string ruleActionName_; + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEDINGTALKREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeDingTalkResult.h b/aegis/include/alibabacloud/aegis/model/DescribeDingTalkResult.h new file mode 100644 index 000000000..af18bfeea --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeDingTalkResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEDINGTALKRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEDINGTALKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeDingTalkResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + }; + struct ActionListItem + { + std::string actionName; + long gmtCreate; + long gmtModified; + int id; + int intervalTime; + std::string url; + long aliUid; + }; + + + DescribeDingTalkResult(); + explicit DescribeDingTalkResult(const std::string &payload); + ~DescribeDingTalkResult(); + PageInfo getPageInfo()const; + std::vector getActionList()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector actionList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEDINGTALKRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeEcsStsStatusRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeEcsStsStatusRequest.h new file mode 100644 index 000000000..414ab76fc --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeEcsStsStatusRequest.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_AEGIS_MODEL_DESCRIBEECSSTSSTATUSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEECSSTSSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeEcsStsStatusRequest : public RpcServiceRequest + { + + public: + DescribeEcsStsStatusRequest(); + ~DescribeEcsStsStatusRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEECSSTSSTATUSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeEcsStsStatusResult.h b/aegis/include/alibabacloud/aegis/model/DescribeEcsStsStatusResult.h new file mode 100644 index 000000000..f26b0230b --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeEcsStsStatusResult.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_AEGIS_MODEL_DESCRIBEECSSTSSTATUSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEECSSTSSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeEcsStsStatusResult : public ServiceResult + { + public: + + + DescribeEcsStsStatusResult(); + explicit DescribeEcsStsStatusResult(const std::string &payload); + ~DescribeEcsStsStatusResult(); + bool getGrant()const; + + protected: + void parse(const std::string &payload); + private: + bool grant_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEECSSTSSTATUSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeEmgNoticeRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeEmgNoticeRequest.h new file mode 100644 index 000000000..3594780b4 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeEmgNoticeRequest.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_AEGIS_MODEL_DESCRIBEEMGNOTICEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEMGNOTICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeEmgNoticeRequest : public RpcServiceRequest + { + + public: + DescribeEmgNoticeRequest(); + ~DescribeEmgNoticeRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEMGNOTICEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeEmgNoticeResult.h b/aegis/include/alibabacloud/aegis/model/DescribeEmgNoticeResult.h new file mode 100644 index 000000000..c1cb70e6b --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeEmgNoticeResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEMGNOTICERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEMGNOTICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeEmgNoticeResult : public ServiceResult + { + public: + struct EmgVulGroup + { + int status; + std::string type; + std::string description; + std::string aliasName; + long gmtPublish; + std::string name; + }; + + + DescribeEmgNoticeResult(); + explicit DescribeEmgNoticeResult(const std::string &payload); + ~DescribeEmgNoticeResult(); + int getTotalCount()const; + std::vector getEmgVulGroupList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector emgVulGroupList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEMGNOTICERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeEmgUserAgreementRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeEmgUserAgreementRequest.h new file mode 100644 index 000000000..dcd724227 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeEmgUserAgreementRequest.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_AEGIS_MODEL_DESCRIBEEMGUSERAGREEMENTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEMGUSERAGREEMENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeEmgUserAgreementRequest : public RpcServiceRequest + { + + public: + DescribeEmgUserAgreementRequest(); + ~DescribeEmgUserAgreementRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEMGUSERAGREEMENTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeEmgUserAgreementResult.h b/aegis/include/alibabacloud/aegis/model/DescribeEmgUserAgreementResult.h new file mode 100644 index 000000000..9f1291b1c --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeEmgUserAgreementResult.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_AEGIS_MODEL_DESCRIBEEMGUSERAGREEMENTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEMGUSERAGREEMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeEmgUserAgreementResult : public ServiceResult + { + public: + + + DescribeEmgUserAgreementResult(); + explicit DescribeEmgUserAgreementResult(const std::string &payload); + ~DescribeEmgUserAgreementResult(); + bool getAuth()const; + + protected: + void parse(const std::string &payload); + private: + bool auth_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEMGUSERAGREEMENTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeEmgVulGroupRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeEmgVulGroupRequest.h new file mode 100644 index 000000000..e845a86e8 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeEmgVulGroupRequest.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_AEGIS_MODEL_DESCRIBEEMGVULGROUPREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEMGVULGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeEmgVulGroupRequest : public RpcServiceRequest + { + + public: + DescribeEmgVulGroupRequest(); + ~DescribeEmgVulGroupRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEMGVULGROUPREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeEmgVulGroupResult.h b/aegis/include/alibabacloud/aegis/model/DescribeEmgVulGroupResult.h new file mode 100644 index 000000000..ea28023c1 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeEmgVulGroupResult.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_AEGIS_MODEL_DESCRIBEEMGVULGROUPRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEMGVULGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeEmgVulGroupResult : public ServiceResult + { + public: + struct EmgVulGroup + { + int pendingCount; + int status; + std::string type; + std::string description; + std::string aliasName; + long gmtPublish; + std::string name; + }; + + + DescribeEmgVulGroupResult(); + explicit DescribeEmgVulGroupResult(const std::string &payload); + ~DescribeEmgVulGroupResult(); + int getTotalCount()const; + std::vector getEmgVulGroupList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector emgVulGroupList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEMGVULGROUPRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeEventCountCurveRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeEventCountCurveRequest.h new file mode 100644 index 000000000..7f89549a5 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeEventCountCurveRequest.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_AEGIS_MODEL_DESCRIBEEVENTCOUNTCURVEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEVENTCOUNTCURVEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeEventCountCurveRequest : public RpcServiceRequest + { + + public: + DescribeEventCountCurveRequest(); + ~DescribeEventCountCurveRequest(); + + std::string getTypes()const; + void setTypes(const std::string& types); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getVulEventLevels()const; + void setVulEventLevels(const std::string& vulEventLevels); + int getLastDays()const; + void setLastDays(int lastDays); + std::string getHealthEventLevels()const; + void setHealthEventLevels(const std::string& healthEventLevels); + std::string getSuspiciousEventLevels()const; + void setSuspiciousEventLevels(const std::string& suspiciousEventLevels); + + private: + std::string types_; + std::string sourceIp_; + std::string vulEventLevels_; + int lastDays_; + std::string healthEventLevels_; + std::string suspiciousEventLevels_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEVENTCOUNTCURVEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeEventCountCurveResult.h b/aegis/include/alibabacloud/aegis/model/DescribeEventCountCurveResult.h new file mode 100644 index 000000000..12f1ffbbe --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeEventCountCurveResult.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEVENTCOUNTCURVERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEVENTCOUNTCURVERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeEventCountCurveResult : public ServiceResult + { + public: + struct CurveData + { + struct TimeScope + { + long start; + long end; + int step; + int interval; + }; + struct Item + { + struct DataItem + { + int high; + int serious; + int low; + int suspicious; + int medium; + int total; + int remind; + }; + std::vector data; + std::string name; + }; + TimeScope timeScope; + std::vector items; + }; + + + DescribeEventCountCurveResult(); + explicit DescribeEventCountCurveResult(const std::string &payload); + ~DescribeEventCountCurveResult(); + CurveData getCurveData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + CurveData curveData_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEVENTCOUNTCURVERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeEventLevelCountRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeEventLevelCountRequest.h new file mode 100644 index 000000000..c224a04b6 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeEventLevelCountRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEVENTLEVELCOUNTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEVENTLEVELCOUNTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeEventLevelCountRequest : public RpcServiceRequest + { + + public: + DescribeEventLevelCountRequest(); + ~DescribeEventLevelCountRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getType()const; + void setType(const std::string& type); + + private: + std::string sourceIp_; + std::string from_; + std::string type_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEVENTLEVELCOUNTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeEventLevelCountResult.h b/aegis/include/alibabacloud/aegis/model/DescribeEventLevelCountResult.h new file mode 100644 index 000000000..6935b53e4 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeEventLevelCountResult.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_AEGIS_MODEL_DESCRIBEEVENTLEVELCOUNTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEVENTLEVELCOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeEventLevelCountResult : public ServiceResult + { + public: + struct EventLevels + { + int serious; + int suspicious; + int remind; + }; + + + DescribeEventLevelCountResult(); + explicit DescribeEventLevelCountResult(const std::string &payload); + ~DescribeEventLevelCountResult(); + EventLevels getEventLevels()const; + + protected: + void parse(const std::string &payload); + private: + EventLevels eventLevels_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEVENTLEVELCOUNTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeExportInfoRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeExportInfoRequest.h new file mode 100644 index 000000000..3bb27d75f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeExportInfoRequest.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_AEGIS_MODEL_DESCRIBEEXPORTINFOREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEXPORTINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeExportInfoRequest : public RpcServiceRequest + { + + public: + DescribeExportInfoRequest(); + ~DescribeExportInfoRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getExportId()const; + void setExportId(long exportId); + + private: + std::string sourceIp_; + long exportId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEXPORTINFOREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeExportInfoResult.h b/aegis/include/alibabacloud/aegis/model/DescribeExportInfoResult.h new file mode 100644 index 000000000..d5bf49184 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeExportInfoResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEXPORTINFORESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEXPORTINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeExportInfoResult : public ServiceResult + { + public: + + + DescribeExportInfoResult(); + explicit DescribeExportInfoResult(const std::string &payload); + ~DescribeExportInfoResult(); + int getProgress()const; + int getTotalCount()const; + long getGmtCreate()const; + std::string getMessage()const; + std::string getResultStatus()const; + std::string getFileName()const; + int getCurrentCount()const; + int getId()const; + std::string getLink()const; + + protected: + void parse(const std::string &payload); + private: + int progress_; + int totalCount_; + long gmtCreate_; + std::string message_; + std::string resultStatus_; + std::string fileName_; + int currentCount_; + int id_; + std::string link_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEEXPORTINFORESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeFilterFieldsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeFilterFieldsRequest.h new file mode 100644 index 000000000..b9d844bc1 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeFilterFieldsRequest.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_AEGIS_MODEL_DESCRIBEFILTERFIELDSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEFILTERFIELDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeFilterFieldsRequest : public RpcServiceRequest + { + + public: + DescribeFilterFieldsRequest(); + ~DescribeFilterFieldsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getQuery()const; + void setQuery(const std::string& query); + + private: + std::string sourceIp_; + std::string query_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEFILTERFIELDSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeFilterFieldsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeFilterFieldsResult.h new file mode 100644 index 000000000..dd3137dfa --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeFilterFieldsResult.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_AEGIS_MODEL_DESCRIBEFILTERFIELDSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEFILTERFIELDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeFilterFieldsResult : public ServiceResult + { + public: + struct LogFilterListItem + { + std::string fields; + }; + + + DescribeFilterFieldsResult(); + explicit DescribeFilterFieldsResult(const std::string &payload); + ~DescribeFilterFieldsResult(); + std::vector getLogFilterList()const; + long getTotal()const; + + protected: + void parse(const std::string &payload); + private: + std::vector logFilterList_; + long total_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEFILTERFIELDSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeGroupListRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeGroupListRequest.h new file mode 100644 index 000000000..8cdad5ea9 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeGroupListRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPLISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeGroupListRequest : public RpcServiceRequest + { + + public: + DescribeGroupListRequest(); + ~DescribeGroupListRequest(); + + std::string getWarnLevel()const; + void setWarnLevel(const std::string& warnLevel); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getRuleGroupId()const; + void setRuleGroupId(long ruleGroupId); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLang()const; + void setLang(const std::string& lang); + long getExGroupId()const; + void setExGroupId(long exGroupId); + + private: + std::string warnLevel_; + std::string sourceIp_; + long ruleGroupId_; + int pageSize_; + int currentPage_; + std::string lang_; + long exGroupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPLISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeGroupListResult.h b/aegis/include/alibabacloud/aegis/model/DescribeGroupListResult.h new file mode 100644 index 000000000..ea4983da6 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeGroupListResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPLISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeGroupListResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct RuleGroupsItem + { + std::string groupName; + int status; + long modified; + std::string description; + std::string machineGroupIds; + long create; + int id; + int ruleNum; + long aliUid; + }; + + + DescribeGroupListResult(); + explicit DescribeGroupListResult(const std::string &payload); + ~DescribeGroupListResult(); + PageInfo getPageInfo()const; + std::vector getRuleGroups()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector ruleGroups_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPLISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeGroupStructRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeGroupStructRequest.h new file mode 100644 index 000000000..a33893088 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeGroupStructRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPSTRUCTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPSTRUCTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeGroupStructRequest : public RpcServiceRequest + { + + public: + DescribeGroupStructRequest(); + ~DescribeGroupStructRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getTagIdList()const; + void setTagIdList(const std::string& tagIdList); + std::string getRemark()const; + void setRemark(const std::string& remark); + + private: + std::string sourceIp_; + std::string tagIdList_; + std::string remark_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPSTRUCTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeGroupStructResult.h b/aegis/include/alibabacloud/aegis/model/DescribeGroupStructResult.h new file mode 100644 index 000000000..155ba7e2a --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeGroupStructResult.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_AEGIS_MODEL_DESCRIBEGROUPSTRUCTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPSTRUCTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeGroupStructResult : public ServiceResult + { + public: + + + DescribeGroupStructResult(); + explicit DescribeGroupStructResult(const std::string &payload); + ~DescribeGroupStructResult(); + std::string getGroupName()const; + int getMachineNum()const; + int getGroupLevel()const; + std::vector getGroups()const; + int getGroupIndex()const; + int getGroupFather()const; + int getGroupFlag()const; + long getGroupId()const; + + protected: + void parse(const std::string &payload); + private: + std::string groupName_; + int machineNum_; + int groupLevel_; + std::vector groups_; + int groupIndex_; + int groupFather_; + int groupFlag_; + long groupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPSTRUCTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeGroupedVulRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeGroupedVulRequest.h new file mode 100644 index 000000000..d2d7b7440 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeGroupedVulRequest.h @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPEDVULREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPEDVULREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeGroupedVulRequest : public RpcServiceRequest + { + + public: + DescribeGroupedVulRequest(); + ~DescribeGroupedVulRequest(); + + std::string getStatusList()const; + void setStatusList(const std::string& statusList); + std::string getLevel()const; + void setLevel(const std::string& level); + std::string getOrderBy()const; + void setOrderBy(const std::string& orderBy); + std::string getDealed()const; + void setDealed(const std::string& dealed); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getType()const; + void setType(const std::string& type); + long getLastTsEnd()const; + void setLastTsEnd(long lastTsEnd); + long getCreateTsStart()const; + void setCreateTsStart(long createTsStart); + std::string getAliasName()const; + void setAliasName(const std::string& aliasName); + long getPatchId()const; + void setPatchId(long patchId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getName()const; + void setName(const std::string& name); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + long getCreateTsEnd()const; + void setCreateTsEnd(long createTsEnd); + long getLastTsStart()const; + void setLastTsStart(long lastTsStart); + std::string getNecessity()const; + void setNecessity(const std::string& necessity); + std::string getUuids()const; + void setUuids(const std::string& uuids); + std::string getDirection()const; + void setDirection(const std::string& direction); + + private: + std::string statusList_; + std::string level_; + std::string orderBy_; + std::string dealed_; + int currentPage_; + std::string type_; + long lastTsEnd_; + long createTsStart_; + std::string aliasName_; + long patchId_; + std::string sourceIp_; + std::string name_; + int pageSize_; + std::string lang_; + long createTsEnd_; + long lastTsStart_; + std::string necessity_; + std::string uuids_; + std::string direction_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPEDVULREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeGroupedVulResult.h b/aegis/include/alibabacloud/aegis/model/DescribeGroupedVulResult.h new file mode 100644 index 000000000..dc633348f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeGroupedVulResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPEDVULRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPEDVULRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeGroupedVulResult : public ServiceResult + { + public: + struct GroupedVulItem + { + int status; + std::string type; + long gmtLast; + int laterCount; + int handledCount; + std::string aliasName; + int asapCount; + int nntfCount; + std::string name; + }; + + + DescribeGroupedVulResult(); + explicit DescribeGroupedVulResult(const std::string &payload); + ~DescribeGroupedVulResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getGroupedVulItems()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector groupedVulItems_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEGROUPEDVULRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeHistogramRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeHistogramRequest.h new file mode 100644 index 000000000..12df7ec3b --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeHistogramRequest.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_AEGIS_MODEL_DESCRIBEHISTOGRAMREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEHISTOGRAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeHistogramRequest : public RpcServiceRequest + { + + public: + DescribeHistogramRequest(); + ~DescribeHistogramRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getQuery()const; + void setQuery(const std::string& query); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + + private: + std::string sourceIp_; + std::string query_; + std::string endTime_; + std::string startTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEHISTOGRAMREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeHistogramResult.h b/aegis/include/alibabacloud/aegis/model/DescribeHistogramResult.h new file mode 100644 index 000000000..1b7740e5c --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeHistogramResult.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_AEGIS_MODEL_DESCRIBEHISTOGRAMRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEHISTOGRAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeHistogramResult : public ServiceResult + { + public: + struct ItemsItem + { + std::vector data; + }; + + + DescribeHistogramResult(); + explicit DescribeHistogramResult(const std::string &payload); + ~DescribeHistogramResult(); + std::vector getCategories()const; + std::vector getItems()const; + + protected: + void parse(const std::string &payload); + private: + std::vector categories_; + std::vector items_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEHISTOGRAMRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeInstanceStatisticsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeInstanceStatisticsRequest.h new file mode 100644 index 000000000..f130cd0f1 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeInstanceStatisticsRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEINSTANCESTATISTICSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEINSTANCESTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeInstanceStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeInstanceStatisticsRequest(); + ~DescribeInstanceStatisticsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getUuid()const; + void setUuid(const std::string& uuid); + + private: + std::string sourceIp_; + std::string lang_; + std::string uuid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEINSTANCESTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeInstanceStatisticsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeInstanceStatisticsResult.h new file mode 100644 index 000000000..cf5743998 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeInstanceStatisticsResult.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEINSTANCESTATISTICSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEINSTANCESTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeInstanceStatisticsResult : public ServiceResult + { + public: + struct Entity + { + int account; + std::string uuid; + int health; + int suspicious; + int trojan; + int vul; + }; + + + DescribeInstanceStatisticsResult(); + explicit DescribeInstanceStatisticsResult(const std::string &payload); + ~DescribeInstanceStatisticsResult(); + std::vector getData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEINSTANCESTATISTICSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeJoinRuleListRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeJoinRuleListRequest.h new file mode 100644 index 000000000..1c504ad76 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeJoinRuleListRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEJOINRULELISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEJOINRULELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeJoinRuleListRequest : public RpcServiceRequest + { + + public: + DescribeJoinRuleListRequest(); + ~DescribeJoinRuleListRequest(); + + std::string getWarnLevel()const; + void setWarnLevel(const std::string& warnLevel); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + long getRemark()const; + void setRemark(long remark); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + + private: + std::string warnLevel_; + std::string sourceIp_; + int pageSize_; + long remark_; + int currentPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEJOINRULELISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeJoinRuleListResult.h b/aegis/include/alibabacloud/aegis/model/DescribeJoinRuleListResult.h new file mode 100644 index 000000000..6f039a3e8 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeJoinRuleListResult.h @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEJOINRULELISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEJOINRULELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeJoinRuleListResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct JoinRuleListItem + { + bool needGroup; + std::string description; + std::string statisticsRules; + std::string actions; + int ruleId; + int timeWindow; + std::string statusCode; + std::string warnLevel; + int dataSourceId1; + std::string expression1; + int dataSourceId2; + std::string expression2; + std::string ruleName; + std::string joinRelation; + }; + + + DescribeJoinRuleListResult(); + explicit DescribeJoinRuleListResult(const std::string &payload); + ~DescribeJoinRuleListResult(); + PageInfo getPageInfo()const; + std::vector getJoinRuleList()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector joinRuleList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEJOINRULELISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeListAccessKeyIdAuthRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeListAccessKeyIdAuthRequest.h new file mode 100644 index 000000000..39a8d30da --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeListAccessKeyIdAuthRequest.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_AEGIS_MODEL_DESCRIBELISTACCESSKEYIDAUTHREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBELISTACCESSKEYIDAUTHREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeListAccessKeyIdAuthRequest : public RpcServiceRequest + { + + public: + DescribeListAccessKeyIdAuthRequest(); + ~DescribeListAccessKeyIdAuthRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBELISTACCESSKEYIDAUTHREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeListAccessKeyIdAuthResult.h b/aegis/include/alibabacloud/aegis/model/DescribeListAccessKeyIdAuthResult.h new file mode 100644 index 000000000..5e9efba14 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeListAccessKeyIdAuthResult.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_AEGIS_MODEL_DESCRIBELISTACCESSKEYIDAUTHRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBELISTACCESSKEYIDAUTHRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeListAccessKeyIdAuthResult : public ServiceResult + { + public: + + + DescribeListAccessKeyIdAuthResult(); + explicit DescribeListAccessKeyIdAuthResult(const std::string &payload); + ~DescribeListAccessKeyIdAuthResult(); + bool getAuth()const; + + protected: + void parse(const std::string &payload); + private: + bool auth_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBELISTACCESSKEYIDAUTHRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeLogInfoRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeLogInfoRequest.h new file mode 100644 index 000000000..1ffa6b699 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeLogInfoRequest.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_AEGIS_MODEL_DESCRIBELOGINFOREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeLogInfoRequest : public RpcServiceRequest + { + + public: + DescribeLogInfoRequest(); + ~DescribeLogInfoRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getQuery()const; + void setQuery(const std::string& query); + std::string getPageSize()const; + void setPageSize(const std::string& pageSize); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getCurrentPage()const; + void setCurrentPage(const std::string& currentPage); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + + private: + std::string sourceIp_; + std::string query_; + std::string pageSize_; + std::string endTime_; + std::string currentPage_; + std::string startTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGINFOREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeLogInfoResult.h b/aegis/include/alibabacloud/aegis/model/DescribeLogInfoResult.h new file mode 100644 index 000000000..6b361c2b6 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeLogInfoResult.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_AEGIS_MODEL_DESCRIBELOGINFORESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeLogInfoResult : public ServiceResult + { + public: + struct Item + { + struct Field + { + std::string desc; + std::string type; + std::string name; + }; + std::vector fields; + std::string id; + std::string name; + }; + + + DescribeLogInfoResult(); + explicit DescribeLogInfoResult(const std::string &payload); + ~DescribeLogInfoResult(); + int getTotalCount()const; + std::vector getLogInfoItems()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector logInfoItems_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGINFORESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeLogItemsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeLogItemsRequest.h new file mode 100644 index 000000000..1ab913ae8 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeLogItemsRequest.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGITEMSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGITEMSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeLogItemsRequest : public RpcServiceRequest + { + + public: + DescribeLogItemsRequest(); + ~DescribeLogItemsRequest(); + + int getLoginOffset()const; + void setLoginOffset(int loginOffset); + int getProcessSnapshotOffset()const; + void setProcessSnapshotOffset(int processSnapshotOffset); + int getPortSnapshotOffset()const; + void setPortSnapshotOffset(int portSnapshotOffset); + std::string getQuery()const; + void setQuery(const std::string& query); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getCurrentPage()const; + void setCurrentPage(const std::string& currentPage); + int getNetworkOffset()const; + void setNetworkOffset(int networkOffset); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + int getAccountSnapshotOffset()const; + void setAccountSnapshotOffset(int accountSnapshotOffset); + int getProcessOffset()const; + void setProcessOffset(int processOffset); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getCrackOffset()const; + void setCrackOffset(int crackOffset); + std::string getPageSize()const; + void setPageSize(const std::string& pageSize); + + private: + int loginOffset_; + int processSnapshotOffset_; + int portSnapshotOffset_; + std::string query_; + std::string endTime_; + std::string currentPage_; + int networkOffset_; + std::string startTime_; + int accountSnapshotOffset_; + int processOffset_; + std::string sourceIp_; + int crackOffset_; + std::string pageSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGITEMSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeLogItemsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeLogItemsResult.h new file mode 100644 index 000000000..fa1b0e1a9 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeLogItemsResult.h @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGITEMSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGITEMSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeLogItemsResult : public ServiceResult + { + public: + struct LogsListItem + { + struct MContentsItem + { + std::string mKey; + std::string mValue; + }; + std::string mLogTime; + std::string logSource; + std::vector mContents; + std::string logSourceId; + }; + + + DescribeLogItemsResult(); + explicit DescribeLogItemsResult(const std::string &payload); + ~DescribeLogItemsResult(); + int getSetPageSize()const; + std::vector getLogsList()const; + int getCrackOffset()const; + int getAccountSnapshotTotalCount()const; + int getProcessOffset()const; + int getNetworkOffset()const; + int getTotalCount()const; + int getProcessSnapshotOffset()const; + int getLoginTotalCount()const; + int getCurrentPage()const; + int getPortSnapshotOffset()const; + int getNetworkTotalCount()const; + int getAccountSnapshotOffset()const; + int getCrackTotalCount()const; + int getProcessSnapshotTotalCount()const; + int getPortSnapshotTotalCount()const; + int getProcessTotalCount()const; + + protected: + void parse(const std::string &payload); + private: + int setPageSize_; + std::vector logsList_; + int crackOffset_; + int accountSnapshotTotalCount_; + int processOffset_; + int networkOffset_; + int totalCount_; + int processSnapshotOffset_; + int loginTotalCount_; + int currentPage_; + int portSnapshotOffset_; + int networkTotalCount_; + int accountSnapshotOffset_; + int crackTotalCount_; + int processSnapshotTotalCount_; + int portSnapshotTotalCount_; + int processTotalCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGITEMSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeLogMetaRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeLogMetaRequest.h new file mode 100644 index 000000000..729c9e2c8 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeLogMetaRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGMETAREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGMETAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeLogMetaRequest : public RpcServiceRequest + { + + public: + DescribeLogMetaRequest(); + ~DescribeLogMetaRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string from_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGMETAREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeLogMetaResult.h b/aegis/include/alibabacloud/aegis/model/DescribeLogMetaResult.h new file mode 100644 index 000000000..7d1daf8c6 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeLogMetaResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGMETARESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGMETARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeLogMetaResult : public ServiceResult + { + public: + struct LogMeta + { + std::string status; + std::string project; + std::string category; + std::string userProject; + std::string logStore; + std::string logDesc; + }; + + + DescribeLogMetaResult(); + explicit DescribeLogMetaResult(const std::string &payload); + ~DescribeLogMetaResult(); + int getTotalCount()const; + std::vector getLogMetaList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector logMetaList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGMETARESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeLogQueryRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeLogQueryRequest.h new file mode 100644 index 000000000..243c52ec6 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeLogQueryRequest.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_AEGIS_MODEL_DESCRIBELOGQUERYREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGQUERYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeLogQueryRequest : public RpcServiceRequest + { + + public: + DescribeLogQueryRequest(); + ~DescribeLogQueryRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGQUERYREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeLogQueryResult.h b/aegis/include/alibabacloud/aegis/model/DescribeLogQueryResult.h new file mode 100644 index 000000000..4e83f44bc --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeLogQueryResult.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_AEGIS_MODEL_DESCRIBELOGQUERYRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGQUERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeLogQueryResult : public ServiceResult + { + public: + struct QueryItemsItem + { + std::string queryDetail; + std::string conditions; + std::string queryName; + }; + + + DescribeLogQueryResult(); + explicit DescribeLogQueryResult(const std::string &payload); + ~DescribeLogQueryResult(); + int getListTotal()const; + std::vector getQueryItems()const; + + protected: + void parse(const std::string &payload); + private: + int listTotal_; + std::vector queryItems_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGQUERYRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeLogShipperStatusRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeLogShipperStatusRequest.h new file mode 100644 index 000000000..343488c46 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeLogShipperStatusRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGSHIPPERSTATUSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGSHIPPERSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeLogShipperStatusRequest : public RpcServiceRequest + { + + public: + DescribeLogShipperStatusRequest(); + ~DescribeLogShipperStatusRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string from_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGSHIPPERSTATUSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeLogShipperStatusResult.h b/aegis/include/alibabacloud/aegis/model/DescribeLogShipperStatusResult.h new file mode 100644 index 000000000..e529a3da8 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeLogShipperStatusResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGSHIPPERSTATUSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGSHIPPERSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeLogShipperStatusResult : public ServiceResult + { + public: + struct LogShipperStatus + { + std::string slsServiceStatus; + std::string authStatus; + std::string buyStatus; + std::string openStatus; + }; + + + DescribeLogShipperStatusResult(); + explicit DescribeLogShipperStatusResult(const std::string &payload); + ~DescribeLogShipperStatusResult(); + LogShipperStatus getLogShipperStatus()const; + + protected: + void parse(const std::string &payload); + private: + LogShipperStatus logShipperStatus_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGSHIPPERSTATUSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeLoginLogsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeLoginLogsRequest.h index 0e0570ddb..ebc5f07dc 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeLoginLogsRequest.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeLoginLogsRequest.h @@ -35,20 +35,29 @@ namespace AlibabaCloud DescribeLoginLogsRequest(); ~DescribeLoginLogsRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); + std::string getTypes()const; + void setTypes(const std::string& types); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); int getPageSize()const; void setPageSize(int pageSize); + std::string getStatuses()const; + void setStatuses(const std::string& statuses); int getCurrentPage()const; void setCurrentPage(int currentPage); + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getTag()const; + void setTag(const std::string& tag); private: - long resourceOwnerId_; + std::string types_; std::string sourceIp_; int pageSize_; + std::string statuses_; int currentPage_; + std::string remark_; + std::string tag_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeLoginLogsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeLoginLogsResult.h index ff470040e..ea88f6b38 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeLoginLogsResult.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeLoginLogsResult.h @@ -32,25 +32,43 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT DescribeLoginLogsResult : public ServiceResult { public: + struct LogListItem + { + int status; + long loginTime; + std::string protocolName; + std::string loginSourceIp; + std::string userName; + std::string instanceId; + std::string ip; + std::string osVersion; + long groupId; + std::string instanceName; + std::string type; + std::string uuid; + std::string region; + long id; + int protocol; + std::string online; + std::string location; + }; DescribeLoginLogsResult(); explicit DescribeLoginLogsResult(const std::string &payload); ~DescribeLoginLogsResult(); - int getTotalCount()const; - int getPageSize()const; - int getCurrentPage()const; - int getHttpStatusCode()const; - std::vector getLoginLogs()const; + std::vector getLogList()const; + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; protected: void parse(const std::string &payload); private: - int totalCount_; - int pageSize_; - int currentPage_; - int httpStatusCode_; - std::vector loginLogs_; + std::vector logList_; + int totalCount_; + int pageSize_; + int currentPage_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeLogstoreStorageRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeLogstoreStorageRequest.h new file mode 100644 index 000000000..2ca8faf32 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeLogstoreStorageRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGSTORESTORAGEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGSTORESTORAGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeLogstoreStorageRequest : public RpcServiceRequest + { + + public: + DescribeLogstoreStorageRequest(); + ~DescribeLogstoreStorageRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string from_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGSTORESTORAGEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeLogstoreStorageResult.h b/aegis/include/alibabacloud/aegis/model/DescribeLogstoreStorageResult.h new file mode 100644 index 000000000..20464c70d --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeLogstoreStorageResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGSTORESTORAGERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGSTORESTORAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeLogstoreStorageResult : public ServiceResult + { + public: + + + DescribeLogstoreStorageResult(); + explicit DescribeLogstoreStorageResult(const std::string &payload); + ~DescribeLogstoreStorageResult(); + long getUsed()const; + std::string getLogstore()const; + int getTtl()const; + long getPreserve()const; + + protected: + void parse(const std::string &payload); + private: + long used_; + std::string logstore_; + int ttl_; + long preserve_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGSTORESTORAGERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeMacConfigRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeMacConfigRequest.h new file mode 100644 index 000000000..0de79bb76 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeMacConfigRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEMACCONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEMACCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeMacConfigRequest : public RpcServiceRequest + { + + public: + DescribeMacConfigRequest(); + ~DescribeMacConfigRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getTypes()const; + void setTypes(const std::string& types); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getExtern()const; + void setExtern(const std::string& extern); + std::string getType()const; + void setType(const std::string& type); + std::string getConfig()const; + void setConfig(const std::string& config); + std::string getTarget()const; + void setTarget(const std::string& target); + + private: + long resourceOwnerId_; + std::string types_; + std::string sourceIp_; + std::string extern_; + std::string type_; + std::string config_; + std::string target_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEMACCONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeMacConfigResult.h b/aegis/include/alibabacloud/aegis/model/DescribeMacConfigResult.h new file mode 100644 index 000000000..be4448f86 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeMacConfigResult.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_AEGIS_MODEL_DESCRIBEMACCONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEMACCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeMacConfigResult : public ServiceResult + { + public: + struct Config + { + struct Target + { + std::string target; + std::string targetType; + std::string flag; + }; + std::vector targetList; + std::string account; + int totalCount; + std::string endTime; + std::string switcher; + std::string ip; + std::string startTime; + long strategyId; + int uuidCount; + std::string location; + std::string vulType; + }; + + + DescribeMacConfigResult(); + explicit DescribeMacConfigResult(const std::string &payload); + ~DescribeMacConfigResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getConfigs()const; + int getCount()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector configs_; + int count_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEMACCONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeMachineConfigRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeMachineConfigRequest.h new file mode 100644 index 000000000..8f6cf7912 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeMachineConfigRequest.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_AEGIS_MODEL_DESCRIBEMACHINECONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEMACHINECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeMachineConfigRequest : public RpcServiceRequest + { + + public: + DescribeMachineConfigRequest(); + ~DescribeMachineConfigRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getTypes()const; + void setTypes(const std::string& types); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getType()const; + void setType(const std::string& type); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getConfig()const; + void setConfig(const std::string& config); + std::string getTarget()const; + void setTarget(const std::string& target); + + private: + long resourceOwnerId_; + std::string types_; + std::string sourceIp_; + int pageSize_; + int currentPage_; + std::string type_; + std::string lang_; + std::string config_; + std::string target_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEMACHINECONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeMachineConfigResult.h b/aegis/include/alibabacloud/aegis/model/DescribeMachineConfigResult.h new file mode 100644 index 000000000..dbdd82145 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeMachineConfigResult.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_AEGIS_MODEL_DESCRIBEMACHINECONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEMACHINECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeMachineConfigResult : public ServiceResult + { + public: + struct ConfigTarget + { + std::string target; + std::string targetType; + std::string flag; + }; + + + DescribeMachineConfigResult(); + explicit DescribeMachineConfigResult(const std::string &payload); + ~DescribeMachineConfigResult(); + int getCount()const; + std::vector getConfigTargets()const; + + protected: + void parse(const std::string &payload); + private: + int count_; + std::vector configTargets_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEMACHINECONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeMetaDataRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeMetaDataRequest.h new file mode 100644 index 000000000..252f13030 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeMetaDataRequest.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_AEGIS_MODEL_DESCRIBEMETADATAREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEMETADATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeMetaDataRequest : public RpcServiceRequest + { + + public: + DescribeMetaDataRequest(); + ~DescribeMetaDataRequest(); + + std::string getProjectName()const; + void setProjectName(const std::string& projectName); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLogStoreName()const; + void setLogStoreName(const std::string& logStoreName); + std::string getRegionNo()const; + void setRegionNo(const std::string& regionNo); + + private: + std::string projectName_; + std::string sourceIp_; + std::string logStoreName_; + std::string regionNo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEMETADATAREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeMetaDataResult.h b/aegis/include/alibabacloud/aegis/model/DescribeMetaDataResult.h new file mode 100644 index 000000000..e9e79b524 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeMetaDataResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEMETADATARESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEMETADATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeMetaDataResult : public ServiceResult + { + public: + struct MetaData + { + struct DatasourceField + { + std::string fieldAliasName; + std::string valueType; + int isIdentification; + std::string fieldValue; + std::string fieldName; + std::string fieldDescription; + std::string fieldType; + }; + int status; + std::vector datasourceFieldList; + std::string logStoreName; + std::string projectName; + }; + + + DescribeMetaDataResult(); + explicit DescribeMetaDataResult(const std::string &payload); + ~DescribeMetaDataResult(); + MetaData getMetaData()const; + + protected: + void parse(const std::string &payload); + private: + MetaData metaData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEMETADATARESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeNsasSuspEventTypeRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeNsasSuspEventTypeRequest.h new file mode 100644 index 000000000..a09f4a7df --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeNsasSuspEventTypeRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBENSASSUSPEVENTTYPEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBENSASSUSPEVENTTYPEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeNsasSuspEventTypeRequest : public RpcServiceRequest + { + + public: + DescribeNsasSuspEventTypeRequest(); + ~DescribeNsasSuspEventTypeRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getName()const; + void setName(const std::string& name); + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string name_; + std::string remark_; + std::string from_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBENSASSUSPEVENTTYPEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeNsasSuspEventTypeResult.h b/aegis/include/alibabacloud/aegis/model/DescribeNsasSuspEventTypeResult.h new file mode 100644 index 000000000..f085800a9 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeNsasSuspEventTypeResult.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_AEGIS_MODEL_DESCRIBENSASSUSPEVENTTYPERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBENSASSUSPEVENTTYPERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeNsasSuspEventTypeResult : public ServiceResult + { + public: + struct Data + { + std::string type; + int suspEventCount; + std::string name; + }; + + + DescribeNsasSuspEventTypeResult(); + explicit DescribeNsasSuspEventTypeResult(const std::string &payload); + ~DescribeNsasSuspEventTypeResult(); + std::vector getEventTypes()const; + + protected: + void parse(const std::string &payload); + private: + std::vector eventTypes_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBENSASSUSPEVENTTYPERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeOperateInfoRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeOperateInfoRequest.h new file mode 100644 index 000000000..433a05928 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeOperateInfoRequest.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_AEGIS_MODEL_DESCRIBEOPERATEINFOREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEOPERATEINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeOperateInfoRequest : public RpcServiceRequest + { + + public: + DescribeOperateInfoRequest(); + ~DescribeOperateInfoRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEOPERATEINFOREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeOperateInfoResult.h b/aegis/include/alibabacloud/aegis/model/DescribeOperateInfoResult.h new file mode 100644 index 000000000..a58dfa89d --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeOperateInfoResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEOPERATEINFORESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEOPERATEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeOperateInfoResult : public ServiceResult + { + public: + + + DescribeOperateInfoResult(); + explicit DescribeOperateInfoResult(const std::string &payload); + ~DescribeOperateInfoResult(); + std::vector getVulValueArray()const; + std::vector getVulAaggregatValueArray()const; + std::vector getHealthCheckAaggregatValueArray()const; + int getSecurityEventDealedCount()const; + std::vector getSuspEventValueArray()const; + std::vector getSuspEventAaggregatValueArray()const; + int getVulnerabilityDealedCount()const; + std::vector getDateArray()const; + std::vector getHealthCheckValueArray()const; + int getHealthCheckDealedCount()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector vulValueArray_; + std::vector vulAaggregatValueArray_; + std::vector healthCheckAaggregatValueArray_; + int securityEventDealedCount_; + std::vector suspEventValueArray_; + std::vector suspEventAaggregatValueArray_; + int vulnerabilityDealedCount_; + std::vector dateArray_; + std::vector healthCheckValueArray_; + int healthCheckDealedCount_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEOPERATEINFORESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeQuaraFileRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeQuaraFileRequest.h new file mode 100644 index 000000000..bf9339127 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeQuaraFileRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEQUARAFILEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEQUARAFILEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeQuaraFileRequest : public RpcServiceRequest + { + + public: + DescribeQuaraFileRequest(); + ~DescribeQuaraFileRequest(); + + 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: + std::string sourceIp_; + int pageSize_; + int currentPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEQUARAFILEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeQuaraFileResult.h b/aegis/include/alibabacloud/aegis/model/DescribeQuaraFileResult.h new file mode 100644 index 000000000..ed2b70175 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeQuaraFileResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEQUARAFILERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEQUARAFILERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeQuaraFileResult : public ServiceResult + { + public: + struct QuaraFile + { + std::string path; + std::string uuid; + std::string fileStatus; + std::string eventType; + std::string eventName; + std::string tag; + bool online; + std::string md5; + }; + + + DescribeQuaraFileResult(); + explicit DescribeQuaraFileResult(const std::string &payload); + ~DescribeQuaraFileResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getQuaraFiles()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector quaraFiles_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEQUARAFILERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeResultListRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeResultListRequest.h new file mode 100644 index 000000000..4a5699d7c --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeResultListRequest.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_AEGIS_MODEL_DESCRIBERESULTLISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBERESULTLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeResultListRequest : public RpcServiceRequest + { + + public: + DescribeResultListRequest(); + ~DescribeResultListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + long getEndTime()const; + void setEndTime(long endTime); + std::string getRuleName()const; + void setRuleName(const std::string& ruleName); + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getUuidList()const; + void setUuidList(const std::string& uuidList); + std::string getDealed()const; + void setDealed(const std::string& dealed); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + long getStartTime()const; + void setStartTime(long startTime); + + private: + std::string sourceIp_; + int pageSize_; + long endTime_; + std::string ruleName_; + std::string remark_; + std::string uuidList_; + std::string dealed_; + int currentPage_; + long startTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBERESULTLISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeResultListResult.h b/aegis/include/alibabacloud/aegis/model/DescribeResultListResult.h new file mode 100644 index 000000000..1e884e9e3 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeResultListResult.h @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBERESULTLISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBERESULTLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeResultListResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct ResultListItem + { + long lastOperate; + int status; + std::string ruleDescription; + std::string instanceId; + int ruleId; + std::string ruleType; + std::string intranetIp; + std::string instanceName; + std::string warnLevel; + std::string details; + long lastTimestamp; + std::string internetIp; + std::string uniqueKey; + long modifiedTimestamp; + int id; + std::string fieldKey1; + long createTimestamp; + std::string ruleName; + long aliUid; + std::string fieldKey; + }; + + + DescribeResultListResult(); + explicit DescribeResultListResult(const std::string &payload); + ~DescribeResultListResult(); + PageInfo getPageInfo()const; + std::vector getResultList()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector resultList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBERESULTLISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeRiskTypeRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeRiskTypeRequest.h new file mode 100644 index 000000000..154d06522 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeRiskTypeRequest.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_AEGIS_MODEL_DESCRIBERISKTYPEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBERISKTYPEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeRiskTypeRequest : public RpcServiceRequest + { + + public: + DescribeRiskTypeRequest(); + ~DescribeRiskTypeRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getStrategyId()const; + void setStrategyId(long strategyId); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string sourceIp_; + long strategyId_; + std::string lang_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBERISKTYPEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeRiskTypeResult.h b/aegis/include/alibabacloud/aegis/model/DescribeRiskTypeResult.h new file mode 100644 index 000000000..4d25da5f4 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeRiskTypeResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBERISKTYPERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBERISKTYPERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeRiskTypeResult : public ServiceResult + { + public: + struct RiskType + { + struct SubType + { + std::string typeName; + std::string alias; + std::string warnCount; + }; + std::string typeName; + std::vector subTypes; + std::string alias; + std::string warnCount; + }; + + + DescribeRiskTypeResult(); + explicit DescribeRiskTypeResult(const std::string &payload); + ~DescribeRiskTypeResult(); + std::vector getRiskTypes()const; + int getCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector riskTypes_; + int count_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBERISKTYPERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeRiskWhiteListRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeRiskWhiteListRequest.h new file mode 100644 index 000000000..1effc742e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeRiskWhiteListRequest.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_AEGIS_MODEL_DESCRIBERISKWHITELISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBERISKWHITELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeRiskWhiteListRequest : public RpcServiceRequest + { + + public: + DescribeRiskWhiteListRequest(); + ~DescribeRiskWhiteListRequest(); + + std::string getRiskName()const; + void setRiskName(const std::string& riskName); + 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: + std::string riskName_; + std::string sourceIp_; + int pageSize_; + int currentPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBERISKWHITELISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeRiskWhiteListResult.h b/aegis/include/alibabacloud/aegis/model/DescribeRiskWhiteListResult.h new file mode 100644 index 000000000..84116cef9 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeRiskWhiteListResult.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_AEGIS_MODEL_DESCRIBERISKWHITELISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBERISKWHITELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeRiskWhiteListResult : public ServiceResult + { + public: + struct WhiteList + { + long riskId; + std::string riskName; + std::string reason; + }; + + + DescribeRiskWhiteListResult(); + explicit DescribeRiskWhiteListResult(const std::string &payload); + ~DescribeRiskWhiteListResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getWhiteLists()const; + int getCount()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector whiteLists_; + int count_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBERISKWHITELISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeRisksRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeRisksRequest.h new file mode 100644 index 000000000..bf7f22101 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeRisksRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBERISKSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBERISKSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeRisksRequest : public RpcServiceRequest + { + + public: + DescribeRisksRequest(); + ~DescribeRisksRequest(); + + std::string getRiskName()const; + void setRiskName(const std::string& riskName); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getLimit()const; + void setLimit(int limit); + std::string getLang()const; + void setLang(const std::string& lang); + long getRiskId()const; + void setRiskId(long riskId); + + private: + std::string riskName_; + std::string sourceIp_; + int limit_; + std::string lang_; + long riskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBERISKSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeRisksResult.h b/aegis/include/alibabacloud/aegis/model/DescribeRisksResult.h new file mode 100644 index 000000000..8c60cd761 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeRisksResult.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_AEGIS_MODEL_DESCRIBERISKSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBERISKSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeRisksResult : public ServiceResult + { + public: + struct Risk + { + long riskId; + std::string riskDetail; + std::string subRiskType; + std::string typeAlias; + std::string riskName; + std::string riskType; + std::string subTypeAlias; + }; + + + DescribeRisksResult(); + explicit DescribeRisksResult(const std::string &payload); + ~DescribeRisksResult(); + std::vector getRisks()const; + int getTotalCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector risks_; + int totalCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBERISKSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeRuleListRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeRuleListRequest.h new file mode 100644 index 000000000..42110d3be --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeRuleListRequest.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_AEGIS_MODEL_DESCRIBERULELISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBERULELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeRuleListRequest : public RpcServiceRequest + { + + public: + DescribeRuleListRequest(); + ~DescribeRuleListRequest(); + + std::string getWarnLevel()const; + void setWarnLevel(const std::string& warnLevel); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getGroupId()const; + void setGroupId(long groupId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getRemark()const; + void setRemark(const std::string& remark); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + long getId()const; + void setId(long id); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getExGroupId()const; + void setExGroupId(const std::string& exGroupId); + + private: + std::string warnLevel_; + std::string sourceIp_; + long groupId_; + int pageSize_; + std::string remark_; + int currentPage_; + long id_; + std::string lang_; + std::string exGroupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBERULELISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeRuleListResult.h b/aegis/include/alibabacloud/aegis/model/DescribeRuleListResult.h new file mode 100644 index 000000000..8dd237bb3 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeRuleListResult.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_AEGIS_MODEL_DESCRIBERULELISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBERULELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeRuleListResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + }; + struct RulesItem + { + struct RuleGroup + { + std::string groupName; + long modified; + std::string description; + long create; + int id; + int ruleNum; + int aliUid; + }; + bool needGroup; + long modified; + std::string description; + std::string statisticsRules; + std::string actions; + std::string statusCode; + std::string warnLevel; + std::vector ruleGroups; + long create; + int id; + std::string expressions; + std::string ruleName; + int dataSourceId; + }; + + + DescribeRuleListResult(); + explicit DescribeRuleListResult(const std::string &payload); + ~DescribeRuleListResult(); + PageInfo getPageInfo()const; + std::vector getRules()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector rules_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBERULELISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSasAssetStatisticsColumnRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSasAssetStatisticsColumnRequest.h new file mode 100644 index 000000000..079dc9bef --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSasAssetStatisticsColumnRequest.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_AEGIS_MODEL_DESCRIBESASASSETSTATISTICSCOLUMNREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESASASSETSTATISTICSCOLUMNREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSasAssetStatisticsColumnRequest : public RpcServiceRequest + { + + public: + DescribeSasAssetStatisticsColumnRequest(); + ~DescribeSasAssetStatisticsColumnRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESASASSETSTATISTICSCOLUMNREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSasAssetStatisticsColumnResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSasAssetStatisticsColumnResult.h new file mode 100644 index 000000000..b63634caa --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSasAssetStatisticsColumnResult.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_AEGIS_MODEL_DESCRIBESASASSETSTATISTICSCOLUMNRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESASASSETSTATISTICSCOLUMNRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSasAssetStatisticsColumnResult : public ServiceResult + { + public: + + + DescribeSasAssetStatisticsColumnResult(); + explicit DescribeSasAssetStatisticsColumnResult(const std::string &payload); + ~DescribeSasAssetStatisticsColumnResult(); + std::string getStatisticsColumn()const; + + protected: + void parse(const std::string &payload); + private: + std::string statisticsColumn_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESASASSETSTATISTICSCOLUMNRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSasAssetStatisticsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSasAssetStatisticsRequest.h new file mode 100644 index 000000000..2c8a9ef51 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSasAssetStatisticsRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESASASSETSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESASASSETSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSasAssetStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeSasAssetStatisticsRequest(); + ~DescribeSasAssetStatisticsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getStatisticsColumn()const; + void setStatisticsColumn(const std::string& statisticsColumn); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string sourceIp_; + std::string statisticsColumn_; + int pageSize_; + int currentPage_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESASASSETSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSasAssetStatisticsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSasAssetStatisticsResult.h new file mode 100644 index 000000000..13bae1b4a --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSasAssetStatisticsResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESASASSETSTATISTICSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESASASSETSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSasAssetStatisticsResult : public ServiceResult + { + public: + struct Asset + { + int safeEventCount; + std::string uuid; + int healthCheckCount; + int vulCount; + }; + + + DescribeSasAssetStatisticsResult(); + explicit DescribeSasAssetStatisticsResult(const std::string &payload); + ~DescribeSasAssetStatisticsResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getAssetList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector assetList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESASASSETSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSasLeftConditionRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSasLeftConditionRequest.h new file mode 100644 index 000000000..c1444961c --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSasLeftConditionRequest.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_AEGIS_MODEL_DESCRIBESASLEFTCONDITIONREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESASLEFTCONDITIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSasLeftConditionRequest : public RpcServiceRequest + { + + public: + DescribeSasLeftConditionRequest(); + ~DescribeSasLeftConditionRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getConditionType()const; + void setConditionType(const std::string& conditionType); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getFilterConditions()const; + void setFilterConditions(const std::string& filterConditions); + + private: + std::string sourceIp_; + std::string conditionType_; + std::string lang_; + std::string filterConditions_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESASLEFTCONDITIONREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSasLeftConditionResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSasLeftConditionResult.h new file mode 100644 index 000000000..c0284d848 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSasLeftConditionResult.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_AEGIS_MODEL_DESCRIBESASLEFTCONDITIONRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESASLEFTCONDITIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSasLeftConditionResult : public ServiceResult + { + public: + struct Condition + { + int count; + std::string id; + std::string name; + }; + + + DescribeSasLeftConditionResult(); + explicit DescribeSasLeftConditionResult(const std::string &payload); + ~DescribeSasLeftConditionResult(); + std::vector getConditionList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector conditionList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESASLEFTCONDITIONRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenAlarmEventListRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenAlarmEventListRequest.h new file mode 100644 index 000000000..9545e1a06 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenAlarmEventListRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENALARMEVENTLISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENALARMEVENTLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenAlarmEventListRequest : public RpcServiceRequest + { + + public: + DescribeScreenAlarmEventListRequest(); + ~DescribeScreenAlarmEventListRequest(); + + std::string getAlarmEventName()const; + void setAlarmEventName(const std::string& alarmEventName); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getPageSize()const; + void setPageSize(const std::string& pageSize); + std::string getAlarmEventType()const; + void setAlarmEventType(const std::string& alarmEventType); + std::string getDealed()const; + void setDealed(const std::string& dealed); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getRemark()const; + void setRemark(const std::string& remark); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getLevels()const; + void setLevels(const std::string& levels); + + private: + std::string alarmEventName_; + std::string sourceIp_; + std::string pageSize_; + std::string alarmEventType_; + std::string dealed_; + std::string from_; + std::string remark_; + int currentPage_; + std::string lang_; + std::string levels_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENALARMEVENTLISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenAlarmEventListResult.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenAlarmEventListResult.h new file mode 100644 index 000000000..1f7bf7bb6 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenAlarmEventListResult.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENALARMEVENTLISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENALARMEVENTLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenAlarmEventListResult : public ServiceResult + { + public: + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct SuspEventsItem + { + bool canCancelFault; + std::string description; + long endTime; + std::string alarmEventName; + long startTime; + std::string saleVersion; + std::string intranetIp; + bool dealed; + std::string dataSource; + std::string instanceName; + bool canBeDealOnLine; + std::string uuid; + std::string internetIp; + std::string alarmEventType; + int suspiciousEventCount; + std::string alarmUniqueInfo; + std::string level; + std::string solution; + }; + + + DescribeScreenAlarmEventListResult(); + explicit DescribeScreenAlarmEventListResult(const std::string &payload); + ~DescribeScreenAlarmEventListResult(); + PageInfo getPageInfo()const; + std::vector getSuspEvents()const; + + protected: + void parse(const std::string &payload); + private: + PageInfo pageInfo_; + std::vector suspEvents_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENALARMEVENTLISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenAttackAnalysisDataRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenAttackAnalysisDataRequest.h new file mode 100644 index 000000000..a8416e1f7 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenAttackAnalysisDataRequest.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_AEGIS_MODEL_DESCRIBESCREENATTACKANALYSISDATAREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENATTACKANALYSISDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenAttackAnalysisDataRequest : public RpcServiceRequest + { + + public: + DescribeScreenAttackAnalysisDataRequest(); + ~DescribeScreenAttackAnalysisDataRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getData()const; + void setData(const std::string& data); + std::string getBase64()const; + void setBase64(const std::string& base64); + int getPageSize()const; + void setPageSize(int pageSize); + long getEndTime()const; + void setEndTime(long endTime); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + long getStartTime()const; + void setStartTime(long startTime); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + + private: + std::string sourceIp_; + std::string data_; + std::string base64_; + int pageSize_; + long endTime_; + int currentPage_; + long startTime_; + std::string lang_; + std::string type_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENATTACKANALYSISDATAREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenAttackAnalysisDataResult.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenAttackAnalysisDataResult.h new file mode 100644 index 000000000..2ffc81b8e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenAttackAnalysisDataResult.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_AEGIS_MODEL_DESCRIBESCREENATTACKANALYSISDATARESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENATTACKANALYSISDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenAttackAnalysisDataResult : public ServiceResult + { + public: + + + DescribeScreenAttackAnalysisDataResult(); + explicit DescribeScreenAttackAnalysisDataResult(const std::string &payload); + ~DescribeScreenAttackAnalysisDataResult(); + int getPageSize()const; + int getTotal()const; + std::string getData()const; + int getPage()const; + + protected: + void parse(const std::string &payload); + private: + int pageSize_; + int total_; + std::string data_; + int page_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENATTACKANALYSISDATARESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenHostStatisticsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenHostStatisticsRequest.h new file mode 100644 index 000000000..c6d07fb3f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenHostStatisticsRequest.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_AEGIS_MODEL_DESCRIBESCREENHOSTSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENHOSTSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenHostStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeScreenHostStatisticsRequest(); + ~DescribeScreenHostStatisticsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENHOSTSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenHostStatisticsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenHostStatisticsResult.h new file mode 100644 index 000000000..fd8aed98d --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenHostStatisticsResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENHOSTSTATISTICSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENHOSTSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenHostStatisticsResult : public ServiceResult + { + public: + struct Data + { + std::vector weaknessMachineNames; + std::vector suspEventUuids; + std::vector weaknessUuids; + std::vector suspEventMachineNames; + }; + + + DescribeScreenHostStatisticsResult(); + explicit DescribeScreenHostStatisticsResult(const std::string &payload); + ~DescribeScreenHostStatisticsResult(); + Data getData()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENHOSTSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenOperateInfoRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenOperateInfoRequest.h new file mode 100644 index 000000000..826705fd4 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenOperateInfoRequest.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_AEGIS_MODEL_DESCRIBESCREENOPERATEINFOREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENOPERATEINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenOperateInfoRequest : public RpcServiceRequest + { + + public: + DescribeScreenOperateInfoRequest(); + ~DescribeScreenOperateInfoRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENOPERATEINFOREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenOperateInfoResult.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenOperateInfoResult.h new file mode 100644 index 000000000..d88c2786f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenOperateInfoResult.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_AEGIS_MODEL_DESCRIBESCREENOPERATEINFORESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENOPERATEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenOperateInfoResult : public ServiceResult + { + public: + + + DescribeScreenOperateInfoResult(); + explicit DescribeScreenOperateInfoResult(const std::string &payload); + ~DescribeScreenOperateInfoResult(); + std::vector getVulValueArray()const; + int getSecurityEventDealedCount()const; + std::vector getSuspEventValueArray()const; + int getVulnerabilityDealedCount()const; + std::vector getDateArray()const; + std::vector getHealthCheckValueArray()const; + int getHealthCheckDealedCount()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector vulValueArray_; + int securityEventDealedCount_; + std::vector suspEventValueArray_; + int vulnerabilityDealedCount_; + std::vector dateArray_; + std::vector healthCheckValueArray_; + int healthCheckDealedCount_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENOPERATEINFORESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenScoreThreadRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenScoreThreadRequest.h new file mode 100644 index 000000000..a25b340e5 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenScoreThreadRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSCORETHREADREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSCORETHREADREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenScoreThreadRequest : public RpcServiceRequest + { + + public: + DescribeScreenScoreThreadRequest(); + ~DescribeScreenScoreThreadRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getEndTime()const; + void setEndTime(long endTime); + long getStartTime()const; + void setStartTime(long startTime); + + private: + std::string sourceIp_; + long endTime_; + long startTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSCORETHREADREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenScoreThreadResult.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenScoreThreadResult.h new file mode 100644 index 000000000..a9560baf6 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenScoreThreadResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSCORETHREADRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSCORETHREADRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenScoreThreadResult : public ServiceResult + { + public: + struct Data + { + std::vector socreThread; + std::vector socreThreadDate; + }; + + + DescribeScreenScoreThreadResult(); + explicit DescribeScreenScoreThreadResult(const std::string &payload); + ~DescribeScreenScoreThreadResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSCORETHREADRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenSecurityStatInfoRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenSecurityStatInfoRequest.h new file mode 100644 index 000000000..8b1ceef50 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenSecurityStatInfoRequest.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_AEGIS_MODEL_DESCRIBESCREENSECURITYSTATINFOREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSECURITYSTATINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenSecurityStatInfoRequest : public RpcServiceRequest + { + + public: + DescribeScreenSecurityStatInfoRequest(); + ~DescribeScreenSecurityStatInfoRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSECURITYSTATINFOREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenSecurityStatInfoResult.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenSecurityStatInfoResult.h new file mode 100644 index 000000000..b067bb060 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenSecurityStatInfoResult.h @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSECURITYSTATINFORESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSECURITYSTATINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenSecurityStatInfoResult : public ServiceResult + { + public: + struct SecurityEvent + { + std::vector suspiciousList; + int totalCount; + std::vector levelsOn; + int suspiciousCount; + std::vector seriousList; + int remindCount; + int seriousCount; + std::vector valueArray; + std::vector remindList; + std::vector dateArray; + }; + struct AttackEvent + { + int totalCount; + std::vector dateArray1; + std::vector valueArray2; + }; + struct HealthCheck + { + std::vector valueArray4; + std::vector levelsOn5; + int totalCount; + std::vector highList; + int highCount; + std::vector mediumList; + std::vector lowList; + int lowCount; + std::vector dateArray3; + int mediumCount; + }; + struct Vulnerability + { + int totalCount; + std::vector asapList; + std::vector valueArray7; + std::vector laterList; + int laterCount; + int asapCount; + std::vector nntfList; + int nntfCount; + std::vector levelsOn8; + std::vector dateArray6; + }; + + + DescribeScreenSecurityStatInfoResult(); + explicit DescribeScreenSecurityStatInfoResult(const std::string &payload); + ~DescribeScreenSecurityStatInfoResult(); + SecurityEvent getSecurityEvent()const; + HealthCheck getHealthCheck()const; + Vulnerability getVulnerability()const; + AttackEvent getAttackEvent()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + SecurityEvent securityEvent_; + HealthCheck healthCheck_; + Vulnerability vulnerability_; + AttackEvent attackEvent_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSECURITYSTATINFORESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenSettingRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenSettingRequest.h new file mode 100644 index 000000000..06c18d963 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenSettingRequest.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_AEGIS_MODEL_DESCRIBESCREENSETTINGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenSettingRequest : public RpcServiceRequest + { + + public: + DescribeScreenSettingRequest(); + ~DescribeScreenSettingRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getScreenTitle()const; + void setScreenTitle(const std::string& screenTitle); + + private: + std::string sourceIp_; + std::string screenTitle_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSETTINGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenSettingResult.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenSettingResult.h new file mode 100644 index 000000000..a7c394453 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenSettingResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSETTINGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenSettingResult : public ServiceResult + { + public: + struct SasScreenSetting + { + std::string screenSettingIdMap; + std::string screenSettingTitle; + }; + + + DescribeScreenSettingResult(); + explicit DescribeScreenSettingResult(const std::string &payload); + ~DescribeScreenSettingResult(); + SasScreenSetting getSasScreenSetting()const; + + protected: + void parse(const std::string &payload); + private: + SasScreenSetting sasScreenSetting_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSETTINGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenSettingsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenSettingsRequest.h new file mode 100644 index 000000000..e23fa2c8b --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenSettingsRequest.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_AEGIS_MODEL_DESCRIBESCREENSETTINGSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSETTINGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenSettingsRequest : public RpcServiceRequest + { + + public: + DescribeScreenSettingsRequest(); + ~DescribeScreenSettingsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSETTINGSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenSettingsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenSettingsResult.h new file mode 100644 index 000000000..45ebe0a2e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenSettingsResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSETTINGSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSETTINGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenSettingsResult : public ServiceResult + { + public: + struct SasScreenSettingListItem + { + std::string screenSettingIdMap; + std::string screenSettingTitle; + }; + + + DescribeScreenSettingsResult(); + explicit DescribeScreenSettingsResult(const std::string &payload); + ~DescribeScreenSettingsResult(); + std::vector getSasScreenSettingList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector sasScreenSettingList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSETTINGSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenSummaryInfoRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenSummaryInfoRequest.h new file mode 100644 index 000000000..7759ae15a --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenSummaryInfoRequest.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_AEGIS_MODEL_DESCRIBESCREENSUMMARYINFOREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSUMMARYINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenSummaryInfoRequest : public RpcServiceRequest + { + + public: + DescribeScreenSummaryInfoRequest(); + ~DescribeScreenSummaryInfoRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSUMMARYINFOREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenSummaryInfoResult.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenSummaryInfoResult.h new file mode 100644 index 000000000..889ac26d4 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenSummaryInfoResult.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_AEGIS_MODEL_DESCRIBESCREENSUMMARYINFORESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSUMMARYINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenSummaryInfoResult : public ServiceResult + { + public: + + + DescribeScreenSummaryInfoResult(); + explicit DescribeScreenSummaryInfoResult(const std::string &payload); + ~DescribeScreenSummaryInfoResult(); + int getAegisClientOnlineCount()const; + int getAegisClientOfflineCount()const; + int getSecurityScore()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int aegisClientOnlineCount_; + int aegisClientOfflineCount_; + int securityScore_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENSUMMARYINFORESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenVersionConfigRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenVersionConfigRequest.h new file mode 100644 index 000000000..b6775070d --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenVersionConfigRequest.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_AEGIS_MODEL_DESCRIBESCREENVERSIONCONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENVERSIONCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenVersionConfigRequest : public RpcServiceRequest + { + + public: + DescribeScreenVersionConfigRequest(); + ~DescribeScreenVersionConfigRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENVERSIONCONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeScreenVersionConfigResult.h b/aegis/include/alibabacloud/aegis/model/DescribeScreenVersionConfigResult.h new file mode 100644 index 000000000..c633669bb --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeScreenVersionConfigResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENVERSIONCONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENVERSIONCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeScreenVersionConfigResult : public ServiceResult + { + public: + + + DescribeScreenVersionConfigResult(); + explicit DescribeScreenVersionConfigResult(const std::string &payload); + ~DescribeScreenVersionConfigResult(); + int getAssetLevel()const; + std::string getInstanceId()const; + long getCreateTime()const; + int getLogTime()const; + int getSasScreen()const; + bool getIsSasOpening()const; + int getLogCapacity()const; + int getFlag()const; + int getSasLog()const; + long getReleaseTime()const; + int getVersion()const; + int getAvdsFlag()const; + int getIsTrialVersion()const; + + protected: + void parse(const std::string &payload); + private: + int assetLevel_; + std::string instanceId_; + long createTime_; + int logTime_; + int sasScreen_; + bool isSasOpening_; + int logCapacity_; + int flag_; + int sasLog_; + long releaseTime_; + int version_; + int avdsFlag_; + int isTrialVersion_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESCREENVERSIONCONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSearchConditionRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSearchConditionRequest.h new file mode 100644 index 000000000..a5340968b --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSearchConditionRequest.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_AEGIS_MODEL_DESCRIBESEARCHCONDITIONREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESEARCHCONDITIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSearchConditionRequest : public RpcServiceRequest + { + + public: + DescribeSearchConditionRequest(); + ~DescribeSearchConditionRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESEARCHCONDITIONREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSearchConditionResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSearchConditionResult.h new file mode 100644 index 000000000..4aac71a81 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSearchConditionResult.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_AEGIS_MODEL_DESCRIBESEARCHCONDITIONRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESEARCHCONDITIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSearchConditionResult : public ServiceResult + { + public: + struct Condition + { + std::string assetType; + std::string safeStatus; + std::string clientStatus; + std::string os; + std::string region; + std::string tag; + std::string name; + std::string groupId; + std::string remark; + }; + + + DescribeSearchConditionResult(); + explicit DescribeSearchConditionResult(const std::string &payload); + ~DescribeSearchConditionResult(); + std::vector getConditionList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector conditionList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESEARCHCONDITIONRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSecureSuggestionRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSecureSuggestionRequest.h new file mode 100644 index 000000000..cae2eee34 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSecureSuggestionRequest.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_AEGIS_MODEL_DESCRIBESECURESUGGESTIONREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESECURESUGGESTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSecureSuggestionRequest : public RpcServiceRequest + { + + public: + DescribeSecureSuggestionRequest(); + ~DescribeSecureSuggestionRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESECURESUGGESTIONREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSecureSuggestionResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSecureSuggestionResult.h new file mode 100644 index 000000000..ae17efac2 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSecureSuggestionResult.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_AEGIS_MODEL_DESCRIBESECURESUGGESTIONRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESECURESUGGESTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSecureSuggestionResult : public ServiceResult + { + public: + struct Suggestion + { + struct DetailItem + { + std::string description; + std::string subType; + std::string title; + }; + int points; + std::string suggestType; + std::vector detail; + }; + + + DescribeSecureSuggestionResult(); + explicit DescribeSecureSuggestionResult(const std::string &payload); + ~DescribeSecureSuggestionResult(); + std::vector getSuggestions()const; + int getTotalCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector suggestions_; + int totalCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESECURESUGGESTIONRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSecurityStatInfoRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSecurityStatInfoRequest.h new file mode 100644 index 000000000..fcb6387aa --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSecurityStatInfoRequest.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_AEGIS_MODEL_DESCRIBESECURITYSTATINFOREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESECURITYSTATINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSecurityStatInfoRequest : public RpcServiceRequest + { + + public: + DescribeSecurityStatInfoRequest(); + ~DescribeSecurityStatInfoRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESECURITYSTATINFOREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSecurityStatInfoResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSecurityStatInfoResult.h new file mode 100644 index 000000000..860c62ab3 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSecurityStatInfoResult.h @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESECURITYSTATINFORESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESECURITYSTATINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSecurityStatInfoResult : public ServiceResult + { + public: + struct SecurityEvent + { + std::vector suspiciousList; + int totalCount; + std::vector levelsOn; + int suspiciousCount; + std::vector seriousList; + int remindCount; + int seriousCount; + std::vector valueArray; + std::vector remindList; + std::vector dateArray; + }; + struct AttackEvent + { + int totalCount; + std::vector dateArray1; + std::vector valueArray2; + }; + struct HealthCheck + { + std::vector valueArray4; + std::vector levelsOn5; + int totalCount; + std::vector highList; + int highCount; + std::vector mediumList; + std::vector lowList; + int lowCount; + std::vector dateArray3; + int mediumCount; + }; + struct Vulnerability + { + int totalCount; + std::vector asapList; + std::vector valueArray7; + std::vector laterList; + int laterCount; + int asapCount; + std::vector nntfList; + int nntfCount; + std::vector levelsOn8; + std::vector dateArray6; + }; + + + DescribeSecurityStatInfoResult(); + explicit DescribeSecurityStatInfoResult(const std::string &payload); + ~DescribeSecurityStatInfoResult(); + SecurityEvent getSecurityEvent()const; + HealthCheck getHealthCheck()const; + Vulnerability getVulnerability()const; + AttackEvent getAttackEvent()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + SecurityEvent securityEvent_; + HealthCheck healthCheck_; + Vulnerability vulnerability_; + AttackEvent attackEvent_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESECURITYSTATINFORESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSlsProjectRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSlsProjectRequest.h new file mode 100644 index 000000000..c40bdf8e7 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSlsProjectRequest.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_AEGIS_MODEL_DESCRIBESLSPROJECTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESLSPROJECTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSlsProjectRequest : public RpcServiceRequest + { + + public: + DescribeSlsProjectRequest(); + ~DescribeSlsProjectRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getRegionNo()const; + void setRegionNo(const std::string& regionNo); + + private: + std::string sourceIp_; + std::string regionNo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESLSPROJECTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSlsProjectResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSlsProjectResult.h new file mode 100644 index 000000000..a4ec7210a --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSlsProjectResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESLSPROJECTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESLSPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSlsProjectResult : public ServiceResult + { + public: + struct SlsProjectDataItem + { + std::string project; + std::vector logStore; + }; + + + DescribeSlsProjectResult(); + explicit DescribeSlsProjectResult(const std::string &payload); + ~DescribeSlsProjectResult(); + std::vector getSlsProjectData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector slsProjectData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESLSPROJECTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeStatisticsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeStatisticsRequest.h new file mode 100644 index 000000000..76bf93cca --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeStatisticsRequest.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_AEGIS_MODEL_DESCRIBESTATISTICSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeStatisticsRequest(); + ~DescribeStatisticsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeStatisticsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeStatisticsResult.h new file mode 100644 index 000000000..fc2daf351 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeStatisticsResult.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_AEGIS_MODEL_DESCRIBESTATISTICSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeStatisticsResult : public ServiceResult + { + public: + struct Statistics + { + int suspiciousTotal; + int account; + int vulLaterSum; + int suspiciousmediumTotal; + int healthlowTotal; + int health; + int vulDealedTotal; + int healthdealedTotal; + int healthseriousTotal; + int vulTotal; + int vul; + int suspicioushighTotal; + int suspiciouslowTotal; + int suspiciousseriousTotal; + int vulAsapSum; + int vulNntfSum; + int suspicious; + int trojan; + int healthhighTotal; + int healthmediumTotal; + bool online; + int patch; + int suspiciousdealedTotal; + int healthTotal; + }; + + + DescribeStatisticsResult(); + explicit DescribeStatisticsResult(const std::string &payload); + ~DescribeStatisticsResult(); + Statistics getStatistics()const; + + protected: + void parse(const std::string &payload); + private: + Statistics statistics_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTATISTICSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeStrategyExecDetailRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeStrategyExecDetailRequest.h new file mode 100644 index 000000000..e39407893 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeStrategyExecDetailRequest.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_AEGIS_MODEL_DESCRIBESTRATEGYEXECDETAILREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATEGYEXECDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeStrategyExecDetailRequest : public RpcServiceRequest + { + + public: + DescribeStrategyExecDetailRequest(); + ~DescribeStrategyExecDetailRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getStrategyId()const; + void setStrategyId(int strategyId); + + private: + std::string sourceIp_; + int strategyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATEGYEXECDETAILREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeStrategyExecDetailResult.h b/aegis/include/alibabacloud/aegis/model/DescribeStrategyExecDetailResult.h new file mode 100644 index 000000000..54007cf07 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeStrategyExecDetailResult.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_AEGIS_MODEL_DESCRIBESTRATEGYEXECDETAILRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATEGYEXECDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeStrategyExecDetailResult : public ServiceResult + { + public: + struct FailedEcs + { + std::string instanceName; + std::string iP; + std::string intranetIp; + std::string reason; + }; + + + DescribeStrategyExecDetailResult(); + explicit DescribeStrategyExecDetailResult(const std::string &payload); + ~DescribeStrategyExecDetailResult(); + std::string getEndTime()const; + std::string getPercent()const; + int getFailCount()const; + std::string getStartTime()const; + int getSuccessCount()const; + std::vector getFailedEcsList()const; + std::string getSource()const; + int getInProcessCount()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string percent_; + int failCount_; + std::string startTime_; + int successCount_; + std::vector failedEcsList_; + std::string source_; + int inProcessCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATEGYEXECDETAILRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeStrategyProcessRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeStrategyProcessRequest.h new file mode 100644 index 000000000..be98786af --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeStrategyProcessRequest.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_AEGIS_MODEL_DESCRIBESTRATEGYPROCESSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATEGYPROCESSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeStrategyProcessRequest : public RpcServiceRequest + { + + public: + DescribeStrategyProcessRequest(); + ~DescribeStrategyProcessRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getStrategyId()const; + void setStrategyId(long strategyId); + + private: + std::string sourceIp_; + long strategyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATEGYPROCESSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeStrategyProcessResult.h b/aegis/include/alibabacloud/aegis/model/DescribeStrategyProcessResult.h new file mode 100644 index 000000000..b1819a876 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeStrategyProcessResult.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_AEGIS_MODEL_DESCRIBESTRATEGYPROCESSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATEGYPROCESSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeStrategyProcessResult : public ServiceResult + { + public: + + + DescribeStrategyProcessResult(); + explicit DescribeStrategyProcessResult(const std::string &payload); + ~DescribeStrategyProcessResult(); + int getExecStatus()const; + std::string getPassRate()const; + int getProcessRate()const; + long getStrategyId()const; + + protected: + void parse(const std::string &payload); + private: + int execStatus_; + std::string passRate_; + int processRate_; + long strategyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATEGYPROCESSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeStrategyTargetRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeStrategyTargetRequest.h index eb5152235..bb3168823 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeStrategyTargetRequest.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeStrategyTargetRequest.h @@ -35,23 +35,17 @@ namespace AlibabaCloud DescribeStrategyTargetRequest(); ~DescribeStrategyTargetRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); std::string getType()const; void setType(const std::string& type); std::string getConfig()const; void setConfig(const std::string& config); - std::string getTarget()const; - void setTarget(const std::string& target); private: - long resourceOwnerId_; std::string sourceIp_; std::string type_; std::string config_; - std::string target_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeStrategyTargetResult.h b/aegis/include/alibabacloud/aegis/model/DescribeStrategyTargetResult.h index 361d09bf6..e9f7311a5 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeStrategyTargetResult.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeStrategyTargetResult.h @@ -32,25 +32,23 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT DescribeStrategyTargetResult : public ServiceResult { public: - struct StringItem - { - std::string target; - std::string targetType; - std::string flag; - }; + struct StrategyTarget + { + std::string target; + std::string targetType; + std::string flag; + }; DescribeStrategyTargetResult(); explicit DescribeStrategyTargetResult(const std::string &payload); ~DescribeStrategyTargetResult(); - std::vector getStrategyTargets()const; - int getCount()const; + std::vector getStrategyTargets()const; protected: void parse(const std::string &payload); private: - std::vector strategyTargets_; - int count_; + std::vector strategyTargets_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeStratetyDetailRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeStratetyDetailRequest.h index 4b2758450..b9609fc1d 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeStratetyDetailRequest.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeStratetyDetailRequest.h @@ -35,17 +35,17 @@ namespace AlibabaCloud DescribeStratetyDetailRequest(); ~DescribeStratetyDetailRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); std::string getId()const; void setId(const std::string& id); + std::string getLang()const; + void setLang(const std::string& lang); private: - long resourceOwnerId_; std::string sourceIp_; std::string id_; + std::string lang_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeStratetyDetailResult.h b/aegis/include/alibabacloud/aegis/model/DescribeStratetyDetailResult.h index 34078c259..02ca9f9a5 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeStratetyDetailResult.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeStratetyDetailResult.h @@ -32,39 +32,39 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT DescribeStratetyDetailResult : public ServiceResult { public: - struct Strategy - { - struct RiskTypeWhiteListQueryResult - { - struct SubTyp - { - std::string typeName; - std::string alias; - bool on; - }; - std::string typeName; - std::vector subTypes; - std::string alias; - bool on; - }; - int cycleStartTime; - int type; - int cycleDays; - int id; - std::vector riskTypeWhiteListQueryResultList; - std::string name; - }; + struct Strategy + { + struct RiskTypeWhiteListQueryResult + { + struct SubType + { + std::string typeName; + std::string alias; + bool on; + }; + std::string typeName; + std::vector subTypes; + std::string alias; + bool on; + }; + int cycleStartTime; + int type; + int cycleDays; + int id; + std::vector riskTypeWhiteListQueryResultList; + std::string name; + }; DescribeStratetyDetailResult(); explicit DescribeStratetyDetailResult(const std::string &payload); ~DescribeStratetyDetailResult(); - std::vector getStrategy()const; + Strategy getStrategy()const; protected: void parse(const std::string &payload); private: - std::vector strategy_; + Strategy strategy_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeStratetyRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeStratetyRequest.h index 76b106e45..bfe2cd2e3 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeStratetyRequest.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeStratetyRequest.h @@ -35,14 +35,17 @@ namespace AlibabaCloud DescribeStratetyRequest(); ~DescribeStratetyRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); + std::string getStrategyIds()const; + void setStrategyIds(const std::string& strategyIds); + std::string getLang()const; + void setLang(const std::string& lang); private: - long resourceOwnerId_; std::string sourceIp_; + std::string strategyIds_; + std::string lang_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeStratetyResult.h b/aegis/include/alibabacloud/aegis/model/DescribeStratetyResult.h index 3893010d9..4c77009df 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeStratetyResult.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeStratetyResult.h @@ -32,36 +32,37 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT DescribeStratetyResult : public ServiceResult { public: - struct Data - { - struct ConfigTarget - { - std::string target; - std::string targetType; - std::string flag; - }; - int cycleStartTime; - int ecsCount; - int type; - int cycleDays; - int id; - std::vector configTargets; - int riskCount; - std::string name; - }; + struct Strategy + { + struct ConfigTarget + { + std::string target; + std::string targetType; + std::string flag; + }; + int cycleStartTime; + int ecsCount; + int type; + int execStatus; + int passRate; + int processRate; + int cycleDays; + int id; + std::vector configTargets; + int riskCount; + std::string name; + }; DescribeStratetyResult(); explicit DescribeStratetyResult(const std::string &payload); ~DescribeStratetyResult(); - std::vector getStrategies()const; - int getCount()const; + std::vector getStrategies()const; protected: void parse(const std::string &payload); private: - std::vector strategies_; - int count_; + std::vector strategies_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSummaryInfoRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSummaryInfoRequest.h new file mode 100644 index 000000000..486d76fa6 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSummaryInfoRequest.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_AEGIS_MODEL_DESCRIBESUMMARYINFOREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUMMARYINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSummaryInfoRequest : public RpcServiceRequest + { + + public: + DescribeSummaryInfoRequest(); + ~DescribeSummaryInfoRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUMMARYINFOREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSummaryInfoResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSummaryInfoResult.h new file mode 100644 index 000000000..7a5710e26 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSummaryInfoResult.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_AEGIS_MODEL_DESCRIBESUMMARYINFORESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUMMARYINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSummaryInfoResult : public ServiceResult + { + public: + + + DescribeSummaryInfoResult(); + explicit DescribeSummaryInfoResult(const std::string &payload); + ~DescribeSummaryInfoResult(); + int getAegisClientOnlineCount()const; + int getAegisClientOfflineCount()const; + int getSecurityScore()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int aegisClientOnlineCount_; + int aegisClientOfflineCount_; + int securityScore_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUMMARYINFORESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspEventDetailRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventDetailRequest.h new file mode 100644 index 000000000..2b27a5460 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventDetailRequest.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_AEGIS_MODEL_DESCRIBESUSPEVENTDETAILREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspEventDetailRequest : public RpcServiceRequest + { + + public: + DescribeSuspEventDetailRequest(); + ~DescribeSuspEventDetailRequest(); + + int getSuspiciousEventId()const; + void setSuspiciousEventId(int suspiciousEventId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + int suspiciousEventId_; + std::string sourceIp_; + std::string from_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTDETAILREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspEventDetailResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventDetailResult.h new file mode 100644 index 000000000..d5e724b7d --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventDetailResult.h @@ -0,0 +1,92 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTDETAILRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspEventDetailResult : public ServiceResult + { + public: + struct QuaraFile + { + std::string type; + std::string value; + std::string infoType; + std::string name; + }; + + + DescribeSuspEventDetailResult(); + explicit DescribeSuspEventDetailResult(const std::string &payload); + ~DescribeSuspEventDetailResult(); + std::string getEventDesc()const; + std::string getEventTypeDesc()const; + std::string getEventStatus()const; + std::string getEventName()const; + std::string getSaleVersion()const; + std::string getIntranetIp()const; + std::string getDataSource()const; + std::string getInstanceName()const; + std::string getType()const; + std::string getOperateMsg()const; + bool getCanBeDealOnLine()const; + std::vector getDetails()const; + std::string getUuid()const; + std::string getInternetIp()const; + std::string getLevel()const; + int getId()const; + std::string getLastTime()const; + std::string getSasId()const; + + protected: + void parse(const std::string &payload); + private: + std::string eventDesc_; + std::string eventTypeDesc_; + std::string eventStatus_; + std::string eventName_; + std::string saleVersion_; + std::string intranetIp_; + std::string dataSource_; + std::string instanceName_; + std::string type_; + std::string operateMsg_; + bool canBeDealOnLine_; + std::vector details_; + std::string uuid_; + std::string internetIp_; + std::string level_; + int id_; + std::string lastTime_; + std::string sasId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTDETAILRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspEventExportInfoRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventExportInfoRequest.h new file mode 100644 index 000000000..a6be2c620 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventExportInfoRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTEXPORTINFOREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTEXPORTINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspEventExportInfoRequest : public RpcServiceRequest + { + + public: + DescribeSuspEventExportInfoRequest(); + ~DescribeSuspEventExportInfoRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + int getExportId()const; + void setExportId(int exportId); + + private: + std::string sourceIp_; + std::string from_; + int exportId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTEXPORTINFOREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspEventExportInfoResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventExportInfoResult.h new file mode 100644 index 000000000..2286d1a12 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventExportInfoResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTEXPORTINFORESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTEXPORTINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspEventExportInfoResult : public ServiceResult + { + public: + + + DescribeSuspEventExportInfoResult(); + explicit DescribeSuspEventExportInfoResult(const std::string &payload); + ~DescribeSuspEventExportInfoResult(); + int getProgress()const; + std::string getType()const; + int getTotalCount()const; + long getGmtCreate()const; + std::string getFileName()const; + long getGmtModified()const; + std::string getExportStatus()const; + int getId()const; + std::string getProperties()const; + std::string getLink()const; + + protected: + void parse(const std::string &payload); + private: + int progress_; + std::string type_; + int totalCount_; + long gmtCreate_; + std::string fileName_; + long gmtModified_; + std::string exportStatus_; + int id_; + std::string properties_; + std::string link_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTEXPORTINFORESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspEventQuaraFilesRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventQuaraFilesRequest.h new file mode 100644 index 000000000..44e93fa34 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventQuaraFilesRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTQUARAFILESREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTQUARAFILESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspEventQuaraFilesRequest : public RpcServiceRequest + { + + public: + DescribeSuspEventQuaraFilesRequest(); + ~DescribeSuspEventQuaraFilesRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getPageSize()const; + void setPageSize(const std::string& pageSize); + std::string getCurrentPage()const; + void setCurrentPage(const std::string& currentPage); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string sourceIp_; + std::string pageSize_; + std::string currentPage_; + std::string from_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTQUARAFILESREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspEventQuaraFilesResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventQuaraFilesResult.h new file mode 100644 index 000000000..1d8d2333e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventQuaraFilesResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTQUARAFILESRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTQUARAFILESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspEventQuaraFilesResult : public ServiceResult + { + public: + struct QuaraFile + { + std::string path; + std::string instanceName; + std::string status; + std::string modifyTime; + std::string uuid; + std::string internetIp; + std::string eventType; + std::string ip; + std::string eventName; + int id; + std::string tag; + std::string md5; + }; + + + DescribeSuspEventQuaraFilesResult(); + explicit DescribeSuspEventQuaraFilesResult(const std::string &payload); + ~DescribeSuspEventQuaraFilesResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getQuaraFiles()const; + int getCount()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector quaraFiles_; + int count_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTQUARAFILESRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspEventTypesRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventTypesRequest.h new file mode 100644 index 000000000..4ad313079 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventTypesRequest.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_AEGIS_MODEL_DESCRIBESUSPEVENTTYPESREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTTYPESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspEventTypesRequest : public RpcServiceRequest + { + + public: + DescribeSuspEventTypesRequest(); + ~DescribeSuspEventTypesRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTTYPESREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspEventTypesResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventTypesResult.h new file mode 100644 index 000000000..c2de0f317 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventTypesResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTTYPESRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTTYPESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspEventTypesResult : public ServiceResult + { + public: + struct Data + { + std::string eventType; + std::string aliseEventType; + }; + + + DescribeSuspEventTypesResult(); + explicit DescribeSuspEventTypesResult(const std::string &payload); + ~DescribeSuspEventTypesResult(); + int getTotalCount()const; + std::vector getEventTypes()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector eventTypes_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTTYPESRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspEventUserSettingRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventUserSettingRequest.h new file mode 100644 index 000000000..451cc4d83 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventUserSettingRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTUSERSETTINGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTUSERSETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspEventUserSettingRequest : public RpcServiceRequest + { + + public: + DescribeSuspEventUserSettingRequest(); + ~DescribeSuspEventUserSettingRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + int getId()const; + void setId(int id); + + private: + std::string sourceIp_; + std::string from_; + int id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTUSERSETTINGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspEventUserSettingResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventUserSettingResult.h new file mode 100644 index 000000000..7cf39ca6e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventUserSettingResult.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_AEGIS_MODEL_DESCRIBESUSPEVENTUSERSETTINGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTUSERSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspEventUserSettingResult : public ServiceResult + { + public: + + + DescribeSuspEventUserSettingResult(); + explicit DescribeSuspEventUserSettingResult(const std::string &payload); + ~DescribeSuspEventUserSettingResult(); + std::vector getLevelsOn()const; + + protected: + void parse(const std::string &payload); + private: + std::vector levelsOn_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTUSERSETTINGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspEventsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventsRequest.h new file mode 100644 index 000000000..783bc52ff --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventsRequest.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_AEGIS_MODEL_DESCRIBESUSPEVENTSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspEventsRequest : public RpcServiceRequest + { + + public: + DescribeSuspEventsRequest(); + ~DescribeSuspEventsRequest(); + + std::string getAlarmUniqueInfo()const; + void setAlarmUniqueInfo(const std::string& alarmUniqueInfo); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getName()const; + void setName(const std::string& name); + std::string getPageSize()const; + void setPageSize(const std::string& pageSize); + std::string getDealed()const; + void setDealed(const std::string& dealed); + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getCurrentPage()const; + void setCurrentPage(const std::string& currentPage); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getLevels()const; + void setLevels(const std::string& levels); + std::string getParentEventTypes()const; + void setParentEventTypes(const std::string& parentEventTypes); + + private: + std::string alarmUniqueInfo_; + std::string sourceIp_; + std::string name_; + std::string pageSize_; + std::string dealed_; + std::string remark_; + std::string currentPage_; + std::string from_; + std::string lang_; + std::string levels_; + std::string parentEventTypes_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspEventsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventsResult.h new file mode 100644 index 000000000..c570353bd --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspEventsResult.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspEventsResult : public ServiceResult + { + public: + struct WarningSummary + { + std::string alarmEventName; + int eventStatus; + std::string saleVersion; + std::string intranetIp; + std::string eventSubType; + std::string name; + std::string dataSource; + std::string occurrenceTime; + std::string instanceName; + std::string desc; + std::string operateMsg; + bool canBeDealOnLine; + std::string uuid; + std::string internetIp; + std::string alarmEventType; + std::string alarmUniqueInfo; + std::string level; + long id; + std::string lastTime; + }; + + + DescribeSuspEventsResult(); + explicit DescribeSuspEventsResult(const std::string &payload); + ~DescribeSuspEventsResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + int getCount()const; + std::vector getSuspEvents()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + int count_; + std::vector suspEvents_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPEVENTSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspTrendStatisticsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspTrendStatisticsRequest.h new file mode 100644 index 000000000..3fab2455d --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspTrendStatisticsRequest.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_AEGIS_MODEL_DESCRIBESUSPTRENDSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPTRENDSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspTrendStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeSuspTrendStatisticsRequest(); + ~DescribeSuspTrendStatisticsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPTRENDSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspTrendStatisticsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspTrendStatisticsResult.h new file mode 100644 index 000000000..3068be934 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspTrendStatisticsResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPTRENDSTATISTICSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPTRENDSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspTrendStatisticsResult : public ServiceResult + { + public: + + + DescribeSuspTrendStatisticsResult(); + explicit DescribeSuspTrendStatisticsResult(const std::string &payload); + ~DescribeSuspTrendStatisticsResult(); + int getStartTime()const; + std::vector getSuspiciousItems()const; + int getInterval()const; + + protected: + void parse(const std::string &payload); + private: + int startTime_; + std::vector suspiciousItems_; + int interval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPTRENDSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousEventsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousEventsRequest.h index 6bf7d4881..1d649bb67 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousEventsRequest.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousEventsRequest.h @@ -35,14 +35,32 @@ namespace AlibabaCloud DescribeSuspiciousEventsRequest(); ~DescribeSuspiciousEventsRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); + std::string getLevel()const; + void setLevel(const std::string& level); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getDealed()const; + void setDealed(const std::string& dealed); + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getEventType()const; + void setEventType(const std::string& eventType); + std::string getUuid()const; + void setUuid(const std::string& uuid); private: - long resourceOwnerId_; std::string sourceIp_; + std::string level_; + int pageSize_; + int currentPage_; + std::string dealed_; + std::string remark_; + std::string eventType_; + std::string uuid_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousEventsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousEventsResult.h index f6914dfb1..f9dc94d97 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousEventsResult.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousEventsResult.h @@ -32,25 +32,49 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspiciousEventsResult : public ServiceResult { public: + struct LogListItem + { + struct DetailListItem + { + std::string type; + std::string value; + std::string infoType; + std::string name; + }; + long firstTime; + std::string eventType; + std::string instanceId; + std::vector detailList; + std::string ip; + std::string osVersion; + std::string eventName; + std::string clientIp; + std::string aliasEventType; + long groupId; + std::string instanceName; + std::string aliasEventName; + std::string uuid; + std::string level; + std::string tag; + long lastTime; + }; DescribeSuspiciousEventsResult(); explicit DescribeSuspiciousEventsResult(const std::string &payload); ~DescribeSuspiciousEventsResult(); - int getTotalCount()const; - int getPageSize()const; - std::vector getSuspiciousEvents()const; - int getCurrentPage()const; - int getHttpStatusCode()const; + std::vector getLogList()const; + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; protected: void parse(const std::string &payload); private: - int totalCount_; - int pageSize_; - std::vector suspiciousEvents_; - int currentPage_; - int httpStatusCode_; + std::vector logList_; + int totalCount_; + int pageSize_; + int currentPage_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousExportInfoRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousExportInfoRequest.h new file mode 100644 index 000000000..c902c0548 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousExportInfoRequest.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_AEGIS_MODEL_DESCRIBESUSPICIOUSEXPORTINFOREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSEXPORTINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspiciousExportInfoRequest : public RpcServiceRequest + { + + public: + DescribeSuspiciousExportInfoRequest(); + ~DescribeSuspiciousExportInfoRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getExportId()const; + void setExportId(int exportId); + + private: + std::string sourceIp_; + int exportId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSEXPORTINFOREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousExportInfoResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousExportInfoResult.h new file mode 100644 index 000000000..062a38e6b --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousExportInfoResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSEXPORTINFORESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSEXPORTINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspiciousExportInfoResult : public ServiceResult + { + public: + + + DescribeSuspiciousExportInfoResult(); + explicit DescribeSuspiciousExportInfoResult(const std::string &payload); + ~DescribeSuspiciousExportInfoResult(); + long getGmtCreate()const; + int getTotalCount()const; + int getProgress()const; + std::string getMessage()const; + std::string getFileName()const; + std::string getExportStatus()const; + int getCurrentCount()const; + int getId()const; + std::string getLink()const; + + protected: + void parse(const std::string &payload); + private: + long gmtCreate_; + int totalCount_; + int progress_; + std::string message_; + std::string fileName_; + std::string exportStatus_; + int currentCount_; + int id_; + std::string link_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSEXPORTINFORESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousOverallConfigRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousOverallConfigRequest.h new file mode 100644 index 000000000..3671148e1 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousOverallConfigRequest.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_AEGIS_MODEL_DESCRIBESUSPICIOUSOVERALLCONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSOVERALLCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspiciousOverallConfigRequest : public RpcServiceRequest + { + + public: + DescribeSuspiciousOverallConfigRequest(); + ~DescribeSuspiciousOverallConfigRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getType()const; + void setType(const std::string& type); + + private: + std::string sourceIp_; + std::string type_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSOVERALLCONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousOverallConfigResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousOverallConfigResult.h new file mode 100644 index 000000000..db5c9c582 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousOverallConfigResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSOVERALLCONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSOVERALLCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspiciousOverallConfigResult : public ServiceResult + { + public: + struct OverallConfig + { + std::string type; + std::string config; + }; + + + DescribeSuspiciousOverallConfigResult(); + explicit DescribeSuspiciousOverallConfigResult(const std::string &payload); + ~DescribeSuspiciousOverallConfigResult(); + OverallConfig getOverallConfig()const; + + protected: + void parse(const std::string &payload); + private: + OverallConfig overallConfig_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSOVERALLCONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousUUIDConfigRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousUUIDConfigRequest.h new file mode 100644 index 000000000..f7e93c363 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousUUIDConfigRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSUUIDCONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSUUIDCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspiciousUUIDConfigRequest : public RpcServiceRequest + { + + public: + DescribeSuspiciousUUIDConfigRequest(); + ~DescribeSuspiciousUUIDConfigRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + + private: + std::string sourceIp_; + std::string lang_; + std::string type_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSUUIDCONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousUUIDConfigResult.h b/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousUUIDConfigResult.h new file mode 100644 index 000000000..3cc5d977e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeSuspiciousUUIDConfigResult.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_AEGIS_MODEL_DESCRIBESUSPICIOUSUUIDCONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSUUIDCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspiciousUUIDConfigResult : public ServiceResult + { + public: + + + DescribeSuspiciousUUIDConfigResult(); + explicit DescribeSuspiciousUUIDConfigResult(const std::string &payload); + ~DescribeSuspiciousUUIDConfigResult(); + std::vector getUUIDList()const; + int getCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector uUIDList_; + int count_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSUUIDCONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeTargetConfigRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeTargetConfigRequest.h new file mode 100644 index 000000000..a94fed63b --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeTargetConfigRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBETARGETCONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBETARGETCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeTargetConfigRequest : public RpcServiceRequest + { + + public: + DescribeTargetConfigRequest(); + ~DescribeTargetConfigRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getType()const; + void setType(const std::string& type); + std::string getUuid()const; + void setUuid(const std::string& uuid); + + private: + std::string sourceIp_; + std::string type_; + std::string uuid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBETARGETCONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeTargetConfigResult.h b/aegis/include/alibabacloud/aegis/model/DescribeTargetConfigResult.h new file mode 100644 index 000000000..9b56bdcea --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeTargetConfigResult.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_AEGIS_MODEL_DESCRIBETARGETCONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBETARGETCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeTargetConfigResult : public ServiceResult + { + public: + struct TargetConfig + { + std::string type; + std::string config; + std::string overAllConfig; + }; + + + DescribeTargetConfigResult(); + explicit DescribeTargetConfigResult(const std::string &payload); + ~DescribeTargetConfigResult(); + int getTotalCount()const; + std::vector getTargetConfigs()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector targetConfigs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBETARGETCONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeTargetRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeTargetRequest.h new file mode 100644 index 000000000..746c2fd56 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeTargetRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBETARGETREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBETARGETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeTargetRequest : public RpcServiceRequest + { + + public: + DescribeTargetRequest(); + ~DescribeTargetRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getType()const; + void setType(const std::string& type); + std::string getConfig()const; + void setConfig(const std::string& config); + + private: + std::string sourceIp_; + std::string type_; + std::string config_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBETARGETREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeTargetResult.h b/aegis/include/alibabacloud/aegis/model/DescribeTargetResult.h new file mode 100644 index 000000000..18d691cbf --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeTargetResult.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_AEGIS_MODEL_DESCRIBETARGETRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBETARGETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeTargetResult : public ServiceResult + { + public: + struct Target + { + std::string target; + std::string targetType; + std::string flag; + }; + + + DescribeTargetResult(); + explicit DescribeTargetResult(const std::string &payload); + ~DescribeTargetResult(); + int getTotalCount()const; + std::vector getTargets()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector targets_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBETARGETRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeTopRiskyAssetsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeTopRiskyAssetsRequest.h new file mode 100644 index 000000000..b808c0bf1 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeTopRiskyAssetsRequest.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_AEGIS_MODEL_DESCRIBETOPRISKYASSETSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBETOPRISKYASSETSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeTopRiskyAssetsRequest : public RpcServiceRequest + { + + public: + DescribeTopRiskyAssetsRequest(); + ~DescribeTopRiskyAssetsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + + private: + std::string sourceIp_; + int pageSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBETOPRISKYASSETSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeTopRiskyAssetsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeTopRiskyAssetsResult.h new file mode 100644 index 000000000..ec2c05118 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeTopRiskyAssetsResult.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_AEGIS_MODEL_DESCRIBETOPRISKYASSETSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBETOPRISKYASSETSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeTopRiskyAssetsResult : public ServiceResult + { + public: + struct TopRiskyAsset + { + struct AssetInfo + { + std::string instanceName; + std::string uuid; + std::string ip; + std::string count; + }; + std::string type; + std::vector assetInfos; + }; + + + DescribeTopRiskyAssetsResult(); + explicit DescribeTopRiskyAssetsResult(const std::string &payload); + ~DescribeTopRiskyAssetsResult(); + int getTotalCount()const; + std::vector getTopRiskyAssets()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector topRiskyAssets_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBETOPRISKYASSETSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeTopicListRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeTopicListRequest.h new file mode 100644 index 000000000..b31e84788 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeTopicListRequest.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_AEGIS_MODEL_DESCRIBETOPICLISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBETOPICLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeTopicListRequest : public RpcServiceRequest + { + + public: + DescribeTopicListRequest(); + ~DescribeTopicListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBETOPICLISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeTopicListResult.h b/aegis/include/alibabacloud/aegis/model/DescribeTopicListResult.h new file mode 100644 index 000000000..9196957b0 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeTopicListResult.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_AEGIS_MODEL_DESCRIBETOPICLISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBETOPICLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeTopicListResult : public ServiceResult + { + public: + + + DescribeTopicListResult(); + explicit DescribeTopicListResult(const std::string &payload); + ~DescribeTopicListResult(); + std::vector getTopicList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector topicList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBETOPICLISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeTotalStatisticsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeTotalStatisticsRequest.h new file mode 100644 index 000000000..d5b9e5fb7 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeTotalStatisticsRequest.h @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBETOTALSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBETOTALSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeTotalStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeTotalStatisticsRequest(); + ~DescribeTotalStatisticsRequest(); + + std::string getStatusList()const; + void setStatusList(const std::string& statusList); + std::string getSaleId()const; + void setSaleId(const std::string& saleId); + int getRuleType()const; + void setRuleType(int ruleType); + long getGroupId()const; + void setGroupId(long groupId); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getDealed()const; + void setDealed(const std::string& dealed); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getType()const; + void setType(const std::string& type); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getSecureToken()const; + void setSecureToken(const std::string& secureToken); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getWebGroupId()const; + void setWebGroupId(long webGroupId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getFrom()const; + void setFrom(const std::string& from); + int getAction1()const; + void setAction1(int action1); + std::string getTag()const; + void setTag(const std::string& tag); + int getFlow()const; + void setFlow(int flow); + int getStatus()const; + void setStatus(int status); + + private: + std::string statusList_; + std::string saleId_; + int ruleType_; + long groupId_; + std::string endTime_; + std::string remark_; + std::string dealed_; + int currentPage_; + std::string startTime_; + std::string type_; + std::string uuid_; + std::string secureToken_; + std::string sourceIp_; + long webGroupId_; + int pageSize_; + std::string from_; + int action1_; + std::string tag_; + int flow_; + int status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBETOTALSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeTotalStatisticsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeTotalStatisticsResult.h new file mode 100644 index 000000000..e7617a8aa --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeTotalStatisticsResult.h @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBETOTALSTATISTICSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBETOTALSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeTotalStatisticsResult : public ServiceResult + { + public: + + + DescribeTotalStatisticsResult(); + explicit DescribeTotalStatisticsResult(const std::string &payload); + ~DescribeTotalStatisticsResult(); + int getSuspiciousTotal()const; + int getAccount()const; + int getVulDealedTotal()const; + int getSuspicioushighTotal()const; + int getSuspiciousseriousTotal()const; + int getVulAsapSum()const; + int getVulNntfSum()const; + int getNewsuspicious()const; + int getHealthhighTotal()const; + int getHealthmediumTotal()const; + int getVulLaterSum()const; + int getSuspiciousmediumTotal()const; + int getHealthlowTotal()const; + int getHealth()const; + int getHealthdealedTotal()const; + int getHealthseriousTotal()const; + int getVulTotal()const; + int getVul()const; + int getSuspiciouslowTotal()const; + int getSuspicious()const; + int getTrojan()const; + bool getOnline()const; + int getPatch()const; + int getSuspiciousdealedTotal()const; + int getHealthTotal()const; + + protected: + void parse(const std::string &payload); + private: + int suspiciousTotal_; + int account_; + int vulDealedTotal_; + int suspicioushighTotal_; + int suspiciousseriousTotal_; + int vulAsapSum_; + int vulNntfSum_; + int newsuspicious_; + int healthhighTotal_; + int healthmediumTotal_; + int vulLaterSum_; + int suspiciousmediumTotal_; + int healthlowTotal_; + int health_; + int healthdealedTotal_; + int healthseriousTotal_; + int vulTotal_; + int vul_; + int suspiciouslowTotal_; + int suspicious_; + int trojan_; + bool online_; + int patch_; + int suspiciousdealedTotal_; + int healthTotal_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBETOTALSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoDetailRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoDetailRequest.h new file mode 100644 index 000000000..8fb493a24 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoDetailRequest.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_AEGIS_MODEL_DESCRIBETRACEINFODETAILREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBETRACEINFODETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeTraceInfoDetailRequest : public RpcServiceRequest + { + + public: + DescribeTraceInfoDetailRequest(); + ~DescribeTraceInfoDetailRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getVertexId()const; + void setVertexId(const std::string& vertexId); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + std::string getUuid()const; + void setUuid(const std::string& uuid); + + private: + std::string sourceIp_; + std::string vertexId_; + std::string from_; + std::string lang_; + std::string type_; + std::string uuid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBETRACEINFODETAILREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoDetailResult.h b/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoDetailResult.h new file mode 100644 index 000000000..b456f37ff --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoDetailResult.h @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBETRACEINFODETAILRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBETRACEINFODETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeTraceInfoDetailResult : public ServiceResult + { + public: + struct TraceInfoDetail + { + struct Edge + { + std::string endId; + std::string time; + int count; + std::string startId; + }; + struct Vertex + { + struct Neighbor + { + bool hasMore; + std::string type; + int count; + }; + std::string type; + std::vector neighborList; + std::string time; + int count; + std::string id; + std::string name; + }; + struct EntityType + { + long gmtCreate; + std::string displayColor; + long gmtModified; + std::string displayIcon; + int dbId; + std::string _namespace; + int limit; + std::string id; + std::string displayTemplate; + int offset; + std::string name; + }; + std::vector entityTypeList; + std::vector edgeList; + std::vector vertexList; + }; + + + DescribeTraceInfoDetailResult(); + explicit DescribeTraceInfoDetailResult(const std::string &payload); + ~DescribeTraceInfoDetailResult(); + TraceInfoDetail getTraceInfoDetail()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + TraceInfoDetail traceInfoDetail_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBETRACEINFODETAILRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoNodeListRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoNodeListRequest.h new file mode 100644 index 000000000..22b03271c --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoNodeListRequest.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_AEGIS_MODEL_DESCRIBETRACEINFONODELISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBETRACEINFONODELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeTraceInfoNodeListRequest : public RpcServiceRequest + { + + public: + DescribeTraceInfoNodeListRequest(); + ~DescribeTraceInfoNodeListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getVertexId()const; + void setVertexId(const std::string& vertexId); + std::string getStartType()const; + void setStartType(const std::string& startType); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getFrom()const; + void setFrom(const std::string& from); + int getPage()const; + void setPage(int page); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + std::string getUuid()const; + void setUuid(const std::string& uuid); + + private: + std::string sourceIp_; + std::string vertexId_; + std::string startType_; + int pageSize_; + std::string from_; + int page_; + std::string lang_; + std::string type_; + std::string uuid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBETRACEINFONODELISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoNodeListResult.h b/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoNodeListResult.h new file mode 100644 index 000000000..46f7829fe --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoNodeListResult.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_AEGIS_MODEL_DESCRIBETRACEINFONODELISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBETRACEINFONODELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeTraceInfoNodeListResult : public ServiceResult + { + public: + struct NodeListInfo + { + struct Edge + { + std::string endId; + std::string time; + std::string startId; + }; + struct Vertex + { + std::vector neighborList; + std::string time; + std::string id; + std::string name; + }; + std::vector entityTypeList; + std::vector edgeList; + std::vector vertexList; + }; + + + DescribeTraceInfoNodeListResult(); + explicit DescribeTraceInfoNodeListResult(const std::string &payload); + ~DescribeTraceInfoNodeListResult(); + NodeListInfo getNodeListInfo()const; + + protected: + void parse(const std::string &payload); + private: + NodeListInfo nodeListInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBETRACEINFONODELISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoNodeRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoNodeRequest.h new file mode 100644 index 000000000..909558e75 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoNodeRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBETRACEINFONODEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBETRACEINFONODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeTraceInfoNodeRequest : public RpcServiceRequest + { + + public: + DescribeTraceInfoNodeRequest(); + ~DescribeTraceInfoNodeRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getVertexId()const; + void setVertexId(const std::string& vertexId); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getEventName()const; + void setEventName(const std::string& eventName); + + private: + std::string sourceIp_; + std::string vertexId_; + std::string from_; + std::string lang_; + std::string type_; + std::string uuid_; + std::string eventName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBETRACEINFONODEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoNodeResult.h b/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoNodeResult.h new file mode 100644 index 000000000..6b28e0d7b --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeTraceInfoNodeResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBETRACEINFONODERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBETRACEINFONODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeTraceInfoNodeResult : public ServiceResult + { + public: + struct Node + { + struct Property + { + std::string value; + std::string name; + }; + std::string type; + std::vector propertyList; + std::string name; + }; + + + DescribeTraceInfoNodeResult(); + explicit DescribeTraceInfoNodeResult(const std::string &payload); + ~DescribeTraceInfoNodeResult(); + Node getNode()const; + + protected: + void parse(const std::string &payload); + private: + Node node_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBETRACEINFONODERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeUserSettingRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeUserSettingRequest.h new file mode 100644 index 000000000..0b1caae12 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeUserSettingRequest.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_AEGIS_MODEL_DESCRIBEUSERSETTINGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEUSERSETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeUserSettingRequest : public RpcServiceRequest + { + + public: + DescribeUserSettingRequest(); + ~DescribeUserSettingRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEUSERSETTINGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeUserSettingResult.h b/aegis/include/alibabacloud/aegis/model/DescribeUserSettingResult.h new file mode 100644 index 000000000..4b6f71c61 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeUserSettingResult.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_AEGIS_MODEL_DESCRIBEUSERSETTINGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEUSERSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeUserSettingResult : public ServiceResult + { + public: + + + DescribeUserSettingResult(); + explicit DescribeUserSettingResult(const std::string &payload); + ~DescribeUserSettingResult(); + int getInvalidWarningKeepDays()const; + std::string getAlertLevels()const; + + protected: + void parse(const std::string &payload); + private: + int invalidWarningKeepDays_; + std::string alertLevels_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEUSERSETTINGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeUuidConfigRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeUuidConfigRequest.h new file mode 100644 index 000000000..494220967 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeUuidConfigRequest.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_AEGIS_MODEL_DESCRIBEUUIDCONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEUUIDCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeUuidConfigRequest : public RpcServiceRequest + { + + public: + DescribeUuidConfigRequest(); + ~DescribeUuidConfigRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getUuid()const; + void setUuid(const std::string& uuid); + + private: + std::string sourceIp_; + std::string uuid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEUUIDCONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeUuidConfigResult.h b/aegis/include/alibabacloud/aegis/model/DescribeUuidConfigResult.h new file mode 100644 index 000000000..f2d4f57a0 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeUuidConfigResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEUUIDCONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEUUIDCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeUuidConfigResult : public ServiceResult + { + public: + struct Data + { + std::string flag; + }; + + + DescribeUuidConfigResult(); + explicit DescribeUuidConfigResult(const std::string &payload); + ~DescribeUuidConfigResult(); + Data getData()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEUUIDCONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVersionConfigRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeVersionConfigRequest.h new file mode 100644 index 000000000..30b67cd2d --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVersionConfigRequest.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_AEGIS_MODEL_DESCRIBEVERSIONCONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVERSIONCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVersionConfigRequest : public RpcServiceRequest + { + + public: + DescribeVersionConfigRequest(); + ~DescribeVersionConfigRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVERSIONCONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVersionConfigResult.h b/aegis/include/alibabacloud/aegis/model/DescribeVersionConfigResult.h new file mode 100644 index 000000000..c9c0993b5 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVersionConfigResult.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_AEGIS_MODEL_DESCRIBEVERSIONCONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVERSIONCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVersionConfigResult : public ServiceResult + { + public: + + + DescribeVersionConfigResult(); + explicit DescribeVersionConfigResult(const std::string &payload); + ~DescribeVersionConfigResult(); + int getAssetLevel()const; + std::string getInstanceId()const; + long getAppWhiteListAuthCount()const; + long getCreateTime()const; + int getLogTime()const; + int getSasScreen()const; + bool getIsSasOpening()const; + int getLogCapacity()const; + int getFlag()const; + int getSasLog()const; + long getReleaseTime()const; + int getVersion()const; + int getAvdsFlag()const; + int getIsTrialVersion()const; + long getWebLockAuthCount()const; + long getSlsCapacity()const; + int getUserDefinedAlarms()const; + int getAppWhiteList()const; + int getWebLock()const; + + protected: + void parse(const std::string &payload); + private: + int assetLevel_; + std::string instanceId_; + long appWhiteListAuthCount_; + long createTime_; + int logTime_; + int sasScreen_; + bool isSasOpening_; + int logCapacity_; + int flag_; + int sasLog_; + long releaseTime_; + int version_; + int avdsFlag_; + int isTrialVersion_; + long webLockAuthCount_; + long slsCapacity_; + int userDefinedAlarms_; + int appWhiteList_; + int webLock_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVERSIONCONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulBatchRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeVulBatchRequest.h new file mode 100644 index 000000000..acf686294 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulBatchRequest.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_AEGIS_MODEL_DESCRIBEVULBATCHREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULBATCHREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulBatchRequest : public RpcServiceRequest + { + + public: + DescribeVulBatchRequest(); + ~DescribeVulBatchRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getResource()const; + void setResource(const std::string& resource); + + private: + std::string sourceIp_; + std::string resource_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULBATCHREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulBatchResult.h b/aegis/include/alibabacloud/aegis/model/DescribeVulBatchResult.h new file mode 100644 index 000000000..b8ae31c94 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulBatchResult.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_AEGIS_MODEL_DESCRIBEVULBATCHRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULBATCHRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulBatchResult : public ServiceResult + { + public: + + + DescribeVulBatchResult(); + explicit DescribeVulBatchResult(const std::string &payload); + ~DescribeVulBatchResult(); + std::vector getBatchNames()const; + + protected: + void parse(const std::string &payload); + private: + std::vector batchNames_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULBATCHRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulConfigRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeVulConfigRequest.h new file mode 100644 index 000000000..0cd6525e0 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulConfigRequest.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_AEGIS_MODEL_DESCRIBEVULCONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulConfigRequest : public RpcServiceRequest + { + + public: + DescribeVulConfigRequest(); + ~DescribeVulConfigRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getType()const; + void setType(const std::string& type); + + private: + std::string sourceIp_; + std::string type_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULCONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulConfigResult.h b/aegis/include/alibabacloud/aegis/model/DescribeVulConfigResult.h new file mode 100644 index 000000000..a18e0507f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulConfigResult.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_AEGIS_MODEL_DESCRIBEVULCONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulConfigResult : public ServiceResult + { + public: + struct TargetConfig + { + std::string type; + std::string config; + std::string overAllConfig; + }; + + + DescribeVulConfigResult(); + explicit DescribeVulConfigResult(const std::string &payload); + ~DescribeVulConfigResult(); + int getTotalCount()const; + std::vector getTargetConfigs()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector targetConfigs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULCONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulDetailsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeVulDetailsRequest.h index 2933ffed5..9ad42b7f2 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeVulDetailsRequest.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulDetailsRequest.h @@ -35,71 +35,23 @@ namespace AlibabaCloud DescribeVulDetailsRequest(); ~DescribeVulDetailsRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getProduct()const; - void setProduct(const std::string& product); - std::string getStatusList()const; - void setStatusList(const std::string& statusList); - std::string getLevel()const; - void setLevel(const std::string& level); - std::string getResource()const; - void setResource(const std::string& resource); - std::string getOrderBy()const; - void setOrderBy(const std::string& orderBy); - std::string getDealed()const; - void setDealed(const std::string& dealed); - int getCurrentPage()const; - void setCurrentPage(int currentPage); - std::string getType()const; - void setType(const std::string& type); - long getLastTsEnd()const; - void setLastTsEnd(long lastTsEnd); - std::string getBatchName()const; - void setBatchName(const std::string& batchName); - long getPatchId()const; - void setPatchId(long patchId); std::string getAliasName()const; void setAliasName(const std::string& aliasName); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); std::string getName()const; void setName(const std::string& name); - int getPageSize()const; - void setPageSize(int pageSize); std::string getLang()const; void setLang(const std::string& lang); - long getLastTsStart()const; - void setLastTsStart(long lastTsStart); - std::string getNecessity()const; - void setNecessity(const std::string& necessity); - std::string getUuids()const; - void setUuids(const std::string& uuids); - std::string getDirection()const; - void setDirection(const std::string& direction); + std::string getType()const; + void setType(const std::string& type); private: - long resourceOwnerId_; - std::string product_; - std::string statusList_; - std::string level_; - std::string resource_; - std::string orderBy_; - std::string dealed_; - int currentPage_; - std::string type_; - long lastTsEnd_; - std::string batchName_; - long patchId_; std::string aliasName_; std::string sourceIp_; std::string name_; - int pageSize_; std::string lang_; - long lastTsStart_; - std::string necessity_; - std::string uuids_; - std::string direction_; + std::string type_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulDetailsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeVulDetailsResult.h index c98ed6036..d821ad842 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeVulDetailsResult.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulDetailsResult.h @@ -32,47 +32,46 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT DescribeVulDetailsResult : public ServiceResult { public: + struct Cve + { + struct Classify + { + std::string demoVideoUrl; + std::string description; + std::string classify; + }; + std::string cvssVector; + std::string cvssScore; + std::string classify; + std::string poc; + long pocDisclosureTime; + std::string reference; + std::vector classifys; + std::string title; + std::string product; + std::string cveId; + std::string vendor; + std::string otherId; + std::string cnvdId; + std::string complexity; + long releaseTime; + long pocCreateTime; + std::string content; + std::string summary; + std::string solution; + std::string vulLevel; + }; DescribeVulDetailsResult(); explicit DescribeVulDetailsResult(const std::string &payload); ~DescribeVulDetailsResult(); - int getPendingCount()const; - std::string getDescription()const; - std::vector getCveLists()const; - std::string getCveIds()const; - long getVulPublishTs()const; - std::string getProduct()const; - bool getHasPatch()const; - std::string getName()const; - std::string getType()const; - std::string getCvss()const; - long getPatchPublishTs()const; - int getHandledCount()const; - std::string getAliasName()const; - std::string getLevel()const; - std::string getAdvice()const; - std::string getPatchSource()const; + std::vector getCves()const; protected: void parse(const std::string &payload); private: - int pendingCount_; - std::string description_; - std::vector cveLists_; - std::string cveIds_; - long vulPublishTs_; - std::string product_; - bool hasPatch_; - std::string name_; - std::string type_; - std::string cvss_; - long patchPublishTs_; - int handledCount_; - std::string aliasName_; - std::string level_; - std::string advice_; - std::string patchSource_; + std::vector cves_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulExportInfoRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeVulExportInfoRequest.h new file mode 100644 index 000000000..f2dbf94c0 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulExportInfoRequest.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_AEGIS_MODEL_DESCRIBEVULEXPORTINFOREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULEXPORTINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulExportInfoRequest : public RpcServiceRequest + { + + public: + DescribeVulExportInfoRequest(); + ~DescribeVulExportInfoRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getExportId()const; + void setExportId(long exportId); + + private: + std::string sourceIp_; + long exportId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULEXPORTINFOREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulExportInfoResult.h b/aegis/include/alibabacloud/aegis/model/DescribeVulExportInfoResult.h new file mode 100644 index 000000000..6934b4e4d --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulExportInfoResult.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_AEGIS_MODEL_DESCRIBEVULEXPORTINFORESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULEXPORTINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulExportInfoResult : public ServiceResult + { + public: + + + DescribeVulExportInfoResult(); + explicit DescribeVulExportInfoResult(const std::string &payload); + ~DescribeVulExportInfoResult(); + int getTotalCount()const; + int getProgress()const; + std::string getMessage()const; + std::string getFileName()const; + std::string getExportStatus()const; + int getCurrentCount()const; + long getId()const; + std::string getLink()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int progress_; + std::string message_; + std::string fileName_; + std::string exportStatus_; + int currentCount_; + long id_; + std::string link_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULEXPORTINFORESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulLevelRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeVulLevelRequest.h new file mode 100644 index 000000000..bb47d4a90 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulLevelRequest.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_AEGIS_MODEL_DESCRIBEVULLEVELREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULLEVELREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulLevelRequest : public RpcServiceRequest + { + + public: + DescribeVulLevelRequest(); + ~DescribeVulLevelRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULLEVELREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulLevelResult.h b/aegis/include/alibabacloud/aegis/model/DescribeVulLevelResult.h new file mode 100644 index 000000000..ce75e1caf --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulLevelResult.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_AEGIS_MODEL_DESCRIBEVULLEVELRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULLEVELRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulLevelResult : public ServiceResult + { + public: + + + DescribeVulLevelResult(); + explicit DescribeVulLevelResult(const std::string &payload); + ~DescribeVulLevelResult(); + std::vector getConcernLevels()const; + + protected: + void parse(const std::string &payload); + private: + std::vector concernLevels_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULLEVELRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulLevelStatisticsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeVulLevelStatisticsRequest.h new file mode 100644 index 000000000..4fef22ac0 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulLevelStatisticsRequest.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_AEGIS_MODEL_DESCRIBEVULLEVELSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULLEVELSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulLevelStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeVulLevelStatisticsRequest(); + ~DescribeVulLevelStatisticsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getEndTs()const; + void setEndTs(long endTs); + long getStartTs()const; + void setStartTs(long startTs); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string sourceIp_; + long endTs_; + long startTs_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULLEVELSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulLevelStatisticsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeVulLevelStatisticsResult.h new file mode 100644 index 000000000..2fccb5152 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulLevelStatisticsResult.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_AEGIS_MODEL_DESCRIBEVULLEVELSTATISTICSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULLEVELSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulLevelStatisticsResult : public ServiceResult + { + public: + struct LevelStatistic + { + int vulDealedTotalNum; + int vulHighTotal; + int vulLaterSum; + int vulLowTotal; + int emgNum; + int vulAsapSum; + int vulSeriousTotal; + int vulNntfSum; + int cveNum; + int cmsNum; + int cmsDealedTotalNum; + int sysNum; + std::string level; + int vulMediumTotal; + }; + + + DescribeVulLevelStatisticsResult(); + explicit DescribeVulLevelStatisticsResult(const std::string &payload); + ~DescribeVulLevelStatisticsResult(); + int getTotalCount()const; + std::vector getLevelStatistics()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector levelStatistics_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULLEVELSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulListRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeVulListRequest.h index 6970793dc..1ddf3cf8c 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeVulListRequest.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulListRequest.h @@ -35,30 +35,24 @@ namespace AlibabaCloud DescribeVulListRequest(); ~DescribeVulListRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getProduct()const; - void setProduct(const std::string& product); std::string getStatusList()const; void setStatusList(const std::string& statusList); std::string getLevel()const; void setLevel(const std::string& level); std::string getResource()const; void setResource(const std::string& resource); - std::string getOrderBy()const; - void setOrderBy(const std::string& orderBy); + std::string getRemark()const; + void setRemark(const std::string& remark); std::string getDealed()const; void setDealed(const std::string& dealed); int getCurrentPage()const; void setCurrentPage(int currentPage); std::string getType()const; void setType(const std::string& type); - long getLastTsEnd()const; - void setLastTsEnd(long lastTsEnd); + long getCreateTsStart()const; + void setCreateTsStart(long createTsStart); std::string getBatchName()const; void setBatchName(const std::string& batchName); - long getPatchId()const; - void setPatchId(long patchId); std::string getAliasName()const; void setAliasName(const std::string& aliasName); std::string getSourceIp()const; @@ -69,37 +63,31 @@ namespace AlibabaCloud void setPageSize(int pageSize); std::string getLang()const; void setLang(const std::string& lang); - long getLastTsStart()const; - void setLastTsStart(long lastTsStart); + long getCreateTsEnd()const; + void setCreateTsEnd(long createTsEnd); std::string getNecessity()const; void setNecessity(const std::string& necessity); std::string getUuids()const; void setUuids(const std::string& uuids); - std::string getDirection()const; - void setDirection(const std::string& direction); private: - long resourceOwnerId_; - std::string product_; std::string statusList_; std::string level_; std::string resource_; - std::string orderBy_; + std::string remark_; std::string dealed_; int currentPage_; std::string type_; - long lastTsEnd_; + long createTsStart_; std::string batchName_; - long patchId_; std::string aliasName_; std::string sourceIp_; std::string name_; int pageSize_; std::string lang_; - long lastTsStart_; + long createTsEnd_; std::string necessity_; std::string uuids_; - std::string direction_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulListResult.h b/aegis/include/alibabacloud/aegis/model/DescribeVulListResult.h index 7b660536e..07619d284 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeVulListResult.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulListResult.h @@ -32,25 +32,91 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT DescribeVulListResult : public ServiceResult { public: + struct VulRecord + { + struct ExtendContentJson + { + struct Necessity + { + std::string status; + std::string total_score; + std::string gmt_create; + std::string cvss_factor; + std::string time_factor; + std::string is_calc; + std::string enviroment_factor; + std::string assets_factor; + }; + struct RpmEntityListItem + { + std::string path; + std::string updateCmd; + std::string version; + std::string fullVersion; + std::string matchDetail; + std::string name; + }; + int status; + std::vector cveList; + std::string os; + Necessity necessity; + long lastTs; + std::vector rpmEntityList; + std::string absolutePath; + std::string reason; + std::string target; + std::string aliasName; + std::string proof; + std::string level; + std::string tag; + std::string osRelease; + long primaryId; + }; + std::string ip; + std::string osVersion; + std::string product; + std::string intranetIp; + std::string name; + long repairTs; + long modifyTs; + std::string internetIp; + std::string aliasName; + long recordId; + ExtendContentJson extendContentJson; + int status; + std::string instanceId; + long lastTs; + std::string necessity; + std::string needReboot; + std::string resultMessage; + int groupId; + std::string instanceName; + std::string type; + long firstTs; + std::string uuid; + std::string related; + std::string level; + std::string tag; + long primaryId; + std::string resultCode; + }; DescribeVulListResult(); explicit DescribeVulListResult(const std::string &payload); ~DescribeVulListResult(); - int getTotalCount()const; - std::vector getVulRecords()const; - int getPageSize()const; - int getCurrentPage()const; - int getCount()const; + int getTotalCount()const; + std::vector getVulRecords()const; + int getPageSize()const; + int getCurrentPage()const; protected: void parse(const std::string &payload); private: - int totalCount_; - std::vector vulRecords_; - int pageSize_; - int currentPage_; - int count_; + int totalCount_; + std::vector vulRecords_; + int pageSize_; + int currentPage_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulMachineListRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeVulMachineListRequest.h new file mode 100644 index 000000000..78b383126 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulMachineListRequest.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_AEGIS_MODEL_DESCRIBEVULMACHINELISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULMACHINELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulMachineListRequest : public RpcServiceRequest + { + + public: + DescribeVulMachineListRequest(); + ~DescribeVulMachineListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getEndTs()const; + void setEndTs(long endTs); + long getStartTs()const; + void setStartTs(long startTs); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string sourceIp_; + long endTs_; + long startTs_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULMACHINELISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulMachineListResult.h b/aegis/include/alibabacloud/aegis/model/DescribeVulMachineListResult.h new file mode 100644 index 000000000..303c7935f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulMachineListResult.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_AEGIS_MODEL_DESCRIBEVULMACHINELISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULMACHINELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulMachineListResult : public ServiceResult + { + public: + struct MachineStatistic + { + int vulDealedTotalNum; + int vulHighTotal; + int vulLaterSum; + int vulLowTotal; + int emgNum; + int vulAsapSum; + int vulSeriousTotal; + std::string uuid; + int vulNntfSum; + int cveNum; + int cmsNum; + int cmsDealedTotalNum; + int sysNum; + int vulMediumTotal; + }; + + + DescribeVulMachineListResult(); + explicit DescribeVulMachineListResult(const std::string &payload); + ~DescribeVulMachineListResult(); + int getTotalCount()const; + std::vector getMachineStatistics()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector machineStatistics_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULMACHINELISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulNumStatisticsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeVulNumStatisticsRequest.h new file mode 100644 index 000000000..8bfee812e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulNumStatisticsRequest.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_AEGIS_MODEL_DESCRIBEVULNUMSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULNUMSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulNumStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeVulNumStatisticsRequest(); + ~DescribeVulNumStatisticsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getEndTs()const; + void setEndTs(long endTs); + long getStartTs()const; + void setStartTs(long startTs); + long getCreateTsEnd()const; + void setCreateTsEnd(long createTsEnd); + long getCreateTsStart()const; + void setCreateTsStart(long createTsStart); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string sourceIp_; + long endTs_; + long startTs_; + long createTsEnd_; + long createTsStart_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULNUMSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulNumStatisticsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeVulNumStatisticsResult.h new file mode 100644 index 000000000..02bc08864 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulNumStatisticsResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULNUMSTATISTICSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULNUMSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulNumStatisticsResult : public ServiceResult + { + public: + + + DescribeVulNumStatisticsResult(); + explicit DescribeVulNumStatisticsResult(const std::string &payload); + ~DescribeVulNumStatisticsResult(); + int getVulDealedTotalNum()const; + int getVulAsapSum()const; + int getVulLaterSum()const; + int getVulNntfSum()const; + int getCveNum()const; + int getCmsNum()const; + int getCmsDealedTotalNum()const; + int getEmgNum()const; + int getSysNum()const; + + protected: + void parse(const std::string &payload); + private: + int vulDealedTotalNum_; + int vulAsapSum_; + int vulLaterSum_; + int vulNntfSum_; + int cveNum_; + int cmsNum_; + int cmsDealedTotalNum_; + int emgNum_; + int sysNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULNUMSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulTargetStatisticsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeVulTargetStatisticsRequest.h new file mode 100644 index 000000000..039c49812 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulTargetStatisticsRequest.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_AEGIS_MODEL_DESCRIBEVULTARGETSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULTARGETSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulTargetStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeVulTargetStatisticsRequest(); + ~DescribeVulTargetStatisticsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getType()const; + void setType(const std::string& type); + + private: + std::string sourceIp_; + std::string type_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULTARGETSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulTargetStatisticsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeVulTargetStatisticsResult.h new file mode 100644 index 000000000..6a35ad4f5 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulTargetStatisticsResult.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_AEGIS_MODEL_DESCRIBEVULTARGETSTATISTICSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULTARGETSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulTargetStatisticsResult : public ServiceResult + { + public: + struct TargetStat + { + struct Target + { + std::string target; + std::string targetType; + std::string flag; + }; + std::string totalCount; + std::vector targets; + std::string uuidCount; + std::string vulType; + }; + + + DescribeVulTargetStatisticsResult(); + explicit DescribeVulTargetStatisticsResult(const std::string &payload); + ~DescribeVulTargetStatisticsResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getTargetStats()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector targetStats_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULTARGETSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulWhitelistRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeVulWhitelistRequest.h new file mode 100644 index 000000000..54b76b030 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulWhitelistRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULWHITELISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULWHITELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulWhitelistRequest : public RpcServiceRequest + { + + public: + DescribeVulWhitelistRequest(); + ~DescribeVulWhitelistRequest(); + + 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: + std::string sourceIp_; + int pageSize_; + int currentPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULWHITELISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulWhitelistResult.h b/aegis/include/alibabacloud/aegis/model/DescribeVulWhitelistResult.h new file mode 100644 index 000000000..ff11123d7 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulWhitelistResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULWHITELISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULWHITELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulWhitelistResult : public ServiceResult + { + public: + struct VulWhitelist + { + std::string type; + std::string aliasName; + std::string reason; + std::string name; + }; + + + DescribeVulWhitelistResult(); + explicit DescribeVulWhitelistResult(const std::string &payload); + ~DescribeVulWhitelistResult(); + int getTotalCount()const; + std::vector getVulWhitelists()const; + int getPageSize()const; + int getCurrentPage()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector vulWhitelists_; + int pageSize_; + int currentPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULWHITELISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulnerabilitySummaryRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeVulnerabilitySummaryRequest.h new file mode 100644 index 000000000..4e46c0fd6 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulnerabilitySummaryRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULNERABILITYSUMMARYREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULNERABILITYSUMMARYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulnerabilitySummaryRequest : public RpcServiceRequest + { + + public: + DescribeVulnerabilitySummaryRequest(); + ~DescribeVulnerabilitySummaryRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getCronJobId()const; + void setCronJobId(const std::string& cronJobId); + + private: + long resourceOwnerId_; + std::string sourceIp_; + std::string cronJobId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULNERABILITYSUMMARYREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeVulnerabilitySummaryResult.h b/aegis/include/alibabacloud/aegis/model/DescribeVulnerabilitySummaryResult.h new file mode 100644 index 000000000..ad14026d5 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeVulnerabilitySummaryResult.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_AEGIS_MODEL_DESCRIBEVULNERABILITYSUMMARYRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULNERABILITYSUMMARYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeVulnerabilitySummaryResult : public ServiceResult + { + public: + + + DescribeVulnerabilitySummaryResult(); + explicit DescribeVulnerabilitySummaryResult(const std::string &payload); + ~DescribeVulnerabilitySummaryResult(); + long getTotalCount()const; + long getHighCount()const; + long getLowCount()const; + long getConcernCount()const; + long getMediumCount()const; + bool getSuccess()const; + long getSuggestionCount()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + long highCount_; + long lowCount_; + long concernCount_; + long mediumCount_; + bool success_; + long suggestionCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULNERABILITYSUMMARYRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWarningMachinesRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeWarningMachinesRequest.h new file mode 100644 index 000000000..a253f598a --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWarningMachinesRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWARNINGMACHINESREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWARNINGMACHINESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWarningMachinesRequest : public RpcServiceRequest + { + + public: + DescribeWarningMachinesRequest(); + ~DescribeWarningMachinesRequest(); + + 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); + long getStrategyId()const; + void setStrategyId(long strategyId); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLang()const; + void setLang(const std::string& lang); + long getRiskId()const; + void setRiskId(long riskId); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string sourceIp_; + int pageSize_; + std::string machineName_; + long strategyId_; + int currentPage_; + std::string lang_; + long riskId_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWARNINGMACHINESREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWarningMachinesResult.h b/aegis/include/alibabacloud/aegis/model/DescribeWarningMachinesResult.h new file mode 100644 index 000000000..cf66d8068 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWarningMachinesResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWARNINGMACHINESRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWARNINGMACHINESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWarningMachinesResult : public ServiceResult + { + public: + struct WarningMachine + { + int status; + int mediumWarningCount; + std::string uuid; + std::string machineName; + std::string internetIp; + int highWarningCount; + int passCount; + std::string intranetIp; + int lowWarningCount; + }; + + + DescribeWarningMachinesResult(); + explicit DescribeWarningMachinesResult(const std::string &payload); + ~DescribeWarningMachinesResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getWarningMachines()const; + int getCount()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector warningMachines_; + int count_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWARNINGMACHINESRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWarningRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeWarningRequest.h index a40ff6a19..8fce893e5 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeWarningRequest.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeWarningRequest.h @@ -37,8 +37,6 @@ namespace AlibabaCloud std::string getTypeNames()const; void setTypeNames(const std::string& typeNames); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); std::string getRiskName()const; void setRiskName(const std::string& riskName); std::string getStatusList()const; @@ -49,6 +47,8 @@ namespace AlibabaCloud void setRiskLevels(const std::string& riskLevels); int getPageSize()const; void setPageSize(int pageSize); + long getStrategyId()const; + void setStrategyId(long strategyId); int getCurrentPage()const; void setCurrentPage(int currentPage); std::string getDealed()const; @@ -60,12 +60,12 @@ namespace AlibabaCloud private: std::string typeNames_; - long resourceOwnerId_; std::string riskName_; std::string statusList_; std::string sourceIp_; std::string riskLevels_; int pageSize_; + long strategyId_; int currentPage_; std::string dealed_; std::string subTypeNames_; diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWarningResult.h b/aegis/include/alibabacloud/aegis/model/DescribeWarningResult.h index 2730ea2c3..87332482c 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeWarningResult.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeWarningResult.h @@ -32,25 +32,50 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT DescribeWarningResult : public ServiceResult { public: + struct Warning + { + struct Detail + { + struct DetailItem + { + std::string type; + std::string value; + std::string name; + }; + std::vector detailItems; + }; + std::string lastFoundTime; + int status; + std::string typeName; + std::vector details; + std::string uuid; + std::string rirstFoundTime; + long riskWarningId; + std::string subTypeName; + std::string level; + std::string typeAlias; + std::string riskName; + std::string subTypeAlias; + }; DescribeWarningResult(); explicit DescribeWarningResult(const std::string &payload); ~DescribeWarningResult(); - int getTotalCount()const; - int getPageSize()const; - int getCurrentPage()const; - int getCount()const; - std::vector getWarnings()const; + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + int getCount()const; + std::vector getWarnings()const; protected: void parse(const std::string &payload); private: - int totalCount_; - int pageSize_; - int currentPage_; - int count_; - std::vector warnings_; + int totalCount_; + int pageSize_; + int currentPage_; + int count_; + std::vector warnings_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWebLockBindListRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeWebLockBindListRequest.h new file mode 100644 index 000000000..8596183df --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWebLockBindListRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKBINDLISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKBINDLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWebLockBindListRequest : public RpcServiceRequest + { + + public: + DescribeWebLockBindListRequest(); + ~DescribeWebLockBindListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getRemark()const; + void setRemark(const std::string& remark); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string sourceIp_; + int pageSize_; + std::string remark_; + int currentPage_; + std::string lang_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKBINDLISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWebLockBindListResult.h b/aegis/include/alibabacloud/aegis/model/DescribeWebLockBindListResult.h new file mode 100644 index 000000000..3a987714c --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWebLockBindListResult.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_AEGIS_MODEL_DESCRIBEWEBLOCKBINDLISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKBINDLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWebLockBindListResult : public ServiceResult + { + public: + struct Bind + { + std::string instanceName; + std::string status; + std::string uuid; + std::string serviceCode; + std::string internetIp; + std::string os; + std::string serviceStatus; + std::string dirCount; + std::string serviceDetail; + std::string intranetIp; + }; + + + DescribeWebLockBindListResult(); + explicit DescribeWebLockBindListResult(const std::string &payload); + ~DescribeWebLockBindListResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getBindList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector bindList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKBINDLISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWebLockConfigListRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeWebLockConfigListRequest.h new file mode 100644 index 000000000..c0cc689cc --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWebLockConfigListRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKCONFIGLISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKCONFIGLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWebLockConfigListRequest : public RpcServiceRequest + { + + public: + DescribeWebLockConfigListRequest(); + ~DescribeWebLockConfigListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getUuid()const; + void setUuid(const std::string& uuid); + + private: + std::string sourceIp_; + std::string lang_; + std::string uuid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKCONFIGLISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWebLockConfigListResult.h b/aegis/include/alibabacloud/aegis/model/DescribeWebLockConfigListResult.h new file mode 100644 index 000000000..c032fdf57 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWebLockConfigListResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKCONFIGLISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKCONFIGLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWebLockConfigListResult : public ServiceResult + { + public: + struct ConfigInfo + { + std::string uuid; + std::string exclusiveDir; + std::string localBackupDir; + std::string exclusiveFileType; + std::string id; + std::string dir; + }; + + + DescribeWebLockConfigListResult(); + explicit DescribeWebLockConfigListResult(const std::string &payload); + ~DescribeWebLockConfigListResult(); + int getTotalCount()const; + std::vector getConfigList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector configList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKCONFIGLISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWebLockEventsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeWebLockEventsRequest.h new file mode 100644 index 000000000..3844a44cd --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWebLockEventsRequest.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_AEGIS_MODEL_DESCRIBEWEBLOCKEVENTSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKEVENTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWebLockEventsRequest : public RpcServiceRequest + { + + public: + DescribeWebLockEventsRequest(); + ~DescribeWebLockEventsRequest(); + + std::string getStatusList()const; + void setStatusList(const std::string& statusList); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLevel()const; + void setLevel(const std::string& level); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getDealed()const; + void setDealed(const std::string& dealed); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getTag()const; + void setTag(const std::string& tag); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getEventName()const; + void setEventName(const std::string& eventName); + + private: + std::string statusList_; + std::string sourceIp_; + std::string level_; + std::string groupId_; + int pageSize_; + std::string remark_; + std::string dealed_; + int currentPage_; + std::string tag_; + std::string lang_; + std::string eventName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKEVENTSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWebLockEventsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeWebLockEventsResult.h new file mode 100644 index 000000000..0e3000d06 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWebLockEventsResult.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_AEGIS_MODEL_DESCRIBEWEBLOCKEVENTSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKEVENTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWebLockEventsResult : public ServiceResult + { + public: + struct EventInfo + { + std::string instanceName; + std::string status; + std::string path; + std::string uuid; + std::string internetIp; + std::string eventType; + std::string ip; + std::string level; + std::string eventName; + long gmtEvent; + std::string intranetIp; + std::string solution; + }; + + + DescribeWebLockEventsResult(); + explicit DescribeWebLockEventsResult(const std::string &payload); + ~DescribeWebLockEventsResult(); + int getTotalCount()const; + int getPageSize()const; + std::vector getEventList()const; + int getCurrentPage()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + std::vector eventList_; + int currentPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKEVENTSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWebLockMachineListRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeWebLockMachineListRequest.h new file mode 100644 index 000000000..7a58168bb --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWebLockMachineListRequest.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_AEGIS_MODEL_DESCRIBEWEBLOCKMACHINELISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKMACHINELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWebLockMachineListRequest : public RpcServiceRequest + { + + public: + DescribeWebLockMachineListRequest(); + ~DescribeWebLockMachineListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKMACHINELISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWebLockMachineListResult.h b/aegis/include/alibabacloud/aegis/model/DescribeWebLockMachineListResult.h new file mode 100644 index 000000000..edbab56ea --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWebLockMachineListResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKMACHINELISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKMACHINELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWebLockMachineListResult : public ServiceResult + { + public: + struct MachineInfo + { + std::string instanceName; + std::string status; + std::string uuid; + std::string internetIp; + std::string instanceId; + std::string intranetIp; + }; + + + DescribeWebLockMachineListResult(); + explicit DescribeWebLockMachineListResult(const std::string &payload); + ~DescribeWebLockMachineListResult(); + std::vector getMachineList()const; + int getTotalCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector machineList_; + int totalCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKMACHINELISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWebLockStatusRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeWebLockStatusRequest.h new file mode 100644 index 000000000..210df6825 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWebLockStatusRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKSTATUSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWebLockStatusRequest : public RpcServiceRequest + { + + public: + DescribeWebLockStatusRequest(); + ~DescribeWebLockStatusRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string from_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKSTATUSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWebLockStatusResult.h b/aegis/include/alibabacloud/aegis/model/DescribeWebLockStatusResult.h new file mode 100644 index 000000000..3220cef54 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWebLockStatusResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKSTATUSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWebLockStatusResult : public ServiceResult + { + public: + + + DescribeWebLockStatusResult(); + explicit DescribeWebLockStatusResult(const std::string &payload); + ~DescribeWebLockStatusResult(); + int getBindCount()const; + long getExpireTime()const; + int getAuthCount()const; + + protected: + void parse(const std::string &payload); + private: + int bindCount_; + long expireTime_; + int authCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBLOCKSTATUSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWebshellRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeWebshellRequest.h index e6d460a3b..afea32290 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeWebshellRequest.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeWebshellRequest.h @@ -35,20 +35,23 @@ namespace AlibabaCloud DescribeWebshellRequest(); ~DescribeWebshellRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); int getGroupId()const; void setGroupId(int groupId); std::string getRemark()const; void setRemark(const std::string& remark); + std::string getDealed()const; + void setDealed(const std::string& dealed); + int getTag()const; + void setTag(int tag); private: - long resourceOwnerId_; std::string sourceIp_; int groupId_; std::string remark_; + std::string dealed_; + int tag_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWebshellResult.h b/aegis/include/alibabacloud/aegis/model/DescribeWebshellResult.h index a47d31df5..a9e35f98e 100644 --- a/aegis/include/alibabacloud/aegis/model/DescribeWebshellResult.h +++ b/aegis/include/alibabacloud/aegis/model/DescribeWebshellResult.h @@ -32,21 +32,34 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT DescribeWebshellResult : public ServiceResult { public: + struct WebshellListItem + { + std::string foundTime; + int status; + long trojanSize; + std::string os; + std::string instanceId; + std::string trojanType; + std::string ip; + std::string trojanPath; + std::string firstFoundTime; + long groupId; + std::string instanceName; + std::string uuid; + std::string region; + std::string domain; + }; DescribeWebshellResult(); explicit DescribeWebshellResult(const std::string &payload); ~DescribeWebshellResult(); - int getTotalCount()const; - int getPageSize()const; - int getCurrentPage()const; + std::vector getWebshellList()const; protected: void parse(const std::string &payload); private: - int totalCount_; - int pageSize_; - int currentPage_; + std::vector webshellList_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWhiteListAssetRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListAssetRequest.h new file mode 100644 index 000000000..86912d90e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListAssetRequest.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_AEGIS_MODEL_DESCRIBEWHITELISTASSETREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTASSETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWhiteListAssetRequest : public RpcServiceRequest + { + + public: + DescribeWhiteListAssetRequest(); + ~DescribeWhiteListAssetRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getLastMaxId()const; + void setLastMaxId(long lastMaxId); + int getPageSize()const; + void setPageSize(int pageSize); + long getStrategyId()const; + void setStrategyId(long strategyId); + std::string getLang()const; + void setLang(const std::string& lang); + int getType()const; + void setType(int type); + + private: + std::string sourceIp_; + long lastMaxId_; + int pageSize_; + long strategyId_; + std::string lang_; + int type_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTASSETREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWhiteListAssetResult.h b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListAssetResult.h new file mode 100644 index 000000000..117b48c8a --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListAssetResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTASSETRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTASSETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWhiteListAssetResult : public ServiceResult + { + public: + struct Asset + { + std::string uuid; + std::string machineName; + long id; + int selected; + std::string machineIp; + int allowSelected; + long groupId; + }; + + + DescribeWhiteListAssetResult(); + explicit DescribeWhiteListAssetResult(const std::string &payload); + ~DescribeWhiteListAssetResult(); + std::vector getAssets()const; + + protected: + void parse(const std::string &payload); + private: + std::vector assets_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTASSETRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWhiteListAuthorizeRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListAuthorizeRequest.h new file mode 100644 index 000000000..677bccd04 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListAuthorizeRequest.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_AEGIS_MODEL_DESCRIBEWHITELISTAUTHORIZEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTAUTHORIZEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWhiteListAuthorizeRequest : public RpcServiceRequest + { + + public: + DescribeWhiteListAuthorizeRequest(); + ~DescribeWhiteListAuthorizeRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTAUTHORIZEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWhiteListAuthorizeResult.h b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListAuthorizeResult.h new file mode 100644 index 000000000..c0b605fa5 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListAuthorizeResult.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_AEGIS_MODEL_DESCRIBEWHITELISTAUTHORIZERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTAUTHORIZERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWhiteListAuthorizeResult : public ServiceResult + { + public: + + + DescribeWhiteListAuthorizeResult(); + explicit DescribeWhiteListAuthorizeResult(const std::string &payload); + ~DescribeWhiteListAuthorizeResult(); + int getAvailableAuthorizeNum()const; + + protected: + void parse(const std::string &payload); + private: + int availableAuthorizeNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTAUTHORIZERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWhiteListEffectiveAssetsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListEffectiveAssetsRequest.h new file mode 100644 index 000000000..ea3d075ab --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListEffectiveAssetsRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTEFFECTIVEASSETSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTEFFECTIVEASSETSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWhiteListEffectiveAssetsRequest : public RpcServiceRequest + { + + public: + DescribeWhiteListEffectiveAssetsRequest(); + ~DescribeWhiteListEffectiveAssetsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getRemark()const; + void setRemark(const std::string& remark); + long getStrategyId()const; + void setStrategyId(long strategyId); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLang()const; + void setLang(const std::string& lang); + int getNeedStatistics()const; + void setNeedStatistics(int needStatistics); + + private: + std::string sourceIp_; + int pageSize_; + std::string remark_; + long strategyId_; + int currentPage_; + std::string lang_; + int needStatistics_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTEFFECTIVEASSETSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWhiteListEffectiveAssetsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListEffectiveAssetsResult.h new file mode 100644 index 000000000..02a926eff --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListEffectiveAssetsResult.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_AEGIS_MODEL_DESCRIBEWHITELISTEFFECTIVEASSETSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTEFFECTIVEASSETSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWhiteListEffectiveAssetsResult : public ServiceResult + { + public: + struct Asset + { + std::string uuid; + std::string machineName; + std::string internetIp; + std::string strategyName; + int suspiciousEventCount; + long strategyId; + int processMethod; + std::string intranetIp; + }; + + + DescribeWhiteListEffectiveAssetsResult(); + explicit DescribeWhiteListEffectiveAssetsResult(const std::string &payload); + ~DescribeWhiteListEffectiveAssetsResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getAssets()const; + int getCount()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector assets_; + int count_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTEFFECTIVEASSETSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWhiteListProcessRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListProcessRequest.h new file mode 100644 index 000000000..bb4f0f11c --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListProcessRequest.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_AEGIS_MODEL_DESCRIBEWHITELISTPROCESSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTPROCESSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWhiteListProcessRequest : public RpcServiceRequest + { + + public: + DescribeWhiteListProcessRequest(); + ~DescribeWhiteListProcessRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getProcessName()const; + void setProcessName(const std::string& processName); + int getPageSize()const; + void setPageSize(int pageSize); + int getProcessType()const; + void setProcessType(int processType); + int getOrderBy()const; + void setOrderBy(int orderBy); + long getStrategyId()const; + void setStrategyId(long strategyId); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLang()const; + void setLang(const std::string& lang); + int getDesc()const; + void setDesc(int desc); + + private: + std::string sourceIp_; + std::string processName_; + int pageSize_; + int processType_; + int orderBy_; + long strategyId_; + int currentPage_; + std::string lang_; + int desc_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTPROCESSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWhiteListProcessResult.h b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListProcessResult.h new file mode 100644 index 000000000..60c8eeb2c --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListProcessResult.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_AEGIS_MODEL_DESCRIBEWHITELISTPROCESSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTPROCESSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWhiteListProcessResult : public ServiceResult + { + public: + struct Process + { + std::string filePath; + int status; + std::string processName; + int processType; + int level; + long id; + int processId; + std::string md5; + }; + + + DescribeWhiteListProcessResult(); + explicit DescribeWhiteListProcessResult(const std::string &payload); + ~DescribeWhiteListProcessResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + int getCount()const; + std::vector getProcesses()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + int count_; + std::vector processes_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTPROCESSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyCountRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyCountRequest.h new file mode 100644 index 000000000..ce565bd9a --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyCountRequest.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_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYCOUNTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYCOUNTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWhiteListStrategyCountRequest : public RpcServiceRequest + { + + public: + DescribeWhiteListStrategyCountRequest(); + ~DescribeWhiteListStrategyCountRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYCOUNTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyCountResult.h b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyCountResult.h new file mode 100644 index 000000000..2a6e936b2 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyCountResult.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_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYCOUNTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYCOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWhiteListStrategyCountResult : public ServiceResult + { + public: + + + DescribeWhiteListStrategyCountResult(); + explicit DescribeWhiteListStrategyCountResult(const std::string &payload); + ~DescribeWhiteListStrategyCountResult(); + int getStrategyCount()const; + + protected: + void parse(const std::string &payload); + private: + int strategyCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYCOUNTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyListRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyListRequest.h new file mode 100644 index 000000000..5aa2d04f9 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyListRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYLISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWhiteListStrategyListRequest : public RpcServiceRequest + { + + public: + DescribeWhiteListStrategyListRequest(); + ~DescribeWhiteListStrategyListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getStrategyIds()const; + void setStrategyIds(const std::string& strategyIds); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string strategyIds_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYLISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyListResult.h b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyListResult.h new file mode 100644 index 000000000..b534e8e33 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyListResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYLISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWhiteListStrategyListResult : public ServiceResult + { + public: + struct Strategy + { + int studyTime; + int status; + std::string strategyName; + long strategyId; + }; + + + DescribeWhiteListStrategyListResult(); + explicit DescribeWhiteListStrategyListResult(const std::string &payload); + ~DescribeWhiteListStrategyListResult(); + std::vector getStrategies()const; + + protected: + void parse(const std::string &payload); + private: + std::vector strategies_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYLISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyStatisticsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyStatisticsRequest.h new file mode 100644 index 000000000..b69a68dbf --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyStatisticsRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWhiteListStrategyStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeWhiteListStrategyStatisticsRequest(); + ~DescribeWhiteListStrategyStatisticsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getStrategyIds()const; + void setStrategyIds(const std::string& strategyIds); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + int pageSize_; + std::string strategyIds_; + int currentPage_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyStatisticsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyStatisticsResult.h new file mode 100644 index 000000000..3358f5fb2 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyStatisticsResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYSTATISTICSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWhiteListStrategyStatisticsResult : public ServiceResult + { + public: + struct Strategy + { + int studyTime; + int status; + int trustProcCount; + int progress; + int virusProcCount; + std::string strategyName; + long strategyId; + int assetCount; + int suspiciousProcCount; + }; + + + DescribeWhiteListStrategyStatisticsResult(); + explicit DescribeWhiteListStrategyStatisticsResult(const std::string &payload); + ~DescribeWhiteListStrategyStatisticsResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + std::vector getStrategies()const; + int getCount()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + std::vector strategies_; + int count_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyUuidCountRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyUuidCountRequest.h new file mode 100644 index 000000000..3ba1cc3d9 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyUuidCountRequest.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_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYUUIDCOUNTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYUUIDCOUNTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWhiteListStrategyUuidCountRequest : public RpcServiceRequest + { + + public: + DescribeWhiteListStrategyUuidCountRequest(); + ~DescribeWhiteListStrategyUuidCountRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getStrategyId()const; + void setStrategyId(long strategyId); + std::string getLang()const; + void setLang(const std::string& lang); + int getType()const; + void setType(int type); + + private: + std::string sourceIp_; + long strategyId_; + std::string lang_; + int type_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYUUIDCOUNTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyUuidCountResult.h b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyUuidCountResult.h new file mode 100644 index 000000000..ef9e49880 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeWhiteListStrategyUuidCountResult.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_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYUUIDCOUNTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYUUIDCOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeWhiteListStrategyUuidCountResult : public ServiceResult + { + public: + + + DescribeWhiteListStrategyUuidCountResult(); + explicit DescribeWhiteListStrategyUuidCountResult(const std::string &payload); + ~DescribeWhiteListStrategyUuidCountResult(); + int getUuidCount()const; + + protected: + void parse(const std::string &payload); + private: + int uuidCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWHITELISTSTRATEGYUUIDCOUNTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeYesterdayStatisticsRequest.h b/aegis/include/alibabacloud/aegis/model/DescribeYesterdayStatisticsRequest.h new file mode 100644 index 000000000..423952dc8 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeYesterdayStatisticsRequest.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_AEGIS_MODEL_DESCRIBEYESTERDAYSTATISTICSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEYESTERDAYSTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeYesterdayStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeYesterdayStatisticsRequest(); + ~DescribeYesterdayStatisticsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEYESTERDAYSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribeYesterdayStatisticsResult.h b/aegis/include/alibabacloud/aegis/model/DescribeYesterdayStatisticsResult.h new file mode 100644 index 000000000..34c8ebe16 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribeYesterdayStatisticsResult.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_AEGIS_MODEL_DESCRIBEYESTERDAYSTATISTICSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEYESTERDAYSTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribeYesterdayStatisticsResult : public ServiceResult + { + public: + + + DescribeYesterdayStatisticsResult(); + explicit DescribeYesterdayStatisticsResult(const std::string &payload); + ~DescribeYesterdayStatisticsResult(); + int getTotalCount()const; + int getNewVulCount()const; + int getNewHealthCheckCount()const; + int getNewRiskCheckCount()const; + int getNewSuspiciousCount()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int newVulCount_; + int newHealthCheckCount_; + int newRiskCheckCount_; + int newSuspiciousCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEYESTERDAYSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribesummaryRequest.h b/aegis/include/alibabacloud/aegis/model/DescribesummaryRequest.h new file mode 100644 index 000000000..2d2e8acc0 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribesummaryRequest.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_AEGIS_MODEL_DESCRIBESUMMARYREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUMMARYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribesummaryRequest : public RpcServiceRequest + { + + public: + DescribesummaryRequest(); + ~DescribesummaryRequest(); + + std::string getTypeNames()const; + void setTypeNames(const std::string& typeNames); + std::string getRiskName()const; + void setRiskName(const std::string& riskName); + std::string getStatusList()const; + void setStatusList(const std::string& statusList); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getRiskLevels()const; + void setRiskLevels(const std::string& riskLevels); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getDealed()const; + void setDealed(const std::string& dealed); + long getStrategyId()const; + void setStrategyId(long strategyId); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getSubTypeNames()const; + void setSubTypeNames(const std::string& subTypeNames); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string typeNames_; + std::string riskName_; + std::string statusList_; + std::string sourceIp_; + std::string riskLevels_; + int pageSize_; + std::string dealed_; + long strategyId_; + int currentPage_; + std::string subTypeNames_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUMMARYREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DescribesummaryResult.h b/aegis/include/alibabacloud/aegis/model/DescribesummaryResult.h new file mode 100644 index 000000000..5f1934532 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DescribesummaryResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUMMARYRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUMMARYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DescribesummaryResult : public ServiceResult + { + public: + struct WarningSummary + { + long riskId; + std::string lastFoundTime; + int pendingCount; + int totalCount; + std::string riskDetail; + std::string level; + std::string typeAlias; + std::string riskName; + std::string subTypeAlias; + }; + + + DescribesummaryResult(); + explicit DescribesummaryResult(const std::string &payload); + ~DescribesummaryResult(); + int getTotalCount()const; + int getPageSize()const; + int getCurrentPage()const; + int getCount()const; + std::vector getWarningSummarys()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int currentPage_; + int count_; + std::vector warningSummarys_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUMMARYRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DownloadLogRequest.h b/aegis/include/alibabacloud/aegis/model/DownloadLogRequest.h new file mode 100644 index 000000000..e45dd3eb5 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DownloadLogRequest.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_AEGIS_MODEL_DOWNLOADLOGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DOWNLOADLOGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DownloadLogRequest : public RpcServiceRequest + { + + public: + DownloadLogRequest(); + ~DownloadLogRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getQuery()const; + void setQuery(const std::string& query); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + + private: + std::string sourceIp_; + std::string query_; + std::string endTime_; + std::string startTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DOWNLOADLOGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/DownloadLogResult.h b/aegis/include/alibabacloud/aegis/model/DownloadLogResult.h new file mode 100644 index 000000000..fd6944d7e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/DownloadLogResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_DOWNLOADLOGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_DOWNLOADLOGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT DownloadLogResult : public ServiceResult + { + public: + struct StackTraceItem + { + bool nativeMethod; + std::string fileName; + std::string className; + std::string methodName; + int lineNumber; + }; + + + DownloadLogResult(); + explicit DownloadLogResult(const std::string &payload); + ~DownloadLogResult(); + std::vector getStackTrace()const; + std::vector getSuppressed()const; + + protected: + void parse(const std::string &payload); + private: + std::vector stackTrace_; + std::vector suppressed_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_DOWNLOADLOGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ExecStrategyRequest.h b/aegis/include/alibabacloud/aegis/model/ExecStrategyRequest.h new file mode 100644 index 000000000..b2302aff8 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ExecStrategyRequest.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_AEGIS_MODEL_EXECSTRATEGYREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_EXECSTRATEGYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ExecStrategyRequest : public RpcServiceRequest + { + + public: + ExecStrategyRequest(); + ~ExecStrategyRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getStrategyId()const; + void setStrategyId(int strategyId); + + private: + std::string sourceIp_; + int strategyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_EXECSTRATEGYREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ExecStrategyResult.h b/aegis/include/alibabacloud/aegis/model/ExecStrategyResult.h new file mode 100644 index 000000000..797123fce --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ExecStrategyResult.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_AEGIS_MODEL_EXECSTRATEGYRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_EXECSTRATEGYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ExecStrategyResult : public ServiceResult + { + public: + + + ExecStrategyResult(); + explicit ExecStrategyResult(const std::string &payload); + ~ExecStrategyResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_EXECSTRATEGYRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ExecuteRuleEngineActualTimeRequest.h b/aegis/include/alibabacloud/aegis/model/ExecuteRuleEngineActualTimeRequest.h new file mode 100644 index 000000000..c376dd5fd --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ExecuteRuleEngineActualTimeRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_EXECUTERULEENGINEACTUALTIMEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_EXECUTERULEENGINEACTUALTIMEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ExecuteRuleEngineActualTimeRequest : public RpcServiceRequest + { + + public: + ExecuteRuleEngineActualTimeRequest(); + ~ExecuteRuleEngineActualTimeRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getRuleId()const; + void setRuleId(long ruleId); + std::string getMessage()const; + void setMessage(const std::string& message); + + private: + std::string sourceIp_; + long ruleId_; + std::string message_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_EXECUTERULEENGINEACTUALTIMEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ExecuteRuleEngineActualTimeResult.h b/aegis/include/alibabacloud/aegis/model/ExecuteRuleEngineActualTimeResult.h new file mode 100644 index 000000000..eb40a76d1 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ExecuteRuleEngineActualTimeResult.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_AEGIS_MODEL_EXECUTERULEENGINEACTUALTIMERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_EXECUTERULEENGINEACTUALTIMERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ExecuteRuleEngineActualTimeResult : public ServiceResult + { + public: + + + ExecuteRuleEngineActualTimeResult(); + explicit ExecuteRuleEngineActualTimeResult(const std::string &payload); + ~ExecuteRuleEngineActualTimeResult(); + std::string getExecResult()const; + + protected: + void parse(const std::string &payload); + private: + std::string execResult_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_EXECUTERULEENGINEACTUALTIMERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ExportSuspEventsRequest.h b/aegis/include/alibabacloud/aegis/model/ExportSuspEventsRequest.h new file mode 100644 index 000000000..32da47e1d --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ExportSuspEventsRequest.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_AEGIS_MODEL_EXPORTSUSPEVENTSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_EXPORTSUSPEVENTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ExportSuspEventsRequest : public RpcServiceRequest + { + + public: + ExportSuspEventsRequest(); + ~ExportSuspEventsRequest(); + + std::string getTimeEnd()const; + void setTimeEnd(const std::string& timeEnd); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getName()const; + void setName(const std::string& name); + std::string getDealed()const; + void setDealed(const std::string& dealed); + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getTimeStart()const; + void setTimeStart(const std::string& timeStart); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getLevels()const; + void setLevels(const std::string& levels); + std::string getParentEventTypes()const; + void setParentEventTypes(const std::string& parentEventTypes); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string timeEnd_; + std::string sourceIp_; + std::string name_; + std::string dealed_; + std::string remark_; + std::string from_; + std::string timeStart_; + std::string lang_; + std::string levels_; + std::string parentEventTypes_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_EXPORTSUSPEVENTSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ExportSuspEventsResult.h b/aegis/include/alibabacloud/aegis/model/ExportSuspEventsResult.h new file mode 100644 index 000000000..34ae764fc --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ExportSuspEventsResult.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_AEGIS_MODEL_EXPORTSUSPEVENTSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_EXPORTSUSPEVENTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ExportSuspEventsResult : public ServiceResult + { + public: + + + ExportSuspEventsResult(); + explicit ExportSuspEventsResult(const std::string &payload); + ~ExportSuspEventsResult(); + int getFileName()const; + int getId()const; + + protected: + void parse(const std::string &payload); + private: + int fileName_; + int id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_EXPORTSUSPEVENTSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ExportVulRequest.h b/aegis/include/alibabacloud/aegis/model/ExportVulRequest.h new file mode 100644 index 000000000..c20fb845b --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ExportVulRequest.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_EXPORTVULREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_EXPORTVULREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ExportVulRequest : public RpcServiceRequest + { + + public: + ExportVulRequest(); + ~ExportVulRequest(); + + std::string getBatchName()const; + void setBatchName(const std::string& batchName); + std::string getAliasName()const; + void setAliasName(const std::string& aliasName); + std::string getStatusList()const; + void setStatusList(const std::string& statusList); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLevel()const; + void setLevel(const std::string& level); + std::string getResource()const; + void setResource(const std::string& resource); + std::string getName()const; + void setName(const std::string& name); + std::string getDealed()const; + void setDealed(const std::string& dealed); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + std::string getNecessity()const; + void setNecessity(const std::string& necessity); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string batchName_; + std::string aliasName_; + std::string statusList_; + std::string sourceIp_; + std::string level_; + std::string resource_; + std::string name_; + std::string dealed_; + std::string lang_; + std::string type_; + std::string necessity_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_EXPORTVULREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ExportVulResult.h b/aegis/include/alibabacloud/aegis/model/ExportVulResult.h new file mode 100644 index 000000000..8572c39c2 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ExportVulResult.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_AEGIS_MODEL_EXPORTVULRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_EXPORTVULRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ExportVulResult : public ServiceResult + { + public: + + + ExportVulResult(); + explicit ExportVulResult(const std::string &payload); + ~ExportVulResult(); + int getTotalCount()const; + int getProgress()const; + std::string getMessage()const; + std::string getFileName()const; + std::string getExportStatus()const; + int getCurrentCount()const; + long getId()const; + std::string getLink()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int progress_; + std::string message_; + std::string fileName_; + std::string exportStatus_; + int currentCount_; + long id_; + std::string link_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_EXPORTVULRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ExportWarningRequest.h b/aegis/include/alibabacloud/aegis/model/ExportWarningRequest.h new file mode 100644 index 000000000..c806dc3a2 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ExportWarningRequest.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_AEGIS_MODEL_EXPORTWARNINGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_EXPORTWARNINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ExportWarningRequest : public RpcServiceRequest + { + + public: + ExportWarningRequest(); + ~ExportWarningRequest(); + + std::string getStatusList()const; + void setStatusList(const std::string& statusList); + std::string getRiskLevels()const; + void setRiskLevels(const std::string& riskLevels); + std::string getExportType()const; + void setExportType(const std::string& exportType); + std::string getDealed()const; + void setDealed(const std::string& dealed); + std::string getTypeNames()const; + void setTypeNames(const std::string& typeNames); + int getIsSummaryExport()const; + void setIsSummaryExport(int isSummaryExport); + std::string getRiskName()const; + void setRiskName(const std::string& riskName); + std::string getRiskIds()const; + void setRiskIds(const std::string& riskIds); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getStrategyId()const; + void setStrategyId(long strategyId); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getTypeName()const; + void setTypeName(const std::string& typeName); + std::string getSubTypeNames()const; + void setSubTypeNames(const std::string& subTypeNames); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string statusList_; + std::string riskLevels_; + std::string exportType_; + std::string dealed_; + std::string typeNames_; + int isSummaryExport_; + std::string riskName_; + std::string riskIds_; + std::string sourceIp_; + long strategyId_; + std::string lang_; + std::string typeName_; + std::string subTypeNames_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_EXPORTWARNINGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ExportWarningResult.h b/aegis/include/alibabacloud/aegis/model/ExportWarningResult.h new file mode 100644 index 000000000..f8defed87 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ExportWarningResult.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_AEGIS_MODEL_EXPORTWARNINGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_EXPORTWARNINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ExportWarningResult : public ServiceResult + { + public: + + + ExportWarningResult(); + explicit ExportWarningResult(const std::string &payload); + ~ExportWarningResult(); + std::string getFileName()const; + long getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string fileName_; + long id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_EXPORTWARNINGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/GetAccountStatisticsResult.h b/aegis/include/alibabacloud/aegis/model/GetAccountStatisticsResult.h index fdc2bdc00..6279b8499 100644 --- a/aegis/include/alibabacloud/aegis/model/GetAccountStatisticsResult.h +++ b/aegis/include/alibabacloud/aegis/model/GetAccountStatisticsResult.h @@ -32,30 +32,30 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT GetAccountStatisticsResult : public ServiceResult { public: - struct Data - { - int crackSuccess; - int remoteLogin; - }; + struct Data + { + int crackSuccess; + int remoteLogin; + }; GetAccountStatisticsResult(); explicit GetAccountStatisticsResult(const std::string &payload); ~GetAccountStatisticsResult(); - std::string getRequestId()const; - std::string getMessage()const; - std::vector getData()const; - std::string getCode()const; - bool getSuccess()const; + std::string getRequestId()const; + std::string getMessage()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; protected: void parse(const std::string &payload); private: - std::string requestId_; - std::string message_; - std::vector data_; - std::string code_; - bool success_; + std::string requestId_; + std::string message_; + Data data_; + std::string code_; + bool success_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/GetCrackStatisticsResult.h b/aegis/include/alibabacloud/aegis/model/GetCrackStatisticsResult.h index 490804e53..bd9514d17 100644 --- a/aegis/include/alibabacloud/aegis/model/GetCrackStatisticsResult.h +++ b/aegis/include/alibabacloud/aegis/model/GetCrackStatisticsResult.h @@ -32,29 +32,29 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT GetCrackStatisticsResult : public ServiceResult { public: - struct Data - { - int intercepted; - }; + struct Data + { + int intercepted; + }; GetCrackStatisticsResult(); explicit GetCrackStatisticsResult(const std::string &payload); ~GetCrackStatisticsResult(); - std::string getRequestId()const; - std::string getMessage()const; - std::vector getData()const; - std::string getCode()const; - bool getSuccess()const; + std::string getRequestId()const; + std::string getMessage()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; protected: void parse(const std::string &payload); private: - std::string requestId_; - std::string message_; - std::vector data_; - std::string code_; - bool success_; + std::string requestId_; + std::string message_; + Data data_; + std::string code_; + bool success_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/GetEntityListResult.h b/aegis/include/alibabacloud/aegis/model/GetEntityListResult.h index 6bf2ea547..af2babbc6 100644 --- a/aegis/include/alibabacloud/aegis/model/GetEntityListResult.h +++ b/aegis/include/alibabacloud/aegis/model/GetEntityListResult.h @@ -32,51 +32,51 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT GetEntityListResult : public ServiceResult { public: - struct Data - { - struct PageInfo - { - int totalCount; - int pageSize; - int currentPage; - int count; - }; - struct Entity - { - std::string instanceName; - std::string uuid; - std::string buyVersion; - std::string aegisVersion; - std::string os; - std::string instanceId; - std::string ip; - std::string region; - bool aegisOnline; - std::string flag; - long groupId; - }; - std::vector pageInfo; - std::vector list; - }; + struct Data + { + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct Entity + { + std::string instanceName; + std::string uuid; + std::string buyVersion; + std::string aegisVersion; + std::string os; + std::string instanceId; + std::string ip; + std::string region; + bool aegisOnline; + std::string flag; + long groupId; + }; + PageInfo pageInfo; + std::vector list; + }; GetEntityListResult(); explicit GetEntityListResult(const std::string &payload); ~GetEntityListResult(); - std::string getRequestId()const; - std::string getMessage()const; - std::vector getData()const; - std::string getCode()const; - bool getSuccess()const; + std::string getRequestId()const; + std::string getMessage()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; protected: void parse(const std::string &payload); private: - std::string requestId_; - std::string message_; - std::vector data_; - std::string code_; - bool success_; + std::string requestId_; + std::string message_; + Data data_; + std::string code_; + bool success_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/GetStatisticsByUuidResult.h b/aegis/include/alibabacloud/aegis/model/GetStatisticsByUuidResult.h index 611f7515c..c7ab33a96 100644 --- a/aegis/include/alibabacloud/aegis/model/GetStatisticsByUuidResult.h +++ b/aegis/include/alibabacloud/aegis/model/GetStatisticsByUuidResult.h @@ -32,34 +32,34 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT GetStatisticsByUuidResult : public ServiceResult { public: - struct Entity - { - int account; - std::string uuid; - int health; - int trojan; - bool online; - int patch; - }; + struct Entity + { + int account; + std::string uuid; + int health; + int trojan; + bool online; + int patch; + }; GetStatisticsByUuidResult(); explicit GetStatisticsByUuidResult(const std::string &payload); ~GetStatisticsByUuidResult(); - std::string getRequestId()const; - std::string getMessage()const; - std::vector getData()const; - std::string getCode()const; - bool getSuccess()const; + std::string getRequestId()const; + std::string getMessage()const; + std::vector getData()const; + std::string getCode()const; + bool getSuccess()const; protected: void parse(const std::string &payload); private: - std::string requestId_; - std::string message_; - std::vector data_; - std::string code_; - bool success_; + std::string requestId_; + std::string message_; + std::vector data_; + std::string code_; + bool success_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/GetStatisticsResult.h b/aegis/include/alibabacloud/aegis/model/GetStatisticsResult.h index ada8ff1c7..c299834ee 100644 --- a/aegis/include/alibabacloud/aegis/model/GetStatisticsResult.h +++ b/aegis/include/alibabacloud/aegis/model/GetStatisticsResult.h @@ -32,32 +32,32 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT GetStatisticsResult : public ServiceResult { public: - struct Data - { - int account; - int health; - int trojan; - int patch; - }; + struct Data + { + int account; + int health; + int trojan; + int patch; + }; GetStatisticsResult(); explicit GetStatisticsResult(const std::string &payload); ~GetStatisticsResult(); - std::string getRequestId()const; - std::string getMessage()const; - std::vector getData()const; - std::string getCode()const; - bool getSuccess()const; + std::string getRequestId()const; + std::string getMessage()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; protected: void parse(const std::string &payload); private: - std::string requestId_; - std::string message_; - std::vector data_; - std::string code_; - bool success_; + std::string requestId_; + std::string message_; + Data data_; + std::string code_; + bool success_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/IgnoreHcCheckWarningsRequest.h b/aegis/include/alibabacloud/aegis/model/IgnoreHcCheckWarningsRequest.h new file mode 100644 index 000000000..91095bfe5 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/IgnoreHcCheckWarningsRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_IGNOREHCCHECKWARNINGSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_IGNOREHCCHECKWARNINGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT IgnoreHcCheckWarningsRequest : public RpcServiceRequest + { + + public: + IgnoreHcCheckWarningsRequest(); + ~IgnoreHcCheckWarningsRequest(); + + std::string getReason()const; + void setReason(const std::string& reason); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getCheckWarningIds()const; + void setCheckWarningIds(const std::string& checkWarningIds); + std::string getRiskId()const; + void setRiskId(const std::string& riskId); + long getType()const; + void setType(long type); + + private: + std::string reason_; + std::string sourceIp_; + std::string checkWarningIds_; + std::string riskId_; + long type_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_IGNOREHCCHECKWARNINGSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/IgnoreHcCheckWarningsResult.h b/aegis/include/alibabacloud/aegis/model/IgnoreHcCheckWarningsResult.h new file mode 100644 index 000000000..9c1063347 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/IgnoreHcCheckWarningsResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_IGNOREHCCHECKWARNINGSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_IGNOREHCCHECKWARNINGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT IgnoreHcCheckWarningsResult : public ServiceResult + { + public: + + + IgnoreHcCheckWarningsResult(); + explicit IgnoreHcCheckWarningsResult(const std::string &payload); + ~IgnoreHcCheckWarningsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_IGNOREHCCHECKWARNINGSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyAssetGroupRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyAssetGroupRequest.h new file mode 100644 index 000000000..6a902f8c1 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyAssetGroupRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYASSETGROUPREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYASSETGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyAssetGroupRequest : public RpcServiceRequest + { + + public: + ModifyAssetGroupRequest(); + ~ModifyAssetGroupRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getGroupId()const; + void setGroupId(long groupId); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string sourceIp_; + long groupId_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYASSETGROUPREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyAssetGroupResult.h b/aegis/include/alibabacloud/aegis/model/ModifyAssetGroupResult.h new file mode 100644 index 000000000..b3c55ab0f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyAssetGroupResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYASSETGROUPRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYASSETGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyAssetGroupResult : public ServiceResult + { + public: + + + ModifyAssetGroupResult(); + explicit ModifyAssetGroupResult(const std::string &payload); + ~ModifyAssetGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYASSETGROUPRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyAutoDelConfigRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyAutoDelConfigRequest.h new file mode 100644 index 000000000..bab73c91b --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyAutoDelConfigRequest.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_AEGIS_MODEL_MODIFYAUTODELCONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYAUTODELCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyAutoDelConfigRequest : public RpcServiceRequest + { + + public: + ModifyAutoDelConfigRequest(); + ~ModifyAutoDelConfigRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getDays()const; + void setDays(int days); + + private: + std::string sourceIp_; + int days_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYAUTODELCONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyAutoDelConfigResult.h b/aegis/include/alibabacloud/aegis/model/ModifyAutoDelConfigResult.h new file mode 100644 index 000000000..8df133280 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyAutoDelConfigResult.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_AEGIS_MODEL_MODIFYAUTODELCONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYAUTODELCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyAutoDelConfigResult : public ServiceResult + { + public: + + + ModifyAutoDelConfigResult(); + explicit ModifyAutoDelConfigResult(const std::string &payload); + ~ModifyAutoDelConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYAUTODELCONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyBatchIgnoreVulRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyBatchIgnoreVulRequest.h index aa56c9227..6b6bbd6cd 100644 --- a/aegis/include/alibabacloud/aegis/model/ModifyBatchIgnoreVulRequest.h +++ b/aegis/include/alibabacloud/aegis/model/ModifyBatchIgnoreVulRequest.h @@ -37,8 +37,6 @@ namespace AlibabaCloud std::string getReason()const; void setReason(const std::string& reason); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); std::string getInfo()const; @@ -46,7 +44,6 @@ namespace AlibabaCloud private: std::string reason_; - long resourceOwnerId_; std::string sourceIp_; std::string info_; diff --git a/aegis/include/alibabacloud/aegis/model/ModifyBatchIgnoreVulResult.h b/aegis/include/alibabacloud/aegis/model/ModifyBatchIgnoreVulResult.h index d8b463979..0ffd005a6 100644 --- a/aegis/include/alibabacloud/aegis/model/ModifyBatchIgnoreVulResult.h +++ b/aegis/include/alibabacloud/aegis/model/ModifyBatchIgnoreVulResult.h @@ -37,14 +37,10 @@ namespace AlibabaCloud ModifyBatchIgnoreVulResult(); explicit ModifyBatchIgnoreVulResult(const std::string &payload); ~ModifyBatchIgnoreVulResult(); - int getHttpStatusCode()const; - bool getSuccess()const; protected: void parse(const std::string &payload); private: - int httpStatusCode_; - bool success_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/ModifyClearLogstoreStorageRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyClearLogstoreStorageRequest.h new file mode 100644 index 000000000..0514d906d --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyClearLogstoreStorageRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYCLEARLOGSTORESTORAGEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYCLEARLOGSTORESTORAGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyClearLogstoreStorageRequest : public RpcServiceRequest + { + + public: + ModifyClearLogstoreStorageRequest(); + ~ModifyClearLogstoreStorageRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string from_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYCLEARLOGSTORESTORAGEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyClearLogstoreStorageResult.h b/aegis/include/alibabacloud/aegis/model/ModifyClearLogstoreStorageResult.h new file mode 100644 index 000000000..40c4964dc --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyClearLogstoreStorageResult.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_AEGIS_MODEL_MODIFYCLEARLOGSTORESTORAGERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYCLEARLOGSTORESTORAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyClearLogstoreStorageResult : public ServiceResult + { + public: + + + ModifyClearLogstoreStorageResult(); + explicit ModifyClearLogstoreStorageResult(const std::string &payload); + ~ModifyClearLogstoreStorageResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYCLEARLOGSTORESTORAGERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyConcernNecessityRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyConcernNecessityRequest.h new file mode 100644 index 000000000..edbf8ecde --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyConcernNecessityRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYCONCERNNECESSITYREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYCONCERNNECESSITYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyConcernNecessityRequest : public RpcServiceRequest + { + + public: + ModifyConcernNecessityRequest(); + ~ModifyConcernNecessityRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getConcernNecessity()const; + void setConcernNecessity(const std::string& concernNecessity); + + private: + std::string sourceIp_; + std::string lang_; + std::string concernNecessity_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYCONCERNNECESSITYREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyConcernNecessityResult.h b/aegis/include/alibabacloud/aegis/model/ModifyConcernNecessityResult.h new file mode 100644 index 000000000..eee229ba4 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyConcernNecessityResult.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_AEGIS_MODEL_MODIFYCONCERNNECESSITYRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYCONCERNNECESSITYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyConcernNecessityResult : public ServiceResult + { + public: + + + ModifyConcernNecessityResult(); + explicit ModifyConcernNecessityResult(const std::string &payload); + ~ModifyConcernNecessityResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYCONCERNNECESSITYRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyEmgVulSubmitRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyEmgVulSubmitRequest.h new file mode 100644 index 000000000..c95f3148f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyEmgVulSubmitRequest.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_AEGIS_MODEL_MODIFYEMGVULSUBMITREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYEMGVULSUBMITREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyEmgVulSubmitRequest : public RpcServiceRequest + { + + public: + ModifyEmgVulSubmitRequest(); + ~ModifyEmgVulSubmitRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getName()const; + void setName(const std::string& name); + std::string getUserAgreement()const; + void setUserAgreement(const std::string& userAgreement); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string name_; + std::string userAgreement_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYEMGVULSUBMITREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyEmgVulSubmitResult.h b/aegis/include/alibabacloud/aegis/model/ModifyEmgVulSubmitResult.h new file mode 100644 index 000000000..0c6de53cf --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyEmgVulSubmitResult.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_AEGIS_MODEL_MODIFYEMGVULSUBMITRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYEMGVULSUBMITRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyEmgVulSubmitResult : public ServiceResult + { + public: + + + ModifyEmgVulSubmitResult(); + explicit ModifyEmgVulSubmitResult(const std::string &payload); + ~ModifyEmgVulSubmitResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYEMGVULSUBMITRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyLogMetaStatusRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyLogMetaStatusRequest.h new file mode 100644 index 000000000..a3db6521f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyLogMetaStatusRequest.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_AEGIS_MODEL_MODIFYLOGMETASTATUSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYLOGMETASTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyLogMetaStatusRequest : public RpcServiceRequest + { + + public: + ModifyLogMetaStatusRequest(); + ~ModifyLogMetaStatusRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getProject()const; + void setProject(const std::string& project); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getLogStore()const; + void setLogStore(const std::string& logStore); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string sourceIp_; + std::string project_; + std::string from_; + std::string lang_; + std::string logStore_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYLOGMETASTATUSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyLogMetaStatusResult.h b/aegis/include/alibabacloud/aegis/model/ModifyLogMetaStatusResult.h new file mode 100644 index 000000000..490706506 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyLogMetaStatusResult.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_AEGIS_MODEL_MODIFYLOGMETASTATUSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYLOGMETASTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyLogMetaStatusResult : public ServiceResult + { + public: + + + ModifyLogMetaStatusResult(); + explicit ModifyLogMetaStatusResult(const std::string &payload); + ~ModifyLogMetaStatusResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYLOGMETASTATUSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyMachineConfigRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyMachineConfigRequest.h new file mode 100644 index 000000000..a5eb057cf --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyMachineConfigRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYMACHINECONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYMACHINECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyMachineConfigRequest : public RpcServiceRequest + { + + public: + ModifyMachineConfigRequest(); + ~ModifyMachineConfigRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getType()const; + void setType(const std::string& type); + std::string getTarget()const; + void setTarget(const std::string& target); + + private: + std::string sourceIp_; + std::string type_; + std::string target_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYMACHINECONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyMachineConfigResult.h b/aegis/include/alibabacloud/aegis/model/ModifyMachineConfigResult.h new file mode 100644 index 000000000..c1cb5a8bc --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyMachineConfigResult.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_AEGIS_MODEL_MODIFYMACHINECONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYMACHINECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyMachineConfigResult : public ServiceResult + { + public: + + + ModifyMachineConfigResult(); + explicit ModifyMachineConfigResult(const std::string &payload); + ~ModifyMachineConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYMACHINECONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyOpenLogShipperRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyOpenLogShipperRequest.h new file mode 100644 index 000000000..f0a226738 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyOpenLogShipperRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYOPENLOGSHIPPERREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYOPENLOGSHIPPERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyOpenLogShipperRequest : public RpcServiceRequest + { + + public: + ModifyOpenLogShipperRequest(); + ~ModifyOpenLogShipperRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string from_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYOPENLOGSHIPPERREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyOpenLogShipperResult.h b/aegis/include/alibabacloud/aegis/model/ModifyOpenLogShipperResult.h new file mode 100644 index 000000000..f5df9befc --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyOpenLogShipperResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYOPENLOGSHIPPERRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYOPENLOGSHIPPERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyOpenLogShipperResult : public ServiceResult + { + public: + + + ModifyOpenLogShipperResult(); + explicit ModifyOpenLogShipperResult(const std::string &payload); + ~ModifyOpenLogShipperResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYOPENLOGSHIPPERRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifySasAssetStatisticsColumnRequest.h b/aegis/include/alibabacloud/aegis/model/ModifySasAssetStatisticsColumnRequest.h new file mode 100644 index 000000000..60477b382 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifySasAssetStatisticsColumnRequest.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_AEGIS_MODEL_MODIFYSASASSETSTATISTICSCOLUMNREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYSASASSETSTATISTICSCOLUMNREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifySasAssetStatisticsColumnRequest : public RpcServiceRequest + { + + public: + ModifySasAssetStatisticsColumnRequest(); + ~ModifySasAssetStatisticsColumnRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getStatisticsColumn()const; + void setStatisticsColumn(const std::string& statisticsColumn); + + private: + std::string sourceIp_; + std::string statisticsColumn_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYSASASSETSTATISTICSCOLUMNREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifySasAssetStatisticsColumnResult.h b/aegis/include/alibabacloud/aegis/model/ModifySasAssetStatisticsColumnResult.h new file mode 100644 index 000000000..603866dbf --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifySasAssetStatisticsColumnResult.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_AEGIS_MODEL_MODIFYSASASSETSTATISTICSCOLUMNRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYSASASSETSTATISTICSCOLUMNRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifySasAssetStatisticsColumnResult : public ServiceResult + { + public: + + + ModifySasAssetStatisticsColumnResult(); + explicit ModifySasAssetStatisticsColumnResult(const std::string &payload); + ~ModifySasAssetStatisticsColumnResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYSASASSETSTATISTICSCOLUMNRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifySaveVulBatchRequest.h b/aegis/include/alibabacloud/aegis/model/ModifySaveVulBatchRequest.h new file mode 100644 index 000000000..49130ea87 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifySaveVulBatchRequest.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYSAVEVULBATCHREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYSAVEVULBATCHREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifySaveVulBatchRequest : public RpcServiceRequest + { + + public: + ModifySaveVulBatchRequest(); + ~ModifySaveVulBatchRequest(); + + std::string getBatchName()const; + void setBatchName(const std::string& batchName); + std::string getAliasName()const; + void setAliasName(const std::string& aliasName); + std::string getStatusList()const; + void setStatusList(const std::string& statusList); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLevel()const; + void setLevel(const std::string& level); + std::string getResource()const; + void setResource(const std::string& resource); + std::string getName()const; + void setName(const std::string& name); + std::string getDealed()const; + void setDealed(const std::string& dealed); + std::string getRemark()const; + void setRemark(const std::string& remark); + std::string getType()const; + void setType(const std::string& type); + std::string getNecessity()const; + void setNecessity(const std::string& necessity); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string batchName_; + std::string aliasName_; + std::string statusList_; + std::string sourceIp_; + std::string level_; + std::string resource_; + std::string name_; + std::string dealed_; + std::string remark_; + std::string type_; + std::string necessity_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYSAVEVULBATCHREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifySaveVulBatchResult.h b/aegis/include/alibabacloud/aegis/model/ModifySaveVulBatchResult.h new file mode 100644 index 000000000..942656e3e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifySaveVulBatchResult.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_AEGIS_MODEL_MODIFYSAVEVULBATCHRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYSAVEVULBATCHRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifySaveVulBatchResult : public ServiceResult + { + public: + + + ModifySaveVulBatchResult(); + explicit ModifySaveVulBatchResult(const std::string &payload); + ~ModifySaveVulBatchResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYSAVEVULBATCHRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyScreenSettingRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyScreenSettingRequest.h new file mode 100644 index 000000000..3e9374c03 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyScreenSettingRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYSCREENSETTINGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYSCREENSETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyScreenSettingRequest : public RpcServiceRequest + { + + public: + ModifyScreenSettingRequest(); + ~ModifyScreenSettingRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getScreenTitle()const; + void setScreenTitle(const std::string& screenTitle); + std::string getScreenIdSetting()const; + void setScreenIdSetting(const std::string& screenIdSetting); + + private: + std::string sourceIp_; + std::string screenTitle_; + std::string screenIdSetting_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYSCREENSETTINGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyScreenSettingResult.h b/aegis/include/alibabacloud/aegis/model/ModifyScreenSettingResult.h new file mode 100644 index 000000000..09e6b3c9c --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyScreenSettingResult.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_AEGIS_MODEL_MODIFYSCREENSETTINGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYSCREENSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyScreenSettingResult : public ServiceResult + { + public: + + + ModifyScreenSettingResult(); + explicit ModifyScreenSettingResult(const std::string &payload); + ~ModifyScreenSettingResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYSCREENSETTINGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifySearchConditionRequest.h b/aegis/include/alibabacloud/aegis/model/ModifySearchConditionRequest.h new file mode 100644 index 000000000..a05c53aa8 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifySearchConditionRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYSEARCHCONDITIONREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYSEARCHCONDITIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifySearchConditionRequest : public RpcServiceRequest + { + + public: + ModifySearchConditionRequest(); + ~ModifySearchConditionRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getName()const; + void setName(const std::string& name); + std::string getFilterConditions()const; + void setFilterConditions(const std::string& filterConditions); + + private: + std::string sourceIp_; + std::string name_; + std::string filterConditions_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYSEARCHCONDITIONREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifySearchConditionResult.h b/aegis/include/alibabacloud/aegis/model/ModifySearchConditionResult.h new file mode 100644 index 000000000..129204740 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifySearchConditionResult.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_AEGIS_MODEL_MODIFYSEARCHCONDITIONRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYSEARCHCONDITIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifySearchConditionResult : public ServiceResult + { + public: + + + ModifySearchConditionResult(); + explicit ModifySearchConditionResult(const std::string &payload); + ~ModifySearchConditionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYSEARCHCONDITIONRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyStrategyRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyStrategyRequest.h index 758dcf565..bfad74915 100644 --- a/aegis/include/alibabacloud/aegis/model/ModifyStrategyRequest.h +++ b/aegis/include/alibabacloud/aegis/model/ModifyStrategyRequest.h @@ -35,8 +35,6 @@ namespace AlibabaCloud ModifyStrategyRequest(); ~ModifyStrategyRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); std::string getRiskSubTypeName()const; void setRiskSubTypeName(const std::string& riskSubTypeName); std::string getSourceIp()const; @@ -51,7 +49,6 @@ namespace AlibabaCloud void setId(const std::string& id); private: - long resourceOwnerId_; std::string riskSubTypeName_; std::string sourceIp_; std::string cycleStartTime_; diff --git a/aegis/include/alibabacloud/aegis/model/ModifyStrategyResult.h b/aegis/include/alibabacloud/aegis/model/ModifyStrategyResult.h index 92db3023c..040d0341f 100644 --- a/aegis/include/alibabacloud/aegis/model/ModifyStrategyResult.h +++ b/aegis/include/alibabacloud/aegis/model/ModifyStrategyResult.h @@ -32,27 +32,27 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT ModifyStrategyResult : public ServiceResult { public: - struct Result - { - int strategyId; - }; + struct Result + { + int strategyId; + }; ModifyStrategyResult(); explicit ModifyStrategyResult(const std::string &payload); ~ModifyStrategyResult(); - int getTotalCount()const; - int getHttpStatusCode()const; - bool getSuccess()const; - std::vector getResult()const; + int getTotalCount()const; + int getHttpStatusCode()const; + bool getSuccess()const; + Result getResult()const; protected: void parse(const std::string &payload); private: - int totalCount_; - int httpStatusCode_; - bool success_; - std::vector result_; + int totalCount_; + int httpStatusCode_; + bool success_; + Result result_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/ModifyStrategyTargetRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyStrategyTargetRequest.h index d5da0ec18..bb1e7626c 100644 --- a/aegis/include/alibabacloud/aegis/model/ModifyStrategyTargetRequest.h +++ b/aegis/include/alibabacloud/aegis/model/ModifyStrategyTargetRequest.h @@ -35,8 +35,6 @@ namespace AlibabaCloud ModifyStrategyTargetRequest(); ~ModifyStrategyTargetRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); std::string getSourceIp()const; void setSourceIp(const std::string& sourceIp); std::string getType()const; @@ -47,7 +45,6 @@ namespace AlibabaCloud void setTarget(const std::string& target); private: - long resourceOwnerId_; std::string sourceIp_; std::string type_; std::string config_; diff --git a/aegis/include/alibabacloud/aegis/model/ModifyTargetConfigRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyTargetConfigRequest.h new file mode 100644 index 000000000..da0621420 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyTargetConfigRequest.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_AEGIS_MODEL_MODIFYTARGETCONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYTARGETCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyTargetConfigRequest : public RpcServiceRequest + { + + public: + ModifyTargetConfigRequest(); + ~ModifyTargetConfigRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getType()const; + void setType(const std::string& type); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getConfig()const; + void setConfig(const std::string& config); + + private: + std::string sourceIp_; + std::string type_; + std::string uuid_; + std::string config_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYTARGETCONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyTargetConfigResult.h b/aegis/include/alibabacloud/aegis/model/ModifyTargetConfigResult.h new file mode 100644 index 000000000..318d281c7 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyTargetConfigResult.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_AEGIS_MODEL_MODIFYTARGETCONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYTARGETCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyTargetConfigResult : public ServiceResult + { + public: + + + ModifyTargetConfigResult(); + explicit ModifyTargetConfigResult(const std::string &payload); + ~ModifyTargetConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYTARGETCONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyVulConfigRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyVulConfigRequest.h new file mode 100644 index 000000000..f0d46f169 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyVulConfigRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYVULCONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYVULCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyVulConfigRequest : public RpcServiceRequest + { + + public: + ModifyVulConfigRequest(); + ~ModifyVulConfigRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getType()const; + void setType(const std::string& type); + std::string getConfig()const; + void setConfig(const std::string& config); + + private: + std::string sourceIp_; + std::string type_; + std::string config_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYVULCONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyVulConfigResult.h b/aegis/include/alibabacloud/aegis/model/ModifyVulConfigResult.h new file mode 100644 index 000000000..dc4fe0e20 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyVulConfigResult.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_AEGIS_MODEL_MODIFYVULCONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYVULCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyVulConfigResult : public ServiceResult + { + public: + + + ModifyVulConfigResult(); + explicit ModifyVulConfigResult(const std::string &payload); + ~ModifyVulConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYVULCONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyVulLevelRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyVulLevelRequest.h new file mode 100644 index 000000000..9d3513417 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyVulLevelRequest.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_AEGIS_MODEL_MODIFYVULLEVELREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYVULLEVELREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyVulLevelRequest : public RpcServiceRequest + { + + public: + ModifyVulLevelRequest(); + ~ModifyVulLevelRequest(); + + std::string getConcernLevel()const; + void setConcernLevel(const std::string& concernLevel); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string concernLevel_; + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYVULLEVELREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyVulLevelResult.h b/aegis/include/alibabacloud/aegis/model/ModifyVulLevelResult.h new file mode 100644 index 000000000..b08b39c87 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyVulLevelResult.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_AEGIS_MODEL_MODIFYVULLEVELRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYVULLEVELRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyVulLevelResult : public ServiceResult + { + public: + + + ModifyVulLevelResult(); + explicit ModifyVulLevelResult(const std::string &payload); + ~ModifyVulLevelResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYVULLEVELRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyVulTargetRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyVulTargetRequest.h new file mode 100644 index 000000000..912aa38b7 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyVulTargetRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYVULTARGETREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYVULTARGETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyVulTargetRequest : public RpcServiceRequest + { + + public: + ModifyVulTargetRequest(); + ~ModifyVulTargetRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getConfig()const; + void setConfig(const std::string& config); + std::string getTarget()const; + void setTarget(const std::string& target); + + private: + std::string sourceIp_; + std::string config_; + std::string target_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYVULTARGETREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyVulTargetResult.h b/aegis/include/alibabacloud/aegis/model/ModifyVulTargetResult.h new file mode 100644 index 000000000..b42eb6cdd --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyVulTargetResult.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_AEGIS_MODEL_MODIFYVULTARGETRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYVULTARGETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyVulTargetResult : public ServiceResult + { + public: + + + ModifyVulTargetResult(); + explicit ModifyVulTargetResult(const std::string &payload); + ~ModifyVulTargetResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYVULTARGETRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyWebLockCreateConfigRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyWebLockCreateConfigRequest.h new file mode 100644 index 000000000..e73729d5a --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyWebLockCreateConfigRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKCREATECONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKCREATECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyWebLockCreateConfigRequest : public RpcServiceRequest + { + + public: + ModifyWebLockCreateConfigRequest(); + ~ModifyWebLockCreateConfigRequest(); + + std::string getLocalBackupDir()const; + void setLocalBackupDir(const std::string& localBackupDir); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getExclusiveFileType()const; + void setExclusiveFileType(const std::string& exclusiveFileType); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getDir()const; + void setDir(const std::string& dir); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getExclusiveDir()const; + void setExclusiveDir(const std::string& exclusiveDir); + + private: + std::string localBackupDir_; + std::string sourceIp_; + std::string exclusiveFileType_; + std::string lang_; + std::string dir_; + std::string uuid_; + std::string exclusiveDir_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKCREATECONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyWebLockCreateConfigResult.h b/aegis/include/alibabacloud/aegis/model/ModifyWebLockCreateConfigResult.h new file mode 100644 index 000000000..4e5ddd366 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyWebLockCreateConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKCREATECONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKCREATECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyWebLockCreateConfigResult : public ServiceResult + { + public: + + + ModifyWebLockCreateConfigResult(); + explicit ModifyWebLockCreateConfigResult(const std::string &payload); + ~ModifyWebLockCreateConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKCREATECONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyWebLockDeleteConfigRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyWebLockDeleteConfigRequest.h new file mode 100644 index 000000000..099d72980 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyWebLockDeleteConfigRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKDELETECONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKDELETECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyWebLockDeleteConfigRequest : public RpcServiceRequest + { + + public: + ModifyWebLockDeleteConfigRequest(); + ~ModifyWebLockDeleteConfigRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getId()const; + void setId(int id); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getUuid()const; + void setUuid(const std::string& uuid); + + private: + std::string sourceIp_; + int id_; + std::string lang_; + std::string uuid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKDELETECONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyWebLockDeleteConfigResult.h b/aegis/include/alibabacloud/aegis/model/ModifyWebLockDeleteConfigResult.h new file mode 100644 index 000000000..30ca88981 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyWebLockDeleteConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKDELETECONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKDELETECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyWebLockDeleteConfigResult : public ServiceResult + { + public: + + + ModifyWebLockDeleteConfigResult(); + explicit ModifyWebLockDeleteConfigResult(const std::string &payload); + ~ModifyWebLockDeleteConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKDELETECONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyWebLockMachineListRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyWebLockMachineListRequest.h new file mode 100644 index 000000000..d04e09c99 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyWebLockMachineListRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKMACHINELISTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKMACHINELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyWebLockMachineListRequest : public RpcServiceRequest + { + + public: + ModifyWebLockMachineListRequest(); + ~ModifyWebLockMachineListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string sourceIp_; + std::string lang_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKMACHINELISTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyWebLockMachineListResult.h b/aegis/include/alibabacloud/aegis/model/ModifyWebLockMachineListResult.h new file mode 100644 index 000000000..150db3a6d --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyWebLockMachineListResult.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_AEGIS_MODEL_MODIFYWEBLOCKMACHINELISTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKMACHINELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyWebLockMachineListResult : public ServiceResult + { + public: + + + ModifyWebLockMachineListResult(); + explicit ModifyWebLockMachineListResult(const std::string &payload); + ~ModifyWebLockMachineListResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKMACHINELISTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyWebLockOperateEventsRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyWebLockOperateEventsRequest.h new file mode 100644 index 000000000..28d31dd76 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyWebLockOperateEventsRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKOPERATEEVENTSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKOPERATEEVENTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyWebLockOperateEventsRequest : public RpcServiceRequest + { + + public: + ModifyWebLockOperateEventsRequest(); + ~ModifyWebLockOperateEventsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getOperation()const; + void setOperation(const std::string& operation); + std::string getEventIds()const; + void setEventIds(const std::string& eventIds); + + private: + std::string sourceIp_; + std::string operation_; + std::string eventIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKOPERATEEVENTSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyWebLockOperateEventsResult.h b/aegis/include/alibabacloud/aegis/model/ModifyWebLockOperateEventsResult.h new file mode 100644 index 000000000..a94c23572 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyWebLockOperateEventsResult.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_AEGIS_MODEL_MODIFYWEBLOCKOPERATEEVENTSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKOPERATEEVENTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyWebLockOperateEventsResult : public ServiceResult + { + public: + + + ModifyWebLockOperateEventsResult(); + explicit ModifyWebLockOperateEventsResult(const std::string &payload); + ~ModifyWebLockOperateEventsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKOPERATEEVENTSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyWebLockRefreshRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyWebLockRefreshRequest.h new file mode 100644 index 000000000..7d29a5d1f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyWebLockRefreshRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKREFRESHREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKREFRESHREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyWebLockRefreshRequest : public RpcServiceRequest + { + + public: + ModifyWebLockRefreshRequest(); + ~ModifyWebLockRefreshRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getUuid()const; + void setUuid(const std::string& uuid); + + private: + std::string sourceIp_; + std::string lang_; + std::string uuid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKREFRESHREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyWebLockRefreshResult.h b/aegis/include/alibabacloud/aegis/model/ModifyWebLockRefreshResult.h new file mode 100644 index 000000000..a9b865268 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyWebLockRefreshResult.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_AEGIS_MODEL_MODIFYWEBLOCKREFRESHRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKREFRESHRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyWebLockRefreshResult : public ServiceResult + { + public: + + + ModifyWebLockRefreshResult(); + explicit ModifyWebLockRefreshResult(const std::string &payload); + ~ModifyWebLockRefreshResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKREFRESHRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyWebLockStatusRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyWebLockStatusRequest.h new file mode 100644 index 000000000..efba5ddde --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyWebLockStatusRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKSTATUSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyWebLockStatusRequest : public RpcServiceRequest + { + + public: + ModifyWebLockStatusRequest(); + ~ModifyWebLockStatusRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string sourceIp_; + std::string lang_; + std::string uuid_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKSTATUSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyWebLockStatusResult.h b/aegis/include/alibabacloud/aegis/model/ModifyWebLockStatusResult.h new file mode 100644 index 000000000..7fe7635d6 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyWebLockStatusResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKSTATUSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyWebLockStatusResult : public ServiceResult + { + public: + + + ModifyWebLockStatusResult(); + explicit ModifyWebLockStatusResult(const std::string &payload); + ~ModifyWebLockStatusResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKSTATUSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyWebLockUpdateConfigRequest.h b/aegis/include/alibabacloud/aegis/model/ModifyWebLockUpdateConfigRequest.h new file mode 100644 index 000000000..17dcf0179 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyWebLockUpdateConfigRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKUPDATECONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKUPDATECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyWebLockUpdateConfigRequest : public RpcServiceRequest + { + + public: + ModifyWebLockUpdateConfigRequest(); + ~ModifyWebLockUpdateConfigRequest(); + + std::string getLocalBackupDir()const; + void setLocalBackupDir(const std::string& localBackupDir); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getExclusiveFileType()const; + void setExclusiveFileType(const std::string& exclusiveFileType); + int getId()const; + void setId(int id); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getDir()const; + void setDir(const std::string& dir); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getExclusiveDir()const; + void setExclusiveDir(const std::string& exclusiveDir); + + private: + std::string localBackupDir_; + std::string sourceIp_; + std::string exclusiveFileType_; + int id_; + std::string lang_; + std::string dir_; + std::string uuid_; + std::string exclusiveDir_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKUPDATECONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ModifyWebLockUpdateConfigResult.h b/aegis/include/alibabacloud/aegis/model/ModifyWebLockUpdateConfigResult.h new file mode 100644 index 000000000..b173f6858 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ModifyWebLockUpdateConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKUPDATECONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKUPDATECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ModifyWebLockUpdateConfigResult : public ServiceResult + { + public: + + + ModifyWebLockUpdateConfigResult(); + explicit ModifyWebLockUpdateConfigResult(const std::string &payload); + ~ModifyWebLockUpdateConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYWEBLOCKUPDATECONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OpenSasTrialRequest.h b/aegis/include/alibabacloud/aegis/model/OpenSasTrialRequest.h new file mode 100644 index 000000000..c25a82954 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OpenSasTrialRequest.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_AEGIS_MODEL_OPENSASTRIALREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPENSASTRIALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OpenSasTrialRequest : public RpcServiceRequest + { + + public: + OpenSasTrialRequest(); + ~OpenSasTrialRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getBuyVersion()const; + void setBuyVersion(const std::string& buyVersion); + + private: + std::string sourceIp_; + std::string buyVersion_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPENSASTRIALREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OpenSasTrialResult.h b/aegis/include/alibabacloud/aegis/model/OpenSasTrialResult.h new file mode 100644 index 000000000..996be375d --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OpenSasTrialResult.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_AEGIS_MODEL_OPENSASTRIALRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPENSASTRIALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OpenSasTrialResult : public ServiceResult + { + public: + + + OpenSasTrialResult(); + explicit OpenSasTrialResult(const std::string &payload); + ~OpenSasTrialResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPENSASTRIALRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OperateAgentClientInstallRequest.h b/aegis/include/alibabacloud/aegis/model/OperateAgentClientInstallRequest.h new file mode 100644 index 000000000..7ad222626 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OperateAgentClientInstallRequest.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_AEGIS_MODEL_OPERATEAGENTCLIENTINSTALLREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPERATEAGENTCLIENTINSTALLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OperateAgentClientInstallRequest : public RpcServiceRequest + { + + public: + OperateAgentClientInstallRequest(); + ~OperateAgentClientInstallRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getInstanceIds()const; + void setInstanceIds(const std::string& instanceIds); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string sourceIp_; + std::string instanceIds_; + std::string lang_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPERATEAGENTCLIENTINSTALLREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OperateAgentClientInstallResult.h b/aegis/include/alibabacloud/aegis/model/OperateAgentClientInstallResult.h new file mode 100644 index 000000000..3b174b666 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OperateAgentClientInstallResult.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_AEGIS_MODEL_OPERATEAGENTCLIENTINSTALLRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPERATEAGENTCLIENTINSTALLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OperateAgentClientInstallResult : public ServiceResult + { + public: + struct AegisCelintInstallRespose + { + std::string uuid; + std::string instanceId; + long recordId; + }; + + + OperateAgentClientInstallResult(); + explicit OperateAgentClientInstallResult(const std::string &payload); + ~OperateAgentClientInstallResult(); + std::vector getAegisCelintInstallResposeList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector aegisCelintInstallResposeList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPERATEAGENTCLIENTINSTALLRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OperateResultRequest.h b/aegis/include/alibabacloud/aegis/model/OperateResultRequest.h new file mode 100644 index 000000000..4dce2193e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OperateResultRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_OPERATERESULTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPERATERESULTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OperateResultRequest : public RpcServiceRequest + { + + public: + OperateResultRequest(); + ~OperateResultRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getIds()const; + void setIds(const std::string& ids); + long getStatus()const; + void setStatus(long status); + + private: + std::string sourceIp_; + std::string ids_; + long status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPERATERESULTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OperateResultResult.h b/aegis/include/alibabacloud/aegis/model/OperateResultResult.h new file mode 100644 index 000000000..70b02f6d7 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OperateResultResult.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_AEGIS_MODEL_OPERATERESULTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPERATERESULTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OperateResultResult : public ServiceResult + { + public: + + + OperateResultResult(); + explicit OperateResultResult(const std::string &payload); + ~OperateResultResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPERATERESULTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OperateSuspiciousEventRequest.h b/aegis/include/alibabacloud/aegis/model/OperateSuspiciousEventRequest.h new file mode 100644 index 000000000..9e3bf43d8 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OperateSuspiciousEventRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_OPERATESUSPICIOUSEVENTREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPERATESUSPICIOUSEVENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OperateSuspiciousEventRequest : public RpcServiceRequest + { + + public: + OperateSuspiciousEventRequest(); + ~OperateSuspiciousEventRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getData()const; + void setData(const std::string& data); + std::string getOperateType()const; + void setOperateType(const std::string& operateType); + + private: + std::string sourceIp_; + std::string data_; + std::string operateType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPERATESUSPICIOUSEVENTREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OperateSuspiciousEventResult.h b/aegis/include/alibabacloud/aegis/model/OperateSuspiciousEventResult.h new file mode 100644 index 000000000..f680d0072 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OperateSuspiciousEventResult.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_AEGIS_MODEL_OPERATESUSPICIOUSEVENTRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPERATESUSPICIOUSEVENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OperateSuspiciousEventResult : public ServiceResult + { + public: + + + OperateSuspiciousEventResult(); + explicit OperateSuspiciousEventResult(const std::string &payload); + ~OperateSuspiciousEventResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPERATESUSPICIOUSEVENTRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OperateSuspiciousOverallConfigRequest.h b/aegis/include/alibabacloud/aegis/model/OperateSuspiciousOverallConfigRequest.h new file mode 100644 index 000000000..b367d8b29 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OperateSuspiciousOverallConfigRequest.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_AEGIS_MODEL_OPERATESUSPICIOUSOVERALLCONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPERATESUSPICIOUSOVERALLCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OperateSuspiciousOverallConfigRequest : public RpcServiceRequest + { + + public: + OperateSuspiciousOverallConfigRequest(); + ~OperateSuspiciousOverallConfigRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + std::string getConfig()const; + void setConfig(const std::string& config); + + private: + std::string sourceIp_; + std::string lang_; + std::string type_; + std::string config_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPERATESUSPICIOUSOVERALLCONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OperateSuspiciousOverallConfigResult.h b/aegis/include/alibabacloud/aegis/model/OperateSuspiciousOverallConfigResult.h new file mode 100644 index 000000000..b2550458c --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OperateSuspiciousOverallConfigResult.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_AEGIS_MODEL_OPERATESUSPICIOUSOVERALLCONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPERATESUSPICIOUSOVERALLCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OperateSuspiciousOverallConfigResult : public ServiceResult + { + public: + + + OperateSuspiciousOverallConfigResult(); + explicit OperateSuspiciousOverallConfigResult(const std::string &payload); + ~OperateSuspiciousOverallConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPERATESUSPICIOUSOVERALLCONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OperateSuspiciousTargetConfigRequest.h b/aegis/include/alibabacloud/aegis/model/OperateSuspiciousTargetConfigRequest.h new file mode 100644 index 000000000..1f40a4974 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OperateSuspiciousTargetConfigRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_OPERATESUSPICIOUSTARGETCONFIGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPERATESUSPICIOUSTARGETCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OperateSuspiciousTargetConfigRequest : public RpcServiceRequest + { + + public: + OperateSuspiciousTargetConfigRequest(); + ~OperateSuspiciousTargetConfigRequest(); + + std::string getTargetOperations()const; + void setTargetOperations(const std::string& targetOperations); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getTargetType()const; + void setTargetType(const std::string& targetType); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + + private: + std::string targetOperations_; + std::string sourceIp_; + std::string targetType_; + std::string lang_; + std::string type_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPERATESUSPICIOUSTARGETCONFIGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OperateSuspiciousTargetConfigResult.h b/aegis/include/alibabacloud/aegis/model/OperateSuspiciousTargetConfigResult.h new file mode 100644 index 000000000..72cdf2ab0 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OperateSuspiciousTargetConfigResult.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_AEGIS_MODEL_OPERATESUSPICIOUSTARGETCONFIGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPERATESUSPICIOUSTARGETCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OperateSuspiciousTargetConfigResult : public ServiceResult + { + public: + + + OperateSuspiciousTargetConfigResult(); + explicit OperateSuspiciousTargetConfigResult(const std::string &payload); + ~OperateSuspiciousTargetConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPERATESUSPICIOUSTARGETCONFIGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OperateVulRequest.h b/aegis/include/alibabacloud/aegis/model/OperateVulRequest.h new file mode 100644 index 000000000..827ff3a5c --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OperateVulRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_OPERATEVULREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPERATEVULREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OperateVulRequest : public RpcServiceRequest + { + + public: + OperateVulRequest(); + ~OperateVulRequest(); + + std::string getReason()const; + void setReason(const std::string& reason); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getOperateType()const; + void setOperateType(const std::string& operateType); + std::string getType()const; + void setType(const std::string& type); + std::string getInfo()const; + void setInfo(const std::string& info); + + private: + std::string reason_; + std::string sourceIp_; + std::string operateType_; + std::string type_; + std::string info_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPERATEVULREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OperateVulResult.h b/aegis/include/alibabacloud/aegis/model/OperateVulResult.h new file mode 100644 index 000000000..095923576 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OperateVulResult.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_AEGIS_MODEL_OPERATEVULRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPERATEVULRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OperateVulResult : public ServiceResult + { + public: + + + OperateVulResult(); + explicit OperateVulResult(const std::string &payload); + ~OperateVulResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPERATEVULRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OperateWarningRequest.h b/aegis/include/alibabacloud/aegis/model/OperateWarningRequest.h new file mode 100644 index 000000000..eca020d41 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OperateWarningRequest.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_AEGIS_MODEL_OPERATEWARNINGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPERATEWARNINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OperateWarningRequest : public RpcServiceRequest + { + + public: + OperateWarningRequest(); + ~OperateWarningRequest(); + + std::string getReason()const; + void setReason(const std::string& reason); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getOperateType()const; + void setOperateType(const std::string& operateType); + std::string getRiskWarningIds()const; + void setRiskWarningIds(const std::string& riskWarningIds); + + private: + std::string reason_; + std::string sourceIp_; + std::string operateType_; + std::string riskWarningIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPERATEWARNINGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OperateWarningResult.h b/aegis/include/alibabacloud/aegis/model/OperateWarningResult.h new file mode 100644 index 000000000..9d12e85c5 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OperateWarningResult.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_AEGIS_MODEL_OPERATEWARNINGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPERATEWARNINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OperateWarningResult : public ServiceResult + { + public: + + + OperateWarningResult(); + explicit OperateWarningResult(const std::string &payload); + ~OperateWarningResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPERATEWARNINGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OperationSuspEventsRequest.h b/aegis/include/alibabacloud/aegis/model/OperationSuspEventsRequest.h new file mode 100644 index 000000000..e39783586 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OperationSuspEventsRequest.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_AEGIS_MODEL_OPERATIONSUSPEVENTSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPERATIONSUSPEVENTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OperationSuspEventsRequest : public RpcServiceRequest + { + + public: + OperationSuspEventsRequest(); + ~OperationSuspEventsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getWarnType()const; + void setWarnType(const std::string& warnType); + std::string getSuspiciousEventIds()const; + void setSuspiciousEventIds(const std::string& suspiciousEventIds); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getSubOperation()const; + void setSubOperation(const std::string& subOperation); + std::string getOperation()const; + void setOperation(const std::string& operation); + + private: + std::string sourceIp_; + std::string warnType_; + std::string suspiciousEventIds_; + std::string from_; + std::string subOperation_; + std::string operation_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPERATIONSUSPEVENTSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/OperationSuspEventsResult.h b/aegis/include/alibabacloud/aegis/model/OperationSuspEventsResult.h new file mode 100644 index 000000000..6246fa882 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/OperationSuspEventsResult.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_AEGIS_MODEL_OPERATIONSUSPEVENTSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_OPERATIONSUSPEVENTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT OperationSuspEventsResult : public ServiceResult + { + public: + + + OperationSuspEventsResult(); + explicit OperationSuspEventsResult(const std::string &payload); + ~OperationSuspEventsResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_OPERATIONSUSPEVENTSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/QueryCrackEventResult.h b/aegis/include/alibabacloud/aegis/model/QueryCrackEventResult.h index d80de1eb0..49b5c53d4 100644 --- a/aegis/include/alibabacloud/aegis/model/QueryCrackEventResult.h +++ b/aegis/include/alibabacloud/aegis/model/QueryCrackEventResult.h @@ -32,57 +32,57 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT QueryCrackEventResult : public ServiceResult { public: - struct Data - { - struct PageInfo - { - int totalCount; - int pageSize; - int currentPage; - int count; - }; - struct Entity - { - int status; - std::string buyVersion; - std::string userName; - std::string instanceId; - std::string ip; - int attackType; - std::string statusName; - int groupId; - std::string instanceName; - int inWhite; - std::string uuid; - std::string attackTypeName; - int crackTimes; - std::string region; - std::string crackSourceIp; - std::string attackTime; - std::string location; - }; - std::vector pageInfo; - std::vector list; - }; + struct Data + { + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct Entity + { + int status; + std::string buyVersion; + std::string userName; + std::string instanceId; + std::string ip; + int attackType; + std::string statusName; + int groupId; + std::string instanceName; + int inWhite; + std::string uuid; + std::string attackTypeName; + int crackTimes; + std::string region; + std::string crackSourceIp; + std::string attackTime; + std::string location; + }; + PageInfo pageInfo; + std::vector list; + }; QueryCrackEventResult(); explicit QueryCrackEventResult(const std::string &payload); ~QueryCrackEventResult(); - std::string getRequestId()const; - std::string getMessage()const; - std::vector getData()const; - std::string getCode()const; - bool getSuccess()const; + std::string getRequestId()const; + std::string getMessage()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; protected: void parse(const std::string &payload); private: - std::string requestId_; - std::string message_; - std::vector data_; - std::string code_; - bool success_; + std::string requestId_; + std::string message_; + Data data_; + std::string code_; + bool success_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/QueryLoginEventResult.h b/aegis/include/alibabacloud/aegis/model/QueryLoginEventResult.h index b728fdcc8..6a9a819f2 100644 --- a/aegis/include/alibabacloud/aegis/model/QueryLoginEventResult.h +++ b/aegis/include/alibabacloud/aegis/model/QueryLoginEventResult.h @@ -32,55 +32,55 @@ namespace AlibabaCloud class ALIBABACLOUD_AEGIS_EXPORT QueryLoginEventResult : public ServiceResult { public: - struct Data - { - struct PageInfo - { - int totalCount; - int pageSize; - int currentPage; - int count; - }; - struct Entity - { - int status; - std::string loginTime; - std::string buyVersion; - std::string loginSourceIp; - std::string userName; - std::string instanceId; - std::string ip; - std::string statusName; - int groupId; - std::string instanceName; - std::string loginTypeName; - std::string uuid; - std::string region; - int loginType; - std::string location; - }; - std::vector pageInfo; - std::vector list; - }; + struct Data + { + struct PageInfo + { + int totalCount; + int pageSize; + int currentPage; + int count; + }; + struct Entity + { + int status; + std::string loginTime; + std::string buyVersion; + std::string loginSourceIp; + std::string userName; + std::string instanceId; + std::string ip; + std::string statusName; + int groupId; + std::string instanceName; + std::string loginTypeName; + std::string uuid; + std::string region; + int loginType; + std::string location; + }; + PageInfo pageInfo; + std::vector list; + }; QueryLoginEventResult(); explicit QueryLoginEventResult(const std::string &payload); ~QueryLoginEventResult(); - std::string getRequestId()const; - std::string getMessage()const; - std::vector getData()const; - std::string getCode()const; - bool getSuccess()const; + std::string getRequestId()const; + std::string getMessage()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; protected: void parse(const std::string &payload); private: - std::string requestId_; - std::string message_; - std::vector data_; - std::string code_; - bool success_; + std::string requestId_; + std::string message_; + Data data_; + std::string code_; + bool success_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/RenewInstanceResult.h b/aegis/include/alibabacloud/aegis/model/RenewInstanceResult.h index a36ac1067..65c884905 100644 --- a/aegis/include/alibabacloud/aegis/model/RenewInstanceResult.h +++ b/aegis/include/alibabacloud/aegis/model/RenewInstanceResult.h @@ -37,12 +37,12 @@ namespace AlibabaCloud RenewInstanceResult(); explicit RenewInstanceResult(const std::string &payload); ~RenewInstanceResult(); - std::string getOrderId()const; + std::string getOrderId()const; protected: void parse(const std::string &payload); private: - std::string orderId_; + std::string orderId_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/RollbackQuaraFileRequest.h b/aegis/include/alibabacloud/aegis/model/RollbackQuaraFileRequest.h new file mode 100644 index 000000000..c30650b9e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/RollbackQuaraFileRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_ROLLBACKQUARAFILEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_ROLLBACKQUARAFILEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT RollbackQuaraFileRequest : public RpcServiceRequest + { + + public: + RollbackQuaraFileRequest(); + ~RollbackQuaraFileRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getEventType()const; + void setEventType(const std::string& eventType); + std::string getTag()const; + void setTag(const std::string& tag); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getEventName()const; + void setEventName(const std::string& eventName); + + private: + std::string sourceIp_; + std::string eventType_; + std::string tag_; + std::string uuid_; + std::string eventName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_ROLLBACKQUARAFILEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/RollbackQuaraFileResult.h b/aegis/include/alibabacloud/aegis/model/RollbackQuaraFileResult.h new file mode 100644 index 000000000..c2a1b183b --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/RollbackQuaraFileResult.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_AEGIS_MODEL_ROLLBACKQUARAFILERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_ROLLBACKQUARAFILERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT RollbackQuaraFileResult : public ServiceResult + { + public: + + + RollbackQuaraFileResult(); + explicit RollbackQuaraFileResult(const std::string &payload); + ~RollbackQuaraFileResult(); + int getHttpStatusCode()const; + + protected: + void parse(const std::string &payload); + private: + int httpStatusCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_ROLLBACKQUARAFILERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/RollbackSuspEventQuaraFileRequest.h b/aegis/include/alibabacloud/aegis/model/RollbackSuspEventQuaraFileRequest.h new file mode 100644 index 000000000..fcbf602b8 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/RollbackSuspEventQuaraFileRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_ROLLBACKSUSPEVENTQUARAFILEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_ROLLBACKSUSPEVENTQUARAFILEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT RollbackSuspEventQuaraFileRequest : public RpcServiceRequest + { + + public: + RollbackSuspEventQuaraFileRequest(); + ~RollbackSuspEventQuaraFileRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + int getQuaraFileId()const; + void setQuaraFileId(int quaraFileId); + + private: + std::string sourceIp_; + std::string from_; + int quaraFileId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_ROLLBACKSUSPEVENTQUARAFILEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/RollbackSuspEventQuaraFileResult.h b/aegis/include/alibabacloud/aegis/model/RollbackSuspEventQuaraFileResult.h new file mode 100644 index 000000000..39da0f5cd --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/RollbackSuspEventQuaraFileResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_ROLLBACKSUSPEVENTQUARAFILERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_ROLLBACKSUSPEVENTQUARAFILERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT RollbackSuspEventQuaraFileResult : public ServiceResult + { + public: + + + RollbackSuspEventQuaraFileResult(); + explicit RollbackSuspEventQuaraFileResult(const std::string &payload); + ~RollbackSuspEventQuaraFileResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_ROLLBACKSUSPEVENTQUARAFILERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/SaveSuspEventUserSettingRequest.h b/aegis/include/alibabacloud/aegis/model/SaveSuspEventUserSettingRequest.h new file mode 100644 index 000000000..4fe1770a1 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/SaveSuspEventUserSettingRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_SAVESUSPEVENTUSERSETTINGREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_SAVESUSPEVENTUSERSETTINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT SaveSuspEventUserSettingRequest : public RpcServiceRequest + { + + public: + SaveSuspEventUserSettingRequest(); + ~SaveSuspEventUserSettingRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getLevelsOn()const; + void setLevelsOn(const std::string& levelsOn); + + private: + std::string sourceIp_; + std::string from_; + std::string levelsOn_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_SAVESUSPEVENTUSERSETTINGREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/SaveSuspEventUserSettingResult.h b/aegis/include/alibabacloud/aegis/model/SaveSuspEventUserSettingResult.h new file mode 100644 index 000000000..67ac51fca --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/SaveSuspEventUserSettingResult.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_AEGIS_MODEL_SAVESUSPEVENTUSERSETTINGRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_SAVESUSPEVENTUSERSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT SaveSuspEventUserSettingResult : public ServiceResult + { + public: + + + SaveSuspEventUserSettingResult(); + explicit SaveSuspEventUserSettingResult(const std::string &payload); + ~SaveSuspEventUserSettingResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_SAVESUSPEVENTUSERSETTINGRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/SaveWhiteListStrategyAssetsRequest.h b/aegis/include/alibabacloud/aegis/model/SaveWhiteListStrategyAssetsRequest.h new file mode 100644 index 000000000..7a67430de --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/SaveWhiteListStrategyAssetsRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_SAVEWHITELISTSTRATEGYASSETSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_SAVEWHITELISTSTRATEGYASSETSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT SaveWhiteListStrategyAssetsRequest : public RpcServiceRequest + { + + public: + SaveWhiteListStrategyAssetsRequest(); + ~SaveWhiteListStrategyAssetsRequest(); + + std::string getOperations()const; + void setOperations(const std::string& operations); + int getRelationType()const; + void setRelationType(int relationType); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getStrategyId()const; + void setStrategyId(long strategyId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string operations_; + int relationType_; + std::string sourceIp_; + long strategyId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_SAVEWHITELISTSTRATEGYASSETSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/SaveWhiteListStrategyAssetsResult.h b/aegis/include/alibabacloud/aegis/model/SaveWhiteListStrategyAssetsResult.h new file mode 100644 index 000000000..c9a735fa4 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/SaveWhiteListStrategyAssetsResult.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_AEGIS_MODEL_SAVEWHITELISTSTRATEGYASSETSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_SAVEWHITELISTSTRATEGYASSETSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT SaveWhiteListStrategyAssetsResult : public ServiceResult + { + public: + + + SaveWhiteListStrategyAssetsResult(); + explicit SaveWhiteListStrategyAssetsResult(const std::string &payload); + ~SaveWhiteListStrategyAssetsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_SAVEWHITELISTSTRATEGYASSETSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/SaveWhiteListStrategyRequest.h b/aegis/include/alibabacloud/aegis/model/SaveWhiteListStrategyRequest.h new file mode 100644 index 000000000..dc62821ad --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/SaveWhiteListStrategyRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_SAVEWHITELISTSTRATEGYREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_SAVEWHITELISTSTRATEGYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT SaveWhiteListStrategyRequest : public RpcServiceRequest + { + + public: + SaveWhiteListStrategyRequest(); + ~SaveWhiteListStrategyRequest(); + + std::string getStrategyName()const; + void setStrategyName(const std::string& strategyName); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getStudyTime()const; + void setStudyTime(int studyTime); + long getStrategyId()const; + void setStrategyId(long strategyId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string strategyName_; + std::string sourceIp_; + int studyTime_; + long strategyId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_SAVEWHITELISTSTRATEGYREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/SaveWhiteListStrategyResult.h b/aegis/include/alibabacloud/aegis/model/SaveWhiteListStrategyResult.h new file mode 100644 index 000000000..27c570f97 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/SaveWhiteListStrategyResult.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_AEGIS_MODEL_SAVEWHITELISTSTRATEGYRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_SAVEWHITELISTSTRATEGYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT SaveWhiteListStrategyResult : public ServiceResult + { + public: + + + SaveWhiteListStrategyResult(); + explicit SaveWhiteListStrategyResult(const std::string &payload); + ~SaveWhiteListStrategyResult(); + long getStrategyId()const; + + protected: + void parse(const std::string &payload); + private: + long strategyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_SAVEWHITELISTSTRATEGYRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/SetDatasourceStatusRequest.h b/aegis/include/alibabacloud/aegis/model/SetDatasourceStatusRequest.h new file mode 100644 index 000000000..32293a017 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/SetDatasourceStatusRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_SETDATASOURCESTATUSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_SETDATASOURCESTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT SetDatasourceStatusRequest : public RpcServiceRequest + { + + public: + SetDatasourceStatusRequest(); + ~SetDatasourceStatusRequest(); + + std::string getProjectName()const; + void setProjectName(const std::string& projectName); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLogStoreName()const; + void setLogStoreName(const std::string& logStoreName); + int getStatus()const; + void setStatus(int status); + std::string getRegionNo()const; + void setRegionNo(const std::string& regionNo); + + private: + std::string projectName_; + std::string sourceIp_; + std::string logStoreName_; + int status_; + std::string regionNo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_SETDATASOURCESTATUSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/SetDatasourceStatusResult.h b/aegis/include/alibabacloud/aegis/model/SetDatasourceStatusResult.h new file mode 100644 index 000000000..6a8c14a6f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/SetDatasourceStatusResult.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_AEGIS_MODEL_SETDATASOURCESTATUSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_SETDATASOURCESTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT SetDatasourceStatusResult : public ServiceResult + { + public: + + + SetDatasourceStatusResult(); + explicit SetDatasourceStatusResult(const std::string &payload); + ~SetDatasourceStatusResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_SETDATASOURCESTATUSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/TransformLeakageRequest.h b/aegis/include/alibabacloud/aegis/model/TransformLeakageRequest.h new file mode 100644 index 000000000..1f922d114 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/TransformLeakageRequest.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_AEGIS_MODEL_TRANSFORMLEAKAGEREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_TRANSFORMLEAKAGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT TransformLeakageRequest : public RpcServiceRequest + { + + public: + TransformLeakageRequest(); + ~TransformLeakageRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + + private: + std::string sourceIp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_TRANSFORMLEAKAGEREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/TransformLeakageResult.h b/aegis/include/alibabacloud/aegis/model/TransformLeakageResult.h new file mode 100644 index 000000000..81a20f53c --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/TransformLeakageResult.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_AEGIS_MODEL_TRANSFORMLEAKAGERESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_TRANSFORMLEAKAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT TransformLeakageResult : public ServiceResult + { + public: + + + TransformLeakageResult(); + explicit TransformLeakageResult(const std::string &payload); + ~TransformLeakageResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_TRANSFORMLEAKAGERESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/UpdateWhiteListProcessStatusRequest.h b/aegis/include/alibabacloud/aegis/model/UpdateWhiteListProcessStatusRequest.h new file mode 100644 index 000000000..8b9ce6336 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/UpdateWhiteListProcessStatusRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_UPDATEWHITELISTPROCESSSTATUSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_UPDATEWHITELISTPROCESSSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT UpdateWhiteListProcessStatusRequest : public RpcServiceRequest + { + + public: + UpdateWhiteListProcessStatusRequest(); + ~UpdateWhiteListProcessStatusRequest(); + + std::string getProcessIds()const; + void setProcessIds(const std::string& processIds); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getStrategyId()const; + void setStrategyId(long strategyId); + std::string getLang()const; + void setLang(const std::string& lang); + int getStatus()const; + void setStatus(int status); + + private: + std::string processIds_; + std::string sourceIp_; + long strategyId_; + std::string lang_; + int status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_UPDATEWHITELISTPROCESSSTATUSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/UpdateWhiteListProcessStatusResult.h b/aegis/include/alibabacloud/aegis/model/UpdateWhiteListProcessStatusResult.h new file mode 100644 index 000000000..b5716c27f --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/UpdateWhiteListProcessStatusResult.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_AEGIS_MODEL_UPDATEWHITELISTPROCESSSTATUSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_UPDATEWHITELISTPROCESSSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT UpdateWhiteListProcessStatusResult : public ServiceResult + { + public: + + + UpdateWhiteListProcessStatusResult(); + explicit UpdateWhiteListProcessStatusResult(const std::string &payload); + ~UpdateWhiteListProcessStatusResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_UPDATEWHITELISTPROCESSSTATUSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/UpdateWhiteListStrategyRelationRequest.h b/aegis/include/alibabacloud/aegis/model/UpdateWhiteListStrategyRelationRequest.h new file mode 100644 index 000000000..6756c360e --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/UpdateWhiteListStrategyRelationRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_UPDATEWHITELISTSTRATEGYRELATIONREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_UPDATEWHITELISTSTRATEGYRELATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT UpdateWhiteListStrategyRelationRequest : public RpcServiceRequest + { + + public: + UpdateWhiteListStrategyRelationRequest(); + ~UpdateWhiteListStrategyRelationRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getProcessMethod()const; + void setProcessMethod(int processMethod); + long getStrategyId()const; + void setStrategyId(long strategyId); + std::string getLang()const; + void setLang(const std::string& lang); + int getType()const; + void setType(int type); + std::string getUuid()const; + void setUuid(const std::string& uuid); + int getStatus()const; + void setStatus(int status); + + private: + std::string sourceIp_; + int processMethod_; + long strategyId_; + std::string lang_; + int type_; + std::string uuid_; + int status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_UPDATEWHITELISTSTRATEGYRELATIONREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/UpdateWhiteListStrategyRelationResult.h b/aegis/include/alibabacloud/aegis/model/UpdateWhiteListStrategyRelationResult.h new file mode 100644 index 000000000..c8ce27604 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/UpdateWhiteListStrategyRelationResult.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_AEGIS_MODEL_UPDATEWHITELISTSTRATEGYRELATIONRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_UPDATEWHITELISTSTRATEGYRELATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT UpdateWhiteListStrategyRelationResult : public ServiceResult + { + public: + + + UpdateWhiteListStrategyRelationResult(); + explicit UpdateWhiteListStrategyRelationResult(const std::string &payload); + ~UpdateWhiteListStrategyRelationResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_UPDATEWHITELISTSTRATEGYRELATIONRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/UpdateWhiteListStrategyStatusRequest.h b/aegis/include/alibabacloud/aegis/model/UpdateWhiteListStrategyStatusRequest.h new file mode 100644 index 000000000..ee5192871 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/UpdateWhiteListStrategyStatusRequest.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_AEGIS_MODEL_UPDATEWHITELISTSTRATEGYSTATUSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_UPDATEWHITELISTSTRATEGYSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT UpdateWhiteListStrategyStatusRequest : public RpcServiceRequest + { + + public: + UpdateWhiteListStrategyStatusRequest(); + ~UpdateWhiteListStrategyStatusRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getStrategyIds()const; + void setStrategyIds(const std::string& strategyIds); + std::string getLang()const; + void setLang(const std::string& lang); + int getStatus()const; + void setStatus(int status); + + private: + std::string sourceIp_; + std::string strategyIds_; + std::string lang_; + int status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_UPDATEWHITELISTSTRATEGYSTATUSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/UpdateWhiteListStrategyStatusResult.h b/aegis/include/alibabacloud/aegis/model/UpdateWhiteListStrategyStatusResult.h new file mode 100644 index 000000000..8d93e9c1d --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/UpdateWhiteListStrategyStatusResult.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_AEGIS_MODEL_UPDATEWHITELISTSTRATEGYSTATUSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_UPDATEWHITELISTSTRATEGYSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT UpdateWhiteListStrategyStatusResult : public ServiceResult + { + public: + + + UpdateWhiteListStrategyStatusResult(); + explicit UpdateWhiteListStrategyStatusResult(const std::string &payload); + ~UpdateWhiteListStrategyStatusResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_UPDATEWHITELISTSTRATEGYSTATUSRESULT_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/UpgradeInstanceResult.h b/aegis/include/alibabacloud/aegis/model/UpgradeInstanceResult.h index 91b0c3165..39b7238b0 100644 --- a/aegis/include/alibabacloud/aegis/model/UpgradeInstanceResult.h +++ b/aegis/include/alibabacloud/aegis/model/UpgradeInstanceResult.h @@ -37,12 +37,12 @@ namespace AlibabaCloud UpgradeInstanceResult(); explicit UpgradeInstanceResult(const std::string &payload); ~UpgradeInstanceResult(); - std::string getOrderId()const; + std::string getOrderId()const; protected: void parse(const std::string &payload); private: - std::string orderId_; + std::string orderId_; }; } diff --git a/aegis/include/alibabacloud/aegis/model/ValidateHcWarningsRequest.h b/aegis/include/alibabacloud/aegis/model/ValidateHcWarningsRequest.h new file mode 100644 index 000000000..fe43180b8 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ValidateHcWarningsRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_AEGIS_MODEL_VALIDATEHCWARNINGSREQUEST_H_ +#define ALIBABACLOUD_AEGIS_MODEL_VALIDATEHCWARNINGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ValidateHcWarningsRequest : public RpcServiceRequest + { + + public: + ValidateHcWarningsRequest(); + ~ValidateHcWarningsRequest(); + + std::string getRiskIds()const; + void setRiskIds(const std::string& riskIds); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getUuids()const; + void setUuids(const std::string& uuids); + + private: + std::string riskIds_; + std::string sourceIp_; + std::string uuids_; + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_VALIDATEHCWARNINGSREQUEST_H_ \ No newline at end of file diff --git a/aegis/include/alibabacloud/aegis/model/ValidateHcWarningsResult.h b/aegis/include/alibabacloud/aegis/model/ValidateHcWarningsResult.h new file mode 100644 index 000000000..daf92b6a6 --- /dev/null +++ b/aegis/include/alibabacloud/aegis/model/ValidateHcWarningsResult.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_AEGIS_MODEL_VALIDATEHCWARNINGSRESULT_H_ +#define ALIBABACLOUD_AEGIS_MODEL_VALIDATEHCWARNINGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aegis + { + namespace Model + { + class ALIBABACLOUD_AEGIS_EXPORT ValidateHcWarningsResult : public ServiceResult + { + public: + + + ValidateHcWarningsResult(); + explicit ValidateHcWarningsResult(const std::string &payload); + ~ValidateHcWarningsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_AEGIS_MODEL_VALIDATEHCWARNINGSRESULT_H_ \ No newline at end of file diff --git a/aegis/src/AegisClient.cc b/aegis/src/AegisClient.cc index 46498775d..37549726a 100644 --- a/aegis/src/AegisClient.cc +++ b/aegis/src/AegisClient.cc @@ -51,144 +51,540 @@ AegisClient::AegisClient(const std::string & accessKeyId, const std::string & ac AegisClient::~AegisClient() {} -AegisClient::GetEntityListOutcome AegisClient::getEntityList(const GetEntityListRequest &request) const +AegisClient::DescribeAnalysisShipperStatusOutcome AegisClient::describeAnalysisShipperStatus(const DescribeAnalysisShipperStatusRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return GetEntityListOutcome(endpointOutcome.error()); + return DescribeAnalysisShipperStatusOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return GetEntityListOutcome(GetEntityListResult(outcome.result())); + return DescribeAnalysisShipperStatusOutcome(DescribeAnalysisShipperStatusResult(outcome.result())); else - return GetEntityListOutcome(outcome.error()); + return DescribeAnalysisShipperStatusOutcome(outcome.error()); } -void AegisClient::getEntityListAsync(const GetEntityListRequest& request, const GetEntityListAsyncHandler& handler, const std::shared_ptr& context) const +void AegisClient::describeAnalysisShipperStatusAsync(const DescribeAnalysisShipperStatusRequest& request, const DescribeAnalysisShipperStatusAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, getEntityList(request), context); + handler(this, request, describeAnalysisShipperStatus(request), context); }; asyncExecute(new Runnable(fn)); } -AegisClient::GetEntityListOutcomeCallable AegisClient::getEntityListCallable(const GetEntityListRequest &request) const +AegisClient::DescribeAnalysisShipperStatusOutcomeCallable AegisClient::describeAnalysisShipperStatusCallable(const DescribeAnalysisShipperStatusRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->getEntityList(request); + return this->describeAnalysisShipperStatus(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -AegisClient::GetStatisticsByUuidOutcome AegisClient::getStatisticsByUuid(const GetStatisticsByUuidRequest &request) const +AegisClient::DescribeCanUpgradeSasOutcome AegisClient::describeCanUpgradeSas(const DescribeCanUpgradeSasRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return GetStatisticsByUuidOutcome(endpointOutcome.error()); + return DescribeCanUpgradeSasOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return GetStatisticsByUuidOutcome(GetStatisticsByUuidResult(outcome.result())); + return DescribeCanUpgradeSasOutcome(DescribeCanUpgradeSasResult(outcome.result())); else - return GetStatisticsByUuidOutcome(outcome.error()); + return DescribeCanUpgradeSasOutcome(outcome.error()); } -void AegisClient::getStatisticsByUuidAsync(const GetStatisticsByUuidRequest& request, const GetStatisticsByUuidAsyncHandler& handler, const std::shared_ptr& context) const +void AegisClient::describeCanUpgradeSasAsync(const DescribeCanUpgradeSasRequest& request, const DescribeCanUpgradeSasAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, getStatisticsByUuid(request), context); + handler(this, request, describeCanUpgradeSas(request), context); }; asyncExecute(new Runnable(fn)); } -AegisClient::GetStatisticsByUuidOutcomeCallable AegisClient::getStatisticsByUuidCallable(const GetStatisticsByUuidRequest &request) const +AegisClient::DescribeCanUpgradeSasOutcomeCallable AegisClient::describeCanUpgradeSasCallable(const DescribeCanUpgradeSasRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->getStatisticsByUuid(request); + return this->describeCanUpgradeSas(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -AegisClient::GetStatisticsOutcome AegisClient::getStatistics(const GetStatisticsRequest &request) const +AegisClient::DescribeTraceInfoNodeOutcome AegisClient::describeTraceInfoNode(const DescribeTraceInfoNodeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return GetStatisticsOutcome(endpointOutcome.error()); + return DescribeTraceInfoNodeOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return GetStatisticsOutcome(GetStatisticsResult(outcome.result())); + return DescribeTraceInfoNodeOutcome(DescribeTraceInfoNodeResult(outcome.result())); else - return GetStatisticsOutcome(outcome.error()); + return DescribeTraceInfoNodeOutcome(outcome.error()); } -void AegisClient::getStatisticsAsync(const GetStatisticsRequest& request, const GetStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +void AegisClient::describeTraceInfoNodeAsync(const DescribeTraceInfoNodeRequest& request, const DescribeTraceInfoNodeAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, getStatistics(request), context); + handler(this, request, describeTraceInfoNode(request), context); }; asyncExecute(new Runnable(fn)); } -AegisClient::GetStatisticsOutcomeCallable AegisClient::getStatisticsCallable(const GetStatisticsRequest &request) const +AegisClient::DescribeTraceInfoNodeOutcomeCallable AegisClient::describeTraceInfoNodeCallable(const DescribeTraceInfoNodeRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->getStatistics(request); + return this->describeTraceInfoNode(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -AegisClient::DescribeVulDetailsOutcome AegisClient::describeVulDetails(const DescribeVulDetailsRequest &request) const +AegisClient::DescribeScreenAttackAnalysisDataOutcome AegisClient::describeScreenAttackAnalysisData(const DescribeScreenAttackAnalysisDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeVulDetailsOutcome(endpointOutcome.error()); + return DescribeScreenAttackAnalysisDataOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeVulDetailsOutcome(DescribeVulDetailsResult(outcome.result())); + return DescribeScreenAttackAnalysisDataOutcome(DescribeScreenAttackAnalysisDataResult(outcome.result())); else - return DescribeVulDetailsOutcome(outcome.error()); + return DescribeScreenAttackAnalysisDataOutcome(outcome.error()); } -void AegisClient::describeVulDetailsAsync(const DescribeVulDetailsRequest& request, const DescribeVulDetailsAsyncHandler& handler, const std::shared_ptr& context) const +void AegisClient::describeScreenAttackAnalysisDataAsync(const DescribeScreenAttackAnalysisDataRequest& request, const DescribeScreenAttackAnalysisDataAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeVulDetails(request), context); + handler(this, request, describeScreenAttackAnalysisData(request), context); }; asyncExecute(new Runnable(fn)); } -AegisClient::DescribeVulDetailsOutcomeCallable AegisClient::describeVulDetailsCallable(const DescribeVulDetailsRequest &request) const +AegisClient::DescribeScreenAttackAnalysisDataOutcomeCallable AegisClient::describeScreenAttackAnalysisDataCallable(const DescribeScreenAttackAnalysisDataRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeVulDetails(request); + return this->describeScreenAttackAnalysisData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeAutoDelConfigOutcome AegisClient::describeAutoDelConfig(const DescribeAutoDelConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAutoDelConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAutoDelConfigOutcome(DescribeAutoDelConfigResult(outcome.result())); + else + return DescribeAutoDelConfigOutcome(outcome.error()); +} + +void AegisClient::describeAutoDelConfigAsync(const DescribeAutoDelConfigRequest& request, const DescribeAutoDelConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAutoDelConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeAutoDelConfigOutcomeCallable AegisClient::describeAutoDelConfigCallable(const DescribeAutoDelConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAutoDelConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeVulListOutcome AegisClient::describeVulList(const DescribeVulListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVulListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVulListOutcome(DescribeVulListResult(outcome.result())); + else + return DescribeVulListOutcome(outcome.error()); +} + +void AegisClient::describeVulListAsync(const DescribeVulListRequest& request, const DescribeVulListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVulList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeVulListOutcomeCallable AegisClient::describeVulListCallable(const DescribeVulListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVulList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyWebLockUpdateConfigOutcome AegisClient::modifyWebLockUpdateConfig(const ModifyWebLockUpdateConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyWebLockUpdateConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyWebLockUpdateConfigOutcome(ModifyWebLockUpdateConfigResult(outcome.result())); + else + return ModifyWebLockUpdateConfigOutcome(outcome.error()); +} + +void AegisClient::modifyWebLockUpdateConfigAsync(const ModifyWebLockUpdateConfigRequest& request, const ModifyWebLockUpdateConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyWebLockUpdateConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyWebLockUpdateConfigOutcomeCallable AegisClient::modifyWebLockUpdateConfigCallable(const ModifyWebLockUpdateConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyWebLockUpdateConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeVulnerabilitySummaryOutcome AegisClient::describeVulnerabilitySummary(const DescribeVulnerabilitySummaryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVulnerabilitySummaryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVulnerabilitySummaryOutcome(DescribeVulnerabilitySummaryResult(outcome.result())); + else + return DescribeVulnerabilitySummaryOutcome(outcome.error()); +} + +void AegisClient::describeVulnerabilitySummaryAsync(const DescribeVulnerabilitySummaryRequest& request, const DescribeVulnerabilitySummaryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVulnerabilitySummary(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeVulnerabilitySummaryOutcomeCallable AegisClient::describeVulnerabilitySummaryCallable(const DescribeVulnerabilitySummaryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVulnerabilitySummary(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::SetDatasourceStatusOutcome AegisClient::setDatasourceStatus(const SetDatasourceStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDatasourceStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDatasourceStatusOutcome(SetDatasourceStatusResult(outcome.result())); + else + return SetDatasourceStatusOutcome(outcome.error()); +} + +void AegisClient::setDatasourceStatusAsync(const SetDatasourceStatusRequest& request, const SetDatasourceStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setDatasourceStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::SetDatasourceStatusOutcomeCallable AegisClient::setDatasourceStatusCallable(const SetDatasourceStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setDatasourceStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::OperateSuspiciousEventOutcome AegisClient::operateSuspiciousEvent(const OperateSuspiciousEventRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return OperateSuspiciousEventOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return OperateSuspiciousEventOutcome(OperateSuspiciousEventResult(outcome.result())); + else + return OperateSuspiciousEventOutcome(outcome.error()); +} + +void AegisClient::operateSuspiciousEventAsync(const OperateSuspiciousEventRequest& request, const OperateSuspiciousEventAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, operateSuspiciousEvent(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::OperateSuspiciousEventOutcomeCallable AegisClient::operateSuspiciousEventCallable(const OperateSuspiciousEventRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->operateSuspiciousEvent(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::OperateSuspiciousTargetConfigOutcome AegisClient::operateSuspiciousTargetConfig(const OperateSuspiciousTargetConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return OperateSuspiciousTargetConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return OperateSuspiciousTargetConfigOutcome(OperateSuspiciousTargetConfigResult(outcome.result())); + else + return OperateSuspiciousTargetConfigOutcome(outcome.error()); +} + +void AegisClient::operateSuspiciousTargetConfigAsync(const OperateSuspiciousTargetConfigRequest& request, const OperateSuspiciousTargetConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, operateSuspiciousTargetConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::OperateSuspiciousTargetConfigOutcomeCallable AegisClient::operateSuspiciousTargetConfigCallable(const OperateSuspiciousTargetConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->operateSuspiciousTargetConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeAnalysisHistogramsOutcome AegisClient::describeAnalysisHistograms(const DescribeAnalysisHistogramsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAnalysisHistogramsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAnalysisHistogramsOutcome(DescribeAnalysisHistogramsResult(outcome.result())); + else + return DescribeAnalysisHistogramsOutcome(outcome.error()); +} + +void AegisClient::describeAnalysisHistogramsAsync(const DescribeAnalysisHistogramsRequest& request, const DescribeAnalysisHistogramsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAnalysisHistograms(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeAnalysisHistogramsOutcomeCallable AegisClient::describeAnalysisHistogramsCallable(const DescribeAnalysisHistogramsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAnalysisHistograms(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ExportWarningOutcome AegisClient::exportWarning(const ExportWarningRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ExportWarningOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ExportWarningOutcome(ExportWarningResult(outcome.result())); + else + return ExportWarningOutcome(outcome.error()); +} + +void AegisClient::exportWarningAsync(const ExportWarningRequest& request, const ExportWarningAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, exportWarning(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ExportWarningOutcomeCallable AegisClient::exportWarningCallable(const ExportWarningRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->exportWarning(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeEcsStsStatusOutcome AegisClient::describeEcsStsStatus(const DescribeEcsStsStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeEcsStsStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeEcsStsStatusOutcome(DescribeEcsStsStatusResult(outcome.result())); + else + return DescribeEcsStsStatusOutcome(outcome.error()); +} + +void AegisClient::describeEcsStsStatusAsync(const DescribeEcsStsStatusRequest& request, const DescribeEcsStsStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeEcsStsStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeEcsStsStatusOutcomeCallable AegisClient::describeEcsStsStatusCallable(const DescribeEcsStsStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeEcsStsStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::UpdateWhiteListStrategyRelationOutcome AegisClient::updateWhiteListStrategyRelation(const UpdateWhiteListStrategyRelationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateWhiteListStrategyRelationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateWhiteListStrategyRelationOutcome(UpdateWhiteListStrategyRelationResult(outcome.result())); + else + return UpdateWhiteListStrategyRelationOutcome(outcome.error()); +} + +void AegisClient::updateWhiteListStrategyRelationAsync(const UpdateWhiteListStrategyRelationRequest& request, const UpdateWhiteListStrategyRelationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateWhiteListStrategyRelation(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::UpdateWhiteListStrategyRelationOutcomeCallable AegisClient::updateWhiteListStrategyRelationCallable(const UpdateWhiteListStrategyRelationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateWhiteListStrategyRelation(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -231,6 +627,1086 @@ AegisClient::DeleteStrategyOutcomeCallable AegisClient::deleteStrategyCallable(c return task->get_future(); } +AegisClient::DescribeOperateInfoOutcome AegisClient::describeOperateInfo(const DescribeOperateInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeOperateInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeOperateInfoOutcome(DescribeOperateInfoResult(outcome.result())); + else + return DescribeOperateInfoOutcome(outcome.error()); +} + +void AegisClient::describeOperateInfoAsync(const DescribeOperateInfoRequest& request, const DescribeOperateInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeOperateInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeOperateInfoOutcomeCallable AegisClient::describeOperateInfoCallable(const DescribeOperateInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeOperateInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::OpenSasTrialOutcome AegisClient::openSasTrial(const OpenSasTrialRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return OpenSasTrialOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return OpenSasTrialOutcome(OpenSasTrialResult(outcome.result())); + else + return OpenSasTrialOutcome(outcome.error()); +} + +void AegisClient::openSasTrialAsync(const OpenSasTrialRequest& request, const OpenSasTrialAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, openSasTrial(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::OpenSasTrialOutcomeCallable AegisClient::openSasTrialCallable(const OpenSasTrialRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->openSasTrial(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyVulLevelOutcome AegisClient::modifyVulLevel(const ModifyVulLevelRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyVulLevelOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyVulLevelOutcome(ModifyVulLevelResult(outcome.result())); + else + return ModifyVulLevelOutcome(outcome.error()); +} + +void AegisClient::modifyVulLevelAsync(const ModifyVulLevelRequest& request, const ModifyVulLevelAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyVulLevel(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyVulLevelOutcomeCallable AegisClient::modifyVulLevelCallable(const ModifyVulLevelRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyVulLevel(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyVulTargetOutcome AegisClient::modifyVulTarget(const ModifyVulTargetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyVulTargetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyVulTargetOutcome(ModifyVulTargetResult(outcome.result())); + else + return ModifyVulTargetOutcome(outcome.error()); +} + +void AegisClient::modifyVulTargetAsync(const ModifyVulTargetRequest& request, const ModifyVulTargetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyVulTarget(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyVulTargetOutcomeCallable AegisClient::modifyVulTargetCallable(const ModifyVulTargetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyVulTarget(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyBatchIgnoreVulOutcome AegisClient::modifyBatchIgnoreVul(const ModifyBatchIgnoreVulRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyBatchIgnoreVulOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyBatchIgnoreVulOutcome(ModifyBatchIgnoreVulResult(outcome.result())); + else + return ModifyBatchIgnoreVulOutcome(outcome.error()); +} + +void AegisClient::modifyBatchIgnoreVulAsync(const ModifyBatchIgnoreVulRequest& request, const ModifyBatchIgnoreVulAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyBatchIgnoreVul(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyBatchIgnoreVulOutcomeCallable AegisClient::modifyBatchIgnoreVulCallable(const ModifyBatchIgnoreVulRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyBatchIgnoreVul(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSummaryInfoOutcome AegisClient::describeSummaryInfo(const DescribeSummaryInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSummaryInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSummaryInfoOutcome(DescribeSummaryInfoResult(outcome.result())); + else + return DescribeSummaryInfoOutcome(outcome.error()); +} + +void AegisClient::describeSummaryInfoAsync(const DescribeSummaryInfoRequest& request, const DescribeSummaryInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSummaryInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSummaryInfoOutcomeCallable AegisClient::describeSummaryInfoCallable(const DescribeSummaryInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSummaryInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeStrategyProcessOutcome AegisClient::describeStrategyProcess(const DescribeStrategyProcessRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeStrategyProcessOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeStrategyProcessOutcome(DescribeStrategyProcessResult(outcome.result())); + else + return DescribeStrategyProcessOutcome(outcome.error()); +} + +void AegisClient::describeStrategyProcessAsync(const DescribeStrategyProcessRequest& request, const DescribeStrategyProcessAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeStrategyProcess(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeStrategyProcessOutcomeCallable AegisClient::describeStrategyProcessCallable(const DescribeStrategyProcessRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeStrategyProcess(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSuspTrendStatisticsOutcome AegisClient::describeSuspTrendStatistics(const DescribeSuspTrendStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSuspTrendStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSuspTrendStatisticsOutcome(DescribeSuspTrendStatisticsResult(outcome.result())); + else + return DescribeSuspTrendStatisticsOutcome(outcome.error()); +} + +void AegisClient::describeSuspTrendStatisticsAsync(const DescribeSuspTrendStatisticsRequest& request, const DescribeSuspTrendStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSuspTrendStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSuspTrendStatisticsOutcomeCallable AegisClient::describeSuspTrendStatisticsCallable(const DescribeSuspTrendStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSuspTrendStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeDataSourceOutcome AegisClient::describeDataSource(const DescribeDataSourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDataSourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDataSourceOutcome(DescribeDataSourceResult(outcome.result())); + else + return DescribeDataSourceOutcome(outcome.error()); +} + +void AegisClient::describeDataSourceAsync(const DescribeDataSourceRequest& request, const DescribeDataSourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDataSource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeDataSourceOutcomeCallable AegisClient::describeDataSourceCallable(const DescribeDataSourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDataSource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeResultListOutcome AegisClient::describeResultList(const DescribeResultListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeResultListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeResultListOutcome(DescribeResultListResult(outcome.result())); + else + return DescribeResultListOutcome(outcome.error()); +} + +void AegisClient::describeResultListAsync(const DescribeResultListRequest& request, const DescribeResultListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeResultList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeResultListOutcomeCallable AegisClient::describeResultListCallable(const DescribeResultListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeResultList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DownloadLogOutcome AegisClient::downloadLog(const DownloadLogRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DownloadLogOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DownloadLogOutcome(DownloadLogResult(outcome.result())); + else + return DownloadLogOutcome(outcome.error()); +} + +void AegisClient::downloadLogAsync(const DownloadLogRequest& request, const DownloadLogAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, downloadLog(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DownloadLogOutcomeCallable AegisClient::downloadLogCallable(const DownloadLogRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->downloadLog(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeTargetConfigOutcome AegisClient::describeTargetConfig(const DescribeTargetConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTargetConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTargetConfigOutcome(DescribeTargetConfigResult(outcome.result())); + else + return DescribeTargetConfigOutcome(outcome.error()); +} + +void AegisClient::describeTargetConfigAsync(const DescribeTargetConfigRequest& request, const DescribeTargetConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTargetConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeTargetConfigOutcomeCallable AegisClient::describeTargetConfigCallable(const DescribeTargetConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTargetConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeVulNumStatisticsOutcome AegisClient::describeVulNumStatistics(const DescribeVulNumStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVulNumStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVulNumStatisticsOutcome(DescribeVulNumStatisticsResult(outcome.result())); + else + return DescribeVulNumStatisticsOutcome(outcome.error()); +} + +void AegisClient::describeVulNumStatisticsAsync(const DescribeVulNumStatisticsRequest& request, const DescribeVulNumStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVulNumStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeVulNumStatisticsOutcomeCallable AegisClient::describeVulNumStatisticsCallable(const DescribeVulNumStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVulNumStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeLogInfoOutcome AegisClient::describeLogInfo(const DescribeLogInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLogInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLogInfoOutcome(DescribeLogInfoResult(outcome.result())); + else + return DescribeLogInfoOutcome(outcome.error()); +} + +void AegisClient::describeLogInfoAsync(const DescribeLogInfoRequest& request, const DescribeLogInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLogInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeLogInfoOutcomeCallable AegisClient::describeLogInfoCallable(const DescribeLogInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLogInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::GetAccountStatisticsOutcome AegisClient::getAccountStatistics(const GetAccountStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetAccountStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetAccountStatisticsOutcome(GetAccountStatisticsResult(outcome.result())); + else + return GetAccountStatisticsOutcome(outcome.error()); +} + +void AegisClient::getAccountStatisticsAsync(const GetAccountStatisticsRequest& request, const GetAccountStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getAccountStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::GetAccountStatisticsOutcomeCallable AegisClient::getAccountStatisticsCallable(const GetAccountStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getAccountStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeUuidConfigOutcome AegisClient::describeUuidConfig(const DescribeUuidConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUuidConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUuidConfigOutcome(DescribeUuidConfigResult(outcome.result())); + else + return DescribeUuidConfigOutcome(outcome.error()); +} + +void AegisClient::describeUuidConfigAsync(const DescribeUuidConfigRequest& request, const DescribeUuidConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUuidConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeUuidConfigOutcomeCallable AegisClient::describeUuidConfigCallable(const DescribeUuidConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUuidConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeScreenHostStatisticsOutcome AegisClient::describeScreenHostStatistics(const DescribeScreenHostStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeScreenHostStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeScreenHostStatisticsOutcome(DescribeScreenHostStatisticsResult(outcome.result())); + else + return DescribeScreenHostStatisticsOutcome(outcome.error()); +} + +void AegisClient::describeScreenHostStatisticsAsync(const DescribeScreenHostStatisticsRequest& request, const DescribeScreenHostStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeScreenHostStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeScreenHostStatisticsOutcomeCallable AegisClient::describeScreenHostStatisticsCallable(const DescribeScreenHostStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeScreenHostStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DeleteDingTalkOutcome AegisClient::deleteDingTalk(const DeleteDingTalkRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDingTalkOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDingTalkOutcome(DeleteDingTalkResult(outcome.result())); + else + return DeleteDingTalkOutcome(outcome.error()); +} + +void AegisClient::deleteDingTalkAsync(const DeleteDingTalkRequest& request, const DeleteDingTalkAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDingTalk(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DeleteDingTalkOutcomeCallable AegisClient::deleteDingTalkCallable(const DeleteDingTalkRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDingTalk(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSuspEventTypesOutcome AegisClient::describeSuspEventTypes(const DescribeSuspEventTypesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSuspEventTypesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSuspEventTypesOutcome(DescribeSuspEventTypesResult(outcome.result())); + else + return DescribeSuspEventTypesOutcome(outcome.error()); +} + +void AegisClient::describeSuspEventTypesAsync(const DescribeSuspEventTypesRequest& request, const DescribeSuspEventTypesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSuspEventTypes(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSuspEventTypesOutcomeCallable AegisClient::describeSuspEventTypesCallable(const DescribeSuspEventTypesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSuspEventTypes(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::BatchDeleteWhiteListOutcome AegisClient::batchDeleteWhiteList(const BatchDeleteWhiteListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchDeleteWhiteListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchDeleteWhiteListOutcome(BatchDeleteWhiteListResult(outcome.result())); + else + return BatchDeleteWhiteListOutcome(outcome.error()); +} + +void AegisClient::batchDeleteWhiteListAsync(const BatchDeleteWhiteListRequest& request, const BatchDeleteWhiteListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchDeleteWhiteList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::BatchDeleteWhiteListOutcomeCallable AegisClient::batchDeleteWhiteListCallable(const BatchDeleteWhiteListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchDeleteWhiteList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DeleteJoinRuleOutcome AegisClient::deleteJoinRule(const DeleteJoinRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteJoinRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteJoinRuleOutcome(DeleteJoinRuleResult(outcome.result())); + else + return DeleteJoinRuleOutcome(outcome.error()); +} + +void AegisClient::deleteJoinRuleAsync(const DeleteJoinRuleRequest& request, const DeleteJoinRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteJoinRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DeleteJoinRuleOutcomeCallable AegisClient::deleteJoinRuleCallable(const DeleteJoinRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteJoinRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifySasAssetStatisticsColumnOutcome AegisClient::modifySasAssetStatisticsColumn(const ModifySasAssetStatisticsColumnRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifySasAssetStatisticsColumnOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifySasAssetStatisticsColumnOutcome(ModifySasAssetStatisticsColumnResult(outcome.result())); + else + return ModifySasAssetStatisticsColumnOutcome(outcome.error()); +} + +void AegisClient::modifySasAssetStatisticsColumnAsync(const ModifySasAssetStatisticsColumnRequest& request, const ModifySasAssetStatisticsColumnAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifySasAssetStatisticsColumn(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifySasAssetStatisticsColumnOutcomeCallable AegisClient::modifySasAssetStatisticsColumnCallable(const ModifySasAssetStatisticsColumnRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifySasAssetStatisticsColumn(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeTraceInfoNodeListOutcome AegisClient::describeTraceInfoNodeList(const DescribeTraceInfoNodeListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTraceInfoNodeListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTraceInfoNodeListOutcome(DescribeTraceInfoNodeListResult(outcome.result())); + else + return DescribeTraceInfoNodeListOutcome(outcome.error()); +} + +void AegisClient::describeTraceInfoNodeListAsync(const DescribeTraceInfoNodeListRequest& request, const DescribeTraceInfoNodeListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTraceInfoNodeList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeTraceInfoNodeListOutcomeCallable AegisClient::describeTraceInfoNodeListCallable(const DescribeTraceInfoNodeListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTraceInfoNodeList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeAnalysisSlsIndexOutcome AegisClient::describeAnalysisSlsIndex(const DescribeAnalysisSlsIndexRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAnalysisSlsIndexOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAnalysisSlsIndexOutcome(DescribeAnalysisSlsIndexResult(outcome.result())); + else + return DescribeAnalysisSlsIndexOutcome(outcome.error()); +} + +void AegisClient::describeAnalysisSlsIndexAsync(const DescribeAnalysisSlsIndexRequest& request, const DescribeAnalysisSlsIndexAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAnalysisSlsIndex(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeAnalysisSlsIndexOutcomeCallable AegisClient::describeAnalysisSlsIndexCallable(const DescribeAnalysisSlsIndexRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAnalysisSlsIndex(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyWebLockCreateConfigOutcome AegisClient::modifyWebLockCreateConfig(const ModifyWebLockCreateConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyWebLockCreateConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyWebLockCreateConfigOutcome(ModifyWebLockCreateConfigResult(outcome.result())); + else + return ModifyWebLockCreateConfigOutcome(outcome.error()); +} + +void AegisClient::modifyWebLockCreateConfigAsync(const ModifyWebLockCreateConfigRequest& request, const ModifyWebLockCreateConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyWebLockCreateConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyWebLockCreateConfigOutcomeCallable AegisClient::modifyWebLockCreateConfigCallable(const ModifyWebLockCreateConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyWebLockCreateConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DeleteRuleGroupOutcome AegisClient::deleteRuleGroup(const DeleteRuleGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteRuleGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteRuleGroupOutcome(DeleteRuleGroupResult(outcome.result())); + else + return DeleteRuleGroupOutcome(outcome.error()); +} + +void AegisClient::deleteRuleGroupAsync(const DeleteRuleGroupRequest& request, const DeleteRuleGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteRuleGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DeleteRuleGroupOutcomeCallable AegisClient::deleteRuleGroupCallable(const DeleteRuleGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteRuleGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeStatisticsOutcome AegisClient::describeStatistics(const DescribeStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeStatisticsOutcome(DescribeStatisticsResult(outcome.result())); + else + return DescribeStatisticsOutcome(outcome.error()); +} + +void AegisClient::describeStatisticsAsync(const DescribeStatisticsRequest& request, const DescribeStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeStatisticsOutcomeCallable AegisClient::describeStatisticsCallable(const DescribeStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeAlarmEventDetailOutcome AegisClient::describeAlarmEventDetail(const DescribeAlarmEventDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAlarmEventDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAlarmEventDetailOutcome(DescribeAlarmEventDetailResult(outcome.result())); + else + return DescribeAlarmEventDetailOutcome(outcome.error()); +} + +void AegisClient::describeAlarmEventDetailAsync(const DescribeAlarmEventDetailRequest& request, const DescribeAlarmEventDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAlarmEventDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeAlarmEventDetailOutcomeCallable AegisClient::describeAlarmEventDetailCallable(const DescribeAlarmEventDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAlarmEventDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::CreateSuspiciousExportOutcome AegisClient::createSuspiciousExport(const CreateSuspiciousExportRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateSuspiciousExportOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateSuspiciousExportOutcome(CreateSuspiciousExportResult(outcome.result())); + else + return CreateSuspiciousExportOutcome(outcome.error()); +} + +void AegisClient::createSuspiciousExportAsync(const CreateSuspiciousExportRequest& request, const CreateSuspiciousExportAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createSuspiciousExport(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::CreateSuspiciousExportOutcomeCallable AegisClient::createSuspiciousExportCallable(const CreateSuspiciousExportRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createSuspiciousExport(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::OperateVulOutcome AegisClient::operateVul(const OperateVulRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return OperateVulOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return OperateVulOutcome(OperateVulResult(outcome.result())); + else + return OperateVulOutcome(outcome.error()); +} + +void AegisClient::operateVulAsync(const OperateVulRequest& request, const OperateVulAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, operateVul(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::OperateVulOutcomeCallable AegisClient::operateVulCallable(const OperateVulRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->operateVul(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AegisClient::GetCrackStatisticsOutcome AegisClient::getCrackStatistics(const GetCrackStatisticsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -267,36 +1743,2736 @@ AegisClient::GetCrackStatisticsOutcomeCallable AegisClient::getCrackStatisticsCa return task->get_future(); } -AegisClient::DescribeWarningOutcome AegisClient::describeWarning(const DescribeWarningRequest &request) const +AegisClient::DescribeConcernNecessityOutcome AegisClient::describeConcernNecessity(const DescribeConcernNecessityRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeWarningOutcome(endpointOutcome.error()); + return DescribeConcernNecessityOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeWarningOutcome(DescribeWarningResult(outcome.result())); + return DescribeConcernNecessityOutcome(DescribeConcernNecessityResult(outcome.result())); else - return DescribeWarningOutcome(outcome.error()); + return DescribeConcernNecessityOutcome(outcome.error()); } -void AegisClient::describeWarningAsync(const DescribeWarningRequest& request, const DescribeWarningAsyncHandler& handler, const std::shared_ptr& context) const +void AegisClient::describeConcernNecessityAsync(const DescribeConcernNecessityRequest& request, const DescribeConcernNecessityAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeWarning(request), context); + handler(this, request, describeConcernNecessity(request), context); }; asyncExecute(new Runnable(fn)); } -AegisClient::DescribeWarningOutcomeCallable AegisClient::describeWarningCallable(const DescribeWarningRequest &request) const +AegisClient::DescribeConcernNecessityOutcomeCallable AegisClient::describeConcernNecessityCallable(const DescribeConcernNecessityRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeWarning(request); + return this->describeConcernNecessity(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::OperateAgentClientInstallOutcome AegisClient::operateAgentClientInstall(const OperateAgentClientInstallRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return OperateAgentClientInstallOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return OperateAgentClientInstallOutcome(OperateAgentClientInstallResult(outcome.result())); + else + return OperateAgentClientInstallOutcome(outcome.error()); +} + +void AegisClient::operateAgentClientInstallAsync(const OperateAgentClientInstallRequest& request, const OperateAgentClientInstallAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, operateAgentClientInstall(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::OperateAgentClientInstallOutcomeCallable AegisClient::operateAgentClientInstallCallable(const OperateAgentClientInstallRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->operateAgentClientInstall(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeScreenScoreThreadOutcome AegisClient::describeScreenScoreThread(const DescribeScreenScoreThreadRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeScreenScoreThreadOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeScreenScoreThreadOutcome(DescribeScreenScoreThreadResult(outcome.result())); + else + return DescribeScreenScoreThreadOutcome(outcome.error()); +} + +void AegisClient::describeScreenScoreThreadAsync(const DescribeScreenScoreThreadRequest& request, const DescribeScreenScoreThreadAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeScreenScoreThread(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeScreenScoreThreadOutcomeCallable AegisClient::describeScreenScoreThreadCallable(const DescribeScreenScoreThreadRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeScreenScoreThread(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeBuySummaryOutcome AegisClient::describeBuySummary(const DescribeBuySummaryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBuySummaryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBuySummaryOutcome(DescribeBuySummaryResult(outcome.result())); + else + return DescribeBuySummaryOutcome(outcome.error()); +} + +void AegisClient::describeBuySummaryAsync(const DescribeBuySummaryRequest& request, const DescribeBuySummaryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBuySummary(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeBuySummaryOutcomeCallable AegisClient::describeBuySummaryCallable(const DescribeBuySummaryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBuySummary(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeStrategyTargetOutcome AegisClient::describeStrategyTarget(const DescribeStrategyTargetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeStrategyTargetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeStrategyTargetOutcome(DescribeStrategyTargetResult(outcome.result())); + else + return DescribeStrategyTargetOutcome(outcome.error()); +} + +void AegisClient::describeStrategyTargetAsync(const DescribeStrategyTargetRequest& request, const DescribeStrategyTargetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeStrategyTarget(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeStrategyTargetOutcomeCallable AegisClient::describeStrategyTargetCallable(const DescribeStrategyTargetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeStrategyTarget(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSuspiciousUUIDConfigOutcome AegisClient::describeSuspiciousUUIDConfig(const DescribeSuspiciousUUIDConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSuspiciousUUIDConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSuspiciousUUIDConfigOutcome(DescribeSuspiciousUUIDConfigResult(outcome.result())); + else + return DescribeSuspiciousUUIDConfigOutcome(outcome.error()); +} + +void AegisClient::describeSuspiciousUUIDConfigAsync(const DescribeSuspiciousUUIDConfigRequest& request, const DescribeSuspiciousUUIDConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSuspiciousUUIDConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSuspiciousUUIDConfigOutcomeCallable AegisClient::describeSuspiciousUUIDConfigCallable(const DescribeSuspiciousUUIDConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSuspiciousUUIDConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeTopicListOutcome AegisClient::describeTopicList(const DescribeTopicListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTopicListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTopicListOutcome(DescribeTopicListResult(outcome.result())); + else + return DescribeTopicListOutcome(outcome.error()); +} + +void AegisClient::describeTopicListAsync(const DescribeTopicListRequest& request, const DescribeTopicListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTopicList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeTopicListOutcomeCallable AegisClient::describeTopicListCallable(const DescribeTopicListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTopicList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeAssetDetailByUuidOutcome AegisClient::describeAssetDetailByUuid(const DescribeAssetDetailByUuidRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAssetDetailByUuidOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAssetDetailByUuidOutcome(DescribeAssetDetailByUuidResult(outcome.result())); + else + return DescribeAssetDetailByUuidOutcome(outcome.error()); +} + +void AegisClient::describeAssetDetailByUuidAsync(const DescribeAssetDetailByUuidRequest& request, const DescribeAssetDetailByUuidAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAssetDetailByUuid(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeAssetDetailByUuidOutcomeCallable AegisClient::describeAssetDetailByUuidCallable(const DescribeAssetDetailByUuidRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAssetDetailByUuid(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeScreenVersionConfigOutcome AegisClient::describeScreenVersionConfig(const DescribeScreenVersionConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeScreenVersionConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeScreenVersionConfigOutcome(DescribeScreenVersionConfigResult(outcome.result())); + else + return DescribeScreenVersionConfigOutcome(outcome.error()); +} + +void AegisClient::describeScreenVersionConfigAsync(const DescribeScreenVersionConfigRequest& request, const DescribeScreenVersionConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeScreenVersionConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeScreenVersionConfigOutcomeCallable AegisClient::describeScreenVersionConfigCallable(const DescribeScreenVersionConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeScreenVersionConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeVulExportInfoOutcome AegisClient::describeVulExportInfo(const DescribeVulExportInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVulExportInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVulExportInfoOutcome(DescribeVulExportInfoResult(outcome.result())); + else + return DescribeVulExportInfoOutcome(outcome.error()); +} + +void AegisClient::describeVulExportInfoAsync(const DescribeVulExportInfoRequest& request, const DescribeVulExportInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVulExportInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeVulExportInfoOutcomeCallable AegisClient::describeVulExportInfoCallable(const DescribeVulExportInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVulExportInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DeleteRuleOutcome AegisClient::deleteRule(const DeleteRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteRuleOutcome(DeleteRuleResult(outcome.result())); + else + return DeleteRuleOutcome(outcome.error()); +} + +void AegisClient::deleteRuleAsync(const DeleteRuleRequest& request, const DeleteRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DeleteRuleOutcomeCallable AegisClient::deleteRuleCallable(const DeleteRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSuspEventDetailOutcome AegisClient::describeSuspEventDetail(const DescribeSuspEventDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSuspEventDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSuspEventDetailOutcome(DescribeSuspEventDetailResult(outcome.result())); + else + return DescribeSuspEventDetailOutcome(outcome.error()); +} + +void AegisClient::describeSuspEventDetailAsync(const DescribeSuspEventDetailRequest& request, const DescribeSuspEventDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSuspEventDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSuspEventDetailOutcomeCallable AegisClient::describeSuspEventDetailCallable(const DescribeSuspEventDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSuspEventDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeEventLevelCountOutcome AegisClient::describeEventLevelCount(const DescribeEventLevelCountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeEventLevelCountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeEventLevelCountOutcome(DescribeEventLevelCountResult(outcome.result())); + else + return DescribeEventLevelCountOutcome(outcome.error()); +} + +void AegisClient::describeEventLevelCountAsync(const DescribeEventLevelCountRequest& request, const DescribeEventLevelCountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeEventLevelCount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeEventLevelCountOutcomeCallable AegisClient::describeEventLevelCountCallable(const DescribeEventLevelCountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeEventLevelCount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::QueryCrackEventOutcome AegisClient::queryCrackEvent(const QueryCrackEventRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryCrackEventOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryCrackEventOutcome(QueryCrackEventResult(outcome.result())); + else + return QueryCrackEventOutcome(outcome.error()); +} + +void AegisClient::queryCrackEventAsync(const QueryCrackEventRequest& request, const QueryCrackEventAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryCrackEvent(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::QueryCrackEventOutcomeCallable AegisClient::queryCrackEventCallable(const QueryCrackEventRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryCrackEvent(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::CreateOrUpdateGroupOutcome AegisClient::createOrUpdateGroup(const CreateOrUpdateGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateOrUpdateGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateOrUpdateGroupOutcome(CreateOrUpdateGroupResult(outcome.result())); + else + return CreateOrUpdateGroupOutcome(outcome.error()); +} + +void AegisClient::createOrUpdateGroupAsync(const CreateOrUpdateGroupRequest& request, const CreateOrUpdateGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createOrUpdateGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::CreateOrUpdateGroupOutcomeCallable AegisClient::createOrUpdateGroupCallable(const CreateOrUpdateGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createOrUpdateGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::SaveSuspEventUserSettingOutcome AegisClient::saveSuspEventUserSetting(const SaveSuspEventUserSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SaveSuspEventUserSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SaveSuspEventUserSettingOutcome(SaveSuspEventUserSettingResult(outcome.result())); + else + return SaveSuspEventUserSettingOutcome(outcome.error()); +} + +void AegisClient::saveSuspEventUserSettingAsync(const SaveSuspEventUserSettingRequest& request, const SaveSuspEventUserSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, saveSuspEventUserSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::SaveSuspEventUserSettingOutcomeCallable AegisClient::saveSuspEventUserSettingCallable(const SaveSuspEventUserSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->saveSuspEventUserSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSearchConditionOutcome AegisClient::describeSearchCondition(const DescribeSearchConditionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSearchConditionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSearchConditionOutcome(DescribeSearchConditionResult(outcome.result())); + else + return DescribeSearchConditionOutcome(outcome.error()); +} + +void AegisClient::describeSearchConditionAsync(const DescribeSearchConditionRequest& request, const DescribeSearchConditionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSearchCondition(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSearchConditionOutcomeCallable AegisClient::describeSearchConditionCallable(const DescribeSearchConditionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSearchCondition(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifySaveVulBatchOutcome AegisClient::modifySaveVulBatch(const ModifySaveVulBatchRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifySaveVulBatchOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifySaveVulBatchOutcome(ModifySaveVulBatchResult(outcome.result())); + else + return ModifySaveVulBatchOutcome(outcome.error()); +} + +void AegisClient::modifySaveVulBatchAsync(const ModifySaveVulBatchRequest& request, const ModifySaveVulBatchAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifySaveVulBatch(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifySaveVulBatchOutcomeCallable AegisClient::modifySaveVulBatchCallable(const ModifySaveVulBatchRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifySaveVulBatch(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeVulDetailsOutcome AegisClient::describeVulDetails(const DescribeVulDetailsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVulDetailsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVulDetailsOutcome(DescribeVulDetailsResult(outcome.result())); + else + return DescribeVulDetailsOutcome(outcome.error()); +} + +void AegisClient::describeVulDetailsAsync(const DescribeVulDetailsRequest& request, const DescribeVulDetailsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVulDetails(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeVulDetailsOutcomeCallable AegisClient::describeVulDetailsCallable(const DescribeVulDetailsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVulDetails(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeLogItemsOutcome AegisClient::describeLogItems(const DescribeLogItemsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLogItemsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLogItemsOutcome(DescribeLogItemsResult(outcome.result())); + else + return DescribeLogItemsOutcome(outcome.error()); +} + +void AegisClient::describeLogItemsAsync(const DescribeLogItemsRequest& request, const DescribeLogItemsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLogItems(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeLogItemsOutcomeCallable AegisClient::describeLogItemsCallable(const DescribeLogItemsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLogItems(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeWebLockEventsOutcome AegisClient::describeWebLockEvents(const DescribeWebLockEventsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWebLockEventsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWebLockEventsOutcome(DescribeWebLockEventsResult(outcome.result())); + else + return DescribeWebLockEventsOutcome(outcome.error()); +} + +void AegisClient::describeWebLockEventsAsync(const DescribeWebLockEventsRequest& request, const DescribeWebLockEventsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWebLockEvents(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeWebLockEventsOutcomeCallable AegisClient::describeWebLockEventsCallable(const DescribeWebLockEventsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWebLockEvents(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ExecStrategyOutcome AegisClient::execStrategy(const ExecStrategyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ExecStrategyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ExecStrategyOutcome(ExecStrategyResult(outcome.result())); + else + return ExecStrategyOutcome(outcome.error()); +} + +void AegisClient::execStrategyAsync(const ExecStrategyRequest& request, const ExecStrategyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, execStrategy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ExecStrategyOutcomeCallable AegisClient::execStrategyCallable(const ExecStrategyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->execStrategy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSuspEventExportInfoOutcome AegisClient::describeSuspEventExportInfo(const DescribeSuspEventExportInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSuspEventExportInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSuspEventExportInfoOutcome(DescribeSuspEventExportInfoResult(outcome.result())); + else + return DescribeSuspEventExportInfoOutcome(outcome.error()); +} + +void AegisClient::describeSuspEventExportInfoAsync(const DescribeSuspEventExportInfoRequest& request, const DescribeSuspEventExportInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSuspEventExportInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSuspEventExportInfoOutcomeCallable AegisClient::describeSuspEventExportInfoCallable(const DescribeSuspEventExportInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSuspEventExportInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::OperationSuspEventsOutcome AegisClient::operationSuspEvents(const OperationSuspEventsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return OperationSuspEventsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return OperationSuspEventsOutcome(OperationSuspEventsResult(outcome.result())); + else + return OperationSuspEventsOutcome(outcome.error()); +} + +void AegisClient::operationSuspEventsAsync(const OperationSuspEventsRequest& request, const OperationSuspEventsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, operationSuspEvents(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::OperationSuspEventsOutcomeCallable AegisClient::operationSuspEventsCallable(const OperationSuspEventsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->operationSuspEvents(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSasAssetStatisticsOutcome AegisClient::describeSasAssetStatistics(const DescribeSasAssetStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSasAssetStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSasAssetStatisticsOutcome(DescribeSasAssetStatisticsResult(outcome.result())); + else + return DescribeSasAssetStatisticsOutcome(outcome.error()); +} + +void AegisClient::describeSasAssetStatisticsAsync(const DescribeSasAssetStatisticsRequest& request, const DescribeSasAssetStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSasAssetStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSasAssetStatisticsOutcomeCallable AegisClient::describeSasAssetStatisticsCallable(const DescribeSasAssetStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSasAssetStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeDefenceThreadOutcome AegisClient::describeDefenceThread(const DescribeDefenceThreadRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDefenceThreadOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDefenceThreadOutcome(DescribeDefenceThreadResult(outcome.result())); + else + return DescribeDefenceThreadOutcome(outcome.error()); +} + +void AegisClient::describeDefenceThreadAsync(const DescribeDefenceThreadRequest& request, const DescribeDefenceThreadAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDefenceThread(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeDefenceThreadOutcomeCallable AegisClient::describeDefenceThreadCallable(const DescribeDefenceThreadRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDefenceThread(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::CreateVulWhitelistOutcome AegisClient::createVulWhitelist(const CreateVulWhitelistRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateVulWhitelistOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateVulWhitelistOutcome(CreateVulWhitelistResult(outcome.result())); + else + return CreateVulWhitelistOutcome(outcome.error()); +} + +void AegisClient::createVulWhitelistAsync(const CreateVulWhitelistRequest& request, const CreateVulWhitelistAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createVulWhitelist(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::CreateVulWhitelistOutcomeCallable AegisClient::createVulWhitelistCallable(const CreateVulWhitelistRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createVulWhitelist(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyConcernNecessityOutcome AegisClient::modifyConcernNecessity(const ModifyConcernNecessityRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyConcernNecessityOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyConcernNecessityOutcome(ModifyConcernNecessityResult(outcome.result())); + else + return ModifyConcernNecessityOutcome(outcome.error()); +} + +void AegisClient::modifyConcernNecessityAsync(const ModifyConcernNecessityRequest& request, const ModifyConcernNecessityAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyConcernNecessity(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyConcernNecessityOutcomeCallable AegisClient::modifyConcernNecessityCallable(const ModifyConcernNecessityRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyConcernNecessity(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::GetStatisticsByUuidOutcome AegisClient::getStatisticsByUuid(const GetStatisticsByUuidRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetStatisticsByUuidOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetStatisticsByUuidOutcome(GetStatisticsByUuidResult(outcome.result())); + else + return GetStatisticsByUuidOutcome(outcome.error()); +} + +void AegisClient::getStatisticsByUuidAsync(const GetStatisticsByUuidRequest& request, const GetStatisticsByUuidAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getStatisticsByUuid(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::GetStatisticsByUuidOutcomeCallable AegisClient::getStatisticsByUuidCallable(const GetStatisticsByUuidRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getStatisticsByUuid(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyVulConfigOutcome AegisClient::modifyVulConfig(const ModifyVulConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyVulConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyVulConfigOutcome(ModifyVulConfigResult(outcome.result())); + else + return ModifyVulConfigOutcome(outcome.error()); +} + +void AegisClient::modifyVulConfigAsync(const ModifyVulConfigRequest& request, const ModifyVulConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyVulConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyVulConfigOutcomeCallable AegisClient::modifyVulConfigCallable(const ModifyVulConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyVulConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::GetStatisticsOutcome AegisClient::getStatistics(const GetStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetStatisticsOutcome(GetStatisticsResult(outcome.result())); + else + return GetStatisticsOutcome(outcome.error()); +} + +void AegisClient::getStatisticsAsync(const GetStatisticsRequest& request, const GetStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::GetStatisticsOutcomeCallable AegisClient::getStatisticsCallable(const GetStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribesummaryOutcome AegisClient::describesummary(const DescribesummaryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribesummaryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribesummaryOutcome(DescribesummaryResult(outcome.result())); + else + return DescribesummaryOutcome(outcome.error()); +} + +void AegisClient::describesummaryAsync(const DescribesummaryRequest& request, const DescribesummaryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describesummary(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribesummaryOutcomeCallable AegisClient::describesummaryCallable(const DescribesummaryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describesummary(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSuspEventsOutcome AegisClient::describeSuspEvents(const DescribeSuspEventsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSuspEventsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSuspEventsOutcome(DescribeSuspEventsResult(outcome.result())); + else + return DescribeSuspEventsOutcome(outcome.error()); +} + +void AegisClient::describeSuspEventsAsync(const DescribeSuspEventsRequest& request, const DescribeSuspEventsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSuspEvents(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSuspEventsOutcomeCallable AegisClient::describeSuspEventsCallable(const DescribeSuspEventsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSuspEvents(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::CreateOrUpdateDataSourceOutcome AegisClient::createOrUpdateDataSource(const CreateOrUpdateDataSourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateOrUpdateDataSourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateOrUpdateDataSourceOutcome(CreateOrUpdateDataSourceResult(outcome.result())); + else + return CreateOrUpdateDataSourceOutcome(outcome.error()); +} + +void AegisClient::createOrUpdateDataSourceAsync(const CreateOrUpdateDataSourceRequest& request, const CreateOrUpdateDataSourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createOrUpdateDataSource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::CreateOrUpdateDataSourceOutcomeCallable AegisClient::createOrUpdateDataSourceCallable(const CreateOrUpdateDataSourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createOrUpdateDataSource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeVulWhitelistOutcome AegisClient::describeVulWhitelist(const DescribeVulWhitelistRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVulWhitelistOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVulWhitelistOutcome(DescribeVulWhitelistResult(outcome.result())); + else + return DescribeVulWhitelistOutcome(outcome.error()); +} + +void AegisClient::describeVulWhitelistAsync(const DescribeVulWhitelistRequest& request, const DescribeVulWhitelistAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVulWhitelist(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeVulWhitelistOutcomeCallable AegisClient::describeVulWhitelistCallable(const DescribeVulWhitelistRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVulWhitelist(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeRiskTypeOutcome AegisClient::describeRiskType(const DescribeRiskTypeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRiskTypeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRiskTypeOutcome(DescribeRiskTypeResult(outcome.result())); + else + return DescribeRiskTypeOutcome(outcome.error()); +} + +void AegisClient::describeRiskTypeAsync(const DescribeRiskTypeRequest& request, const DescribeRiskTypeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRiskType(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeRiskTypeOutcomeCallable AegisClient::describeRiskTypeCallable(const DescribeRiskTypeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRiskType(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeVulLevelStatisticsOutcome AegisClient::describeVulLevelStatistics(const DescribeVulLevelStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVulLevelStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVulLevelStatisticsOutcome(DescribeVulLevelStatisticsResult(outcome.result())); + else + return DescribeVulLevelStatisticsOutcome(outcome.error()); +} + +void AegisClient::describeVulLevelStatisticsAsync(const DescribeVulLevelStatisticsRequest& request, const DescribeVulLevelStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVulLevelStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeVulLevelStatisticsOutcomeCallable AegisClient::describeVulLevelStatisticsCallable(const DescribeVulLevelStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVulLevelStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeWhiteListStrategyListOutcome AegisClient::describeWhiteListStrategyList(const DescribeWhiteListStrategyListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWhiteListStrategyListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWhiteListStrategyListOutcome(DescribeWhiteListStrategyListResult(outcome.result())); + else + return DescribeWhiteListStrategyListOutcome(outcome.error()); +} + +void AegisClient::describeWhiteListStrategyListAsync(const DescribeWhiteListStrategyListRequest& request, const DescribeWhiteListStrategyListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWhiteListStrategyList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeWhiteListStrategyListOutcomeCallable AegisClient::describeWhiteListStrategyListCallable(const DescribeWhiteListStrategyListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWhiteListStrategyList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeTraceInfoDetailOutcome AegisClient::describeTraceInfoDetail(const DescribeTraceInfoDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTraceInfoDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTraceInfoDetailOutcome(DescribeTraceInfoDetailResult(outcome.result())); + else + return DescribeTraceInfoDetailOutcome(outcome.error()); +} + +void AegisClient::describeTraceInfoDetailAsync(const DescribeTraceInfoDetailRequest& request, const DescribeTraceInfoDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTraceInfoDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeTraceInfoDetailOutcomeCallable AegisClient::describeTraceInfoDetailCallable(const DescribeTraceInfoDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTraceInfoDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeGroupListOutcome AegisClient::describeGroupList(const DescribeGroupListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGroupListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGroupListOutcome(DescribeGroupListResult(outcome.result())); + else + return DescribeGroupListOutcome(outcome.error()); +} + +void AegisClient::describeGroupListAsync(const DescribeGroupListRequest& request, const DescribeGroupListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGroupList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeGroupListOutcomeCallable AegisClient::describeGroupListCallable(const DescribeGroupListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGroupList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeCanTrySasOutcome AegisClient::describeCanTrySas(const DescribeCanTrySasRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCanTrySasOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCanTrySasOutcome(DescribeCanTrySasResult(outcome.result())); + else + return DescribeCanTrySasOutcome(outcome.error()); +} + +void AegisClient::describeCanTrySasAsync(const DescribeCanTrySasRequest& request, const DescribeCanTrySasAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCanTrySas(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeCanTrySasOutcomeCallable AegisClient::describeCanTrySasCallable(const DescribeCanTrySasRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCanTrySas(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeTargetOutcome AegisClient::describeTarget(const DescribeTargetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTargetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTargetOutcome(DescribeTargetResult(outcome.result())); + else + return DescribeTargetOutcome(outcome.error()); +} + +void AegisClient::describeTargetAsync(const DescribeTargetRequest& request, const DescribeTargetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTarget(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeTargetOutcomeCallable AegisClient::describeTargetCallable(const DescribeTargetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTarget(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeWebshellOutcome AegisClient::describeWebshell(const DescribeWebshellRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWebshellOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWebshellOutcome(DescribeWebshellResult(outcome.result())); + else + return DescribeWebshellOutcome(outcome.error()); +} + +void AegisClient::describeWebshellAsync(const DescribeWebshellRequest& request, const DescribeWebshellAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWebshell(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeWebshellOutcomeCallable AegisClient::describeWebshellCallable(const DescribeWebshellRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWebshell(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeCheckWarningDetailOutcome AegisClient::describeCheckWarningDetail(const DescribeCheckWarningDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCheckWarningDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCheckWarningDetailOutcome(DescribeCheckWarningDetailResult(outcome.result())); + else + return DescribeCheckWarningDetailOutcome(outcome.error()); +} + +void AegisClient::describeCheckWarningDetailAsync(const DescribeCheckWarningDetailRequest& request, const DescribeCheckWarningDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCheckWarningDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeCheckWarningDetailOutcomeCallable AegisClient::describeCheckWarningDetailCallable(const DescribeCheckWarningDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCheckWarningDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::SaveWhiteListStrategyAssetsOutcome AegisClient::saveWhiteListStrategyAssets(const SaveWhiteListStrategyAssetsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SaveWhiteListStrategyAssetsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SaveWhiteListStrategyAssetsOutcome(SaveWhiteListStrategyAssetsResult(outcome.result())); + else + return SaveWhiteListStrategyAssetsOutcome(outcome.error()); +} + +void AegisClient::saveWhiteListStrategyAssetsAsync(const SaveWhiteListStrategyAssetsRequest& request, const SaveWhiteListStrategyAssetsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, saveWhiteListStrategyAssets(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::SaveWhiteListStrategyAssetsOutcomeCallable AegisClient::saveWhiteListStrategyAssetsCallable(const SaveWhiteListStrategyAssetsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->saveWhiteListStrategyAssets(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::CreateOrUpdateDingTalkOutcome AegisClient::createOrUpdateDingTalk(const CreateOrUpdateDingTalkRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateOrUpdateDingTalkOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateOrUpdateDingTalkOutcome(CreateOrUpdateDingTalkResult(outcome.result())); + else + return CreateOrUpdateDingTalkOutcome(outcome.error()); +} + +void AegisClient::createOrUpdateDingTalkAsync(const CreateOrUpdateDingTalkRequest& request, const CreateOrUpdateDingTalkAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createOrUpdateDingTalk(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::CreateOrUpdateDingTalkOutcomeCallable AegisClient::createOrUpdateDingTalkCallable(const CreateOrUpdateDingTalkRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createOrUpdateDingTalk(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeWarningMachinesOutcome AegisClient::describeWarningMachines(const DescribeWarningMachinesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWarningMachinesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWarningMachinesOutcome(DescribeWarningMachinesResult(outcome.result())); + else + return DescribeWarningMachinesOutcome(outcome.error()); +} + +void AegisClient::describeWarningMachinesAsync(const DescribeWarningMachinesRequest& request, const DescribeWarningMachinesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWarningMachines(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeWarningMachinesOutcomeCallable AegisClient::describeWarningMachinesCallable(const DescribeWarningMachinesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWarningMachines(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifySearchConditionOutcome AegisClient::modifySearchCondition(const ModifySearchConditionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifySearchConditionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifySearchConditionOutcome(ModifySearchConditionResult(outcome.result())); + else + return ModifySearchConditionOutcome(outcome.error()); +} + +void AegisClient::modifySearchConditionAsync(const ModifySearchConditionRequest& request, const ModifySearchConditionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifySearchCondition(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifySearchConditionOutcomeCallable AegisClient::modifySearchConditionCallable(const ModifySearchConditionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifySearchCondition(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeWhiteListStrategyUuidCountOutcome AegisClient::describeWhiteListStrategyUuidCount(const DescribeWhiteListStrategyUuidCountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWhiteListStrategyUuidCountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWhiteListStrategyUuidCountOutcome(DescribeWhiteListStrategyUuidCountResult(outcome.result())); + else + return DescribeWhiteListStrategyUuidCountOutcome(outcome.error()); +} + +void AegisClient::describeWhiteListStrategyUuidCountAsync(const DescribeWhiteListStrategyUuidCountRequest& request, const DescribeWhiteListStrategyUuidCountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWhiteListStrategyUuidCount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeWhiteListStrategyUuidCountOutcomeCallable AegisClient::describeWhiteListStrategyUuidCountCallable(const DescribeWhiteListStrategyUuidCountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWhiteListStrategyUuidCount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeGroupedVulOutcome AegisClient::describeGroupedVul(const DescribeGroupedVulRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGroupedVulOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGroupedVulOutcome(DescribeGroupedVulResult(outcome.result())); + else + return DescribeGroupedVulOutcome(outcome.error()); +} + +void AegisClient::describeGroupedVulAsync(const DescribeGroupedVulRequest& request, const DescribeGroupedVulAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGroupedVul(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeGroupedVulOutcomeCallable AegisClient::describeGroupedVulCallable(const DescribeGroupedVulRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGroupedVul(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyWebLockDeleteConfigOutcome AegisClient::modifyWebLockDeleteConfig(const ModifyWebLockDeleteConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyWebLockDeleteConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyWebLockDeleteConfigOutcome(ModifyWebLockDeleteConfigResult(outcome.result())); + else + return ModifyWebLockDeleteConfigOutcome(outcome.error()); +} + +void AegisClient::modifyWebLockDeleteConfigAsync(const ModifyWebLockDeleteConfigRequest& request, const ModifyWebLockDeleteConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyWebLockDeleteConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyWebLockDeleteConfigOutcomeCallable AegisClient::modifyWebLockDeleteConfigCallable(const ModifyWebLockDeleteConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyWebLockDeleteConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::CreateUserWhiteListOutcome AegisClient::createUserWhiteList(const CreateUserWhiteListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateUserWhiteListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateUserWhiteListOutcome(CreateUserWhiteListResult(outcome.result())); + else + return CreateUserWhiteListOutcome(outcome.error()); +} + +void AegisClient::createUserWhiteListAsync(const CreateUserWhiteListRequest& request, const CreateUserWhiteListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createUserWhiteList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::CreateUserWhiteListOutcomeCallable AegisClient::createUserWhiteListCallable(const CreateUserWhiteListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createUserWhiteList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSecureSuggestionOutcome AegisClient::describeSecureSuggestion(const DescribeSecureSuggestionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSecureSuggestionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSecureSuggestionOutcome(DescribeSecureSuggestionResult(outcome.result())); + else + return DescribeSecureSuggestionOutcome(outcome.error()); +} + +void AegisClient::describeSecureSuggestionAsync(const DescribeSecureSuggestionRequest& request, const DescribeSecureSuggestionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSecureSuggestion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSecureSuggestionOutcomeCallable AegisClient::describeSecureSuggestionCallable(const DescribeSecureSuggestionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSecureSuggestion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSuspiciousOverallConfigOutcome AegisClient::describeSuspiciousOverallConfig(const DescribeSuspiciousOverallConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSuspiciousOverallConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSuspiciousOverallConfigOutcome(DescribeSuspiciousOverallConfigResult(outcome.result())); + else + return DescribeSuspiciousOverallConfigOutcome(outcome.error()); +} + +void AegisClient::describeSuspiciousOverallConfigAsync(const DescribeSuspiciousOverallConfigRequest& request, const DescribeSuspiciousOverallConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSuspiciousOverallConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSuspiciousOverallConfigOutcomeCallable AegisClient::describeSuspiciousOverallConfigCallable(const DescribeSuspiciousOverallConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSuspiciousOverallConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeAnalysisCurveOutcome AegisClient::describeAnalysisCurve(const DescribeAnalysisCurveRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAnalysisCurveOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAnalysisCurveOutcome(DescribeAnalysisCurveResult(outcome.result())); + else + return DescribeAnalysisCurveOutcome(outcome.error()); +} + +void AegisClient::describeAnalysisCurveAsync(const DescribeAnalysisCurveRequest& request, const DescribeAnalysisCurveAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAnalysisCurve(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeAnalysisCurveOutcomeCallable AegisClient::describeAnalysisCurveCallable(const DescribeAnalysisCurveRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAnalysisCurve(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeScreenAlarmEventListOutcome AegisClient::describeScreenAlarmEventList(const DescribeScreenAlarmEventListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeScreenAlarmEventListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeScreenAlarmEventListOutcome(DescribeScreenAlarmEventListResult(outcome.result())); + else + return DescribeScreenAlarmEventListOutcome(outcome.error()); +} + +void AegisClient::describeScreenAlarmEventListAsync(const DescribeScreenAlarmEventListRequest& request, const DescribeScreenAlarmEventListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeScreenAlarmEventList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeScreenAlarmEventListOutcomeCallable AegisClient::describeScreenAlarmEventListCallable(const DescribeScreenAlarmEventListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeScreenAlarmEventList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::CreatScreenSettingOutcome AegisClient::creatScreenSetting(const CreatScreenSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreatScreenSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreatScreenSettingOutcome(CreatScreenSettingResult(outcome.result())); + else + return CreatScreenSettingOutcome(outcome.error()); +} + +void AegisClient::creatScreenSettingAsync(const CreatScreenSettingRequest& request, const CreatScreenSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, creatScreenSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::CreatScreenSettingOutcomeCallable AegisClient::creatScreenSettingCallable(const CreatScreenSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->creatScreenSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeAlarmEventListOutcome AegisClient::describeAlarmEventList(const DescribeAlarmEventListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAlarmEventListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAlarmEventListOutcome(DescribeAlarmEventListResult(outcome.result())); + else + return DescribeAlarmEventListOutcome(outcome.error()); +} + +void AegisClient::describeAlarmEventListAsync(const DescribeAlarmEventListRequest& request, const DescribeAlarmEventListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAlarmEventList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeAlarmEventListOutcomeCallable AegisClient::describeAlarmEventListCallable(const DescribeAlarmEventListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAlarmEventList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::CanTrySasOutcome AegisClient::canTrySas(const CanTrySasRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CanTrySasOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CanTrySasOutcome(CanTrySasResult(outcome.result())); + else + return CanTrySasOutcome(outcome.error()); +} + +void AegisClient::canTrySasAsync(const CanTrySasRequest& request, const CanTrySasAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, canTrySas(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::CanTrySasOutcomeCallable AegisClient::canTrySasCallable(const CanTrySasRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->canTrySas(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeScreenSummaryInfoOutcome AegisClient::describeScreenSummaryInfo(const DescribeScreenSummaryInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeScreenSummaryInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeScreenSummaryInfoOutcome(DescribeScreenSummaryInfoResult(outcome.result())); + else + return DescribeScreenSummaryInfoOutcome(outcome.error()); +} + +void AegisClient::describeScreenSummaryInfoAsync(const DescribeScreenSummaryInfoRequest& request, const DescribeScreenSummaryInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeScreenSummaryInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeScreenSummaryInfoOutcomeCallable AegisClient::describeScreenSummaryInfoCallable(const DescribeScreenSummaryInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeScreenSummaryInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::OperateWarningOutcome AegisClient::operateWarning(const OperateWarningRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return OperateWarningOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return OperateWarningOutcome(OperateWarningResult(outcome.result())); + else + return OperateWarningOutcome(outcome.error()); +} + +void AegisClient::operateWarningAsync(const OperateWarningRequest& request, const OperateWarningAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, operateWarning(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::OperateWarningOutcomeCallable AegisClient::operateWarningCallable(const OperateWarningRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->operateWarning(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ExecuteRuleEngineActualTimeOutcome AegisClient::executeRuleEngineActualTime(const ExecuteRuleEngineActualTimeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ExecuteRuleEngineActualTimeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ExecuteRuleEngineActualTimeOutcome(ExecuteRuleEngineActualTimeResult(outcome.result())); + else + return ExecuteRuleEngineActualTimeOutcome(outcome.error()); +} + +void AegisClient::executeRuleEngineActualTimeAsync(const ExecuteRuleEngineActualTimeRequest& request, const ExecuteRuleEngineActualTimeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, executeRuleEngineActualTime(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ExecuteRuleEngineActualTimeOutcomeCallable AegisClient::executeRuleEngineActualTimeCallable(const ExecuteRuleEngineActualTimeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->executeRuleEngineActualTime(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::CreateUserSettingOutcome AegisClient::createUserSetting(const CreateUserSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateUserSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateUserSettingOutcome(CreateUserSettingResult(outcome.result())); + else + return CreateUserSettingOutcome(outcome.error()); +} + +void AegisClient::createUserSettingAsync(const CreateUserSettingRequest& request, const CreateUserSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createUserSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::CreateUserSettingOutcomeCallable AegisClient::createUserSettingCallable(const CreateUserSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createUserSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ExportSuspEventsOutcome AegisClient::exportSuspEvents(const ExportSuspEventsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ExportSuspEventsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ExportSuspEventsOutcome(ExportSuspEventsResult(outcome.result())); + else + return ExportSuspEventsOutcome(outcome.error()); +} + +void AegisClient::exportSuspEventsAsync(const ExportSuspEventsRequest& request, const ExportSuspEventsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, exportSuspEvents(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ExportSuspEventsOutcomeCallable AegisClient::exportSuspEventsCallable(const ExportSuspEventsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->exportSuspEvents(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeLogShipperStatusOutcome AegisClient::describeLogShipperStatus(const DescribeLogShipperStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLogShipperStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLogShipperStatusOutcome(DescribeLogShipperStatusResult(outcome.result())); + else + return DescribeLogShipperStatusOutcome(outcome.error()); +} + +void AegisClient::describeLogShipperStatusAsync(const DescribeLogShipperStatusRequest& request, const DescribeLogShipperStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLogShipperStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeLogShipperStatusOutcomeCallable AegisClient::describeLogShipperStatusCallable(const DescribeLogShipperStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLogShipperStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeLogMetaOutcome AegisClient::describeLogMeta(const DescribeLogMetaRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLogMetaOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLogMetaOutcome(DescribeLogMetaResult(outcome.result())); + else + return DescribeLogMetaOutcome(outcome.error()); +} + +void AegisClient::describeLogMetaAsync(const DescribeLogMetaRequest& request, const DescribeLogMetaAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLogMeta(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeLogMetaOutcomeCallable AegisClient::describeLogMetaCallable(const DescribeLogMetaRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLogMeta(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeQuaraFileOutcome AegisClient::describeQuaraFile(const DescribeQuaraFileRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeQuaraFileOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeQuaraFileOutcome(DescribeQuaraFileResult(outcome.result())); + else + return DescribeQuaraFileOutcome(outcome.error()); +} + +void AegisClient::describeQuaraFileAsync(const DescribeQuaraFileRequest& request, const DescribeQuaraFileAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeQuaraFile(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeQuaraFileOutcomeCallable AegisClient::describeQuaraFileCallable(const DescribeQuaraFileRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeQuaraFile(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeTotalStatisticsOutcome AegisClient::describeTotalStatistics(const DescribeTotalStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTotalStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTotalStatisticsOutcome(DescribeTotalStatisticsResult(outcome.result())); + else + return DescribeTotalStatisticsOutcome(outcome.error()); +} + +void AegisClient::describeTotalStatisticsAsync(const DescribeTotalStatisticsRequest& request, const DescribeTotalStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTotalStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeTotalStatisticsOutcomeCallable AegisClient::describeTotalStatisticsCallable(const DescribeTotalStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTotalStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeWhiteListStrategyStatisticsOutcome AegisClient::describeWhiteListStrategyStatistics(const DescribeWhiteListStrategyStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWhiteListStrategyStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWhiteListStrategyStatisticsOutcome(DescribeWhiteListStrategyStatisticsResult(outcome.result())); + else + return DescribeWhiteListStrategyStatisticsOutcome(outcome.error()); +} + +void AegisClient::describeWhiteListStrategyStatisticsAsync(const DescribeWhiteListStrategyStatisticsRequest& request, const DescribeWhiteListStrategyStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWhiteListStrategyStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeWhiteListStrategyStatisticsOutcomeCallable AegisClient::describeWhiteListStrategyStatisticsCallable(const DescribeWhiteListStrategyStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWhiteListStrategyStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::AutoUpgradeToSasAdvancedVersionOutcome AegisClient::autoUpgradeToSasAdvancedVersion(const AutoUpgradeToSasAdvancedVersionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AutoUpgradeToSasAdvancedVersionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AutoUpgradeToSasAdvancedVersionOutcome(AutoUpgradeToSasAdvancedVersionResult(outcome.result())); + else + return AutoUpgradeToSasAdvancedVersionOutcome(outcome.error()); +} + +void AegisClient::autoUpgradeToSasAdvancedVersionAsync(const AutoUpgradeToSasAdvancedVersionRequest& request, const AutoUpgradeToSasAdvancedVersionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, autoUpgradeToSasAdvancedVersion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::AutoUpgradeToSasAdvancedVersionOutcomeCallable AegisClient::autoUpgradeToSasAdvancedVersionCallable(const AutoUpgradeToSasAdvancedVersionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->autoUpgradeToSasAdvancedVersion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeStratetyOutcome AegisClient::describeStratety(const DescribeStratetyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeStratetyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeStratetyOutcome(DescribeStratetyResult(outcome.result())); + else + return DescribeStratetyOutcome(outcome.error()); +} + +void AegisClient::describeStratetyAsync(const DescribeStratetyRequest& request, const DescribeStratetyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeStratety(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeStratetyOutcomeCallable AegisClient::describeStratetyCallable(const DescribeStratetyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeStratety(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeAnalysisStatisticsOutcome AegisClient::describeAnalysisStatistics(const DescribeAnalysisStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAnalysisStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAnalysisStatisticsOutcome(DescribeAnalysisStatisticsResult(outcome.result())); + else + return DescribeAnalysisStatisticsOutcome(outcome.error()); +} + +void AegisClient::describeAnalysisStatisticsAsync(const DescribeAnalysisStatisticsRequest& request, const DescribeAnalysisStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAnalysisStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeAnalysisStatisticsOutcomeCallable AegisClient::describeAnalysisStatisticsCallable(const DescribeAnalysisStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAnalysisStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeWebLockConfigListOutcome AegisClient::describeWebLockConfigList(const DescribeWebLockConfigListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWebLockConfigListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWebLockConfigListOutcome(DescribeWebLockConfigListResult(outcome.result())); + else + return DescribeWebLockConfigListOutcome(outcome.error()); +} + +void AegisClient::describeWebLockConfigListAsync(const DescribeWebLockConfigListRequest& request, const DescribeWebLockConfigListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWebLockConfigList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeWebLockConfigListOutcomeCallable AegisClient::describeWebLockConfigListCallable(const DescribeWebLockConfigListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWebLockConfigList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyAutoDelConfigOutcome AegisClient::modifyAutoDelConfig(const ModifyAutoDelConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyAutoDelConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyAutoDelConfigOutcome(ModifyAutoDelConfigResult(outcome.result())); + else + return ModifyAutoDelConfigOutcome(outcome.error()); +} + +void AegisClient::modifyAutoDelConfigAsync(const ModifyAutoDelConfigRequest& request, const ModifyAutoDelConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyAutoDelConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyAutoDelConfigOutcomeCallable AegisClient::modifyAutoDelConfigCallable(const ModifyAutoDelConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyAutoDelConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeUserSettingOutcome AegisClient::describeUserSetting(const DescribeUserSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUserSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUserSettingOutcome(DescribeUserSettingResult(outcome.result())); + else + return DescribeUserSettingOutcome(outcome.error()); +} + +void AegisClient::describeUserSettingAsync(const DescribeUserSettingRequest& request, const DescribeUserSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUserSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeUserSettingOutcomeCallable AegisClient::describeUserSettingCallable(const DescribeUserSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUserSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeVulBatchOutcome AegisClient::describeVulBatch(const DescribeVulBatchRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVulBatchOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVulBatchOutcome(DescribeVulBatchResult(outcome.result())); + else + return DescribeVulBatchOutcome(outcome.error()); +} + +void AegisClient::describeVulBatchAsync(const DescribeVulBatchRequest& request, const DescribeVulBatchAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVulBatch(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeVulBatchOutcomeCallable AegisClient::describeVulBatchCallable(const DescribeVulBatchRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVulBatch(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -339,6 +4515,1194 @@ AegisClient::ReleaseInstanceOutcomeCallable AegisClient::releaseInstanceCallable return task->get_future(); } +AegisClient::DescribeVulLevelOutcome AegisClient::describeVulLevel(const DescribeVulLevelRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVulLevelOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVulLevelOutcome(DescribeVulLevelResult(outcome.result())); + else + return DescribeVulLevelOutcome(outcome.error()); +} + +void AegisClient::describeVulLevelAsync(const DescribeVulLevelRequest& request, const DescribeVulLevelAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVulLevel(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeVulLevelOutcomeCallable AegisClient::describeVulLevelCallable(const DescribeVulLevelRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVulLevel(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyWebLockOperateEventsOutcome AegisClient::modifyWebLockOperateEvents(const ModifyWebLockOperateEventsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyWebLockOperateEventsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyWebLockOperateEventsOutcome(ModifyWebLockOperateEventsResult(outcome.result())); + else + return ModifyWebLockOperateEventsOutcome(outcome.error()); +} + +void AegisClient::modifyWebLockOperateEventsAsync(const ModifyWebLockOperateEventsRequest& request, const ModifyWebLockOperateEventsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyWebLockOperateEvents(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyWebLockOperateEventsOutcomeCallable AegisClient::modifyWebLockOperateEventsCallable(const ModifyWebLockOperateEventsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyWebLockOperateEvents(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeWhiteListAuthorizeOutcome AegisClient::describeWhiteListAuthorize(const DescribeWhiteListAuthorizeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWhiteListAuthorizeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWhiteListAuthorizeOutcome(DescribeWhiteListAuthorizeResult(outcome.result())); + else + return DescribeWhiteListAuthorizeOutcome(outcome.error()); +} + +void AegisClient::describeWhiteListAuthorizeAsync(const DescribeWhiteListAuthorizeRequest& request, const DescribeWhiteListAuthorizeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWhiteListAuthorize(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeWhiteListAuthorizeOutcomeCallable AegisClient::describeWhiteListAuthorizeCallable(const DescribeWhiteListAuthorizeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWhiteListAuthorize(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeAttackAnalysisDataOutcome AegisClient::describeAttackAnalysisData(const DescribeAttackAnalysisDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAttackAnalysisDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAttackAnalysisDataOutcome(DescribeAttackAnalysisDataResult(outcome.result())); + else + return DescribeAttackAnalysisDataOutcome(outcome.error()); +} + +void AegisClient::describeAttackAnalysisDataAsync(const DescribeAttackAnalysisDataRequest& request, const DescribeAttackAnalysisDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAttackAnalysisData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeAttackAnalysisDataOutcomeCallable AegisClient::describeAttackAnalysisDataCallable(const DescribeAttackAnalysisDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAttackAnalysisData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::RenewInstanceOutcome AegisClient::renewInstance(const RenewInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RenewInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RenewInstanceOutcome(RenewInstanceResult(outcome.result())); + else + return RenewInstanceOutcome(outcome.error()); +} + +void AegisClient::renewInstanceAsync(const RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, renewInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::RenewInstanceOutcomeCallable AegisClient::renewInstanceCallable(const RenewInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->renewInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::OperateResultOutcome AegisClient::operateResult(const OperateResultRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return OperateResultOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return OperateResultOutcome(OperateResultResult(outcome.result())); + else + return OperateResultOutcome(outcome.error()); +} + +void AegisClient::operateResultAsync(const OperateResultRequest& request, const OperateResultAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, operateResult(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::OperateResultOutcomeCallable AegisClient::operateResultCallable(const OperateResultRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->operateResult(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::RollbackSuspEventQuaraFileOutcome AegisClient::rollbackSuspEventQuaraFile(const RollbackSuspEventQuaraFileRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RollbackSuspEventQuaraFileOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RollbackSuspEventQuaraFileOutcome(RollbackSuspEventQuaraFileResult(outcome.result())); + else + return RollbackSuspEventQuaraFileOutcome(outcome.error()); +} + +void AegisClient::rollbackSuspEventQuaraFileAsync(const RollbackSuspEventQuaraFileRequest& request, const RollbackSuspEventQuaraFileAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, rollbackSuspEventQuaraFile(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::RollbackSuspEventQuaraFileOutcomeCallable AegisClient::rollbackSuspEventQuaraFileCallable(const RollbackSuspEventQuaraFileRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->rollbackSuspEventQuaraFile(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeLogstoreStorageOutcome AegisClient::describeLogstoreStorage(const DescribeLogstoreStorageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLogstoreStorageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLogstoreStorageOutcome(DescribeLogstoreStorageResult(outcome.result())); + else + return DescribeLogstoreStorageOutcome(outcome.error()); +} + +void AegisClient::describeLogstoreStorageAsync(const DescribeLogstoreStorageRequest& request, const DescribeLogstoreStorageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLogstoreStorage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeLogstoreStorageOutcomeCallable AegisClient::describeLogstoreStorageCallable(const DescribeLogstoreStorageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLogstoreStorage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeRuleListOutcome AegisClient::describeRuleList(const DescribeRuleListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRuleListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRuleListOutcome(DescribeRuleListResult(outcome.result())); + else + return DescribeRuleListOutcome(outcome.error()); +} + +void AegisClient::describeRuleListAsync(const DescribeRuleListRequest& request, const DescribeRuleListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRuleList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeRuleListOutcomeCallable AegisClient::describeRuleListCallable(const DescribeRuleListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRuleList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DeleteSearchConditionOutcome AegisClient::deleteSearchCondition(const DeleteSearchConditionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteSearchConditionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteSearchConditionOutcome(DeleteSearchConditionResult(outcome.result())); + else + return DeleteSearchConditionOutcome(outcome.error()); +} + +void AegisClient::deleteSearchConditionAsync(const DeleteSearchConditionRequest& request, const DeleteSearchConditionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteSearchCondition(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DeleteSearchConditionOutcomeCallable AegisClient::deleteSearchConditionCallable(const DeleteSearchConditionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteSearchCondition(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeAllRegionsStatisticsOutcome AegisClient::describeAllRegionsStatistics(const DescribeAllRegionsStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAllRegionsStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAllRegionsStatisticsOutcome(DescribeAllRegionsStatisticsResult(outcome.result())); + else + return DescribeAllRegionsStatisticsOutcome(outcome.error()); +} + +void AegisClient::describeAllRegionsStatisticsAsync(const DescribeAllRegionsStatisticsRequest& request, const DescribeAllRegionsStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAllRegionsStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeAllRegionsStatisticsOutcomeCallable AegisClient::describeAllRegionsStatisticsCallable(const DescribeAllRegionsStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAllRegionsStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeCheckWarningSummaryOutcome AegisClient::describeCheckWarningSummary(const DescribeCheckWarningSummaryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCheckWarningSummaryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCheckWarningSummaryOutcome(DescribeCheckWarningSummaryResult(outcome.result())); + else + return DescribeCheckWarningSummaryOutcome(outcome.error()); +} + +void AegisClient::describeCheckWarningSummaryAsync(const DescribeCheckWarningSummaryRequest& request, const DescribeCheckWarningSummaryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCheckWarningSummary(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeCheckWarningSummaryOutcomeCallable AegisClient::describeCheckWarningSummaryCallable(const DescribeCheckWarningSummaryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCheckWarningSummary(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSlsProjectOutcome AegisClient::describeSlsProject(const DescribeSlsProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSlsProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSlsProjectOutcome(DescribeSlsProjectResult(outcome.result())); + else + return DescribeSlsProjectOutcome(outcome.error()); +} + +void AegisClient::describeSlsProjectAsync(const DescribeSlsProjectRequest& request, const DescribeSlsProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSlsProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSlsProjectOutcomeCallable AegisClient::describeSlsProjectCallable(const DescribeSlsProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSlsProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeWhiteListEffectiveAssetsOutcome AegisClient::describeWhiteListEffectiveAssets(const DescribeWhiteListEffectiveAssetsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWhiteListEffectiveAssetsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWhiteListEffectiveAssetsOutcome(DescribeWhiteListEffectiveAssetsResult(outcome.result())); + else + return DescribeWhiteListEffectiveAssetsOutcome(outcome.error()); +} + +void AegisClient::describeWhiteListEffectiveAssetsAsync(const DescribeWhiteListEffectiveAssetsRequest& request, const DescribeWhiteListEffectiveAssetsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWhiteListEffectiveAssets(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeWhiteListEffectiveAssetsOutcomeCallable AegisClient::describeWhiteListEffectiveAssetsCallable(const DescribeWhiteListEffectiveAssetsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWhiteListEffectiveAssets(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::UpgradeInstanceOutcome AegisClient::upgradeInstance(const UpgradeInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpgradeInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpgradeInstanceOutcome(UpgradeInstanceResult(outcome.result())); + else + return UpgradeInstanceOutcome(outcome.error()); +} + +void AegisClient::upgradeInstanceAsync(const UpgradeInstanceRequest& request, const UpgradeInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, upgradeInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::UpgradeInstanceOutcomeCallable AegisClient::upgradeInstanceCallable(const UpgradeInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->upgradeInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeLogQueryOutcome AegisClient::describeLogQuery(const DescribeLogQueryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLogQueryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLogQueryOutcome(DescribeLogQueryResult(outcome.result())); + else + return DescribeLogQueryOutcome(outcome.error()); +} + +void AegisClient::describeLogQueryAsync(const DescribeLogQueryRequest& request, const DescribeLogQueryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLogQuery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeLogQueryOutcomeCallable AegisClient::describeLogQueryCallable(const DescribeLogQueryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLogQuery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeScreenSettingsOutcome AegisClient::describeScreenSettings(const DescribeScreenSettingsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeScreenSettingsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeScreenSettingsOutcome(DescribeScreenSettingsResult(outcome.result())); + else + return DescribeScreenSettingsOutcome(outcome.error()); +} + +void AegisClient::describeScreenSettingsAsync(const DescribeScreenSettingsRequest& request, const DescribeScreenSettingsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeScreenSettings(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeScreenSettingsOutcomeCallable AegisClient::describeScreenSettingsCallable(const DescribeScreenSettingsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeScreenSettings(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeRisksOutcome AegisClient::describeRisks(const DescribeRisksRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRisksOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRisksOutcome(DescribeRisksResult(outcome.result())); + else + return DescribeRisksOutcome(outcome.error()); +} + +void AegisClient::describeRisksAsync(const DescribeRisksRequest& request, const DescribeRisksAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRisks(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeRisksOutcomeCallable AegisClient::describeRisksCallable(const DescribeRisksRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRisks(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeGroupStructOutcome AegisClient::describeGroupStruct(const DescribeGroupStructRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGroupStructOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGroupStructOutcome(DescribeGroupStructResult(outcome.result())); + else + return DescribeGroupStructOutcome(outcome.error()); +} + +void AegisClient::describeGroupStructAsync(const DescribeGroupStructRequest& request, const DescribeGroupStructAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGroupStruct(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeGroupStructOutcomeCallable AegisClient::describeGroupStructCallable(const DescribeGroupStructRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGroupStruct(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeRiskWhiteListOutcome AegisClient::describeRiskWhiteList(const DescribeRiskWhiteListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRiskWhiteListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRiskWhiteListOutcome(DescribeRiskWhiteListResult(outcome.result())); + else + return DescribeRiskWhiteListOutcome(outcome.error()); +} + +void AegisClient::describeRiskWhiteListAsync(const DescribeRiskWhiteListRequest& request, const DescribeRiskWhiteListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRiskWhiteList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeRiskWhiteListOutcomeCallable AegisClient::describeRiskWhiteListCallable(const DescribeRiskWhiteListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRiskWhiteList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyAssetGroupOutcome AegisClient::modifyAssetGroup(const ModifyAssetGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyAssetGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyAssetGroupOutcome(ModifyAssetGroupResult(outcome.result())); + else + return ModifyAssetGroupOutcome(outcome.error()); +} + +void AegisClient::modifyAssetGroupAsync(const ModifyAssetGroupRequest& request, const ModifyAssetGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyAssetGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyAssetGroupOutcomeCallable AegisClient::modifyAssetGroupCallable(const ModifyAssetGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyAssetGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSasLeftConditionOutcome AegisClient::describeSasLeftCondition(const DescribeSasLeftConditionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSasLeftConditionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSasLeftConditionOutcome(DescribeSasLeftConditionResult(outcome.result())); + else + return DescribeSasLeftConditionOutcome(outcome.error()); +} + +void AegisClient::describeSasLeftConditionAsync(const DescribeSasLeftConditionRequest& request, const DescribeSasLeftConditionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSasLeftCondition(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSasLeftConditionOutcomeCallable AegisClient::describeSasLeftConditionCallable(const DescribeSasLeftConditionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSasLeftCondition(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSasAssetStatisticsColumnOutcome AegisClient::describeSasAssetStatisticsColumn(const DescribeSasAssetStatisticsColumnRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSasAssetStatisticsColumnOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSasAssetStatisticsColumnOutcome(DescribeSasAssetStatisticsColumnResult(outcome.result())); + else + return DescribeSasAssetStatisticsColumnOutcome(outcome.error()); +} + +void AegisClient::describeSasAssetStatisticsColumnAsync(const DescribeSasAssetStatisticsColumnRequest& request, const DescribeSasAssetStatisticsColumnAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSasAssetStatisticsColumn(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSasAssetStatisticsColumnOutcomeCallable AegisClient::describeSasAssetStatisticsColumnCallable(const DescribeSasAssetStatisticsColumnRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSasAssetStatisticsColumn(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::CreateOrUpdateRuleOutcome AegisClient::createOrUpdateRule(const CreateOrUpdateRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateOrUpdateRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateOrUpdateRuleOutcome(CreateOrUpdateRuleResult(outcome.result())); + else + return CreateOrUpdateRuleOutcome(outcome.error()); +} + +void AegisClient::createOrUpdateRuleAsync(const CreateOrUpdateRuleRequest& request, const CreateOrUpdateRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createOrUpdateRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::CreateOrUpdateRuleOutcomeCallable AegisClient::createOrUpdateRuleCallable(const CreateOrUpdateRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createOrUpdateRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyLogMetaStatusOutcome AegisClient::modifyLogMetaStatus(const ModifyLogMetaStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyLogMetaStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyLogMetaStatusOutcome(ModifyLogMetaStatusResult(outcome.result())); + else + return ModifyLogMetaStatusOutcome(outcome.error()); +} + +void AegisClient::modifyLogMetaStatusAsync(const ModifyLogMetaStatusRequest& request, const ModifyLogMetaStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyLogMetaStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyLogMetaStatusOutcomeCallable AegisClient::modifyLogMetaStatusCallable(const ModifyLogMetaStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyLogMetaStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeYesterdayStatisticsOutcome AegisClient::describeYesterdayStatistics(const DescribeYesterdayStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeYesterdayStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeYesterdayStatisticsOutcome(DescribeYesterdayStatisticsResult(outcome.result())); + else + return DescribeYesterdayStatisticsOutcome(outcome.error()); +} + +void AegisClient::describeYesterdayStatisticsAsync(const DescribeYesterdayStatisticsRequest& request, const DescribeYesterdayStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeYesterdayStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeYesterdayStatisticsOutcomeCallable AegisClient::describeYesterdayStatisticsCallable(const DescribeYesterdayStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeYesterdayStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSuspiciousExportInfoOutcome AegisClient::describeSuspiciousExportInfo(const DescribeSuspiciousExportInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSuspiciousExportInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSuspiciousExportInfoOutcome(DescribeSuspiciousExportInfoResult(outcome.result())); + else + return DescribeSuspiciousExportInfoOutcome(outcome.error()); +} + +void AegisClient::describeSuspiciousExportInfoAsync(const DescribeSuspiciousExportInfoRequest& request, const DescribeSuspiciousExportInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSuspiciousExportInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSuspiciousExportInfoOutcomeCallable AegisClient::describeSuspiciousExportInfoCallable(const DescribeSuspiciousExportInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSuspiciousExportInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DeleteScreenSettingOutcome AegisClient::deleteScreenSetting(const DeleteScreenSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteScreenSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteScreenSettingOutcome(DeleteScreenSettingResult(outcome.result())); + else + return DeleteScreenSettingOutcome(outcome.error()); +} + +void AegisClient::deleteScreenSettingAsync(const DeleteScreenSettingRequest& request, const DeleteScreenSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteScreenSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DeleteScreenSettingOutcomeCallable AegisClient::deleteScreenSettingCallable(const DeleteScreenSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteScreenSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeAssetSummaryOutcome AegisClient::describeAssetSummary(const DescribeAssetSummaryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAssetSummaryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAssetSummaryOutcome(DescribeAssetSummaryResult(outcome.result())); + else + return DescribeAssetSummaryOutcome(outcome.error()); +} + +void AegisClient::describeAssetSummaryAsync(const DescribeAssetSummaryRequest& request, const DescribeAssetSummaryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAssetSummary(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeAssetSummaryOutcomeCallable AegisClient::describeAssetSummaryCallable(const DescribeAssetSummaryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAssetSummary(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeAgentInstallStatusOutcome AegisClient::describeAgentInstallStatus(const DescribeAgentInstallStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAgentInstallStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAgentInstallStatusOutcome(DescribeAgentInstallStatusResult(outcome.result())); + else + return DescribeAgentInstallStatusOutcome(outcome.error()); +} + +void AegisClient::describeAgentInstallStatusAsync(const DescribeAgentInstallStatusRequest& request, const DescribeAgentInstallStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAgentInstallStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeAgentInstallStatusOutcomeCallable AegisClient::describeAgentInstallStatusCallable(const DescribeAgentInstallStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAgentInstallStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::GetEntityListOutcome AegisClient::getEntityList(const GetEntityListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetEntityListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetEntityListOutcome(GetEntityListResult(outcome.result())); + else + return GetEntityListOutcome(outcome.error()); +} + +void AegisClient::getEntityListAsync(const GetEntityListRequest& request, const GetEntityListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getEntityList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::GetEntityListOutcomeCallable AegisClient::getEntityListCallable(const GetEntityListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getEntityList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ExportVulOutcome AegisClient::exportVul(const ExportVulRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ExportVulOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ExportVulOutcome(ExportVulResult(outcome.result())); + else + return ExportVulOutcome(outcome.error()); +} + +void AegisClient::exportVulAsync(const ExportVulRequest& request, const ExportVulAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, exportVul(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ExportVulOutcomeCallable AegisClient::exportVulCallable(const ExportVulRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->exportVul(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeVulTargetStatisticsOutcome AegisClient::describeVulTargetStatistics(const DescribeVulTargetStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVulTargetStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVulTargetStatisticsOutcome(DescribeVulTargetStatisticsResult(outcome.result())); + else + return DescribeVulTargetStatisticsOutcome(outcome.error()); +} + +void AegisClient::describeVulTargetStatisticsAsync(const DescribeVulTargetStatisticsRequest& request, const DescribeVulTargetStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVulTargetStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeVulTargetStatisticsOutcomeCallable AegisClient::describeVulTargetStatisticsCallable(const DescribeVulTargetStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVulTargetStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AegisClient::DescribeSuspiciousEventsOutcome AegisClient::describeSuspiciousEvents(const DescribeSuspiciousEventsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -411,144 +5775,36 @@ AegisClient::CreateInstanceOutcomeCallable AegisClient::createInstanceCallable(c return task->get_future(); } -AegisClient::DescribeVulListOutcome AegisClient::describeVulList(const DescribeVulListRequest &request) const +AegisClient::DescribeMachineConfigOutcome AegisClient::describeMachineConfig(const DescribeMachineConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeVulListOutcome(endpointOutcome.error()); + return DescribeMachineConfigOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeVulListOutcome(DescribeVulListResult(outcome.result())); + return DescribeMachineConfigOutcome(DescribeMachineConfigResult(outcome.result())); else - return DescribeVulListOutcome(outcome.error()); + return DescribeMachineConfigOutcome(outcome.error()); } -void AegisClient::describeVulListAsync(const DescribeVulListRequest& request, const DescribeVulListAsyncHandler& handler, const std::shared_ptr& context) const +void AegisClient::describeMachineConfigAsync(const DescribeMachineConfigRequest& request, const DescribeMachineConfigAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeVulList(request), context); + handler(this, request, describeMachineConfig(request), context); }; asyncExecute(new Runnable(fn)); } -AegisClient::DescribeVulListOutcomeCallable AegisClient::describeVulListCallable(const DescribeVulListRequest &request) const +AegisClient::DescribeMachineConfigOutcomeCallable AegisClient::describeMachineConfigCallable(const DescribeMachineConfigRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeVulList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -AegisClient::UpgradeInstanceOutcome AegisClient::upgradeInstance(const UpgradeInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpgradeInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpgradeInstanceOutcome(UpgradeInstanceResult(outcome.result())); - else - return UpgradeInstanceOutcome(outcome.error()); -} - -void AegisClient::upgradeInstanceAsync(const UpgradeInstanceRequest& request, const UpgradeInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, upgradeInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -AegisClient::UpgradeInstanceOutcomeCallable AegisClient::upgradeInstanceCallable(const UpgradeInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->upgradeInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -AegisClient::RenewInstanceOutcome AegisClient::renewInstance(const RenewInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RenewInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RenewInstanceOutcome(RenewInstanceResult(outcome.result())); - else - return RenewInstanceOutcome(outcome.error()); -} - -void AegisClient::renewInstanceAsync(const RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, renewInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -AegisClient::RenewInstanceOutcomeCallable AegisClient::renewInstanceCallable(const RenewInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->renewInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -AegisClient::DescribeStrategyTargetOutcome AegisClient::describeStrategyTarget(const DescribeStrategyTargetRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeStrategyTargetOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeStrategyTargetOutcome(DescribeStrategyTargetResult(outcome.result())); - else - return DescribeStrategyTargetOutcome(outcome.error()); -} - -void AegisClient::describeStrategyTargetAsync(const DescribeStrategyTargetRequest& request, const DescribeStrategyTargetAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeStrategyTarget(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -AegisClient::DescribeStrategyTargetOutcomeCallable AegisClient::describeStrategyTargetCallable(const DescribeStrategyTargetRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeStrategyTarget(request); + return this->describeMachineConfig(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -591,180 +5847,864 @@ AegisClient::QueryLoginEventOutcomeCallable AegisClient::queryLoginEventCallable return task->get_future(); } -AegisClient::GetAccountStatisticsOutcome AegisClient::getAccountStatistics(const GetAccountStatisticsRequest &request) const +AegisClient::TransformLeakageOutcome AegisClient::transformLeakage(const TransformLeakageRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return GetAccountStatisticsOutcome(endpointOutcome.error()); + return TransformLeakageOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return GetAccountStatisticsOutcome(GetAccountStatisticsResult(outcome.result())); + return TransformLeakageOutcome(TransformLeakageResult(outcome.result())); else - return GetAccountStatisticsOutcome(outcome.error()); + return TransformLeakageOutcome(outcome.error()); } -void AegisClient::getAccountStatisticsAsync(const GetAccountStatisticsRequest& request, const GetAccountStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +void AegisClient::transformLeakageAsync(const TransformLeakageRequest& request, const TransformLeakageAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, getAccountStatistics(request), context); + handler(this, request, transformLeakage(request), context); }; asyncExecute(new Runnable(fn)); } -AegisClient::GetAccountStatisticsOutcomeCallable AegisClient::getAccountStatisticsCallable(const GetAccountStatisticsRequest &request) const +AegisClient::TransformLeakageOutcomeCallable AegisClient::transformLeakageCallable(const TransformLeakageRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->getAccountStatistics(request); + return this->transformLeakage(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -AegisClient::ModifyStrategyOutcome AegisClient::modifyStrategy(const ModifyStrategyRequest &request) const +AegisClient::DescribeAssetListOutcome AegisClient::describeAssetList(const DescribeAssetListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ModifyStrategyOutcome(endpointOutcome.error()); + return DescribeAssetListOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ModifyStrategyOutcome(ModifyStrategyResult(outcome.result())); + return DescribeAssetListOutcome(DescribeAssetListResult(outcome.result())); else - return ModifyStrategyOutcome(outcome.error()); + return DescribeAssetListOutcome(outcome.error()); } -void AegisClient::modifyStrategyAsync(const ModifyStrategyRequest& request, const ModifyStrategyAsyncHandler& handler, const std::shared_ptr& context) const +void AegisClient::describeAssetListAsync(const DescribeAssetListRequest& request, const DescribeAssetListAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, modifyStrategy(request), context); + handler(this, request, describeAssetList(request), context); }; asyncExecute(new Runnable(fn)); } -AegisClient::ModifyStrategyOutcomeCallable AegisClient::modifyStrategyCallable(const ModifyStrategyRequest &request) const +AegisClient::DescribeAssetListOutcomeCallable AegisClient::describeAssetListCallable(const DescribeAssetListRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->modifyStrategy(request); + return this->describeAssetList(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -AegisClient::ModifyStrategyTargetOutcome AegisClient::modifyStrategyTarget(const ModifyStrategyTargetRequest &request) const +AegisClient::ModifyMachineConfigOutcome AegisClient::modifyMachineConfig(const ModifyMachineConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ModifyStrategyTargetOutcome(endpointOutcome.error()); + return ModifyMachineConfigOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ModifyStrategyTargetOutcome(ModifyStrategyTargetResult(outcome.result())); + return ModifyMachineConfigOutcome(ModifyMachineConfigResult(outcome.result())); else - return ModifyStrategyTargetOutcome(outcome.error()); + return ModifyMachineConfigOutcome(outcome.error()); } -void AegisClient::modifyStrategyTargetAsync(const ModifyStrategyTargetRequest& request, const ModifyStrategyTargetAsyncHandler& handler, const std::shared_ptr& context) const +void AegisClient::modifyMachineConfigAsync(const ModifyMachineConfigRequest& request, const ModifyMachineConfigAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, modifyStrategyTarget(request), context); + handler(this, request, modifyMachineConfig(request), context); }; asyncExecute(new Runnable(fn)); } -AegisClient::ModifyStrategyTargetOutcomeCallable AegisClient::modifyStrategyTargetCallable(const ModifyStrategyTargetRequest &request) const +AegisClient::ModifyMachineConfigOutcomeCallable AegisClient::modifyMachineConfigCallable(const ModifyMachineConfigRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->modifyStrategyTarget(request); + return this->modifyMachineConfig(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -AegisClient::ModifyBatchIgnoreVulOutcome AegisClient::modifyBatchIgnoreVul(const ModifyBatchIgnoreVulRequest &request) const +AegisClient::DescribeVersionConfigOutcome AegisClient::describeVersionConfig(const DescribeVersionConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ModifyBatchIgnoreVulOutcome(endpointOutcome.error()); + return DescribeVersionConfigOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ModifyBatchIgnoreVulOutcome(ModifyBatchIgnoreVulResult(outcome.result())); + return DescribeVersionConfigOutcome(DescribeVersionConfigResult(outcome.result())); else - return ModifyBatchIgnoreVulOutcome(outcome.error()); + return DescribeVersionConfigOutcome(outcome.error()); } -void AegisClient::modifyBatchIgnoreVulAsync(const ModifyBatchIgnoreVulRequest& request, const ModifyBatchIgnoreVulAsyncHandler& handler, const std::shared_ptr& context) const +void AegisClient::describeVersionConfigAsync(const DescribeVersionConfigRequest& request, const DescribeVersionConfigAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, modifyBatchIgnoreVul(request), context); + handler(this, request, describeVersionConfig(request), context); }; asyncExecute(new Runnable(fn)); } -AegisClient::ModifyBatchIgnoreVulOutcomeCallable AegisClient::modifyBatchIgnoreVulCallable(const ModifyBatchIgnoreVulRequest &request) const +AegisClient::DescribeVersionConfigOutcomeCallable AegisClient::describeVersionConfigCallable(const DescribeVersionConfigRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->modifyBatchIgnoreVul(request); + return this->describeVersionConfig(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -AegisClient::DescribeWebshellOutcome AegisClient::describeWebshell(const DescribeWebshellRequest &request) const +AegisClient::DescribeMacConfigOutcome AegisClient::describeMacConfig(const DescribeMacConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeWebshellOutcome(endpointOutcome.error()); + return DescribeMacConfigOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeWebshellOutcome(DescribeWebshellResult(outcome.result())); + return DescribeMacConfigOutcome(DescribeMacConfigResult(outcome.result())); else - return DescribeWebshellOutcome(outcome.error()); + return DescribeMacConfigOutcome(outcome.error()); } -void AegisClient::describeWebshellAsync(const DescribeWebshellRequest& request, const DescribeWebshellAsyncHandler& handler, const std::shared_ptr& context) const +void AegisClient::describeMacConfigAsync(const DescribeMacConfigRequest& request, const DescribeMacConfigAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeWebshell(request), context); + handler(this, request, describeMacConfig(request), context); }; asyncExecute(new Runnable(fn)); } -AegisClient::DescribeWebshellOutcomeCallable AegisClient::describeWebshellCallable(const DescribeWebshellRequest &request) const +AegisClient::DescribeMacConfigOutcomeCallable AegisClient::describeMacConfigCallable(const DescribeMacConfigRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeWebshell(request); + return this->describeMacConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::RollbackQuaraFileOutcome AegisClient::rollbackQuaraFile(const RollbackQuaraFileRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RollbackQuaraFileOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RollbackQuaraFileOutcome(RollbackQuaraFileResult(outcome.result())); + else + return RollbackQuaraFileOutcome(outcome.error()); +} + +void AegisClient::rollbackQuaraFileAsync(const RollbackQuaraFileRequest& request, const RollbackQuaraFileAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, rollbackQuaraFile(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::RollbackQuaraFileOutcomeCallable AegisClient::rollbackQuaraFileCallable(const RollbackQuaraFileRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->rollbackQuaraFile(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeApiBuySummaryOutcome AegisClient::describeApiBuySummary(const DescribeApiBuySummaryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeApiBuySummaryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeApiBuySummaryOutcome(DescribeApiBuySummaryResult(outcome.result())); + else + return DescribeApiBuySummaryOutcome(outcome.error()); +} + +void AegisClient::describeApiBuySummaryAsync(const DescribeApiBuySummaryRequest& request, const DescribeApiBuySummaryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeApiBuySummary(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeApiBuySummaryOutcomeCallable AegisClient::describeApiBuySummaryCallable(const DescribeApiBuySummaryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeApiBuySummary(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeWebLockMachineListOutcome AegisClient::describeWebLockMachineList(const DescribeWebLockMachineListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWebLockMachineListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWebLockMachineListOutcome(DescribeWebLockMachineListResult(outcome.result())); + else + return DescribeWebLockMachineListOutcome(outcome.error()); +} + +void AegisClient::describeWebLockMachineListAsync(const DescribeWebLockMachineListRequest& request, const DescribeWebLockMachineListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWebLockMachineList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeWebLockMachineListOutcomeCallable AegisClient::describeWebLockMachineListCallable(const DescribeWebLockMachineListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWebLockMachineList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DeleteVulBatchOutcome AegisClient::deleteVulBatch(const DeleteVulBatchRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteVulBatchOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteVulBatchOutcome(DeleteVulBatchResult(outcome.result())); + else + return DeleteVulBatchOutcome(outcome.error()); +} + +void AegisClient::deleteVulBatchAsync(const DeleteVulBatchRequest& request, const DeleteVulBatchAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteVulBatch(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DeleteVulBatchOutcomeCallable AegisClient::deleteVulBatchCallable(const DeleteVulBatchRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteVulBatch(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyWebLockStatusOutcome AegisClient::modifyWebLockStatus(const ModifyWebLockStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyWebLockStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyWebLockStatusOutcome(ModifyWebLockStatusResult(outcome.result())); + else + return ModifyWebLockStatusOutcome(outcome.error()); +} + +void AegisClient::modifyWebLockStatusAsync(const ModifyWebLockStatusRequest& request, const ModifyWebLockStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyWebLockStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyWebLockStatusOutcomeCallable AegisClient::modifyWebLockStatusCallable(const ModifyWebLockStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyWebLockStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::UpdateWhiteListProcessStatusOutcome AegisClient::updateWhiteListProcessStatus(const UpdateWhiteListProcessStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateWhiteListProcessStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateWhiteListProcessStatusOutcome(UpdateWhiteListProcessStatusResult(outcome.result())); + else + return UpdateWhiteListProcessStatusOutcome(outcome.error()); +} + +void AegisClient::updateWhiteListProcessStatusAsync(const UpdateWhiteListProcessStatusRequest& request, const UpdateWhiteListProcessStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateWhiteListProcessStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::UpdateWhiteListProcessStatusOutcomeCallable AegisClient::updateWhiteListProcessStatusCallable(const UpdateWhiteListProcessStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateWhiteListProcessStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeScreenSettingOutcome AegisClient::describeScreenSetting(const DescribeScreenSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeScreenSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeScreenSettingOutcome(DescribeScreenSettingResult(outcome.result())); + else + return DescribeScreenSettingOutcome(outcome.error()); +} + +void AegisClient::describeScreenSettingAsync(const DescribeScreenSettingRequest& request, const DescribeScreenSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeScreenSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeScreenSettingOutcomeCallable AegisClient::describeScreenSettingCallable(const DescribeScreenSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeScreenSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::CreateLogQueryOutcome AegisClient::createLogQuery(const CreateLogQueryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateLogQueryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateLogQueryOutcome(CreateLogQueryResult(outcome.result())); + else + return CreateLogQueryOutcome(outcome.error()); +} + +void AegisClient::createLogQueryAsync(const CreateLogQueryRequest& request, const CreateLogQueryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createLogQuery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::CreateLogQueryOutcomeCallable AegisClient::createLogQueryCallable(const CreateLogQueryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createLogQuery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeWarningOutcome AegisClient::describeWarning(const DescribeWarningRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWarningOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWarningOutcome(DescribeWarningResult(outcome.result())); + else + return DescribeWarningOutcome(outcome.error()); +} + +void AegisClient::describeWarningAsync(const DescribeWarningRequest& request, const DescribeWarningAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWarning(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeWarningOutcomeCallable AegisClient::describeWarningCallable(const DescribeWarningRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWarning(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeWhiteListProcessOutcome AegisClient::describeWhiteListProcess(const DescribeWhiteListProcessRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWhiteListProcessOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWhiteListProcessOutcome(DescribeWhiteListProcessResult(outcome.result())); + else + return DescribeWhiteListProcessOutcome(outcome.error()); +} + +void AegisClient::describeWhiteListProcessAsync(const DescribeWhiteListProcessRequest& request, const DescribeWhiteListProcessAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWhiteListProcess(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeWhiteListProcessOutcomeCallable AegisClient::describeWhiteListProcessCallable(const DescribeWhiteListProcessRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWhiteListProcess(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeStrategyExecDetailOutcome AegisClient::describeStrategyExecDetail(const DescribeStrategyExecDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeStrategyExecDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeStrategyExecDetailOutcome(DescribeStrategyExecDetailResult(outcome.result())); + else + return DescribeStrategyExecDetailOutcome(outcome.error()); +} + +void AegisClient::describeStrategyExecDetailAsync(const DescribeStrategyExecDetailRequest& request, const DescribeStrategyExecDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeStrategyExecDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeStrategyExecDetailOutcomeCallable AegisClient::describeStrategyExecDetailCallable(const DescribeStrategyExecDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeStrategyExecDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeListAccessKeyIdAuthOutcome AegisClient::describeListAccessKeyIdAuth(const DescribeListAccessKeyIdAuthRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeListAccessKeyIdAuthOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeListAccessKeyIdAuthOutcome(DescribeListAccessKeyIdAuthResult(outcome.result())); + else + return DescribeListAccessKeyIdAuthOutcome(outcome.error()); +} + +void AegisClient::describeListAccessKeyIdAuthAsync(const DescribeListAccessKeyIdAuthRequest& request, const DescribeListAccessKeyIdAuthAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeListAccessKeyIdAuth(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeListAccessKeyIdAuthOutcomeCallable AegisClient::describeListAccessKeyIdAuthCallable(const DescribeListAccessKeyIdAuthRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeListAccessKeyIdAuth(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeTopRiskyAssetsOutcome AegisClient::describeTopRiskyAssets(const DescribeTopRiskyAssetsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTopRiskyAssetsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTopRiskyAssetsOutcome(DescribeTopRiskyAssetsResult(outcome.result())); + else + return DescribeTopRiskyAssetsOutcome(outcome.error()); +} + +void AegisClient::describeTopRiskyAssetsAsync(const DescribeTopRiskyAssetsRequest& request, const DescribeTopRiskyAssetsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTopRiskyAssets(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeTopRiskyAssetsOutcomeCallable AegisClient::describeTopRiskyAssetsCallable(const DescribeTopRiskyAssetsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTopRiskyAssets(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeWebLockBindListOutcome AegisClient::describeWebLockBindList(const DescribeWebLockBindListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWebLockBindListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWebLockBindListOutcome(DescribeWebLockBindListResult(outcome.result())); + else + return DescribeWebLockBindListOutcome(outcome.error()); +} + +void AegisClient::describeWebLockBindListAsync(const DescribeWebLockBindListRequest& request, const DescribeWebLockBindListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWebLockBindList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeWebLockBindListOutcomeCallable AegisClient::describeWebLockBindListCallable(const DescribeWebLockBindListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWebLockBindList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyOpenLogShipperOutcome AegisClient::modifyOpenLogShipper(const ModifyOpenLogShipperRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyOpenLogShipperOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyOpenLogShipperOutcome(ModifyOpenLogShipperResult(outcome.result())); + else + return ModifyOpenLogShipperOutcome(outcome.error()); +} + +void AegisClient::modifyOpenLogShipperAsync(const ModifyOpenLogShipperRequest& request, const ModifyOpenLogShipperAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyOpenLogShipper(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyOpenLogShipperOutcomeCallable AegisClient::modifyOpenLogShipperCallable(const ModifyOpenLogShipperRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyOpenLogShipper(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::UpdateWhiteListStrategyStatusOutcome AegisClient::updateWhiteListStrategyStatus(const UpdateWhiteListStrategyStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateWhiteListStrategyStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateWhiteListStrategyStatusOutcome(UpdateWhiteListStrategyStatusResult(outcome.result())); + else + return UpdateWhiteListStrategyStatusOutcome(outcome.error()); +} + +void AegisClient::updateWhiteListStrategyStatusAsync(const UpdateWhiteListStrategyStatusRequest& request, const UpdateWhiteListStrategyStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateWhiteListStrategyStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::UpdateWhiteListStrategyStatusOutcomeCallable AegisClient::updateWhiteListStrategyStatusCallable(const UpdateWhiteListStrategyStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateWhiteListStrategyStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DeleteVulWhitelistOutcome AegisClient::deleteVulWhitelist(const DeleteVulWhitelistRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteVulWhitelistOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteVulWhitelistOutcome(DeleteVulWhitelistResult(outcome.result())); + else + return DeleteVulWhitelistOutcome(outcome.error()); +} + +void AegisClient::deleteVulWhitelistAsync(const DeleteVulWhitelistRequest& request, const DeleteVulWhitelistAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteVulWhitelist(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DeleteVulWhitelistOutcomeCallable AegisClient::deleteVulWhitelistCallable(const DeleteVulWhitelistRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteVulWhitelist(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeVulMachineListOutcome AegisClient::describeVulMachineList(const DescribeVulMachineListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVulMachineListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVulMachineListOutcome(DescribeVulMachineListResult(outcome.result())); + else + return DescribeVulMachineListOutcome(outcome.error()); +} + +void AegisClient::describeVulMachineListAsync(const DescribeVulMachineListRequest& request, const DescribeVulMachineListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVulMachineList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeVulMachineListOutcomeCallable AegisClient::describeVulMachineListCallable(const DescribeVulMachineListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVulMachineList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeAnalysisLogsOutcome AegisClient::describeAnalysisLogs(const DescribeAnalysisLogsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAnalysisLogsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAnalysisLogsOutcome(DescribeAnalysisLogsResult(outcome.result())); + else + return DescribeAnalysisLogsOutcome(outcome.error()); +} + +void AegisClient::describeAnalysisLogsAsync(const DescribeAnalysisLogsRequest& request, const DescribeAnalysisLogsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAnalysisLogs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeAnalysisLogsOutcomeCallable AegisClient::describeAnalysisLogsCallable(const DescribeAnalysisLogsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAnalysisLogs(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -807,36 +6747,72 @@ AegisClient::DescribeStratetyDetailOutcomeCallable AegisClient::describeStratety return task->get_future(); } -AegisClient::DescribeStratetyOutcome AegisClient::describeStratety(const DescribeStratetyRequest &request) const +AegisClient::DescribeHistogramOutcome AegisClient::describeHistogram(const DescribeHistogramRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeStratetyOutcome(endpointOutcome.error()); + return DescribeHistogramOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeStratetyOutcome(DescribeStratetyResult(outcome.result())); + return DescribeHistogramOutcome(DescribeHistogramResult(outcome.result())); else - return DescribeStratetyOutcome(outcome.error()); + return DescribeHistogramOutcome(outcome.error()); } -void AegisClient::describeStratetyAsync(const DescribeStratetyRequest& request, const DescribeStratetyAsyncHandler& handler, const std::shared_ptr& context) const +void AegisClient::describeHistogramAsync(const DescribeHistogramRequest& request, const DescribeHistogramAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeStratety(request), context); + handler(this, request, describeHistogram(request), context); }; asyncExecute(new Runnable(fn)); } -AegisClient::DescribeStratetyOutcomeCallable AegisClient::describeStratetyCallable(const DescribeStratetyRequest &request) const +AegisClient::DescribeHistogramOutcomeCallable AegisClient::describeHistogramCallable(const DescribeHistogramRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeStratety(request); + return this->describeHistogram(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeDingTalkOutcome AegisClient::describeDingTalk(const DescribeDingTalkRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDingTalkOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDingTalkOutcome(DescribeDingTalkResult(outcome.result())); + else + return DescribeDingTalkOutcome(outcome.error()); +} + +void AegisClient::describeDingTalkAsync(const DescribeDingTalkRequest& request, const DescribeDingTalkAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDingTalk(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeDingTalkOutcomeCallable AegisClient::describeDingTalkCallable(const DescribeDingTalkRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDingTalk(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -879,36 +6855,1260 @@ AegisClient::DescribeLoginLogsOutcomeCallable AegisClient::describeLoginLogsCall return task->get_future(); } -AegisClient::QueryCrackEventOutcome AegisClient::queryCrackEvent(const QueryCrackEventRequest &request) const +AegisClient::DescribeMetaDataOutcome AegisClient::describeMetaData(const DescribeMetaDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return QueryCrackEventOutcome(endpointOutcome.error()); + return DescribeMetaDataOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return QueryCrackEventOutcome(QueryCrackEventResult(outcome.result())); + return DescribeMetaDataOutcome(DescribeMetaDataResult(outcome.result())); else - return QueryCrackEventOutcome(outcome.error()); + return DescribeMetaDataOutcome(outcome.error()); } -void AegisClient::queryCrackEventAsync(const QueryCrackEventRequest& request, const QueryCrackEventAsyncHandler& handler, const std::shared_ptr& context) const +void AegisClient::describeMetaDataAsync(const DescribeMetaDataRequest& request, const DescribeMetaDataAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, queryCrackEvent(request), context); + handler(this, request, describeMetaData(request), context); }; asyncExecute(new Runnable(fn)); } -AegisClient::QueryCrackEventOutcomeCallable AegisClient::queryCrackEventCallable(const QueryCrackEventRequest &request) const +AegisClient::DescribeMetaDataOutcomeCallable AegisClient::describeMetaDataCallable(const DescribeMetaDataRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->queryCrackEvent(request); + return this->describeMetaData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeWebLockStatusOutcome AegisClient::describeWebLockStatus(const DescribeWebLockStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWebLockStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWebLockStatusOutcome(DescribeWebLockStatusResult(outcome.result())); + else + return DescribeWebLockStatusOutcome(outcome.error()); +} + +void AegisClient::describeWebLockStatusAsync(const DescribeWebLockStatusRequest& request, const DescribeWebLockStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWebLockStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeWebLockStatusOutcomeCallable AegisClient::describeWebLockStatusCallable(const DescribeWebLockStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWebLockStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeEmgVulGroupOutcome AegisClient::describeEmgVulGroup(const DescribeEmgVulGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeEmgVulGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeEmgVulGroupOutcome(DescribeEmgVulGroupResult(outcome.result())); + else + return DescribeEmgVulGroupOutcome(outcome.error()); +} + +void AegisClient::describeEmgVulGroupAsync(const DescribeEmgVulGroupRequest& request, const DescribeEmgVulGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeEmgVulGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeEmgVulGroupOutcomeCallable AegisClient::describeEmgVulGroupCallable(const DescribeEmgVulGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeEmgVulGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeNsasSuspEventTypeOutcome AegisClient::describeNsasSuspEventType(const DescribeNsasSuspEventTypeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeNsasSuspEventTypeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeNsasSuspEventTypeOutcome(DescribeNsasSuspEventTypeResult(outcome.result())); + else + return DescribeNsasSuspEventTypeOutcome(outcome.error()); +} + +void AegisClient::describeNsasSuspEventTypeAsync(const DescribeNsasSuspEventTypeRequest& request, const DescribeNsasSuspEventTypeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeNsasSuspEventType(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeNsasSuspEventTypeOutcomeCallable AegisClient::describeNsasSuspEventTypeCallable(const DescribeNsasSuspEventTypeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeNsasSuspEventType(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyScreenSettingOutcome AegisClient::modifyScreenSetting(const ModifyScreenSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyScreenSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyScreenSettingOutcome(ModifyScreenSettingResult(outcome.result())); + else + return ModifyScreenSettingOutcome(outcome.error()); +} + +void AegisClient::modifyScreenSettingAsync(const ModifyScreenSettingRequest& request, const ModifyScreenSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyScreenSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyScreenSettingOutcomeCallable AegisClient::modifyScreenSettingCallable(const ModifyScreenSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyScreenSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyStrategyOutcome AegisClient::modifyStrategy(const ModifyStrategyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyStrategyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyStrategyOutcome(ModifyStrategyResult(outcome.result())); + else + return ModifyStrategyOutcome(outcome.error()); +} + +void AegisClient::modifyStrategyAsync(const ModifyStrategyRequest& request, const ModifyStrategyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyStrategy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyStrategyOutcomeCallable AegisClient::modifyStrategyCallable(const ModifyStrategyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyStrategy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeEmgNoticeOutcome AegisClient::describeEmgNotice(const DescribeEmgNoticeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeEmgNoticeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeEmgNoticeOutcome(DescribeEmgNoticeResult(outcome.result())); + else + return DescribeEmgNoticeOutcome(outcome.error()); +} + +void AegisClient::describeEmgNoticeAsync(const DescribeEmgNoticeRequest& request, const DescribeEmgNoticeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeEmgNotice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeEmgNoticeOutcomeCallable AegisClient::describeEmgNoticeCallable(const DescribeEmgNoticeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeEmgNotice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeScreenOperateInfoOutcome AegisClient::describeScreenOperateInfo(const DescribeScreenOperateInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeScreenOperateInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeScreenOperateInfoOutcome(DescribeScreenOperateInfoResult(outcome.result())); + else + return DescribeScreenOperateInfoOutcome(outcome.error()); +} + +void AegisClient::describeScreenOperateInfoAsync(const DescribeScreenOperateInfoRequest& request, const DescribeScreenOperateInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeScreenOperateInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeScreenOperateInfoOutcomeCallable AegisClient::describeScreenOperateInfoCallable(const DescribeScreenOperateInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeScreenOperateInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeJoinRuleListOutcome AegisClient::describeJoinRuleList(const DescribeJoinRuleListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeJoinRuleListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeJoinRuleListOutcome(DescribeJoinRuleListResult(outcome.result())); + else + return DescribeJoinRuleListOutcome(outcome.error()); +} + +void AegisClient::describeJoinRuleListAsync(const DescribeJoinRuleListRequest& request, const DescribeJoinRuleListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeJoinRuleList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeJoinRuleListOutcomeCallable AegisClient::describeJoinRuleListCallable(const DescribeJoinRuleListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeJoinRuleList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSuspEventQuaraFilesOutcome AegisClient::describeSuspEventQuaraFiles(const DescribeSuspEventQuaraFilesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSuspEventQuaraFilesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSuspEventQuaraFilesOutcome(DescribeSuspEventQuaraFilesResult(outcome.result())); + else + return DescribeSuspEventQuaraFilesOutcome(outcome.error()); +} + +void AegisClient::describeSuspEventQuaraFilesAsync(const DescribeSuspEventQuaraFilesRequest& request, const DescribeSuspEventQuaraFilesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSuspEventQuaraFiles(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSuspEventQuaraFilesOutcomeCallable AegisClient::describeSuspEventQuaraFilesCallable(const DescribeSuspEventQuaraFilesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSuspEventQuaraFiles(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ValidateHcWarningsOutcome AegisClient::validateHcWarnings(const ValidateHcWarningsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ValidateHcWarningsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ValidateHcWarningsOutcome(ValidateHcWarningsResult(outcome.result())); + else + return ValidateHcWarningsOutcome(outcome.error()); +} + +void AegisClient::validateHcWarningsAsync(const ValidateHcWarningsRequest& request, const ValidateHcWarningsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, validateHcWarnings(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ValidateHcWarningsOutcomeCallable AegisClient::validateHcWarningsCallable(const ValidateHcWarningsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->validateHcWarnings(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::CreateOrUpdateJoinRuleOutcome AegisClient::createOrUpdateJoinRule(const CreateOrUpdateJoinRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateOrUpdateJoinRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateOrUpdateJoinRuleOutcome(CreateOrUpdateJoinRuleResult(outcome.result())); + else + return CreateOrUpdateJoinRuleOutcome(outcome.error()); +} + +void AegisClient::createOrUpdateJoinRuleAsync(const CreateOrUpdateJoinRuleRequest& request, const CreateOrUpdateJoinRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createOrUpdateJoinRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::CreateOrUpdateJoinRuleOutcomeCallable AegisClient::createOrUpdateJoinRuleCallable(const CreateOrUpdateJoinRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createOrUpdateJoinRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::AutoUpgradeSasOutcome AegisClient::autoUpgradeSas(const AutoUpgradeSasRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AutoUpgradeSasOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AutoUpgradeSasOutcome(AutoUpgradeSasResult(outcome.result())); + else + return AutoUpgradeSasOutcome(outcome.error()); +} + +void AegisClient::autoUpgradeSasAsync(const AutoUpgradeSasRequest& request, const AutoUpgradeSasAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, autoUpgradeSas(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::AutoUpgradeSasOutcomeCallable AegisClient::autoUpgradeSasCallable(const AutoUpgradeSasRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->autoUpgradeSas(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeEmgUserAgreementOutcome AegisClient::describeEmgUserAgreement(const DescribeEmgUserAgreementRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeEmgUserAgreementOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeEmgUserAgreementOutcome(DescribeEmgUserAgreementResult(outcome.result())); + else + return DescribeEmgUserAgreementOutcome(outcome.error()); +} + +void AegisClient::describeEmgUserAgreementAsync(const DescribeEmgUserAgreementRequest& request, const DescribeEmgUserAgreementAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeEmgUserAgreement(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeEmgUserAgreementOutcomeCallable AegisClient::describeEmgUserAgreementCallable(const DescribeEmgUserAgreementRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeEmgUserAgreement(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyWebLockMachineListOutcome AegisClient::modifyWebLockMachineList(const ModifyWebLockMachineListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyWebLockMachineListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyWebLockMachineListOutcome(ModifyWebLockMachineListResult(outcome.result())); + else + return ModifyWebLockMachineListOutcome(outcome.error()); +} + +void AegisClient::modifyWebLockMachineListAsync(const ModifyWebLockMachineListRequest& request, const ModifyWebLockMachineListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyWebLockMachineList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyWebLockMachineListOutcomeCallable AegisClient::modifyWebLockMachineListCallable(const ModifyWebLockMachineListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyWebLockMachineList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyEmgVulSubmitOutcome AegisClient::modifyEmgVulSubmit(const ModifyEmgVulSubmitRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyEmgVulSubmitOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyEmgVulSubmitOutcome(ModifyEmgVulSubmitResult(outcome.result())); + else + return ModifyEmgVulSubmitOutcome(outcome.error()); +} + +void AegisClient::modifyEmgVulSubmitAsync(const ModifyEmgVulSubmitRequest& request, const ModifyEmgVulSubmitAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyEmgVulSubmit(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyEmgVulSubmitOutcomeCallable AegisClient::modifyEmgVulSubmitCallable(const ModifyEmgVulSubmitRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyEmgVulSubmit(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DeleteLogQueryOutcome AegisClient::deleteLogQuery(const DeleteLogQueryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLogQueryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLogQueryOutcome(DeleteLogQueryResult(outcome.result())); + else + return DeleteLogQueryOutcome(outcome.error()); +} + +void AegisClient::deleteLogQueryAsync(const DeleteLogQueryRequest& request, const DeleteLogQueryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLogQuery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DeleteLogQueryOutcomeCallable AegisClient::deleteLogQueryCallable(const DeleteLogQueryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLogQuery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyTargetConfigOutcome AegisClient::modifyTargetConfig(const ModifyTargetConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyTargetConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyTargetConfigOutcome(ModifyTargetConfigResult(outcome.result())); + else + return ModifyTargetConfigOutcome(outcome.error()); +} + +void AegisClient::modifyTargetConfigAsync(const ModifyTargetConfigRequest& request, const ModifyTargetConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyTargetConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyTargetConfigOutcomeCallable AegisClient::modifyTargetConfigCallable(const ModifyTargetConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyTargetConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::IgnoreHcCheckWarningsOutcome AegisClient::ignoreHcCheckWarnings(const IgnoreHcCheckWarningsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return IgnoreHcCheckWarningsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return IgnoreHcCheckWarningsOutcome(IgnoreHcCheckWarningsResult(outcome.result())); + else + return IgnoreHcCheckWarningsOutcome(outcome.error()); +} + +void AegisClient::ignoreHcCheckWarningsAsync(const IgnoreHcCheckWarningsRequest& request, const IgnoreHcCheckWarningsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, ignoreHcCheckWarnings(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::IgnoreHcCheckWarningsOutcomeCallable AegisClient::ignoreHcCheckWarningsCallable(const IgnoreHcCheckWarningsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->ignoreHcCheckWarnings(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeExportInfoOutcome AegisClient::describeExportInfo(const DescribeExportInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeExportInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeExportInfoOutcome(DescribeExportInfoResult(outcome.result())); + else + return DescribeExportInfoOutcome(outcome.error()); +} + +void AegisClient::describeExportInfoAsync(const DescribeExportInfoRequest& request, const DescribeExportInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeExportInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeExportInfoOutcomeCallable AegisClient::describeExportInfoCallable(const DescribeExportInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeExportInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSuspEventUserSettingOutcome AegisClient::describeSuspEventUserSetting(const DescribeSuspEventUserSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSuspEventUserSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSuspEventUserSettingOutcome(DescribeSuspEventUserSettingResult(outcome.result())); + else + return DescribeSuspEventUserSettingOutcome(outcome.error()); +} + +void AegisClient::describeSuspEventUserSettingAsync(const DescribeSuspEventUserSettingRequest& request, const DescribeSuspEventUserSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSuspEventUserSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSuspEventUserSettingOutcomeCallable AegisClient::describeSuspEventUserSettingCallable(const DescribeSuspEventUserSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSuspEventUserSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeWhiteListStrategyCountOutcome AegisClient::describeWhiteListStrategyCount(const DescribeWhiteListStrategyCountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWhiteListStrategyCountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWhiteListStrategyCountOutcome(DescribeWhiteListStrategyCountResult(outcome.result())); + else + return DescribeWhiteListStrategyCountOutcome(outcome.error()); +} + +void AegisClient::describeWhiteListStrategyCountAsync(const DescribeWhiteListStrategyCountRequest& request, const DescribeWhiteListStrategyCountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWhiteListStrategyCount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeWhiteListStrategyCountOutcomeCallable AegisClient::describeWhiteListStrategyCountCallable(const DescribeWhiteListStrategyCountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWhiteListStrategyCount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeVulConfigOutcome AegisClient::describeVulConfig(const DescribeVulConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVulConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVulConfigOutcome(DescribeVulConfigResult(outcome.result())); + else + return DescribeVulConfigOutcome(outcome.error()); +} + +void AegisClient::describeVulConfigAsync(const DescribeVulConfigRequest& request, const DescribeVulConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVulConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeVulConfigOutcomeCallable AegisClient::describeVulConfigCallable(const DescribeVulConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVulConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyWebLockRefreshOutcome AegisClient::modifyWebLockRefresh(const ModifyWebLockRefreshRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyWebLockRefreshOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyWebLockRefreshOutcome(ModifyWebLockRefreshResult(outcome.result())); + else + return ModifyWebLockRefreshOutcome(outcome.error()); +} + +void AegisClient::modifyWebLockRefreshAsync(const ModifyWebLockRefreshRequest& request, const ModifyWebLockRefreshAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyWebLockRefresh(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyWebLockRefreshOutcomeCallable AegisClient::modifyWebLockRefreshCallable(const ModifyWebLockRefreshRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyWebLockRefresh(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeEventCountCurveOutcome AegisClient::describeEventCountCurve(const DescribeEventCountCurveRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeEventCountCurveOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeEventCountCurveOutcome(DescribeEventCountCurveResult(outcome.result())); + else + return DescribeEventCountCurveOutcome(outcome.error()); +} + +void AegisClient::describeEventCountCurveAsync(const DescribeEventCountCurveRequest& request, const DescribeEventCountCurveAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeEventCountCurve(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeEventCountCurveOutcomeCallable AegisClient::describeEventCountCurveCallable(const DescribeEventCountCurveRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeEventCountCurve(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeWhiteListAssetOutcome AegisClient::describeWhiteListAsset(const DescribeWhiteListAssetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeWhiteListAssetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeWhiteListAssetOutcome(DescribeWhiteListAssetResult(outcome.result())); + else + return DescribeWhiteListAssetOutcome(outcome.error()); +} + +void AegisClient::describeWhiteListAssetAsync(const DescribeWhiteListAssetRequest& request, const DescribeWhiteListAssetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeWhiteListAsset(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeWhiteListAssetOutcomeCallable AegisClient::describeWhiteListAssetCallable(const DescribeWhiteListAssetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeWhiteListAsset(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyClearLogstoreStorageOutcome AegisClient::modifyClearLogstoreStorage(const ModifyClearLogstoreStorageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyClearLogstoreStorageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyClearLogstoreStorageOutcome(ModifyClearLogstoreStorageResult(outcome.result())); + else + return ModifyClearLogstoreStorageOutcome(outcome.error()); +} + +void AegisClient::modifyClearLogstoreStorageAsync(const ModifyClearLogstoreStorageRequest& request, const ModifyClearLogstoreStorageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyClearLogstoreStorage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyClearLogstoreStorageOutcomeCallable AegisClient::modifyClearLogstoreStorageCallable(const ModifyClearLogstoreStorageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyClearLogstoreStorage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::ModifyStrategyTargetOutcome AegisClient::modifyStrategyTarget(const ModifyStrategyTargetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyStrategyTargetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyStrategyTargetOutcome(ModifyStrategyTargetResult(outcome.result())); + else + return ModifyStrategyTargetOutcome(outcome.error()); +} + +void AegisClient::modifyStrategyTargetAsync(const ModifyStrategyTargetRequest& request, const ModifyStrategyTargetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyStrategyTarget(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::ModifyStrategyTargetOutcomeCallable AegisClient::modifyStrategyTargetCallable(const ModifyStrategyTargetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyStrategyTarget(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeCheckWarningsOutcome AegisClient::describeCheckWarnings(const DescribeCheckWarningsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCheckWarningsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCheckWarningsOutcome(DescribeCheckWarningsResult(outcome.result())); + else + return DescribeCheckWarningsOutcome(outcome.error()); +} + +void AegisClient::describeCheckWarningsAsync(const DescribeCheckWarningsRequest& request, const DescribeCheckWarningsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCheckWarnings(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeCheckWarningsOutcomeCallable AegisClient::describeCheckWarningsCallable(const DescribeCheckWarningsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCheckWarnings(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeSecurityStatInfoOutcome AegisClient::describeSecurityStatInfo(const DescribeSecurityStatInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSecurityStatInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSecurityStatInfoOutcome(DescribeSecurityStatInfoResult(outcome.result())); + else + return DescribeSecurityStatInfoOutcome(outcome.error()); +} + +void AegisClient::describeSecurityStatInfoAsync(const DescribeSecurityStatInfoRequest& request, const DescribeSecurityStatInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSecurityStatInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeSecurityStatInfoOutcomeCallable AegisClient::describeSecurityStatInfoCallable(const DescribeSecurityStatInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSecurityStatInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::SaveWhiteListStrategyOutcome AegisClient::saveWhiteListStrategy(const SaveWhiteListStrategyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SaveWhiteListStrategyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SaveWhiteListStrategyOutcome(SaveWhiteListStrategyResult(outcome.result())); + else + return SaveWhiteListStrategyOutcome(outcome.error()); +} + +void AegisClient::saveWhiteListStrategyAsync(const SaveWhiteListStrategyRequest& request, const SaveWhiteListStrategyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, saveWhiteListStrategy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::SaveWhiteListStrategyOutcomeCallable AegisClient::saveWhiteListStrategyCallable(const SaveWhiteListStrategyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->saveWhiteListStrategy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeFilterFieldsOutcome AegisClient::describeFilterFields(const DescribeFilterFieldsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeFilterFieldsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeFilterFieldsOutcome(DescribeFilterFieldsResult(outcome.result())); + else + return DescribeFilterFieldsOutcome(outcome.error()); +} + +void AegisClient::describeFilterFieldsAsync(const DescribeFilterFieldsRequest& request, const DescribeFilterFieldsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeFilterFields(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeFilterFieldsOutcomeCallable AegisClient::describeFilterFieldsCallable(const DescribeFilterFieldsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeFilterFields(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeScreenSecurityStatInfoOutcome AegisClient::describeScreenSecurityStatInfo(const DescribeScreenSecurityStatInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeScreenSecurityStatInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeScreenSecurityStatInfoOutcome(DescribeScreenSecurityStatInfoResult(outcome.result())); + else + return DescribeScreenSecurityStatInfoOutcome(outcome.error()); +} + +void AegisClient::describeScreenSecurityStatInfoAsync(const DescribeScreenSecurityStatInfoRequest& request, const DescribeScreenSecurityStatInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeScreenSecurityStatInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeScreenSecurityStatInfoOutcomeCallable AegisClient::describeScreenSecurityStatInfoCallable(const DescribeScreenSecurityStatInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeScreenSecurityStatInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::OperateSuspiciousOverallConfigOutcome AegisClient::operateSuspiciousOverallConfig(const OperateSuspiciousOverallConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return OperateSuspiciousOverallConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return OperateSuspiciousOverallConfigOutcome(OperateSuspiciousOverallConfigResult(outcome.result())); + else + return OperateSuspiciousOverallConfigOutcome(outcome.error()); +} + +void AegisClient::operateSuspiciousOverallConfigAsync(const OperateSuspiciousOverallConfigRequest& request, const OperateSuspiciousOverallConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, operateSuspiciousOverallConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::OperateSuspiciousOverallConfigOutcomeCallable AegisClient::operateSuspiciousOverallConfigCallable(const OperateSuspiciousOverallConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->operateSuspiciousOverallConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AegisClient::DescribeInstanceStatisticsOutcome AegisClient::describeInstanceStatistics(const DescribeInstanceStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeInstanceStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeInstanceStatisticsOutcome(DescribeInstanceStatisticsResult(outcome.result())); + else + return DescribeInstanceStatisticsOutcome(outcome.error()); +} + +void AegisClient::describeInstanceStatisticsAsync(const DescribeInstanceStatisticsRequest& request, const DescribeInstanceStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeInstanceStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AegisClient::DescribeInstanceStatisticsOutcomeCallable AegisClient::describeInstanceStatisticsCallable(const DescribeInstanceStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeInstanceStatistics(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); diff --git a/aegis/src/model/AutoUpgradeSasRequest.cc b/aegis/src/model/AutoUpgradeSasRequest.cc new file mode 100644 index 000000000..e3cea9056 --- /dev/null +++ b/aegis/src/model/AutoUpgradeSasRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::AutoUpgradeSasRequest; + +AutoUpgradeSasRequest::AutoUpgradeSasRequest() : + RpcServiceRequest("aegis", "2016-11-11", "AutoUpgradeSas") +{} + +AutoUpgradeSasRequest::~AutoUpgradeSasRequest() +{} + +std::string AutoUpgradeSasRequest::getSourceIp()const +{ + return sourceIp_; +} + +void AutoUpgradeSasRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/AutoUpgradeSasResult.cc b/aegis/src/model/AutoUpgradeSasResult.cc new file mode 100644 index 000000000..a35aac61d --- /dev/null +++ b/aegis/src/model/AutoUpgradeSasResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +AutoUpgradeSasResult::AutoUpgradeSasResult() : + ServiceResult() +{} + +AutoUpgradeSasResult::AutoUpgradeSasResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AutoUpgradeSasResult::~AutoUpgradeSasResult() +{} + +void AutoUpgradeSasResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool AutoUpgradeSasResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/AutoUpgradeToSasAdvancedVersionRequest.cc b/aegis/src/model/AutoUpgradeToSasAdvancedVersionRequest.cc new file mode 100644 index 000000000..5fe1cc250 --- /dev/null +++ b/aegis/src/model/AutoUpgradeToSasAdvancedVersionRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::AutoUpgradeToSasAdvancedVersionRequest; + +AutoUpgradeToSasAdvancedVersionRequest::AutoUpgradeToSasAdvancedVersionRequest() : + RpcServiceRequest("aegis", "2016-11-11", "AutoUpgradeToSasAdvancedVersion") +{} + +AutoUpgradeToSasAdvancedVersionRequest::~AutoUpgradeToSasAdvancedVersionRequest() +{} + +std::string AutoUpgradeToSasAdvancedVersionRequest::getSourceIp()const +{ + return sourceIp_; +} + +void AutoUpgradeToSasAdvancedVersionRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/AutoUpgradeToSasAdvancedVersionResult.cc b/aegis/src/model/AutoUpgradeToSasAdvancedVersionResult.cc new file mode 100644 index 000000000..db3731457 --- /dev/null +++ b/aegis/src/model/AutoUpgradeToSasAdvancedVersionResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +AutoUpgradeToSasAdvancedVersionResult::AutoUpgradeToSasAdvancedVersionResult() : + ServiceResult() +{} + +AutoUpgradeToSasAdvancedVersionResult::AutoUpgradeToSasAdvancedVersionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AutoUpgradeToSasAdvancedVersionResult::~AutoUpgradeToSasAdvancedVersionResult() +{} + +void AutoUpgradeToSasAdvancedVersionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/BatchDeleteWhiteListRequest.cc b/aegis/src/model/BatchDeleteWhiteListRequest.cc new file mode 100644 index 000000000..e9a70d006 --- /dev/null +++ b/aegis/src/model/BatchDeleteWhiteListRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::BatchDeleteWhiteListRequest; + +BatchDeleteWhiteListRequest::BatchDeleteWhiteListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "BatchDeleteWhiteList") +{} + +BatchDeleteWhiteListRequest::~BatchDeleteWhiteListRequest() +{} + +std::string BatchDeleteWhiteListRequest::getRiskIdList()const +{ + return riskIdList_; +} + +void BatchDeleteWhiteListRequest::setRiskIdList(const std::string& riskIdList) +{ + riskIdList_ = riskIdList; + setCoreParameter("RiskIdList", riskIdList); +} + +std::string BatchDeleteWhiteListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void BatchDeleteWhiteListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/BatchDeleteWhiteListResult.cc b/aegis/src/model/BatchDeleteWhiteListResult.cc new file mode 100644 index 000000000..bf730c1e7 --- /dev/null +++ b/aegis/src/model/BatchDeleteWhiteListResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +BatchDeleteWhiteListResult::BatchDeleteWhiteListResult() : + ServiceResult() +{} + +BatchDeleteWhiteListResult::BatchDeleteWhiteListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchDeleteWhiteListResult::~BatchDeleteWhiteListResult() +{} + +void BatchDeleteWhiteListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/CanTrySasRequest.cc b/aegis/src/model/CanTrySasRequest.cc new file mode 100644 index 000000000..868dc5f0e --- /dev/null +++ b/aegis/src/model/CanTrySasRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::CanTrySasRequest; + +CanTrySasRequest::CanTrySasRequest() : + RpcServiceRequest("aegis", "2016-11-11", "CanTrySas") +{} + +CanTrySasRequest::~CanTrySasRequest() +{} + +std::string CanTrySasRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CanTrySasRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/CanTrySasResult.cc b/aegis/src/model/CanTrySasResult.cc new file mode 100644 index 000000000..dcce1457e --- /dev/null +++ b/aegis/src/model/CanTrySasResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +CanTrySasResult::CanTrySasResult() : + ServiceResult() +{} + +CanTrySasResult::CanTrySasResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CanTrySasResult::~CanTrySasResult() +{} + +void CanTrySasResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CanTry"].isNull()) + canTry_ = std::stoi(value["CanTry"].asString()); + +} + +int CanTrySasResult::getCanTry()const +{ + return canTry_; +} + diff --git a/aegis/src/model/CreatScreenSettingRequest.cc b/aegis/src/model/CreatScreenSettingRequest.cc new file mode 100644 index 000000000..a4d189f44 --- /dev/null +++ b/aegis/src/model/CreatScreenSettingRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::CreatScreenSettingRequest; + +CreatScreenSettingRequest::CreatScreenSettingRequest() : + RpcServiceRequest("aegis", "2016-11-11", "CreatScreenSetting") +{} + +CreatScreenSettingRequest::~CreatScreenSettingRequest() +{} + +std::string CreatScreenSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreatScreenSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string CreatScreenSettingRequest::getScreenTitle()const +{ + return screenTitle_; +} + +void CreatScreenSettingRequest::setScreenTitle(const std::string& screenTitle) +{ + screenTitle_ = screenTitle; + setCoreParameter("ScreenTitle", screenTitle); +} + +std::string CreatScreenSettingRequest::getScreenIdSetting()const +{ + return screenIdSetting_; +} + +void CreatScreenSettingRequest::setScreenIdSetting(const std::string& screenIdSetting) +{ + screenIdSetting_ = screenIdSetting; + setCoreParameter("ScreenIdSetting", screenIdSetting); +} + diff --git a/aegis/src/model/CreatScreenSettingResult.cc b/aegis/src/model/CreatScreenSettingResult.cc new file mode 100644 index 000000000..365584ee7 --- /dev/null +++ b/aegis/src/model/CreatScreenSettingResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +CreatScreenSettingResult::CreatScreenSettingResult() : + ServiceResult() +{} + +CreatScreenSettingResult::CreatScreenSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreatScreenSettingResult::~CreatScreenSettingResult() +{} + +void CreatScreenSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/CreateInstanceRequest.cc b/aegis/src/model/CreateInstanceRequest.cc index 436562f48..0d96debf1 100644 --- a/aegis/src/model/CreateInstanceRequest.cc +++ b/aegis/src/model/CreateInstanceRequest.cc @@ -33,7 +33,7 @@ int CreateInstanceRequest::getDuration()const void CreateInstanceRequest::setDuration(int duration) { duration_ = duration; - setParameter("Duration", std::to_string(duration)); + setCoreParameter("Duration", std::to_string(duration)); } bool CreateInstanceRequest::getIsAutoRenew()const @@ -44,7 +44,7 @@ bool CreateInstanceRequest::getIsAutoRenew()const void CreateInstanceRequest::setIsAutoRenew(bool isAutoRenew) { isAutoRenew_ = isAutoRenew; - setParameter("IsAutoRenew", std::to_string(isAutoRenew)); + setCoreParameter("IsAutoRenew", isAutoRenew ? "true" : "false"); } std::string CreateInstanceRequest::getClientToken()const @@ -55,7 +55,7 @@ std::string CreateInstanceRequest::getClientToken()const void CreateInstanceRequest::setClientToken(const std::string& clientToken) { clientToken_ = clientToken; - setParameter("ClientToken", clientToken); + setCoreParameter("ClientToken", clientToken); } int CreateInstanceRequest::getVmNumber()const @@ -66,7 +66,7 @@ int CreateInstanceRequest::getVmNumber()const void CreateInstanceRequest::setVmNumber(int vmNumber) { vmNumber_ = vmNumber; - setParameter("VmNumber", std::to_string(vmNumber)); + setCoreParameter("VmNumber", std::to_string(vmNumber)); } long CreateInstanceRequest::getOwnerId()const @@ -77,7 +77,7 @@ long CreateInstanceRequest::getOwnerId()const void CreateInstanceRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } int CreateInstanceRequest::getVersionCode()const @@ -88,7 +88,7 @@ int CreateInstanceRequest::getVersionCode()const void CreateInstanceRequest::setVersionCode(int versionCode) { versionCode_ = versionCode; - setParameter("VersionCode", std::to_string(versionCode)); + setCoreParameter("VersionCode", std::to_string(versionCode)); } std::string CreateInstanceRequest::getPricingCycle()const @@ -99,7 +99,7 @@ std::string CreateInstanceRequest::getPricingCycle()const void CreateInstanceRequest::setPricingCycle(const std::string& pricingCycle) { pricingCycle_ = pricingCycle; - setParameter("PricingCycle", pricingCycle); + setCoreParameter("PricingCycle", pricingCycle); } int CreateInstanceRequest::getAutoRenewDuration()const @@ -110,6 +110,6 @@ int CreateInstanceRequest::getAutoRenewDuration()const void CreateInstanceRequest::setAutoRenewDuration(int autoRenewDuration) { autoRenewDuration_ = autoRenewDuration; - setParameter("AutoRenewDuration", std::to_string(autoRenewDuration)); + setCoreParameter("AutoRenewDuration", std::to_string(autoRenewDuration)); } diff --git a/aegis/src/model/CreateInstanceResult.cc b/aegis/src/model/CreateInstanceResult.cc index 8af923967..a875088a5 100644 --- a/aegis/src/model/CreateInstanceResult.cc +++ b/aegis/src/model/CreateInstanceResult.cc @@ -40,20 +40,20 @@ void CreateInstanceResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["OrderId"].isNull()) - orderId_ = value["OrderId"].asString(); - if(!value["InstanceId"].isNull()) - instanceId_ = value["InstanceId"].asString(); + if(!value["OrderId"].isNull()) + orderId_ = value["OrderId"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); } -std::string CreateInstanceResult::getInstanceId()const -{ - return instanceId_; -} - -std::string CreateInstanceResult::getOrderId()const -{ - return orderId_; -} - +std::string CreateInstanceResult::getInstanceId()const +{ + return instanceId_; +} + +std::string CreateInstanceResult::getOrderId()const +{ + return orderId_; +} + diff --git a/aegis/src/model/CreateLogQueryRequest.cc b/aegis/src/model/CreateLogQueryRequest.cc new file mode 100644 index 000000000..4d5afddf5 --- /dev/null +++ b/aegis/src/model/CreateLogQueryRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::CreateLogQueryRequest; + +CreateLogQueryRequest::CreateLogQueryRequest() : + RpcServiceRequest("aegis", "2016-11-11", "CreateLogQuery") +{} + +CreateLogQueryRequest::~CreateLogQueryRequest() +{} + +std::string CreateLogQueryRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateLogQueryRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string CreateLogQueryRequest::getQueryName()const +{ + return queryName_; +} + +void CreateLogQueryRequest::setQueryName(const std::string& queryName) +{ + queryName_ = queryName; + setCoreParameter("QueryName", queryName); +} + +std::string CreateLogQueryRequest::getConditions()const +{ + return conditions_; +} + +void CreateLogQueryRequest::setConditions(const std::string& conditions) +{ + conditions_ = conditions; + setCoreParameter("Conditions", conditions); +} + +std::string CreateLogQueryRequest::getQueryDetail()const +{ + return queryDetail_; +} + +void CreateLogQueryRequest::setQueryDetail(const std::string& queryDetail) +{ + queryDetail_ = queryDetail; + setCoreParameter("QueryDetail", queryDetail); +} + diff --git a/aegis/src/model/CreateLogQueryResult.cc b/aegis/src/model/CreateLogQueryResult.cc new file mode 100644 index 000000000..ae20da0f0 --- /dev/null +++ b/aegis/src/model/CreateLogQueryResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +CreateLogQueryResult::CreateLogQueryResult() : + ServiceResult() +{} + +CreateLogQueryResult::CreateLogQueryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateLogQueryResult::~CreateLogQueryResult() +{} + +void CreateLogQueryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/CreateOrUpdateDataSourceRequest.cc b/aegis/src/model/CreateOrUpdateDataSourceRequest.cc new file mode 100644 index 000000000..ec6f6a314 --- /dev/null +++ b/aegis/src/model/CreateOrUpdateDataSourceRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::CreateOrUpdateDataSourceRequest; + +CreateOrUpdateDataSourceRequest::CreateOrUpdateDataSourceRequest() : + RpcServiceRequest("aegis", "2016-11-11", "CreateOrUpdateDataSource") +{} + +CreateOrUpdateDataSourceRequest::~CreateOrUpdateDataSourceRequest() +{} + +std::string CreateOrUpdateDataSourceRequest::getProjectName()const +{ + return projectName_; +} + +void CreateOrUpdateDataSourceRequest::setProjectName(const std::string& projectName) +{ + projectName_ = projectName; + setCoreParameter("ProjectName", projectName); +} + +std::string CreateOrUpdateDataSourceRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateOrUpdateDataSourceRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string CreateOrUpdateDataSourceRequest::getLogStoreName()const +{ + return logStoreName_; +} + +void CreateOrUpdateDataSourceRequest::setLogStoreName(const std::string& logStoreName) +{ + logStoreName_ = logStoreName; + setCoreParameter("LogStoreName", logStoreName); +} + +std::string CreateOrUpdateDataSourceRequest::getDatasourceDescription()const +{ + return datasourceDescription_; +} + +void CreateOrUpdateDataSourceRequest::setDatasourceDescription(const std::string& datasourceDescription) +{ + datasourceDescription_ = datasourceDescription; + setCoreParameter("DatasourceDescription", datasourceDescription); +} + +std::string CreateOrUpdateDataSourceRequest::getFields()const +{ + return fields_; +} + +void CreateOrUpdateDataSourceRequest::setFields(const std::string& fields) +{ + fields_ = fields; + setCoreParameter("Fields", fields); +} + +std::string CreateOrUpdateDataSourceRequest::getRegionNo()const +{ + return regionNo_; +} + +void CreateOrUpdateDataSourceRequest::setRegionNo(const std::string& regionNo) +{ + regionNo_ = regionNo; + setCoreParameter("RegionNo", regionNo); +} + diff --git a/aegis/src/model/CreateOrUpdateDataSourceResult.cc b/aegis/src/model/CreateOrUpdateDataSourceResult.cc new file mode 100644 index 000000000..3bfbd135e --- /dev/null +++ b/aegis/src/model/CreateOrUpdateDataSourceResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +CreateOrUpdateDataSourceResult::CreateOrUpdateDataSourceResult() : + ServiceResult() +{} + +CreateOrUpdateDataSourceResult::CreateOrUpdateDataSourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateOrUpdateDataSourceResult::~CreateOrUpdateDataSourceResult() +{} + +void CreateOrUpdateDataSourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/CreateOrUpdateDingTalkRequest.cc b/aegis/src/model/CreateOrUpdateDingTalkRequest.cc new file mode 100644 index 000000000..3968be240 --- /dev/null +++ b/aegis/src/model/CreateOrUpdateDingTalkRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::CreateOrUpdateDingTalkRequest; + +CreateOrUpdateDingTalkRequest::CreateOrUpdateDingTalkRequest() : + RpcServiceRequest("aegis", "2016-11-11", "CreateOrUpdateDingTalk") +{} + +CreateOrUpdateDingTalkRequest::~CreateOrUpdateDingTalkRequest() +{} + +std::string CreateOrUpdateDingTalkRequest::getRuleActionName()const +{ + return ruleActionName_; +} + +void CreateOrUpdateDingTalkRequest::setRuleActionName(const std::string& ruleActionName) +{ + ruleActionName_ = ruleActionName; + setCoreParameter("RuleActionName", ruleActionName); +} + +std::string CreateOrUpdateDingTalkRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateOrUpdateDingTalkRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string CreateOrUpdateDingTalkRequest::getSendUrl()const +{ + return sendUrl_; +} + +void CreateOrUpdateDingTalkRequest::setSendUrl(const std::string& sendUrl) +{ + sendUrl_ = sendUrl; + setCoreParameter("SendUrl", sendUrl); +} + +long CreateOrUpdateDingTalkRequest::getId()const +{ + return id_; +} + +void CreateOrUpdateDingTalkRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +long CreateOrUpdateDingTalkRequest::getIntervalTime()const +{ + return intervalTime_; +} + +void CreateOrUpdateDingTalkRequest::setIntervalTime(long intervalTime) +{ + intervalTime_ = intervalTime; + setCoreParameter("IntervalTime", std::to_string(intervalTime)); +} + diff --git a/aegis/src/model/CreateOrUpdateDingTalkResult.cc b/aegis/src/model/CreateOrUpdateDingTalkResult.cc new file mode 100644 index 000000000..6e15b27bf --- /dev/null +++ b/aegis/src/model/CreateOrUpdateDingTalkResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +CreateOrUpdateDingTalkResult::CreateOrUpdateDingTalkResult() : + ServiceResult() +{} + +CreateOrUpdateDingTalkResult::CreateOrUpdateDingTalkResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateOrUpdateDingTalkResult::~CreateOrUpdateDingTalkResult() +{} + +void CreateOrUpdateDingTalkResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/CreateOrUpdateGroupRequest.cc b/aegis/src/model/CreateOrUpdateGroupRequest.cc new file mode 100644 index 000000000..9d1054469 --- /dev/null +++ b/aegis/src/model/CreateOrUpdateGroupRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::CreateOrUpdateGroupRequest; + +CreateOrUpdateGroupRequest::CreateOrUpdateGroupRequest() : + RpcServiceRequest("aegis", "2016-11-11", "CreateOrUpdateGroup") +{} + +CreateOrUpdateGroupRequest::~CreateOrUpdateGroupRequest() +{} + +std::string CreateOrUpdateGroupRequest::getRuleIds()const +{ + return ruleIds_; +} + +void CreateOrUpdateGroupRequest::setRuleIds(const std::string& ruleIds) +{ + ruleIds_ = ruleIds; + setCoreParameter("RuleIds", ruleIds); +} + +std::string CreateOrUpdateGroupRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateOrUpdateGroupRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string CreateOrUpdateGroupRequest::getMachineGroupIds()const +{ + return machineGroupIds_; +} + +void CreateOrUpdateGroupRequest::setMachineGroupIds(const std::string& machineGroupIds) +{ + machineGroupIds_ = machineGroupIds; + setCoreParameter("MachineGroupIds", machineGroupIds); +} + +std::string CreateOrUpdateGroupRequest::getDescription()const +{ + return description_; +} + +void CreateOrUpdateGroupRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +long CreateOrUpdateGroupRequest::getId()const +{ + return id_; +} + +void CreateOrUpdateGroupRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +std::string CreateOrUpdateGroupRequest::getLang()const +{ + return lang_; +} + +void CreateOrUpdateGroupRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string CreateOrUpdateGroupRequest::getGroupName()const +{ + return groupName_; +} + +void CreateOrUpdateGroupRequest::setGroupName(const std::string& groupName) +{ + groupName_ = groupName; + setCoreParameter("GroupName", groupName); +} + diff --git a/aegis/src/model/CreateOrUpdateGroupResult.cc b/aegis/src/model/CreateOrUpdateGroupResult.cc new file mode 100644 index 000000000..20d5f407c --- /dev/null +++ b/aegis/src/model/CreateOrUpdateGroupResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +CreateOrUpdateGroupResult::CreateOrUpdateGroupResult() : + ServiceResult() +{} + +CreateOrUpdateGroupResult::CreateOrUpdateGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateOrUpdateGroupResult::~CreateOrUpdateGroupResult() +{} + +void CreateOrUpdateGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/CreateOrUpdateJoinRuleRequest.cc b/aegis/src/model/CreateOrUpdateJoinRuleRequest.cc new file mode 100644 index 000000000..1d8cb3ed0 --- /dev/null +++ b/aegis/src/model/CreateOrUpdateJoinRuleRequest.cc @@ -0,0 +1,170 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::CreateOrUpdateJoinRuleRequest; + +CreateOrUpdateJoinRuleRequest::CreateOrUpdateJoinRuleRequest() : + RpcServiceRequest("aegis", "2016-11-11", "CreateOrUpdateJoinRule") +{} + +CreateOrUpdateJoinRuleRequest::~CreateOrUpdateJoinRuleRequest() +{} + +std::string CreateOrUpdateJoinRuleRequest::getWarnLevel()const +{ + return warnLevel_; +} + +void CreateOrUpdateJoinRuleRequest::setWarnLevel(const std::string& warnLevel) +{ + warnLevel_ = warnLevel; + setCoreParameter("WarnLevel", warnLevel); +} + +long CreateOrUpdateJoinRuleRequest::getDataSourceId2()const +{ + return dataSourceId2_; +} + +void CreateOrUpdateJoinRuleRequest::setDataSourceId2(long dataSourceId2) +{ + dataSourceId2_ = dataSourceId2; + setCoreParameter("DataSourceId2", std::to_string(dataSourceId2)); +} + +long CreateOrUpdateJoinRuleRequest::getDataSourceId1()const +{ + return dataSourceId1_; +} + +void CreateOrUpdateJoinRuleRequest::setDataSourceId1(long dataSourceId1) +{ + dataSourceId1_ = dataSourceId1; + setCoreParameter("DataSourceId1", std::to_string(dataSourceId1)); +} + +long CreateOrUpdateJoinRuleRequest::getTimeWindow()const +{ + return timeWindow_; +} + +void CreateOrUpdateJoinRuleRequest::setTimeWindow(long timeWindow) +{ + timeWindow_ = timeWindow; + setCoreParameter("TimeWindow", std::to_string(timeWindow)); +} + +std::string CreateOrUpdateJoinRuleRequest::getDescription()const +{ + return description_; +} + +void CreateOrUpdateJoinRuleRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +std::string CreateOrUpdateJoinRuleRequest::getRuleName()const +{ + return ruleName_; +} + +void CreateOrUpdateJoinRuleRequest::setRuleName(const std::string& ruleName) +{ + ruleName_ = ruleName; + setCoreParameter("RuleName", ruleName); +} + +std::string CreateOrUpdateJoinRuleRequest::getExpression2()const +{ + return expression2_; +} + +void CreateOrUpdateJoinRuleRequest::setExpression2(const std::string& expression2) +{ + expression2_ = expression2; + setCoreParameter("Expression2", expression2); +} + +std::string CreateOrUpdateJoinRuleRequest::getExpression1()const +{ + return expression1_; +} + +void CreateOrUpdateJoinRuleRequest::setExpression1(const std::string& expression1) +{ + expression1_ = expression1; + setCoreParameter("Expression1", expression1); +} + +std::string CreateOrUpdateJoinRuleRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateOrUpdateJoinRuleRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string CreateOrUpdateJoinRuleRequest::getStatisticsRules()const +{ + return statisticsRules_; +} + +void CreateOrUpdateJoinRuleRequest::setStatisticsRules(const std::string& statisticsRules) +{ + statisticsRules_ = statisticsRules; + setCoreParameter("StatisticsRules", statisticsRules); +} + +std::string CreateOrUpdateJoinRuleRequest::getJoinRelation()const +{ + return joinRelation_; +} + +void CreateOrUpdateJoinRuleRequest::setJoinRelation(const std::string& joinRelation) +{ + joinRelation_ = joinRelation; + setCoreParameter("JoinRelation", joinRelation); +} + +long CreateOrUpdateJoinRuleRequest::getRuleId()const +{ + return ruleId_; +} + +void CreateOrUpdateJoinRuleRequest::setRuleId(long ruleId) +{ + ruleId_ = ruleId; + setCoreParameter("RuleId", std::to_string(ruleId)); +} + +std::string CreateOrUpdateJoinRuleRequest::getActions()const +{ + return actions_; +} + +void CreateOrUpdateJoinRuleRequest::setActions(const std::string& actions) +{ + actions_ = actions; + setCoreParameter("Actions", actions); +} + diff --git a/aegis/src/model/CreateOrUpdateJoinRuleResult.cc b/aegis/src/model/CreateOrUpdateJoinRuleResult.cc new file mode 100644 index 000000000..21831a370 --- /dev/null +++ b/aegis/src/model/CreateOrUpdateJoinRuleResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +CreateOrUpdateJoinRuleResult::CreateOrUpdateJoinRuleResult() : + ServiceResult() +{} + +CreateOrUpdateJoinRuleResult::CreateOrUpdateJoinRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateOrUpdateJoinRuleResult::~CreateOrUpdateJoinRuleResult() +{} + +void CreateOrUpdateJoinRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/CreateOrUpdateRuleRequest.cc b/aegis/src/model/CreateOrUpdateRuleRequest.cc new file mode 100644 index 000000000..70491f91c --- /dev/null +++ b/aegis/src/model/CreateOrUpdateRuleRequest.cc @@ -0,0 +1,148 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::CreateOrUpdateRuleRequest; + +CreateOrUpdateRuleRequest::CreateOrUpdateRuleRequest() : + RpcServiceRequest("aegis", "2016-11-11", "CreateOrUpdateRule") +{} + +CreateOrUpdateRuleRequest::~CreateOrUpdateRuleRequest() +{} + +std::string CreateOrUpdateRuleRequest::getWarnLevel()const +{ + return warnLevel_; +} + +void CreateOrUpdateRuleRequest::setWarnLevel(const std::string& warnLevel) +{ + warnLevel_ = warnLevel; + setCoreParameter("WarnLevel", warnLevel); +} + +std::string CreateOrUpdateRuleRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateOrUpdateRuleRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string CreateOrUpdateRuleRequest::getStatisticsRules()const +{ + return statisticsRules_; +} + +void CreateOrUpdateRuleRequest::setStatisticsRules(const std::string& statisticsRules) +{ + statisticsRules_ = statisticsRules; + setCoreParameter("StatisticsRules", statisticsRules); +} + +long CreateOrUpdateRuleRequest::getDataSourceId()const +{ + return dataSourceId_; +} + +void CreateOrUpdateRuleRequest::setDataSourceId(long dataSourceId) +{ + dataSourceId_ = dataSourceId; + setCoreParameter("DataSourceId", std::to_string(dataSourceId)); +} + +std::string CreateOrUpdateRuleRequest::getDescription()const +{ + return description_; +} + +void CreateOrUpdateRuleRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +std::string CreateOrUpdateRuleRequest::getRuleName()const +{ + return ruleName_; +} + +void CreateOrUpdateRuleRequest::setRuleName(const std::string& ruleName) +{ + ruleName_ = ruleName; + setCoreParameter("RuleName", ruleName); +} + +long CreateOrUpdateRuleRequest::getId()const +{ + return id_; +} + +void CreateOrUpdateRuleRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +std::string CreateOrUpdateRuleRequest::getLang()const +{ + return lang_; +} + +void CreateOrUpdateRuleRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string CreateOrUpdateRuleRequest::getExpressions()const +{ + return expressions_; +} + +void CreateOrUpdateRuleRequest::setExpressions(const std::string& expressions) +{ + expressions_ = expressions; + setCoreParameter("Expressions", expressions); +} + +std::string CreateOrUpdateRuleRequest::getActions()const +{ + return actions_; +} + +void CreateOrUpdateRuleRequest::setActions(const std::string& actions) +{ + actions_ = actions; + setCoreParameter("Actions", actions); +} + +std::string CreateOrUpdateRuleRequest::getRuleGroupIds()const +{ + return ruleGroupIds_; +} + +void CreateOrUpdateRuleRequest::setRuleGroupIds(const std::string& ruleGroupIds) +{ + ruleGroupIds_ = ruleGroupIds; + setCoreParameter("RuleGroupIds", ruleGroupIds); +} + diff --git a/aegis/src/model/CreateOrUpdateRuleResult.cc b/aegis/src/model/CreateOrUpdateRuleResult.cc new file mode 100644 index 000000000..bcab67603 --- /dev/null +++ b/aegis/src/model/CreateOrUpdateRuleResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +CreateOrUpdateRuleResult::CreateOrUpdateRuleResult() : + ServiceResult() +{} + +CreateOrUpdateRuleResult::CreateOrUpdateRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateOrUpdateRuleResult::~CreateOrUpdateRuleResult() +{} + +void CreateOrUpdateRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/CreateSuspiciousExportRequest.cc b/aegis/src/model/CreateSuspiciousExportRequest.cc new file mode 100644 index 000000000..fcc932401 --- /dev/null +++ b/aegis/src/model/CreateSuspiciousExportRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::CreateSuspiciousExportRequest; + +CreateSuspiciousExportRequest::CreateSuspiciousExportRequest() : + RpcServiceRequest("aegis", "2016-11-11", "CreateSuspiciousExport") +{} + +CreateSuspiciousExportRequest::~CreateSuspiciousExportRequest() +{} + +std::string CreateSuspiciousExportRequest::getStatusList()const +{ + return statusList_; +} + +void CreateSuspiciousExportRequest::setStatusList(const std::string& statusList) +{ + statusList_ = statusList; + setCoreParameter("StatusList", statusList); +} + +std::string CreateSuspiciousExportRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateSuspiciousExportRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string CreateSuspiciousExportRequest::getEventNameRemark()const +{ + return eventNameRemark_; +} + +void CreateSuspiciousExportRequest::setEventNameRemark(const std::string& eventNameRemark) +{ + eventNameRemark_ = eventNameRemark; + setCoreParameter("EventNameRemark", eventNameRemark); +} + +std::string CreateSuspiciousExportRequest::getLevel()const +{ + return level_; +} + +void CreateSuspiciousExportRequest::setLevel(const std::string& level) +{ + level_ = level; + setCoreParameter("Level", level); +} + +std::string CreateSuspiciousExportRequest::getGroupId()const +{ + return groupId_; +} + +void CreateSuspiciousExportRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +std::string CreateSuspiciousExportRequest::getDealed()const +{ + return dealed_; +} + +void CreateSuspiciousExportRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setCoreParameter("Dealed", dealed); +} + +std::string CreateSuspiciousExportRequest::getEventType()const +{ + return eventType_; +} + +void CreateSuspiciousExportRequest::setEventType(const std::string& eventType) +{ + eventType_ = eventType; + setCoreParameter("EventType", eventType); +} + +std::string CreateSuspiciousExportRequest::getRemark()const +{ + return remark_; +} + +void CreateSuspiciousExportRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + +std::string CreateSuspiciousExportRequest::getTag()const +{ + return tag_; +} + +void CreateSuspiciousExportRequest::setTag(const std::string& tag) +{ + tag_ = tag; + setCoreParameter("Tag", tag); +} + diff --git a/aegis/src/model/CreateSuspiciousExportResult.cc b/aegis/src/model/CreateSuspiciousExportResult.cc new file mode 100644 index 000000000..21629f201 --- /dev/null +++ b/aegis/src/model/CreateSuspiciousExportResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +CreateSuspiciousExportResult::CreateSuspiciousExportResult() : + ServiceResult() +{} + +CreateSuspiciousExportResult::CreateSuspiciousExportResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateSuspiciousExportResult::~CreateSuspiciousExportResult() +{} + +void CreateSuspiciousExportResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = std::stol(value["Id"].asString()); + if(!value["FileName"].isNull()) + fileName_ = value["FileName"].asString(); + +} + +std::string CreateSuspiciousExportResult::getFileName()const +{ + return fileName_; +} + +long CreateSuspiciousExportResult::getId()const +{ + return id_; +} + diff --git a/aegis/src/model/CreateUserSettingRequest.cc b/aegis/src/model/CreateUserSettingRequest.cc new file mode 100644 index 000000000..893f28864 --- /dev/null +++ b/aegis/src/model/CreateUserSettingRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::CreateUserSettingRequest; + +CreateUserSettingRequest::CreateUserSettingRequest() : + RpcServiceRequest("aegis", "2016-11-11", "CreateUserSetting") +{} + +CreateUserSettingRequest::~CreateUserSettingRequest() +{} + +std::string CreateUserSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateUserSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string CreateUserSettingRequest::getAlertLevels()const +{ + return alertLevels_; +} + +void CreateUserSettingRequest::setAlertLevels(const std::string& alertLevels) +{ + alertLevels_ = alertLevels; + setCoreParameter("AlertLevels", alertLevels); +} + +int CreateUserSettingRequest::getInvalidWarningKeepDays()const +{ + return invalidWarningKeepDays_; +} + +void CreateUserSettingRequest::setInvalidWarningKeepDays(int invalidWarningKeepDays) +{ + invalidWarningKeepDays_ = invalidWarningKeepDays; + setCoreParameter("InvalidWarningKeepDays", std::to_string(invalidWarningKeepDays)); +} + diff --git a/aegis/src/model/CreateUserSettingResult.cc b/aegis/src/model/CreateUserSettingResult.cc new file mode 100644 index 000000000..26c6eecda --- /dev/null +++ b/aegis/src/model/CreateUserSettingResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +CreateUserSettingResult::CreateUserSettingResult() : + ServiceResult() +{} + +CreateUserSettingResult::CreateUserSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateUserSettingResult::~CreateUserSettingResult() +{} + +void CreateUserSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/CreateUserWhiteListRequest.cc b/aegis/src/model/CreateUserWhiteListRequest.cc new file mode 100644 index 000000000..12f4b2307 --- /dev/null +++ b/aegis/src/model/CreateUserWhiteListRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::CreateUserWhiteListRequest; + +CreateUserWhiteListRequest::CreateUserWhiteListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "CreateUserWhiteList") +{} + +CreateUserWhiteListRequest::~CreateUserWhiteListRequest() +{} + +std::string CreateUserWhiteListRequest::getRiskIdList()const +{ + return riskIdList_; +} + +void CreateUserWhiteListRequest::setRiskIdList(const std::string& riskIdList) +{ + riskIdList_ = riskIdList; + setCoreParameter("RiskIdList", riskIdList); +} + +std::string CreateUserWhiteListRequest::getReason()const +{ + return reason_; +} + +void CreateUserWhiteListRequest::setReason(const std::string& reason) +{ + reason_ = reason; + setCoreParameter("Reason", reason); +} + +std::string CreateUserWhiteListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateUserWhiteListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/CreateUserWhiteListResult.cc b/aegis/src/model/CreateUserWhiteListResult.cc new file mode 100644 index 000000000..2479c592a --- /dev/null +++ b/aegis/src/model/CreateUserWhiteListResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +CreateUserWhiteListResult::CreateUserWhiteListResult() : + ServiceResult() +{} + +CreateUserWhiteListResult::CreateUserWhiteListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateUserWhiteListResult::~CreateUserWhiteListResult() +{} + +void CreateUserWhiteListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/CreateVulWhitelistRequest.cc b/aegis/src/model/CreateVulWhitelistRequest.cc new file mode 100644 index 000000000..1cbb2da20 --- /dev/null +++ b/aegis/src/model/CreateVulWhitelistRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::CreateVulWhitelistRequest; + +CreateVulWhitelistRequest::CreateVulWhitelistRequest() : + RpcServiceRequest("aegis", "2016-11-11", "CreateVulWhitelist") +{} + +CreateVulWhitelistRequest::~CreateVulWhitelistRequest() +{} + +std::string CreateVulWhitelistRequest::getReason()const +{ + return reason_; +} + +void CreateVulWhitelistRequest::setReason(const std::string& reason) +{ + reason_ = reason; + setCoreParameter("Reason", reason); +} + +std::string CreateVulWhitelistRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateVulWhitelistRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string CreateVulWhitelistRequest::getWhitelist()const +{ + return whitelist_; +} + +void CreateVulWhitelistRequest::setWhitelist(const std::string& whitelist) +{ + whitelist_ = whitelist; + setCoreParameter("Whitelist", whitelist); +} + diff --git a/aegis/src/model/CreateVulWhitelistResult.cc b/aegis/src/model/CreateVulWhitelistResult.cc new file mode 100644 index 000000000..71bc793e9 --- /dev/null +++ b/aegis/src/model/CreateVulWhitelistResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +CreateVulWhitelistResult::CreateVulWhitelistResult() : + ServiceResult() +{} + +CreateVulWhitelistResult::CreateVulWhitelistResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateVulWhitelistResult::~CreateVulWhitelistResult() +{} + +void CreateVulWhitelistResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/DeleteDingTalkRequest.cc b/aegis/src/model/DeleteDingTalkRequest.cc new file mode 100644 index 000000000..b2d4d2d77 --- /dev/null +++ b/aegis/src/model/DeleteDingTalkRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DeleteDingTalkRequest; + +DeleteDingTalkRequest::DeleteDingTalkRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DeleteDingTalk") +{} + +DeleteDingTalkRequest::~DeleteDingTalkRequest() +{} + +std::string DeleteDingTalkRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteDingTalkRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DeleteDingTalkRequest::getIds()const +{ + return ids_; +} + +void DeleteDingTalkRequest::setIds(const std::string& ids) +{ + ids_ = ids; + setCoreParameter("Ids", ids); +} + diff --git a/aegis/src/model/DeleteDingTalkResult.cc b/aegis/src/model/DeleteDingTalkResult.cc new file mode 100644 index 000000000..3b4e42538 --- /dev/null +++ b/aegis/src/model/DeleteDingTalkResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DeleteDingTalkResult::DeleteDingTalkResult() : + ServiceResult() +{} + +DeleteDingTalkResult::DeleteDingTalkResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDingTalkResult::~DeleteDingTalkResult() +{} + +void DeleteDingTalkResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/DeleteJoinRuleRequest.cc b/aegis/src/model/DeleteJoinRuleRequest.cc new file mode 100644 index 000000000..5865b5de8 --- /dev/null +++ b/aegis/src/model/DeleteJoinRuleRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DeleteJoinRuleRequest; + +DeleteJoinRuleRequest::DeleteJoinRuleRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DeleteJoinRule") +{} + +DeleteJoinRuleRequest::~DeleteJoinRuleRequest() +{} + +std::string DeleteJoinRuleRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteJoinRuleRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DeleteJoinRuleRequest::getIds()const +{ + return ids_; +} + +void DeleteJoinRuleRequest::setIds(const std::string& ids) +{ + ids_ = ids; + setCoreParameter("Ids", ids); +} + diff --git a/aegis/src/model/DeleteJoinRuleResult.cc b/aegis/src/model/DeleteJoinRuleResult.cc new file mode 100644 index 000000000..4ddcbf2f7 --- /dev/null +++ b/aegis/src/model/DeleteJoinRuleResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DeleteJoinRuleResult::DeleteJoinRuleResult() : + ServiceResult() +{} + +DeleteJoinRuleResult::DeleteJoinRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteJoinRuleResult::~DeleteJoinRuleResult() +{} + +void DeleteJoinRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/DeleteLogQueryRequest.cc b/aegis/src/model/DeleteLogQueryRequest.cc new file mode 100644 index 000000000..4f1c034af --- /dev/null +++ b/aegis/src/model/DeleteLogQueryRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DeleteLogQueryRequest; + +DeleteLogQueryRequest::DeleteLogQueryRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DeleteLogQuery") +{} + +DeleteLogQueryRequest::~DeleteLogQueryRequest() +{} + +std::string DeleteLogQueryRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteLogQueryRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DeleteLogQueryRequest::getQueryName()const +{ + return queryName_; +} + +void DeleteLogQueryRequest::setQueryName(const std::string& queryName) +{ + queryName_ = queryName; + setCoreParameter("QueryName", queryName); +} + diff --git a/aegis/src/model/DeleteLogQueryResult.cc b/aegis/src/model/DeleteLogQueryResult.cc new file mode 100644 index 000000000..a0a61ed32 --- /dev/null +++ b/aegis/src/model/DeleteLogQueryResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DeleteLogQueryResult::DeleteLogQueryResult() : + ServiceResult() +{} + +DeleteLogQueryResult::DeleteLogQueryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLogQueryResult::~DeleteLogQueryResult() +{} + +void DeleteLogQueryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/DeleteRuleGroupRequest.cc b/aegis/src/model/DeleteRuleGroupRequest.cc new file mode 100644 index 000000000..9d2c0f71f --- /dev/null +++ b/aegis/src/model/DeleteRuleGroupRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DeleteRuleGroupRequest; + +DeleteRuleGroupRequest::DeleteRuleGroupRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DeleteRuleGroup") +{} + +DeleteRuleGroupRequest::~DeleteRuleGroupRequest() +{} + +std::string DeleteRuleGroupRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteRuleGroupRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DeleteRuleGroupRequest::getId()const +{ + return id_; +} + +void DeleteRuleGroupRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +std::string DeleteRuleGroupRequest::getLang()const +{ + return lang_; +} + +void DeleteRuleGroupRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DeleteRuleGroupResult.cc b/aegis/src/model/DeleteRuleGroupResult.cc new file mode 100644 index 000000000..90722c540 --- /dev/null +++ b/aegis/src/model/DeleteRuleGroupResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DeleteRuleGroupResult::DeleteRuleGroupResult() : + ServiceResult() +{} + +DeleteRuleGroupResult::DeleteRuleGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteRuleGroupResult::~DeleteRuleGroupResult() +{} + +void DeleteRuleGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/DeleteRuleRequest.cc b/aegis/src/model/DeleteRuleRequest.cc new file mode 100644 index 000000000..2351c7866 --- /dev/null +++ b/aegis/src/model/DeleteRuleRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DeleteRuleRequest; + +DeleteRuleRequest::DeleteRuleRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DeleteRule") +{} + +DeleteRuleRequest::~DeleteRuleRequest() +{} + +std::string DeleteRuleRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteRuleRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DeleteRuleRequest::getId()const +{ + return id_; +} + +void DeleteRuleRequest::setId(const std::string& id) +{ + id_ = id; + setCoreParameter("Id", id); +} + +std::string DeleteRuleRequest::getLang()const +{ + return lang_; +} + +void DeleteRuleRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DeleteRuleResult.cc b/aegis/src/model/DeleteRuleResult.cc new file mode 100644 index 000000000..f9357415d --- /dev/null +++ b/aegis/src/model/DeleteRuleResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DeleteRuleResult::DeleteRuleResult() : + ServiceResult() +{} + +DeleteRuleResult::DeleteRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteRuleResult::~DeleteRuleResult() +{} + +void DeleteRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/DeleteScreenSettingRequest.cc b/aegis/src/model/DeleteScreenSettingRequest.cc new file mode 100644 index 000000000..8bbe75a6a --- /dev/null +++ b/aegis/src/model/DeleteScreenSettingRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DeleteScreenSettingRequest; + +DeleteScreenSettingRequest::DeleteScreenSettingRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DeleteScreenSetting") +{} + +DeleteScreenSettingRequest::~DeleteScreenSettingRequest() +{} + +std::string DeleteScreenSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteScreenSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DeleteScreenSettingRequest::getScreenTitle()const +{ + return screenTitle_; +} + +void DeleteScreenSettingRequest::setScreenTitle(const std::string& screenTitle) +{ + screenTitle_ = screenTitle; + setCoreParameter("ScreenTitle", screenTitle); +} + diff --git a/aegis/src/model/DeleteScreenSettingResult.cc b/aegis/src/model/DeleteScreenSettingResult.cc new file mode 100644 index 000000000..dcda76079 --- /dev/null +++ b/aegis/src/model/DeleteScreenSettingResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DeleteScreenSettingResult::DeleteScreenSettingResult() : + ServiceResult() +{} + +DeleteScreenSettingResult::DeleteScreenSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteScreenSettingResult::~DeleteScreenSettingResult() +{} + +void DeleteScreenSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/DeleteSearchConditionRequest.cc b/aegis/src/model/DeleteSearchConditionRequest.cc new file mode 100644 index 000000000..101f6511f --- /dev/null +++ b/aegis/src/model/DeleteSearchConditionRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DeleteSearchConditionRequest; + +DeleteSearchConditionRequest::DeleteSearchConditionRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DeleteSearchCondition") +{} + +DeleteSearchConditionRequest::~DeleteSearchConditionRequest() +{} + +std::string DeleteSearchConditionRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteSearchConditionRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DeleteSearchConditionRequest::getName()const +{ + return name_; +} + +void DeleteSearchConditionRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + diff --git a/aegis/src/model/DeleteSearchConditionResult.cc b/aegis/src/model/DeleteSearchConditionResult.cc new file mode 100644 index 000000000..78c98a258 --- /dev/null +++ b/aegis/src/model/DeleteSearchConditionResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DeleteSearchConditionResult::DeleteSearchConditionResult() : + ServiceResult() +{} + +DeleteSearchConditionResult::DeleteSearchConditionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteSearchConditionResult::~DeleteSearchConditionResult() +{} + +void DeleteSearchConditionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/DeleteStrategyRequest.cc b/aegis/src/model/DeleteStrategyRequest.cc index b57eb2961..f274bc8e1 100644 --- a/aegis/src/model/DeleteStrategyRequest.cc +++ b/aegis/src/model/DeleteStrategyRequest.cc @@ -25,17 +25,6 @@ DeleteStrategyRequest::DeleteStrategyRequest() : DeleteStrategyRequest::~DeleteStrategyRequest() {} -long DeleteStrategyRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteStrategyRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - std::string DeleteStrategyRequest::getSourceIp()const { return sourceIp_; @@ -44,7 +33,7 @@ std::string DeleteStrategyRequest::getSourceIp()const void DeleteStrategyRequest::setSourceIp(const std::string& sourceIp) { sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); + setCoreParameter("SourceIp", sourceIp); } std::string DeleteStrategyRequest::getId()const @@ -55,6 +44,6 @@ std::string DeleteStrategyRequest::getId()const void DeleteStrategyRequest::setId(const std::string& id) { id_ = id; - setParameter("Id", id); + setCoreParameter("Id", id); } diff --git a/aegis/src/model/DeleteVulBatchRequest.cc b/aegis/src/model/DeleteVulBatchRequest.cc new file mode 100644 index 000000000..7b401e7e3 --- /dev/null +++ b/aegis/src/model/DeleteVulBatchRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DeleteVulBatchRequest; + +DeleteVulBatchRequest::DeleteVulBatchRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DeleteVulBatch") +{} + +DeleteVulBatchRequest::~DeleteVulBatchRequest() +{} + +std::string DeleteVulBatchRequest::getBatchName()const +{ + return batchName_; +} + +void DeleteVulBatchRequest::setBatchName(const std::string& batchName) +{ + batchName_ = batchName; + setCoreParameter("BatchName", batchName); +} + +std::string DeleteVulBatchRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteVulBatchRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DeleteVulBatchRequest::getResource()const +{ + return resource_; +} + +void DeleteVulBatchRequest::setResource(const std::string& resource) +{ + resource_ = resource; + setCoreParameter("Resource", resource); +} + diff --git a/aegis/src/model/DeleteVulBatchResult.cc b/aegis/src/model/DeleteVulBatchResult.cc new file mode 100644 index 000000000..a657ba6c7 --- /dev/null +++ b/aegis/src/model/DeleteVulBatchResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DeleteVulBatchResult::DeleteVulBatchResult() : + ServiceResult() +{} + +DeleteVulBatchResult::DeleteVulBatchResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteVulBatchResult::~DeleteVulBatchResult() +{} + +void DeleteVulBatchResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/DeleteVulWhitelistRequest.cc b/aegis/src/model/DeleteVulWhitelistRequest.cc new file mode 100644 index 000000000..e4a03f668 --- /dev/null +++ b/aegis/src/model/DeleteVulWhitelistRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DeleteVulWhitelistRequest; + +DeleteVulWhitelistRequest::DeleteVulWhitelistRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DeleteVulWhitelist") +{} + +DeleteVulWhitelistRequest::~DeleteVulWhitelistRequest() +{} + +std::string DeleteVulWhitelistRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteVulWhitelistRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DeleteVulWhitelistRequest::getWhitelist()const +{ + return whitelist_; +} + +void DeleteVulWhitelistRequest::setWhitelist(const std::string& whitelist) +{ + whitelist_ = whitelist; + setCoreParameter("Whitelist", whitelist); +} + diff --git a/aegis/src/model/DeleteVulWhitelistResult.cc b/aegis/src/model/DeleteVulWhitelistResult.cc new file mode 100644 index 000000000..bfc27d7a2 --- /dev/null +++ b/aegis/src/model/DeleteVulWhitelistResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DeleteVulWhitelistResult::DeleteVulWhitelistResult() : + ServiceResult() +{} + +DeleteVulWhitelistResult::DeleteVulWhitelistResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteVulWhitelistResult::~DeleteVulWhitelistResult() +{} + +void DeleteVulWhitelistResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/DescribeAgentInstallStatusRequest.cc b/aegis/src/model/DescribeAgentInstallStatusRequest.cc new file mode 100644 index 000000000..13e2a4ba7 --- /dev/null +++ b/aegis/src/model/DescribeAgentInstallStatusRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeAgentInstallStatusRequest; + +DescribeAgentInstallStatusRequest::DescribeAgentInstallStatusRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeAgentInstallStatus") +{} + +DescribeAgentInstallStatusRequest::~DescribeAgentInstallStatusRequest() +{} + +std::string DescribeAgentInstallStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAgentInstallStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeAgentInstallStatusRequest::getLang()const +{ + return lang_; +} + +void DescribeAgentInstallStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeAgentInstallStatusRequest::getUuids()const +{ + return uuids_; +} + +void DescribeAgentInstallStatusRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + diff --git a/aegis/src/model/DescribeAgentInstallStatusResult.cc b/aegis/src/model/DescribeAgentInstallStatusResult.cc new file mode 100644 index 000000000..c49ba496b --- /dev/null +++ b/aegis/src/model/DescribeAgentInstallStatusResult.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeAgentInstallStatusResult::DescribeAgentInstallStatusResult() : + ServiceResult() +{} + +DescribeAgentInstallStatusResult::DescribeAgentInstallStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAgentInstallStatusResult::~DescribeAgentInstallStatusResult() +{} + +void DescribeAgentInstallStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allAegisClientInvokeStatusResponseList = value["AegisClientInvokeStatusResponseList"]["AegisClientInvokeStatusResponse"]; + for (auto value : allAegisClientInvokeStatusResponseList) + { + AegisClientInvokeStatusResponse aegisClientInvokeStatusResponseListObject; + if(!value["Uuid"].isNull()) + aegisClientInvokeStatusResponseListObject.uuid = value["Uuid"].asString(); + if(!value["Message"].isNull()) + aegisClientInvokeStatusResponseListObject.message = value["Message"].asString(); + if(!value["Result"].isNull()) + aegisClientInvokeStatusResponseListObject.result = std::stoi(value["Result"].asString()); + aegisClientInvokeStatusResponseList_.push_back(aegisClientInvokeStatusResponseListObject); + } + +} + +std::vector DescribeAgentInstallStatusResult::getAegisClientInvokeStatusResponseList()const +{ + return aegisClientInvokeStatusResponseList_; +} + diff --git a/aegis/src/model/DescribeAlarmEventDetailRequest.cc b/aegis/src/model/DescribeAlarmEventDetailRequest.cc new file mode 100644 index 000000000..03b7b6efa --- /dev/null +++ b/aegis/src/model/DescribeAlarmEventDetailRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeAlarmEventDetailRequest; + +DescribeAlarmEventDetailRequest::DescribeAlarmEventDetailRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeAlarmEventDetail") +{} + +DescribeAlarmEventDetailRequest::~DescribeAlarmEventDetailRequest() +{} + +std::string DescribeAlarmEventDetailRequest::getAlarmUniqueInfo()const +{ + return alarmUniqueInfo_; +} + +void DescribeAlarmEventDetailRequest::setAlarmUniqueInfo(const std::string& alarmUniqueInfo) +{ + alarmUniqueInfo_ = alarmUniqueInfo; + setCoreParameter("AlarmUniqueInfo", alarmUniqueInfo); +} + +std::string DescribeAlarmEventDetailRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAlarmEventDetailRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeAlarmEventDetailRequest::getFrom()const +{ + return from_; +} + +void DescribeAlarmEventDetailRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string DescribeAlarmEventDetailRequest::getLang()const +{ + return lang_; +} + +void DescribeAlarmEventDetailRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeAlarmEventDetailResult.cc b/aegis/src/model/DescribeAlarmEventDetailResult.cc new file mode 100644 index 000000000..ed03d052f --- /dev/null +++ b/aegis/src/model/DescribeAlarmEventDetailResult.cc @@ -0,0 +1,103 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeAlarmEventDetailResult::DescribeAlarmEventDetailResult() : + ServiceResult() +{} + +DescribeAlarmEventDetailResult::DescribeAlarmEventDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAlarmEventDetailResult::~DescribeAlarmEventDetailResult() +{} + +void DescribeAlarmEventDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["InternetIp"].isNull()) + data_.internetIp = dataNode["InternetIp"].asString(); + if(!dataNode["Level"].isNull()) + data_.level = dataNode["Level"].asString(); + if(!dataNode["InstanceName"].isNull()) + data_.instanceName = dataNode["InstanceName"].asString(); + if(!dataNode["AlarmEventAliasName"].isNull()) + data_.alarmEventAliasName = dataNode["AlarmEventAliasName"].asString(); + if(!dataNode["Type"].isNull()) + data_.type = dataNode["Type"].asString(); + if(!dataNode["Uuid"].isNull()) + data_.uuid = dataNode["Uuid"].asString(); + if(!dataNode["Solution"].isNull()) + data_.solution = dataNode["Solution"].asString(); + if(!dataNode["StartTime"].isNull()) + data_.startTime = std::stol(dataNode["StartTime"].asString()); + if(!dataNode["EndTime"].isNull()) + data_.endTime = std::stol(dataNode["EndTime"].asString()); + if(!dataNode["AlarmEventDesc"].isNull()) + data_.alarmEventDesc = dataNode["AlarmEventDesc"].asString(); + if(!dataNode["IntranetIp"].isNull()) + data_.intranetIp = dataNode["IntranetIp"].asString(); + if(!dataNode["CanBeDealOnLine"].isNull()) + data_.canBeDealOnLine = dataNode["CanBeDealOnLine"].asString() == "true"; + if(!dataNode["AlarmUniqueInfo"].isNull()) + data_.alarmUniqueInfo = dataNode["AlarmUniqueInfo"].asString(); + if(!dataNode["DataSource"].isNull()) + data_.dataSource = dataNode["DataSource"].asString(); + if(!dataNode["CanCancelFault"].isNull()) + data_.canCancelFault = dataNode["CanCancelFault"].asString() == "true"; + if(!dataNode["HasTraceInfo"].isNull()) + data_.hasTraceInfo = dataNode["HasTraceInfo"].asString() == "true"; + auto allCauseDetails = value["CauseDetails"]["CauseDetail"]; + for (auto value : allCauseDetails) + { + Data::CauseDetail causeDetailObject; + if(!value["Key"].isNull()) + causeDetailObject.key = value["Key"].asString(); + auto allValue = value["Value"]["ValueItem"]; + for (auto value : allValue) + { + Data::CauseDetail::ValueItem valueObject; + if(!value["Name"].isNull()) + valueObject.name = value["Name"].asString(); + if(!value["Type"].isNull()) + valueObject.type = value["Type"].asString(); + if(!value["Value"].isNull()) + valueObject.value = value["Value"].asString(); + causeDetailObject.value.push_back(valueObject); + } + data_.causeDetails.push_back(causeDetailObject); + } + +} + +DescribeAlarmEventDetailResult::Data DescribeAlarmEventDetailResult::getData()const +{ + return data_; +} + diff --git a/aegis/src/model/DescribeAlarmEventListRequest.cc b/aegis/src/model/DescribeAlarmEventListRequest.cc new file mode 100644 index 000000000..e44ecdf70 --- /dev/null +++ b/aegis/src/model/DescribeAlarmEventListRequest.cc @@ -0,0 +1,137 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeAlarmEventListRequest; + +DescribeAlarmEventListRequest::DescribeAlarmEventListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeAlarmEventList") +{} + +DescribeAlarmEventListRequest::~DescribeAlarmEventListRequest() +{} + +std::string DescribeAlarmEventListRequest::getAlarmEventName()const +{ + return alarmEventName_; +} + +void DescribeAlarmEventListRequest::setAlarmEventName(const std::string& alarmEventName) +{ + alarmEventName_ = alarmEventName; + setCoreParameter("AlarmEventName", alarmEventName); +} + +std::string DescribeAlarmEventListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAlarmEventListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeAlarmEventListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeAlarmEventListRequest::setPageSize(const std::string& pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", pageSize); +} + +std::string DescribeAlarmEventListRequest::getAlarmEventType()const +{ + return alarmEventType_; +} + +void DescribeAlarmEventListRequest::setAlarmEventType(const std::string& alarmEventType) +{ + alarmEventType_ = alarmEventType; + setCoreParameter("AlarmEventType", alarmEventType); +} + +std::string DescribeAlarmEventListRequest::getDealed()const +{ + return dealed_; +} + +void DescribeAlarmEventListRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setCoreParameter("Dealed", dealed); +} + +std::string DescribeAlarmEventListRequest::getFrom()const +{ + return from_; +} + +void DescribeAlarmEventListRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string DescribeAlarmEventListRequest::getRemark()const +{ + return remark_; +} + +void DescribeAlarmEventListRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + +int DescribeAlarmEventListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeAlarmEventListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeAlarmEventListRequest::getLang()const +{ + return lang_; +} + +void DescribeAlarmEventListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeAlarmEventListRequest::getLevels()const +{ + return levels_; +} + +void DescribeAlarmEventListRequest::setLevels(const std::string& levels) +{ + levels_ = levels; + setCoreParameter("Levels", levels); +} + diff --git a/aegis/src/model/DescribeAlarmEventListResult.cc b/aegis/src/model/DescribeAlarmEventListResult.cc new file mode 100644 index 000000000..3d580ebcb --- /dev/null +++ b/aegis/src/model/DescribeAlarmEventListResult.cc @@ -0,0 +1,110 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeAlarmEventListResult::DescribeAlarmEventListResult() : + ServiceResult() +{} + +DescribeAlarmEventListResult::DescribeAlarmEventListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAlarmEventListResult::~DescribeAlarmEventListResult() +{} + +void DescribeAlarmEventListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allSuspEvents = value["SuspEvents"]["SuspEventsItem"]; + for (auto value : allSuspEvents) + { + SuspEventsItem suspEventsObject; + if(!value["AlarmUniqueInfo"].isNull()) + suspEventsObject.alarmUniqueInfo = value["AlarmUniqueInfo"].asString(); + if(!value["Solution"].isNull()) + suspEventsObject.solution = value["Solution"].asString(); + if(!value["Level"].isNull()) + suspEventsObject.level = value["Level"].asString(); + if(!value["CanBeDealOnLine"].isNull()) + suspEventsObject.canBeDealOnLine = value["CanBeDealOnLine"].asString() == "true"; + if(!value["Description"].isNull()) + suspEventsObject.description = value["Description"].asString(); + if(!value["StartTime"].isNull()) + suspEventsObject.startTime = std::stol(value["StartTime"].asString()); + if(!value["EndTime"].isNull()) + suspEventsObject.endTime = std::stol(value["EndTime"].asString()); + if(!value["AlarmEventType"].isNull()) + suspEventsObject.alarmEventType = value["AlarmEventType"].asString(); + if(!value["SuspiciousEventCount"].isNull()) + suspEventsObject.suspiciousEventCount = std::stoi(value["SuspiciousEventCount"].asString()); + if(!value["Uuid"].isNull()) + suspEventsObject.uuid = value["Uuid"].asString(); + if(!value["InstanceName"].isNull()) + suspEventsObject.instanceName = value["InstanceName"].asString(); + if(!value["InternetIp"].isNull()) + suspEventsObject.internetIp = value["InternetIp"].asString(); + if(!value["IntranetIp"].isNull()) + suspEventsObject.intranetIp = value["IntranetIp"].asString(); + if(!value["AlarmEventName"].isNull()) + suspEventsObject.alarmEventName = value["AlarmEventName"].asString(); + if(!value["SaleVersion"].isNull()) + suspEventsObject.saleVersion = value["SaleVersion"].asString(); + if(!value["DataSource"].isNull()) + suspEventsObject.dataSource = value["DataSource"].asString(); + if(!value["CanCancelFault"].isNull()) + suspEventsObject.canCancelFault = value["CanCancelFault"].asString() == "true"; + if(!value["Dealed"].isNull()) + suspEventsObject.dealed = value["Dealed"].asString() == "true"; + if(!value["GmtModified"].isNull()) + suspEventsObject.gmtModified = std::stol(value["GmtModified"].asString()); + if(!value["HasTraceInfo"].isNull()) + suspEventsObject.hasTraceInfo = value["HasTraceInfo"].asString() == "true"; + suspEvents_.push_back(suspEventsObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +DescribeAlarmEventListResult::PageInfo DescribeAlarmEventListResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeAlarmEventListResult::getSuspEvents()const +{ + return suspEvents_; +} + diff --git a/aegis/src/model/DescribeAllRegionsStatisticsRequest.cc b/aegis/src/model/DescribeAllRegionsStatisticsRequest.cc new file mode 100644 index 000000000..186bddc8e --- /dev/null +++ b/aegis/src/model/DescribeAllRegionsStatisticsRequest.cc @@ -0,0 +1,236 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeAllRegionsStatisticsRequest; + +DescribeAllRegionsStatisticsRequest::DescribeAllRegionsStatisticsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeAllRegionsStatistics") +{} + +DescribeAllRegionsStatisticsRequest::~DescribeAllRegionsStatisticsRequest() +{} + +std::string DescribeAllRegionsStatisticsRequest::getStatusList()const +{ + return statusList_; +} + +void DescribeAllRegionsStatisticsRequest::setStatusList(const std::string& statusList) +{ + statusList_ = statusList; + setCoreParameter("StatusList", statusList); +} + +std::string DescribeAllRegionsStatisticsRequest::getSaleId()const +{ + return saleId_; +} + +void DescribeAllRegionsStatisticsRequest::setSaleId(const std::string& saleId) +{ + saleId_ = saleId; + setCoreParameter("SaleId", saleId); +} + +int DescribeAllRegionsStatisticsRequest::getRuleType()const +{ + return ruleType_; +} + +void DescribeAllRegionsStatisticsRequest::setRuleType(int ruleType) +{ + ruleType_ = ruleType; + setCoreParameter("RuleType", std::to_string(ruleType)); +} + +long DescribeAllRegionsStatisticsRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeAllRegionsStatisticsRequest::setGroupId(long groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", std::to_string(groupId)); +} + +std::string DescribeAllRegionsStatisticsRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeAllRegionsStatisticsRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setCoreParameter("EndTime", endTime); +} + +std::string DescribeAllRegionsStatisticsRequest::getRemark()const +{ + return remark_; +} + +void DescribeAllRegionsStatisticsRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + +std::string DescribeAllRegionsStatisticsRequest::getDealed()const +{ + return dealed_; +} + +void DescribeAllRegionsStatisticsRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setCoreParameter("Dealed", dealed); +} + +int DescribeAllRegionsStatisticsRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeAllRegionsStatisticsRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeAllRegionsStatisticsRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeAllRegionsStatisticsRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setCoreParameter("StartTime", startTime); +} + +std::string DescribeAllRegionsStatisticsRequest::getType()const +{ + return type_; +} + +void DescribeAllRegionsStatisticsRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string DescribeAllRegionsStatisticsRequest::getUuid()const +{ + return uuid_; +} + +void DescribeAllRegionsStatisticsRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + +std::string DescribeAllRegionsStatisticsRequest::getSecureToken()const +{ + return secureToken_; +} + +void DescribeAllRegionsStatisticsRequest::setSecureToken(const std::string& secureToken) +{ + secureToken_ = secureToken; + setCoreParameter("SecureToken", secureToken); +} + +std::string DescribeAllRegionsStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAllRegionsStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DescribeAllRegionsStatisticsRequest::getWebGroupId()const +{ + return webGroupId_; +} + +void DescribeAllRegionsStatisticsRequest::setWebGroupId(long webGroupId) +{ + webGroupId_ = webGroupId; + setCoreParameter("WebGroupId", std::to_string(webGroupId)); +} + +int DescribeAllRegionsStatisticsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeAllRegionsStatisticsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeAllRegionsStatisticsRequest::getAction1()const +{ + return action1_; +} + +void DescribeAllRegionsStatisticsRequest::setAction1(int action1) +{ + action1_ = action1; + setCoreParameter("Action1", std::to_string(action1)); +} + +std::string DescribeAllRegionsStatisticsRequest::getTag()const +{ + return tag_; +} + +void DescribeAllRegionsStatisticsRequest::setTag(const std::string& tag) +{ + tag_ = tag; + setCoreParameter("Tag", tag); +} + +int DescribeAllRegionsStatisticsRequest::getFlow()const +{ + return flow_; +} + +void DescribeAllRegionsStatisticsRequest::setFlow(int flow) +{ + flow_ = flow; + setCoreParameter("Flow", std::to_string(flow)); +} + +int DescribeAllRegionsStatisticsRequest::getStatus()const +{ + return status_; +} + +void DescribeAllRegionsStatisticsRequest::setStatus(int status) +{ + status_ = status; + setCoreParameter("Status", std::to_string(status)); +} + diff --git a/aegis/src/model/DescribeAllRegionsStatisticsResult.cc b/aegis/src/model/DescribeAllRegionsStatisticsResult.cc new file mode 100644 index 000000000..7c689d011 --- /dev/null +++ b/aegis/src/model/DescribeAllRegionsStatisticsResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeAllRegionsStatisticsResult::DescribeAllRegionsStatisticsResult() : + ServiceResult() +{} + +DescribeAllRegionsStatisticsResult::DescribeAllRegionsStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAllRegionsStatisticsResult::~DescribeAllRegionsStatisticsResult() +{} + +void DescribeAllRegionsStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Account"].isNull()) + data_.account = std::stoi(dataNode["Account"].asString()); + if(!dataNode["Health"].isNull()) + data_.health = std::stoi(dataNode["Health"].asString()); + if(!dataNode["Trojan"].isNull()) + data_.trojan = std::stoi(dataNode["Trojan"].asString()); + if(!dataNode["Suspicious"].isNull()) + data_.suspicious = std::stoi(dataNode["Suspicious"].asString()); + if(!dataNode["Vul"].isNull()) + data_.vul = std::stoi(dataNode["Vul"].asString()); + +} + +DescribeAllRegionsStatisticsResult::Data DescribeAllRegionsStatisticsResult::getData()const +{ + return data_; +} + diff --git a/aegis/src/model/DescribeAnalysisCurveRequest.cc b/aegis/src/model/DescribeAnalysisCurveRequest.cc new file mode 100644 index 000000000..2485d6a33 --- /dev/null +++ b/aegis/src/model/DescribeAnalysisCurveRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeAnalysisCurveRequest; + +DescribeAnalysisCurveRequest::DescribeAnalysisCurveRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeAnalysisCurve") +{} + +DescribeAnalysisCurveRequest::~DescribeAnalysisCurveRequest() +{} + +std::string DescribeAnalysisCurveRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAnalysisCurveRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DescribeAnalysisCurveRequest::getStartTimeStamp()const +{ + return startTimeStamp_; +} + +void DescribeAnalysisCurveRequest::setStartTimeStamp(long startTimeStamp) +{ + startTimeStamp_ = startTimeStamp; + setCoreParameter("StartTimeStamp", std::to_string(startTimeStamp)); +} + +long DescribeAnalysisCurveRequest::getEndTimeStamp()const +{ + return endTimeStamp_; +} + +void DescribeAnalysisCurveRequest::setEndTimeStamp(long endTimeStamp) +{ + endTimeStamp_ = endTimeStamp; + setCoreParameter("EndTimeStamp", std::to_string(endTimeStamp)); +} + diff --git a/aegis/src/model/DescribeAnalysisCurveResult.cc b/aegis/src/model/DescribeAnalysisCurveResult.cc new file mode 100644 index 000000000..11f6919d8 --- /dev/null +++ b/aegis/src/model/DescribeAnalysisCurveResult.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeAnalysisCurveResult::DescribeAnalysisCurveResult() : + ServiceResult() +{} + +DescribeAnalysisCurveResult::DescribeAnalysisCurveResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAnalysisCurveResult::~DescribeAnalysisCurveResult() +{} + +void DescribeAnalysisCurveResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto curvesNode = value["Curves"]; + auto allOriginalCurveList = value["OriginalCurveList"]["OriginalCurve"]; + for (auto value : allOriginalCurveList) + { + Curves::OriginalCurve originalCurveObject; + if(!value["Count"].isNull()) + originalCurveObject.count = std::stoi(value["Count"].asString()); + if(!value["DsTimestamp"].isNull()) + originalCurveObject.dsTimestamp = std::stol(value["DsTimestamp"].asString()); + curves_.originalCurveList.push_back(originalCurveObject); + } + auto allResultCurveList = value["ResultCurveList"]["ResultCurve"]; + for (auto value : allResultCurveList) + { + Curves::ResultCurve resultCurveObject; + if(!value["Count"].isNull()) + resultCurveObject.count = std::stoi(value["Count"].asString()); + if(!value["DsTimestamp"].isNull()) + resultCurveObject.dsTimestamp = std::stol(value["DsTimestamp"].asString()); + curves_.resultCurveList.push_back(resultCurveObject); + } + +} + +DescribeAnalysisCurveResult::Curves DescribeAnalysisCurveResult::getCurves()const +{ + return curves_; +} + diff --git a/aegis/src/model/DescribeAnalysisHistogramsRequest.cc b/aegis/src/model/DescribeAnalysisHistogramsRequest.cc new file mode 100644 index 000000000..d1611b01f --- /dev/null +++ b/aegis/src/model/DescribeAnalysisHistogramsRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeAnalysisHistogramsRequest; + +DescribeAnalysisHistogramsRequest::DescribeAnalysisHistogramsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeAnalysisHistograms") +{} + +DescribeAnalysisHistogramsRequest::~DescribeAnalysisHistogramsRequest() +{} + +std::string DescribeAnalysisHistogramsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAnalysisHistogramsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeAnalysisHistogramsRequest::getQuery()const +{ + return query_; +} + +void DescribeAnalysisHistogramsRequest::setQuery(const std::string& query) +{ + query_ = query; + setCoreParameter("Query", query); +} + +int DescribeAnalysisHistogramsRequest::getFrom()const +{ + return from_; +} + +void DescribeAnalysisHistogramsRequest::setFrom(int from) +{ + from_ = from; + setCoreParameter("From", std::to_string(from)); +} + +int DescribeAnalysisHistogramsRequest::getTo()const +{ + return to_; +} + +void DescribeAnalysisHistogramsRequest::setTo(int to) +{ + to_ = to; + setCoreParameter("To", std::to_string(to)); +} + diff --git a/aegis/src/model/DescribeAnalysisHistogramsResult.cc b/aegis/src/model/DescribeAnalysisHistogramsResult.cc new file mode 100644 index 000000000..807320bba --- /dev/null +++ b/aegis/src/model/DescribeAnalysisHistogramsResult.cc @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeAnalysisHistogramsResult::DescribeAnalysisHistogramsResult() : + ServiceResult() +{} + +DescribeAnalysisHistogramsResult::DescribeAnalysisHistogramsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAnalysisHistogramsResult::~DescribeAnalysisHistogramsResult() +{} + +void DescribeAnalysisHistogramsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto histogramsNode = value["Histograms"]; + if(!histogramsNode["Histograms"].isNull()) + histograms_.histograms = histogramsNode["Histograms"].asString(); + if(!histogramsNode["TotalCount"].isNull()) + histograms_.totalCount = std::stoi(histogramsNode["TotalCount"].asString()); + +} + +DescribeAnalysisHistogramsResult::Histograms DescribeAnalysisHistogramsResult::getHistograms()const +{ + return histograms_; +} + diff --git a/aegis/src/model/DescribeAnalysisLogsRequest.cc b/aegis/src/model/DescribeAnalysisLogsRequest.cc new file mode 100644 index 000000000..c242a972a --- /dev/null +++ b/aegis/src/model/DescribeAnalysisLogsRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeAnalysisLogsRequest; + +DescribeAnalysisLogsRequest::DescribeAnalysisLogsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeAnalysisLogs") +{} + +DescribeAnalysisLogsRequest::~DescribeAnalysisLogsRequest() +{} + +std::string DescribeAnalysisLogsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAnalysisLogsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeAnalysisLogsRequest::getQuery()const +{ + return query_; +} + +void DescribeAnalysisLogsRequest::setQuery(const std::string& query) +{ + query_ = query; + setCoreParameter("Query", query); +} + +int DescribeAnalysisLogsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeAnalysisLogsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeAnalysisLogsRequest::getFrom()const +{ + return from_; +} + +void DescribeAnalysisLogsRequest::setFrom(int from) +{ + from_ = from; + setCoreParameter("From", std::to_string(from)); +} + +int DescribeAnalysisLogsRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeAnalysisLogsRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +int DescribeAnalysisLogsRequest::getTo()const +{ + return to_; +} + +void DescribeAnalysisLogsRequest::setTo(int to) +{ + to_ = to; + setCoreParameter("To", std::to_string(to)); +} + +bool DescribeAnalysisLogsRequest::getReverse()const +{ + return reverse_; +} + +void DescribeAnalysisLogsRequest::setReverse(bool reverse) +{ + reverse_ = reverse; + setCoreParameter("Reverse", reverse ? "true" : "false"); +} + diff --git a/aegis/src/model/DescribeAnalysisLogsResult.cc b/aegis/src/model/DescribeAnalysisLogsResult.cc new file mode 100644 index 000000000..64fde598a --- /dev/null +++ b/aegis/src/model/DescribeAnalysisLogsResult.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeAnalysisLogsResult::DescribeAnalysisLogsResult() : + ServiceResult() +{} + +DescribeAnalysisLogsResult::DescribeAnalysisLogsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAnalysisLogsResult::~DescribeAnalysisLogsResult() +{} + +void DescribeAnalysisLogsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto logsNode = value["Logs"]; + if(!logsNode["ProcessedRow"].isNull()) + logs_.processedRow = std::stoi(logsNode["ProcessedRow"].asString()); + if(!logsNode["WhereQuery"].isNull()) + logs_.whereQuery = logsNode["WhereQuery"].asString(); + if(!logsNode["AggQuery"].isNull()) + logs_.aggQuery = logsNode["AggQuery"].asString(); + if(!logsNode["MLimited"].isNull()) + logs_.mLimited = std::stoi(logsNode["MLimited"].asString()); + if(!logsNode["Terms"].isNull()) + logs_.terms = logsNode["Terms"].asString(); + if(!logsNode["Keys"].isNull()) + logs_.keys = logsNode["Keys"].asString(); + if(!logsNode["Count"].isNull()) + logs_.count = std::stoi(logsNode["Count"].asString()); + if(!logsNode["ElapsedMilliSecond"].isNull()) + logs_.elapsedMilliSecond = std::stoi(logsNode["ElapsedMilliSecond"].asString()); + if(!logsNode["Logs"].isNull()) + logs_.logs = logsNode["Logs"].asString(); + if(!logsNode["MMarker"].isNull()) + logs_.mMarker = logsNode["MMarker"].asString(); + +} + +DescribeAnalysisLogsResult::Logs DescribeAnalysisLogsResult::getLogs()const +{ + return logs_; +} + diff --git a/aegis/src/model/DescribeAnalysisShipperStatusRequest.cc b/aegis/src/model/DescribeAnalysisShipperStatusRequest.cc new file mode 100644 index 000000000..c3a262b1f --- /dev/null +++ b/aegis/src/model/DescribeAnalysisShipperStatusRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeAnalysisShipperStatusRequest; + +DescribeAnalysisShipperStatusRequest::DescribeAnalysisShipperStatusRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeAnalysisShipperStatus") +{} + +DescribeAnalysisShipperStatusRequest::~DescribeAnalysisShipperStatusRequest() +{} + +std::string DescribeAnalysisShipperStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAnalysisShipperStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeAnalysisShipperStatusResult.cc b/aegis/src/model/DescribeAnalysisShipperStatusResult.cc new file mode 100644 index 000000000..22d518f1e --- /dev/null +++ b/aegis/src/model/DescribeAnalysisShipperStatusResult.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeAnalysisShipperStatusResult::DescribeAnalysisShipperStatusResult() : + ServiceResult() +{} + +DescribeAnalysisShipperStatusResult::DescribeAnalysisShipperStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAnalysisShipperStatusResult::~DescribeAnalysisShipperStatusResult() +{} + +void DescribeAnalysisShipperStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto shipperDataNode = value["ShipperData"]; + if(!shipperDataNode["AuthStatus"].isNull()) + shipperData_.authStatus = shipperDataNode["AuthStatus"].asString(); + +} + +DescribeAnalysisShipperStatusResult::ShipperData DescribeAnalysisShipperStatusResult::getShipperData()const +{ + return shipperData_; +} + diff --git a/aegis/src/model/DescribeAnalysisSlsIndexRequest.cc b/aegis/src/model/DescribeAnalysisSlsIndexRequest.cc new file mode 100644 index 000000000..d047f32e4 --- /dev/null +++ b/aegis/src/model/DescribeAnalysisSlsIndexRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeAnalysisSlsIndexRequest; + +DescribeAnalysisSlsIndexRequest::DescribeAnalysisSlsIndexRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeAnalysisSlsIndex") +{} + +DescribeAnalysisSlsIndexRequest::~DescribeAnalysisSlsIndexRequest() +{} + +std::string DescribeAnalysisSlsIndexRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAnalysisSlsIndexRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeAnalysisSlsIndexResult.cc b/aegis/src/model/DescribeAnalysisSlsIndexResult.cc new file mode 100644 index 000000000..cae97461e --- /dev/null +++ b/aegis/src/model/DescribeAnalysisSlsIndexResult.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeAnalysisSlsIndexResult::DescribeAnalysisSlsIndexResult() : + ServiceResult() +{} + +DescribeAnalysisSlsIndexResult::DescribeAnalysisSlsIndexResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAnalysisSlsIndexResult::~DescribeAnalysisSlsIndexResult() +{} + +void DescribeAnalysisSlsIndexResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto slsIndexNode = value["SlsIndex"]; + if(!slsIndexNode["Index"].isNull()) + slsIndex_.index = slsIndexNode["Index"].asString(); + +} + +DescribeAnalysisSlsIndexResult::SlsIndex DescribeAnalysisSlsIndexResult::getSlsIndex()const +{ + return slsIndex_; +} + diff --git a/aegis/src/model/DescribeAnalysisStatisticsRequest.cc b/aegis/src/model/DescribeAnalysisStatisticsRequest.cc new file mode 100644 index 000000000..38b484cef --- /dev/null +++ b/aegis/src/model/DescribeAnalysisStatisticsRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeAnalysisStatisticsRequest; + +DescribeAnalysisStatisticsRequest::DescribeAnalysisStatisticsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeAnalysisStatistics") +{} + +DescribeAnalysisStatisticsRequest::~DescribeAnalysisStatisticsRequest() +{} + +std::string DescribeAnalysisStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAnalysisStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeAnalysisStatisticsResult.cc b/aegis/src/model/DescribeAnalysisStatisticsResult.cc new file mode 100644 index 000000000..695d468ff --- /dev/null +++ b/aegis/src/model/DescribeAnalysisStatisticsResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeAnalysisStatisticsResult::DescribeAnalysisStatisticsResult() : + ServiceResult() +{} + +DescribeAnalysisStatisticsResult::DescribeAnalysisStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAnalysisStatisticsResult::~DescribeAnalysisStatisticsResult() +{} + +void DescribeAnalysisStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto statisticsNode = value["Statistics"]; + if(!statisticsNode["Total"].isNull()) + statistics_.total = std::stoi(statisticsNode["Total"].asString()); + if(!statisticsNode["Serious"].isNull()) + statistics_.serious = std::stoi(statisticsNode["Serious"].asString()); + if(!statisticsNode["Suspicious"].isNull()) + statistics_.suspicious = std::stoi(statisticsNode["Suspicious"].asString()); + if(!statisticsNode["Remind"].isNull()) + statistics_.remind = std::stoi(statisticsNode["Remind"].asString()); + +} + +DescribeAnalysisStatisticsResult::Statistics DescribeAnalysisStatisticsResult::getStatistics()const +{ + return statistics_; +} + diff --git a/aegis/src/model/DescribeApiBuySummaryRequest.cc b/aegis/src/model/DescribeApiBuySummaryRequest.cc new file mode 100644 index 000000000..c7fc7b27a --- /dev/null +++ b/aegis/src/model/DescribeApiBuySummaryRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeApiBuySummaryRequest; + +DescribeApiBuySummaryRequest::DescribeApiBuySummaryRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeApiBuySummary") +{} + +DescribeApiBuySummaryRequest::~DescribeApiBuySummaryRequest() +{} + +std::string DescribeApiBuySummaryRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeApiBuySummaryRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeApiBuySummaryResult.cc b/aegis/src/model/DescribeApiBuySummaryResult.cc new file mode 100644 index 000000000..49e6e847e --- /dev/null +++ b/aegis/src/model/DescribeApiBuySummaryResult.cc @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeApiBuySummaryResult::DescribeApiBuySummaryResult() : + ServiceResult() +{} + +DescribeApiBuySummaryResult::DescribeApiBuySummaryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApiBuySummaryResult::~DescribeApiBuySummaryResult() +{} + +void DescribeApiBuySummaryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto buySummaryNode = value["BuySummary"]; + if(!buySummaryNode["Status"].isNull()) + buySummary_.status = std::stol(buySummaryNode["Status"].asString()); + if(!buySummaryNode["BuyThreatBook"].isNull()) + buySummary_.buyThreatBook = buySummaryNode["BuyThreatBook"].asString() == "true"; + +} + +DescribeApiBuySummaryResult::BuySummary DescribeApiBuySummaryResult::getBuySummary()const +{ + return buySummary_; +} + diff --git a/aegis/src/model/DescribeAssetDetailByUuidRequest.cc b/aegis/src/model/DescribeAssetDetailByUuidRequest.cc new file mode 100644 index 000000000..7571c8d62 --- /dev/null +++ b/aegis/src/model/DescribeAssetDetailByUuidRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeAssetDetailByUuidRequest; + +DescribeAssetDetailByUuidRequest::DescribeAssetDetailByUuidRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeAssetDetailByUuid") +{} + +DescribeAssetDetailByUuidRequest::~DescribeAssetDetailByUuidRequest() +{} + +std::string DescribeAssetDetailByUuidRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAssetDetailByUuidRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeAssetDetailByUuidRequest::getLang()const +{ + return lang_; +} + +void DescribeAssetDetailByUuidRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeAssetDetailByUuidRequest::getUuid()const +{ + return uuid_; +} + +void DescribeAssetDetailByUuidRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + diff --git a/aegis/src/model/DescribeAssetDetailByUuidResult.cc b/aegis/src/model/DescribeAssetDetailByUuidResult.cc new file mode 100644 index 000000000..0a8b750cd --- /dev/null +++ b/aegis/src/model/DescribeAssetDetailByUuidResult.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeAssetDetailByUuidResult::DescribeAssetDetailByUuidResult() : + ServiceResult() +{} + +DescribeAssetDetailByUuidResult::DescribeAssetDetailByUuidResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAssetDetailByUuidResult::~DescribeAssetDetailByUuidResult() +{} + +void DescribeAssetDetailByUuidResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto assetDetailNode = value["AssetDetail"]; + if(!assetDetailNode["InternetIp"].isNull()) + assetDetail_.internetIp = assetDetailNode["InternetIp"].asString(); + if(!assetDetailNode["IntranetIp"].isNull()) + assetDetail_.intranetIp = assetDetailNode["IntranetIp"].asString(); + if(!assetDetailNode["InstanceName"].isNull()) + assetDetail_.instanceName = std::stoi(assetDetailNode["InstanceName"].asString()); + if(!assetDetailNode["InstanceId"].isNull()) + assetDetail_.instanceId = std::stoi(assetDetailNode["InstanceId"].asString()); + if(!assetDetailNode["Ip"].isNull()) + assetDetail_.ip = assetDetailNode["Ip"].asString(); + if(!assetDetailNode["Uuid"].isNull()) + assetDetail_.uuid = assetDetailNode["Uuid"].asString(); + if(!assetDetailNode["AssetType"].isNull()) + assetDetail_.assetType = assetDetailNode["AssetType"].asString(); + if(!assetDetailNode["Os"].isNull()) + assetDetail_.os = assetDetailNode["Os"].asString(); + if(!assetDetailNode["ClientStatus"].isNull()) + assetDetail_.clientStatus = assetDetailNode["ClientStatus"].asString(); + if(!assetDetailNode["Region"].isNull()) + assetDetail_.region = assetDetailNode["Region"].asString(); + if(!assetDetailNode["RegionName"].isNull()) + assetDetail_.regionName = assetDetailNode["RegionName"].asString(); + if(!assetDetailNode["Tag"].isNull()) + assetDetail_.tag = assetDetailNode["Tag"].asString(); + if(!assetDetailNode["GroupTrace"].isNull()) + assetDetail_.groupTrace = assetDetailNode["GroupTrace"].asString(); + if(!assetDetailNode["Cpu"].isNull()) + assetDetail_.cpu = std::stoi(assetDetailNode["Cpu"].asString()); + if(!assetDetailNode["CpuInfo"].isNull()) + assetDetail_.cpuInfo = assetDetailNode["CpuInfo"].asString(); + if(!assetDetailNode["Kernel"].isNull()) + assetDetail_.kernel = assetDetailNode["Kernel"].asString(); + if(!assetDetailNode["OsDetail"].isNull()) + assetDetail_.osDetail = assetDetailNode["OsDetail"].asString(); + if(!assetDetailNode["Mem"].isNull()) + assetDetail_.mem = std::stoi(assetDetailNode["Mem"].asString()); + if(!assetDetailNode["SysInfo"].isNull()) + assetDetail_.sysInfo = assetDetailNode["SysInfo"].asString(); + if(!assetDetailNode["HostName"].isNull()) + assetDetail_.hostName = assetDetailNode["HostName"].asString(); + auto allIpList = assetDetailNode["IpList"]["IpList"]; + for (auto value : allIpList) + assetDetail_.ipList.push_back(value.asString()); + auto allMacList = assetDetailNode["MacList"]["MacList"]; + for (auto value : allMacList) + assetDetail_.macList.push_back(value.asString()); + auto allDiskInfoList = assetDetailNode["DiskInfoList"]["DiskInfo"]; + for (auto value : allDiskInfoList) + assetDetail_.diskInfoList.push_back(value.asString()); + +} + +DescribeAssetDetailByUuidResult::AssetDetail DescribeAssetDetailByUuidResult::getAssetDetail()const +{ + return assetDetail_; +} + diff --git a/aegis/src/model/DescribeAssetListRequest.cc b/aegis/src/model/DescribeAssetListRequest.cc new file mode 100644 index 000000000..2c9415e65 --- /dev/null +++ b/aegis/src/model/DescribeAssetListRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeAssetListRequest; + +DescribeAssetListRequest::DescribeAssetListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeAssetList") +{} + +DescribeAssetListRequest::~DescribeAssetListRequest() +{} + +std::string DescribeAssetListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAssetListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeAssetListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeAssetListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeAssetListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeAssetListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeAssetListRequest::getLang()const +{ + return lang_; +} + +void DescribeAssetListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeAssetListRequest::getFilterConditions()const +{ + return filterConditions_; +} + +void DescribeAssetListRequest::setFilterConditions(const std::string& filterConditions) +{ + filterConditions_ = filterConditions; + setCoreParameter("FilterConditions", filterConditions); +} + diff --git a/aegis/src/model/DescribeAssetListResult.cc b/aegis/src/model/DescribeAssetListResult.cc new file mode 100644 index 000000000..8668bce27 --- /dev/null +++ b/aegis/src/model/DescribeAssetListResult.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeAssetListResult::DescribeAssetListResult() : + ServiceResult() +{} + +DescribeAssetListResult::DescribeAssetListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAssetListResult::~DescribeAssetListResult() +{} + +void DescribeAssetListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allAssetList = value["AssetList"]["Asset"]; + for (auto value : allAssetList) + { + Asset assetListObject; + if(!value["InternetIp"].isNull()) + assetListObject.internetIp = value["InternetIp"].asString(); + if(!value["IntranetIp"].isNull()) + assetListObject.intranetIp = value["IntranetIp"].asString(); + if(!value["InstanceName"].isNull()) + assetListObject.instanceName = value["InstanceName"].asString(); + if(!value["Ip"].isNull()) + assetListObject.ip = value["Ip"].asString(); + if(!value["Uuid"].isNull()) + assetListObject.uuid = value["Uuid"].asString(); + if(!value["AssetType"].isNull()) + assetListObject.assetType = value["AssetType"].asString(); + if(!value["Os"].isNull()) + assetListObject.os = value["Os"].asString(); + if(!value["ClientStatus"].isNull()) + assetListObject.clientStatus = value["ClientStatus"].asString(); + if(!value["Region"].isNull()) + assetListObject.region = value["Region"].asString(); + if(!value["RegionName"].isNull()) + assetListObject.regionName = value["RegionName"].asString(); + assetList_.push_back(assetListObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeAssetListResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeAssetListResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeAssetListResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeAssetListResult::getAssetList()const +{ + return assetList_; +} + diff --git a/aegis/src/model/DescribeAssetSummaryRequest.cc b/aegis/src/model/DescribeAssetSummaryRequest.cc new file mode 100644 index 000000000..ab58accf5 --- /dev/null +++ b/aegis/src/model/DescribeAssetSummaryRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeAssetSummaryRequest; + +DescribeAssetSummaryRequest::DescribeAssetSummaryRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeAssetSummary") +{} + +DescribeAssetSummaryRequest::~DescribeAssetSummaryRequest() +{} + +std::string DescribeAssetSummaryRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAssetSummaryRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeAssetSummaryRequest::getLang()const +{ + return lang_; +} + +void DescribeAssetSummaryRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeAssetSummaryResult.cc b/aegis/src/model/DescribeAssetSummaryResult.cc new file mode 100644 index 000000000..57ee26ced --- /dev/null +++ b/aegis/src/model/DescribeAssetSummaryResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeAssetSummaryResult::DescribeAssetSummaryResult() : + ServiceResult() +{} + +DescribeAssetSummaryResult::DescribeAssetSummaryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAssetSummaryResult::~DescribeAssetSummaryResult() +{} + +void DescribeAssetSummaryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto summaryNode = value["Summary"]; + if(!summaryNode["TotalCount"].isNull()) + summary_.totalCount = std::stoi(summaryNode["TotalCount"].asString()); + if(!summaryNode["Offline"].isNull()) + summary_.offline = std::stoi(summaryNode["Offline"].asString()); + if(!summaryNode["Online"].isNull()) + summary_.online = std::stoi(summaryNode["Online"].asString()); + if(!summaryNode["AllRegionCount"].isNull()) + summary_.allRegionCount = std::stoi(summaryNode["AllRegionCount"].asString()); + +} + +DescribeAssetSummaryResult::Summary DescribeAssetSummaryResult::getSummary()const +{ + return summary_; +} + diff --git a/aegis/src/model/DescribeAttackAnalysisDataRequest.cc b/aegis/src/model/DescribeAttackAnalysisDataRequest.cc new file mode 100644 index 000000000..c82c2b0be --- /dev/null +++ b/aegis/src/model/DescribeAttackAnalysisDataRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeAttackAnalysisDataRequest; + +DescribeAttackAnalysisDataRequest::DescribeAttackAnalysisDataRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeAttackAnalysisData") +{} + +DescribeAttackAnalysisDataRequest::~DescribeAttackAnalysisDataRequest() +{} + +std::string DescribeAttackAnalysisDataRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAttackAnalysisDataRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeAttackAnalysisDataRequest::getData()const +{ + return data_; +} + +void DescribeAttackAnalysisDataRequest::setData(const std::string& data) +{ + data_ = data; + setCoreParameter("Data", data); +} + +std::string DescribeAttackAnalysisDataRequest::getBase64()const +{ + return base64_; +} + +void DescribeAttackAnalysisDataRequest::setBase64(const std::string& base64) +{ + base64_ = base64; + setCoreParameter("Base64", base64); +} + +int DescribeAttackAnalysisDataRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeAttackAnalysisDataRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +long DescribeAttackAnalysisDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeAttackAnalysisDataRequest::setEndTime(long endTime) +{ + endTime_ = endTime; + setCoreParameter("EndTime", std::to_string(endTime)); +} + +int DescribeAttackAnalysisDataRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeAttackAnalysisDataRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +long DescribeAttackAnalysisDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeAttackAnalysisDataRequest::setStartTime(long startTime) +{ + startTime_ = startTime; + setCoreParameter("StartTime", std::to_string(startTime)); +} + +std::string DescribeAttackAnalysisDataRequest::getLang()const +{ + return lang_; +} + +void DescribeAttackAnalysisDataRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeAttackAnalysisDataRequest::getType()const +{ + return type_; +} + +void DescribeAttackAnalysisDataRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + diff --git a/aegis/src/model/DescribeAttackAnalysisDataResult.cc b/aegis/src/model/DescribeAttackAnalysisDataResult.cc new file mode 100644 index 000000000..4eaa24baf --- /dev/null +++ b/aegis/src/model/DescribeAttackAnalysisDataResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeAttackAnalysisDataResult::DescribeAttackAnalysisDataResult() : + ServiceResult() +{} + +DescribeAttackAnalysisDataResult::DescribeAttackAnalysisDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAttackAnalysisDataResult::~DescribeAttackAnalysisDataResult() +{} + +void DescribeAttackAnalysisDataResult::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(); + if(!value["Total"].isNull()) + total_ = std::stoi(value["Total"].asString()); + if(!value["Page"].isNull()) + page_ = std::stoi(value["Page"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + +} + +int DescribeAttackAnalysisDataResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeAttackAnalysisDataResult::getTotal()const +{ + return total_; +} + +std::string DescribeAttackAnalysisDataResult::getData()const +{ + return data_; +} + +int DescribeAttackAnalysisDataResult::getPage()const +{ + return page_; +} + diff --git a/aegis/src/model/DescribeAutoDelConfigRequest.cc b/aegis/src/model/DescribeAutoDelConfigRequest.cc new file mode 100644 index 000000000..2f4051b78 --- /dev/null +++ b/aegis/src/model/DescribeAutoDelConfigRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeAutoDelConfigRequest; + +DescribeAutoDelConfigRequest::DescribeAutoDelConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeAutoDelConfig") +{} + +DescribeAutoDelConfigRequest::~DescribeAutoDelConfigRequest() +{} + +std::string DescribeAutoDelConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeAutoDelConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeAutoDelConfigResult.cc b/aegis/src/model/DescribeAutoDelConfigResult.cc new file mode 100644 index 000000000..4f7a5a864 --- /dev/null +++ b/aegis/src/model/DescribeAutoDelConfigResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeAutoDelConfigResult::DescribeAutoDelConfigResult() : + ServiceResult() +{} + +DescribeAutoDelConfigResult::DescribeAutoDelConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAutoDelConfigResult::~DescribeAutoDelConfigResult() +{} + +void DescribeAutoDelConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Days"].isNull()) + days_ = std::stoi(value["Days"].asString()); + +} + +int DescribeAutoDelConfigResult::getDays()const +{ + return days_; +} + diff --git a/aegis/src/model/DescribeBuySummaryRequest.cc b/aegis/src/model/DescribeBuySummaryRequest.cc new file mode 100644 index 000000000..7041681d3 --- /dev/null +++ b/aegis/src/model/DescribeBuySummaryRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeBuySummaryRequest; + +DescribeBuySummaryRequest::DescribeBuySummaryRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeBuySummary") +{} + +DescribeBuySummaryRequest::~DescribeBuySummaryRequest() +{} + +std::string DescribeBuySummaryRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeBuySummaryRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeBuySummaryResult.cc b/aegis/src/model/DescribeBuySummaryResult.cc new file mode 100644 index 000000000..3d1f379e0 --- /dev/null +++ b/aegis/src/model/DescribeBuySummaryResult.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeBuySummaryResult::DescribeBuySummaryResult() : + ServiceResult() +{} + +DescribeBuySummaryResult::DescribeBuySummaryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBuySummaryResult::~DescribeBuySummaryResult() +{} + +void DescribeBuySummaryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto buySummaryNode = value["BuySummary"]; + if(!buySummaryNode["ExpireDateTimestamp"].isNull()) + buySummary_.expireDateTimestamp = std::stol(buySummaryNode["ExpireDateTimestamp"].asString()); + if(!buySummaryNode["PurchaseDate"].isNull()) + buySummary_.purchaseDate = std::stol(buySummaryNode["PurchaseDate"].asString()); + if(!buySummaryNode["BuyVersion"].isNull()) + buySummary_.buyVersion = buySummaryNode["BuyVersion"].asString(); + if(!buySummaryNode["SafePointSurplusDays"].isNull()) + buySummary_.safePointSurplusDays = std::stoi(buySummaryNode["SafePointSurplusDays"].asString()); + if(!buySummaryNode["SafePointdailyCost"].isNull()) + buySummary_.safePointdailyCost = std::stoi(buySummaryNode["SafePointdailyCost"].asString()); + if(!buySummaryNode["Capacity"].isNull()) + buySummary_.capacity = std::stoi(buySummaryNode["Capacity"].asString()); + if(!buySummaryNode["TotalMachineNum"].isNull()) + buySummary_.totalMachineNum = std::stoi(buySummaryNode["TotalMachineNum"].asString()); + if(!buySummaryNode["CanApplyTrial"].isNull()) + buySummary_.canApplyTrial = buySummaryNode["CanApplyTrial"].asString() == "true"; + if(!buySummaryNode["InstanceId"].isNull()) + buySummary_.instanceId = buySummaryNode["InstanceId"].asString(); + if(!buySummaryNode["UseCapacity"].isNull()) + buySummary_.useCapacity = std::stoi(buySummaryNode["UseCapacity"].asString()); + if(!buySummaryNode["CanAccessHidden"].isNull()) + buySummary_.canAccessHidden = buySummaryNode["CanAccessHidden"].asString() == "true"; + if(!buySummaryNode["BuyStatus"].isNull()) + buySummary_.buyStatus = buySummaryNode["BuyStatus"].asString() == "true"; + if(!buySummaryNode["BuyType"].isNull()) + buySummary_.buyType = buySummaryNode["BuyType"].asString(); + if(!buySummaryNode["ExpireDate"].isNull()) + buySummary_.expireDate = std::stol(buySummaryNode["ExpireDate"].asString()); + if(!buySummaryNode["SafePointCapacity"].isNull()) + buySummary_.safePointCapacity = std::stoi(buySummaryNode["SafePointCapacity"].asString()); + if(!buySummaryNode["NeedFeedBack"].isNull()) + buySummary_.needFeedBack = buySummaryNode["NeedFeedBack"].asString() == "true"; + if(!buySummaryNode["SafePointBuyVersion"].isNull()) + buySummary_.safePointBuyVersion = buySummaryNode["SafePointBuyVersion"].asString(); + if(!buySummaryNode["OriginalVersion"].isNull()) + buySummary_.originalVersion = buySummaryNode["OriginalVersion"].asString(); + if(!buySummaryNode["OriginalBuyType"].isNull()) + buySummary_.originalBuyType = buySummaryNode["OriginalBuyType"].asString(); + if(!buySummaryNode["SafePointExpireDate"].isNull()) + buySummary_.safePointExpireDate = std::stol(buySummaryNode["SafePointExpireDate"].asString()); + if(!buySummaryNode["SpecialCount"].isNull()) + buySummary_.specialCount = std::stoi(buySummaryNode["SpecialCount"].asString()); + +} + +DescribeBuySummaryResult::BuySummary DescribeBuySummaryResult::getBuySummary()const +{ + return buySummary_; +} + diff --git a/aegis/src/model/DescribeCanTrySasRequest.cc b/aegis/src/model/DescribeCanTrySasRequest.cc new file mode 100644 index 000000000..bd641496a --- /dev/null +++ b/aegis/src/model/DescribeCanTrySasRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeCanTrySasRequest; + +DescribeCanTrySasRequest::DescribeCanTrySasRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeCanTrySas") +{} + +DescribeCanTrySasRequest::~DescribeCanTrySasRequest() +{} + +std::string DescribeCanTrySasRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeCanTrySasRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeCanTrySasResult.cc b/aegis/src/model/DescribeCanTrySasResult.cc new file mode 100644 index 000000000..12f7235eb --- /dev/null +++ b/aegis/src/model/DescribeCanTrySasResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeCanTrySasResult::DescribeCanTrySasResult() : + ServiceResult() +{} + +DescribeCanTrySasResult::DescribeCanTrySasResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCanTrySasResult::~DescribeCanTrySasResult() +{} + +void DescribeCanTrySasResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CanTry"].isNull()) + canTry_ = std::stoi(value["CanTry"].asString()); + +} + +int DescribeCanTrySasResult::getCanTry()const +{ + return canTry_; +} + diff --git a/aegis/src/model/DescribeCanUpgradeSasRequest.cc b/aegis/src/model/DescribeCanUpgradeSasRequest.cc new file mode 100644 index 000000000..77772e3dd --- /dev/null +++ b/aegis/src/model/DescribeCanUpgradeSasRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeCanUpgradeSasRequest; + +DescribeCanUpgradeSasRequest::DescribeCanUpgradeSasRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeCanUpgradeSas") +{} + +DescribeCanUpgradeSasRequest::~DescribeCanUpgradeSasRequest() +{} + +std::string DescribeCanUpgradeSasRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeCanUpgradeSasRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeCanUpgradeSasResult.cc b/aegis/src/model/DescribeCanUpgradeSasResult.cc new file mode 100644 index 000000000..fbc590cc8 --- /dev/null +++ b/aegis/src/model/DescribeCanUpgradeSasResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeCanUpgradeSasResult::DescribeCanUpgradeSasResult() : + ServiceResult() +{} + +DescribeCanUpgradeSasResult::DescribeCanUpgradeSasResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCanUpgradeSasResult::~DescribeCanUpgradeSasResult() +{} + +void DescribeCanUpgradeSasResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString() == "true"; + +} + +bool DescribeCanUpgradeSasResult::getData()const +{ + return data_; +} + diff --git a/aegis/src/model/DescribeCheckWarningDetailRequest.cc b/aegis/src/model/DescribeCheckWarningDetailRequest.cc new file mode 100644 index 000000000..f1fa57cdf --- /dev/null +++ b/aegis/src/model/DescribeCheckWarningDetailRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeCheckWarningDetailRequest; + +DescribeCheckWarningDetailRequest::DescribeCheckWarningDetailRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeCheckWarningDetail") +{} + +DescribeCheckWarningDetailRequest::~DescribeCheckWarningDetailRequest() +{} + +std::string DescribeCheckWarningDetailRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeCheckWarningDetailRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeCheckWarningDetailRequest::getLang()const +{ + return lang_; +} + +void DescribeCheckWarningDetailRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +long DescribeCheckWarningDetailRequest::getCheckWarningId()const +{ + return checkWarningId_; +} + +void DescribeCheckWarningDetailRequest::setCheckWarningId(long checkWarningId) +{ + checkWarningId_ = checkWarningId; + setCoreParameter("CheckWarningId", std::to_string(checkWarningId)); +} + diff --git a/aegis/src/model/DescribeCheckWarningDetailResult.cc b/aegis/src/model/DescribeCheckWarningDetailResult.cc new file mode 100644 index 000000000..dece93880 --- /dev/null +++ b/aegis/src/model/DescribeCheckWarningDetailResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeCheckWarningDetailResult::DescribeCheckWarningDetailResult() : + ServiceResult() +{} + +DescribeCheckWarningDetailResult::DescribeCheckWarningDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCheckWarningDetailResult::~DescribeCheckWarningDetailResult() +{} + +void DescribeCheckWarningDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CheckId"].isNull()) + checkId_ = std::stol(value["CheckId"].asString()); + if(!value["Level"].isNull()) + level_ = value["Level"].asString(); + if(!value["Item"].isNull()) + item_ = value["Item"].asString(); + if(!value["Prompt"].isNull()) + prompt_ = value["Prompt"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["Advice"].isNull()) + advice_ = value["Advice"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + +} + +std::string DescribeCheckWarningDetailResult::getItem()const +{ + return item_; +} + +std::string DescribeCheckWarningDetailResult::getType()const +{ + return type_; +} + +std::string DescribeCheckWarningDetailResult::getDescription()const +{ + return description_; +} + +long DescribeCheckWarningDetailResult::getCheckId()const +{ + return checkId_; +} + +std::string DescribeCheckWarningDetailResult::getLevel()const +{ + return level_; +} + +std::string DescribeCheckWarningDetailResult::getPrompt()const +{ + return prompt_; +} + +std::string DescribeCheckWarningDetailResult::getAdvice()const +{ + return advice_; +} + diff --git a/aegis/src/model/DescribeCheckWarningSummaryRequest.cc b/aegis/src/model/DescribeCheckWarningSummaryRequest.cc new file mode 100644 index 000000000..87275e43a --- /dev/null +++ b/aegis/src/model/DescribeCheckWarningSummaryRequest.cc @@ -0,0 +1,137 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeCheckWarningSummaryRequest; + +DescribeCheckWarningSummaryRequest::DescribeCheckWarningSummaryRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeCheckWarningSummary") +{} + +DescribeCheckWarningSummaryRequest::~DescribeCheckWarningSummaryRequest() +{} + +std::string DescribeCheckWarningSummaryRequest::getRiskName()const +{ + return riskName_; +} + +void DescribeCheckWarningSummaryRequest::setRiskName(const std::string& riskName) +{ + riskName_ = riskName; + setCoreParameter("RiskName", riskName); +} + +std::string DescribeCheckWarningSummaryRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeCheckWarningSummaryRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeCheckWarningSummaryRequest::getRiskStatus()const +{ + return riskStatus_; +} + +void DescribeCheckWarningSummaryRequest::setRiskStatus(int riskStatus) +{ + riskStatus_ = riskStatus; + setCoreParameter("RiskStatus", std::to_string(riskStatus)); +} + +int DescribeCheckWarningSummaryRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeCheckWarningSummaryRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +long DescribeCheckWarningSummaryRequest::getStrategyId()const +{ + return strategyId_; +} + +void DescribeCheckWarningSummaryRequest::setStrategyId(long strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); +} + +int DescribeCheckWarningSummaryRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeCheckWarningSummaryRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeCheckWarningSummaryRequest::getLang()const +{ + return lang_; +} + +void DescribeCheckWarningSummaryRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeCheckWarningSummaryRequest::getTypeName()const +{ + return typeName_; +} + +void DescribeCheckWarningSummaryRequest::setTypeName(const std::string& typeName) +{ + typeName_ = typeName; + setCoreParameter("TypeName", typeName); +} + +std::string DescribeCheckWarningSummaryRequest::getStatus()const +{ + return status_; +} + +void DescribeCheckWarningSummaryRequest::setStatus(const std::string& status) +{ + status_ = status; + setCoreParameter("Status", status); +} + +std::string DescribeCheckWarningSummaryRequest::getUuids()const +{ + return uuids_; +} + +void DescribeCheckWarningSummaryRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + diff --git a/aegis/src/model/DescribeCheckWarningSummaryResult.cc b/aegis/src/model/DescribeCheckWarningSummaryResult.cc new file mode 100644 index 000000000..b5bfdfe9e --- /dev/null +++ b/aegis/src/model/DescribeCheckWarningSummaryResult.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeCheckWarningSummaryResult::DescribeCheckWarningSummaryResult() : + ServiceResult() +{} + +DescribeCheckWarningSummaryResult::DescribeCheckWarningSummaryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCheckWarningSummaryResult::~DescribeCheckWarningSummaryResult() +{} + +void DescribeCheckWarningSummaryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allWarningSummarys = value["WarningSummarys"]["WarningSummary"]; + for (auto value : allWarningSummarys) + { + WarningSummary warningSummarysObject; + if(!value["RiskId"].isNull()) + warningSummarysObject.riskId = std::stol(value["RiskId"].asString()); + if(!value["RiskName"].isNull()) + warningSummarysObject.riskName = value["RiskName"].asString(); + if(!value["TypeAlias"].isNull()) + warningSummarysObject.typeAlias = value["TypeAlias"].asString(); + if(!value["SubTypeAlias"].isNull()) + warningSummarysObject.subTypeAlias = value["SubTypeAlias"].asString(); + if(!value["LastFoundTime"].isNull()) + warningSummarysObject.lastFoundTime = value["LastFoundTime"].asString(); + if(!value["Level"].isNull()) + warningSummarysObject.level = value["Level"].asString(); + if(!value["CheckCount"].isNull()) + warningSummarysObject.checkCount = std::stoi(value["CheckCount"].asString()); + if(!value["HighWarningCount"].isNull()) + warningSummarysObject.highWarningCount = std::stoi(value["HighWarningCount"].asString()); + if(!value["MediumWarningCount"].isNull()) + warningSummarysObject.mediumWarningCount = std::stoi(value["MediumWarningCount"].asString()); + if(!value["LowWarningCount"].isNull()) + warningSummarysObject.lowWarningCount = std::stoi(value["LowWarningCount"].asString()); + if(!value["WarningMachineCount"].isNull()) + warningSummarysObject.warningMachineCount = std::stoi(value["WarningMachineCount"].asString()); + warningSummarys_.push_back(warningSummarysObject); + } + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + +} + +int DescribeCheckWarningSummaryResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeCheckWarningSummaryResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeCheckWarningSummaryResult::getCurrentPage()const +{ + return currentPage_; +} + +int DescribeCheckWarningSummaryResult::getCount()const +{ + return count_; +} + +std::vector DescribeCheckWarningSummaryResult::getWarningSummarys()const +{ + return warningSummarys_; +} + diff --git a/aegis/src/model/DescribeCheckWarningsRequest.cc b/aegis/src/model/DescribeCheckWarningsRequest.cc new file mode 100644 index 000000000..dfbc1a636 --- /dev/null +++ b/aegis/src/model/DescribeCheckWarningsRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeCheckWarningsRequest; + +DescribeCheckWarningsRequest::DescribeCheckWarningsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeCheckWarnings") +{} + +DescribeCheckWarningsRequest::~DescribeCheckWarningsRequest() +{} + +std::string DescribeCheckWarningsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeCheckWarningsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeCheckWarningsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeCheckWarningsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeCheckWarningsRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeCheckWarningsRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeCheckWarningsRequest::getLang()const +{ + return lang_; +} + +void DescribeCheckWarningsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +long DescribeCheckWarningsRequest::getRiskId()const +{ + return riskId_; +} + +void DescribeCheckWarningsRequest::setRiskId(long riskId) +{ + riskId_ = riskId; + setCoreParameter("RiskId", std::to_string(riskId)); +} + +std::string DescribeCheckWarningsRequest::getUuid()const +{ + return uuid_; +} + +void DescribeCheckWarningsRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + diff --git a/aegis/src/model/DescribeCheckWarningsResult.cc b/aegis/src/model/DescribeCheckWarningsResult.cc new file mode 100644 index 000000000..1bdff939d --- /dev/null +++ b/aegis/src/model/DescribeCheckWarningsResult.cc @@ -0,0 +1,98 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeCheckWarningsResult::DescribeCheckWarningsResult() : + ServiceResult() +{} + +DescribeCheckWarningsResult::DescribeCheckWarningsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCheckWarningsResult::~DescribeCheckWarningsResult() +{} + +void DescribeCheckWarningsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allCheckWarnings = value["CheckWarnings"]["CheckWarning"]; + for (auto value : allCheckWarnings) + { + CheckWarning checkWarningsObject; + if(!value["Uuid"].isNull()) + checkWarningsObject.uuid = value["Uuid"].asString(); + if(!value["CheckId"].isNull()) + checkWarningsObject.checkId = std::stol(value["CheckId"].asString()); + if(!value["CheckWarningId"].isNull()) + checkWarningsObject.checkWarningId = std::stol(value["CheckWarningId"].asString()); + if(!value["Level"].isNull()) + checkWarningsObject.level = value["Level"].asString(); + if(!value["Item"].isNull()) + checkWarningsObject.item = value["Item"].asString(); + if(!value["Type"].isNull()) + checkWarningsObject.type = value["Type"].asString(); + if(!value["Status"].isNull()) + checkWarningsObject.status = std::stoi(value["Status"].asString()); + checkWarnings_.push_back(checkWarningsObject); + } + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + +} + +int DescribeCheckWarningsResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeCheckWarningsResult::getCheckWarnings()const +{ + return checkWarnings_; +} + +int DescribeCheckWarningsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeCheckWarningsResult::getCurrentPage()const +{ + return currentPage_; +} + +int DescribeCheckWarningsResult::getCount()const +{ + return count_; +} + diff --git a/aegis/src/model/DescribeConcernNecessityRequest.cc b/aegis/src/model/DescribeConcernNecessityRequest.cc new file mode 100644 index 000000000..549ad98cd --- /dev/null +++ b/aegis/src/model/DescribeConcernNecessityRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeConcernNecessityRequest; + +DescribeConcernNecessityRequest::DescribeConcernNecessityRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeConcernNecessity") +{} + +DescribeConcernNecessityRequest::~DescribeConcernNecessityRequest() +{} + +std::string DescribeConcernNecessityRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeConcernNecessityRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeConcernNecessityRequest::getLang()const +{ + return lang_; +} + +void DescribeConcernNecessityRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeConcernNecessityResult.cc b/aegis/src/model/DescribeConcernNecessityResult.cc new file mode 100644 index 000000000..c08cf2a51 --- /dev/null +++ b/aegis/src/model/DescribeConcernNecessityResult.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeConcernNecessityResult::DescribeConcernNecessityResult() : + ServiceResult() +{} + +DescribeConcernNecessityResult::DescribeConcernNecessityResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeConcernNecessityResult::~DescribeConcernNecessityResult() +{} + +void DescribeConcernNecessityResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allConcernNecessity = value["ConcernNecessity"]["Necessity"]; + for (const auto &item : allConcernNecessity) + concernNecessity_.push_back(item.asString()); + +} + +std::vector DescribeConcernNecessityResult::getConcernNecessity()const +{ + return concernNecessity_; +} + diff --git a/aegis/src/model/DescribeDataSourceRequest.cc b/aegis/src/model/DescribeDataSourceRequest.cc new file mode 100644 index 000000000..9944e255d --- /dev/null +++ b/aegis/src/model/DescribeDataSourceRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeDataSourceRequest; + +DescribeDataSourceRequest::DescribeDataSourceRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeDataSource") +{} + +DescribeDataSourceRequest::~DescribeDataSourceRequest() +{} + +std::string DescribeDataSourceRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeDataSourceRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeDataSourceRequest::getDescription()const +{ + return description_; +} + +void DescribeDataSourceRequest::setDescription(const std::string& description) +{ + description_ = description; + setCoreParameter("Description", description); +} + +long DescribeDataSourceRequest::getId()const +{ + return id_; +} + +void DescribeDataSourceRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +std::string DescribeDataSourceRequest::getLang()const +{ + return lang_; +} + +void DescribeDataSourceRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeDataSourceRequest::getGroupName()const +{ + return groupName_; +} + +void DescribeDataSourceRequest::setGroupName(const std::string& groupName) +{ + groupName_ = groupName; + setCoreParameter("GroupName", groupName); +} + diff --git a/aegis/src/model/DescribeDataSourceResult.cc b/aegis/src/model/DescribeDataSourceResult.cc new file mode 100644 index 000000000..af294597d --- /dev/null +++ b/aegis/src/model/DescribeDataSourceResult.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeDataSourceResult::DescribeDataSourceResult() : + ServiceResult() +{} + +DescribeDataSourceResult::DescribeDataSourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDataSourceResult::~DescribeDataSourceResult() +{} + +void DescribeDataSourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allMetaDatas = value["MetaDatas"]["Data"]; + for (auto value : allMetaDatas) + { + Data metaDatasObject; + if(!value["DataSourceId"].isNull()) + metaDatasObject.dataSourceId = std::stoi(value["DataSourceId"].asString()); + if(!value["DateSourceName"].isNull()) + metaDatasObject.dateSourceName = value["DateSourceName"].asString(); + if(!value["Description"].isNull()) + metaDatasObject.description = value["Description"].asString(); + auto allMetaDataFields = value["MetaDataFields"]["MetaDataField"]; + for (auto value : allMetaDataFields) + { + Data::MetaDataField metaDataFieldsObject; + if(!value["FiledName"].isNull()) + metaDataFieldsObject.filedName = value["FiledName"].asString(); + if(!value["Filed"].isNull()) + metaDataFieldsObject.filed = value["Filed"].asString(); + if(!value["ValueType"].isNull()) + metaDataFieldsObject.valueType = value["ValueType"].asString(); + if(!value["Sample"].isNull()) + metaDataFieldsObject.sample = value["Sample"].asString(); + auto allOperatorList = value["OperatorList"]["Operator"]; + for (auto value : allOperatorList) + { + Data::MetaDataField::_Operator operatorListObject; + if(!value["Name"].isNull()) + operatorListObject.name = value["Name"].asString(); + if(!value["Description"].isNull()) + operatorListObject.description = value["Description"].asString(); + metaDataFieldsObject.operatorList.push_back(operatorListObject); + } + metaDatasObject.metaDataFields.push_back(metaDataFieldsObject); + } + metaDatas_.push_back(metaDatasObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + +} + +std::vector DescribeDataSourceResult::getMetaDatas()const +{ + return metaDatas_; +} + +int DescribeDataSourceResult::getCount()const +{ + return count_; +} + +bool DescribeDataSourceResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/DescribeDefenceThreadRequest.cc b/aegis/src/model/DescribeDefenceThreadRequest.cc new file mode 100644 index 000000000..4cd503bfc --- /dev/null +++ b/aegis/src/model/DescribeDefenceThreadRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeDefenceThreadRequest; + +DescribeDefenceThreadRequest::DescribeDefenceThreadRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeDefenceThread") +{} + +DescribeDefenceThreadRequest::~DescribeDefenceThreadRequest() +{} + +std::string DescribeDefenceThreadRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeDefenceThreadRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeDefenceThreadRequest::getLang()const +{ + return lang_; +} + +void DescribeDefenceThreadRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeDefenceThreadResult.cc b/aegis/src/model/DescribeDefenceThreadResult.cc new file mode 100644 index 000000000..d691d0cd8 --- /dev/null +++ b/aegis/src/model/DescribeDefenceThreadResult.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeDefenceThreadResult::DescribeDefenceThreadResult() : + ServiceResult() +{} + +DescribeDefenceThreadResult::DescribeDefenceThreadResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDefenceThreadResult::~DescribeDefenceThreadResult() +{} + +void DescribeDefenceThreadResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDefenceAaggregatCountArray = value["DefenceAaggregatCountArray"]["IntegerItem"]; + for (const auto &item : allDefenceAaggregatCountArray) + defenceAaggregatCountArray_.push_back(item.asString()); + auto allTamperProofArray = value["TamperProofArray"]["IntegerItem"]; + for (const auto &item : allTamperProofArray) + tamperProofArray_.push_back(item.asString()); + auto allDateArray = value["DateArray"]["StringItem"]; + for (const auto &item : allDateArray) + dateArray_.push_back(item.asString()); + auto allTamperProofAaggregateArray = value["TamperProofAaggregateArray"]["IntegerItem"]; + for (const auto &item : allTamperProofAaggregateArray) + tamperProofAaggregateArray_.push_back(item.asString()); + auto allDefenceCountArray = value["DefenceCountArray"]["IntegerItem"]; + for (const auto &item : allDefenceCountArray) + defenceCountArray_.push_back(item.asString()); + if(!value["DefenceCountTotal"].isNull()) + defenceCountTotal_ = std::stoi(value["DefenceCountTotal"].asString()); + if(!value["TamperProofTotal"].isNull()) + tamperProofTotal_ = std::stoi(value["TamperProofTotal"].asString()); + +} + +std::vector DescribeDefenceThreadResult::getTamperProofAaggregateArray()const +{ + return tamperProofAaggregateArray_; +} + +std::vector DescribeDefenceThreadResult::getDefenceCountArray()const +{ + return defenceCountArray_; +} + +int DescribeDefenceThreadResult::getDefenceCountTotal()const +{ + return defenceCountTotal_; +} + +std::vector DescribeDefenceThreadResult::getDefenceAaggregatCountArray()const +{ + return defenceAaggregatCountArray_; +} + +std::vector DescribeDefenceThreadResult::getTamperProofArray()const +{ + return tamperProofArray_; +} + +int DescribeDefenceThreadResult::getTamperProofTotal()const +{ + return tamperProofTotal_; +} + +std::vector DescribeDefenceThreadResult::getDateArray()const +{ + return dateArray_; +} + diff --git a/aegis/src/model/DescribeDingTalkRequest.cc b/aegis/src/model/DescribeDingTalkRequest.cc new file mode 100644 index 000000000..3a95f3fe6 --- /dev/null +++ b/aegis/src/model/DescribeDingTalkRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeDingTalkRequest; + +DescribeDingTalkRequest::DescribeDingTalkRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeDingTalk") +{} + +DescribeDingTalkRequest::~DescribeDingTalkRequest() +{} + +std::string DescribeDingTalkRequest::getRuleActionName()const +{ + return ruleActionName_; +} + +void DescribeDingTalkRequest::setRuleActionName(const std::string& ruleActionName) +{ + ruleActionName_ = ruleActionName; + setCoreParameter("RuleActionName", ruleActionName); +} + +std::string DescribeDingTalkRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeDingTalkRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeDingTalkResult.cc b/aegis/src/model/DescribeDingTalkResult.cc new file mode 100644 index 000000000..4ee5a96eb --- /dev/null +++ b/aegis/src/model/DescribeDingTalkResult.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeDingTalkResult::DescribeDingTalkResult() : + ServiceResult() +{} + +DescribeDingTalkResult::DescribeDingTalkResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDingTalkResult::~DescribeDingTalkResult() +{} + +void DescribeDingTalkResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allActionList = value["ActionList"]["ActionListItem"]; + for (auto value : allActionList) + { + ActionListItem actionListObject; + if(!value["GmtModified"].isNull()) + actionListObject.gmtModified = std::stol(value["GmtModified"].asString()); + if(!value["Id"].isNull()) + actionListObject.id = std::stoi(value["Id"].asString()); + if(!value["AliUid"].isNull()) + actionListObject.aliUid = std::stol(value["AliUid"].asString()); + if(!value["GmtCreate"].isNull()) + actionListObject.gmtCreate = std::stol(value["GmtCreate"].asString()); + if(!value["Url"].isNull()) + actionListObject.url = value["Url"].asString(); + if(!value["IntervalTime"].isNull()) + actionListObject.intervalTime = std::stoi(value["IntervalTime"].asString()); + if(!value["ActionName"].isNull()) + actionListObject.actionName = value["ActionName"].asString(); + actionList_.push_back(actionListObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +DescribeDingTalkResult::PageInfo DescribeDingTalkResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeDingTalkResult::getActionList()const +{ + return actionList_; +} + diff --git a/aegis/src/model/DescribeEcsStsStatusRequest.cc b/aegis/src/model/DescribeEcsStsStatusRequest.cc new file mode 100644 index 000000000..d7e4c1e1c --- /dev/null +++ b/aegis/src/model/DescribeEcsStsStatusRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeEcsStsStatusRequest; + +DescribeEcsStsStatusRequest::DescribeEcsStsStatusRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeEcsStsStatus") +{} + +DescribeEcsStsStatusRequest::~DescribeEcsStsStatusRequest() +{} + +std::string DescribeEcsStsStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeEcsStsStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeEcsStsStatusRequest::getLang()const +{ + return lang_; +} + +void DescribeEcsStsStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeEcsStsStatusResult.cc b/aegis/src/model/DescribeEcsStsStatusResult.cc new file mode 100644 index 000000000..22033396d --- /dev/null +++ b/aegis/src/model/DescribeEcsStsStatusResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeEcsStsStatusResult::DescribeEcsStsStatusResult() : + ServiceResult() +{} + +DescribeEcsStsStatusResult::DescribeEcsStsStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEcsStsStatusResult::~DescribeEcsStsStatusResult() +{} + +void DescribeEcsStsStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Grant"].isNull()) + grant_ = value["Grant"].asString() == "true"; + +} + +bool DescribeEcsStsStatusResult::getGrant()const +{ + return grant_; +} + diff --git a/aegis/src/model/DescribeEmgNoticeRequest.cc b/aegis/src/model/DescribeEmgNoticeRequest.cc new file mode 100644 index 000000000..e86cb8b3e --- /dev/null +++ b/aegis/src/model/DescribeEmgNoticeRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeEmgNoticeRequest; + +DescribeEmgNoticeRequest::DescribeEmgNoticeRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeEmgNotice") +{} + +DescribeEmgNoticeRequest::~DescribeEmgNoticeRequest() +{} + +std::string DescribeEmgNoticeRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeEmgNoticeRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeEmgNoticeRequest::getLang()const +{ + return lang_; +} + +void DescribeEmgNoticeRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeEmgNoticeResult.cc b/aegis/src/model/DescribeEmgNoticeResult.cc new file mode 100644 index 000000000..5b2e30ae7 --- /dev/null +++ b/aegis/src/model/DescribeEmgNoticeResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeEmgNoticeResult::DescribeEmgNoticeResult() : + ServiceResult() +{} + +DescribeEmgNoticeResult::DescribeEmgNoticeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEmgNoticeResult::~DescribeEmgNoticeResult() +{} + +void DescribeEmgNoticeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allEmgVulGroupList = value["EmgVulGroupList"]["EmgVulGroup"]; + for (auto value : allEmgVulGroupList) + { + EmgVulGroup emgVulGroupListObject; + if(!value["AliasName"].isNull()) + emgVulGroupListObject.aliasName = value["AliasName"].asString(); + if(!value["Name"].isNull()) + emgVulGroupListObject.name = value["Name"].asString(); + if(!value["GmtPublish"].isNull()) + emgVulGroupListObject.gmtPublish = std::stol(value["GmtPublish"].asString()); + if(!value["Description"].isNull()) + emgVulGroupListObject.description = value["Description"].asString(); + if(!value["Type"].isNull()) + emgVulGroupListObject.type = value["Type"].asString(); + if(!value["Status"].isNull()) + emgVulGroupListObject.status = std::stoi(value["Status"].asString()); + emgVulGroupList_.push_back(emgVulGroupListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeEmgNoticeResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeEmgNoticeResult::getEmgVulGroupList()const +{ + return emgVulGroupList_; +} + diff --git a/aegis/src/model/DescribeEmgUserAgreementRequest.cc b/aegis/src/model/DescribeEmgUserAgreementRequest.cc new file mode 100644 index 000000000..4c4d65ab1 --- /dev/null +++ b/aegis/src/model/DescribeEmgUserAgreementRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeEmgUserAgreementRequest; + +DescribeEmgUserAgreementRequest::DescribeEmgUserAgreementRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeEmgUserAgreement") +{} + +DescribeEmgUserAgreementRequest::~DescribeEmgUserAgreementRequest() +{} + +std::string DescribeEmgUserAgreementRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeEmgUserAgreementRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeEmgUserAgreementRequest::getLang()const +{ + return lang_; +} + +void DescribeEmgUserAgreementRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeEmgUserAgreementResult.cc b/aegis/src/model/DescribeEmgUserAgreementResult.cc new file mode 100644 index 000000000..9a9a37cc7 --- /dev/null +++ b/aegis/src/model/DescribeEmgUserAgreementResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeEmgUserAgreementResult::DescribeEmgUserAgreementResult() : + ServiceResult() +{} + +DescribeEmgUserAgreementResult::DescribeEmgUserAgreementResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEmgUserAgreementResult::~DescribeEmgUserAgreementResult() +{} + +void DescribeEmgUserAgreementResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Auth"].isNull()) + auth_ = value["Auth"].asString() == "true"; + +} + +bool DescribeEmgUserAgreementResult::getAuth()const +{ + return auth_; +} + diff --git a/aegis/src/model/DescribeEmgVulGroupRequest.cc b/aegis/src/model/DescribeEmgVulGroupRequest.cc new file mode 100644 index 000000000..3455e8a13 --- /dev/null +++ b/aegis/src/model/DescribeEmgVulGroupRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeEmgVulGroupRequest; + +DescribeEmgVulGroupRequest::DescribeEmgVulGroupRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeEmgVulGroup") +{} + +DescribeEmgVulGroupRequest::~DescribeEmgVulGroupRequest() +{} + +std::string DescribeEmgVulGroupRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeEmgVulGroupRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeEmgVulGroupRequest::getLang()const +{ + return lang_; +} + +void DescribeEmgVulGroupRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeEmgVulGroupResult.cc b/aegis/src/model/DescribeEmgVulGroupResult.cc new file mode 100644 index 000000000..a51054841 --- /dev/null +++ b/aegis/src/model/DescribeEmgVulGroupResult.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeEmgVulGroupResult::DescribeEmgVulGroupResult() : + ServiceResult() +{} + +DescribeEmgVulGroupResult::DescribeEmgVulGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEmgVulGroupResult::~DescribeEmgVulGroupResult() +{} + +void DescribeEmgVulGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allEmgVulGroupList = value["EmgVulGroupList"]["EmgVulGroup"]; + for (auto value : allEmgVulGroupList) + { + EmgVulGroup emgVulGroupListObject; + if(!value["AliasName"].isNull()) + emgVulGroupListObject.aliasName = value["AliasName"].asString(); + if(!value["PendingCount"].isNull()) + emgVulGroupListObject.pendingCount = std::stoi(value["PendingCount"].asString()); + if(!value["Name"].isNull()) + emgVulGroupListObject.name = value["Name"].asString(); + if(!value["GmtPublish"].isNull()) + emgVulGroupListObject.gmtPublish = std::stol(value["GmtPublish"].asString()); + if(!value["Description"].isNull()) + emgVulGroupListObject.description = value["Description"].asString(); + if(!value["Type"].isNull()) + emgVulGroupListObject.type = value["Type"].asString(); + if(!value["Status"].isNull()) + emgVulGroupListObject.status = std::stoi(value["Status"].asString()); + emgVulGroupList_.push_back(emgVulGroupListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeEmgVulGroupResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeEmgVulGroupResult::getEmgVulGroupList()const +{ + return emgVulGroupList_; +} + diff --git a/aegis/src/model/DescribeEventCountCurveRequest.cc b/aegis/src/model/DescribeEventCountCurveRequest.cc new file mode 100644 index 000000000..4efceba2f --- /dev/null +++ b/aegis/src/model/DescribeEventCountCurveRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeEventCountCurveRequest; + +DescribeEventCountCurveRequest::DescribeEventCountCurveRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeEventCountCurve") +{} + +DescribeEventCountCurveRequest::~DescribeEventCountCurveRequest() +{} + +std::string DescribeEventCountCurveRequest::getTypes()const +{ + return types_; +} + +void DescribeEventCountCurveRequest::setTypes(const std::string& types) +{ + types_ = types; + setCoreParameter("Types", types); +} + +std::string DescribeEventCountCurveRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeEventCountCurveRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeEventCountCurveRequest::getVulEventLevels()const +{ + return vulEventLevels_; +} + +void DescribeEventCountCurveRequest::setVulEventLevels(const std::string& vulEventLevels) +{ + vulEventLevels_ = vulEventLevels; + setCoreParameter("VulEventLevels", vulEventLevels); +} + +int DescribeEventCountCurveRequest::getLastDays()const +{ + return lastDays_; +} + +void DescribeEventCountCurveRequest::setLastDays(int lastDays) +{ + lastDays_ = lastDays; + setCoreParameter("LastDays", std::to_string(lastDays)); +} + +std::string DescribeEventCountCurveRequest::getHealthEventLevels()const +{ + return healthEventLevels_; +} + +void DescribeEventCountCurveRequest::setHealthEventLevels(const std::string& healthEventLevels) +{ + healthEventLevels_ = healthEventLevels; + setCoreParameter("HealthEventLevels", healthEventLevels); +} + +std::string DescribeEventCountCurveRequest::getSuspiciousEventLevels()const +{ + return suspiciousEventLevels_; +} + +void DescribeEventCountCurveRequest::setSuspiciousEventLevels(const std::string& suspiciousEventLevels) +{ + suspiciousEventLevels_ = suspiciousEventLevels; + setCoreParameter("SuspiciousEventLevels", suspiciousEventLevels); +} + diff --git a/aegis/src/model/DescribeEventCountCurveResult.cc b/aegis/src/model/DescribeEventCountCurveResult.cc new file mode 100644 index 000000000..24242abee --- /dev/null +++ b/aegis/src/model/DescribeEventCountCurveResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeEventCountCurveResult::DescribeEventCountCurveResult() : + ServiceResult() +{} + +DescribeEventCountCurveResult::DescribeEventCountCurveResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEventCountCurveResult::~DescribeEventCountCurveResult() +{} + +void DescribeEventCountCurveResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto curveDataNode = value["CurveData"]; + auto allItems = value["Items"]["Item"]; + for (auto value : allItems) + { + CurveData::Item itemObject; + if(!value["Name"].isNull()) + itemObject.name = value["Name"].asString(); + auto allData = value["Data"]["DataItem"]; + for (auto value : allData) + { + CurveData::Item::DataItem dataObject; + if(!value["High"].isNull()) + dataObject.high = std::stoi(value["High"].asString()); + if(!value["Total"].isNull()) + dataObject.total = std::stoi(value["Total"].asString()); + if(!value["Low"].isNull()) + dataObject.low = std::stoi(value["Low"].asString()); + if(!value["Serious"].isNull()) + dataObject.serious = std::stoi(value["Serious"].asString()); + if(!value["Suspicious"].isNull()) + dataObject.suspicious = std::stoi(value["Suspicious"].asString()); + if(!value["Remind"].isNull()) + dataObject.remind = std::stoi(value["Remind"].asString()); + if(!value["Medium"].isNull()) + dataObject.medium = std::stoi(value["Medium"].asString()); + itemObject.data.push_back(dataObject); + } + curveData_.items.push_back(itemObject); + } + auto timeScopeNode = curveDataNode["TimeScope"]; + if(!timeScopeNode["Start"].isNull()) + curveData_.timeScope.start = std::stol(timeScopeNode["Start"].asString()); + if(!timeScopeNode["End"].isNull()) + curveData_.timeScope.end = std::stol(timeScopeNode["End"].asString()); + if(!timeScopeNode["Interval"].isNull()) + curveData_.timeScope.interval = std::stoi(timeScopeNode["Interval"].asString()); + if(!timeScopeNode["Step"].isNull()) + curveData_.timeScope.step = std::stoi(timeScopeNode["Step"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +DescribeEventCountCurveResult::CurveData DescribeEventCountCurveResult::getCurveData()const +{ + return curveData_; +} + +bool DescribeEventCountCurveResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/DescribeEventLevelCountRequest.cc b/aegis/src/model/DescribeEventLevelCountRequest.cc new file mode 100644 index 000000000..53887593e --- /dev/null +++ b/aegis/src/model/DescribeEventLevelCountRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeEventLevelCountRequest; + +DescribeEventLevelCountRequest::DescribeEventLevelCountRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeEventLevelCount") +{} + +DescribeEventLevelCountRequest::~DescribeEventLevelCountRequest() +{} + +std::string DescribeEventLevelCountRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeEventLevelCountRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeEventLevelCountRequest::getFrom()const +{ + return from_; +} + +void DescribeEventLevelCountRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string DescribeEventLevelCountRequest::getType()const +{ + return type_; +} + +void DescribeEventLevelCountRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + diff --git a/aegis/src/model/DescribeEventLevelCountResult.cc b/aegis/src/model/DescribeEventLevelCountResult.cc new file mode 100644 index 000000000..af2755185 --- /dev/null +++ b/aegis/src/model/DescribeEventLevelCountResult.cc @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeEventLevelCountResult::DescribeEventLevelCountResult() : + ServiceResult() +{} + +DescribeEventLevelCountResult::DescribeEventLevelCountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEventLevelCountResult::~DescribeEventLevelCountResult() +{} + +void DescribeEventLevelCountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto eventLevelsNode = value["EventLevels"]; + if(!eventLevelsNode["Serious"].isNull()) + eventLevels_.serious = std::stoi(eventLevelsNode["Serious"].asString()); + if(!eventLevelsNode["Suspicious"].isNull()) + eventLevels_.suspicious = std::stoi(eventLevelsNode["Suspicious"].asString()); + if(!eventLevelsNode["Remind"].isNull()) + eventLevels_.remind = std::stoi(eventLevelsNode["Remind"].asString()); + +} + +DescribeEventLevelCountResult::EventLevels DescribeEventLevelCountResult::getEventLevels()const +{ + return eventLevels_; +} + diff --git a/aegis/src/model/DescribeExportInfoRequest.cc b/aegis/src/model/DescribeExportInfoRequest.cc new file mode 100644 index 000000000..42ca01d02 --- /dev/null +++ b/aegis/src/model/DescribeExportInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeExportInfoRequest; + +DescribeExportInfoRequest::DescribeExportInfoRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeExportInfo") +{} + +DescribeExportInfoRequest::~DescribeExportInfoRequest() +{} + +std::string DescribeExportInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeExportInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DescribeExportInfoRequest::getExportId()const +{ + return exportId_; +} + +void DescribeExportInfoRequest::setExportId(long exportId) +{ + exportId_ = exportId; + setCoreParameter("ExportId", std::to_string(exportId)); +} + diff --git a/aegis/src/model/DescribeExportInfoResult.cc b/aegis/src/model/DescribeExportInfoResult.cc new file mode 100644 index 000000000..6102fbc2f --- /dev/null +++ b/aegis/src/model/DescribeExportInfoResult.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeExportInfoResult::DescribeExportInfoResult() : + ServiceResult() +{} + +DescribeExportInfoResult::DescribeExportInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeExportInfoResult::~DescribeExportInfoResult() +{} + +void DescribeExportInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["FileName"].isNull()) + fileName_ = value["FileName"].asString(); + if(!value["CurrentCount"].isNull()) + currentCount_ = std::stoi(value["CurrentCount"].asString()); + if(!value["Link"].isNull()) + link_ = value["Link"].asString(); + if(!value["Progress"].isNull()) + progress_ = std::stoi(value["Progress"].asString()); + if(!value["Id"].isNull()) + id_ = std::stoi(value["Id"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["GmtCreate"].isNull()) + gmtCreate_ = std::stol(value["GmtCreate"].asString()); + if(!value["ResultStatus"].isNull()) + resultStatus_ = value["ResultStatus"].asString(); + +} + +int DescribeExportInfoResult::getProgress()const +{ + return progress_; +} + +int DescribeExportInfoResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeExportInfoResult::getGmtCreate()const +{ + return gmtCreate_; +} + +std::string DescribeExportInfoResult::getMessage()const +{ + return message_; +} + +std::string DescribeExportInfoResult::getResultStatus()const +{ + return resultStatus_; +} + +std::string DescribeExportInfoResult::getFileName()const +{ + return fileName_; +} + +int DescribeExportInfoResult::getCurrentCount()const +{ + return currentCount_; +} + +int DescribeExportInfoResult::getId()const +{ + return id_; +} + +std::string DescribeExportInfoResult::getLink()const +{ + return link_; +} + diff --git a/aegis/src/model/DescribeFilterFieldsRequest.cc b/aegis/src/model/DescribeFilterFieldsRequest.cc new file mode 100644 index 000000000..b7d9e760e --- /dev/null +++ b/aegis/src/model/DescribeFilterFieldsRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeFilterFieldsRequest; + +DescribeFilterFieldsRequest::DescribeFilterFieldsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeFilterFields") +{} + +DescribeFilterFieldsRequest::~DescribeFilterFieldsRequest() +{} + +std::string DescribeFilterFieldsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeFilterFieldsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeFilterFieldsRequest::getQuery()const +{ + return query_; +} + +void DescribeFilterFieldsRequest::setQuery(const std::string& query) +{ + query_ = query; + setCoreParameter("Query", query); +} + diff --git a/aegis/src/model/DescribeFilterFieldsResult.cc b/aegis/src/model/DescribeFilterFieldsResult.cc new file mode 100644 index 000000000..08dcf93c6 --- /dev/null +++ b/aegis/src/model/DescribeFilterFieldsResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeFilterFieldsResult::DescribeFilterFieldsResult() : + ServiceResult() +{} + +DescribeFilterFieldsResult::DescribeFilterFieldsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeFilterFieldsResult::~DescribeFilterFieldsResult() +{} + +void DescribeFilterFieldsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLogFilterList = value["LogFilterList"]["LogFilterListItem"]; + for (auto value : allLogFilterList) + { + LogFilterListItem logFilterListObject; + if(!value["Fields"].isNull()) + logFilterListObject.fields = value["Fields"].asString(); + logFilterList_.push_back(logFilterListObject); + } + if(!value["Total"].isNull()) + total_ = std::stol(value["Total"].asString()); + +} + +std::vector DescribeFilterFieldsResult::getLogFilterList()const +{ + return logFilterList_; +} + +long DescribeFilterFieldsResult::getTotal()const +{ + return total_; +} + diff --git a/aegis/src/model/DescribeGroupListRequest.cc b/aegis/src/model/DescribeGroupListRequest.cc new file mode 100644 index 000000000..73b0a8ca9 --- /dev/null +++ b/aegis/src/model/DescribeGroupListRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeGroupListRequest; + +DescribeGroupListRequest::DescribeGroupListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeGroupList") +{} + +DescribeGroupListRequest::~DescribeGroupListRequest() +{} + +std::string DescribeGroupListRequest::getWarnLevel()const +{ + return warnLevel_; +} + +void DescribeGroupListRequest::setWarnLevel(const std::string& warnLevel) +{ + warnLevel_ = warnLevel; + setCoreParameter("WarnLevel", warnLevel); +} + +std::string DescribeGroupListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeGroupListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DescribeGroupListRequest::getRuleGroupId()const +{ + return ruleGroupId_; +} + +void DescribeGroupListRequest::setRuleGroupId(long ruleGroupId) +{ + ruleGroupId_ = ruleGroupId; + setCoreParameter("RuleGroupId", std::to_string(ruleGroupId)); +} + +int DescribeGroupListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeGroupListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeGroupListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeGroupListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeGroupListRequest::getLang()const +{ + return lang_; +} + +void DescribeGroupListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +long DescribeGroupListRequest::getExGroupId()const +{ + return exGroupId_; +} + +void DescribeGroupListRequest::setExGroupId(long exGroupId) +{ + exGroupId_ = exGroupId; + setCoreParameter("ExGroupId", std::to_string(exGroupId)); +} + diff --git a/aegis/src/model/DescribeGroupListResult.cc b/aegis/src/model/DescribeGroupListResult.cc new file mode 100644 index 000000000..e9ca9001e --- /dev/null +++ b/aegis/src/model/DescribeGroupListResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeGroupListResult::DescribeGroupListResult() : + ServiceResult() +{} + +DescribeGroupListResult::DescribeGroupListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGroupListResult::~DescribeGroupListResult() +{} + +void DescribeGroupListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allRuleGroups = value["RuleGroups"]["RuleGroupsItem"]; + for (auto value : allRuleGroups) + { + RuleGroupsItem ruleGroupsObject; + if(!value["GroupName"].isNull()) + ruleGroupsObject.groupName = value["GroupName"].asString(); + if(!value["RuleNum"].isNull()) + ruleGroupsObject.ruleNum = std::stoi(value["RuleNum"].asString()); + if(!value["Modified"].isNull()) + ruleGroupsObject.modified = std::stol(value["Modified"].asString()); + if(!value["Create"].isNull()) + ruleGroupsObject.create = std::stol(value["Create"].asString()); + if(!value["Description"].isNull()) + ruleGroupsObject.description = value["Description"].asString(); + if(!value["Id"].isNull()) + ruleGroupsObject.id = std::stoi(value["Id"].asString()); + if(!value["AliUid"].isNull()) + ruleGroupsObject.aliUid = std::stol(value["AliUid"].asString()); + if(!value["Status"].isNull()) + ruleGroupsObject.status = std::stoi(value["Status"].asString()); + if(!value["MachineGroupIds"].isNull()) + ruleGroupsObject.machineGroupIds = value["MachineGroupIds"].asString(); + ruleGroups_.push_back(ruleGroupsObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +DescribeGroupListResult::PageInfo DescribeGroupListResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeGroupListResult::getRuleGroups()const +{ + return ruleGroups_; +} + +bool DescribeGroupListResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/DescribeGroupStructRequest.cc b/aegis/src/model/DescribeGroupStructRequest.cc new file mode 100644 index 000000000..b574d080c --- /dev/null +++ b/aegis/src/model/DescribeGroupStructRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeGroupStructRequest; + +DescribeGroupStructRequest::DescribeGroupStructRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeGroupStruct") +{} + +DescribeGroupStructRequest::~DescribeGroupStructRequest() +{} + +std::string DescribeGroupStructRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeGroupStructRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeGroupStructRequest::getTagIdList()const +{ + return tagIdList_; +} + +void DescribeGroupStructRequest::setTagIdList(const std::string& tagIdList) +{ + tagIdList_ = tagIdList; + setCoreParameter("TagIdList", tagIdList); +} + +std::string DescribeGroupStructRequest::getRemark()const +{ + return remark_; +} + +void DescribeGroupStructRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + diff --git a/aegis/src/model/DescribeGroupStructResult.cc b/aegis/src/model/DescribeGroupStructResult.cc new file mode 100644 index 000000000..b29b607e2 --- /dev/null +++ b/aegis/src/model/DescribeGroupStructResult.cc @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeGroupStructResult::DescribeGroupStructResult() : + ServiceResult() +{} + +DescribeGroupStructResult::DescribeGroupStructResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGroupStructResult::~DescribeGroupStructResult() +{} + +void DescribeGroupStructResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allGroups = value["Groups"]["Group"]; + for (const auto &item : allGroups) + groups_.push_back(item.asString()); + if(!value["GroupFather"].isNull()) + groupFather_ = std::stoi(value["GroupFather"].asString()); + if(!value["GroupId"].isNull()) + groupId_ = std::stol(value["GroupId"].asString()); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + if(!value["GroupIndex"].isNull()) + groupIndex_ = std::stoi(value["GroupIndex"].asString()); + if(!value["GroupFlag"].isNull()) + groupFlag_ = std::stoi(value["GroupFlag"].asString()); + if(!value["GroupLevel"].isNull()) + groupLevel_ = std::stoi(value["GroupLevel"].asString()); + if(!value["MachineNum"].isNull()) + machineNum_ = std::stoi(value["MachineNum"].asString()); + +} + +std::string DescribeGroupStructResult::getGroupName()const +{ + return groupName_; +} + +int DescribeGroupStructResult::getMachineNum()const +{ + return machineNum_; +} + +int DescribeGroupStructResult::getGroupLevel()const +{ + return groupLevel_; +} + +std::vector DescribeGroupStructResult::getGroups()const +{ + return groups_; +} + +int DescribeGroupStructResult::getGroupIndex()const +{ + return groupIndex_; +} + +int DescribeGroupStructResult::getGroupFather()const +{ + return groupFather_; +} + +int DescribeGroupStructResult::getGroupFlag()const +{ + return groupFlag_; +} + +long DescribeGroupStructResult::getGroupId()const +{ + return groupId_; +} + diff --git a/aegis/src/model/DescribeGroupedVulRequest.cc b/aegis/src/model/DescribeGroupedVulRequest.cc new file mode 100644 index 000000000..d13225dc9 --- /dev/null +++ b/aegis/src/model/DescribeGroupedVulRequest.cc @@ -0,0 +1,236 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeGroupedVulRequest; + +DescribeGroupedVulRequest::DescribeGroupedVulRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeGroupedVul") +{} + +DescribeGroupedVulRequest::~DescribeGroupedVulRequest() +{} + +std::string DescribeGroupedVulRequest::getStatusList()const +{ + return statusList_; +} + +void DescribeGroupedVulRequest::setStatusList(const std::string& statusList) +{ + statusList_ = statusList; + setCoreParameter("StatusList", statusList); +} + +std::string DescribeGroupedVulRequest::getLevel()const +{ + return level_; +} + +void DescribeGroupedVulRequest::setLevel(const std::string& level) +{ + level_ = level; + setCoreParameter("Level", level); +} + +std::string DescribeGroupedVulRequest::getOrderBy()const +{ + return orderBy_; +} + +void DescribeGroupedVulRequest::setOrderBy(const std::string& orderBy) +{ + orderBy_ = orderBy; + setCoreParameter("OrderBy", orderBy); +} + +std::string DescribeGroupedVulRequest::getDealed()const +{ + return dealed_; +} + +void DescribeGroupedVulRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setCoreParameter("Dealed", dealed); +} + +int DescribeGroupedVulRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeGroupedVulRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeGroupedVulRequest::getType()const +{ + return type_; +} + +void DescribeGroupedVulRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +long DescribeGroupedVulRequest::getLastTsEnd()const +{ + return lastTsEnd_; +} + +void DescribeGroupedVulRequest::setLastTsEnd(long lastTsEnd) +{ + lastTsEnd_ = lastTsEnd; + setCoreParameter("LastTsEnd", std::to_string(lastTsEnd)); +} + +long DescribeGroupedVulRequest::getCreateTsStart()const +{ + return createTsStart_; +} + +void DescribeGroupedVulRequest::setCreateTsStart(long createTsStart) +{ + createTsStart_ = createTsStart; + setCoreParameter("CreateTsStart", std::to_string(createTsStart)); +} + +std::string DescribeGroupedVulRequest::getAliasName()const +{ + return aliasName_; +} + +void DescribeGroupedVulRequest::setAliasName(const std::string& aliasName) +{ + aliasName_ = aliasName; + setCoreParameter("AliasName", aliasName); +} + +long DescribeGroupedVulRequest::getPatchId()const +{ + return patchId_; +} + +void DescribeGroupedVulRequest::setPatchId(long patchId) +{ + patchId_ = patchId; + setCoreParameter("PatchId", std::to_string(patchId)); +} + +std::string DescribeGroupedVulRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeGroupedVulRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeGroupedVulRequest::getName()const +{ + return name_; +} + +void DescribeGroupedVulRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +int DescribeGroupedVulRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeGroupedVulRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeGroupedVulRequest::getLang()const +{ + return lang_; +} + +void DescribeGroupedVulRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +long DescribeGroupedVulRequest::getCreateTsEnd()const +{ + return createTsEnd_; +} + +void DescribeGroupedVulRequest::setCreateTsEnd(long createTsEnd) +{ + createTsEnd_ = createTsEnd; + setCoreParameter("CreateTsEnd", std::to_string(createTsEnd)); +} + +long DescribeGroupedVulRequest::getLastTsStart()const +{ + return lastTsStart_; +} + +void DescribeGroupedVulRequest::setLastTsStart(long lastTsStart) +{ + lastTsStart_ = lastTsStart; + setCoreParameter("LastTsStart", std::to_string(lastTsStart)); +} + +std::string DescribeGroupedVulRequest::getNecessity()const +{ + return necessity_; +} + +void DescribeGroupedVulRequest::setNecessity(const std::string& necessity) +{ + necessity_ = necessity; + setCoreParameter("Necessity", necessity); +} + +std::string DescribeGroupedVulRequest::getUuids()const +{ + return uuids_; +} + +void DescribeGroupedVulRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + +std::string DescribeGroupedVulRequest::getDirection()const +{ + return direction_; +} + +void DescribeGroupedVulRequest::setDirection(const std::string& direction) +{ + direction_ = direction; + setCoreParameter("Direction", direction); +} + diff --git a/aegis/src/model/DescribeGroupedVulResult.cc b/aegis/src/model/DescribeGroupedVulResult.cc new file mode 100644 index 000000000..08d7c61e8 --- /dev/null +++ b/aegis/src/model/DescribeGroupedVulResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeGroupedVulResult::DescribeGroupedVulResult() : + ServiceResult() +{} + +DescribeGroupedVulResult::DescribeGroupedVulResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGroupedVulResult::~DescribeGroupedVulResult() +{} + +void DescribeGroupedVulResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allGroupedVulItems = value["GroupedVulItems"]["GroupedVulItem"]; + for (auto value : allGroupedVulItems) + { + GroupedVulItem groupedVulItemsObject; + if(!value["Name"].isNull()) + groupedVulItemsObject.name = value["Name"].asString(); + if(!value["AliasName"].isNull()) + groupedVulItemsObject.aliasName = value["AliasName"].asString(); + if(!value["Type"].isNull()) + groupedVulItemsObject.type = value["Type"].asString(); + if(!value["Status"].isNull()) + groupedVulItemsObject.status = std::stoi(value["Status"].asString()); + if(!value["GmtLast"].isNull()) + groupedVulItemsObject.gmtLast = std::stol(value["GmtLast"].asString()); + if(!value["AsapCount"].isNull()) + groupedVulItemsObject.asapCount = std::stoi(value["AsapCount"].asString()); + if(!value["LaterCount"].isNull()) + groupedVulItemsObject.laterCount = std::stoi(value["LaterCount"].asString()); + if(!value["NntfCount"].isNull()) + groupedVulItemsObject.nntfCount = std::stoi(value["NntfCount"].asString()); + if(!value["HandledCount"].isNull()) + groupedVulItemsObject.handledCount = std::stoi(value["HandledCount"].asString()); + groupedVulItems_.push_back(groupedVulItemsObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeGroupedVulResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeGroupedVulResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeGroupedVulResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeGroupedVulResult::getGroupedVulItems()const +{ + return groupedVulItems_; +} + diff --git a/aegis/src/model/DescribeHistogramRequest.cc b/aegis/src/model/DescribeHistogramRequest.cc new file mode 100644 index 000000000..13d538900 --- /dev/null +++ b/aegis/src/model/DescribeHistogramRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeHistogramRequest; + +DescribeHistogramRequest::DescribeHistogramRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeHistogram") +{} + +DescribeHistogramRequest::~DescribeHistogramRequest() +{} + +std::string DescribeHistogramRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeHistogramRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeHistogramRequest::getQuery()const +{ + return query_; +} + +void DescribeHistogramRequest::setQuery(const std::string& query) +{ + query_ = query; + setCoreParameter("Query", query); +} + +std::string DescribeHistogramRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeHistogramRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setCoreParameter("EndTime", endTime); +} + +std::string DescribeHistogramRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeHistogramRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setCoreParameter("StartTime", startTime); +} + diff --git a/aegis/src/model/DescribeHistogramResult.cc b/aegis/src/model/DescribeHistogramResult.cc new file mode 100644 index 000000000..58d292a4d --- /dev/null +++ b/aegis/src/model/DescribeHistogramResult.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeHistogramResult::DescribeHistogramResult() : + ServiceResult() +{} + +DescribeHistogramResult::DescribeHistogramResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeHistogramResult::~DescribeHistogramResult() +{} + +void DescribeHistogramResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allItems = value["Items"]["ItemsItem"]; + for (auto value : allItems) + { + ItemsItem itemsObject; + auto allData = value["Data"]["Data"]; + for (auto value : allData) + itemsObject.data.push_back(value.asString()); + items_.push_back(itemsObject); + } + auto allCategories = value["Categories"]["Categories"]; + for (const auto &item : allCategories) + categories_.push_back(item.asString()); + +} + +std::vector DescribeHistogramResult::getCategories()const +{ + return categories_; +} + +std::vector DescribeHistogramResult::getItems()const +{ + return items_; +} + diff --git a/aegis/src/model/DescribeInstanceStatisticsRequest.cc b/aegis/src/model/DescribeInstanceStatisticsRequest.cc new file mode 100644 index 000000000..6e552fb2a --- /dev/null +++ b/aegis/src/model/DescribeInstanceStatisticsRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeInstanceStatisticsRequest; + +DescribeInstanceStatisticsRequest::DescribeInstanceStatisticsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeInstanceStatistics") +{} + +DescribeInstanceStatisticsRequest::~DescribeInstanceStatisticsRequest() +{} + +std::string DescribeInstanceStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeInstanceStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeInstanceStatisticsRequest::getLang()const +{ + return lang_; +} + +void DescribeInstanceStatisticsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeInstanceStatisticsRequest::getUuid()const +{ + return uuid_; +} + +void DescribeInstanceStatisticsRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + diff --git a/aegis/src/model/DescribeInstanceStatisticsResult.cc b/aegis/src/model/DescribeInstanceStatisticsResult.cc new file mode 100644 index 000000000..7df401eb4 --- /dev/null +++ b/aegis/src/model/DescribeInstanceStatisticsResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeInstanceStatisticsResult::DescribeInstanceStatisticsResult() : + ServiceResult() +{} + +DescribeInstanceStatisticsResult::DescribeInstanceStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeInstanceStatisticsResult::~DescribeInstanceStatisticsResult() +{} + +void DescribeInstanceStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["Entity"]; + for (auto value : allData) + { + Entity dataObject; + if(!value["Uuid"].isNull()) + dataObject.uuid = value["Uuid"].asString(); + if(!value["Account"].isNull()) + dataObject.account = std::stoi(value["Account"].asString()); + if(!value["Health"].isNull()) + dataObject.health = std::stoi(value["Health"].asString()); + if(!value["Trojan"].isNull()) + dataObject.trojan = std::stoi(value["Trojan"].asString()); + if(!value["Suspicious"].isNull()) + dataObject.suspicious = std::stoi(value["Suspicious"].asString()); + if(!value["Vul"].isNull()) + dataObject.vul = std::stoi(value["Vul"].asString()); + data_.push_back(dataObject); + } + +} + +std::vector DescribeInstanceStatisticsResult::getData()const +{ + return data_; +} + diff --git a/aegis/src/model/DescribeJoinRuleListRequest.cc b/aegis/src/model/DescribeJoinRuleListRequest.cc new file mode 100644 index 000000000..5e22b4c16 --- /dev/null +++ b/aegis/src/model/DescribeJoinRuleListRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeJoinRuleListRequest; + +DescribeJoinRuleListRequest::DescribeJoinRuleListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeJoinRuleList") +{} + +DescribeJoinRuleListRequest::~DescribeJoinRuleListRequest() +{} + +std::string DescribeJoinRuleListRequest::getWarnLevel()const +{ + return warnLevel_; +} + +void DescribeJoinRuleListRequest::setWarnLevel(const std::string& warnLevel) +{ + warnLevel_ = warnLevel; + setCoreParameter("WarnLevel", warnLevel); +} + +std::string DescribeJoinRuleListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeJoinRuleListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeJoinRuleListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeJoinRuleListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +long DescribeJoinRuleListRequest::getRemark()const +{ + return remark_; +} + +void DescribeJoinRuleListRequest::setRemark(long remark) +{ + remark_ = remark; + setCoreParameter("Remark", std::to_string(remark)); +} + +int DescribeJoinRuleListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeJoinRuleListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + diff --git a/aegis/src/model/DescribeJoinRuleListResult.cc b/aegis/src/model/DescribeJoinRuleListResult.cc new file mode 100644 index 000000000..d046d3f37 --- /dev/null +++ b/aegis/src/model/DescribeJoinRuleListResult.cc @@ -0,0 +1,98 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeJoinRuleListResult::DescribeJoinRuleListResult() : + ServiceResult() +{} + +DescribeJoinRuleListResult::DescribeJoinRuleListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeJoinRuleListResult::~DescribeJoinRuleListResult() +{} + +void DescribeJoinRuleListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allJoinRuleList = value["JoinRuleList"]["JoinRuleListItem"]; + for (auto value : allJoinRuleList) + { + JoinRuleListItem joinRuleListObject; + if(!value["TimeWindow"].isNull()) + joinRuleListObject.timeWindow = std::stoi(value["TimeWindow"].asString()); + if(!value["WarnLevel"].isNull()) + joinRuleListObject.warnLevel = value["WarnLevel"].asString(); + if(!value["DataSourceId1"].isNull()) + joinRuleListObject.dataSourceId1 = std::stoi(value["DataSourceId1"].asString()); + if(!value["Description"].isNull()) + joinRuleListObject.description = value["Description"].asString(); + if(!value["RuleName"].isNull()) + joinRuleListObject.ruleName = value["RuleName"].asString(); + if(!value["JoinRelation"].isNull()) + joinRuleListObject.joinRelation = value["JoinRelation"].asString(); + if(!value["DataSourceId2"].isNull()) + joinRuleListObject.dataSourceId2 = std::stoi(value["DataSourceId2"].asString()); + if(!value["Expression2"].isNull()) + joinRuleListObject.expression2 = value["Expression2"].asString(); + if(!value["RuleId"].isNull()) + joinRuleListObject.ruleId = std::stoi(value["RuleId"].asString()); + if(!value["Expression1"].isNull()) + joinRuleListObject.expression1 = value["Expression1"].asString(); + if(!value["Actions"].isNull()) + joinRuleListObject.actions = value["Actions"].asString(); + if(!value["StatisticsRules"].isNull()) + joinRuleListObject.statisticsRules = value["StatisticsRules"].asString(); + if(!value["NeedGroup"].isNull()) + joinRuleListObject.needGroup = value["NeedGroup"].asString() == "true"; + if(!value["StatusCode"].isNull()) + joinRuleListObject.statusCode = value["StatusCode"].asString(); + joinRuleList_.push_back(joinRuleListObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + +} + +DescribeJoinRuleListResult::PageInfo DescribeJoinRuleListResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeJoinRuleListResult::getJoinRuleList()const +{ + return joinRuleList_; +} + diff --git a/aegis/src/model/DescribeListAccessKeyIdAuthRequest.cc b/aegis/src/model/DescribeListAccessKeyIdAuthRequest.cc new file mode 100644 index 000000000..ccb339b6f --- /dev/null +++ b/aegis/src/model/DescribeListAccessKeyIdAuthRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeListAccessKeyIdAuthRequest; + +DescribeListAccessKeyIdAuthRequest::DescribeListAccessKeyIdAuthRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeListAccessKeyIdAuth") +{} + +DescribeListAccessKeyIdAuthRequest::~DescribeListAccessKeyIdAuthRequest() +{} + +std::string DescribeListAccessKeyIdAuthRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeListAccessKeyIdAuthRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeListAccessKeyIdAuthResult.cc b/aegis/src/model/DescribeListAccessKeyIdAuthResult.cc new file mode 100644 index 000000000..17dcd9155 --- /dev/null +++ b/aegis/src/model/DescribeListAccessKeyIdAuthResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeListAccessKeyIdAuthResult::DescribeListAccessKeyIdAuthResult() : + ServiceResult() +{} + +DescribeListAccessKeyIdAuthResult::DescribeListAccessKeyIdAuthResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeListAccessKeyIdAuthResult::~DescribeListAccessKeyIdAuthResult() +{} + +void DescribeListAccessKeyIdAuthResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Auth"].isNull()) + auth_ = value["Auth"].asString() == "true"; + +} + +bool DescribeListAccessKeyIdAuthResult::getAuth()const +{ + return auth_; +} + diff --git a/aegis/src/model/DescribeLogInfoRequest.cc b/aegis/src/model/DescribeLogInfoRequest.cc new file mode 100644 index 000000000..58e7744d8 --- /dev/null +++ b/aegis/src/model/DescribeLogInfoRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeLogInfoRequest; + +DescribeLogInfoRequest::DescribeLogInfoRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeLogInfo") +{} + +DescribeLogInfoRequest::~DescribeLogInfoRequest() +{} + +std::string DescribeLogInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeLogInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeLogInfoRequest::getQuery()const +{ + return query_; +} + +void DescribeLogInfoRequest::setQuery(const std::string& query) +{ + query_ = query; + setCoreParameter("Query", query); +} + +std::string DescribeLogInfoRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeLogInfoRequest::setPageSize(const std::string& pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", pageSize); +} + +std::string DescribeLogInfoRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLogInfoRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setCoreParameter("EndTime", endTime); +} + +std::string DescribeLogInfoRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeLogInfoRequest::setCurrentPage(const std::string& currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", currentPage); +} + +std::string DescribeLogInfoRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLogInfoRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setCoreParameter("StartTime", startTime); +} + diff --git a/aegis/src/model/DescribeLogInfoResult.cc b/aegis/src/model/DescribeLogInfoResult.cc new file mode 100644 index 000000000..d6ba2ddca --- /dev/null +++ b/aegis/src/model/DescribeLogInfoResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeLogInfoResult::DescribeLogInfoResult() : + ServiceResult() +{} + +DescribeLogInfoResult::DescribeLogInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLogInfoResult::~DescribeLogInfoResult() +{} + +void DescribeLogInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLogInfoItems = value["LogInfoItems"]["Item"]; + for (auto value : allLogInfoItems) + { + Item logInfoItemsObject; + if(!value["Name"].isNull()) + logInfoItemsObject.name = value["Name"].asString(); + if(!value["Id"].isNull()) + logInfoItemsObject.id = value["Id"].asString(); + auto allFields = value["Fields"]["Field"]; + for (auto value : allFields) + { + Item::Field fieldsObject; + if(!value["Name"].isNull()) + fieldsObject.name = value["Name"].asString(); + if(!value["Type"].isNull()) + fieldsObject.type = value["Type"].asString(); + if(!value["Desc"].isNull()) + fieldsObject.desc = value["Desc"].asString(); + logInfoItemsObject.fields.push_back(fieldsObject); + } + logInfoItems_.push_back(logInfoItemsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeLogInfoResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeLogInfoResult::getLogInfoItems()const +{ + return logInfoItems_; +} + diff --git a/aegis/src/model/DescribeLogItemsRequest.cc b/aegis/src/model/DescribeLogItemsRequest.cc new file mode 100644 index 000000000..b4832999e --- /dev/null +++ b/aegis/src/model/DescribeLogItemsRequest.cc @@ -0,0 +1,170 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeLogItemsRequest; + +DescribeLogItemsRequest::DescribeLogItemsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeLogItems") +{} + +DescribeLogItemsRequest::~DescribeLogItemsRequest() +{} + +int DescribeLogItemsRequest::getLoginOffset()const +{ + return loginOffset_; +} + +void DescribeLogItemsRequest::setLoginOffset(int loginOffset) +{ + loginOffset_ = loginOffset; + setCoreParameter("LoginOffset", std::to_string(loginOffset)); +} + +int DescribeLogItemsRequest::getProcessSnapshotOffset()const +{ + return processSnapshotOffset_; +} + +void DescribeLogItemsRequest::setProcessSnapshotOffset(int processSnapshotOffset) +{ + processSnapshotOffset_ = processSnapshotOffset; + setCoreParameter("ProcessSnapshotOffset", std::to_string(processSnapshotOffset)); +} + +int DescribeLogItemsRequest::getPortSnapshotOffset()const +{ + return portSnapshotOffset_; +} + +void DescribeLogItemsRequest::setPortSnapshotOffset(int portSnapshotOffset) +{ + portSnapshotOffset_ = portSnapshotOffset; + setCoreParameter("PortSnapshotOffset", std::to_string(portSnapshotOffset)); +} + +std::string DescribeLogItemsRequest::getQuery()const +{ + return query_; +} + +void DescribeLogItemsRequest::setQuery(const std::string& query) +{ + query_ = query; + setCoreParameter("Query", query); +} + +std::string DescribeLogItemsRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLogItemsRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setCoreParameter("EndTime", endTime); +} + +std::string DescribeLogItemsRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeLogItemsRequest::setCurrentPage(const std::string& currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", currentPage); +} + +int DescribeLogItemsRequest::getNetworkOffset()const +{ + return networkOffset_; +} + +void DescribeLogItemsRequest::setNetworkOffset(int networkOffset) +{ + networkOffset_ = networkOffset; + setCoreParameter("NetworkOffset", std::to_string(networkOffset)); +} + +std::string DescribeLogItemsRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLogItemsRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setCoreParameter("StartTime", startTime); +} + +int DescribeLogItemsRequest::getAccountSnapshotOffset()const +{ + return accountSnapshotOffset_; +} + +void DescribeLogItemsRequest::setAccountSnapshotOffset(int accountSnapshotOffset) +{ + accountSnapshotOffset_ = accountSnapshotOffset; + setCoreParameter("AccountSnapshotOffset", std::to_string(accountSnapshotOffset)); +} + +int DescribeLogItemsRequest::getProcessOffset()const +{ + return processOffset_; +} + +void DescribeLogItemsRequest::setProcessOffset(int processOffset) +{ + processOffset_ = processOffset; + setCoreParameter("ProcessOffset", std::to_string(processOffset)); +} + +std::string DescribeLogItemsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeLogItemsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeLogItemsRequest::getCrackOffset()const +{ + return crackOffset_; +} + +void DescribeLogItemsRequest::setCrackOffset(int crackOffset) +{ + crackOffset_ = crackOffset; + setCoreParameter("CrackOffset", std::to_string(crackOffset)); +} + +std::string DescribeLogItemsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeLogItemsRequest::setPageSize(const std::string& pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", pageSize); +} + diff --git a/aegis/src/model/DescribeLogItemsResult.cc b/aegis/src/model/DescribeLogItemsResult.cc new file mode 100644 index 000000000..2afdc106e --- /dev/null +++ b/aegis/src/model/DescribeLogItemsResult.cc @@ -0,0 +1,184 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeLogItemsResult::DescribeLogItemsResult() : + ServiceResult() +{} + +DescribeLogItemsResult::DescribeLogItemsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLogItemsResult::~DescribeLogItemsResult() +{} + +void DescribeLogItemsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLogsList = value["LogsList"]["LogsListItem"]; + for (auto value : allLogsList) + { + LogsListItem logsListObject; + if(!value["MLogTime"].isNull()) + logsListObject.mLogTime = value["MLogTime"].asString(); + if(!value["LogSourceId"].isNull()) + logsListObject.logSourceId = value["LogSourceId"].asString(); + if(!value["LogSource"].isNull()) + logsListObject.logSource = value["LogSource"].asString(); + auto allMContents = value["MContents"]["MContentsItem"]; + for (auto value : allMContents) + { + LogsListItem::MContentsItem mContentsObject; + if(!value["MKey"].isNull()) + mContentsObject.mKey = value["MKey"].asString(); + if(!value["MValue"].isNull()) + mContentsObject.mValue = value["MValue"].asString(); + logsListObject.mContents.push_back(mContentsObject); + } + logsList_.push_back(logsListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["CrackTotalCount"].isNull()) + crackTotalCount_ = std::stoi(value["CrackTotalCount"].asString()); + if(!value["SetPageSize"].isNull()) + setPageSize_ = std::stoi(value["SetPageSize"].asString()); + if(!value["ProcessOffset"].isNull()) + processOffset_ = std::stoi(value["ProcessOffset"].asString()); + if(!value["NetworkOffset"].isNull()) + networkOffset_ = std::stoi(value["NetworkOffset"].asString()); + if(!value["PortSnapshotOffset"].isNull()) + portSnapshotOffset_ = std::stoi(value["PortSnapshotOffset"].asString()); + if(!value["ProcessSnapshotTotalCount"].isNull()) + processSnapshotTotalCount_ = std::stoi(value["ProcessSnapshotTotalCount"].asString()); + if(!value["CrackOffset"].isNull()) + crackOffset_ = std::stoi(value["CrackOffset"].asString()); + if(!value["NetworkTotalCount"].isNull()) + networkTotalCount_ = std::stoi(value["NetworkTotalCount"].asString()); + if(!value["PortSnapshotTotalCount"].isNull()) + portSnapshotTotalCount_ = std::stoi(value["PortSnapshotTotalCount"].asString()); + if(!value["ProcessSnapshotOffset"].isNull()) + processSnapshotOffset_ = std::stoi(value["ProcessSnapshotOffset"].asString()); + if(!value["ProcessTotalCount"].isNull()) + processTotalCount_ = std::stoi(value["ProcessTotalCount"].asString()); + if(!value["LoginTotalCount"].isNull()) + loginTotalCount_ = std::stoi(value["LoginTotalCount"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["AccountSnapshotOffset"].isNull()) + accountSnapshotOffset_ = std::stoi(value["AccountSnapshotOffset"].asString()); + if(!value["AccountSnapshotTotalCount"].isNull()) + accountSnapshotTotalCount_ = std::stoi(value["AccountSnapshotTotalCount"].asString()); + +} + +int DescribeLogItemsResult::getSetPageSize()const +{ + return setPageSize_; +} + +std::vector DescribeLogItemsResult::getLogsList()const +{ + return logsList_; +} + +int DescribeLogItemsResult::getCrackOffset()const +{ + return crackOffset_; +} + +int DescribeLogItemsResult::getAccountSnapshotTotalCount()const +{ + return accountSnapshotTotalCount_; +} + +int DescribeLogItemsResult::getProcessOffset()const +{ + return processOffset_; +} + +int DescribeLogItemsResult::getNetworkOffset()const +{ + return networkOffset_; +} + +int DescribeLogItemsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeLogItemsResult::getProcessSnapshotOffset()const +{ + return processSnapshotOffset_; +} + +int DescribeLogItemsResult::getLoginTotalCount()const +{ + return loginTotalCount_; +} + +int DescribeLogItemsResult::getCurrentPage()const +{ + return currentPage_; +} + +int DescribeLogItemsResult::getPortSnapshotOffset()const +{ + return portSnapshotOffset_; +} + +int DescribeLogItemsResult::getNetworkTotalCount()const +{ + return networkTotalCount_; +} + +int DescribeLogItemsResult::getAccountSnapshotOffset()const +{ + return accountSnapshotOffset_; +} + +int DescribeLogItemsResult::getCrackTotalCount()const +{ + return crackTotalCount_; +} + +int DescribeLogItemsResult::getProcessSnapshotTotalCount()const +{ + return processSnapshotTotalCount_; +} + +int DescribeLogItemsResult::getPortSnapshotTotalCount()const +{ + return portSnapshotTotalCount_; +} + +int DescribeLogItemsResult::getProcessTotalCount()const +{ + return processTotalCount_; +} + diff --git a/aegis/src/model/DescribeLogMetaRequest.cc b/aegis/src/model/DescribeLogMetaRequest.cc new file mode 100644 index 000000000..8e9086f38 --- /dev/null +++ b/aegis/src/model/DescribeLogMetaRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeLogMetaRequest; + +DescribeLogMetaRequest::DescribeLogMetaRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeLogMeta") +{} + +DescribeLogMetaRequest::~DescribeLogMetaRequest() +{} + +std::string DescribeLogMetaRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeLogMetaRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeLogMetaRequest::getFrom()const +{ + return from_; +} + +void DescribeLogMetaRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string DescribeLogMetaRequest::getLang()const +{ + return lang_; +} + +void DescribeLogMetaRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeLogMetaResult.cc b/aegis/src/model/DescribeLogMetaResult.cc new file mode 100644 index 000000000..216a0a882 --- /dev/null +++ b/aegis/src/model/DescribeLogMetaResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeLogMetaResult::DescribeLogMetaResult() : + ServiceResult() +{} + +DescribeLogMetaResult::DescribeLogMetaResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLogMetaResult::~DescribeLogMetaResult() +{} + +void DescribeLogMetaResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLogMetaList = value["LogMetaList"]["LogMeta"]; + for (auto value : allLogMetaList) + { + LogMeta logMetaListObject; + if(!value["Project"].isNull()) + logMetaListObject.project = value["Project"].asString(); + if(!value["UserProject"].isNull()) + logMetaListObject.userProject = value["UserProject"].asString(); + if(!value["LogStore"].isNull()) + logMetaListObject.logStore = value["LogStore"].asString(); + if(!value["LogDesc"].isNull()) + logMetaListObject.logDesc = value["LogDesc"].asString(); + if(!value["Category"].isNull()) + logMetaListObject.category = value["Category"].asString(); + if(!value["Status"].isNull()) + logMetaListObject.status = value["Status"].asString(); + logMetaList_.push_back(logMetaListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeLogMetaResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeLogMetaResult::getLogMetaList()const +{ + return logMetaList_; +} + diff --git a/aegis/src/model/DescribeLogQueryRequest.cc b/aegis/src/model/DescribeLogQueryRequest.cc new file mode 100644 index 000000000..c65a127e6 --- /dev/null +++ b/aegis/src/model/DescribeLogQueryRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeLogQueryRequest; + +DescribeLogQueryRequest::DescribeLogQueryRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeLogQuery") +{} + +DescribeLogQueryRequest::~DescribeLogQueryRequest() +{} + +std::string DescribeLogQueryRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeLogQueryRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeLogQueryResult.cc b/aegis/src/model/DescribeLogQueryResult.cc new file mode 100644 index 000000000..b1e790729 --- /dev/null +++ b/aegis/src/model/DescribeLogQueryResult.cc @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeLogQueryResult::DescribeLogQueryResult() : + ServiceResult() +{} + +DescribeLogQueryResult::DescribeLogQueryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLogQueryResult::~DescribeLogQueryResult() +{} + +void DescribeLogQueryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allQueryItems = value["QueryItems"]["QueryItemsItem"]; + for (auto value : allQueryItems) + { + QueryItemsItem queryItemsObject; + if(!value["QueryDetail"].isNull()) + queryItemsObject.queryDetail = value["QueryDetail"].asString(); + if(!value["QueryName"].isNull()) + queryItemsObject.queryName = value["QueryName"].asString(); + if(!value["Conditions"].isNull()) + queryItemsObject.conditions = value["Conditions"].asString(); + queryItems_.push_back(queryItemsObject); + } + if(!value["ListTotal"].isNull()) + listTotal_ = std::stoi(value["ListTotal"].asString()); + +} + +int DescribeLogQueryResult::getListTotal()const +{ + return listTotal_; +} + +std::vector DescribeLogQueryResult::getQueryItems()const +{ + return queryItems_; +} + diff --git a/aegis/src/model/DescribeLogShipperStatusRequest.cc b/aegis/src/model/DescribeLogShipperStatusRequest.cc new file mode 100644 index 000000000..c4cf74ce8 --- /dev/null +++ b/aegis/src/model/DescribeLogShipperStatusRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeLogShipperStatusRequest; + +DescribeLogShipperStatusRequest::DescribeLogShipperStatusRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeLogShipperStatus") +{} + +DescribeLogShipperStatusRequest::~DescribeLogShipperStatusRequest() +{} + +std::string DescribeLogShipperStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeLogShipperStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeLogShipperStatusRequest::getFrom()const +{ + return from_; +} + +void DescribeLogShipperStatusRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string DescribeLogShipperStatusRequest::getLang()const +{ + return lang_; +} + +void DescribeLogShipperStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeLogShipperStatusResult.cc b/aegis/src/model/DescribeLogShipperStatusResult.cc new file mode 100644 index 000000000..05ec3c2e0 --- /dev/null +++ b/aegis/src/model/DescribeLogShipperStatusResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeLogShipperStatusResult::DescribeLogShipperStatusResult() : + ServiceResult() +{} + +DescribeLogShipperStatusResult::DescribeLogShipperStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLogShipperStatusResult::~DescribeLogShipperStatusResult() +{} + +void DescribeLogShipperStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto logShipperStatusNode = value["LogShipperStatus"]; + if(!logShipperStatusNode["BuyStatus"].isNull()) + logShipperStatus_.buyStatus = logShipperStatusNode["BuyStatus"].asString(); + if(!logShipperStatusNode["AuthStatus"].isNull()) + logShipperStatus_.authStatus = logShipperStatusNode["AuthStatus"].asString(); + if(!logShipperStatusNode["OpenStatus"].isNull()) + logShipperStatus_.openStatus = logShipperStatusNode["OpenStatus"].asString(); + if(!logShipperStatusNode["SlsServiceStatus"].isNull()) + logShipperStatus_.slsServiceStatus = logShipperStatusNode["SlsServiceStatus"].asString(); + +} + +DescribeLogShipperStatusResult::LogShipperStatus DescribeLogShipperStatusResult::getLogShipperStatus()const +{ + return logShipperStatus_; +} + diff --git a/aegis/src/model/DescribeLoginLogsRequest.cc b/aegis/src/model/DescribeLoginLogsRequest.cc index 4fd98982b..8f34409a3 100644 --- a/aegis/src/model/DescribeLoginLogsRequest.cc +++ b/aegis/src/model/DescribeLoginLogsRequest.cc @@ -25,15 +25,15 @@ DescribeLoginLogsRequest::DescribeLoginLogsRequest() : DescribeLoginLogsRequest::~DescribeLoginLogsRequest() {} -long DescribeLoginLogsRequest::getResourceOwnerId()const +std::string DescribeLoginLogsRequest::getTypes()const { - return resourceOwnerId_; + return types_; } -void DescribeLoginLogsRequest::setResourceOwnerId(long resourceOwnerId) +void DescribeLoginLogsRequest::setTypes(const std::string& types) { - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); + types_ = types; + setCoreParameter("Types", types); } std::string DescribeLoginLogsRequest::getSourceIp()const @@ -44,7 +44,7 @@ std::string DescribeLoginLogsRequest::getSourceIp()const void DescribeLoginLogsRequest::setSourceIp(const std::string& sourceIp) { sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); + setCoreParameter("SourceIp", sourceIp); } int DescribeLoginLogsRequest::getPageSize()const @@ -55,7 +55,18 @@ int DescribeLoginLogsRequest::getPageSize()const void DescribeLoginLogsRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeLoginLogsRequest::getStatuses()const +{ + return statuses_; +} + +void DescribeLoginLogsRequest::setStatuses(const std::string& statuses) +{ + statuses_ = statuses; + setCoreParameter("Statuses", statuses); } int DescribeLoginLogsRequest::getCurrentPage()const @@ -66,6 +77,28 @@ int DescribeLoginLogsRequest::getCurrentPage()const void DescribeLoginLogsRequest::setCurrentPage(int currentPage) { currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeLoginLogsRequest::getRemark()const +{ + return remark_; +} + +void DescribeLoginLogsRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + +std::string DescribeLoginLogsRequest::getTag()const +{ + return tag_; +} + +void DescribeLoginLogsRequest::setTag(const std::string& tag) +{ + tag_ = tag; + setCoreParameter("Tag", tag); } diff --git a/aegis/src/model/DescribeLoginLogsResult.cc b/aegis/src/model/DescribeLoginLogsResult.cc index 764f65e71..6cf9bc442 100644 --- a/aegis/src/model/DescribeLoginLogsResult.cc +++ b/aegis/src/model/DescribeLoginLogsResult.cc @@ -40,42 +40,72 @@ void DescribeLoginLogsResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allLoginLogs = value["LoginLogs"]["StringItem"]; - for (const auto &item : allLoginLogs) - loginLogs_.push_back(item.asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["CurrentPage"].isNull()) - currentPage_ = std::stoi(value["CurrentPage"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + auto allLogList = value["LogList"]["LogListItem"]; + for (auto value : allLogList) + { + LogListItem logListObject; + if(!value["LoginSourceIp"].isNull()) + logListObject.loginSourceIp = value["LoginSourceIp"].asString(); + if(!value["InstanceName"].isNull()) + logListObject.instanceName = value["InstanceName"].asString(); + if(!value["GroupId"].isNull()) + logListObject.groupId = std::stol(value["GroupId"].asString()); + if(!value["Ip"].isNull()) + logListObject.ip = value["Ip"].asString(); + if(!value["Type"].isNull()) + logListObject.type = value["Type"].asString(); + if(!value["UserName"].isNull()) + logListObject.userName = value["UserName"].asString(); + if(!value["Uuid"].isNull()) + logListObject.uuid = value["Uuid"].asString(); + if(!value["Protocol"].isNull()) + logListObject.protocol = std::stoi(value["Protocol"].asString()); + if(!value["LoginTime"].isNull()) + logListObject.loginTime = std::stol(value["LoginTime"].asString()); + if(!value["InstanceId"].isNull()) + logListObject.instanceId = value["InstanceId"].asString(); + if(!value["OsVersion"].isNull()) + logListObject.osVersion = value["OsVersion"].asString(); + if(!value["ProtocolName"].isNull()) + logListObject.protocolName = value["ProtocolName"].asString(); + if(!value["Online"].isNull()) + logListObject.online = value["Online"].asString(); + if(!value["Location"].isNull()) + logListObject.location = value["Location"].asString(); + if(!value["id"].isNull()) + logListObject.id = std::stol(value["id"].asString()); + if(!value["Region"].isNull()) + logListObject.region = value["Region"].asString(); + if(!value["Status"].isNull()) + logListObject.status = std::stoi(value["Status"].asString()); + logList_.push_back(logListObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); } -int DescribeLoginLogsResult::getTotalCount()const -{ - return totalCount_; -} - -int DescribeLoginLogsResult::getPageSize()const -{ - return pageSize_; -} - -int DescribeLoginLogsResult::getCurrentPage()const -{ - return currentPage_; -} - -int DescribeLoginLogsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -std::vector DescribeLoginLogsResult::getLoginLogs()const -{ - return loginLogs_; -} - +std::vector DescribeLoginLogsResult::getLogList()const +{ + return logList_; +} + +int DescribeLoginLogsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeLoginLogsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeLoginLogsResult::getCurrentPage()const +{ + return currentPage_; +} + diff --git a/aegis/src/model/DescribeLogstoreStorageRequest.cc b/aegis/src/model/DescribeLogstoreStorageRequest.cc new file mode 100644 index 000000000..6ea498331 --- /dev/null +++ b/aegis/src/model/DescribeLogstoreStorageRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeLogstoreStorageRequest; + +DescribeLogstoreStorageRequest::DescribeLogstoreStorageRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeLogstoreStorage") +{} + +DescribeLogstoreStorageRequest::~DescribeLogstoreStorageRequest() +{} + +std::string DescribeLogstoreStorageRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeLogstoreStorageRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeLogstoreStorageRequest::getFrom()const +{ + return from_; +} + +void DescribeLogstoreStorageRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string DescribeLogstoreStorageRequest::getLang()const +{ + return lang_; +} + +void DescribeLogstoreStorageRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeLogstoreStorageResult.cc b/aegis/src/model/DescribeLogstoreStorageResult.cc new file mode 100644 index 000000000..f32051f27 --- /dev/null +++ b/aegis/src/model/DescribeLogstoreStorageResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeLogstoreStorageResult::DescribeLogstoreStorageResult() : + ServiceResult() +{} + +DescribeLogstoreStorageResult::DescribeLogstoreStorageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLogstoreStorageResult::~DescribeLogstoreStorageResult() +{} + +void DescribeLogstoreStorageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Logstore"].isNull()) + logstore_ = value["Logstore"].asString(); + if(!value["Ttl"].isNull()) + ttl_ = std::stoi(value["Ttl"].asString()); + if(!value["Preserve"].isNull()) + preserve_ = std::stol(value["Preserve"].asString()); + if(!value["Used"].isNull()) + used_ = std::stol(value["Used"].asString()); + +} + +long DescribeLogstoreStorageResult::getUsed()const +{ + return used_; +} + +std::string DescribeLogstoreStorageResult::getLogstore()const +{ + return logstore_; +} + +int DescribeLogstoreStorageResult::getTtl()const +{ + return ttl_; +} + +long DescribeLogstoreStorageResult::getPreserve()const +{ + return preserve_; +} + diff --git a/aegis/src/model/DescribeMacConfigRequest.cc b/aegis/src/model/DescribeMacConfigRequest.cc new file mode 100644 index 000000000..e83766d47 --- /dev/null +++ b/aegis/src/model/DescribeMacConfigRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeMacConfigRequest; + +DescribeMacConfigRequest::DescribeMacConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeMacConfig") +{} + +DescribeMacConfigRequest::~DescribeMacConfigRequest() +{} + +long DescribeMacConfigRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeMacConfigRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeMacConfigRequest::getTypes()const +{ + return types_; +} + +void DescribeMacConfigRequest::setTypes(const std::string& types) +{ + types_ = types; + setCoreParameter("Types", types); +} + +std::string DescribeMacConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeMacConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeMacConfigRequest::getExtern()const +{ + return extern_; +} + +void DescribeMacConfigRequest::setExtern(const std::string& extern) +{ + extern_ = extern; + setCoreParameter("Extern", extern); +} + +std::string DescribeMacConfigRequest::getType()const +{ + return type_; +} + +void DescribeMacConfigRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string DescribeMacConfigRequest::getConfig()const +{ + return config_; +} + +void DescribeMacConfigRequest::setConfig(const std::string& config) +{ + config_ = config; + setCoreParameter("Config", config); +} + +std::string DescribeMacConfigRequest::getTarget()const +{ + return target_; +} + +void DescribeMacConfigRequest::setTarget(const std::string& target) +{ + target_ = target; + setCoreParameter("Target", target); +} + diff --git a/aegis/src/model/DescribeMacConfigResult.cc b/aegis/src/model/DescribeMacConfigResult.cc new file mode 100644 index 000000000..36f287ea5 --- /dev/null +++ b/aegis/src/model/DescribeMacConfigResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeMacConfigResult::DescribeMacConfigResult() : + ServiceResult() +{} + +DescribeMacConfigResult::DescribeMacConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeMacConfigResult::~DescribeMacConfigResult() +{} + +void DescribeMacConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allConfigs = value["Configs"]["Config"]; + for (auto value : allConfigs) + { + Config configsObject; + if(!value["StartTime"].isNull()) + configsObject.startTime = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + configsObject.endTime = value["EndTime"].asString(); + if(!value["Ip"].isNull()) + configsObject.ip = value["Ip"].asString(); + if(!value["StrategyId"].isNull()) + configsObject.strategyId = std::stol(value["StrategyId"].asString()); + if(!value["Account"].isNull()) + configsObject.account = value["Account"].asString(); + if(!value["Location"].isNull()) + configsObject.location = value["Location"].asString(); + if(!value["Switcher"].isNull()) + configsObject.switcher = value["Switcher"].asString(); + if(!value["VulType"].isNull()) + configsObject.vulType = value["VulType"].asString(); + if(!value["UuidCount"].isNull()) + configsObject.uuidCount = std::stoi(value["UuidCount"].asString()); + if(!value["TotalCount"].isNull()) + configsObject.totalCount = std::stoi(value["TotalCount"].asString()); + auto allTargetList = value["TargetList"]["Target"]; + for (auto value : allTargetList) + { + Config::Target targetListObject; + if(!value["Flag"].isNull()) + targetListObject.flag = value["Flag"].asString(); + if(!value["TargetType"].isNull()) + targetListObject.targetType = value["TargetType"].asString(); + if(!value["Target"].isNull()) + targetListObject.target = value["Target"].asString(); + configsObject.targetList.push_back(targetListObject); + } + configs_.push_back(configsObject); + } + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeMacConfigResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeMacConfigResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeMacConfigResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeMacConfigResult::getConfigs()const +{ + return configs_; +} + +int DescribeMacConfigResult::getCount()const +{ + return count_; +} + diff --git a/aegis/src/model/DescribeMachineConfigRequest.cc b/aegis/src/model/DescribeMachineConfigRequest.cc new file mode 100644 index 000000000..3906ea755 --- /dev/null +++ b/aegis/src/model/DescribeMachineConfigRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeMachineConfigRequest; + +DescribeMachineConfigRequest::DescribeMachineConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeMachineConfig") +{} + +DescribeMachineConfigRequest::~DescribeMachineConfigRequest() +{} + +long DescribeMachineConfigRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeMachineConfigRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeMachineConfigRequest::getTypes()const +{ + return types_; +} + +void DescribeMachineConfigRequest::setTypes(const std::string& types) +{ + types_ = types; + setCoreParameter("Types", types); +} + +std::string DescribeMachineConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeMachineConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeMachineConfigRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeMachineConfigRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeMachineConfigRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeMachineConfigRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeMachineConfigRequest::getType()const +{ + return type_; +} + +void DescribeMachineConfigRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string DescribeMachineConfigRequest::getLang()const +{ + return lang_; +} + +void DescribeMachineConfigRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeMachineConfigRequest::getConfig()const +{ + return config_; +} + +void DescribeMachineConfigRequest::setConfig(const std::string& config) +{ + config_ = config; + setCoreParameter("Config", config); +} + +std::string DescribeMachineConfigRequest::getTarget()const +{ + return target_; +} + +void DescribeMachineConfigRequest::setTarget(const std::string& target) +{ + target_ = target; + setCoreParameter("Target", target); +} + diff --git a/aegis/src/model/DescribeMachineConfigResult.cc b/aegis/src/model/DescribeMachineConfigResult.cc new file mode 100644 index 000000000..9214b3f20 --- /dev/null +++ b/aegis/src/model/DescribeMachineConfigResult.cc @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeMachineConfigResult::DescribeMachineConfigResult() : + ServiceResult() +{} + +DescribeMachineConfigResult::DescribeMachineConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeMachineConfigResult::~DescribeMachineConfigResult() +{} + +void DescribeMachineConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allConfigTargets = value["ConfigTargets"]["ConfigTarget"]; + for (auto value : allConfigTargets) + { + ConfigTarget configTargetsObject; + if(!value["TargetType"].isNull()) + configTargetsObject.targetType = value["TargetType"].asString(); + if(!value["Target"].isNull()) + configTargetsObject.target = value["Target"].asString(); + if(!value["Flag"].isNull()) + configTargetsObject.flag = value["Flag"].asString(); + configTargets_.push_back(configTargetsObject); + } + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + +} + +int DescribeMachineConfigResult::getCount()const +{ + return count_; +} + +std::vector DescribeMachineConfigResult::getConfigTargets()const +{ + return configTargets_; +} + diff --git a/aegis/src/model/DescribeMetaDataRequest.cc b/aegis/src/model/DescribeMetaDataRequest.cc new file mode 100644 index 000000000..29f5bf6f5 --- /dev/null +++ b/aegis/src/model/DescribeMetaDataRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeMetaDataRequest; + +DescribeMetaDataRequest::DescribeMetaDataRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeMetaData") +{} + +DescribeMetaDataRequest::~DescribeMetaDataRequest() +{} + +std::string DescribeMetaDataRequest::getProjectName()const +{ + return projectName_; +} + +void DescribeMetaDataRequest::setProjectName(const std::string& projectName) +{ + projectName_ = projectName; + setCoreParameter("ProjectName", projectName); +} + +std::string DescribeMetaDataRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeMetaDataRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeMetaDataRequest::getLogStoreName()const +{ + return logStoreName_; +} + +void DescribeMetaDataRequest::setLogStoreName(const std::string& logStoreName) +{ + logStoreName_ = logStoreName; + setCoreParameter("LogStoreName", logStoreName); +} + +std::string DescribeMetaDataRequest::getRegionNo()const +{ + return regionNo_; +} + +void DescribeMetaDataRequest::setRegionNo(const std::string& regionNo) +{ + regionNo_ = regionNo; + setCoreParameter("RegionNo", regionNo); +} + diff --git a/aegis/src/model/DescribeMetaDataResult.cc b/aegis/src/model/DescribeMetaDataResult.cc new file mode 100644 index 000000000..35ca38655 --- /dev/null +++ b/aegis/src/model/DescribeMetaDataResult.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeMetaDataResult::DescribeMetaDataResult() : + ServiceResult() +{} + +DescribeMetaDataResult::DescribeMetaDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeMetaDataResult::~DescribeMetaDataResult() +{} + +void DescribeMetaDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto metaDataNode = value["MetaData"]; + if(!metaDataNode["LogStoreName"].isNull()) + metaData_.logStoreName = metaDataNode["LogStoreName"].asString(); + if(!metaDataNode["ProjectName"].isNull()) + metaData_.projectName = metaDataNode["ProjectName"].asString(); + if(!metaDataNode["Status"].isNull()) + metaData_.status = std::stoi(metaDataNode["Status"].asString()); + auto allDatasourceFieldList = value["DatasourceFieldList"]["DatasourceField"]; + for (auto value : allDatasourceFieldList) + { + MetaData::DatasourceField datasourceFieldObject; + if(!value["FieldName"].isNull()) + datasourceFieldObject.fieldName = value["FieldName"].asString(); + if(!value["ValueType"].isNull()) + datasourceFieldObject.valueType = value["ValueType"].asString(); + if(!value["FieldDescription"].isNull()) + datasourceFieldObject.fieldDescription = value["FieldDescription"].asString(); + if(!value["FieldAliasName"].isNull()) + datasourceFieldObject.fieldAliasName = value["FieldAliasName"].asString(); + if(!value["FieldType"].isNull()) + datasourceFieldObject.fieldType = value["FieldType"].asString(); + if(!value["FieldValue"].isNull()) + datasourceFieldObject.fieldValue = value["FieldValue"].asString(); + if(!value["IsIdentification"].isNull()) + datasourceFieldObject.isIdentification = std::stoi(value["IsIdentification"].asString()); + metaData_.datasourceFieldList.push_back(datasourceFieldObject); + } + +} + +DescribeMetaDataResult::MetaData DescribeMetaDataResult::getMetaData()const +{ + return metaData_; +} + diff --git a/aegis/src/model/DescribeNsasSuspEventTypeRequest.cc b/aegis/src/model/DescribeNsasSuspEventTypeRequest.cc new file mode 100644 index 000000000..8e79cb0ee --- /dev/null +++ b/aegis/src/model/DescribeNsasSuspEventTypeRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeNsasSuspEventTypeRequest; + +DescribeNsasSuspEventTypeRequest::DescribeNsasSuspEventTypeRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeNsasSuspEventType") +{} + +DescribeNsasSuspEventTypeRequest::~DescribeNsasSuspEventTypeRequest() +{} + +std::string DescribeNsasSuspEventTypeRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeNsasSuspEventTypeRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeNsasSuspEventTypeRequest::getName()const +{ + return name_; +} + +void DescribeNsasSuspEventTypeRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +std::string DescribeNsasSuspEventTypeRequest::getRemark()const +{ + return remark_; +} + +void DescribeNsasSuspEventTypeRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + +std::string DescribeNsasSuspEventTypeRequest::getFrom()const +{ + return from_; +} + +void DescribeNsasSuspEventTypeRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string DescribeNsasSuspEventTypeRequest::getLang()const +{ + return lang_; +} + +void DescribeNsasSuspEventTypeRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeNsasSuspEventTypeResult.cc b/aegis/src/model/DescribeNsasSuspEventTypeResult.cc new file mode 100644 index 000000000..fe78a20ef --- /dev/null +++ b/aegis/src/model/DescribeNsasSuspEventTypeResult.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeNsasSuspEventTypeResult::DescribeNsasSuspEventTypeResult() : + ServiceResult() +{} + +DescribeNsasSuspEventTypeResult::DescribeNsasSuspEventTypeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeNsasSuspEventTypeResult::~DescribeNsasSuspEventTypeResult() +{} + +void DescribeNsasSuspEventTypeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allEventTypes = value["EventTypes"]["Data"]; + for (auto value : allEventTypes) + { + Data eventTypesObject; + if(!value["Name"].isNull()) + eventTypesObject.name = value["Name"].asString(); + if(!value["Type"].isNull()) + eventTypesObject.type = value["Type"].asString(); + if(!value["SuspEventCount"].isNull()) + eventTypesObject.suspEventCount = std::stoi(value["SuspEventCount"].asString()); + eventTypes_.push_back(eventTypesObject); + } + +} + +std::vector DescribeNsasSuspEventTypeResult::getEventTypes()const +{ + return eventTypes_; +} + diff --git a/aegis/src/model/DescribeOperateInfoRequest.cc b/aegis/src/model/DescribeOperateInfoRequest.cc new file mode 100644 index 000000000..89713eed7 --- /dev/null +++ b/aegis/src/model/DescribeOperateInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeOperateInfoRequest; + +DescribeOperateInfoRequest::DescribeOperateInfoRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeOperateInfo") +{} + +DescribeOperateInfoRequest::~DescribeOperateInfoRequest() +{} + +std::string DescribeOperateInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeOperateInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeOperateInfoRequest::getLang()const +{ + return lang_; +} + +void DescribeOperateInfoRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeOperateInfoResult.cc b/aegis/src/model/DescribeOperateInfoResult.cc new file mode 100644 index 000000000..91c12e82e --- /dev/null +++ b/aegis/src/model/DescribeOperateInfoResult.cc @@ -0,0 +1,129 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeOperateInfoResult::DescribeOperateInfoResult() : + ServiceResult() +{} + +DescribeOperateInfoResult::DescribeOperateInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOperateInfoResult::~DescribeOperateInfoResult() +{} + +void DescribeOperateInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allSuspEventValueArray = value["SuspEventValueArray"]["IntegerItem"]; + for (const auto &item : allSuspEventValueArray) + suspEventValueArray_.push_back(item.asString()); + auto allSuspEventAaggregatValueArray = value["SuspEventAaggregatValueArray"]["IntegerItem"]; + for (const auto &item : allSuspEventAaggregatValueArray) + suspEventAaggregatValueArray_.push_back(item.asString()); + auto allVulValueArray = value["VulValueArray"]["IntegerItem"]; + for (const auto &item : allVulValueArray) + vulValueArray_.push_back(item.asString()); + auto allVulAaggregatValueArray = value["VulAaggregatValueArray"]["IntegerItem"]; + for (const auto &item : allVulAaggregatValueArray) + vulAaggregatValueArray_.push_back(item.asString()); + auto allDateArray = value["DateArray"]["StringItem"]; + for (const auto &item : allDateArray) + dateArray_.push_back(item.asString()); + auto allHealthCheckValueArray = value["HealthCheckValueArray"]["IntegerItem"]; + for (const auto &item : allHealthCheckValueArray) + healthCheckValueArray_.push_back(item.asString()); + auto allHealthCheckAaggregatValueArray = value["HealthCheckAaggregatValueArray"]["IntegerItem"]; + for (const auto &item : allHealthCheckAaggregatValueArray) + healthCheckAaggregatValueArray_.push_back(item.asString()); + if(!value["HealthCheckDealedCount"].isNull()) + healthCheckDealedCount_ = std::stoi(value["HealthCheckDealedCount"].asString()); + if(!value["SecurityEventDealedCount"].isNull()) + securityEventDealedCount_ = std::stoi(value["SecurityEventDealedCount"].asString()); + if(!value["VulnerabilityDealedCount"].isNull()) + vulnerabilityDealedCount_ = std::stoi(value["VulnerabilityDealedCount"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::vector DescribeOperateInfoResult::getVulValueArray()const +{ + return vulValueArray_; +} + +std::vector DescribeOperateInfoResult::getVulAaggregatValueArray()const +{ + return vulAaggregatValueArray_; +} + +std::vector DescribeOperateInfoResult::getHealthCheckAaggregatValueArray()const +{ + return healthCheckAaggregatValueArray_; +} + +int DescribeOperateInfoResult::getSecurityEventDealedCount()const +{ + return securityEventDealedCount_; +} + +std::vector DescribeOperateInfoResult::getSuspEventValueArray()const +{ + return suspEventValueArray_; +} + +std::vector DescribeOperateInfoResult::getSuspEventAaggregatValueArray()const +{ + return suspEventAaggregatValueArray_; +} + +int DescribeOperateInfoResult::getVulnerabilityDealedCount()const +{ + return vulnerabilityDealedCount_; +} + +std::vector DescribeOperateInfoResult::getDateArray()const +{ + return dateArray_; +} + +std::vector DescribeOperateInfoResult::getHealthCheckValueArray()const +{ + return healthCheckValueArray_; +} + +int DescribeOperateInfoResult::getHealthCheckDealedCount()const +{ + return healthCheckDealedCount_; +} + +bool DescribeOperateInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/DescribeQuaraFileRequest.cc b/aegis/src/model/DescribeQuaraFileRequest.cc new file mode 100644 index 000000000..f0baaf13a --- /dev/null +++ b/aegis/src/model/DescribeQuaraFileRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeQuaraFileRequest; + +DescribeQuaraFileRequest::DescribeQuaraFileRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeQuaraFile") +{} + +DescribeQuaraFileRequest::~DescribeQuaraFileRequest() +{} + +std::string DescribeQuaraFileRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeQuaraFileRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeQuaraFileRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeQuaraFileRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeQuaraFileRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeQuaraFileRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + diff --git a/aegis/src/model/DescribeQuaraFileResult.cc b/aegis/src/model/DescribeQuaraFileResult.cc new file mode 100644 index 000000000..e6aeb2afc --- /dev/null +++ b/aegis/src/model/DescribeQuaraFileResult.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeQuaraFileResult::DescribeQuaraFileResult() : + ServiceResult() +{} + +DescribeQuaraFileResult::DescribeQuaraFileResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeQuaraFileResult::~DescribeQuaraFileResult() +{} + +void DescribeQuaraFileResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allQuaraFiles = value["QuaraFiles"]["QuaraFile"]; + for (auto value : allQuaraFiles) + { + QuaraFile quaraFilesObject; + if(!value["Path"].isNull()) + quaraFilesObject.path = value["Path"].asString(); + if(!value["EventName"].isNull()) + quaraFilesObject.eventName = value["EventName"].asString(); + if(!value["Online"].isNull()) + quaraFilesObject.online = value["Online"].asString() == "true"; + if(!value["EventType"].isNull()) + quaraFilesObject.eventType = value["EventType"].asString(); + if(!value["Tag"].isNull()) + quaraFilesObject.tag = value["Tag"].asString(); + if(!value["Uuid"].isNull()) + quaraFilesObject.uuid = value["Uuid"].asString(); + if(!value["FileStatus"].isNull()) + quaraFilesObject.fileStatus = value["FileStatus"].asString(); + if(!value["Md5"].isNull()) + quaraFilesObject.md5 = value["Md5"].asString(); + quaraFiles_.push_back(quaraFilesObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + +} + +int DescribeQuaraFileResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeQuaraFileResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeQuaraFileResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeQuaraFileResult::getQuaraFiles()const +{ + return quaraFiles_; +} + diff --git a/aegis/src/model/DescribeResultListRequest.cc b/aegis/src/model/DescribeResultListRequest.cc new file mode 100644 index 000000000..fe06b1965 --- /dev/null +++ b/aegis/src/model/DescribeResultListRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeResultListRequest; + +DescribeResultListRequest::DescribeResultListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeResultList") +{} + +DescribeResultListRequest::~DescribeResultListRequest() +{} + +std::string DescribeResultListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeResultListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeResultListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeResultListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +long DescribeResultListRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeResultListRequest::setEndTime(long endTime) +{ + endTime_ = endTime; + setCoreParameter("EndTime", std::to_string(endTime)); +} + +std::string DescribeResultListRequest::getRuleName()const +{ + return ruleName_; +} + +void DescribeResultListRequest::setRuleName(const std::string& ruleName) +{ + ruleName_ = ruleName; + setCoreParameter("RuleName", ruleName); +} + +std::string DescribeResultListRequest::getRemark()const +{ + return remark_; +} + +void DescribeResultListRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + +std::string DescribeResultListRequest::getUuidList()const +{ + return uuidList_; +} + +void DescribeResultListRequest::setUuidList(const std::string& uuidList) +{ + uuidList_ = uuidList; + setCoreParameter("UuidList", uuidList); +} + +std::string DescribeResultListRequest::getDealed()const +{ + return dealed_; +} + +void DescribeResultListRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setCoreParameter("Dealed", dealed); +} + +int DescribeResultListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeResultListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +long DescribeResultListRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeResultListRequest::setStartTime(long startTime) +{ + startTime_ = startTime; + setCoreParameter("StartTime", std::to_string(startTime)); +} + diff --git a/aegis/src/model/DescribeResultListResult.cc b/aegis/src/model/DescribeResultListResult.cc new file mode 100644 index 000000000..8723ab00f --- /dev/null +++ b/aegis/src/model/DescribeResultListResult.cc @@ -0,0 +1,110 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeResultListResult::DescribeResultListResult() : + ServiceResult() +{} + +DescribeResultListResult::DescribeResultListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeResultListResult::~DescribeResultListResult() +{} + +void DescribeResultListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allResultList = value["ResultList"]["ResultListItem"]; + for (auto value : allResultList) + { + ResultListItem resultListObject; + if(!value["LastTimestamp"].isNull()) + resultListObject.lastTimestamp = std::stol(value["LastTimestamp"].asString()); + if(!value["ModifiedTimestamp"].isNull()) + resultListObject.modifiedTimestamp = std::stol(value["ModifiedTimestamp"].asString()); + if(!value["WarnLevel"].isNull()) + resultListObject.warnLevel = value["WarnLevel"].asString(); + if(!value["UniqueKey"].isNull()) + resultListObject.uniqueKey = value["UniqueKey"].asString(); + if(!value["LastOperate"].isNull()) + resultListObject.lastOperate = std::stol(value["LastOperate"].asString()); + if(!value["CreateTimestamp"].isNull()) + resultListObject.createTimestamp = std::stol(value["CreateTimestamp"].asString()); + if(!value["RuleDescription"].isNull()) + resultListObject.ruleDescription = value["RuleDescription"].asString(); + if(!value["RuleType"].isNull()) + resultListObject.ruleType = value["RuleType"].asString(); + if(!value["RuleName"].isNull()) + resultListObject.ruleName = value["RuleName"].asString(); + if(!value["Details"].isNull()) + resultListObject.details = value["Details"].asString(); + if(!value["Id"].isNull()) + resultListObject.id = std::stoi(value["Id"].asString()); + if(!value["AliUid"].isNull()) + resultListObject.aliUid = std::stol(value["AliUid"].asString()); + if(!value["RuleId"].isNull()) + resultListObject.ruleId = std::stoi(value["RuleId"].asString()); + if(!value["Status"].isNull()) + resultListObject.status = std::stoi(value["Status"].asString()); + if(!value["FieldKey"].isNull()) + resultListObject.fieldKey = value["FieldKey"].asString(); + if(!value["InternetIp"].isNull()) + resultListObject.internetIp = value["InternetIp"].asString(); + if(!value["IntranetIp"].isNull()) + resultListObject.intranetIp = value["IntranetIp"].asString(); + if(!value["InstanceId"].isNull()) + resultListObject.instanceId = value["InstanceId"].asString(); + if(!value["InstanceName"].isNull()) + resultListObject.instanceName = value["InstanceName"].asString(); + if(!value["FieldKey"].isNull()) + resultListObject.fieldKey1 = value["FieldKey"].asString(); + resultList_.push_back(resultListObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + +} + +DescribeResultListResult::PageInfo DescribeResultListResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeResultListResult::getResultList()const +{ + return resultList_; +} + diff --git a/aegis/src/model/DescribeRiskTypeRequest.cc b/aegis/src/model/DescribeRiskTypeRequest.cc new file mode 100644 index 000000000..2668ec75b --- /dev/null +++ b/aegis/src/model/DescribeRiskTypeRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeRiskTypeRequest; + +DescribeRiskTypeRequest::DescribeRiskTypeRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeRiskType") +{} + +DescribeRiskTypeRequest::~DescribeRiskTypeRequest() +{} + +std::string DescribeRiskTypeRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeRiskTypeRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DescribeRiskTypeRequest::getStrategyId()const +{ + return strategyId_; +} + +void DescribeRiskTypeRequest::setStrategyId(long strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); +} + +std::string DescribeRiskTypeRequest::getLang()const +{ + return lang_; +} + +void DescribeRiskTypeRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeRiskTypeRequest::getUuids()const +{ + return uuids_; +} + +void DescribeRiskTypeRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + diff --git a/aegis/src/model/DescribeRiskTypeResult.cc b/aegis/src/model/DescribeRiskTypeResult.cc new file mode 100644 index 000000000..4a2eac221 --- /dev/null +++ b/aegis/src/model/DescribeRiskTypeResult.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeRiskTypeResult::DescribeRiskTypeResult() : + ServiceResult() +{} + +DescribeRiskTypeResult::DescribeRiskTypeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRiskTypeResult::~DescribeRiskTypeResult() +{} + +void DescribeRiskTypeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allRiskTypes = value["RiskTypes"]["RiskType"]; + for (auto value : allRiskTypes) + { + RiskType riskTypesObject; + if(!value["TypeName"].isNull()) + riskTypesObject.typeName = value["TypeName"].asString(); + if(!value["Alias"].isNull()) + riskTypesObject.alias = value["Alias"].asString(); + if(!value["WarnCount"].isNull()) + riskTypesObject.warnCount = value["WarnCount"].asString(); + auto allSubTypes = value["SubTypes"]["subType"]; + for (auto value : allSubTypes) + { + RiskType::SubType subTypesObject; + if(!value["WarnCount"].isNull()) + subTypesObject.warnCount = value["WarnCount"].asString(); + if(!value["TypeName"].isNull()) + subTypesObject.typeName = value["TypeName"].asString(); + if(!value["Alias"].isNull()) + subTypesObject.alias = value["Alias"].asString(); + riskTypesObject.subTypes.push_back(subTypesObject); + } + riskTypes_.push_back(riskTypesObject); + } + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + +} + +std::vector DescribeRiskTypeResult::getRiskTypes()const +{ + return riskTypes_; +} + +int DescribeRiskTypeResult::getCount()const +{ + return count_; +} + diff --git a/aegis/src/model/DescribeRiskWhiteListRequest.cc b/aegis/src/model/DescribeRiskWhiteListRequest.cc new file mode 100644 index 000000000..4d65012e1 --- /dev/null +++ b/aegis/src/model/DescribeRiskWhiteListRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeRiskWhiteListRequest; + +DescribeRiskWhiteListRequest::DescribeRiskWhiteListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeRiskWhiteList") +{} + +DescribeRiskWhiteListRequest::~DescribeRiskWhiteListRequest() +{} + +std::string DescribeRiskWhiteListRequest::getRiskName()const +{ + return riskName_; +} + +void DescribeRiskWhiteListRequest::setRiskName(const std::string& riskName) +{ + riskName_ = riskName; + setCoreParameter("RiskName", riskName); +} + +std::string DescribeRiskWhiteListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeRiskWhiteListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeRiskWhiteListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeRiskWhiteListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeRiskWhiteListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeRiskWhiteListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + diff --git a/aegis/src/model/DescribeRiskWhiteListResult.cc b/aegis/src/model/DescribeRiskWhiteListResult.cc new file mode 100644 index 000000000..c9387467f --- /dev/null +++ b/aegis/src/model/DescribeRiskWhiteListResult.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeRiskWhiteListResult::DescribeRiskWhiteListResult() : + ServiceResult() +{} + +DescribeRiskWhiteListResult::DescribeRiskWhiteListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRiskWhiteListResult::~DescribeRiskWhiteListResult() +{} + +void DescribeRiskWhiteListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allWhiteLists = value["WhiteLists"]["WhiteList"]; + for (auto value : allWhiteLists) + { + WhiteList whiteListsObject; + if(!value["riskId"].isNull()) + whiteListsObject.riskId = std::stol(value["riskId"].asString()); + if(!value["riskName"].isNull()) + whiteListsObject.riskName = value["riskName"].asString(); + if(!value["reason"].isNull()) + whiteListsObject.reason = value["reason"].asString(); + whiteLists_.push_back(whiteListsObject); + } + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + +} + +int DescribeRiskWhiteListResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeRiskWhiteListResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeRiskWhiteListResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeRiskWhiteListResult::getWhiteLists()const +{ + return whiteLists_; +} + +int DescribeRiskWhiteListResult::getCount()const +{ + return count_; +} + diff --git a/aegis/src/model/DescribeRisksRequest.cc b/aegis/src/model/DescribeRisksRequest.cc new file mode 100644 index 000000000..fa0b799c1 --- /dev/null +++ b/aegis/src/model/DescribeRisksRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeRisksRequest; + +DescribeRisksRequest::DescribeRisksRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeRisks") +{} + +DescribeRisksRequest::~DescribeRisksRequest() +{} + +std::string DescribeRisksRequest::getRiskName()const +{ + return riskName_; +} + +void DescribeRisksRequest::setRiskName(const std::string& riskName) +{ + riskName_ = riskName; + setCoreParameter("RiskName", riskName); +} + +std::string DescribeRisksRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeRisksRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeRisksRequest::getLimit()const +{ + return limit_; +} + +void DescribeRisksRequest::setLimit(int limit) +{ + limit_ = limit; + setCoreParameter("Limit", std::to_string(limit)); +} + +std::string DescribeRisksRequest::getLang()const +{ + return lang_; +} + +void DescribeRisksRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +long DescribeRisksRequest::getRiskId()const +{ + return riskId_; +} + +void DescribeRisksRequest::setRiskId(long riskId) +{ + riskId_ = riskId; + setCoreParameter("RiskId", std::to_string(riskId)); +} + diff --git a/aegis/src/model/DescribeRisksResult.cc b/aegis/src/model/DescribeRisksResult.cc new file mode 100644 index 000000000..5a9410ecd --- /dev/null +++ b/aegis/src/model/DescribeRisksResult.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeRisksResult::DescribeRisksResult() : + ServiceResult() +{} + +DescribeRisksResult::DescribeRisksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRisksResult::~DescribeRisksResult() +{} + +void DescribeRisksResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allRisks = value["Risks"]["Risk"]; + for (auto value : allRisks) + { + Risk risksObject; + if(!value["RiskId"].isNull()) + risksObject.riskId = std::stol(value["RiskId"].asString()); + if(!value["RiskName"].isNull()) + risksObject.riskName = value["RiskName"].asString(); + if(!value["RiskDetail"].isNull()) + risksObject.riskDetail = value["RiskDetail"].asString(); + if(!value["RiskType"].isNull()) + risksObject.riskType = value["RiskType"].asString(); + if(!value["TypeAlias"].isNull()) + risksObject.typeAlias = value["TypeAlias"].asString(); + if(!value["SubRiskType"].isNull()) + risksObject.subRiskType = value["SubRiskType"].asString(); + if(!value["SubTypeAlias"].isNull()) + risksObject.subTypeAlias = value["SubTypeAlias"].asString(); + risks_.push_back(risksObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +std::vector DescribeRisksResult::getRisks()const +{ + return risks_; +} + +int DescribeRisksResult::getTotalCount()const +{ + return totalCount_; +} + diff --git a/aegis/src/model/DescribeRuleListRequest.cc b/aegis/src/model/DescribeRuleListRequest.cc new file mode 100644 index 000000000..d1ffd6974 --- /dev/null +++ b/aegis/src/model/DescribeRuleListRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeRuleListRequest; + +DescribeRuleListRequest::DescribeRuleListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeRuleList") +{} + +DescribeRuleListRequest::~DescribeRuleListRequest() +{} + +std::string DescribeRuleListRequest::getWarnLevel()const +{ + return warnLevel_; +} + +void DescribeRuleListRequest::setWarnLevel(const std::string& warnLevel) +{ + warnLevel_ = warnLevel; + setCoreParameter("WarnLevel", warnLevel); +} + +std::string DescribeRuleListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeRuleListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DescribeRuleListRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeRuleListRequest::setGroupId(long groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", std::to_string(groupId)); +} + +int DescribeRuleListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeRuleListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeRuleListRequest::getRemark()const +{ + return remark_; +} + +void DescribeRuleListRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + +int DescribeRuleListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeRuleListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +long DescribeRuleListRequest::getId()const +{ + return id_; +} + +void DescribeRuleListRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +std::string DescribeRuleListRequest::getLang()const +{ + return lang_; +} + +void DescribeRuleListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeRuleListRequest::getExGroupId()const +{ + return exGroupId_; +} + +void DescribeRuleListRequest::setExGroupId(const std::string& exGroupId) +{ + exGroupId_ = exGroupId; + setCoreParameter("ExGroupId", exGroupId); +} + diff --git a/aegis/src/model/DescribeRuleListResult.cc b/aegis/src/model/DescribeRuleListResult.cc new file mode 100644 index 000000000..532daead0 --- /dev/null +++ b/aegis/src/model/DescribeRuleListResult.cc @@ -0,0 +1,119 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeRuleListResult::DescribeRuleListResult() : + ServiceResult() +{} + +DescribeRuleListResult::DescribeRuleListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRuleListResult::~DescribeRuleListResult() +{} + +void DescribeRuleListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allRules = value["Rules"]["RulesItem"]; + for (auto value : allRules) + { + RulesItem rulesObject; + if(!value["WarnLevel"].isNull()) + rulesObject.warnLevel = value["WarnLevel"].asString(); + if(!value["Modified"].isNull()) + rulesObject.modified = std::stol(value["Modified"].asString()); + if(!value["Create"].isNull()) + rulesObject.create = std::stol(value["Create"].asString()); + if(!value["RuleName"].isNull()) + rulesObject.ruleName = value["RuleName"].asString(); + if(!value["Description"].isNull()) + rulesObject.description = value["Description"].asString(); + if(!value["Id"].isNull()) + rulesObject.id = std::stoi(value["Id"].asString()); + if(!value["DataSourceId"].isNull()) + rulesObject.dataSourceId = std::stoi(value["DataSourceId"].asString()); + if(!value["Expressions"].isNull()) + rulesObject.expressions = value["Expressions"].asString(); + if(!value["Actions"].isNull()) + rulesObject.actions = value["Actions"].asString(); + if(!value["StatisticsRules"].isNull()) + rulesObject.statisticsRules = value["StatisticsRules"].asString(); + if(!value["NeedGroup"].isNull()) + rulesObject.needGroup = value["NeedGroup"].asString() == "true"; + if(!value["StatusCode"].isNull()) + rulesObject.statusCode = value["StatusCode"].asString(); + auto allRuleGroups = value["RuleGroups"]["RuleGroup"]; + for (auto value : allRuleGroups) + { + RulesItem::RuleGroup ruleGroupsObject; + if(!value["GroupName"].isNull()) + ruleGroupsObject.groupName = value["GroupName"].asString(); + if(!value["RuleNum"].isNull()) + ruleGroupsObject.ruleNum = std::stoi(value["RuleNum"].asString()); + if(!value["Modified"].isNull()) + ruleGroupsObject.modified = std::stol(value["Modified"].asString()); + if(!value["Create"].isNull()) + ruleGroupsObject.create = std::stol(value["Create"].asString()); + if(!value["Description"].isNull()) + ruleGroupsObject.description = value["Description"].asString(); + if(!value["Id"].isNull()) + ruleGroupsObject.id = std::stoi(value["Id"].asString()); + if(!value["AliUid"].isNull()) + ruleGroupsObject.aliUid = std::stoi(value["AliUid"].asString()); + rulesObject.ruleGroups.push_back(ruleGroupsObject); + } + rules_.push_back(rulesObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +DescribeRuleListResult::PageInfo DescribeRuleListResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeRuleListResult::getRules()const +{ + return rules_; +} + +bool DescribeRuleListResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/DescribeSasAssetStatisticsColumnRequest.cc b/aegis/src/model/DescribeSasAssetStatisticsColumnRequest.cc new file mode 100644 index 000000000..811877d2f --- /dev/null +++ b/aegis/src/model/DescribeSasAssetStatisticsColumnRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeSasAssetStatisticsColumnRequest; + +DescribeSasAssetStatisticsColumnRequest::DescribeSasAssetStatisticsColumnRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSasAssetStatisticsColumn") +{} + +DescribeSasAssetStatisticsColumnRequest::~DescribeSasAssetStatisticsColumnRequest() +{} + +std::string DescribeSasAssetStatisticsColumnRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSasAssetStatisticsColumnRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeSasAssetStatisticsColumnResult.cc b/aegis/src/model/DescribeSasAssetStatisticsColumnResult.cc new file mode 100644 index 000000000..9af83f215 --- /dev/null +++ b/aegis/src/model/DescribeSasAssetStatisticsColumnResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSasAssetStatisticsColumnResult::DescribeSasAssetStatisticsColumnResult() : + ServiceResult() +{} + +DescribeSasAssetStatisticsColumnResult::DescribeSasAssetStatisticsColumnResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSasAssetStatisticsColumnResult::~DescribeSasAssetStatisticsColumnResult() +{} + +void DescribeSasAssetStatisticsColumnResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["StatisticsColumn"].isNull()) + statisticsColumn_ = value["StatisticsColumn"].asString(); + +} + +std::string DescribeSasAssetStatisticsColumnResult::getStatisticsColumn()const +{ + return statisticsColumn_; +} + diff --git a/aegis/src/model/DescribeSasAssetStatisticsRequest.cc b/aegis/src/model/DescribeSasAssetStatisticsRequest.cc new file mode 100644 index 000000000..88b8e37c3 --- /dev/null +++ b/aegis/src/model/DescribeSasAssetStatisticsRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeSasAssetStatisticsRequest; + +DescribeSasAssetStatisticsRequest::DescribeSasAssetStatisticsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSasAssetStatistics") +{} + +DescribeSasAssetStatisticsRequest::~DescribeSasAssetStatisticsRequest() +{} + +std::string DescribeSasAssetStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSasAssetStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeSasAssetStatisticsRequest::getStatisticsColumn()const +{ + return statisticsColumn_; +} + +void DescribeSasAssetStatisticsRequest::setStatisticsColumn(const std::string& statisticsColumn) +{ + statisticsColumn_ = statisticsColumn; + setCoreParameter("StatisticsColumn", statisticsColumn); +} + +int DescribeSasAssetStatisticsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeSasAssetStatisticsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeSasAssetStatisticsRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeSasAssetStatisticsRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeSasAssetStatisticsRequest::getUuids()const +{ + return uuids_; +} + +void DescribeSasAssetStatisticsRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + diff --git a/aegis/src/model/DescribeSasAssetStatisticsResult.cc b/aegis/src/model/DescribeSasAssetStatisticsResult.cc new file mode 100644 index 000000000..2a7568506 --- /dev/null +++ b/aegis/src/model/DescribeSasAssetStatisticsResult.cc @@ -0,0 +1,85 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSasAssetStatisticsResult::DescribeSasAssetStatisticsResult() : + ServiceResult() +{} + +DescribeSasAssetStatisticsResult::DescribeSasAssetStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSasAssetStatisticsResult::~DescribeSasAssetStatisticsResult() +{} + +void DescribeSasAssetStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allAssetList = value["AssetList"]["Asset"]; + for (auto value : allAssetList) + { + Asset assetListObject; + if(!value["HealthCheckCount"].isNull()) + assetListObject.healthCheckCount = std::stoi(value["HealthCheckCount"].asString()); + if(!value["VulCount"].isNull()) + assetListObject.vulCount = std::stoi(value["VulCount"].asString()); + if(!value["SafeEventCount"].isNull()) + assetListObject.safeEventCount = std::stoi(value["SafeEventCount"].asString()); + if(!value["Uuid"].isNull()) + assetListObject.uuid = value["Uuid"].asString(); + assetList_.push_back(assetListObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeSasAssetStatisticsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeSasAssetStatisticsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeSasAssetStatisticsResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeSasAssetStatisticsResult::getAssetList()const +{ + return assetList_; +} + diff --git a/aegis/src/model/DescribeSasLeftConditionRequest.cc b/aegis/src/model/DescribeSasLeftConditionRequest.cc new file mode 100644 index 000000000..4af4e88cb --- /dev/null +++ b/aegis/src/model/DescribeSasLeftConditionRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeSasLeftConditionRequest; + +DescribeSasLeftConditionRequest::DescribeSasLeftConditionRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSasLeftCondition") +{} + +DescribeSasLeftConditionRequest::~DescribeSasLeftConditionRequest() +{} + +std::string DescribeSasLeftConditionRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSasLeftConditionRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeSasLeftConditionRequest::getConditionType()const +{ + return conditionType_; +} + +void DescribeSasLeftConditionRequest::setConditionType(const std::string& conditionType) +{ + conditionType_ = conditionType; + setCoreParameter("ConditionType", conditionType); +} + +std::string DescribeSasLeftConditionRequest::getLang()const +{ + return lang_; +} + +void DescribeSasLeftConditionRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeSasLeftConditionRequest::getFilterConditions()const +{ + return filterConditions_; +} + +void DescribeSasLeftConditionRequest::setFilterConditions(const std::string& filterConditions) +{ + filterConditions_ = filterConditions; + setCoreParameter("FilterConditions", filterConditions); +} + diff --git a/aegis/src/model/DescribeSasLeftConditionResult.cc b/aegis/src/model/DescribeSasLeftConditionResult.cc new file mode 100644 index 000000000..00bde3035 --- /dev/null +++ b/aegis/src/model/DescribeSasLeftConditionResult.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSasLeftConditionResult::DescribeSasLeftConditionResult() : + ServiceResult() +{} + +DescribeSasLeftConditionResult::DescribeSasLeftConditionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSasLeftConditionResult::~DescribeSasLeftConditionResult() +{} + +void DescribeSasLeftConditionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allConditionList = value["ConditionList"]["Condition"]; + for (auto value : allConditionList) + { + Condition conditionListObject; + if(!value["Name"].isNull()) + conditionListObject.name = value["Name"].asString(); + if(!value["Count"].isNull()) + conditionListObject.count = std::stoi(value["Count"].asString()); + if(!value["Id"].isNull()) + conditionListObject.id = value["Id"].asString(); + conditionList_.push_back(conditionListObject); + } + +} + +std::vector DescribeSasLeftConditionResult::getConditionList()const +{ + return conditionList_; +} + diff --git a/aegis/src/model/DescribeScreenAlarmEventListRequest.cc b/aegis/src/model/DescribeScreenAlarmEventListRequest.cc new file mode 100644 index 000000000..96aca850b --- /dev/null +++ b/aegis/src/model/DescribeScreenAlarmEventListRequest.cc @@ -0,0 +1,137 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeScreenAlarmEventListRequest; + +DescribeScreenAlarmEventListRequest::DescribeScreenAlarmEventListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeScreenAlarmEventList") +{} + +DescribeScreenAlarmEventListRequest::~DescribeScreenAlarmEventListRequest() +{} + +std::string DescribeScreenAlarmEventListRequest::getAlarmEventName()const +{ + return alarmEventName_; +} + +void DescribeScreenAlarmEventListRequest::setAlarmEventName(const std::string& alarmEventName) +{ + alarmEventName_ = alarmEventName; + setCoreParameter("AlarmEventName", alarmEventName); +} + +std::string DescribeScreenAlarmEventListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeScreenAlarmEventListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeScreenAlarmEventListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeScreenAlarmEventListRequest::setPageSize(const std::string& pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", pageSize); +} + +std::string DescribeScreenAlarmEventListRequest::getAlarmEventType()const +{ + return alarmEventType_; +} + +void DescribeScreenAlarmEventListRequest::setAlarmEventType(const std::string& alarmEventType) +{ + alarmEventType_ = alarmEventType; + setCoreParameter("AlarmEventType", alarmEventType); +} + +std::string DescribeScreenAlarmEventListRequest::getDealed()const +{ + return dealed_; +} + +void DescribeScreenAlarmEventListRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setCoreParameter("Dealed", dealed); +} + +std::string DescribeScreenAlarmEventListRequest::getFrom()const +{ + return from_; +} + +void DescribeScreenAlarmEventListRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string DescribeScreenAlarmEventListRequest::getRemark()const +{ + return remark_; +} + +void DescribeScreenAlarmEventListRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + +int DescribeScreenAlarmEventListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeScreenAlarmEventListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeScreenAlarmEventListRequest::getLang()const +{ + return lang_; +} + +void DescribeScreenAlarmEventListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeScreenAlarmEventListRequest::getLevels()const +{ + return levels_; +} + +void DescribeScreenAlarmEventListRequest::setLevels(const std::string& levels) +{ + levels_ = levels; + setCoreParameter("Levels", levels); +} + diff --git a/aegis/src/model/DescribeScreenAlarmEventListResult.cc b/aegis/src/model/DescribeScreenAlarmEventListResult.cc new file mode 100644 index 000000000..caffdc120 --- /dev/null +++ b/aegis/src/model/DescribeScreenAlarmEventListResult.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeScreenAlarmEventListResult::DescribeScreenAlarmEventListResult() : + ServiceResult() +{} + +DescribeScreenAlarmEventListResult::DescribeScreenAlarmEventListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeScreenAlarmEventListResult::~DescribeScreenAlarmEventListResult() +{} + +void DescribeScreenAlarmEventListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allSuspEvents = value["SuspEvents"]["SuspEventsItem"]; + for (auto value : allSuspEvents) + { + SuspEventsItem suspEventsObject; + if(!value["AlarmUniqueInfo"].isNull()) + suspEventsObject.alarmUniqueInfo = value["AlarmUniqueInfo"].asString(); + if(!value["Solution"].isNull()) + suspEventsObject.solution = value["Solution"].asString(); + if(!value["Level"].isNull()) + suspEventsObject.level = value["Level"].asString(); + if(!value["CanBeDealOnLine"].isNull()) + suspEventsObject.canBeDealOnLine = value["CanBeDealOnLine"].asString() == "true"; + if(!value["Description"].isNull()) + suspEventsObject.description = value["Description"].asString(); + if(!value["StartTime"].isNull()) + suspEventsObject.startTime = std::stol(value["StartTime"].asString()); + if(!value["EndTime"].isNull()) + suspEventsObject.endTime = std::stol(value["EndTime"].asString()); + if(!value["AlarmEventType"].isNull()) + suspEventsObject.alarmEventType = value["AlarmEventType"].asString(); + if(!value["SuspiciousEventCount"].isNull()) + suspEventsObject.suspiciousEventCount = std::stoi(value["SuspiciousEventCount"].asString()); + if(!value["Uuid"].isNull()) + suspEventsObject.uuid = value["Uuid"].asString(); + if(!value["InstanceName"].isNull()) + suspEventsObject.instanceName = value["InstanceName"].asString(); + if(!value["InternetIp"].isNull()) + suspEventsObject.internetIp = value["InternetIp"].asString(); + if(!value["IntranetIp"].isNull()) + suspEventsObject.intranetIp = value["IntranetIp"].asString(); + if(!value["AlarmEventName"].isNull()) + suspEventsObject.alarmEventName = value["AlarmEventName"].asString(); + if(!value["SaleVersion"].isNull()) + suspEventsObject.saleVersion = value["SaleVersion"].asString(); + if(!value["DataSource"].isNull()) + suspEventsObject.dataSource = value["DataSource"].asString(); + if(!value["CanCancelFault"].isNull()) + suspEventsObject.canCancelFault = value["CanCancelFault"].asString() == "true"; + if(!value["Dealed"].isNull()) + suspEventsObject.dealed = value["Dealed"].asString() == "true"; + suspEvents_.push_back(suspEventsObject); + } + auto pageInfoNode = value["PageInfo"]; + if(!pageInfoNode["Count"].isNull()) + pageInfo_.count = std::stoi(pageInfoNode["Count"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + pageInfo_.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + pageInfo_.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["CurrentPage"].isNull()) + pageInfo_.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + +} + +DescribeScreenAlarmEventListResult::PageInfo DescribeScreenAlarmEventListResult::getPageInfo()const +{ + return pageInfo_; +} + +std::vector DescribeScreenAlarmEventListResult::getSuspEvents()const +{ + return suspEvents_; +} + diff --git a/aegis/src/model/DescribeScreenAttackAnalysisDataRequest.cc b/aegis/src/model/DescribeScreenAttackAnalysisDataRequest.cc new file mode 100644 index 000000000..bdba97094 --- /dev/null +++ b/aegis/src/model/DescribeScreenAttackAnalysisDataRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeScreenAttackAnalysisDataRequest; + +DescribeScreenAttackAnalysisDataRequest::DescribeScreenAttackAnalysisDataRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeScreenAttackAnalysisData") +{} + +DescribeScreenAttackAnalysisDataRequest::~DescribeScreenAttackAnalysisDataRequest() +{} + +std::string DescribeScreenAttackAnalysisDataRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeScreenAttackAnalysisDataRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeScreenAttackAnalysisDataRequest::getData()const +{ + return data_; +} + +void DescribeScreenAttackAnalysisDataRequest::setData(const std::string& data) +{ + data_ = data; + setCoreParameter("Data", data); +} + +std::string DescribeScreenAttackAnalysisDataRequest::getBase64()const +{ + return base64_; +} + +void DescribeScreenAttackAnalysisDataRequest::setBase64(const std::string& base64) +{ + base64_ = base64; + setCoreParameter("Base64", base64); +} + +int DescribeScreenAttackAnalysisDataRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeScreenAttackAnalysisDataRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +long DescribeScreenAttackAnalysisDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeScreenAttackAnalysisDataRequest::setEndTime(long endTime) +{ + endTime_ = endTime; + setCoreParameter("EndTime", std::to_string(endTime)); +} + +int DescribeScreenAttackAnalysisDataRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeScreenAttackAnalysisDataRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +long DescribeScreenAttackAnalysisDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeScreenAttackAnalysisDataRequest::setStartTime(long startTime) +{ + startTime_ = startTime; + setCoreParameter("StartTime", std::to_string(startTime)); +} + +std::string DescribeScreenAttackAnalysisDataRequest::getLang()const +{ + return lang_; +} + +void DescribeScreenAttackAnalysisDataRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeScreenAttackAnalysisDataRequest::getType()const +{ + return type_; +} + +void DescribeScreenAttackAnalysisDataRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + diff --git a/aegis/src/model/DescribeScreenAttackAnalysisDataResult.cc b/aegis/src/model/DescribeScreenAttackAnalysisDataResult.cc new file mode 100644 index 000000000..2b7ded30a --- /dev/null +++ b/aegis/src/model/DescribeScreenAttackAnalysisDataResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeScreenAttackAnalysisDataResult::DescribeScreenAttackAnalysisDataResult() : + ServiceResult() +{} + +DescribeScreenAttackAnalysisDataResult::DescribeScreenAttackAnalysisDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeScreenAttackAnalysisDataResult::~DescribeScreenAttackAnalysisDataResult() +{} + +void DescribeScreenAttackAnalysisDataResult::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(); + if(!value["Total"].isNull()) + total_ = std::stoi(value["Total"].asString()); + if(!value["Page"].isNull()) + page_ = std::stoi(value["Page"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + +} + +int DescribeScreenAttackAnalysisDataResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeScreenAttackAnalysisDataResult::getTotal()const +{ + return total_; +} + +std::string DescribeScreenAttackAnalysisDataResult::getData()const +{ + return data_; +} + +int DescribeScreenAttackAnalysisDataResult::getPage()const +{ + return page_; +} + diff --git a/aegis/src/model/DescribeScreenHostStatisticsRequest.cc b/aegis/src/model/DescribeScreenHostStatisticsRequest.cc new file mode 100644 index 000000000..5c74b4673 --- /dev/null +++ b/aegis/src/model/DescribeScreenHostStatisticsRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeScreenHostStatisticsRequest; + +DescribeScreenHostStatisticsRequest::DescribeScreenHostStatisticsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeScreenHostStatistics") +{} + +DescribeScreenHostStatisticsRequest::~DescribeScreenHostStatisticsRequest() +{} + +std::string DescribeScreenHostStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeScreenHostStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeScreenHostStatisticsResult.cc b/aegis/src/model/DescribeScreenHostStatisticsResult.cc new file mode 100644 index 000000000..3be940529 --- /dev/null +++ b/aegis/src/model/DescribeScreenHostStatisticsResult.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeScreenHostStatisticsResult::DescribeScreenHostStatisticsResult() : + ServiceResult() +{} + +DescribeScreenHostStatisticsResult::DescribeScreenHostStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeScreenHostStatisticsResult::~DescribeScreenHostStatisticsResult() +{} + +void DescribeScreenHostStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + auto allWeaknessUuids = dataNode["WeaknessUuids"]["StringItem"]; + for (auto value : allWeaknessUuids) + data_.weaknessUuids.push_back(value.asString()); + auto allSuspEventUuids = dataNode["SuspEventUuids"]["StringItem"]; + for (auto value : allSuspEventUuids) + data_.suspEventUuids.push_back(value.asString()); + auto allSuspEventMachineNames = dataNode["SuspEventMachineNames"]["StringItem"]; + for (auto value : allSuspEventMachineNames) + data_.suspEventMachineNames.push_back(value.asString()); + auto allWeaknessMachineNames = dataNode["WeaknessMachineNames"]["StringItem"]; + for (auto value : allWeaknessMachineNames) + data_.weaknessMachineNames.push_back(value.asString()); + +} + +DescribeScreenHostStatisticsResult::Data DescribeScreenHostStatisticsResult::getData()const +{ + return data_; +} + diff --git a/aegis/src/model/DescribeScreenOperateInfoRequest.cc b/aegis/src/model/DescribeScreenOperateInfoRequest.cc new file mode 100644 index 000000000..3d125bc8a --- /dev/null +++ b/aegis/src/model/DescribeScreenOperateInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeScreenOperateInfoRequest; + +DescribeScreenOperateInfoRequest::DescribeScreenOperateInfoRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeScreenOperateInfo") +{} + +DescribeScreenOperateInfoRequest::~DescribeScreenOperateInfoRequest() +{} + +std::string DescribeScreenOperateInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeScreenOperateInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeScreenOperateInfoRequest::getLang()const +{ + return lang_; +} + +void DescribeScreenOperateInfoRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeScreenOperateInfoResult.cc b/aegis/src/model/DescribeScreenOperateInfoResult.cc new file mode 100644 index 000000000..9d15811ef --- /dev/null +++ b/aegis/src/model/DescribeScreenOperateInfoResult.cc @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeScreenOperateInfoResult::DescribeScreenOperateInfoResult() : + ServiceResult() +{} + +DescribeScreenOperateInfoResult::DescribeScreenOperateInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeScreenOperateInfoResult::~DescribeScreenOperateInfoResult() +{} + +void DescribeScreenOperateInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allSuspEventValueArray = value["SuspEventValueArray"]["IntegerItem"]; + for (const auto &item : allSuspEventValueArray) + suspEventValueArray_.push_back(item.asString()); + auto allVulValueArray = value["VulValueArray"]["IntegerItem"]; + for (const auto &item : allVulValueArray) + vulValueArray_.push_back(item.asString()); + auto allDateArray = value["DateArray"]["StringItem"]; + for (const auto &item : allDateArray) + dateArray_.push_back(item.asString()); + auto allHealthCheckValueArray = value["HealthCheckValueArray"]["IntegerItem"]; + for (const auto &item : allHealthCheckValueArray) + healthCheckValueArray_.push_back(item.asString()); + if(!value["HealthCheckDealedCount"].isNull()) + healthCheckDealedCount_ = std::stoi(value["HealthCheckDealedCount"].asString()); + if(!value["SecurityEventDealedCount"].isNull()) + securityEventDealedCount_ = std::stoi(value["SecurityEventDealedCount"].asString()); + if(!value["VulnerabilityDealedCount"].isNull()) + vulnerabilityDealedCount_ = std::stoi(value["VulnerabilityDealedCount"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::vector DescribeScreenOperateInfoResult::getVulValueArray()const +{ + return vulValueArray_; +} + +int DescribeScreenOperateInfoResult::getSecurityEventDealedCount()const +{ + return securityEventDealedCount_; +} + +std::vector DescribeScreenOperateInfoResult::getSuspEventValueArray()const +{ + return suspEventValueArray_; +} + +int DescribeScreenOperateInfoResult::getVulnerabilityDealedCount()const +{ + return vulnerabilityDealedCount_; +} + +std::vector DescribeScreenOperateInfoResult::getDateArray()const +{ + return dateArray_; +} + +std::vector DescribeScreenOperateInfoResult::getHealthCheckValueArray()const +{ + return healthCheckValueArray_; +} + +int DescribeScreenOperateInfoResult::getHealthCheckDealedCount()const +{ + return healthCheckDealedCount_; +} + +bool DescribeScreenOperateInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/DescribeScreenScoreThreadRequest.cc b/aegis/src/model/DescribeScreenScoreThreadRequest.cc new file mode 100644 index 000000000..88c6a6f0a --- /dev/null +++ b/aegis/src/model/DescribeScreenScoreThreadRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeScreenScoreThreadRequest; + +DescribeScreenScoreThreadRequest::DescribeScreenScoreThreadRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeScreenScoreThread") +{} + +DescribeScreenScoreThreadRequest::~DescribeScreenScoreThreadRequest() +{} + +std::string DescribeScreenScoreThreadRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeScreenScoreThreadRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DescribeScreenScoreThreadRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeScreenScoreThreadRequest::setEndTime(long endTime) +{ + endTime_ = endTime; + setCoreParameter("EndTime", std::to_string(endTime)); +} + +long DescribeScreenScoreThreadRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeScreenScoreThreadRequest::setStartTime(long startTime) +{ + startTime_ = startTime; + setCoreParameter("StartTime", std::to_string(startTime)); +} + diff --git a/aegis/src/model/DescribeScreenScoreThreadResult.cc b/aegis/src/model/DescribeScreenScoreThreadResult.cc new file mode 100644 index 000000000..20289d23e --- /dev/null +++ b/aegis/src/model/DescribeScreenScoreThreadResult.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeScreenScoreThreadResult::DescribeScreenScoreThreadResult() : + ServiceResult() +{} + +DescribeScreenScoreThreadResult::DescribeScreenScoreThreadResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeScreenScoreThreadResult::~DescribeScreenScoreThreadResult() +{} + +void DescribeScreenScoreThreadResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + auto allSocreThreadDate = dataNode["SocreThreadDate"]["StringItem"]; + for (auto value : allSocreThreadDate) + data_.socreThreadDate.push_back(value.asString()); + auto allSocreThread = dataNode["SocreThread"]["IntegerItem"]; + for (auto value : allSocreThread) + data_.socreThread.push_back(value.asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +DescribeScreenScoreThreadResult::Data DescribeScreenScoreThreadResult::getData()const +{ + return data_; +} + +bool DescribeScreenScoreThreadResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/DescribeScreenSecurityStatInfoRequest.cc b/aegis/src/model/DescribeScreenSecurityStatInfoRequest.cc new file mode 100644 index 000000000..b8ee0d61b --- /dev/null +++ b/aegis/src/model/DescribeScreenSecurityStatInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeScreenSecurityStatInfoRequest; + +DescribeScreenSecurityStatInfoRequest::DescribeScreenSecurityStatInfoRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeScreenSecurityStatInfo") +{} + +DescribeScreenSecurityStatInfoRequest::~DescribeScreenSecurityStatInfoRequest() +{} + +std::string DescribeScreenSecurityStatInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeScreenSecurityStatInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeScreenSecurityStatInfoRequest::getLang()const +{ + return lang_; +} + +void DescribeScreenSecurityStatInfoRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeScreenSecurityStatInfoResult.cc b/aegis/src/model/DescribeScreenSecurityStatInfoResult.cc new file mode 100644 index 000000000..86e4d6694 --- /dev/null +++ b/aegis/src/model/DescribeScreenSecurityStatInfoResult.cc @@ -0,0 +1,162 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeScreenSecurityStatInfoResult::DescribeScreenSecurityStatInfoResult() : + ServiceResult() +{} + +DescribeScreenSecurityStatInfoResult::DescribeScreenSecurityStatInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeScreenSecurityStatInfoResult::~DescribeScreenSecurityStatInfoResult() +{} + +void DescribeScreenSecurityStatInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto securityEventNode = value["SecurityEvent"]; + if(!securityEventNode["SeriousCount"].isNull()) + securityEvent_.seriousCount = std::stoi(securityEventNode["SeriousCount"].asString()); + if(!securityEventNode["SuspiciousCount"].isNull()) + securityEvent_.suspiciousCount = std::stoi(securityEventNode["SuspiciousCount"].asString()); + if(!securityEventNode["RemindCount"].isNull()) + securityEvent_.remindCount = std::stoi(securityEventNode["RemindCount"].asString()); + if(!securityEventNode["TotalCount"].isNull()) + securityEvent_.totalCount = std::stoi(securityEventNode["TotalCount"].asString()); + auto allDateArray = securityEventNode["DateArray"]["StringItem"]; + for (auto value : allDateArray) + securityEvent_.dateArray.push_back(value.asString()); + auto allValueArray = securityEventNode["ValueArray"]["IntegerItem"]; + for (auto value : allValueArray) + securityEvent_.valueArray.push_back(value.asString()); + auto allLevelsOn = securityEventNode["LevelsOn"]["StringItem"]; + for (auto value : allLevelsOn) + securityEvent_.levelsOn.push_back(value.asString()); + auto allSeriousList = securityEventNode["SeriousList"]["IntegerItem"]; + for (auto value : allSeriousList) + securityEvent_.seriousList.push_back(value.asString()); + auto allSuspiciousList = securityEventNode["SuspiciousList"]["IntegerItem"]; + for (auto value : allSuspiciousList) + securityEvent_.suspiciousList.push_back(value.asString()); + auto allRemindList = securityEventNode["RemindList"]["IntegerItem"]; + for (auto value : allRemindList) + securityEvent_.remindList.push_back(value.asString()); + auto attackEventNode = value["AttackEvent"]; + if(!attackEventNode["TotalCount"].isNull()) + attackEvent_.totalCount = std::stoi(attackEventNode["TotalCount"].asString()); + auto allDateArray1 = attackEventNode["DateArray"]["StringItem"]; + for (auto value : allDateArray1) + attackEvent_.dateArray1.push_back(value.asString()); + auto allValueArray2 = attackEventNode["ValueArray"]["IntegerItem"]; + for (auto value : allValueArray2) + attackEvent_.valueArray2.push_back(value.asString()); + auto healthCheckNode = value["HealthCheck"]; + if(!healthCheckNode["MediumCount"].isNull()) + healthCheck_.mediumCount = std::stoi(healthCheckNode["MediumCount"].asString()); + if(!healthCheckNode["HighCount"].isNull()) + healthCheck_.highCount = std::stoi(healthCheckNode["HighCount"].asString()); + if(!healthCheckNode["LowCount"].isNull()) + healthCheck_.lowCount = std::stoi(healthCheckNode["LowCount"].asString()); + if(!healthCheckNode["TotalCount"].isNull()) + healthCheck_.totalCount = std::stoi(healthCheckNode["TotalCount"].asString()); + auto allDateArray3 = healthCheckNode["DateArray"]["StringItem"]; + for (auto value : allDateArray3) + healthCheck_.dateArray3.push_back(value.asString()); + auto allValueArray4 = healthCheckNode["ValueArray"]["IntegerItem"]; + for (auto value : allValueArray4) + healthCheck_.valueArray4.push_back(value.asString()); + auto allLevelsOn5 = healthCheckNode["LevelsOn"]["StringItem"]; + for (auto value : allLevelsOn5) + healthCheck_.levelsOn5.push_back(value.asString()); + auto allHighList = healthCheckNode["HighList"]["IntegerItem"]; + for (auto value : allHighList) + healthCheck_.highList.push_back(value.asString()); + auto allMediumList = healthCheckNode["MediumList"]["IntegerItem"]; + for (auto value : allMediumList) + healthCheck_.mediumList.push_back(value.asString()); + auto allLowList = healthCheckNode["LowList"]["IntegerItem"]; + for (auto value : allLowList) + healthCheck_.lowList.push_back(value.asString()); + auto vulnerabilityNode = value["Vulnerability"]; + if(!vulnerabilityNode["NntfCount"].isNull()) + vulnerability_.nntfCount = std::stoi(vulnerabilityNode["NntfCount"].asString()); + if(!vulnerabilityNode["LaterCount"].isNull()) + vulnerability_.laterCount = std::stoi(vulnerabilityNode["LaterCount"].asString()); + if(!vulnerabilityNode["AsapCount"].isNull()) + vulnerability_.asapCount = std::stoi(vulnerabilityNode["AsapCount"].asString()); + if(!vulnerabilityNode["TotalCount"].isNull()) + vulnerability_.totalCount = std::stoi(vulnerabilityNode["TotalCount"].asString()); + auto allDateArray6 = vulnerabilityNode["DateArray"]["StringItem"]; + for (auto value : allDateArray6) + vulnerability_.dateArray6.push_back(value.asString()); + auto allValueArray7 = vulnerabilityNode["ValueArray"]["IntegerItem"]; + for (auto value : allValueArray7) + vulnerability_.valueArray7.push_back(value.asString()); + auto allLevelsOn8 = vulnerabilityNode["LevelsOn"]["StringItem"]; + for (auto value : allLevelsOn8) + vulnerability_.levelsOn8.push_back(value.asString()); + auto allNntfList = vulnerabilityNode["NntfList"]["IntegerItem"]; + for (auto value : allNntfList) + vulnerability_.nntfList.push_back(value.asString()); + auto allAsapList = vulnerabilityNode["AsapList"]["IntegerItem"]; + for (auto value : allAsapList) + vulnerability_.asapList.push_back(value.asString()); + auto allLaterList = vulnerabilityNode["LaterList"]["IntegerItem"]; + for (auto value : allLaterList) + vulnerability_.laterList.push_back(value.asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +DescribeScreenSecurityStatInfoResult::SecurityEvent DescribeScreenSecurityStatInfoResult::getSecurityEvent()const +{ + return securityEvent_; +} + +DescribeScreenSecurityStatInfoResult::HealthCheck DescribeScreenSecurityStatInfoResult::getHealthCheck()const +{ + return healthCheck_; +} + +DescribeScreenSecurityStatInfoResult::Vulnerability DescribeScreenSecurityStatInfoResult::getVulnerability()const +{ + return vulnerability_; +} + +DescribeScreenSecurityStatInfoResult::AttackEvent DescribeScreenSecurityStatInfoResult::getAttackEvent()const +{ + return attackEvent_; +} + +bool DescribeScreenSecurityStatInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/DescribeScreenSettingRequest.cc b/aegis/src/model/DescribeScreenSettingRequest.cc new file mode 100644 index 000000000..5ee539a11 --- /dev/null +++ b/aegis/src/model/DescribeScreenSettingRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeScreenSettingRequest; + +DescribeScreenSettingRequest::DescribeScreenSettingRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeScreenSetting") +{} + +DescribeScreenSettingRequest::~DescribeScreenSettingRequest() +{} + +std::string DescribeScreenSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeScreenSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeScreenSettingRequest::getScreenTitle()const +{ + return screenTitle_; +} + +void DescribeScreenSettingRequest::setScreenTitle(const std::string& screenTitle) +{ + screenTitle_ = screenTitle; + setCoreParameter("ScreenTitle", screenTitle); +} + diff --git a/aegis/src/model/DescribeScreenSettingResult.cc b/aegis/src/model/DescribeScreenSettingResult.cc new file mode 100644 index 000000000..79dee30c7 --- /dev/null +++ b/aegis/src/model/DescribeScreenSettingResult.cc @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeScreenSettingResult::DescribeScreenSettingResult() : + ServiceResult() +{} + +DescribeScreenSettingResult::DescribeScreenSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeScreenSettingResult::~DescribeScreenSettingResult() +{} + +void DescribeScreenSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto sasScreenSettingNode = value["SasScreenSetting"]; + if(!sasScreenSettingNode["ScreenSettingTitle"].isNull()) + sasScreenSetting_.screenSettingTitle = sasScreenSettingNode["ScreenSettingTitle"].asString(); + if(!sasScreenSettingNode["ScreenSettingIdMap"].isNull()) + sasScreenSetting_.screenSettingIdMap = sasScreenSettingNode["ScreenSettingIdMap"].asString(); + +} + +DescribeScreenSettingResult::SasScreenSetting DescribeScreenSettingResult::getSasScreenSetting()const +{ + return sasScreenSetting_; +} + diff --git a/aegis/src/model/DescribeScreenSettingsRequest.cc b/aegis/src/model/DescribeScreenSettingsRequest.cc new file mode 100644 index 000000000..795dd8070 --- /dev/null +++ b/aegis/src/model/DescribeScreenSettingsRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeScreenSettingsRequest; + +DescribeScreenSettingsRequest::DescribeScreenSettingsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeScreenSettings") +{} + +DescribeScreenSettingsRequest::~DescribeScreenSettingsRequest() +{} + +std::string DescribeScreenSettingsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeScreenSettingsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeScreenSettingsResult.cc b/aegis/src/model/DescribeScreenSettingsResult.cc new file mode 100644 index 000000000..f7e576b91 --- /dev/null +++ b/aegis/src/model/DescribeScreenSettingsResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeScreenSettingsResult::DescribeScreenSettingsResult() : + ServiceResult() +{} + +DescribeScreenSettingsResult::DescribeScreenSettingsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeScreenSettingsResult::~DescribeScreenSettingsResult() +{} + +void DescribeScreenSettingsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allSasScreenSettingList = value["SasScreenSettingList"]["SasScreenSettingListItem"]; + for (auto value : allSasScreenSettingList) + { + SasScreenSettingListItem sasScreenSettingListObject; + if(!value["ScreenSettingTitle"].isNull()) + sasScreenSettingListObject.screenSettingTitle = value["ScreenSettingTitle"].asString(); + if(!value["ScreenSettingIdMap"].isNull()) + sasScreenSettingListObject.screenSettingIdMap = value["ScreenSettingIdMap"].asString(); + sasScreenSettingList_.push_back(sasScreenSettingListObject); + } + +} + +std::vector DescribeScreenSettingsResult::getSasScreenSettingList()const +{ + return sasScreenSettingList_; +} + diff --git a/aegis/src/model/DescribeScreenSummaryInfoRequest.cc b/aegis/src/model/DescribeScreenSummaryInfoRequest.cc new file mode 100644 index 000000000..26140d1cc --- /dev/null +++ b/aegis/src/model/DescribeScreenSummaryInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeScreenSummaryInfoRequest; + +DescribeScreenSummaryInfoRequest::DescribeScreenSummaryInfoRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeScreenSummaryInfo") +{} + +DescribeScreenSummaryInfoRequest::~DescribeScreenSummaryInfoRequest() +{} + +std::string DescribeScreenSummaryInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeScreenSummaryInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeScreenSummaryInfoRequest::getLang()const +{ + return lang_; +} + +void DescribeScreenSummaryInfoRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeScreenSummaryInfoResult.cc b/aegis/src/model/DescribeScreenSummaryInfoResult.cc new file mode 100644 index 000000000..5b9988de9 --- /dev/null +++ b/aegis/src/model/DescribeScreenSummaryInfoResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeScreenSummaryInfoResult::DescribeScreenSummaryInfoResult() : + ServiceResult() +{} + +DescribeScreenSummaryInfoResult::DescribeScreenSummaryInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeScreenSummaryInfoResult::~DescribeScreenSummaryInfoResult() +{} + +void DescribeScreenSummaryInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["AegisClientOfflineCount"].isNull()) + aegisClientOfflineCount_ = std::stoi(value["AegisClientOfflineCount"].asString()); + if(!value["SecurityScore"].isNull()) + securityScore_ = std::stoi(value["SecurityScore"].asString()); + if(!value["AegisClientOnlineCount"].isNull()) + aegisClientOnlineCount_ = std::stoi(value["AegisClientOnlineCount"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +int DescribeScreenSummaryInfoResult::getAegisClientOnlineCount()const +{ + return aegisClientOnlineCount_; +} + +int DescribeScreenSummaryInfoResult::getAegisClientOfflineCount()const +{ + return aegisClientOfflineCount_; +} + +int DescribeScreenSummaryInfoResult::getSecurityScore()const +{ + return securityScore_; +} + +bool DescribeScreenSummaryInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/DescribeScreenVersionConfigRequest.cc b/aegis/src/model/DescribeScreenVersionConfigRequest.cc new file mode 100644 index 000000000..46394606c --- /dev/null +++ b/aegis/src/model/DescribeScreenVersionConfigRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeScreenVersionConfigRequest; + +DescribeScreenVersionConfigRequest::DescribeScreenVersionConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeScreenVersionConfig") +{} + +DescribeScreenVersionConfigRequest::~DescribeScreenVersionConfigRequest() +{} + +std::string DescribeScreenVersionConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeScreenVersionConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeScreenVersionConfigResult.cc b/aegis/src/model/DescribeScreenVersionConfigResult.cc new file mode 100644 index 000000000..5b3389a98 --- /dev/null +++ b/aegis/src/model/DescribeScreenVersionConfigResult.cc @@ -0,0 +1,136 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeScreenVersionConfigResult::DescribeScreenVersionConfigResult() : + ServiceResult() +{} + +DescribeScreenVersionConfigResult::DescribeScreenVersionConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeScreenVersionConfigResult::~DescribeScreenVersionConfigResult() +{} + +void DescribeScreenVersionConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["AssetLevel"].isNull()) + assetLevel_ = std::stoi(value["AssetLevel"].asString()); + if(!value["AvdsFlag"].isNull()) + avdsFlag_ = std::stoi(value["AvdsFlag"].asString()); + if(!value["CreateTime"].isNull()) + createTime_ = std::stol(value["CreateTime"].asString()); + if(!value["Flag"].isNull()) + flag_ = std::stoi(value["Flag"].asString()); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + if(!value["IsSasOpening"].isNull()) + isSasOpening_ = value["IsSasOpening"].asString() == "true"; + if(!value["IsTrialVersion"].isNull()) + isTrialVersion_ = std::stoi(value["IsTrialVersion"].asString()); + if(!value["LogCapacity"].isNull()) + logCapacity_ = std::stoi(value["LogCapacity"].asString()); + if(!value["LogTime"].isNull()) + logTime_ = std::stoi(value["LogTime"].asString()); + if(!value["ReleaseTime"].isNull()) + releaseTime_ = std::stol(value["ReleaseTime"].asString()); + if(!value["SasLog"].isNull()) + sasLog_ = std::stoi(value["SasLog"].asString()); + if(!value["SasScreen"].isNull()) + sasScreen_ = std::stoi(value["SasScreen"].asString()); + if(!value["Version"].isNull()) + version_ = std::stoi(value["Version"].asString()); + +} + +int DescribeScreenVersionConfigResult::getAssetLevel()const +{ + return assetLevel_; +} + +std::string DescribeScreenVersionConfigResult::getInstanceId()const +{ + return instanceId_; +} + +long DescribeScreenVersionConfigResult::getCreateTime()const +{ + return createTime_; +} + +int DescribeScreenVersionConfigResult::getLogTime()const +{ + return logTime_; +} + +int DescribeScreenVersionConfigResult::getSasScreen()const +{ + return sasScreen_; +} + +bool DescribeScreenVersionConfigResult::getIsSasOpening()const +{ + return isSasOpening_; +} + +int DescribeScreenVersionConfigResult::getLogCapacity()const +{ + return logCapacity_; +} + +int DescribeScreenVersionConfigResult::getFlag()const +{ + return flag_; +} + +int DescribeScreenVersionConfigResult::getSasLog()const +{ + return sasLog_; +} + +long DescribeScreenVersionConfigResult::getReleaseTime()const +{ + return releaseTime_; +} + +int DescribeScreenVersionConfigResult::getVersion()const +{ + return version_; +} + +int DescribeScreenVersionConfigResult::getAvdsFlag()const +{ + return avdsFlag_; +} + +int DescribeScreenVersionConfigResult::getIsTrialVersion()const +{ + return isTrialVersion_; +} + diff --git a/aegis/src/model/DescribeSearchConditionRequest.cc b/aegis/src/model/DescribeSearchConditionRequest.cc new file mode 100644 index 000000000..4edb03430 --- /dev/null +++ b/aegis/src/model/DescribeSearchConditionRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeSearchConditionRequest; + +DescribeSearchConditionRequest::DescribeSearchConditionRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSearchCondition") +{} + +DescribeSearchConditionRequest::~DescribeSearchConditionRequest() +{} + +std::string DescribeSearchConditionRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSearchConditionRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeSearchConditionRequest::getLang()const +{ + return lang_; +} + +void DescribeSearchConditionRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeSearchConditionResult.cc b/aegis/src/model/DescribeSearchConditionResult.cc new file mode 100644 index 000000000..9695f657c --- /dev/null +++ b/aegis/src/model/DescribeSearchConditionResult.cc @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSearchConditionResult::DescribeSearchConditionResult() : + ServiceResult() +{} + +DescribeSearchConditionResult::DescribeSearchConditionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSearchConditionResult::~DescribeSearchConditionResult() +{} + +void DescribeSearchConditionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allConditionList = value["ConditionList"]["Condition"]; + for (auto value : allConditionList) + { + Condition conditionListObject; + if(!value["Name"].isNull()) + conditionListObject.name = value["Name"].asString(); + if(!value["AssetType"].isNull()) + conditionListObject.assetType = value["AssetType"].asString(); + if(!value["Tag"].isNull()) + conditionListObject.tag = value["Tag"].asString(); + if(!value["Region"].isNull()) + conditionListObject.region = value["Region"].asString(); + if(!value["SafeStatus"].isNull()) + conditionListObject.safeStatus = value["SafeStatus"].asString(); + if(!value["ClientStatus"].isNull()) + conditionListObject.clientStatus = value["ClientStatus"].asString(); + if(!value["GroupId"].isNull()) + conditionListObject.groupId = value["GroupId"].asString(); + if(!value["Os"].isNull()) + conditionListObject.os = value["Os"].asString(); + if(!value["Remark"].isNull()) + conditionListObject.remark = value["Remark"].asString(); + conditionList_.push_back(conditionListObject); + } + +} + +std::vector DescribeSearchConditionResult::getConditionList()const +{ + return conditionList_; +} + diff --git a/aegis/src/model/DescribeSecureSuggestionRequest.cc b/aegis/src/model/DescribeSecureSuggestionRequest.cc new file mode 100644 index 000000000..c4cae823f --- /dev/null +++ b/aegis/src/model/DescribeSecureSuggestionRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeSecureSuggestionRequest; + +DescribeSecureSuggestionRequest::DescribeSecureSuggestionRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSecureSuggestion") +{} + +DescribeSecureSuggestionRequest::~DescribeSecureSuggestionRequest() +{} + +std::string DescribeSecureSuggestionRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSecureSuggestionRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeSecureSuggestionRequest::getLang()const +{ + return lang_; +} + +void DescribeSecureSuggestionRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeSecureSuggestionResult.cc b/aegis/src/model/DescribeSecureSuggestionResult.cc new file mode 100644 index 000000000..08bd49068 --- /dev/null +++ b/aegis/src/model/DescribeSecureSuggestionResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSecureSuggestionResult::DescribeSecureSuggestionResult() : + ServiceResult() +{} + +DescribeSecureSuggestionResult::DescribeSecureSuggestionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSecureSuggestionResult::~DescribeSecureSuggestionResult() +{} + +void DescribeSecureSuggestionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allSuggestions = value["Suggestions"]["Suggestion"]; + for (auto value : allSuggestions) + { + Suggestion suggestionsObject; + if(!value["SuggestType"].isNull()) + suggestionsObject.suggestType = value["SuggestType"].asString(); + if(!value["Points"].isNull()) + suggestionsObject.points = std::stoi(value["Points"].asString()); + auto allDetail = value["Detail"]["DetailItem"]; + for (auto value : allDetail) + { + Suggestion::DetailItem detailObject; + if(!value["Description"].isNull()) + detailObject.description = value["Description"].asString(); + if(!value["SubType"].isNull()) + detailObject.subType = value["SubType"].asString(); + if(!value["Title"].isNull()) + detailObject.title = value["Title"].asString(); + suggestionsObject.detail.push_back(detailObject); + } + suggestions_.push_back(suggestionsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +std::vector DescribeSecureSuggestionResult::getSuggestions()const +{ + return suggestions_; +} + +int DescribeSecureSuggestionResult::getTotalCount()const +{ + return totalCount_; +} + diff --git a/aegis/src/model/DescribeSecurityStatInfoRequest.cc b/aegis/src/model/DescribeSecurityStatInfoRequest.cc new file mode 100644 index 000000000..df5a57222 --- /dev/null +++ b/aegis/src/model/DescribeSecurityStatInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeSecurityStatInfoRequest; + +DescribeSecurityStatInfoRequest::DescribeSecurityStatInfoRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSecurityStatInfo") +{} + +DescribeSecurityStatInfoRequest::~DescribeSecurityStatInfoRequest() +{} + +std::string DescribeSecurityStatInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSecurityStatInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeSecurityStatInfoRequest::getLang()const +{ + return lang_; +} + +void DescribeSecurityStatInfoRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeSecurityStatInfoResult.cc b/aegis/src/model/DescribeSecurityStatInfoResult.cc new file mode 100644 index 000000000..33b3239c5 --- /dev/null +++ b/aegis/src/model/DescribeSecurityStatInfoResult.cc @@ -0,0 +1,162 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSecurityStatInfoResult::DescribeSecurityStatInfoResult() : + ServiceResult() +{} + +DescribeSecurityStatInfoResult::DescribeSecurityStatInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSecurityStatInfoResult::~DescribeSecurityStatInfoResult() +{} + +void DescribeSecurityStatInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto securityEventNode = value["SecurityEvent"]; + if(!securityEventNode["SeriousCount"].isNull()) + securityEvent_.seriousCount = std::stoi(securityEventNode["SeriousCount"].asString()); + if(!securityEventNode["SuspiciousCount"].isNull()) + securityEvent_.suspiciousCount = std::stoi(securityEventNode["SuspiciousCount"].asString()); + if(!securityEventNode["RemindCount"].isNull()) + securityEvent_.remindCount = std::stoi(securityEventNode["RemindCount"].asString()); + if(!securityEventNode["TotalCount"].isNull()) + securityEvent_.totalCount = std::stoi(securityEventNode["TotalCount"].asString()); + auto allDateArray = securityEventNode["DateArray"]["StringItem"]; + for (auto value : allDateArray) + securityEvent_.dateArray.push_back(value.asString()); + auto allValueArray = securityEventNode["ValueArray"]["IntegerItem"]; + for (auto value : allValueArray) + securityEvent_.valueArray.push_back(value.asString()); + auto allLevelsOn = securityEventNode["LevelsOn"]["StringItem"]; + for (auto value : allLevelsOn) + securityEvent_.levelsOn.push_back(value.asString()); + auto allSeriousList = securityEventNode["SeriousList"]["IntegerItem"]; + for (auto value : allSeriousList) + securityEvent_.seriousList.push_back(value.asString()); + auto allSuspiciousList = securityEventNode["SuspiciousList"]["IntegerItem"]; + for (auto value : allSuspiciousList) + securityEvent_.suspiciousList.push_back(value.asString()); + auto allRemindList = securityEventNode["RemindList"]["IntegerItem"]; + for (auto value : allRemindList) + securityEvent_.remindList.push_back(value.asString()); + auto attackEventNode = value["AttackEvent"]; + if(!attackEventNode["TotalCount"].isNull()) + attackEvent_.totalCount = std::stoi(attackEventNode["TotalCount"].asString()); + auto allDateArray1 = attackEventNode["DateArray"]["StringItem"]; + for (auto value : allDateArray1) + attackEvent_.dateArray1.push_back(value.asString()); + auto allValueArray2 = attackEventNode["ValueArray"]["IntegerItem"]; + for (auto value : allValueArray2) + attackEvent_.valueArray2.push_back(value.asString()); + auto healthCheckNode = value["HealthCheck"]; + if(!healthCheckNode["MediumCount"].isNull()) + healthCheck_.mediumCount = std::stoi(healthCheckNode["MediumCount"].asString()); + if(!healthCheckNode["HighCount"].isNull()) + healthCheck_.highCount = std::stoi(healthCheckNode["HighCount"].asString()); + if(!healthCheckNode["LowCount"].isNull()) + healthCheck_.lowCount = std::stoi(healthCheckNode["LowCount"].asString()); + if(!healthCheckNode["TotalCount"].isNull()) + healthCheck_.totalCount = std::stoi(healthCheckNode["TotalCount"].asString()); + auto allDateArray3 = healthCheckNode["DateArray"]["StringItem"]; + for (auto value : allDateArray3) + healthCheck_.dateArray3.push_back(value.asString()); + auto allValueArray4 = healthCheckNode["ValueArray"]["IntegerItem"]; + for (auto value : allValueArray4) + healthCheck_.valueArray4.push_back(value.asString()); + auto allLevelsOn5 = healthCheckNode["LevelsOn"]["StringItem"]; + for (auto value : allLevelsOn5) + healthCheck_.levelsOn5.push_back(value.asString()); + auto allHighList = healthCheckNode["HighList"]["IntegerItem"]; + for (auto value : allHighList) + healthCheck_.highList.push_back(value.asString()); + auto allMediumList = healthCheckNode["MediumList"]["IntegerItem"]; + for (auto value : allMediumList) + healthCheck_.mediumList.push_back(value.asString()); + auto allLowList = healthCheckNode["LowList"]["IntegerItem"]; + for (auto value : allLowList) + healthCheck_.lowList.push_back(value.asString()); + auto vulnerabilityNode = value["Vulnerability"]; + if(!vulnerabilityNode["NntfCount"].isNull()) + vulnerability_.nntfCount = std::stoi(vulnerabilityNode["NntfCount"].asString()); + if(!vulnerabilityNode["LaterCount"].isNull()) + vulnerability_.laterCount = std::stoi(vulnerabilityNode["LaterCount"].asString()); + if(!vulnerabilityNode["AsapCount"].isNull()) + vulnerability_.asapCount = std::stoi(vulnerabilityNode["AsapCount"].asString()); + if(!vulnerabilityNode["TotalCount"].isNull()) + vulnerability_.totalCount = std::stoi(vulnerabilityNode["TotalCount"].asString()); + auto allDateArray6 = vulnerabilityNode["DateArray"]["StringItem"]; + for (auto value : allDateArray6) + vulnerability_.dateArray6.push_back(value.asString()); + auto allValueArray7 = vulnerabilityNode["ValueArray"]["IntegerItem"]; + for (auto value : allValueArray7) + vulnerability_.valueArray7.push_back(value.asString()); + auto allLevelsOn8 = vulnerabilityNode["LevelsOn"]["StringItem"]; + for (auto value : allLevelsOn8) + vulnerability_.levelsOn8.push_back(value.asString()); + auto allNntfList = vulnerabilityNode["NntfList"]["IntegerItem"]; + for (auto value : allNntfList) + vulnerability_.nntfList.push_back(value.asString()); + auto allAsapList = vulnerabilityNode["AsapList"]["IntegerItem"]; + for (auto value : allAsapList) + vulnerability_.asapList.push_back(value.asString()); + auto allLaterList = vulnerabilityNode["LaterList"]["IntegerItem"]; + for (auto value : allLaterList) + vulnerability_.laterList.push_back(value.asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +DescribeSecurityStatInfoResult::SecurityEvent DescribeSecurityStatInfoResult::getSecurityEvent()const +{ + return securityEvent_; +} + +DescribeSecurityStatInfoResult::HealthCheck DescribeSecurityStatInfoResult::getHealthCheck()const +{ + return healthCheck_; +} + +DescribeSecurityStatInfoResult::Vulnerability DescribeSecurityStatInfoResult::getVulnerability()const +{ + return vulnerability_; +} + +DescribeSecurityStatInfoResult::AttackEvent DescribeSecurityStatInfoResult::getAttackEvent()const +{ + return attackEvent_; +} + +bool DescribeSecurityStatInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/DescribeSlsProjectRequest.cc b/aegis/src/model/DescribeSlsProjectRequest.cc new file mode 100644 index 000000000..c20f20e50 --- /dev/null +++ b/aegis/src/model/DescribeSlsProjectRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeSlsProjectRequest; + +DescribeSlsProjectRequest::DescribeSlsProjectRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSlsProject") +{} + +DescribeSlsProjectRequest::~DescribeSlsProjectRequest() +{} + +std::string DescribeSlsProjectRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSlsProjectRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeSlsProjectRequest::getRegionNo()const +{ + return regionNo_; +} + +void DescribeSlsProjectRequest::setRegionNo(const std::string& regionNo) +{ + regionNo_ = regionNo; + setCoreParameter("RegionNo", regionNo); +} + diff --git a/aegis/src/model/DescribeSlsProjectResult.cc b/aegis/src/model/DescribeSlsProjectResult.cc new file mode 100644 index 000000000..b84630ea5 --- /dev/null +++ b/aegis/src/model/DescribeSlsProjectResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSlsProjectResult::DescribeSlsProjectResult() : + ServiceResult() +{} + +DescribeSlsProjectResult::DescribeSlsProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSlsProjectResult::~DescribeSlsProjectResult() +{} + +void DescribeSlsProjectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allSlsProjectData = value["SlsProjectData"]["SlsProjectDataItem"]; + for (auto value : allSlsProjectData) + { + SlsProjectDataItem slsProjectDataObject; + if(!value["Project"].isNull()) + slsProjectDataObject.project = value["Project"].asString(); + auto allLogStore = value["LogStore"]["StringItem"]; + for (auto value : allLogStore) + slsProjectDataObject.logStore.push_back(value.asString()); + slsProjectData_.push_back(slsProjectDataObject); + } + +} + +std::vector DescribeSlsProjectResult::getSlsProjectData()const +{ + return slsProjectData_; +} + diff --git a/aegis/src/model/DescribeStatisticsRequest.cc b/aegis/src/model/DescribeStatisticsRequest.cc new file mode 100644 index 000000000..bb039cd0e --- /dev/null +++ b/aegis/src/model/DescribeStatisticsRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeStatisticsRequest; + +DescribeStatisticsRequest::DescribeStatisticsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeStatistics") +{} + +DescribeStatisticsRequest::~DescribeStatisticsRequest() +{} + +std::string DescribeStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeStatisticsResult.cc b/aegis/src/model/DescribeStatisticsResult.cc new file mode 100644 index 000000000..abd1b6319 --- /dev/null +++ b/aegis/src/model/DescribeStatisticsResult.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeStatisticsResult::DescribeStatisticsResult() : + ServiceResult() +{} + +DescribeStatisticsResult::DescribeStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeStatisticsResult::~DescribeStatisticsResult() +{} + +void DescribeStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto statisticsNode = value["Statistics"]; + if(!statisticsNode["VulAsapSum"].isNull()) + statistics_.vulAsapSum = std::stoi(statisticsNode["VulAsapSum"].asString()); + if(!statisticsNode["VulNntfSum"].isNull()) + statistics_.vulNntfSum = std::stoi(statisticsNode["VulNntfSum"].asString()); + if(!statisticsNode["HealthTotal"].isNull()) + statistics_.healthTotal = std::stoi(statisticsNode["HealthTotal"].asString()); + if(!statisticsNode["SuspiciousmediumTotal"].isNull()) + statistics_.suspiciousmediumTotal = std::stoi(statisticsNode["SuspiciousmediumTotal"].asString()); + if(!statisticsNode["Health"].isNull()) + statistics_.health = std::stoi(statisticsNode["Health"].asString()); + if(!statisticsNode["HealthdealedTotal"].isNull()) + statistics_.healthdealedTotal = std::stoi(statisticsNode["HealthdealedTotal"].asString()); + if(!statisticsNode["Trojan"].isNull()) + statistics_.trojan = std::stoi(statisticsNode["Trojan"].asString()); + if(!statisticsNode["VulLaterSum"].isNull()) + statistics_.vulLaterSum = std::stoi(statisticsNode["VulLaterSum"].asString()); + if(!statisticsNode["Suspicious"].isNull()) + statistics_.suspicious = std::stoi(statisticsNode["Suspicious"].asString()); + if(!statisticsNode["Vul"].isNull()) + statistics_.vul = std::stoi(statisticsNode["Vul"].asString()); + if(!statisticsNode["HealthhighTotal"].isNull()) + statistics_.healthhighTotal = std::stoi(statisticsNode["HealthhighTotal"].asString()); + if(!statisticsNode["HealthlowTotal"].isNull()) + statistics_.healthlowTotal = std::stoi(statisticsNode["HealthlowTotal"].asString()); + if(!statisticsNode["HealthseriousTotal"].isNull()) + statistics_.healthseriousTotal = std::stoi(statisticsNode["HealthseriousTotal"].asString()); + if(!statisticsNode["VulDealedTotal"].isNull()) + statistics_.vulDealedTotal = std::stoi(statisticsNode["VulDealedTotal"].asString()); + if(!statisticsNode["Patch"].isNull()) + statistics_.patch = std::stoi(statisticsNode["Patch"].asString()); + if(!statisticsNode["SuspicioushighTotal"].isNull()) + statistics_.suspicioushighTotal = std::stoi(statisticsNode["SuspicioushighTotal"].asString()); + if(!statisticsNode["SuspiciouslowTotal"].isNull()) + statistics_.suspiciouslowTotal = std::stoi(statisticsNode["SuspiciouslowTotal"].asString()); + if(!statisticsNode["SuspiciousTotal"].isNull()) + statistics_.suspiciousTotal = std::stoi(statisticsNode["SuspiciousTotal"].asString()); + if(!statisticsNode["VulTotal"].isNull()) + statistics_.vulTotal = std::stoi(statisticsNode["VulTotal"].asString()); + if(!statisticsNode["SuspiciousseriousTotal"].isNull()) + statistics_.suspiciousseriousTotal = std::stoi(statisticsNode["SuspiciousseriousTotal"].asString()); + if(!statisticsNode["HealthmediumTotal"].isNull()) + statistics_.healthmediumTotal = std::stoi(statisticsNode["HealthmediumTotal"].asString()); + if(!statisticsNode["Online"].isNull()) + statistics_.online = statisticsNode["Online"].asString() == "true"; + if(!statisticsNode["SuspiciousdealedTotal"].isNull()) + statistics_.suspiciousdealedTotal = std::stoi(statisticsNode["SuspiciousdealedTotal"].asString()); + if(!statisticsNode["Account"].isNull()) + statistics_.account = std::stoi(statisticsNode["Account"].asString()); + +} + +DescribeStatisticsResult::Statistics DescribeStatisticsResult::getStatistics()const +{ + return statistics_; +} + diff --git a/aegis/src/model/DescribeStrategyExecDetailRequest.cc b/aegis/src/model/DescribeStrategyExecDetailRequest.cc new file mode 100644 index 000000000..ca7c4a2a1 --- /dev/null +++ b/aegis/src/model/DescribeStrategyExecDetailRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeStrategyExecDetailRequest; + +DescribeStrategyExecDetailRequest::DescribeStrategyExecDetailRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeStrategyExecDetail") +{} + +DescribeStrategyExecDetailRequest::~DescribeStrategyExecDetailRequest() +{} + +std::string DescribeStrategyExecDetailRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeStrategyExecDetailRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeStrategyExecDetailRequest::getStrategyId()const +{ + return strategyId_; +} + +void DescribeStrategyExecDetailRequest::setStrategyId(int strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); +} + diff --git a/aegis/src/model/DescribeStrategyExecDetailResult.cc b/aegis/src/model/DescribeStrategyExecDetailResult.cc new file mode 100644 index 000000000..57c21d0f2 --- /dev/null +++ b/aegis/src/model/DescribeStrategyExecDetailResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeStrategyExecDetailResult::DescribeStrategyExecDetailResult() : + ServiceResult() +{} + +DescribeStrategyExecDetailResult::DescribeStrategyExecDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeStrategyExecDetailResult::~DescribeStrategyExecDetailResult() +{} + +void DescribeStrategyExecDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allFailedEcsList = value["FailedEcsList"]["FailedEcs"]; + for (auto value : allFailedEcsList) + { + FailedEcs failedEcsListObject; + if(!value["Reason"].isNull()) + failedEcsListObject.reason = value["Reason"].asString(); + if(!value["InstanceName"].isNull()) + failedEcsListObject.instanceName = value["InstanceName"].asString(); + if(!value["IP"].isNull()) + failedEcsListObject.iP = value["IP"].asString(); + if(!value["IntranetIp"].isNull()) + failedEcsListObject.intranetIp = value["IntranetIp"].asString(); + failedEcsList_.push_back(failedEcsListObject); + } + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["Source"].isNull()) + source_ = value["Source"].asString(); + if(!value["Percent"].isNull()) + percent_ = value["Percent"].asString(); + if(!value["SuccessCount"].isNull()) + successCount_ = std::stoi(value["SuccessCount"].asString()); + if(!value["FailCount"].isNull()) + failCount_ = std::stoi(value["FailCount"].asString()); + if(!value["InProcessCount"].isNull()) + inProcessCount_ = std::stoi(value["InProcessCount"].asString()); + +} + +std::string DescribeStrategyExecDetailResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeStrategyExecDetailResult::getPercent()const +{ + return percent_; +} + +int DescribeStrategyExecDetailResult::getFailCount()const +{ + return failCount_; +} + +std::string DescribeStrategyExecDetailResult::getStartTime()const +{ + return startTime_; +} + +int DescribeStrategyExecDetailResult::getSuccessCount()const +{ + return successCount_; +} + +std::vector DescribeStrategyExecDetailResult::getFailedEcsList()const +{ + return failedEcsList_; +} + +std::string DescribeStrategyExecDetailResult::getSource()const +{ + return source_; +} + +int DescribeStrategyExecDetailResult::getInProcessCount()const +{ + return inProcessCount_; +} + diff --git a/aegis/src/model/DescribeStrategyProcessRequest.cc b/aegis/src/model/DescribeStrategyProcessRequest.cc new file mode 100644 index 000000000..499eb493c --- /dev/null +++ b/aegis/src/model/DescribeStrategyProcessRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeStrategyProcessRequest; + +DescribeStrategyProcessRequest::DescribeStrategyProcessRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeStrategyProcess") +{} + +DescribeStrategyProcessRequest::~DescribeStrategyProcessRequest() +{} + +std::string DescribeStrategyProcessRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeStrategyProcessRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DescribeStrategyProcessRequest::getStrategyId()const +{ + return strategyId_; +} + +void DescribeStrategyProcessRequest::setStrategyId(long strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); +} + diff --git a/aegis/src/model/DescribeStrategyProcessResult.cc b/aegis/src/model/DescribeStrategyProcessResult.cc new file mode 100644 index 000000000..c51a131dc --- /dev/null +++ b/aegis/src/model/DescribeStrategyProcessResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeStrategyProcessResult::DescribeStrategyProcessResult() : + ServiceResult() +{} + +DescribeStrategyProcessResult::DescribeStrategyProcessResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeStrategyProcessResult::~DescribeStrategyProcessResult() +{} + +void DescribeStrategyProcessResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["StrategyId"].isNull()) + strategyId_ = std::stol(value["StrategyId"].asString()); + if(!value["ProcessRate"].isNull()) + processRate_ = std::stoi(value["ProcessRate"].asString()); + if(!value["ExecStatus"].isNull()) + execStatus_ = std::stoi(value["ExecStatus"].asString()); + if(!value["PassRate"].isNull()) + passRate_ = value["PassRate"].asString(); + +} + +int DescribeStrategyProcessResult::getExecStatus()const +{ + return execStatus_; +} + +std::string DescribeStrategyProcessResult::getPassRate()const +{ + return passRate_; +} + +int DescribeStrategyProcessResult::getProcessRate()const +{ + return processRate_; +} + +long DescribeStrategyProcessResult::getStrategyId()const +{ + return strategyId_; +} + diff --git a/aegis/src/model/DescribeStrategyTargetRequest.cc b/aegis/src/model/DescribeStrategyTargetRequest.cc index e15525aff..481ae275d 100644 --- a/aegis/src/model/DescribeStrategyTargetRequest.cc +++ b/aegis/src/model/DescribeStrategyTargetRequest.cc @@ -25,17 +25,6 @@ DescribeStrategyTargetRequest::DescribeStrategyTargetRequest() : DescribeStrategyTargetRequest::~DescribeStrategyTargetRequest() {} -long DescribeStrategyTargetRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeStrategyTargetRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - std::string DescribeStrategyTargetRequest::getSourceIp()const { return sourceIp_; @@ -44,7 +33,7 @@ std::string DescribeStrategyTargetRequest::getSourceIp()const void DescribeStrategyTargetRequest::setSourceIp(const std::string& sourceIp) { sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); + setCoreParameter("SourceIp", sourceIp); } std::string DescribeStrategyTargetRequest::getType()const @@ -55,7 +44,7 @@ std::string DescribeStrategyTargetRequest::getType()const void DescribeStrategyTargetRequest::setType(const std::string& type) { type_ = type; - setParameter("Type", type); + setCoreParameter("Type", type); } std::string DescribeStrategyTargetRequest::getConfig()const @@ -66,17 +55,6 @@ std::string DescribeStrategyTargetRequest::getConfig()const void DescribeStrategyTargetRequest::setConfig(const std::string& config) { config_ = config; - setParameter("Config", config); -} - -std::string DescribeStrategyTargetRequest::getTarget()const -{ - return target_; -} - -void DescribeStrategyTargetRequest::setTarget(const std::string& target) -{ - target_ = target; - setParameter("Target", target); + setCoreParameter("Config", config); } diff --git a/aegis/src/model/DescribeStrategyTargetResult.cc b/aegis/src/model/DescribeStrategyTargetResult.cc index b39e51cdf..bff3f52e1 100644 --- a/aegis/src/model/DescribeStrategyTargetResult.cc +++ b/aegis/src/model/DescribeStrategyTargetResult.cc @@ -40,30 +40,23 @@ void DescribeStrategyTargetResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allStrategyTargets = value["StrategyTargets"]["StringItem"]; - for (auto value : allStrategyTargets) - { - StringItem strategyTargetsObject; - if(!value["Flag"].isNull()) - strategyTargetsObject.flag = value["Flag"].asString(); - if(!value["Target"].isNull()) - strategyTargetsObject.target = value["Target"].asString(); - if(!value["TargetType"].isNull()) - strategyTargetsObject.targetType = value["TargetType"].asString(); - strategyTargets_.push_back(strategyTargetsObject); - } - if(!value["Count"].isNull()) - count_ = std::stoi(value["Count"].asString()); + auto allStrategyTargets = value["StrategyTargets"]["StrategyTarget"]; + for (auto value : allStrategyTargets) + { + StrategyTarget strategyTargetsObject; + if(!value["Flag"].isNull()) + strategyTargetsObject.flag = value["Flag"].asString(); + if(!value["Target"].isNull()) + strategyTargetsObject.target = value["Target"].asString(); + if(!value["TargetType"].isNull()) + strategyTargetsObject.targetType = value["TargetType"].asString(); + strategyTargets_.push_back(strategyTargetsObject); + } } -std::vector DescribeStrategyTargetResult::getStrategyTargets()const -{ - return strategyTargets_; -} - -int DescribeStrategyTargetResult::getCount()const -{ - return count_; -} - +std::vector DescribeStrategyTargetResult::getStrategyTargets()const +{ + return strategyTargets_; +} + diff --git a/aegis/src/model/DescribeStratetyDetailRequest.cc b/aegis/src/model/DescribeStratetyDetailRequest.cc index fe4dc09f6..93de53a46 100644 --- a/aegis/src/model/DescribeStratetyDetailRequest.cc +++ b/aegis/src/model/DescribeStratetyDetailRequest.cc @@ -25,17 +25,6 @@ DescribeStratetyDetailRequest::DescribeStratetyDetailRequest() : DescribeStratetyDetailRequest::~DescribeStratetyDetailRequest() {} -long DescribeStratetyDetailRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeStratetyDetailRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - std::string DescribeStratetyDetailRequest::getSourceIp()const { return sourceIp_; @@ -44,7 +33,7 @@ std::string DescribeStratetyDetailRequest::getSourceIp()const void DescribeStratetyDetailRequest::setSourceIp(const std::string& sourceIp) { sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); + setCoreParameter("SourceIp", sourceIp); } std::string DescribeStratetyDetailRequest::getId()const @@ -55,6 +44,17 @@ std::string DescribeStratetyDetailRequest::getId()const void DescribeStratetyDetailRequest::setId(const std::string& id) { id_ = id; - setParameter("Id", id); + setCoreParameter("Id", id); +} + +std::string DescribeStratetyDetailRequest::getLang()const +{ + return lang_; +} + +void DescribeStratetyDetailRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); } diff --git a/aegis/src/model/DescribeStratetyDetailResult.cc b/aegis/src/model/DescribeStratetyDetailResult.cc index a8eb1d0f5..0d1955c37 100644 --- a/aegis/src/model/DescribeStratetyDetailResult.cc +++ b/aegis/src/model/DescribeStratetyDetailResult.cc @@ -40,51 +40,46 @@ void DescribeStratetyDetailResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allStrategy = value["Strategy"]; - for (auto value : allStrategy) - { - Strategy strategyObject; - if(!value["CycleDays"].isNull()) - strategyObject.cycleDays = std::stoi(value["CycleDays"].asString()); - if(!value["Name"].isNull()) - strategyObject.name = value["Name"].asString(); - if(!value["Id"].isNull()) - strategyObject.id = std::stoi(value["Id"].asString()); - if(!value["CycleStartTime"].isNull()) - strategyObject.cycleStartTime = std::stoi(value["CycleStartTime"].asString()); - if(!value["Type"].isNull()) - strategyObject.type = std::stoi(value["Type"].asString()); - auto allRiskTypeWhiteListQueryResultList = value["RiskTypeWhiteListQueryResultList"]["RiskTypeWhiteListQueryResult"]; - for (auto value : allRiskTypeWhiteListQueryResultList) - { - Strategy::RiskTypeWhiteListQueryResult riskTypeWhiteListQueryResultObject; - if(!value["TypeName"].isNull()) - riskTypeWhiteListQueryResultObject.typeName = value["TypeName"].asString(); - if(!value["Alias"].isNull()) - riskTypeWhiteListQueryResultObject.alias = value["Alias"].asString(); - if(!value["On"].isNull()) - riskTypeWhiteListQueryResultObject.on = value["On"].asString() == "true"; - auto allSubTypes = value["SubTypes"]["SubTyp"]; - for (auto value : allSubTypes) - { - Strategy::RiskTypeWhiteListQueryResult::SubTyp subTypesObject; - if(!value["TypeName"].isNull()) - subTypesObject.typeName = value["TypeName"].asString(); - if(!value["Alias"].isNull()) - subTypesObject.alias = value["Alias"].asString(); - if(!value["On"].isNull()) - subTypesObject.on = value["On"].asString() == "true"; - riskTypeWhiteListQueryResultObject.subTypes.push_back(subTypesObject); - } - strategyObject.riskTypeWhiteListQueryResultList.push_back(riskTypeWhiteListQueryResultObject); - } - strategy_.push_back(strategyObject); - } + auto strategyNode = value["Strategy"]; + if(!strategyNode["CycleDays"].isNull()) + strategy_.cycleDays = std::stoi(strategyNode["CycleDays"].asString()); + if(!strategyNode["Name"].isNull()) + strategy_.name = strategyNode["Name"].asString(); + if(!strategyNode["Id"].isNull()) + strategy_.id = std::stoi(strategyNode["Id"].asString()); + if(!strategyNode["CycleStartTime"].isNull()) + strategy_.cycleStartTime = std::stoi(strategyNode["CycleStartTime"].asString()); + if(!strategyNode["Type"].isNull()) + strategy_.type = std::stoi(strategyNode["Type"].asString()); + auto allRiskTypeWhiteListQueryResultList = value["RiskTypeWhiteListQueryResultList"]["RiskTypeWhiteListQueryResult"]; + for (auto value : allRiskTypeWhiteListQueryResultList) + { + Strategy::RiskTypeWhiteListQueryResult riskTypeWhiteListQueryResultObject; + if(!value["TypeName"].isNull()) + riskTypeWhiteListQueryResultObject.typeName = value["TypeName"].asString(); + if(!value["Alias"].isNull()) + riskTypeWhiteListQueryResultObject.alias = value["Alias"].asString(); + if(!value["On"].isNull()) + riskTypeWhiteListQueryResultObject.on = value["On"].asString() == "true"; + auto allSubTypes = value["SubTypes"]["SubType"]; + for (auto value : allSubTypes) + { + Strategy::RiskTypeWhiteListQueryResult::SubType subTypesObject; + if(!value["TypeName"].isNull()) + subTypesObject.typeName = value["TypeName"].asString(); + if(!value["Alias"].isNull()) + subTypesObject.alias = value["Alias"].asString(); + if(!value["On"].isNull()) + subTypesObject.on = value["On"].asString() == "true"; + riskTypeWhiteListQueryResultObject.subTypes.push_back(subTypesObject); + } + strategy_.riskTypeWhiteListQueryResultList.push_back(riskTypeWhiteListQueryResultObject); + } } -std::vector DescribeStratetyDetailResult::getStrategy()const -{ - return strategy_; -} - +DescribeStratetyDetailResult::Strategy DescribeStratetyDetailResult::getStrategy()const +{ + return strategy_; +} + diff --git a/aegis/src/model/DescribeStratetyRequest.cc b/aegis/src/model/DescribeStratetyRequest.cc index 43c276d0a..759e7de49 100644 --- a/aegis/src/model/DescribeStratetyRequest.cc +++ b/aegis/src/model/DescribeStratetyRequest.cc @@ -25,17 +25,6 @@ DescribeStratetyRequest::DescribeStratetyRequest() : DescribeStratetyRequest::~DescribeStratetyRequest() {} -long DescribeStratetyRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeStratetyRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - std::string DescribeStratetyRequest::getSourceIp()const { return sourceIp_; @@ -44,6 +33,28 @@ std::string DescribeStratetyRequest::getSourceIp()const void DescribeStratetyRequest::setSourceIp(const std::string& sourceIp) { sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeStratetyRequest::getStrategyIds()const +{ + return strategyIds_; +} + +void DescribeStratetyRequest::setStrategyIds(const std::string& strategyIds) +{ + strategyIds_ = strategyIds; + setCoreParameter("StrategyIds", strategyIds); +} + +std::string DescribeStratetyRequest::getLang()const +{ + return lang_; +} + +void DescribeStratetyRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); } diff --git a/aegis/src/model/DescribeStratetyResult.cc b/aegis/src/model/DescribeStratetyResult.cc index 182e23bd5..b2a95075e 100644 --- a/aegis/src/model/DescribeStratetyResult.cc +++ b/aegis/src/model/DescribeStratetyResult.cc @@ -40,50 +40,49 @@ void DescribeStratetyResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allStrategies = value["Strategies"]["Data"]; - for (auto value : allStrategies) - { - Data strategiesObject; - if(!value["CycleDays"].isNull()) - strategiesObject.cycleDays = std::stoi(value["CycleDays"].asString()); - if(!value["Id"].isNull()) - strategiesObject.id = std::stoi(value["Id"].asString()); - if(!value["CycleStartTime"].isNull()) - strategiesObject.cycleStartTime = std::stoi(value["CycleStartTime"].asString()); - if(!value["Type"].isNull()) - strategiesObject.type = std::stoi(value["Type"].asString()); - if(!value["Name"].isNull()) - strategiesObject.name = value["Name"].asString(); - if(!value["RiskCount"].isNull()) - strategiesObject.riskCount = std::stoi(value["RiskCount"].asString()); - if(!value["EcsCount"].isNull()) - strategiesObject.ecsCount = std::stoi(value["EcsCount"].asString()); - auto allConfigTargets = value["ConfigTargets"]["ConfigTarget"]; - for (auto value : allConfigTargets) - { - Data::ConfigTarget configTargetsObject; - if(!value["Flag"].isNull()) - configTargetsObject.flag = value["Flag"].asString(); - if(!value["TargetType"].isNull()) - configTargetsObject.targetType = value["TargetType"].asString(); - if(!value["Target"].isNull()) - configTargetsObject.target = value["Target"].asString(); - strategiesObject.configTargets.push_back(configTargetsObject); - } - strategies_.push_back(strategiesObject); - } - if(!value["Count"].isNull()) - count_ = std::stoi(value["Count"].asString()); + auto allStrategies = value["Strategies"]["Strategy"]; + for (auto value : allStrategies) + { + Strategy strategiesObject; + if(!value["CycleDays"].isNull()) + strategiesObject.cycleDays = std::stoi(value["CycleDays"].asString()); + if(!value["Id"].isNull()) + strategiesObject.id = std::stoi(value["Id"].asString()); + if(!value["CycleStartTime"].isNull()) + strategiesObject.cycleStartTime = std::stoi(value["CycleStartTime"].asString()); + if(!value["Type"].isNull()) + strategiesObject.type = std::stoi(value["Type"].asString()); + if(!value["Name"].isNull()) + strategiesObject.name = value["Name"].asString(); + if(!value["RiskCount"].isNull()) + strategiesObject.riskCount = std::stoi(value["RiskCount"].asString()); + if(!value["EcsCount"].isNull()) + strategiesObject.ecsCount = std::stoi(value["EcsCount"].asString()); + if(!value["ExecStatus"].isNull()) + strategiesObject.execStatus = std::stoi(value["ExecStatus"].asString()); + if(!value["ProcessRate"].isNull()) + strategiesObject.processRate = std::stoi(value["ProcessRate"].asString()); + if(!value["PassRate"].isNull()) + strategiesObject.passRate = std::stoi(value["PassRate"].asString()); + auto allConfigTargets = value["ConfigTargets"]["ConfigTarget"]; + for (auto value : allConfigTargets) + { + Strategy::ConfigTarget configTargetsObject; + if(!value["Flag"].isNull()) + configTargetsObject.flag = value["Flag"].asString(); + if(!value["TargetType"].isNull()) + configTargetsObject.targetType = value["TargetType"].asString(); + if(!value["Target"].isNull()) + configTargetsObject.target = value["Target"].asString(); + strategiesObject.configTargets.push_back(configTargetsObject); + } + strategies_.push_back(strategiesObject); + } } -std::vector DescribeStratetyResult::getStrategies()const -{ - return strategies_; -} - -int DescribeStratetyResult::getCount()const -{ - return count_; -} - +std::vector DescribeStratetyResult::getStrategies()const +{ + return strategies_; +} + diff --git a/aegis/src/model/DescribeSummaryInfoRequest.cc b/aegis/src/model/DescribeSummaryInfoRequest.cc new file mode 100644 index 000000000..1a46b3a99 --- /dev/null +++ b/aegis/src/model/DescribeSummaryInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeSummaryInfoRequest; + +DescribeSummaryInfoRequest::DescribeSummaryInfoRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSummaryInfo") +{} + +DescribeSummaryInfoRequest::~DescribeSummaryInfoRequest() +{} + +std::string DescribeSummaryInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSummaryInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeSummaryInfoRequest::getLang()const +{ + return lang_; +} + +void DescribeSummaryInfoRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeSummaryInfoResult.cc b/aegis/src/model/DescribeSummaryInfoResult.cc new file mode 100644 index 000000000..bb046429b --- /dev/null +++ b/aegis/src/model/DescribeSummaryInfoResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSummaryInfoResult::DescribeSummaryInfoResult() : + ServiceResult() +{} + +DescribeSummaryInfoResult::DescribeSummaryInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSummaryInfoResult::~DescribeSummaryInfoResult() +{} + +void DescribeSummaryInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["AegisClientOfflineCount"].isNull()) + aegisClientOfflineCount_ = std::stoi(value["AegisClientOfflineCount"].asString()); + if(!value["SecurityScore"].isNull()) + securityScore_ = std::stoi(value["SecurityScore"].asString()); + if(!value["AegisClientOnlineCount"].isNull()) + aegisClientOnlineCount_ = std::stoi(value["AegisClientOnlineCount"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +int DescribeSummaryInfoResult::getAegisClientOnlineCount()const +{ + return aegisClientOnlineCount_; +} + +int DescribeSummaryInfoResult::getAegisClientOfflineCount()const +{ + return aegisClientOfflineCount_; +} + +int DescribeSummaryInfoResult::getSecurityScore()const +{ + return securityScore_; +} + +bool DescribeSummaryInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/DescribeSuspEventDetailRequest.cc b/aegis/src/model/DescribeSuspEventDetailRequest.cc new file mode 100644 index 000000000..9c4c898c3 --- /dev/null +++ b/aegis/src/model/DescribeSuspEventDetailRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeSuspEventDetailRequest; + +DescribeSuspEventDetailRequest::DescribeSuspEventDetailRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSuspEventDetail") +{} + +DescribeSuspEventDetailRequest::~DescribeSuspEventDetailRequest() +{} + +int DescribeSuspEventDetailRequest::getSuspiciousEventId()const +{ + return suspiciousEventId_; +} + +void DescribeSuspEventDetailRequest::setSuspiciousEventId(int suspiciousEventId) +{ + suspiciousEventId_ = suspiciousEventId; + setCoreParameter("SuspiciousEventId", std::to_string(suspiciousEventId)); +} + +std::string DescribeSuspEventDetailRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSuspEventDetailRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeSuspEventDetailRequest::getFrom()const +{ + return from_; +} + +void DescribeSuspEventDetailRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string DescribeSuspEventDetailRequest::getLang()const +{ + return lang_; +} + +void DescribeSuspEventDetailRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeSuspEventDetailResult.cc b/aegis/src/model/DescribeSuspEventDetailResult.cc new file mode 100644 index 000000000..29e79a636 --- /dev/null +++ b/aegis/src/model/DescribeSuspEventDetailResult.cc @@ -0,0 +1,183 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSuspEventDetailResult::DescribeSuspEventDetailResult() : + ServiceResult() +{} + +DescribeSuspEventDetailResult::DescribeSuspEventDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSuspEventDetailResult::~DescribeSuspEventDetailResult() +{} + +void DescribeSuspEventDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDetails = value["Details"]["QuaraFile"]; + for (auto value : allDetails) + { + QuaraFile detailsObject; + if(!value["Name"].isNull()) + detailsObject.name = value["Name"].asString(); + if(!value["Type"].isNull()) + detailsObject.type = value["Type"].asString(); + if(!value["InfoType"].isNull()) + detailsObject.infoType = value["InfoType"].asString(); + if(!value["Value"].isNull()) + detailsObject.value = value["Value"].asString(); + details_.push_back(detailsObject); + } + if(!value["LastTime"].isNull()) + lastTime_ = value["LastTime"].asString(); + if(!value["Id"].isNull()) + id_ = std::stoi(value["Id"].asString()); + if(!value["InstanceName"].isNull()) + instanceName_ = value["InstanceName"].asString(); + if(!value["InternetIp"].isNull()) + internetIp_ = value["InternetIp"].asString(); + if(!value["IntranetIp"].isNull()) + intranetIp_ = value["IntranetIp"].asString(); + if(!value["Uuid"].isNull()) + uuid_ = value["Uuid"].asString(); + if(!value["EventDesc"].isNull()) + eventDesc_ = value["EventDesc"].asString(); + if(!value["EventTypeDesc"].isNull()) + eventTypeDesc_ = value["EventTypeDesc"].asString(); + if(!value["Level"].isNull()) + level_ = value["Level"].asString(); + if(!value["EventStatus"].isNull()) + eventStatus_ = value["EventStatus"].asString(); + if(!value["SaleVersion"].isNull()) + saleVersion_ = value["SaleVersion"].asString(); + if(!value["DataSource"].isNull()) + dataSource_ = value["DataSource"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["OperateMsg"].isNull()) + operateMsg_ = value["OperateMsg"].asString(); + if(!value["SasId"].isNull()) + sasId_ = value["SasId"].asString(); + if(!value["EventName"].isNull()) + eventName_ = value["EventName"].asString(); + if(!value["CanBeDealOnLine"].isNull()) + canBeDealOnLine_ = value["CanBeDealOnLine"].asString() == "true"; + +} + +std::string DescribeSuspEventDetailResult::getEventDesc()const +{ + return eventDesc_; +} + +std::string DescribeSuspEventDetailResult::getEventTypeDesc()const +{ + return eventTypeDesc_; +} + +std::string DescribeSuspEventDetailResult::getEventStatus()const +{ + return eventStatus_; +} + +std::string DescribeSuspEventDetailResult::getEventName()const +{ + return eventName_; +} + +std::string DescribeSuspEventDetailResult::getSaleVersion()const +{ + return saleVersion_; +} + +std::string DescribeSuspEventDetailResult::getIntranetIp()const +{ + return intranetIp_; +} + +std::string DescribeSuspEventDetailResult::getDataSource()const +{ + return dataSource_; +} + +std::string DescribeSuspEventDetailResult::getInstanceName()const +{ + return instanceName_; +} + +std::string DescribeSuspEventDetailResult::getType()const +{ + return type_; +} + +std::string DescribeSuspEventDetailResult::getOperateMsg()const +{ + return operateMsg_; +} + +bool DescribeSuspEventDetailResult::getCanBeDealOnLine()const +{ + return canBeDealOnLine_; +} + +std::vector DescribeSuspEventDetailResult::getDetails()const +{ + return details_; +} + +std::string DescribeSuspEventDetailResult::getUuid()const +{ + return uuid_; +} + +std::string DescribeSuspEventDetailResult::getInternetIp()const +{ + return internetIp_; +} + +std::string DescribeSuspEventDetailResult::getLevel()const +{ + return level_; +} + +int DescribeSuspEventDetailResult::getId()const +{ + return id_; +} + +std::string DescribeSuspEventDetailResult::getLastTime()const +{ + return lastTime_; +} + +std::string DescribeSuspEventDetailResult::getSasId()const +{ + return sasId_; +} + diff --git a/aegis/src/model/DescribeSuspEventExportInfoRequest.cc b/aegis/src/model/DescribeSuspEventExportInfoRequest.cc new file mode 100644 index 000000000..6271cea96 --- /dev/null +++ b/aegis/src/model/DescribeSuspEventExportInfoRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeSuspEventExportInfoRequest; + +DescribeSuspEventExportInfoRequest::DescribeSuspEventExportInfoRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSuspEventExportInfo") +{} + +DescribeSuspEventExportInfoRequest::~DescribeSuspEventExportInfoRequest() +{} + +std::string DescribeSuspEventExportInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSuspEventExportInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeSuspEventExportInfoRequest::getFrom()const +{ + return from_; +} + +void DescribeSuspEventExportInfoRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +int DescribeSuspEventExportInfoRequest::getExportId()const +{ + return exportId_; +} + +void DescribeSuspEventExportInfoRequest::setExportId(int exportId) +{ + exportId_ = exportId; + setCoreParameter("ExportId", std::to_string(exportId)); +} + diff --git a/aegis/src/model/DescribeSuspEventExportInfoResult.cc b/aegis/src/model/DescribeSuspEventExportInfoResult.cc new file mode 100644 index 000000000..74cd2ee24 --- /dev/null +++ b/aegis/src/model/DescribeSuspEventExportInfoResult.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSuspEventExportInfoResult::DescribeSuspEventExportInfoResult() : + ServiceResult() +{} + +DescribeSuspEventExportInfoResult::DescribeSuspEventExportInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSuspEventExportInfoResult::~DescribeSuspEventExportInfoResult() +{} + +void DescribeSuspEventExportInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["FileName"].isNull()) + fileName_ = value["FileName"].asString(); + if(!value["GmtModified"].isNull()) + gmtModified_ = std::stol(value["GmtModified"].asString()); + if(!value["Progress"].isNull()) + progress_ = std::stoi(value["Progress"].asString()); + if(!value["Id"].isNull()) + id_ = std::stoi(value["Id"].asString()); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["GmtCreate"].isNull()) + gmtCreate_ = std::stol(value["GmtCreate"].asString()); + if(!value["Properties"].isNull()) + properties_ = value["Properties"].asString(); + if(!value["ExportStatus"].isNull()) + exportStatus_ = value["ExportStatus"].asString(); + if(!value["Link"].isNull()) + link_ = value["Link"].asString(); + +} + +int DescribeSuspEventExportInfoResult::getProgress()const +{ + return progress_; +} + +std::string DescribeSuspEventExportInfoResult::getType()const +{ + return type_; +} + +int DescribeSuspEventExportInfoResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeSuspEventExportInfoResult::getGmtCreate()const +{ + return gmtCreate_; +} + +std::string DescribeSuspEventExportInfoResult::getFileName()const +{ + return fileName_; +} + +long DescribeSuspEventExportInfoResult::getGmtModified()const +{ + return gmtModified_; +} + +std::string DescribeSuspEventExportInfoResult::getExportStatus()const +{ + return exportStatus_; +} + +int DescribeSuspEventExportInfoResult::getId()const +{ + return id_; +} + +std::string DescribeSuspEventExportInfoResult::getProperties()const +{ + return properties_; +} + +std::string DescribeSuspEventExportInfoResult::getLink()const +{ + return link_; +} + diff --git a/aegis/src/model/DescribeSuspEventQuaraFilesRequest.cc b/aegis/src/model/DescribeSuspEventQuaraFilesRequest.cc new file mode 100644 index 000000000..e09ca38c7 --- /dev/null +++ b/aegis/src/model/DescribeSuspEventQuaraFilesRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeSuspEventQuaraFilesRequest; + +DescribeSuspEventQuaraFilesRequest::DescribeSuspEventQuaraFilesRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSuspEventQuaraFiles") +{} + +DescribeSuspEventQuaraFilesRequest::~DescribeSuspEventQuaraFilesRequest() +{} + +std::string DescribeSuspEventQuaraFilesRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSuspEventQuaraFilesRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeSuspEventQuaraFilesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeSuspEventQuaraFilesRequest::setPageSize(const std::string& pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", pageSize); +} + +std::string DescribeSuspEventQuaraFilesRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeSuspEventQuaraFilesRequest::setCurrentPage(const std::string& currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", currentPage); +} + +std::string DescribeSuspEventQuaraFilesRequest::getFrom()const +{ + return from_; +} + +void DescribeSuspEventQuaraFilesRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string DescribeSuspEventQuaraFilesRequest::getStatus()const +{ + return status_; +} + +void DescribeSuspEventQuaraFilesRequest::setStatus(const std::string& status) +{ + status_ = status; + setCoreParameter("Status", status); +} + diff --git a/aegis/src/model/DescribeSuspEventQuaraFilesResult.cc b/aegis/src/model/DescribeSuspEventQuaraFilesResult.cc new file mode 100644 index 000000000..b10057907 --- /dev/null +++ b/aegis/src/model/DescribeSuspEventQuaraFilesResult.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSuspEventQuaraFilesResult::DescribeSuspEventQuaraFilesResult() : + ServiceResult() +{} + +DescribeSuspEventQuaraFilesResult::DescribeSuspEventQuaraFilesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSuspEventQuaraFilesResult::~DescribeSuspEventQuaraFilesResult() +{} + +void DescribeSuspEventQuaraFilesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allQuaraFiles = value["QuaraFiles"]["QuaraFile"]; + for (auto value : allQuaraFiles) + { + QuaraFile quaraFilesObject; + if(!value["Path"].isNull()) + quaraFilesObject.path = value["Path"].asString(); + if(!value["EventName"].isNull()) + quaraFilesObject.eventName = value["EventName"].asString(); + if(!value["Id"].isNull()) + quaraFilesObject.id = std::stoi(value["Id"].asString()); + if(!value["EventType"].isNull()) + quaraFilesObject.eventType = value["EventType"].asString(); + if(!value["Tag"].isNull()) + quaraFilesObject.tag = value["Tag"].asString(); + if(!value["Uuid"].isNull()) + quaraFilesObject.uuid = value["Uuid"].asString(); + if(!value["InstanceName"].isNull()) + quaraFilesObject.instanceName = value["InstanceName"].asString(); + if(!value["InternetIp"].isNull()) + quaraFilesObject.internetIp = value["InternetIp"].asString(); + if(!value["Ip"].isNull()) + quaraFilesObject.ip = value["Ip"].asString(); + if(!value["Status"].isNull()) + quaraFilesObject.status = value["Status"].asString(); + if(!value["Md5"].isNull()) + quaraFilesObject.md5 = value["Md5"].asString(); + if(!value["ModifyTime"].isNull()) + quaraFilesObject.modifyTime = value["ModifyTime"].asString(); + quaraFiles_.push_back(quaraFilesObject); + } + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + +} + +int DescribeSuspEventQuaraFilesResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeSuspEventQuaraFilesResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeSuspEventQuaraFilesResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeSuspEventQuaraFilesResult::getQuaraFiles()const +{ + return quaraFiles_; +} + +int DescribeSuspEventQuaraFilesResult::getCount()const +{ + return count_; +} + diff --git a/aegis/src/model/DescribeSuspEventTypesRequest.cc b/aegis/src/model/DescribeSuspEventTypesRequest.cc new file mode 100644 index 000000000..d2cde0679 --- /dev/null +++ b/aegis/src/model/DescribeSuspEventTypesRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeSuspEventTypesRequest; + +DescribeSuspEventTypesRequest::DescribeSuspEventTypesRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSuspEventTypes") +{} + +DescribeSuspEventTypesRequest::~DescribeSuspEventTypesRequest() +{} + +std::string DescribeSuspEventTypesRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSuspEventTypesRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeSuspEventTypesResult.cc b/aegis/src/model/DescribeSuspEventTypesResult.cc new file mode 100644 index 000000000..1d336aab4 --- /dev/null +++ b/aegis/src/model/DescribeSuspEventTypesResult.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSuspEventTypesResult::DescribeSuspEventTypesResult() : + ServiceResult() +{} + +DescribeSuspEventTypesResult::DescribeSuspEventTypesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSuspEventTypesResult::~DescribeSuspEventTypesResult() +{} + +void DescribeSuspEventTypesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allEventTypes = value["EventTypes"]["Data"]; + for (auto value : allEventTypes) + { + Data eventTypesObject; + if(!value["AliseEventType"].isNull()) + eventTypesObject.aliseEventType = value["AliseEventType"].asString(); + if(!value["EventType"].isNull()) + eventTypesObject.eventType = value["EventType"].asString(); + eventTypes_.push_back(eventTypesObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeSuspEventTypesResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeSuspEventTypesResult::getEventTypes()const +{ + return eventTypes_; +} + diff --git a/aegis/src/model/DescribeSuspEventUserSettingRequest.cc b/aegis/src/model/DescribeSuspEventUserSettingRequest.cc new file mode 100644 index 000000000..eda7c1674 --- /dev/null +++ b/aegis/src/model/DescribeSuspEventUserSettingRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeSuspEventUserSettingRequest; + +DescribeSuspEventUserSettingRequest::DescribeSuspEventUserSettingRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSuspEventUserSetting") +{} + +DescribeSuspEventUserSettingRequest::~DescribeSuspEventUserSettingRequest() +{} + +std::string DescribeSuspEventUserSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSuspEventUserSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeSuspEventUserSettingRequest::getFrom()const +{ + return from_; +} + +void DescribeSuspEventUserSettingRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +int DescribeSuspEventUserSettingRequest::getId()const +{ + return id_; +} + +void DescribeSuspEventUserSettingRequest::setId(int id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + diff --git a/aegis/src/model/DescribeSuspEventUserSettingResult.cc b/aegis/src/model/DescribeSuspEventUserSettingResult.cc new file mode 100644 index 000000000..11cfeba74 --- /dev/null +++ b/aegis/src/model/DescribeSuspEventUserSettingResult.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSuspEventUserSettingResult::DescribeSuspEventUserSettingResult() : + ServiceResult() +{} + +DescribeSuspEventUserSettingResult::DescribeSuspEventUserSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSuspEventUserSettingResult::~DescribeSuspEventUserSettingResult() +{} + +void DescribeSuspEventUserSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLevelsOn = value["LevelsOn"]["StringItem"]; + for (const auto &item : allLevelsOn) + levelsOn_.push_back(item.asString()); + +} + +std::vector DescribeSuspEventUserSettingResult::getLevelsOn()const +{ + return levelsOn_; +} + diff --git a/aegis/src/model/DescribeSuspEventsRequest.cc b/aegis/src/model/DescribeSuspEventsRequest.cc new file mode 100644 index 000000000..5c9959f51 --- /dev/null +++ b/aegis/src/model/DescribeSuspEventsRequest.cc @@ -0,0 +1,148 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeSuspEventsRequest; + +DescribeSuspEventsRequest::DescribeSuspEventsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSuspEvents") +{} + +DescribeSuspEventsRequest::~DescribeSuspEventsRequest() +{} + +std::string DescribeSuspEventsRequest::getAlarmUniqueInfo()const +{ + return alarmUniqueInfo_; +} + +void DescribeSuspEventsRequest::setAlarmUniqueInfo(const std::string& alarmUniqueInfo) +{ + alarmUniqueInfo_ = alarmUniqueInfo; + setCoreParameter("AlarmUniqueInfo", alarmUniqueInfo); +} + +std::string DescribeSuspEventsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSuspEventsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeSuspEventsRequest::getName()const +{ + return name_; +} + +void DescribeSuspEventsRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +std::string DescribeSuspEventsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeSuspEventsRequest::setPageSize(const std::string& pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", pageSize); +} + +std::string DescribeSuspEventsRequest::getDealed()const +{ + return dealed_; +} + +void DescribeSuspEventsRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setCoreParameter("Dealed", dealed); +} + +std::string DescribeSuspEventsRequest::getRemark()const +{ + return remark_; +} + +void DescribeSuspEventsRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + +std::string DescribeSuspEventsRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeSuspEventsRequest::setCurrentPage(const std::string& currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", currentPage); +} + +std::string DescribeSuspEventsRequest::getFrom()const +{ + return from_; +} + +void DescribeSuspEventsRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string DescribeSuspEventsRequest::getLang()const +{ + return lang_; +} + +void DescribeSuspEventsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeSuspEventsRequest::getLevels()const +{ + return levels_; +} + +void DescribeSuspEventsRequest::setLevels(const std::string& levels) +{ + levels_ = levels; + setCoreParameter("Levels", levels); +} + +std::string DescribeSuspEventsRequest::getParentEventTypes()const +{ + return parentEventTypes_; +} + +void DescribeSuspEventsRequest::setParentEventTypes(const std::string& parentEventTypes) +{ + parentEventTypes_ = parentEventTypes; + setCoreParameter("ParentEventTypes", parentEventTypes); +} + diff --git a/aegis/src/model/DescribeSuspEventsResult.cc b/aegis/src/model/DescribeSuspEventsResult.cc new file mode 100644 index 000000000..81fef5d58 --- /dev/null +++ b/aegis/src/model/DescribeSuspEventsResult.cc @@ -0,0 +1,122 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSuspEventsResult::DescribeSuspEventsResult() : + ServiceResult() +{} + +DescribeSuspEventsResult::DescribeSuspEventsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSuspEventsResult::~DescribeSuspEventsResult() +{} + +void DescribeSuspEventsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allSuspEvents = value["SuspEvents"]["WarningSummary"]; + for (auto value : allSuspEvents) + { + WarningSummary suspEventsObject; + if(!value["LastTime"].isNull()) + suspEventsObject.lastTime = value["LastTime"].asString(); + if(!value["OccurrenceTime"].isNull()) + suspEventsObject.occurrenceTime = value["OccurrenceTime"].asString(); + if(!value["Id"].isNull()) + suspEventsObject.id = std::stol(value["Id"].asString()); + if(!value["InstanceName"].isNull()) + suspEventsObject.instanceName = value["InstanceName"].asString(); + if(!value["InternetIp"].isNull()) + suspEventsObject.internetIp = value["InternetIp"].asString(); + if(!value["IntranetIp"].isNull()) + suspEventsObject.intranetIp = value["IntranetIp"].asString(); + if(!value["Uuid"].isNull()) + suspEventsObject.uuid = value["Uuid"].asString(); + if(!value["Name"].isNull()) + suspEventsObject.name = value["Name"].asString(); + if(!value["EventSubType"].isNull()) + suspEventsObject.eventSubType = value["EventSubType"].asString(); + if(!value["Level"].isNull()) + suspEventsObject.level = value["Level"].asString(); + if(!value["EventStatus"].isNull()) + suspEventsObject.eventStatus = std::stoi(value["EventStatus"].asString()); + if(!value["Desc"].isNull()) + suspEventsObject.desc = value["Desc"].asString(); + if(!value["OperateMsg"].isNull()) + suspEventsObject.operateMsg = value["OperateMsg"].asString(); + if(!value["DataSource"].isNull()) + suspEventsObject.dataSource = value["DataSource"].asString(); + if(!value["CanBeDealOnLine"].isNull()) + suspEventsObject.canBeDealOnLine = value["CanBeDealOnLine"].asString() == "true"; + if(!value["SaleVersion"].isNull()) + suspEventsObject.saleVersion = value["SaleVersion"].asString(); + if(!value["AlarmEventType"].isNull()) + suspEventsObject.alarmEventType = value["AlarmEventType"].asString(); + if(!value["AlarmEventName"].isNull()) + suspEventsObject.alarmEventName = value["AlarmEventName"].asString(); + if(!value["AlarmUniqueInfo"].isNull()) + suspEventsObject.alarmUniqueInfo = value["AlarmUniqueInfo"].asString(); + suspEvents_.push_back(suspEventsObject); + } + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + +} + +int DescribeSuspEventsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeSuspEventsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeSuspEventsResult::getCurrentPage()const +{ + return currentPage_; +} + +int DescribeSuspEventsResult::getCount()const +{ + return count_; +} + +std::vector DescribeSuspEventsResult::getSuspEvents()const +{ + return suspEvents_; +} + diff --git a/aegis/src/model/DescribeSuspTrendStatisticsRequest.cc b/aegis/src/model/DescribeSuspTrendStatisticsRequest.cc new file mode 100644 index 000000000..f1a022169 --- /dev/null +++ b/aegis/src/model/DescribeSuspTrendStatisticsRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeSuspTrendStatisticsRequest; + +DescribeSuspTrendStatisticsRequest::DescribeSuspTrendStatisticsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSuspTrendStatistics") +{} + +DescribeSuspTrendStatisticsRequest::~DescribeSuspTrendStatisticsRequest() +{} + +std::string DescribeSuspTrendStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSuspTrendStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeSuspTrendStatisticsResult.cc b/aegis/src/model/DescribeSuspTrendStatisticsResult.cc new file mode 100644 index 000000000..e0486a6bb --- /dev/null +++ b/aegis/src/model/DescribeSuspTrendStatisticsResult.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSuspTrendStatisticsResult::DescribeSuspTrendStatisticsResult() : + ServiceResult() +{} + +DescribeSuspTrendStatisticsResult::DescribeSuspTrendStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSuspTrendStatisticsResult::~DescribeSuspTrendStatisticsResult() +{} + +void DescribeSuspTrendStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allSuspiciousItems = value["SuspiciousItems"]["StringItem"]; + for (const auto &item : allSuspiciousItems) + suspiciousItems_.push_back(item.asString()); + if(!value["StartTime"].isNull()) + startTime_ = std::stoi(value["StartTime"].asString()); + if(!value["Interval"].isNull()) + interval_ = std::stoi(value["Interval"].asString()); + +} + +int DescribeSuspTrendStatisticsResult::getStartTime()const +{ + return startTime_; +} + +std::vector DescribeSuspTrendStatisticsResult::getSuspiciousItems()const +{ + return suspiciousItems_; +} + +int DescribeSuspTrendStatisticsResult::getInterval()const +{ + return interval_; +} + diff --git a/aegis/src/model/DescribeSuspiciousEventsRequest.cc b/aegis/src/model/DescribeSuspiciousEventsRequest.cc index 26ab569c5..8ae206cac 100644 --- a/aegis/src/model/DescribeSuspiciousEventsRequest.cc +++ b/aegis/src/model/DescribeSuspiciousEventsRequest.cc @@ -25,17 +25,6 @@ DescribeSuspiciousEventsRequest::DescribeSuspiciousEventsRequest() : DescribeSuspiciousEventsRequest::~DescribeSuspiciousEventsRequest() {} -long DescribeSuspiciousEventsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeSuspiciousEventsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - std::string DescribeSuspiciousEventsRequest::getSourceIp()const { return sourceIp_; @@ -44,6 +33,83 @@ std::string DescribeSuspiciousEventsRequest::getSourceIp()const void DescribeSuspiciousEventsRequest::setSourceIp(const std::string& sourceIp) { sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeSuspiciousEventsRequest::getLevel()const +{ + return level_; +} + +void DescribeSuspiciousEventsRequest::setLevel(const std::string& level) +{ + level_ = level; + setCoreParameter("Level", level); +} + +int DescribeSuspiciousEventsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeSuspiciousEventsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeSuspiciousEventsRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeSuspiciousEventsRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeSuspiciousEventsRequest::getDealed()const +{ + return dealed_; +} + +void DescribeSuspiciousEventsRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setCoreParameter("Dealed", dealed); +} + +std::string DescribeSuspiciousEventsRequest::getRemark()const +{ + return remark_; +} + +void DescribeSuspiciousEventsRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + +std::string DescribeSuspiciousEventsRequest::getEventType()const +{ + return eventType_; +} + +void DescribeSuspiciousEventsRequest::setEventType(const std::string& eventType) +{ + eventType_ = eventType; + setCoreParameter("EventType", eventType); +} + +std::string DescribeSuspiciousEventsRequest::getUuid()const +{ + return uuid_; +} + +void DescribeSuspiciousEventsRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); } diff --git a/aegis/src/model/DescribeSuspiciousEventsResult.cc b/aegis/src/model/DescribeSuspiciousEventsResult.cc index 1db933a64..15f3bd249 100644 --- a/aegis/src/model/DescribeSuspiciousEventsResult.cc +++ b/aegis/src/model/DescribeSuspiciousEventsResult.cc @@ -40,42 +40,82 @@ void DescribeSuspiciousEventsResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allSuspiciousEvents = value["SuspiciousEvents"]["StringItem"]; - for (const auto &item : allSuspiciousEvents) - suspiciousEvents_.push_back(item.asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["CurrentPage"].isNull()) - currentPage_ = std::stoi(value["CurrentPage"].asString()); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + auto allLogList = value["LogList"]["LogListItem"]; + for (auto value : allLogList) + { + LogListItem logListObject; + if(!value["AliasEventType"].isNull()) + logListObject.aliasEventType = value["AliasEventType"].asString(); + if(!value["LastTime"].isNull()) + logListObject.lastTime = std::stol(value["LastTime"].asString()); + if(!value["Level"].isNull()) + logListObject.level = value["Level"].asString(); + if(!value["InstanceName"].isNull()) + logListObject.instanceName = value["InstanceName"].asString(); + if(!value["GroupId"].isNull()) + logListObject.groupId = std::stol(value["GroupId"].asString()); + if(!value["Ip"].isNull()) + logListObject.ip = value["Ip"].asString(); + if(!value["EventType"].isNull()) + logListObject.eventType = value["EventType"].asString(); + if(!value["Uuid"].isNull()) + logListObject.uuid = value["Uuid"].asString(); + if(!value["FirstTime"].isNull()) + logListObject.firstTime = std::stol(value["FirstTime"].asString()); + if(!value["InstanceId"].isNull()) + logListObject.instanceId = value["InstanceId"].asString(); + if(!value["Tag"].isNull()) + logListObject.tag = value["Tag"].asString(); + if(!value["AliasEventName"].isNull()) + logListObject.aliasEventName = value["AliasEventName"].asString(); + if(!value["OsVersion"].isNull()) + logListObject.osVersion = value["OsVersion"].asString(); + if(!value["ClientIp"].isNull()) + logListObject.clientIp = value["ClientIp"].asString(); + if(!value["EventName"].isNull()) + logListObject.eventName = value["EventName"].asString(); + auto allDetailList = value["DetailList"]["DetailListItem"]; + for (auto value : allDetailList) + { + LogListItem::DetailListItem detailListObject; + if(!value["Name"].isNull()) + detailListObject.name = value["Name"].asString(); + if(!value["Type"].isNull()) + detailListObject.type = value["Type"].asString(); + if(!value["Value"].isNull()) + detailListObject.value = value["Value"].asString(); + if(!value["InfoType"].isNull()) + detailListObject.infoType = value["InfoType"].asString(); + logListObject.detailList.push_back(detailListObject); + } + logList_.push_back(logListObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); } -int DescribeSuspiciousEventsResult::getTotalCount()const -{ - return totalCount_; -} - -int DescribeSuspiciousEventsResult::getPageSize()const -{ - return pageSize_; -} - -std::vector DescribeSuspiciousEventsResult::getSuspiciousEvents()const -{ - return suspiciousEvents_; -} - -int DescribeSuspiciousEventsResult::getCurrentPage()const -{ - return currentPage_; -} - -int DescribeSuspiciousEventsResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - +std::vector DescribeSuspiciousEventsResult::getLogList()const +{ + return logList_; +} + +int DescribeSuspiciousEventsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeSuspiciousEventsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeSuspiciousEventsResult::getCurrentPage()const +{ + return currentPage_; +} + diff --git a/aegis/src/model/DescribeSuspiciousExportInfoRequest.cc b/aegis/src/model/DescribeSuspiciousExportInfoRequest.cc new file mode 100644 index 000000000..7cfe64b18 --- /dev/null +++ b/aegis/src/model/DescribeSuspiciousExportInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeSuspiciousExportInfoRequest; + +DescribeSuspiciousExportInfoRequest::DescribeSuspiciousExportInfoRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSuspiciousExportInfo") +{} + +DescribeSuspiciousExportInfoRequest::~DescribeSuspiciousExportInfoRequest() +{} + +std::string DescribeSuspiciousExportInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSuspiciousExportInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeSuspiciousExportInfoRequest::getExportId()const +{ + return exportId_; +} + +void DescribeSuspiciousExportInfoRequest::setExportId(int exportId) +{ + exportId_ = exportId; + setCoreParameter("ExportId", std::to_string(exportId)); +} + diff --git a/aegis/src/model/DescribeSuspiciousExportInfoResult.cc b/aegis/src/model/DescribeSuspiciousExportInfoResult.cc new file mode 100644 index 000000000..ef414e5e4 --- /dev/null +++ b/aegis/src/model/DescribeSuspiciousExportInfoResult.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSuspiciousExportInfoResult::DescribeSuspiciousExportInfoResult() : + ServiceResult() +{} + +DescribeSuspiciousExportInfoResult::DescribeSuspiciousExportInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSuspiciousExportInfoResult::~DescribeSuspiciousExportInfoResult() +{} + +void DescribeSuspiciousExportInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = std::stoi(value["Id"].asString()); + if(!value["GmtCreate"].isNull()) + gmtCreate_ = std::stol(value["GmtCreate"].asString()); + if(!value["FileName"].isNull()) + fileName_ = value["FileName"].asString(); + if(!value["CurrentCount"].isNull()) + currentCount_ = std::stoi(value["CurrentCount"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["Progress"].isNull()) + progress_ = std::stoi(value["Progress"].asString()); + if(!value["ExportStatus"].isNull()) + exportStatus_ = value["ExportStatus"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Link"].isNull()) + link_ = value["Link"].asString(); + +} + +long DescribeSuspiciousExportInfoResult::getGmtCreate()const +{ + return gmtCreate_; +} + +int DescribeSuspiciousExportInfoResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeSuspiciousExportInfoResult::getProgress()const +{ + return progress_; +} + +std::string DescribeSuspiciousExportInfoResult::getMessage()const +{ + return message_; +} + +std::string DescribeSuspiciousExportInfoResult::getFileName()const +{ + return fileName_; +} + +std::string DescribeSuspiciousExportInfoResult::getExportStatus()const +{ + return exportStatus_; +} + +int DescribeSuspiciousExportInfoResult::getCurrentCount()const +{ + return currentCount_; +} + +int DescribeSuspiciousExportInfoResult::getId()const +{ + return id_; +} + +std::string DescribeSuspiciousExportInfoResult::getLink()const +{ + return link_; +} + diff --git a/aegis/src/model/DescribeSuspiciousOverallConfigRequest.cc b/aegis/src/model/DescribeSuspiciousOverallConfigRequest.cc new file mode 100644 index 000000000..71ef9a7ed --- /dev/null +++ b/aegis/src/model/DescribeSuspiciousOverallConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeSuspiciousOverallConfigRequest; + +DescribeSuspiciousOverallConfigRequest::DescribeSuspiciousOverallConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSuspiciousOverallConfig") +{} + +DescribeSuspiciousOverallConfigRequest::~DescribeSuspiciousOverallConfigRequest() +{} + +std::string DescribeSuspiciousOverallConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSuspiciousOverallConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeSuspiciousOverallConfigRequest::getType()const +{ + return type_; +} + +void DescribeSuspiciousOverallConfigRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + diff --git a/aegis/src/model/DescribeSuspiciousOverallConfigResult.cc b/aegis/src/model/DescribeSuspiciousOverallConfigResult.cc new file mode 100644 index 000000000..f8858ce8c --- /dev/null +++ b/aegis/src/model/DescribeSuspiciousOverallConfigResult.cc @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSuspiciousOverallConfigResult::DescribeSuspiciousOverallConfigResult() : + ServiceResult() +{} + +DescribeSuspiciousOverallConfigResult::DescribeSuspiciousOverallConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSuspiciousOverallConfigResult::~DescribeSuspiciousOverallConfigResult() +{} + +void DescribeSuspiciousOverallConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto overallConfigNode = value["OverallConfig"]; + if(!overallConfigNode["Type"].isNull()) + overallConfig_.type = overallConfigNode["Type"].asString(); + if(!overallConfigNode["Config"].isNull()) + overallConfig_.config = overallConfigNode["Config"].asString(); + +} + +DescribeSuspiciousOverallConfigResult::OverallConfig DescribeSuspiciousOverallConfigResult::getOverallConfig()const +{ + return overallConfig_; +} + diff --git a/aegis/src/model/DescribeSuspiciousUUIDConfigRequest.cc b/aegis/src/model/DescribeSuspiciousUUIDConfigRequest.cc new file mode 100644 index 000000000..902dacb63 --- /dev/null +++ b/aegis/src/model/DescribeSuspiciousUUIDConfigRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeSuspiciousUUIDConfigRequest; + +DescribeSuspiciousUUIDConfigRequest::DescribeSuspiciousUUIDConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeSuspiciousUUIDConfig") +{} + +DescribeSuspiciousUUIDConfigRequest::~DescribeSuspiciousUUIDConfigRequest() +{} + +std::string DescribeSuspiciousUUIDConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSuspiciousUUIDConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeSuspiciousUUIDConfigRequest::getLang()const +{ + return lang_; +} + +void DescribeSuspiciousUUIDConfigRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeSuspiciousUUIDConfigRequest::getType()const +{ + return type_; +} + +void DescribeSuspiciousUUIDConfigRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + diff --git a/aegis/src/model/DescribeSuspiciousUUIDConfigResult.cc b/aegis/src/model/DescribeSuspiciousUUIDConfigResult.cc new file mode 100644 index 000000000..1b2e0baf8 --- /dev/null +++ b/aegis/src/model/DescribeSuspiciousUUIDConfigResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeSuspiciousUUIDConfigResult::DescribeSuspiciousUUIDConfigResult() : + ServiceResult() +{} + +DescribeSuspiciousUUIDConfigResult::DescribeSuspiciousUUIDConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSuspiciousUUIDConfigResult::~DescribeSuspiciousUUIDConfigResult() +{} + +void DescribeSuspiciousUUIDConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allUUIDList = value["UUIDList"]["StringItem"]; + for (const auto &item : allUUIDList) + uUIDList_.push_back(item.asString()); + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + +} + +std::vector DescribeSuspiciousUUIDConfigResult::getUUIDList()const +{ + return uUIDList_; +} + +int DescribeSuspiciousUUIDConfigResult::getCount()const +{ + return count_; +} + diff --git a/aegis/src/model/DescribeTargetConfigRequest.cc b/aegis/src/model/DescribeTargetConfigRequest.cc new file mode 100644 index 000000000..22e0dcdbf --- /dev/null +++ b/aegis/src/model/DescribeTargetConfigRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeTargetConfigRequest; + +DescribeTargetConfigRequest::DescribeTargetConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeTargetConfig") +{} + +DescribeTargetConfigRequest::~DescribeTargetConfigRequest() +{} + +std::string DescribeTargetConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeTargetConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeTargetConfigRequest::getType()const +{ + return type_; +} + +void DescribeTargetConfigRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string DescribeTargetConfigRequest::getUuid()const +{ + return uuid_; +} + +void DescribeTargetConfigRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + diff --git a/aegis/src/model/DescribeTargetConfigResult.cc b/aegis/src/model/DescribeTargetConfigResult.cc new file mode 100644 index 000000000..630e6801b --- /dev/null +++ b/aegis/src/model/DescribeTargetConfigResult.cc @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeTargetConfigResult::DescribeTargetConfigResult() : + ServiceResult() +{} + +DescribeTargetConfigResult::DescribeTargetConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTargetConfigResult::~DescribeTargetConfigResult() +{} + +void DescribeTargetConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allTargetConfigs = value["TargetConfigs"]["TargetConfig"]; + for (auto value : allTargetConfigs) + { + TargetConfig targetConfigsObject; + if(!value["Type"].isNull()) + targetConfigsObject.type = value["Type"].asString(); + if(!value["Config"].isNull()) + targetConfigsObject.config = value["Config"].asString(); + if(!value["OverAllConfig"].isNull()) + targetConfigsObject.overAllConfig = value["OverAllConfig"].asString(); + targetConfigs_.push_back(targetConfigsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeTargetConfigResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeTargetConfigResult::getTargetConfigs()const +{ + return targetConfigs_; +} + diff --git a/aegis/src/model/DescribeTargetRequest.cc b/aegis/src/model/DescribeTargetRequest.cc new file mode 100644 index 000000000..886f0d18d --- /dev/null +++ b/aegis/src/model/DescribeTargetRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeTargetRequest; + +DescribeTargetRequest::DescribeTargetRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeTarget") +{} + +DescribeTargetRequest::~DescribeTargetRequest() +{} + +std::string DescribeTargetRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeTargetRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeTargetRequest::getType()const +{ + return type_; +} + +void DescribeTargetRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string DescribeTargetRequest::getConfig()const +{ + return config_; +} + +void DescribeTargetRequest::setConfig(const std::string& config) +{ + config_ = config; + setCoreParameter("Config", config); +} + diff --git a/aegis/src/model/DescribeTargetResult.cc b/aegis/src/model/DescribeTargetResult.cc new file mode 100644 index 000000000..d7478b652 --- /dev/null +++ b/aegis/src/model/DescribeTargetResult.cc @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeTargetResult::DescribeTargetResult() : + ServiceResult() +{} + +DescribeTargetResult::DescribeTargetResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTargetResult::~DescribeTargetResult() +{} + +void DescribeTargetResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allTargets = value["Targets"]["Target"]; + for (auto value : allTargets) + { + Target targetsObject; + if(!value["TargetType"].isNull()) + targetsObject.targetType = value["TargetType"].asString(); + if(!value["Target"].isNull()) + targetsObject.target = value["Target"].asString(); + if(!value["Flag"].isNull()) + targetsObject.flag = value["Flag"].asString(); + targets_.push_back(targetsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeTargetResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeTargetResult::getTargets()const +{ + return targets_; +} + diff --git a/aegis/src/model/DescribeTopRiskyAssetsRequest.cc b/aegis/src/model/DescribeTopRiskyAssetsRequest.cc new file mode 100644 index 000000000..db14fa61e --- /dev/null +++ b/aegis/src/model/DescribeTopRiskyAssetsRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeTopRiskyAssetsRequest; + +DescribeTopRiskyAssetsRequest::DescribeTopRiskyAssetsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeTopRiskyAssets") +{} + +DescribeTopRiskyAssetsRequest::~DescribeTopRiskyAssetsRequest() +{} + +std::string DescribeTopRiskyAssetsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeTopRiskyAssetsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeTopRiskyAssetsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeTopRiskyAssetsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/aegis/src/model/DescribeTopRiskyAssetsResult.cc b/aegis/src/model/DescribeTopRiskyAssetsResult.cc new file mode 100644 index 000000000..b72defc52 --- /dev/null +++ b/aegis/src/model/DescribeTopRiskyAssetsResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeTopRiskyAssetsResult::DescribeTopRiskyAssetsResult() : + ServiceResult() +{} + +DescribeTopRiskyAssetsResult::DescribeTopRiskyAssetsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTopRiskyAssetsResult::~DescribeTopRiskyAssetsResult() +{} + +void DescribeTopRiskyAssetsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allTopRiskyAssets = value["TopRiskyAssets"]["TopRiskyAsset"]; + for (auto value : allTopRiskyAssets) + { + TopRiskyAsset topRiskyAssetsObject; + if(!value["Type"].isNull()) + topRiskyAssetsObject.type = value["Type"].asString(); + auto allAssetInfos = value["AssetInfos"]["AssetInfo"]; + for (auto value : allAssetInfos) + { + TopRiskyAsset::AssetInfo assetInfosObject; + if(!value["Uuid"].isNull()) + assetInfosObject.uuid = value["Uuid"].asString(); + if(!value["Ip"].isNull()) + assetInfosObject.ip = value["Ip"].asString(); + if(!value["InstanceName"].isNull()) + assetInfosObject.instanceName = value["InstanceName"].asString(); + if(!value["Count"].isNull()) + assetInfosObject.count = value["Count"].asString(); + topRiskyAssetsObject.assetInfos.push_back(assetInfosObject); + } + topRiskyAssets_.push_back(topRiskyAssetsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeTopRiskyAssetsResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeTopRiskyAssetsResult::getTopRiskyAssets()const +{ + return topRiskyAssets_; +} + diff --git a/aegis/src/model/DescribeTopicListRequest.cc b/aegis/src/model/DescribeTopicListRequest.cc new file mode 100644 index 000000000..5b892201c --- /dev/null +++ b/aegis/src/model/DescribeTopicListRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeTopicListRequest; + +DescribeTopicListRequest::DescribeTopicListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeTopicList") +{} + +DescribeTopicListRequest::~DescribeTopicListRequest() +{} + +std::string DescribeTopicListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeTopicListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeTopicListResult.cc b/aegis/src/model/DescribeTopicListResult.cc new file mode 100644 index 000000000..c167e5a68 --- /dev/null +++ b/aegis/src/model/DescribeTopicListResult.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeTopicListResult::DescribeTopicListResult() : + ServiceResult() +{} + +DescribeTopicListResult::DescribeTopicListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTopicListResult::~DescribeTopicListResult() +{} + +void DescribeTopicListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allTopicList = value["TopicList"]["StringItem"]; + for (const auto &item : allTopicList) + topicList_.push_back(item.asString()); + +} + +std::vector DescribeTopicListResult::getTopicList()const +{ + return topicList_; +} + diff --git a/aegis/src/model/DescribeTotalStatisticsRequest.cc b/aegis/src/model/DescribeTotalStatisticsRequest.cc new file mode 100644 index 000000000..7b9a60c60 --- /dev/null +++ b/aegis/src/model/DescribeTotalStatisticsRequest.cc @@ -0,0 +1,247 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeTotalStatisticsRequest; + +DescribeTotalStatisticsRequest::DescribeTotalStatisticsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeTotalStatistics") +{} + +DescribeTotalStatisticsRequest::~DescribeTotalStatisticsRequest() +{} + +std::string DescribeTotalStatisticsRequest::getStatusList()const +{ + return statusList_; +} + +void DescribeTotalStatisticsRequest::setStatusList(const std::string& statusList) +{ + statusList_ = statusList; + setCoreParameter("StatusList", statusList); +} + +std::string DescribeTotalStatisticsRequest::getSaleId()const +{ + return saleId_; +} + +void DescribeTotalStatisticsRequest::setSaleId(const std::string& saleId) +{ + saleId_ = saleId; + setCoreParameter("SaleId", saleId); +} + +int DescribeTotalStatisticsRequest::getRuleType()const +{ + return ruleType_; +} + +void DescribeTotalStatisticsRequest::setRuleType(int ruleType) +{ + ruleType_ = ruleType; + setCoreParameter("RuleType", std::to_string(ruleType)); +} + +long DescribeTotalStatisticsRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeTotalStatisticsRequest::setGroupId(long groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", std::to_string(groupId)); +} + +std::string DescribeTotalStatisticsRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeTotalStatisticsRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setCoreParameter("EndTime", endTime); +} + +std::string DescribeTotalStatisticsRequest::getRemark()const +{ + return remark_; +} + +void DescribeTotalStatisticsRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + +std::string DescribeTotalStatisticsRequest::getDealed()const +{ + return dealed_; +} + +void DescribeTotalStatisticsRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setCoreParameter("Dealed", dealed); +} + +int DescribeTotalStatisticsRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeTotalStatisticsRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeTotalStatisticsRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeTotalStatisticsRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setCoreParameter("StartTime", startTime); +} + +std::string DescribeTotalStatisticsRequest::getType()const +{ + return type_; +} + +void DescribeTotalStatisticsRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string DescribeTotalStatisticsRequest::getUuid()const +{ + return uuid_; +} + +void DescribeTotalStatisticsRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + +std::string DescribeTotalStatisticsRequest::getSecureToken()const +{ + return secureToken_; +} + +void DescribeTotalStatisticsRequest::setSecureToken(const std::string& secureToken) +{ + secureToken_ = secureToken; + setCoreParameter("SecureToken", secureToken); +} + +std::string DescribeTotalStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeTotalStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DescribeTotalStatisticsRequest::getWebGroupId()const +{ + return webGroupId_; +} + +void DescribeTotalStatisticsRequest::setWebGroupId(long webGroupId) +{ + webGroupId_ = webGroupId; + setCoreParameter("WebGroupId", std::to_string(webGroupId)); +} + +int DescribeTotalStatisticsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeTotalStatisticsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeTotalStatisticsRequest::getFrom()const +{ + return from_; +} + +void DescribeTotalStatisticsRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +int DescribeTotalStatisticsRequest::getAction1()const +{ + return action1_; +} + +void DescribeTotalStatisticsRequest::setAction1(int action1) +{ + action1_ = action1; + setCoreParameter("Action1", std::to_string(action1)); +} + +std::string DescribeTotalStatisticsRequest::getTag()const +{ + return tag_; +} + +void DescribeTotalStatisticsRequest::setTag(const std::string& tag) +{ + tag_ = tag; + setCoreParameter("Tag", tag); +} + +int DescribeTotalStatisticsRequest::getFlow()const +{ + return flow_; +} + +void DescribeTotalStatisticsRequest::setFlow(int flow) +{ + flow_ = flow; + setCoreParameter("Flow", std::to_string(flow)); +} + +int DescribeTotalStatisticsRequest::getStatus()const +{ + return status_; +} + +void DescribeTotalStatisticsRequest::setStatus(int status) +{ + status_ = status; + setCoreParameter("Status", std::to_string(status)); +} + diff --git a/aegis/src/model/DescribeTotalStatisticsResult.cc b/aegis/src/model/DescribeTotalStatisticsResult.cc new file mode 100644 index 000000000..cf70da617 --- /dev/null +++ b/aegis/src/model/DescribeTotalStatisticsResult.cc @@ -0,0 +1,220 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeTotalStatisticsResult::DescribeTotalStatisticsResult() : + ServiceResult() +{} + +DescribeTotalStatisticsResult::DescribeTotalStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTotalStatisticsResult::~DescribeTotalStatisticsResult() +{} + +void DescribeTotalStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["VulAsapSum"].isNull()) + vulAsapSum_ = std::stoi(value["VulAsapSum"].asString()); + if(!value["VulNntfSum"].isNull()) + vulNntfSum_ = std::stoi(value["VulNntfSum"].asString()); + if(!value["HealthTotal"].isNull()) + healthTotal_ = std::stoi(value["HealthTotal"].asString()); + if(!value["SuspiciousmediumTotal"].isNull()) + suspiciousmediumTotal_ = std::stoi(value["SuspiciousmediumTotal"].asString()); + if(!value["Health"].isNull()) + health_ = std::stoi(value["Health"].asString()); + if(!value["HealthdealedTotal"].isNull()) + healthdealedTotal_ = std::stoi(value["HealthdealedTotal"].asString()); + if(!value["Trojan"].isNull()) + trojan_ = std::stoi(value["Trojan"].asString()); + if(!value["VulLaterSum"].isNull()) + vulLaterSum_ = std::stoi(value["VulLaterSum"].asString()); + if(!value["Suspicious"].isNull()) + suspicious_ = std::stoi(value["Suspicious"].asString()); + if(!value["Vul"].isNull()) + vul_ = std::stoi(value["Vul"].asString()); + if(!value["HealthhighTotal"].isNull()) + healthhighTotal_ = std::stoi(value["HealthhighTotal"].asString()); + if(!value["HealthlowTotal"].isNull()) + healthlowTotal_ = std::stoi(value["HealthlowTotal"].asString()); + if(!value["HealthseriousTotal"].isNull()) + healthseriousTotal_ = std::stoi(value["HealthseriousTotal"].asString()); + if(!value["VulDealedTotal"].isNull()) + vulDealedTotal_ = std::stoi(value["VulDealedTotal"].asString()); + if(!value["Patch"].isNull()) + patch_ = std::stoi(value["Patch"].asString()); + if(!value["SuspicioushighTotal"].isNull()) + suspicioushighTotal_ = std::stoi(value["SuspicioushighTotal"].asString()); + if(!value["SuspiciouslowTotal"].isNull()) + suspiciouslowTotal_ = std::stoi(value["SuspiciouslowTotal"].asString()); + if(!value["SuspiciousTotal"].isNull()) + suspiciousTotal_ = std::stoi(value["SuspiciousTotal"].asString()); + if(!value["VulTotal"].isNull()) + vulTotal_ = std::stoi(value["VulTotal"].asString()); + if(!value["SuspiciousseriousTotal"].isNull()) + suspiciousseriousTotal_ = std::stoi(value["SuspiciousseriousTotal"].asString()); + if(!value["HealthmediumTotal"].isNull()) + healthmediumTotal_ = std::stoi(value["HealthmediumTotal"].asString()); + if(!value["Online"].isNull()) + online_ = value["Online"].asString() == "true"; + if(!value["SuspiciousdealedTotal"].isNull()) + suspiciousdealedTotal_ = std::stoi(value["SuspiciousdealedTotal"].asString()); + if(!value["Account"].isNull()) + account_ = std::stoi(value["Account"].asString()); + if(!value["Newsuspicious"].isNull()) + newsuspicious_ = std::stoi(value["Newsuspicious"].asString()); + +} + +int DescribeTotalStatisticsResult::getSuspiciousTotal()const +{ + return suspiciousTotal_; +} + +int DescribeTotalStatisticsResult::getAccount()const +{ + return account_; +} + +int DescribeTotalStatisticsResult::getVulDealedTotal()const +{ + return vulDealedTotal_; +} + +int DescribeTotalStatisticsResult::getSuspicioushighTotal()const +{ + return suspicioushighTotal_; +} + +int DescribeTotalStatisticsResult::getSuspiciousseriousTotal()const +{ + return suspiciousseriousTotal_; +} + +int DescribeTotalStatisticsResult::getVulAsapSum()const +{ + return vulAsapSum_; +} + +int DescribeTotalStatisticsResult::getVulNntfSum()const +{ + return vulNntfSum_; +} + +int DescribeTotalStatisticsResult::getNewsuspicious()const +{ + return newsuspicious_; +} + +int DescribeTotalStatisticsResult::getHealthhighTotal()const +{ + return healthhighTotal_; +} + +int DescribeTotalStatisticsResult::getHealthmediumTotal()const +{ + return healthmediumTotal_; +} + +int DescribeTotalStatisticsResult::getVulLaterSum()const +{ + return vulLaterSum_; +} + +int DescribeTotalStatisticsResult::getSuspiciousmediumTotal()const +{ + return suspiciousmediumTotal_; +} + +int DescribeTotalStatisticsResult::getHealthlowTotal()const +{ + return healthlowTotal_; +} + +int DescribeTotalStatisticsResult::getHealth()const +{ + return health_; +} + +int DescribeTotalStatisticsResult::getHealthdealedTotal()const +{ + return healthdealedTotal_; +} + +int DescribeTotalStatisticsResult::getHealthseriousTotal()const +{ + return healthseriousTotal_; +} + +int DescribeTotalStatisticsResult::getVulTotal()const +{ + return vulTotal_; +} + +int DescribeTotalStatisticsResult::getVul()const +{ + return vul_; +} + +int DescribeTotalStatisticsResult::getSuspiciouslowTotal()const +{ + return suspiciouslowTotal_; +} + +int DescribeTotalStatisticsResult::getSuspicious()const +{ + return suspicious_; +} + +int DescribeTotalStatisticsResult::getTrojan()const +{ + return trojan_; +} + +bool DescribeTotalStatisticsResult::getOnline()const +{ + return online_; +} + +int DescribeTotalStatisticsResult::getPatch()const +{ + return patch_; +} + +int DescribeTotalStatisticsResult::getSuspiciousdealedTotal()const +{ + return suspiciousdealedTotal_; +} + +int DescribeTotalStatisticsResult::getHealthTotal()const +{ + return healthTotal_; +} + diff --git a/aegis/src/model/DescribeTraceInfoDetailRequest.cc b/aegis/src/model/DescribeTraceInfoDetailRequest.cc new file mode 100644 index 000000000..561bdc937 --- /dev/null +++ b/aegis/src/model/DescribeTraceInfoDetailRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeTraceInfoDetailRequest; + +DescribeTraceInfoDetailRequest::DescribeTraceInfoDetailRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeTraceInfoDetail") +{} + +DescribeTraceInfoDetailRequest::~DescribeTraceInfoDetailRequest() +{} + +std::string DescribeTraceInfoDetailRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeTraceInfoDetailRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeTraceInfoDetailRequest::getVertexId()const +{ + return vertexId_; +} + +void DescribeTraceInfoDetailRequest::setVertexId(const std::string& vertexId) +{ + vertexId_ = vertexId; + setCoreParameter("VertexId", vertexId); +} + +std::string DescribeTraceInfoDetailRequest::getFrom()const +{ + return from_; +} + +void DescribeTraceInfoDetailRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string DescribeTraceInfoDetailRequest::getLang()const +{ + return lang_; +} + +void DescribeTraceInfoDetailRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeTraceInfoDetailRequest::getType()const +{ + return type_; +} + +void DescribeTraceInfoDetailRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string DescribeTraceInfoDetailRequest::getUuid()const +{ + return uuid_; +} + +void DescribeTraceInfoDetailRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + diff --git a/aegis/src/model/DescribeTraceInfoDetailResult.cc b/aegis/src/model/DescribeTraceInfoDetailResult.cc new file mode 100644 index 000000000..ae2824460 --- /dev/null +++ b/aegis/src/model/DescribeTraceInfoDetailResult.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeTraceInfoDetailResult::DescribeTraceInfoDetailResult() : + ServiceResult() +{} + +DescribeTraceInfoDetailResult::DescribeTraceInfoDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTraceInfoDetailResult::~DescribeTraceInfoDetailResult() +{} + +void DescribeTraceInfoDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto traceInfoDetailNode = value["TraceInfoDetail"]; + auto allEdgeList = value["EdgeList"]["Edge"]; + for (auto value : allEdgeList) + { + TraceInfoDetail::Edge edgeObject; + if(!value["EndId"].isNull()) + edgeObject.endId = value["EndId"].asString(); + if(!value["StartId"].isNull()) + edgeObject.startId = value["StartId"].asString(); + if(!value["Count"].isNull()) + edgeObject.count = std::stoi(value["Count"].asString()); + if(!value["Time"].isNull()) + edgeObject.time = value["Time"].asString(); + traceInfoDetail_.edgeList.push_back(edgeObject); + } + auto allVertexList = value["VertexList"]["Vertex"]; + for (auto value : allVertexList) + { + TraceInfoDetail::Vertex vertexObject; + if(!value["Name"].isNull()) + vertexObject.name = value["Name"].asString(); + if(!value["Count"].isNull()) + vertexObject.count = std::stoi(value["Count"].asString()); + if(!value["Id"].isNull()) + vertexObject.id = value["Id"].asString(); + if(!value["Time"].isNull()) + vertexObject.time = value["Time"].asString(); + if(!value["Type"].isNull()) + vertexObject.type = value["Type"].asString(); + auto allNeighborList = value["NeighborList"]["Neighbor"]; + for (auto value : allNeighborList) + { + TraceInfoDetail::Vertex::Neighbor neighborListObject; + if(!value["HasMore"].isNull()) + neighborListObject.hasMore = value["HasMore"].asString() == "true"; + if(!value["Count"].isNull()) + neighborListObject.count = std::stoi(value["Count"].asString()); + if(!value["Type"].isNull()) + neighborListObject.type = value["Type"].asString(); + vertexObject.neighborList.push_back(neighborListObject); + } + traceInfoDetail_.vertexList.push_back(vertexObject); + } + auto allEntityTypeList = value["EntityTypeList"]["EntityType"]; + for (auto value : allEntityTypeList) + { + TraceInfoDetail::EntityType entityTypeObject; + if(!value["DisplayTemplate"].isNull()) + entityTypeObject.displayTemplate = value["DisplayTemplate"].asString(); + if(!value["GmtModified"].isNull()) + entityTypeObject.gmtModified = std::stol(value["GmtModified"].asString()); + if(!value["DisplayIcon"].isNull()) + entityTypeObject.displayIcon = value["DisplayIcon"].asString(); + if(!value["Offset"].isNull()) + entityTypeObject.offset = std::stoi(value["Offset"].asString()); + if(!value["DbId"].isNull()) + entityTypeObject.dbId = std::stoi(value["DbId"].asString()); + if(!value["Name"].isNull()) + entityTypeObject.name = value["Name"].asString(); + if(!value["Namespace"].isNull()) + entityTypeObject._namespace = value["Namespace"].asString(); + if(!value["Limit"].isNull()) + entityTypeObject.limit = std::stoi(value["Limit"].asString()); + if(!value["Id"].isNull()) + entityTypeObject.id = value["Id"].asString(); + if(!value["DisplayColor"].isNull()) + entityTypeObject.displayColor = value["DisplayColor"].asString(); + if(!value["GmtCreate"].isNull()) + entityTypeObject.gmtCreate = std::stol(value["GmtCreate"].asString()); + traceInfoDetail_.entityTypeList.push_back(entityTypeObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +DescribeTraceInfoDetailResult::TraceInfoDetail DescribeTraceInfoDetailResult::getTraceInfoDetail()const +{ + return traceInfoDetail_; +} + +bool DescribeTraceInfoDetailResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/DescribeTraceInfoNodeListRequest.cc b/aegis/src/model/DescribeTraceInfoNodeListRequest.cc new file mode 100644 index 000000000..c4bb6df1c --- /dev/null +++ b/aegis/src/model/DescribeTraceInfoNodeListRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeTraceInfoNodeListRequest; + +DescribeTraceInfoNodeListRequest::DescribeTraceInfoNodeListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeTraceInfoNodeList") +{} + +DescribeTraceInfoNodeListRequest::~DescribeTraceInfoNodeListRequest() +{} + +std::string DescribeTraceInfoNodeListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeTraceInfoNodeListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeTraceInfoNodeListRequest::getVertexId()const +{ + return vertexId_; +} + +void DescribeTraceInfoNodeListRequest::setVertexId(const std::string& vertexId) +{ + vertexId_ = vertexId; + setCoreParameter("VertexId", vertexId); +} + +std::string DescribeTraceInfoNodeListRequest::getStartType()const +{ + return startType_; +} + +void DescribeTraceInfoNodeListRequest::setStartType(const std::string& startType) +{ + startType_ = startType; + setCoreParameter("StartType", startType); +} + +int DescribeTraceInfoNodeListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeTraceInfoNodeListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeTraceInfoNodeListRequest::getFrom()const +{ + return from_; +} + +void DescribeTraceInfoNodeListRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +int DescribeTraceInfoNodeListRequest::getPage()const +{ + return page_; +} + +void DescribeTraceInfoNodeListRequest::setPage(int page) +{ + page_ = page; + setCoreParameter("Page", std::to_string(page)); +} + +std::string DescribeTraceInfoNodeListRequest::getLang()const +{ + return lang_; +} + +void DescribeTraceInfoNodeListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeTraceInfoNodeListRequest::getType()const +{ + return type_; +} + +void DescribeTraceInfoNodeListRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string DescribeTraceInfoNodeListRequest::getUuid()const +{ + return uuid_; +} + +void DescribeTraceInfoNodeListRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + diff --git a/aegis/src/model/DescribeTraceInfoNodeListResult.cc b/aegis/src/model/DescribeTraceInfoNodeListResult.cc new file mode 100644 index 000000000..cb9aee2b5 --- /dev/null +++ b/aegis/src/model/DescribeTraceInfoNodeListResult.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeTraceInfoNodeListResult::DescribeTraceInfoNodeListResult() : + ServiceResult() +{} + +DescribeTraceInfoNodeListResult::DescribeTraceInfoNodeListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTraceInfoNodeListResult::~DescribeTraceInfoNodeListResult() +{} + +void DescribeTraceInfoNodeListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto nodeListInfoNode = value["NodeListInfo"]; + auto allEdgeList = value["EdgeList"]["Edge"]; + for (auto value : allEdgeList) + { + NodeListInfo::Edge edgeObject; + if(!value["EndId"].isNull()) + edgeObject.endId = value["EndId"].asString(); + if(!value["StartId"].isNull()) + edgeObject.startId = value["StartId"].asString(); + if(!value["Time"].isNull()) + edgeObject.time = value["Time"].asString(); + nodeListInfo_.edgeList.push_back(edgeObject); + } + auto allVertexList = value["VertexList"]["Vertex"]; + for (auto value : allVertexList) + { + NodeListInfo::Vertex vertexObject; + if(!value["Name"].isNull()) + vertexObject.name = value["Name"].asString(); + if(!value["Id"].isNull()) + vertexObject.id = value["Id"].asString(); + if(!value["Time"].isNull()) + vertexObject.time = value["Time"].asString(); + auto allNeighborList = value["NeighborList"]["StringItem"]; + for (auto value : allNeighborList) + vertexObject.neighborList.push_back(value.asString()); + nodeListInfo_.vertexList.push_back(vertexObject); + } + auto allEntityTypeList = nodeListInfoNode["EntityTypeList"]["StringItem"]; + for (auto value : allEntityTypeList) + nodeListInfo_.entityTypeList.push_back(value.asString()); + +} + +DescribeTraceInfoNodeListResult::NodeListInfo DescribeTraceInfoNodeListResult::getNodeListInfo()const +{ + return nodeListInfo_; +} + diff --git a/aegis/src/model/DescribeTraceInfoNodeRequest.cc b/aegis/src/model/DescribeTraceInfoNodeRequest.cc new file mode 100644 index 000000000..d40b26d42 --- /dev/null +++ b/aegis/src/model/DescribeTraceInfoNodeRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeTraceInfoNodeRequest; + +DescribeTraceInfoNodeRequest::DescribeTraceInfoNodeRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeTraceInfoNode") +{} + +DescribeTraceInfoNodeRequest::~DescribeTraceInfoNodeRequest() +{} + +std::string DescribeTraceInfoNodeRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeTraceInfoNodeRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeTraceInfoNodeRequest::getVertexId()const +{ + return vertexId_; +} + +void DescribeTraceInfoNodeRequest::setVertexId(const std::string& vertexId) +{ + vertexId_ = vertexId; + setCoreParameter("VertexId", vertexId); +} + +std::string DescribeTraceInfoNodeRequest::getFrom()const +{ + return from_; +} + +void DescribeTraceInfoNodeRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string DescribeTraceInfoNodeRequest::getLang()const +{ + return lang_; +} + +void DescribeTraceInfoNodeRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeTraceInfoNodeRequest::getType()const +{ + return type_; +} + +void DescribeTraceInfoNodeRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string DescribeTraceInfoNodeRequest::getUuid()const +{ + return uuid_; +} + +void DescribeTraceInfoNodeRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + +std::string DescribeTraceInfoNodeRequest::getEventName()const +{ + return eventName_; +} + +void DescribeTraceInfoNodeRequest::setEventName(const std::string& eventName) +{ + eventName_ = eventName; + setCoreParameter("EventName", eventName); +} + diff --git a/aegis/src/model/DescribeTraceInfoNodeResult.cc b/aegis/src/model/DescribeTraceInfoNodeResult.cc new file mode 100644 index 000000000..4c25eaa5c --- /dev/null +++ b/aegis/src/model/DescribeTraceInfoNodeResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeTraceInfoNodeResult::DescribeTraceInfoNodeResult() : + ServiceResult() +{} + +DescribeTraceInfoNodeResult::DescribeTraceInfoNodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTraceInfoNodeResult::~DescribeTraceInfoNodeResult() +{} + +void DescribeTraceInfoNodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto nodeNode = value["Node"]; + if(!nodeNode["Name"].isNull()) + node_.name = nodeNode["Name"].asString(); + if(!nodeNode["Type"].isNull()) + node_.type = nodeNode["Type"].asString(); + auto allPropertyList = value["PropertyList"]["Property"]; + for (auto value : allPropertyList) + { + Node::Property propertyObject; + if(!value["Name"].isNull()) + propertyObject.name = value["Name"].asString(); + if(!value["Value"].isNull()) + propertyObject.value = value["Value"].asString(); + node_.propertyList.push_back(propertyObject); + } + +} + +DescribeTraceInfoNodeResult::Node DescribeTraceInfoNodeResult::getNode()const +{ + return node_; +} + diff --git a/aegis/src/model/DescribeUserSettingRequest.cc b/aegis/src/model/DescribeUserSettingRequest.cc new file mode 100644 index 000000000..21cd1879e --- /dev/null +++ b/aegis/src/model/DescribeUserSettingRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeUserSettingRequest; + +DescribeUserSettingRequest::DescribeUserSettingRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeUserSetting") +{} + +DescribeUserSettingRequest::~DescribeUserSettingRequest() +{} + +std::string DescribeUserSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeUserSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeUserSettingResult.cc b/aegis/src/model/DescribeUserSettingResult.cc new file mode 100644 index 000000000..ea0afaaaa --- /dev/null +++ b/aegis/src/model/DescribeUserSettingResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeUserSettingResult::DescribeUserSettingResult() : + ServiceResult() +{} + +DescribeUserSettingResult::DescribeUserSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUserSettingResult::~DescribeUserSettingResult() +{} + +void DescribeUserSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["InvalidWarningKeepDays"].isNull()) + invalidWarningKeepDays_ = std::stoi(value["InvalidWarningKeepDays"].asString()); + if(!value["AlertLevels"].isNull()) + alertLevels_ = value["AlertLevels"].asString(); + +} + +int DescribeUserSettingResult::getInvalidWarningKeepDays()const +{ + return invalidWarningKeepDays_; +} + +std::string DescribeUserSettingResult::getAlertLevels()const +{ + return alertLevels_; +} + diff --git a/aegis/src/model/DescribeUuidConfigRequest.cc b/aegis/src/model/DescribeUuidConfigRequest.cc new file mode 100644 index 000000000..204ba9836 --- /dev/null +++ b/aegis/src/model/DescribeUuidConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeUuidConfigRequest; + +DescribeUuidConfigRequest::DescribeUuidConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeUuidConfig") +{} + +DescribeUuidConfigRequest::~DescribeUuidConfigRequest() +{} + +std::string DescribeUuidConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeUuidConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeUuidConfigRequest::getUuid()const +{ + return uuid_; +} + +void DescribeUuidConfigRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + diff --git a/aegis/src/model/DescribeUuidConfigResult.cc b/aegis/src/model/DescribeUuidConfigResult.cc new file mode 100644 index 000000000..895dc8f9d --- /dev/null +++ b/aegis/src/model/DescribeUuidConfigResult.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeUuidConfigResult::DescribeUuidConfigResult() : + ServiceResult() +{} + +DescribeUuidConfigResult::DescribeUuidConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUuidConfigResult::~DescribeUuidConfigResult() +{} + +void DescribeUuidConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Flag"].isNull()) + data_.flag = dataNode["Flag"].asString(); + +} + +DescribeUuidConfigResult::Data DescribeUuidConfigResult::getData()const +{ + return data_; +} + diff --git a/aegis/src/model/DescribeVersionConfigRequest.cc b/aegis/src/model/DescribeVersionConfigRequest.cc new file mode 100644 index 000000000..a94980ec6 --- /dev/null +++ b/aegis/src/model/DescribeVersionConfigRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeVersionConfigRequest; + +DescribeVersionConfigRequest::DescribeVersionConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeVersionConfig") +{} + +DescribeVersionConfigRequest::~DescribeVersionConfigRequest() +{} + +std::string DescribeVersionConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeVersionConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeVersionConfigResult.cc b/aegis/src/model/DescribeVersionConfigResult.cc new file mode 100644 index 000000000..7470d027a --- /dev/null +++ b/aegis/src/model/DescribeVersionConfigResult.cc @@ -0,0 +1,178 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeVersionConfigResult::DescribeVersionConfigResult() : + ServiceResult() +{} + +DescribeVersionConfigResult::DescribeVersionConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVersionConfigResult::~DescribeVersionConfigResult() +{} + +void DescribeVersionConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["AssetLevel"].isNull()) + assetLevel_ = std::stoi(value["AssetLevel"].asString()); + if(!value["AvdsFlag"].isNull()) + avdsFlag_ = std::stoi(value["AvdsFlag"].asString()); + if(!value["CreateTime"].isNull()) + createTime_ = std::stol(value["CreateTime"].asString()); + if(!value["Flag"].isNull()) + flag_ = std::stoi(value["Flag"].asString()); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + if(!value["IsSasOpening"].isNull()) + isSasOpening_ = value["IsSasOpening"].asString() == "true"; + if(!value["IsTrialVersion"].isNull()) + isTrialVersion_ = std::stoi(value["IsTrialVersion"].asString()); + if(!value["LogCapacity"].isNull()) + logCapacity_ = std::stoi(value["LogCapacity"].asString()); + if(!value["LogTime"].isNull()) + logTime_ = std::stoi(value["LogTime"].asString()); + if(!value["ReleaseTime"].isNull()) + releaseTime_ = std::stol(value["ReleaseTime"].asString()); + if(!value["SasLog"].isNull()) + sasLog_ = std::stoi(value["SasLog"].asString()); + if(!value["SasScreen"].isNull()) + sasScreen_ = std::stoi(value["SasScreen"].asString()); + if(!value["Version"].isNull()) + version_ = std::stoi(value["Version"].asString()); + if(!value["UserDefinedAlarms"].isNull()) + userDefinedAlarms_ = std::stoi(value["UserDefinedAlarms"].asString()); + if(!value["WebLock"].isNull()) + webLock_ = std::stoi(value["WebLock"].asString()); + if(!value["WebLockAuthCount"].isNull()) + webLockAuthCount_ = std::stol(value["WebLockAuthCount"].asString()); + if(!value["AppWhiteListAuthCount"].isNull()) + appWhiteListAuthCount_ = std::stol(value["AppWhiteListAuthCount"].asString()); + if(!value["AppWhiteList"].isNull()) + appWhiteList_ = std::stoi(value["AppWhiteList"].asString()); + if(!value["SlsCapacity"].isNull()) + slsCapacity_ = std::stol(value["SlsCapacity"].asString()); + +} + +int DescribeVersionConfigResult::getAssetLevel()const +{ + return assetLevel_; +} + +std::string DescribeVersionConfigResult::getInstanceId()const +{ + return instanceId_; +} + +long DescribeVersionConfigResult::getAppWhiteListAuthCount()const +{ + return appWhiteListAuthCount_; +} + +long DescribeVersionConfigResult::getCreateTime()const +{ + return createTime_; +} + +int DescribeVersionConfigResult::getLogTime()const +{ + return logTime_; +} + +int DescribeVersionConfigResult::getSasScreen()const +{ + return sasScreen_; +} + +bool DescribeVersionConfigResult::getIsSasOpening()const +{ + return isSasOpening_; +} + +int DescribeVersionConfigResult::getLogCapacity()const +{ + return logCapacity_; +} + +int DescribeVersionConfigResult::getFlag()const +{ + return flag_; +} + +int DescribeVersionConfigResult::getSasLog()const +{ + return sasLog_; +} + +long DescribeVersionConfigResult::getReleaseTime()const +{ + return releaseTime_; +} + +int DescribeVersionConfigResult::getVersion()const +{ + return version_; +} + +int DescribeVersionConfigResult::getAvdsFlag()const +{ + return avdsFlag_; +} + +int DescribeVersionConfigResult::getIsTrialVersion()const +{ + return isTrialVersion_; +} + +long DescribeVersionConfigResult::getWebLockAuthCount()const +{ + return webLockAuthCount_; +} + +long DescribeVersionConfigResult::getSlsCapacity()const +{ + return slsCapacity_; +} + +int DescribeVersionConfigResult::getUserDefinedAlarms()const +{ + return userDefinedAlarms_; +} + +int DescribeVersionConfigResult::getAppWhiteList()const +{ + return appWhiteList_; +} + +int DescribeVersionConfigResult::getWebLock()const +{ + return webLock_; +} + diff --git a/aegis/src/model/DescribeVulBatchRequest.cc b/aegis/src/model/DescribeVulBatchRequest.cc new file mode 100644 index 000000000..5884f60b3 --- /dev/null +++ b/aegis/src/model/DescribeVulBatchRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeVulBatchRequest; + +DescribeVulBatchRequest::DescribeVulBatchRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeVulBatch") +{} + +DescribeVulBatchRequest::~DescribeVulBatchRequest() +{} + +std::string DescribeVulBatchRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeVulBatchRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeVulBatchRequest::getResource()const +{ + return resource_; +} + +void DescribeVulBatchRequest::setResource(const std::string& resource) +{ + resource_ = resource; + setCoreParameter("Resource", resource); +} + diff --git a/aegis/src/model/DescribeVulBatchResult.cc b/aegis/src/model/DescribeVulBatchResult.cc new file mode 100644 index 000000000..d94362f7f --- /dev/null +++ b/aegis/src/model/DescribeVulBatchResult.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeVulBatchResult::DescribeVulBatchResult() : + ServiceResult() +{} + +DescribeVulBatchResult::DescribeVulBatchResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVulBatchResult::~DescribeVulBatchResult() +{} + +void DescribeVulBatchResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allBatchNames = value["BatchNames"]["BatchName"]; + for (const auto &item : allBatchNames) + batchNames_.push_back(item.asString()); + +} + +std::vector DescribeVulBatchResult::getBatchNames()const +{ + return batchNames_; +} + diff --git a/aegis/src/model/DescribeVulConfigRequest.cc b/aegis/src/model/DescribeVulConfigRequest.cc new file mode 100644 index 000000000..1a543f50c --- /dev/null +++ b/aegis/src/model/DescribeVulConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeVulConfigRequest; + +DescribeVulConfigRequest::DescribeVulConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeVulConfig") +{} + +DescribeVulConfigRequest::~DescribeVulConfigRequest() +{} + +std::string DescribeVulConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeVulConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeVulConfigRequest::getType()const +{ + return type_; +} + +void DescribeVulConfigRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + diff --git a/aegis/src/model/DescribeVulConfigResult.cc b/aegis/src/model/DescribeVulConfigResult.cc new file mode 100644 index 000000000..4a6c30ff5 --- /dev/null +++ b/aegis/src/model/DescribeVulConfigResult.cc @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeVulConfigResult::DescribeVulConfigResult() : + ServiceResult() +{} + +DescribeVulConfigResult::DescribeVulConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVulConfigResult::~DescribeVulConfigResult() +{} + +void DescribeVulConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allTargetConfigs = value["TargetConfigs"]["TargetConfig"]; + for (auto value : allTargetConfigs) + { + TargetConfig targetConfigsObject; + if(!value["Type"].isNull()) + targetConfigsObject.type = value["Type"].asString(); + if(!value["Config"].isNull()) + targetConfigsObject.config = value["Config"].asString(); + if(!value["OverAllConfig"].isNull()) + targetConfigsObject.overAllConfig = value["OverAllConfig"].asString(); + targetConfigs_.push_back(targetConfigsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeVulConfigResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeVulConfigResult::getTargetConfigs()const +{ + return targetConfigs_; +} + diff --git a/aegis/src/model/DescribeVulDetailsRequest.cc b/aegis/src/model/DescribeVulDetailsRequest.cc index ec8a1646b..4feb0b742 100644 --- a/aegis/src/model/DescribeVulDetailsRequest.cc +++ b/aegis/src/model/DescribeVulDetailsRequest.cc @@ -25,138 +25,6 @@ DescribeVulDetailsRequest::DescribeVulDetailsRequest() : DescribeVulDetailsRequest::~DescribeVulDetailsRequest() {} -long DescribeVulDetailsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeVulDetailsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeVulDetailsRequest::getProduct()const -{ - return product_; -} - -void DescribeVulDetailsRequest::setProduct(const std::string& product) -{ - product_ = product; - setParameter("Product", product); -} - -std::string DescribeVulDetailsRequest::getStatusList()const -{ - return statusList_; -} - -void DescribeVulDetailsRequest::setStatusList(const std::string& statusList) -{ - statusList_ = statusList; - setParameter("StatusList", statusList); -} - -std::string DescribeVulDetailsRequest::getLevel()const -{ - return level_; -} - -void DescribeVulDetailsRequest::setLevel(const std::string& level) -{ - level_ = level; - setParameter("Level", level); -} - -std::string DescribeVulDetailsRequest::getResource()const -{ - return resource_; -} - -void DescribeVulDetailsRequest::setResource(const std::string& resource) -{ - resource_ = resource; - setParameter("Resource", resource); -} - -std::string DescribeVulDetailsRequest::getOrderBy()const -{ - return orderBy_; -} - -void DescribeVulDetailsRequest::setOrderBy(const std::string& orderBy) -{ - orderBy_ = orderBy; - setParameter("OrderBy", orderBy); -} - -std::string DescribeVulDetailsRequest::getDealed()const -{ - return dealed_; -} - -void DescribeVulDetailsRequest::setDealed(const std::string& dealed) -{ - dealed_ = dealed; - setParameter("Dealed", dealed); -} - -int DescribeVulDetailsRequest::getCurrentPage()const -{ - return currentPage_; -} - -void DescribeVulDetailsRequest::setCurrentPage(int currentPage) -{ - currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); -} - -std::string DescribeVulDetailsRequest::getType()const -{ - return type_; -} - -void DescribeVulDetailsRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); -} - -long DescribeVulDetailsRequest::getLastTsEnd()const -{ - return lastTsEnd_; -} - -void DescribeVulDetailsRequest::setLastTsEnd(long lastTsEnd) -{ - lastTsEnd_ = lastTsEnd; - setParameter("LastTsEnd", std::to_string(lastTsEnd)); -} - -std::string DescribeVulDetailsRequest::getBatchName()const -{ - return batchName_; -} - -void DescribeVulDetailsRequest::setBatchName(const std::string& batchName) -{ - batchName_ = batchName; - setParameter("BatchName", batchName); -} - -long DescribeVulDetailsRequest::getPatchId()const -{ - return patchId_; -} - -void DescribeVulDetailsRequest::setPatchId(long patchId) -{ - patchId_ = patchId; - setParameter("PatchId", std::to_string(patchId)); -} - std::string DescribeVulDetailsRequest::getAliasName()const { return aliasName_; @@ -165,7 +33,7 @@ std::string DescribeVulDetailsRequest::getAliasName()const void DescribeVulDetailsRequest::setAliasName(const std::string& aliasName) { aliasName_ = aliasName; - setParameter("AliasName", aliasName); + setCoreParameter("AliasName", aliasName); } std::string DescribeVulDetailsRequest::getSourceIp()const @@ -176,7 +44,7 @@ std::string DescribeVulDetailsRequest::getSourceIp()const void DescribeVulDetailsRequest::setSourceIp(const std::string& sourceIp) { sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); + setCoreParameter("SourceIp", sourceIp); } std::string DescribeVulDetailsRequest::getName()const @@ -187,18 +55,7 @@ std::string DescribeVulDetailsRequest::getName()const void DescribeVulDetailsRequest::setName(const std::string& name) { name_ = name; - setParameter("Name", name); -} - -int DescribeVulDetailsRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeVulDetailsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("Name", name); } std::string DescribeVulDetailsRequest::getLang()const @@ -209,50 +66,17 @@ std::string DescribeVulDetailsRequest::getLang()const void DescribeVulDetailsRequest::setLang(const std::string& lang) { lang_ = lang; - setParameter("Lang", lang); + setCoreParameter("Lang", lang); } -long DescribeVulDetailsRequest::getLastTsStart()const +std::string DescribeVulDetailsRequest::getType()const { - return lastTsStart_; + return type_; } -void DescribeVulDetailsRequest::setLastTsStart(long lastTsStart) +void DescribeVulDetailsRequest::setType(const std::string& type) { - lastTsStart_ = lastTsStart; - setParameter("LastTsStart", std::to_string(lastTsStart)); -} - -std::string DescribeVulDetailsRequest::getNecessity()const -{ - return necessity_; -} - -void DescribeVulDetailsRequest::setNecessity(const std::string& necessity) -{ - necessity_ = necessity; - setParameter("Necessity", necessity); -} - -std::string DescribeVulDetailsRequest::getUuids()const -{ - return uuids_; -} - -void DescribeVulDetailsRequest::setUuids(const std::string& uuids) -{ - uuids_ = uuids; - setParameter("Uuids", uuids); -} - -std::string DescribeVulDetailsRequest::getDirection()const -{ - return direction_; -} - -void DescribeVulDetailsRequest::setDirection(const std::string& direction) -{ - direction_ = direction; - setParameter("Direction", direction); + type_ = type; + setCoreParameter("Type", type); } diff --git a/aegis/src/model/DescribeVulDetailsResult.cc b/aegis/src/model/DescribeVulDetailsResult.cc index ffaa94eb2..a63652e8f 100644 --- a/aegis/src/model/DescribeVulDetailsResult.cc +++ b/aegis/src/model/DescribeVulDetailsResult.cc @@ -40,119 +40,67 @@ void DescribeVulDetailsResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allCveLists = value["CveLists"]["cve"]; - for (const auto &item : allCveLists) - cveLists_.push_back(item.asString()); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - if(!value["AliasName"].isNull()) - aliasName_ = value["AliasName"].asString(); - if(!value["Level"].isNull()) - level_ = value["Level"].asString(); - if(!value["VulPublishTs"].isNull()) - vulPublishTs_ = std::stol(value["VulPublishTs"].asString()); - if(!value["Type"].isNull()) - type_ = value["Type"].asString(); - if(!value["Product"].isNull()) - product_ = value["Product"].asString(); - if(!value["HasPatch"].isNull()) - hasPatch_ = value["HasPatch"].asString() == "true"; - if(!value["PatchPublishTs"].isNull()) - patchPublishTs_ = std::stol(value["PatchPublishTs"].asString()); - if(!value["PatchSource"].isNull()) - patchSource_ = value["PatchSource"].asString(); - if(!value["Cvss"].isNull()) - cvss_ = value["Cvss"].asString(); - if(!value["CveIds"].isNull()) - cveIds_ = value["CveIds"].asString(); - if(!value["Advice"].isNull()) - advice_ = value["Advice"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["PendingCount"].isNull()) - pendingCount_ = std::stoi(value["PendingCount"].asString()); - if(!value["HandledCount"].isNull()) - handledCount_ = std::stoi(value["HandledCount"].asString()); + auto allCves = value["Cves"]["Cve"]; + for (auto value : allCves) + { + Cve cvesObject; + if(!value["CveId"].isNull()) + cvesObject.cveId = value["CveId"].asString(); + if(!value["CnvdId"].isNull()) + cvesObject.cnvdId = value["CnvdId"].asString(); + if(!value["OtherId"].isNull()) + cvesObject.otherId = value["OtherId"].asString(); + if(!value["Title"].isNull()) + cvesObject.title = value["Title"].asString(); + if(!value["CvssScore"].isNull()) + cvesObject.cvssScore = value["CvssScore"].asString(); + if(!value["CvssVector"].isNull()) + cvesObject.cvssVector = value["CvssVector"].asString(); + if(!value["ReleaseTime"].isNull()) + cvesObject.releaseTime = std::stol(value["ReleaseTime"].asString()); + if(!value["Complexity"].isNull()) + cvesObject.complexity = value["Complexity"].asString(); + if(!value["Poc"].isNull()) + cvesObject.poc = value["Poc"].asString(); + if(!value["PocCreateTime"].isNull()) + cvesObject.pocCreateTime = std::stol(value["PocCreateTime"].asString()); + if(!value["PocDisclosureTime"].isNull()) + cvesObject.pocDisclosureTime = std::stol(value["PocDisclosureTime"].asString()); + if(!value["Summary"].isNull()) + cvesObject.summary = value["Summary"].asString(); + if(!value["Solution"].isNull()) + cvesObject.solution = value["Solution"].asString(); + if(!value["Content"].isNull()) + cvesObject.content = value["Content"].asString(); + if(!value["Vendor"].isNull()) + cvesObject.vendor = value["Vendor"].asString(); + if(!value["Product"].isNull()) + cvesObject.product = value["Product"].asString(); + if(!value["VulLevel"].isNull()) + cvesObject.vulLevel = value["VulLevel"].asString(); + if(!value["Reference"].isNull()) + cvesObject.reference = value["Reference"].asString(); + if(!value["Classify"].isNull()) + cvesObject.classify = value["Classify"].asString(); + auto allClassifys = value["Classifys"]["Classify"]; + for (auto value : allClassifys) + { + Cve::Classify classifysObject; + if(!value["Classify"].isNull()) + classifysObject.classify = value["Classify"].asString(); + if(!value["Description"].isNull()) + classifysObject.description = value["Description"].asString(); + if(!value["DemoVideoUrl"].isNull()) + classifysObject.demoVideoUrl = value["DemoVideoUrl"].asString(); + cvesObject.classifys.push_back(classifysObject); + } + cves_.push_back(cvesObject); + } } -int DescribeVulDetailsResult::getPendingCount()const -{ - return pendingCount_; -} - -std::string DescribeVulDetailsResult::getDescription()const -{ - return description_; -} - -std::vector DescribeVulDetailsResult::getCveLists()const -{ - return cveLists_; -} - -std::string DescribeVulDetailsResult::getCveIds()const -{ - return cveIds_; -} - -long DescribeVulDetailsResult::getVulPublishTs()const -{ - return vulPublishTs_; -} - -std::string DescribeVulDetailsResult::getProduct()const -{ - return product_; -} - -bool DescribeVulDetailsResult::getHasPatch()const -{ - return hasPatch_; -} - -std::string DescribeVulDetailsResult::getName()const -{ - return name_; -} - -std::string DescribeVulDetailsResult::getType()const -{ - return type_; -} - -std::string DescribeVulDetailsResult::getCvss()const -{ - return cvss_; -} - -long DescribeVulDetailsResult::getPatchPublishTs()const -{ - return patchPublishTs_; -} - -int DescribeVulDetailsResult::getHandledCount()const -{ - return handledCount_; -} - -std::string DescribeVulDetailsResult::getAliasName()const -{ - return aliasName_; -} - -std::string DescribeVulDetailsResult::getLevel()const -{ - return level_; -} - -std::string DescribeVulDetailsResult::getAdvice()const -{ - return advice_; -} - -std::string DescribeVulDetailsResult::getPatchSource()const -{ - return patchSource_; -} - +std::vector DescribeVulDetailsResult::getCves()const +{ + return cves_; +} + diff --git a/aegis/src/model/DescribeVulExportInfoRequest.cc b/aegis/src/model/DescribeVulExportInfoRequest.cc new file mode 100644 index 000000000..35b23a352 --- /dev/null +++ b/aegis/src/model/DescribeVulExportInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeVulExportInfoRequest; + +DescribeVulExportInfoRequest::DescribeVulExportInfoRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeVulExportInfo") +{} + +DescribeVulExportInfoRequest::~DescribeVulExportInfoRequest() +{} + +std::string DescribeVulExportInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeVulExportInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DescribeVulExportInfoRequest::getExportId()const +{ + return exportId_; +} + +void DescribeVulExportInfoRequest::setExportId(long exportId) +{ + exportId_ = exportId; + setCoreParameter("ExportId", std::to_string(exportId)); +} + diff --git a/aegis/src/model/DescribeVulExportInfoResult.cc b/aegis/src/model/DescribeVulExportInfoResult.cc new file mode 100644 index 000000000..72f9cece2 --- /dev/null +++ b/aegis/src/model/DescribeVulExportInfoResult.cc @@ -0,0 +1,101 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeVulExportInfoResult::DescribeVulExportInfoResult() : + ServiceResult() +{} + +DescribeVulExportInfoResult::DescribeVulExportInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVulExportInfoResult::~DescribeVulExportInfoResult() +{} + +void DescribeVulExportInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = std::stol(value["Id"].asString()); + if(!value["FileName"].isNull()) + fileName_ = value["FileName"].asString(); + if(!value["CurrentCount"].isNull()) + currentCount_ = std::stoi(value["CurrentCount"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["Progress"].isNull()) + progress_ = std::stoi(value["Progress"].asString()); + if(!value["ExportStatus"].isNull()) + exportStatus_ = value["ExportStatus"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Link"].isNull()) + link_ = value["Link"].asString(); + +} + +int DescribeVulExportInfoResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeVulExportInfoResult::getProgress()const +{ + return progress_; +} + +std::string DescribeVulExportInfoResult::getMessage()const +{ + return message_; +} + +std::string DescribeVulExportInfoResult::getFileName()const +{ + return fileName_; +} + +std::string DescribeVulExportInfoResult::getExportStatus()const +{ + return exportStatus_; +} + +int DescribeVulExportInfoResult::getCurrentCount()const +{ + return currentCount_; +} + +long DescribeVulExportInfoResult::getId()const +{ + return id_; +} + +std::string DescribeVulExportInfoResult::getLink()const +{ + return link_; +} + diff --git a/aegis/src/model/DescribeVulLevelRequest.cc b/aegis/src/model/DescribeVulLevelRequest.cc new file mode 100644 index 000000000..3706bc771 --- /dev/null +++ b/aegis/src/model/DescribeVulLevelRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeVulLevelRequest; + +DescribeVulLevelRequest::DescribeVulLevelRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeVulLevel") +{} + +DescribeVulLevelRequest::~DescribeVulLevelRequest() +{} + +std::string DescribeVulLevelRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeVulLevelRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeVulLevelResult.cc b/aegis/src/model/DescribeVulLevelResult.cc new file mode 100644 index 000000000..037f6390a --- /dev/null +++ b/aegis/src/model/DescribeVulLevelResult.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeVulLevelResult::DescribeVulLevelResult() : + ServiceResult() +{} + +DescribeVulLevelResult::DescribeVulLevelResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVulLevelResult::~DescribeVulLevelResult() +{} + +void DescribeVulLevelResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allConcernLevels = value["ConcernLevels"]["ConcernLevel"]; + for (const auto &item : allConcernLevels) + concernLevels_.push_back(item.asString()); + +} + +std::vector DescribeVulLevelResult::getConcernLevels()const +{ + return concernLevels_; +} + diff --git a/aegis/src/model/DescribeVulLevelStatisticsRequest.cc b/aegis/src/model/DescribeVulLevelStatisticsRequest.cc new file mode 100644 index 000000000..46126a5e3 --- /dev/null +++ b/aegis/src/model/DescribeVulLevelStatisticsRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeVulLevelStatisticsRequest; + +DescribeVulLevelStatisticsRequest::DescribeVulLevelStatisticsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeVulLevelStatistics") +{} + +DescribeVulLevelStatisticsRequest::~DescribeVulLevelStatisticsRequest() +{} + +std::string DescribeVulLevelStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeVulLevelStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DescribeVulLevelStatisticsRequest::getEndTs()const +{ + return endTs_; +} + +void DescribeVulLevelStatisticsRequest::setEndTs(long endTs) +{ + endTs_ = endTs; + setCoreParameter("EndTs", std::to_string(endTs)); +} + +long DescribeVulLevelStatisticsRequest::getStartTs()const +{ + return startTs_; +} + +void DescribeVulLevelStatisticsRequest::setStartTs(long startTs) +{ + startTs_ = startTs; + setCoreParameter("StartTs", std::to_string(startTs)); +} + +std::string DescribeVulLevelStatisticsRequest::getUuids()const +{ + return uuids_; +} + +void DescribeVulLevelStatisticsRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + diff --git a/aegis/src/model/DescribeVulLevelStatisticsResult.cc b/aegis/src/model/DescribeVulLevelStatisticsResult.cc new file mode 100644 index 000000000..857cd438f --- /dev/null +++ b/aegis/src/model/DescribeVulLevelStatisticsResult.cc @@ -0,0 +1,91 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeVulLevelStatisticsResult::DescribeVulLevelStatisticsResult() : + ServiceResult() +{} + +DescribeVulLevelStatisticsResult::DescribeVulLevelStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVulLevelStatisticsResult::~DescribeVulLevelStatisticsResult() +{} + +void DescribeVulLevelStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLevelStatistics = value["LevelStatistics"]["LevelStatistic"]; + for (auto value : allLevelStatistics) + { + LevelStatistic levelStatisticsObject; + if(!value["Level"].isNull()) + levelStatisticsObject.level = value["Level"].asString(); + if(!value["CveNum"].isNull()) + levelStatisticsObject.cveNum = std::stoi(value["CveNum"].asString()); + if(!value["EmgNum"].isNull()) + levelStatisticsObject.emgNum = std::stoi(value["EmgNum"].asString()); + if(!value["SysNum"].isNull()) + levelStatisticsObject.sysNum = std::stoi(value["SysNum"].asString()); + if(!value["CmsNum"].isNull()) + levelStatisticsObject.cmsNum = std::stoi(value["CmsNum"].asString()); + if(!value["CmsDealedTotalNum"].isNull()) + levelStatisticsObject.cmsDealedTotalNum = std::stoi(value["CmsDealedTotalNum"].asString()); + if(!value["VulDealedTotalNum"].isNull()) + levelStatisticsObject.vulDealedTotalNum = std::stoi(value["VulDealedTotalNum"].asString()); + if(!value["VulAsapSum"].isNull()) + levelStatisticsObject.vulAsapSum = std::stoi(value["VulAsapSum"].asString()); + if(!value["VulLaterSum"].isNull()) + levelStatisticsObject.vulLaterSum = std::stoi(value["VulLaterSum"].asString()); + if(!value["VulNntfSum"].isNull()) + levelStatisticsObject.vulNntfSum = std::stoi(value["VulNntfSum"].asString()); + if(!value["VulSeriousTotal"].isNull()) + levelStatisticsObject.vulSeriousTotal = std::stoi(value["VulSeriousTotal"].asString()); + if(!value["VulHighTotal"].isNull()) + levelStatisticsObject.vulHighTotal = std::stoi(value["VulHighTotal"].asString()); + if(!value["VulMediumTotal"].isNull()) + levelStatisticsObject.vulMediumTotal = std::stoi(value["VulMediumTotal"].asString()); + if(!value["VulLowTotal"].isNull()) + levelStatisticsObject.vulLowTotal = std::stoi(value["VulLowTotal"].asString()); + levelStatistics_.push_back(levelStatisticsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeVulLevelStatisticsResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeVulLevelStatisticsResult::getLevelStatistics()const +{ + return levelStatistics_; +} + diff --git a/aegis/src/model/DescribeVulListRequest.cc b/aegis/src/model/DescribeVulListRequest.cc index b1a5ecc92..580ee7f30 100644 --- a/aegis/src/model/DescribeVulListRequest.cc +++ b/aegis/src/model/DescribeVulListRequest.cc @@ -25,28 +25,6 @@ DescribeVulListRequest::DescribeVulListRequest() : DescribeVulListRequest::~DescribeVulListRequest() {} -long DescribeVulListRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeVulListRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeVulListRequest::getProduct()const -{ - return product_; -} - -void DescribeVulListRequest::setProduct(const std::string& product) -{ - product_ = product; - setParameter("Product", product); -} - std::string DescribeVulListRequest::getStatusList()const { return statusList_; @@ -55,7 +33,7 @@ std::string DescribeVulListRequest::getStatusList()const void DescribeVulListRequest::setStatusList(const std::string& statusList) { statusList_ = statusList; - setParameter("StatusList", statusList); + setCoreParameter("StatusList", statusList); } std::string DescribeVulListRequest::getLevel()const @@ -66,7 +44,7 @@ std::string DescribeVulListRequest::getLevel()const void DescribeVulListRequest::setLevel(const std::string& level) { level_ = level; - setParameter("Level", level); + setCoreParameter("Level", level); } std::string DescribeVulListRequest::getResource()const @@ -77,18 +55,18 @@ std::string DescribeVulListRequest::getResource()const void DescribeVulListRequest::setResource(const std::string& resource) { resource_ = resource; - setParameter("Resource", resource); + setCoreParameter("Resource", resource); } -std::string DescribeVulListRequest::getOrderBy()const +std::string DescribeVulListRequest::getRemark()const { - return orderBy_; + return remark_; } -void DescribeVulListRequest::setOrderBy(const std::string& orderBy) +void DescribeVulListRequest::setRemark(const std::string& remark) { - orderBy_ = orderBy; - setParameter("OrderBy", orderBy); + remark_ = remark; + setCoreParameter("Remark", remark); } std::string DescribeVulListRequest::getDealed()const @@ -99,7 +77,7 @@ std::string DescribeVulListRequest::getDealed()const void DescribeVulListRequest::setDealed(const std::string& dealed) { dealed_ = dealed; - setParameter("Dealed", dealed); + setCoreParameter("Dealed", dealed); } int DescribeVulListRequest::getCurrentPage()const @@ -110,7 +88,7 @@ int DescribeVulListRequest::getCurrentPage()const void DescribeVulListRequest::setCurrentPage(int currentPage) { currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); + setCoreParameter("CurrentPage", std::to_string(currentPage)); } std::string DescribeVulListRequest::getType()const @@ -121,18 +99,18 @@ std::string DescribeVulListRequest::getType()const void DescribeVulListRequest::setType(const std::string& type) { type_ = type; - setParameter("Type", type); + setCoreParameter("Type", type); } -long DescribeVulListRequest::getLastTsEnd()const +long DescribeVulListRequest::getCreateTsStart()const { - return lastTsEnd_; + return createTsStart_; } -void DescribeVulListRequest::setLastTsEnd(long lastTsEnd) +void DescribeVulListRequest::setCreateTsStart(long createTsStart) { - lastTsEnd_ = lastTsEnd; - setParameter("LastTsEnd", std::to_string(lastTsEnd)); + createTsStart_ = createTsStart; + setCoreParameter("CreateTsStart", std::to_string(createTsStart)); } std::string DescribeVulListRequest::getBatchName()const @@ -143,18 +121,7 @@ std::string DescribeVulListRequest::getBatchName()const void DescribeVulListRequest::setBatchName(const std::string& batchName) { batchName_ = batchName; - setParameter("BatchName", batchName); -} - -long DescribeVulListRequest::getPatchId()const -{ - return patchId_; -} - -void DescribeVulListRequest::setPatchId(long patchId) -{ - patchId_ = patchId; - setParameter("PatchId", std::to_string(patchId)); + setCoreParameter("BatchName", batchName); } std::string DescribeVulListRequest::getAliasName()const @@ -165,7 +132,7 @@ std::string DescribeVulListRequest::getAliasName()const void DescribeVulListRequest::setAliasName(const std::string& aliasName) { aliasName_ = aliasName; - setParameter("AliasName", aliasName); + setCoreParameter("AliasName", aliasName); } std::string DescribeVulListRequest::getSourceIp()const @@ -176,7 +143,7 @@ std::string DescribeVulListRequest::getSourceIp()const void DescribeVulListRequest::setSourceIp(const std::string& sourceIp) { sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); + setCoreParameter("SourceIp", sourceIp); } std::string DescribeVulListRequest::getName()const @@ -187,7 +154,7 @@ std::string DescribeVulListRequest::getName()const void DescribeVulListRequest::setName(const std::string& name) { name_ = name; - setParameter("Name", name); + setCoreParameter("Name", name); } int DescribeVulListRequest::getPageSize()const @@ -198,7 +165,7 @@ int DescribeVulListRequest::getPageSize()const void DescribeVulListRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } std::string DescribeVulListRequest::getLang()const @@ -209,18 +176,18 @@ std::string DescribeVulListRequest::getLang()const void DescribeVulListRequest::setLang(const std::string& lang) { lang_ = lang; - setParameter("Lang", lang); + setCoreParameter("Lang", lang); } -long DescribeVulListRequest::getLastTsStart()const +long DescribeVulListRequest::getCreateTsEnd()const { - return lastTsStart_; + return createTsEnd_; } -void DescribeVulListRequest::setLastTsStart(long lastTsStart) +void DescribeVulListRequest::setCreateTsEnd(long createTsEnd) { - lastTsStart_ = lastTsStart; - setParameter("LastTsStart", std::to_string(lastTsStart)); + createTsEnd_ = createTsEnd; + setCoreParameter("CreateTsEnd", std::to_string(createTsEnd)); } std::string DescribeVulListRequest::getNecessity()const @@ -231,7 +198,7 @@ std::string DescribeVulListRequest::getNecessity()const void DescribeVulListRequest::setNecessity(const std::string& necessity) { necessity_ = necessity; - setParameter("Necessity", necessity); + setCoreParameter("Necessity", necessity); } std::string DescribeVulListRequest::getUuids()const @@ -242,17 +209,6 @@ std::string DescribeVulListRequest::getUuids()const void DescribeVulListRequest::setUuids(const std::string& uuids) { uuids_ = uuids; - setParameter("Uuids", uuids); -} - -std::string DescribeVulListRequest::getDirection()const -{ - return direction_; -} - -void DescribeVulListRequest::setDirection(const std::string& direction) -{ - direction_ = direction; - setParameter("Direction", direction); + setCoreParameter("Uuids", uuids); } diff --git a/aegis/src/model/DescribeVulListResult.cc b/aegis/src/model/DescribeVulListResult.cc index 407c3f8bf..a9f8b0e0e 100644 --- a/aegis/src/model/DescribeVulListResult.cc +++ b/aegis/src/model/DescribeVulListResult.cc @@ -40,42 +40,153 @@ void DescribeVulListResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allVulRecords = value["VulRecords"]["vulRecord"]; - for (const auto &item : allVulRecords) - vulRecords_.push_back(item.asString()); - if(!value["Count"].isNull()) - count_ = std::stoi(value["Count"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["CurrentPage"].isNull()) - currentPage_ = std::stoi(value["CurrentPage"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); + auto allVulRecords = value["VulRecords"]["VulRecord"]; + for (auto value : allVulRecords) + { + VulRecord vulRecordsObject; + if(!value["PrimaryId"].isNull()) + vulRecordsObject.primaryId = std::stol(value["PrimaryId"].asString()); + if(!value["Uuid"].isNull()) + vulRecordsObject.uuid = value["Uuid"].asString(); + if(!value["Name"].isNull()) + vulRecordsObject.name = value["Name"].asString(); + if(!value["Tag"].isNull()) + vulRecordsObject.tag = value["Tag"].asString(); + if(!value["AliasName"].isNull()) + vulRecordsObject.aliasName = value["AliasName"].asString(); + if(!value["RecordId"].isNull()) + vulRecordsObject.recordId = std::stol(value["RecordId"].asString()); + if(!value["Type"].isNull()) + vulRecordsObject.type = value["Type"].asString(); + if(!value["Level"].isNull()) + vulRecordsObject.level = value["Level"].asString(); + if(!value["Product"].isNull()) + vulRecordsObject.product = value["Product"].asString(); + if(!value["FirstTs"].isNull()) + vulRecordsObject.firstTs = std::stol(value["FirstTs"].asString()); + if(!value["LastTs"].isNull()) + vulRecordsObject.lastTs = std::stol(value["LastTs"].asString()); + if(!value["RepairTs"].isNull()) + vulRecordsObject.repairTs = std::stol(value["RepairTs"].asString()); + if(!value["Status"].isNull()) + vulRecordsObject.status = std::stoi(value["Status"].asString()); + if(!value["Related"].isNull()) + vulRecordsObject.related = value["Related"].asString(); + if(!value["ResultCode"].isNull()) + vulRecordsObject.resultCode = value["ResultCode"].asString(); + if(!value["ResultMessage"].isNull()) + vulRecordsObject.resultMessage = value["ResultMessage"].asString(); + if(!value["ModifyTs"].isNull()) + vulRecordsObject.modifyTs = std::stol(value["ModifyTs"].asString()); + if(!value["Necessity"].isNull()) + vulRecordsObject.necessity = value["Necessity"].asString(); + if(!value["GroupId"].isNull()) + vulRecordsObject.groupId = std::stoi(value["GroupId"].asString()); + if(!value["InstanceId"].isNull()) + vulRecordsObject.instanceId = value["InstanceId"].asString(); + if(!value["InstanceName"].isNull()) + vulRecordsObject.instanceName = value["InstanceName"].asString(); + if(!value["InternetIp"].isNull()) + vulRecordsObject.internetIp = value["InternetIp"].asString(); + if(!value["IntranetIp"].isNull()) + vulRecordsObject.intranetIp = value["IntranetIp"].asString(); + if(!value["Ip"].isNull()) + vulRecordsObject.ip = value["Ip"].asString(); + if(!value["OsVersion"].isNull()) + vulRecordsObject.osVersion = value["OsVersion"].asString(); + if(!value["NeedReboot"].isNull()) + vulRecordsObject.needReboot = value["NeedReboot"].asString(); + auto extendContentJsonNode = value["ExtendContentJson"]; + if(!extendContentJsonNode["Os"].isNull()) + vulRecordsObject.extendContentJson.os = extendContentJsonNode["Os"].asString(); + if(!extendContentJsonNode["OsRelease"].isNull()) + vulRecordsObject.extendContentJson.osRelease = extendContentJsonNode["OsRelease"].asString(); + if(!extendContentJsonNode["Status"].isNull()) + vulRecordsObject.extendContentJson.status = std::stoi(extendContentJsonNode["Status"].asString()); + if(!extendContentJsonNode["LastTs"].isNull()) + vulRecordsObject.extendContentJson.lastTs = std::stol(extendContentJsonNode["LastTs"].asString()); + if(!extendContentJsonNode["AliasName"].isNull()) + vulRecordsObject.extendContentJson.aliasName = extendContentJsonNode["AliasName"].asString(); + if(!extendContentJsonNode["Tag"].isNull()) + vulRecordsObject.extendContentJson.tag = extendContentJsonNode["Tag"].asString(); + if(!extendContentJsonNode["PrimaryId"].isNull()) + vulRecordsObject.extendContentJson.primaryId = std::stol(extendContentJsonNode["PrimaryId"].asString()); + if(!extendContentJsonNode["Level"].isNull()) + vulRecordsObject.extendContentJson.level = extendContentJsonNode["Level"].asString(); + if(!extendContentJsonNode["AbsolutePath"].isNull()) + vulRecordsObject.extendContentJson.absolutePath = extendContentJsonNode["AbsolutePath"].asString(); + if(!extendContentJsonNode["Target"].isNull()) + vulRecordsObject.extendContentJson.target = extendContentJsonNode["Target"].asString(); + if(!extendContentJsonNode["Proof"].isNull()) + vulRecordsObject.extendContentJson.proof = extendContentJsonNode["Proof"].asString(); + if(!extendContentJsonNode["Reason"].isNull()) + vulRecordsObject.extendContentJson.reason = extendContentJsonNode["Reason"].asString(); + auto allRpmEntityList = value["RpmEntityList"]["RpmEntityListItem"]; + for (auto value : allRpmEntityList) + { + VulRecord::ExtendContentJson::RpmEntityListItem rpmEntityListItemObject; + if(!value["FullVersion"].isNull()) + rpmEntityListItemObject.fullVersion = value["FullVersion"].asString(); + if(!value["MatchDetail"].isNull()) + rpmEntityListItemObject.matchDetail = value["MatchDetail"].asString(); + if(!value["Name"].isNull()) + rpmEntityListItemObject.name = value["Name"].asString(); + if(!value["Path"].isNull()) + rpmEntityListItemObject.path = value["Path"].asString(); + if(!value["UpdateCmd"].isNull()) + rpmEntityListItemObject.updateCmd = value["UpdateCmd"].asString(); + if(!value["Version"].isNull()) + rpmEntityListItemObject.version = value["Version"].asString(); + vulRecordsObject.extendContentJson.rpmEntityList.push_back(rpmEntityListItemObject); + } + auto necessityNode = extendContentJsonNode["Necessity"]; + if(!necessityNode["Cvss_factor"].isNull()) + vulRecordsObject.extendContentJson.necessity.cvss_factor = necessityNode["Cvss_factor"].asString(); + if(!necessityNode["Gmt_create"].isNull()) + vulRecordsObject.extendContentJson.necessity.gmt_create = necessityNode["Gmt_create"].asString(); + if(!necessityNode["Status"].isNull()) + vulRecordsObject.extendContentJson.necessity.status = necessityNode["Status"].asString(); + if(!necessityNode["Enviroment_factor"].isNull()) + vulRecordsObject.extendContentJson.necessity.enviroment_factor = necessityNode["Enviroment_factor"].asString(); + if(!necessityNode["Assets_factor"].isNull()) + vulRecordsObject.extendContentJson.necessity.assets_factor = necessityNode["Assets_factor"].asString(); + if(!necessityNode["Is_calc"].isNull()) + vulRecordsObject.extendContentJson.necessity.is_calc = necessityNode["Is_calc"].asString(); + if(!necessityNode["Total_score"].isNull()) + vulRecordsObject.extendContentJson.necessity.total_score = necessityNode["Total_score"].asString(); + if(!necessityNode["Time_factor"].isNull()) + vulRecordsObject.extendContentJson.necessity.time_factor = necessityNode["Time_factor"].asString(); + auto allCveList = extendContentJsonNode["cveList"]["CveList"]; + for (auto value : allCveList) + vulRecordsObject.extendContentJson.cveList.push_back(value.asString()); + vulRecords_.push_back(vulRecordsObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); } -int DescribeVulListResult::getTotalCount()const -{ - return totalCount_; -} - -std::vector DescribeVulListResult::getVulRecords()const -{ - return vulRecords_; -} - -int DescribeVulListResult::getPageSize()const -{ - return pageSize_; -} - -int DescribeVulListResult::getCurrentPage()const -{ - return currentPage_; -} - -int DescribeVulListResult::getCount()const -{ - return count_; -} - +int DescribeVulListResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeVulListResult::getVulRecords()const +{ + return vulRecords_; +} + +int DescribeVulListResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeVulListResult::getCurrentPage()const +{ + return currentPage_; +} + diff --git a/aegis/src/model/DescribeVulMachineListRequest.cc b/aegis/src/model/DescribeVulMachineListRequest.cc new file mode 100644 index 000000000..47f2cdb8c --- /dev/null +++ b/aegis/src/model/DescribeVulMachineListRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeVulMachineListRequest; + +DescribeVulMachineListRequest::DescribeVulMachineListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeVulMachineList") +{} + +DescribeVulMachineListRequest::~DescribeVulMachineListRequest() +{} + +std::string DescribeVulMachineListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeVulMachineListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DescribeVulMachineListRequest::getEndTs()const +{ + return endTs_; +} + +void DescribeVulMachineListRequest::setEndTs(long endTs) +{ + endTs_ = endTs; + setCoreParameter("EndTs", std::to_string(endTs)); +} + +long DescribeVulMachineListRequest::getStartTs()const +{ + return startTs_; +} + +void DescribeVulMachineListRequest::setStartTs(long startTs) +{ + startTs_ = startTs; + setCoreParameter("StartTs", std::to_string(startTs)); +} + +std::string DescribeVulMachineListRequest::getUuids()const +{ + return uuids_; +} + +void DescribeVulMachineListRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + diff --git a/aegis/src/model/DescribeVulMachineListResult.cc b/aegis/src/model/DescribeVulMachineListResult.cc new file mode 100644 index 000000000..4b67fa234 --- /dev/null +++ b/aegis/src/model/DescribeVulMachineListResult.cc @@ -0,0 +1,91 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeVulMachineListResult::DescribeVulMachineListResult() : + ServiceResult() +{} + +DescribeVulMachineListResult::DescribeVulMachineListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVulMachineListResult::~DescribeVulMachineListResult() +{} + +void DescribeVulMachineListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allMachineStatistics = value["MachineStatistics"]["MachineStatistic"]; + for (auto value : allMachineStatistics) + { + MachineStatistic machineStatisticsObject; + if(!value["Uuid"].isNull()) + machineStatisticsObject.uuid = value["Uuid"].asString(); + if(!value["CveNum"].isNull()) + machineStatisticsObject.cveNum = std::stoi(value["CveNum"].asString()); + if(!value["EmgNum"].isNull()) + machineStatisticsObject.emgNum = std::stoi(value["EmgNum"].asString()); + if(!value["SysNum"].isNull()) + machineStatisticsObject.sysNum = std::stoi(value["SysNum"].asString()); + if(!value["CmsNum"].isNull()) + machineStatisticsObject.cmsNum = std::stoi(value["CmsNum"].asString()); + if(!value["CmsDealedTotalNum"].isNull()) + machineStatisticsObject.cmsDealedTotalNum = std::stoi(value["CmsDealedTotalNum"].asString()); + if(!value["VulDealedTotalNum"].isNull()) + machineStatisticsObject.vulDealedTotalNum = std::stoi(value["VulDealedTotalNum"].asString()); + if(!value["VulAsapSum"].isNull()) + machineStatisticsObject.vulAsapSum = std::stoi(value["VulAsapSum"].asString()); + if(!value["VulLaterSum"].isNull()) + machineStatisticsObject.vulLaterSum = std::stoi(value["VulLaterSum"].asString()); + if(!value["VulNntfSum"].isNull()) + machineStatisticsObject.vulNntfSum = std::stoi(value["VulNntfSum"].asString()); + if(!value["VulSeriousTotal"].isNull()) + machineStatisticsObject.vulSeriousTotal = std::stoi(value["VulSeriousTotal"].asString()); + if(!value["VulHighTotal"].isNull()) + machineStatisticsObject.vulHighTotal = std::stoi(value["VulHighTotal"].asString()); + if(!value["VulMediumTotal"].isNull()) + machineStatisticsObject.vulMediumTotal = std::stoi(value["VulMediumTotal"].asString()); + if(!value["VulLowTotal"].isNull()) + machineStatisticsObject.vulLowTotal = std::stoi(value["VulLowTotal"].asString()); + machineStatistics_.push_back(machineStatisticsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeVulMachineListResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeVulMachineListResult::getMachineStatistics()const +{ + return machineStatistics_; +} + diff --git a/aegis/src/model/DescribeVulNumStatisticsRequest.cc b/aegis/src/model/DescribeVulNumStatisticsRequest.cc new file mode 100644 index 000000000..f8d4a90dd --- /dev/null +++ b/aegis/src/model/DescribeVulNumStatisticsRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeVulNumStatisticsRequest; + +DescribeVulNumStatisticsRequest::DescribeVulNumStatisticsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeVulNumStatistics") +{} + +DescribeVulNumStatisticsRequest::~DescribeVulNumStatisticsRequest() +{} + +std::string DescribeVulNumStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeVulNumStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DescribeVulNumStatisticsRequest::getEndTs()const +{ + return endTs_; +} + +void DescribeVulNumStatisticsRequest::setEndTs(long endTs) +{ + endTs_ = endTs; + setCoreParameter("EndTs", std::to_string(endTs)); +} + +long DescribeVulNumStatisticsRequest::getStartTs()const +{ + return startTs_; +} + +void DescribeVulNumStatisticsRequest::setStartTs(long startTs) +{ + startTs_ = startTs; + setCoreParameter("StartTs", std::to_string(startTs)); +} + +long DescribeVulNumStatisticsRequest::getCreateTsEnd()const +{ + return createTsEnd_; +} + +void DescribeVulNumStatisticsRequest::setCreateTsEnd(long createTsEnd) +{ + createTsEnd_ = createTsEnd; + setCoreParameter("CreateTsEnd", std::to_string(createTsEnd)); +} + +long DescribeVulNumStatisticsRequest::getCreateTsStart()const +{ + return createTsStart_; +} + +void DescribeVulNumStatisticsRequest::setCreateTsStart(long createTsStart) +{ + createTsStart_ = createTsStart; + setCoreParameter("CreateTsStart", std::to_string(createTsStart)); +} + +std::string DescribeVulNumStatisticsRequest::getUuids()const +{ + return uuids_; +} + +void DescribeVulNumStatisticsRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + diff --git a/aegis/src/model/DescribeVulNumStatisticsResult.cc b/aegis/src/model/DescribeVulNumStatisticsResult.cc new file mode 100644 index 000000000..149abcd45 --- /dev/null +++ b/aegis/src/model/DescribeVulNumStatisticsResult.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeVulNumStatisticsResult::DescribeVulNumStatisticsResult() : + ServiceResult() +{} + +DescribeVulNumStatisticsResult::DescribeVulNumStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVulNumStatisticsResult::~DescribeVulNumStatisticsResult() +{} + +void DescribeVulNumStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CveNum"].isNull()) + cveNum_ = std::stoi(value["CveNum"].asString()); + if(!value["EmgNum"].isNull()) + emgNum_ = std::stoi(value["EmgNum"].asString()); + if(!value["SysNum"].isNull()) + sysNum_ = std::stoi(value["SysNum"].asString()); + if(!value["CmsNum"].isNull()) + cmsNum_ = std::stoi(value["CmsNum"].asString()); + if(!value["CmsDealedTotalNum"].isNull()) + cmsDealedTotalNum_ = std::stoi(value["CmsDealedTotalNum"].asString()); + if(!value["VulDealedTotalNum"].isNull()) + vulDealedTotalNum_ = std::stoi(value["VulDealedTotalNum"].asString()); + if(!value["VulAsapSum"].isNull()) + vulAsapSum_ = std::stoi(value["VulAsapSum"].asString()); + if(!value["VulLaterSum"].isNull()) + vulLaterSum_ = std::stoi(value["VulLaterSum"].asString()); + if(!value["VulNntfSum"].isNull()) + vulNntfSum_ = std::stoi(value["VulNntfSum"].asString()); + +} + +int DescribeVulNumStatisticsResult::getVulDealedTotalNum()const +{ + return vulDealedTotalNum_; +} + +int DescribeVulNumStatisticsResult::getVulAsapSum()const +{ + return vulAsapSum_; +} + +int DescribeVulNumStatisticsResult::getVulLaterSum()const +{ + return vulLaterSum_; +} + +int DescribeVulNumStatisticsResult::getVulNntfSum()const +{ + return vulNntfSum_; +} + +int DescribeVulNumStatisticsResult::getCveNum()const +{ + return cveNum_; +} + +int DescribeVulNumStatisticsResult::getCmsNum()const +{ + return cmsNum_; +} + +int DescribeVulNumStatisticsResult::getCmsDealedTotalNum()const +{ + return cmsDealedTotalNum_; +} + +int DescribeVulNumStatisticsResult::getEmgNum()const +{ + return emgNum_; +} + +int DescribeVulNumStatisticsResult::getSysNum()const +{ + return sysNum_; +} + diff --git a/aegis/src/model/DescribeVulTargetStatisticsRequest.cc b/aegis/src/model/DescribeVulTargetStatisticsRequest.cc new file mode 100644 index 000000000..3e483ccde --- /dev/null +++ b/aegis/src/model/DescribeVulTargetStatisticsRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeVulTargetStatisticsRequest; + +DescribeVulTargetStatisticsRequest::DescribeVulTargetStatisticsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeVulTargetStatistics") +{} + +DescribeVulTargetStatisticsRequest::~DescribeVulTargetStatisticsRequest() +{} + +std::string DescribeVulTargetStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeVulTargetStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeVulTargetStatisticsRequest::getType()const +{ + return type_; +} + +void DescribeVulTargetStatisticsRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + diff --git a/aegis/src/model/DescribeVulTargetStatisticsResult.cc b/aegis/src/model/DescribeVulTargetStatisticsResult.cc new file mode 100644 index 000000000..79caf8014 --- /dev/null +++ b/aegis/src/model/DescribeVulTargetStatisticsResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeVulTargetStatisticsResult::DescribeVulTargetStatisticsResult() : + ServiceResult() +{} + +DescribeVulTargetStatisticsResult::DescribeVulTargetStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVulTargetStatisticsResult::~DescribeVulTargetStatisticsResult() +{} + +void DescribeVulTargetStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allTargetStats = value["TargetStats"]["TargetStat"]; + for (auto value : allTargetStats) + { + TargetStat targetStatsObject; + if(!value["VulType"].isNull()) + targetStatsObject.vulType = value["VulType"].asString(); + if(!value["UuidCount"].isNull()) + targetStatsObject.uuidCount = value["UuidCount"].asString(); + if(!value["TotalCount"].isNull()) + targetStatsObject.totalCount = value["TotalCount"].asString(); + auto allTargets = value["Targets"]["Target"]; + for (auto value : allTargets) + { + TargetStat::Target targetsObject; + if(!value["Target"].isNull()) + targetsObject.target = value["Target"].asString(); + if(!value["TargetType"].isNull()) + targetsObject.targetType = value["TargetType"].asString(); + if(!value["Flag"].isNull()) + targetsObject.flag = value["Flag"].asString(); + targetStatsObject.targets.push_back(targetsObject); + } + targetStats_.push_back(targetStatsObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeVulTargetStatisticsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeVulTargetStatisticsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeVulTargetStatisticsResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeVulTargetStatisticsResult::getTargetStats()const +{ + return targetStats_; +} + diff --git a/aegis/src/model/DescribeVulWhitelistRequest.cc b/aegis/src/model/DescribeVulWhitelistRequest.cc new file mode 100644 index 000000000..b343a8b24 --- /dev/null +++ b/aegis/src/model/DescribeVulWhitelistRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeVulWhitelistRequest; + +DescribeVulWhitelistRequest::DescribeVulWhitelistRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeVulWhitelist") +{} + +DescribeVulWhitelistRequest::~DescribeVulWhitelistRequest() +{} + +std::string DescribeVulWhitelistRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeVulWhitelistRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeVulWhitelistRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeVulWhitelistRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeVulWhitelistRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeVulWhitelistRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + diff --git a/aegis/src/model/DescribeVulWhitelistResult.cc b/aegis/src/model/DescribeVulWhitelistResult.cc new file mode 100644 index 000000000..46eb450ed --- /dev/null +++ b/aegis/src/model/DescribeVulWhitelistResult.cc @@ -0,0 +1,85 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeVulWhitelistResult::DescribeVulWhitelistResult() : + ServiceResult() +{} + +DescribeVulWhitelistResult::DescribeVulWhitelistResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVulWhitelistResult::~DescribeVulWhitelistResult() +{} + +void DescribeVulWhitelistResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allVulWhitelists = value["VulWhitelists"]["VulWhitelist"]; + for (auto value : allVulWhitelists) + { + VulWhitelist vulWhitelistsObject; + if(!value["Name"].isNull()) + vulWhitelistsObject.name = value["Name"].asString(); + if(!value["Type"].isNull()) + vulWhitelistsObject.type = value["Type"].asString(); + if(!value["AliasName"].isNull()) + vulWhitelistsObject.aliasName = value["AliasName"].asString(); + if(!value["Reason"].isNull()) + vulWhitelistsObject.reason = value["Reason"].asString(); + vulWhitelists_.push_back(vulWhitelistsObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeVulWhitelistResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeVulWhitelistResult::getVulWhitelists()const +{ + return vulWhitelists_; +} + +int DescribeVulWhitelistResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeVulWhitelistResult::getCurrentPage()const +{ + return currentPage_; +} + diff --git a/aegis/src/model/DescribeVulnerabilitySummaryRequest.cc b/aegis/src/model/DescribeVulnerabilitySummaryRequest.cc new file mode 100644 index 000000000..756c07634 --- /dev/null +++ b/aegis/src/model/DescribeVulnerabilitySummaryRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeVulnerabilitySummaryRequest; + +DescribeVulnerabilitySummaryRequest::DescribeVulnerabilitySummaryRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeVulnerabilitySummary") +{} + +DescribeVulnerabilitySummaryRequest::~DescribeVulnerabilitySummaryRequest() +{} + +long DescribeVulnerabilitySummaryRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeVulnerabilitySummaryRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeVulnerabilitySummaryRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeVulnerabilitySummaryRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeVulnerabilitySummaryRequest::getCronJobId()const +{ + return cronJobId_; +} + +void DescribeVulnerabilitySummaryRequest::setCronJobId(const std::string& cronJobId) +{ + cronJobId_ = cronJobId; + setCoreParameter("CronJobId", cronJobId); +} + diff --git a/aegis/src/model/DescribeVulnerabilitySummaryResult.cc b/aegis/src/model/DescribeVulnerabilitySummaryResult.cc new file mode 100644 index 000000000..c39746413 --- /dev/null +++ b/aegis/src/model/DescribeVulnerabilitySummaryResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeVulnerabilitySummaryResult::DescribeVulnerabilitySummaryResult() : + ServiceResult() +{} + +DescribeVulnerabilitySummaryResult::DescribeVulnerabilitySummaryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVulnerabilitySummaryResult::~DescribeVulnerabilitySummaryResult() +{} + +void DescribeVulnerabilitySummaryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["SuggestionCount"].isNull()) + suggestionCount_ = std::stol(value["SuggestionCount"].asString()); + if(!value["LowCount"].isNull()) + lowCount_ = std::stol(value["LowCount"].asString()); + if(!value["MediumCount"].isNull()) + mediumCount_ = std::stol(value["MediumCount"].asString()); + if(!value["HighCount"].isNull()) + highCount_ = std::stol(value["HighCount"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + if(!value["ConcernCount"].isNull()) + concernCount_ = std::stol(value["ConcernCount"].asString()); + +} + +long DescribeVulnerabilitySummaryResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeVulnerabilitySummaryResult::getHighCount()const +{ + return highCount_; +} + +long DescribeVulnerabilitySummaryResult::getLowCount()const +{ + return lowCount_; +} + +long DescribeVulnerabilitySummaryResult::getConcernCount()const +{ + return concernCount_; +} + +long DescribeVulnerabilitySummaryResult::getMediumCount()const +{ + return mediumCount_; +} + +bool DescribeVulnerabilitySummaryResult::getSuccess()const +{ + return success_; +} + +long DescribeVulnerabilitySummaryResult::getSuggestionCount()const +{ + return suggestionCount_; +} + diff --git a/aegis/src/model/DescribeWarningMachinesRequest.cc b/aegis/src/model/DescribeWarningMachinesRequest.cc new file mode 100644 index 000000000..06d4298cc --- /dev/null +++ b/aegis/src/model/DescribeWarningMachinesRequest.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeWarningMachinesRequest; + +DescribeWarningMachinesRequest::DescribeWarningMachinesRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeWarningMachines") +{} + +DescribeWarningMachinesRequest::~DescribeWarningMachinesRequest() +{} + +std::string DescribeWarningMachinesRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWarningMachinesRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeWarningMachinesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeWarningMachinesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeWarningMachinesRequest::getMachineName()const +{ + return machineName_; +} + +void DescribeWarningMachinesRequest::setMachineName(const std::string& machineName) +{ + machineName_ = machineName; + setCoreParameter("MachineName", machineName); +} + +long DescribeWarningMachinesRequest::getStrategyId()const +{ + return strategyId_; +} + +void DescribeWarningMachinesRequest::setStrategyId(long strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); +} + +int DescribeWarningMachinesRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeWarningMachinesRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeWarningMachinesRequest::getLang()const +{ + return lang_; +} + +void DescribeWarningMachinesRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +long DescribeWarningMachinesRequest::getRiskId()const +{ + return riskId_; +} + +void DescribeWarningMachinesRequest::setRiskId(long riskId) +{ + riskId_ = riskId; + setCoreParameter("RiskId", std::to_string(riskId)); +} + +std::string DescribeWarningMachinesRequest::getUuids()const +{ + return uuids_; +} + +void DescribeWarningMachinesRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + diff --git a/aegis/src/model/DescribeWarningMachinesResult.cc b/aegis/src/model/DescribeWarningMachinesResult.cc new file mode 100644 index 000000000..09ddad903 --- /dev/null +++ b/aegis/src/model/DescribeWarningMachinesResult.cc @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeWarningMachinesResult::DescribeWarningMachinesResult() : + ServiceResult() +{} + +DescribeWarningMachinesResult::DescribeWarningMachinesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWarningMachinesResult::~DescribeWarningMachinesResult() +{} + +void DescribeWarningMachinesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allWarningMachines = value["WarningMachines"]["WarningMachine"]; + for (auto value : allWarningMachines) + { + WarningMachine warningMachinesObject; + if(!value["Uuid"].isNull()) + warningMachinesObject.uuid = value["Uuid"].asString(); + if(!value["MachineName"].isNull()) + warningMachinesObject.machineName = value["MachineName"].asString(); + if(!value["InternetIp"].isNull()) + warningMachinesObject.internetIp = value["InternetIp"].asString(); + if(!value["IntranetIp"].isNull()) + warningMachinesObject.intranetIp = value["IntranetIp"].asString(); + if(!value["PassCount"].isNull()) + warningMachinesObject.passCount = std::stoi(value["PassCount"].asString()); + if(!value["HighWarningCount"].isNull()) + warningMachinesObject.highWarningCount = std::stoi(value["HighWarningCount"].asString()); + if(!value["MediumWarningCount"].isNull()) + warningMachinesObject.mediumWarningCount = std::stoi(value["MediumWarningCount"].asString()); + if(!value["LowWarningCount"].isNull()) + warningMachinesObject.lowWarningCount = std::stoi(value["LowWarningCount"].asString()); + if(!value["Status"].isNull()) + warningMachinesObject.status = std::stoi(value["Status"].asString()); + warningMachines_.push_back(warningMachinesObject); + } + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + +} + +int DescribeWarningMachinesResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeWarningMachinesResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeWarningMachinesResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeWarningMachinesResult::getWarningMachines()const +{ + return warningMachines_; +} + +int DescribeWarningMachinesResult::getCount()const +{ + return count_; +} + diff --git a/aegis/src/model/DescribeWarningRequest.cc b/aegis/src/model/DescribeWarningRequest.cc index 1cec802d6..0a979ed12 100644 --- a/aegis/src/model/DescribeWarningRequest.cc +++ b/aegis/src/model/DescribeWarningRequest.cc @@ -33,18 +33,7 @@ std::string DescribeWarningRequest::getTypeNames()const void DescribeWarningRequest::setTypeNames(const std::string& typeNames) { typeNames_ = typeNames; - setParameter("TypeNames", typeNames); -} - -long DescribeWarningRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeWarningRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); + setCoreParameter("TypeNames", typeNames); } std::string DescribeWarningRequest::getRiskName()const @@ -55,7 +44,7 @@ std::string DescribeWarningRequest::getRiskName()const void DescribeWarningRequest::setRiskName(const std::string& riskName) { riskName_ = riskName; - setParameter("RiskName", riskName); + setCoreParameter("RiskName", riskName); } std::string DescribeWarningRequest::getStatusList()const @@ -66,7 +55,7 @@ std::string DescribeWarningRequest::getStatusList()const void DescribeWarningRequest::setStatusList(const std::string& statusList) { statusList_ = statusList; - setParameter("StatusList", statusList); + setCoreParameter("StatusList", statusList); } std::string DescribeWarningRequest::getSourceIp()const @@ -77,7 +66,7 @@ std::string DescribeWarningRequest::getSourceIp()const void DescribeWarningRequest::setSourceIp(const std::string& sourceIp) { sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); + setCoreParameter("SourceIp", sourceIp); } std::string DescribeWarningRequest::getRiskLevels()const @@ -88,7 +77,7 @@ std::string DescribeWarningRequest::getRiskLevels()const void DescribeWarningRequest::setRiskLevels(const std::string& riskLevels) { riskLevels_ = riskLevels; - setParameter("RiskLevels", riskLevels); + setCoreParameter("RiskLevels", riskLevels); } int DescribeWarningRequest::getPageSize()const @@ -99,7 +88,18 @@ int DescribeWarningRequest::getPageSize()const void DescribeWarningRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +long DescribeWarningRequest::getStrategyId()const +{ + return strategyId_; +} + +void DescribeWarningRequest::setStrategyId(long strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); } int DescribeWarningRequest::getCurrentPage()const @@ -110,7 +110,7 @@ int DescribeWarningRequest::getCurrentPage()const void DescribeWarningRequest::setCurrentPage(int currentPage) { currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); + setCoreParameter("CurrentPage", std::to_string(currentPage)); } std::string DescribeWarningRequest::getDealed()const @@ -121,7 +121,7 @@ std::string DescribeWarningRequest::getDealed()const void DescribeWarningRequest::setDealed(const std::string& dealed) { dealed_ = dealed; - setParameter("Dealed", dealed); + setCoreParameter("Dealed", dealed); } std::string DescribeWarningRequest::getSubTypeNames()const @@ -132,7 +132,7 @@ std::string DescribeWarningRequest::getSubTypeNames()const void DescribeWarningRequest::setSubTypeNames(const std::string& subTypeNames) { subTypeNames_ = subTypeNames; - setParameter("SubTypeNames", subTypeNames); + setCoreParameter("SubTypeNames", subTypeNames); } std::string DescribeWarningRequest::getUuids()const @@ -143,6 +143,6 @@ std::string DescribeWarningRequest::getUuids()const void DescribeWarningRequest::setUuids(const std::string& uuids) { uuids_ = uuids; - setParameter("Uuids", uuids); + setCoreParameter("Uuids", uuids); } diff --git a/aegis/src/model/DescribeWarningResult.cc b/aegis/src/model/DescribeWarningResult.cc index ea3d998d5..163ae6369 100644 --- a/aegis/src/model/DescribeWarningResult.cc +++ b/aegis/src/model/DescribeWarningResult.cc @@ -40,42 +40,85 @@ void DescribeWarningResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allWarnings = value["Warnings"]["warning"]; - for (const auto &item : allWarnings) - warnings_.push_back(item.asString()); - if(!value["Count"].isNull()) - count_ = std::stoi(value["Count"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["CurrentPage"].isNull()) - currentPage_ = std::stoi(value["CurrentPage"].asString()); + auto allWarnings = value["Warnings"]["Warning"]; + for (auto value : allWarnings) + { + Warning warningsObject; + if(!value["RiskWarningId"].isNull()) + warningsObject.riskWarningId = std::stol(value["RiskWarningId"].asString()); + if(!value["RiskName"].isNull()) + warningsObject.riskName = value["RiskName"].asString(); + if(!value["Uuid"].isNull()) + warningsObject.uuid = value["Uuid"].asString(); + if(!value["RirstFoundTime"].isNull()) + warningsObject.rirstFoundTime = value["RirstFoundTime"].asString(); + if(!value["LastFoundTime"].isNull()) + warningsObject.lastFoundTime = value["LastFoundTime"].asString(); + if(!value["Level"].isNull()) + warningsObject.level = value["Level"].asString(); + if(!value["TypeName"].isNull()) + warningsObject.typeName = value["TypeName"].asString(); + if(!value["SubTypeName"].isNull()) + warningsObject.subTypeName = value["SubTypeName"].asString(); + if(!value["TypeAlias"].isNull()) + warningsObject.typeAlias = value["TypeAlias"].asString(); + if(!value["SubTypeAlias"].isNull()) + warningsObject.subTypeAlias = value["SubTypeAlias"].asString(); + if(!value["Status"].isNull()) + warningsObject.status = std::stoi(value["Status"].asString()); + auto allDetails = value["Details"]["Detail"]; + for (auto value : allDetails) + { + Warning::Detail detailsObject; + auto allDetailItems = value["DetailItems"]["DetailItem"]; + for (auto value : allDetailItems) + { + Warning::Detail::DetailItem detailItemsObject; + if(!value["name"].isNull()) + detailItemsObject.name = value["name"].asString(); + if(!value["value"].isNull()) + detailItemsObject.value = value["value"].asString(); + if(!value["type"].isNull()) + detailItemsObject.type = value["type"].asString(); + detailsObject.detailItems.push_back(detailItemsObject); + } + warningsObject.details.push_back(detailsObject); + } + warnings_.push_back(warningsObject); + } + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); } -int DescribeWarningResult::getTotalCount()const -{ - return totalCount_; -} - -int DescribeWarningResult::getPageSize()const -{ - return pageSize_; -} - -int DescribeWarningResult::getCurrentPage()const -{ - return currentPage_; -} - -int DescribeWarningResult::getCount()const -{ - return count_; -} - -std::vector DescribeWarningResult::getWarnings()const -{ - return warnings_; -} - +int DescribeWarningResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeWarningResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeWarningResult::getCurrentPage()const +{ + return currentPage_; +} + +int DescribeWarningResult::getCount()const +{ + return count_; +} + +std::vector DescribeWarningResult::getWarnings()const +{ + return warnings_; +} + diff --git a/aegis/src/model/DescribeWebLockBindListRequest.cc b/aegis/src/model/DescribeWebLockBindListRequest.cc new file mode 100644 index 000000000..2e087f6d2 --- /dev/null +++ b/aegis/src/model/DescribeWebLockBindListRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeWebLockBindListRequest; + +DescribeWebLockBindListRequest::DescribeWebLockBindListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeWebLockBindList") +{} + +DescribeWebLockBindListRequest::~DescribeWebLockBindListRequest() +{} + +std::string DescribeWebLockBindListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWebLockBindListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeWebLockBindListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeWebLockBindListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeWebLockBindListRequest::getRemark()const +{ + return remark_; +} + +void DescribeWebLockBindListRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + +int DescribeWebLockBindListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeWebLockBindListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeWebLockBindListRequest::getLang()const +{ + return lang_; +} + +void DescribeWebLockBindListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeWebLockBindListRequest::getStatus()const +{ + return status_; +} + +void DescribeWebLockBindListRequest::setStatus(const std::string& status) +{ + status_ = status; + setCoreParameter("Status", status); +} + diff --git a/aegis/src/model/DescribeWebLockBindListResult.cc b/aegis/src/model/DescribeWebLockBindListResult.cc new file mode 100644 index 000000000..3bd9a4668 --- /dev/null +++ b/aegis/src/model/DescribeWebLockBindListResult.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeWebLockBindListResult::DescribeWebLockBindListResult() : + ServiceResult() +{} + +DescribeWebLockBindListResult::DescribeWebLockBindListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWebLockBindListResult::~DescribeWebLockBindListResult() +{} + +void DescribeWebLockBindListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allBindList = value["BindList"]["Bind"]; + for (auto value : allBindList) + { + Bind bindListObject; + if(!value["Uuid"].isNull()) + bindListObject.uuid = value["Uuid"].asString(); + if(!value["InstanceName"].isNull()) + bindListObject.instanceName = value["InstanceName"].asString(); + if(!value["InternetIp"].isNull()) + bindListObject.internetIp = value["InternetIp"].asString(); + if(!value["IntranetIp"].isNull()) + bindListObject.intranetIp = value["IntranetIp"].asString(); + if(!value["Os"].isNull()) + bindListObject.os = value["Os"].asString(); + if(!value["DirCount"].isNull()) + bindListObject.dirCount = value["DirCount"].asString(); + if(!value["ServiceStatus"].isNull()) + bindListObject.serviceStatus = value["ServiceStatus"].asString(); + if(!value["ServiceCode"].isNull()) + bindListObject.serviceCode = value["ServiceCode"].asString(); + if(!value["ServiceDetail"].isNull()) + bindListObject.serviceDetail = value["ServiceDetail"].asString(); + if(!value["Status"].isNull()) + bindListObject.status = value["Status"].asString(); + bindList_.push_back(bindListObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeWebLockBindListResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeWebLockBindListResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeWebLockBindListResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeWebLockBindListResult::getBindList()const +{ + return bindList_; +} + diff --git a/aegis/src/model/DescribeWebLockConfigListRequest.cc b/aegis/src/model/DescribeWebLockConfigListRequest.cc new file mode 100644 index 000000000..12c44b1bd --- /dev/null +++ b/aegis/src/model/DescribeWebLockConfigListRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeWebLockConfigListRequest; + +DescribeWebLockConfigListRequest::DescribeWebLockConfigListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeWebLockConfigList") +{} + +DescribeWebLockConfigListRequest::~DescribeWebLockConfigListRequest() +{} + +std::string DescribeWebLockConfigListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWebLockConfigListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeWebLockConfigListRequest::getLang()const +{ + return lang_; +} + +void DescribeWebLockConfigListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeWebLockConfigListRequest::getUuid()const +{ + return uuid_; +} + +void DescribeWebLockConfigListRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + diff --git a/aegis/src/model/DescribeWebLockConfigListResult.cc b/aegis/src/model/DescribeWebLockConfigListResult.cc new file mode 100644 index 000000000..300c0d994 --- /dev/null +++ b/aegis/src/model/DescribeWebLockConfigListResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeWebLockConfigListResult::DescribeWebLockConfigListResult() : + ServiceResult() +{} + +DescribeWebLockConfigListResult::DescribeWebLockConfigListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWebLockConfigListResult::~DescribeWebLockConfigListResult() +{} + +void DescribeWebLockConfigListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allConfigList = value["ConfigList"]["ConfigInfo"]; + for (auto value : allConfigList) + { + ConfigInfo configListObject; + if(!value["Id"].isNull()) + configListObject.id = value["Id"].asString(); + if(!value["Uuid"].isNull()) + configListObject.uuid = value["Uuid"].asString(); + if(!value["Dir"].isNull()) + configListObject.dir = value["Dir"].asString(); + if(!value["ExclusiveDir"].isNull()) + configListObject.exclusiveDir = value["ExclusiveDir"].asString(); + if(!value["ExclusiveFileType"].isNull()) + configListObject.exclusiveFileType = value["ExclusiveFileType"].asString(); + if(!value["LocalBackupDir"].isNull()) + configListObject.localBackupDir = value["LocalBackupDir"].asString(); + configList_.push_back(configListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeWebLockConfigListResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeWebLockConfigListResult::getConfigList()const +{ + return configList_; +} + diff --git a/aegis/src/model/DescribeWebLockEventsRequest.cc b/aegis/src/model/DescribeWebLockEventsRequest.cc new file mode 100644 index 000000000..16524342b --- /dev/null +++ b/aegis/src/model/DescribeWebLockEventsRequest.cc @@ -0,0 +1,148 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeWebLockEventsRequest; + +DescribeWebLockEventsRequest::DescribeWebLockEventsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeWebLockEvents") +{} + +DescribeWebLockEventsRequest::~DescribeWebLockEventsRequest() +{} + +std::string DescribeWebLockEventsRequest::getStatusList()const +{ + return statusList_; +} + +void DescribeWebLockEventsRequest::setStatusList(const std::string& statusList) +{ + statusList_ = statusList; + setCoreParameter("StatusList", statusList); +} + +std::string DescribeWebLockEventsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWebLockEventsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeWebLockEventsRequest::getLevel()const +{ + return level_; +} + +void DescribeWebLockEventsRequest::setLevel(const std::string& level) +{ + level_ = level; + setCoreParameter("Level", level); +} + +std::string DescribeWebLockEventsRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeWebLockEventsRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", groupId); +} + +int DescribeWebLockEventsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeWebLockEventsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeWebLockEventsRequest::getRemark()const +{ + return remark_; +} + +void DescribeWebLockEventsRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + +std::string DescribeWebLockEventsRequest::getDealed()const +{ + return dealed_; +} + +void DescribeWebLockEventsRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setCoreParameter("Dealed", dealed); +} + +int DescribeWebLockEventsRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeWebLockEventsRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeWebLockEventsRequest::getTag()const +{ + return tag_; +} + +void DescribeWebLockEventsRequest::setTag(const std::string& tag) +{ + tag_ = tag; + setCoreParameter("Tag", tag); +} + +std::string DescribeWebLockEventsRequest::getLang()const +{ + return lang_; +} + +void DescribeWebLockEventsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string DescribeWebLockEventsRequest::getEventName()const +{ + return eventName_; +} + +void DescribeWebLockEventsRequest::setEventName(const std::string& eventName) +{ + eventName_ = eventName; + setCoreParameter("EventName", eventName); +} + diff --git a/aegis/src/model/DescribeWebLockEventsResult.cc b/aegis/src/model/DescribeWebLockEventsResult.cc new file mode 100644 index 000000000..507534f47 --- /dev/null +++ b/aegis/src/model/DescribeWebLockEventsResult.cc @@ -0,0 +1,101 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeWebLockEventsResult::DescribeWebLockEventsResult() : + ServiceResult() +{} + +DescribeWebLockEventsResult::DescribeWebLockEventsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWebLockEventsResult::~DescribeWebLockEventsResult() +{} + +void DescribeWebLockEventsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allEventList = value["EventList"]["EventInfo"]; + for (auto value : allEventList) + { + EventInfo eventListObject; + if(!value["Uuid"].isNull()) + eventListObject.uuid = value["Uuid"].asString(); + if(!value["Ip"].isNull()) + eventListObject.ip = value["Ip"].asString(); + if(!value["InternetIp"].isNull()) + eventListObject.internetIp = value["InternetIp"].asString(); + if(!value["IntranetIp"].isNull()) + eventListObject.intranetIp = value["IntranetIp"].asString(); + if(!value["InstanceName"].isNull()) + eventListObject.instanceName = value["InstanceName"].asString(); + if(!value["EventType"].isNull()) + eventListObject.eventType = value["EventType"].asString(); + if(!value["EventName"].isNull()) + eventListObject.eventName = value["EventName"].asString(); + if(!value["Level"].isNull()) + eventListObject.level = value["Level"].asString(); + if(!value["Status"].isNull()) + eventListObject.status = value["Status"].asString(); + if(!value["GmtEvent"].isNull()) + eventListObject.gmtEvent = std::stol(value["GmtEvent"].asString()); + if(!value["Path"].isNull()) + eventListObject.path = value["Path"].asString(); + if(!value["Solution"].isNull()) + eventListObject.solution = value["Solution"].asString(); + eventList_.push_back(eventListObject); + } + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeWebLockEventsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeWebLockEventsResult::getPageSize()const +{ + return pageSize_; +} + +std::vector DescribeWebLockEventsResult::getEventList()const +{ + return eventList_; +} + +int DescribeWebLockEventsResult::getCurrentPage()const +{ + return currentPage_; +} + diff --git a/aegis/src/model/DescribeWebLockMachineListRequest.cc b/aegis/src/model/DescribeWebLockMachineListRequest.cc new file mode 100644 index 000000000..693b3571c --- /dev/null +++ b/aegis/src/model/DescribeWebLockMachineListRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeWebLockMachineListRequest; + +DescribeWebLockMachineListRequest::DescribeWebLockMachineListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeWebLockMachineList") +{} + +DescribeWebLockMachineListRequest::~DescribeWebLockMachineListRequest() +{} + +std::string DescribeWebLockMachineListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWebLockMachineListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeWebLockMachineListRequest::getLang()const +{ + return lang_; +} + +void DescribeWebLockMachineListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeWebLockMachineListResult.cc b/aegis/src/model/DescribeWebLockMachineListResult.cc new file mode 100644 index 000000000..d76a94eaa --- /dev/null +++ b/aegis/src/model/DescribeWebLockMachineListResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeWebLockMachineListResult::DescribeWebLockMachineListResult() : + ServiceResult() +{} + +DescribeWebLockMachineListResult::DescribeWebLockMachineListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWebLockMachineListResult::~DescribeWebLockMachineListResult() +{} + +void DescribeWebLockMachineListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allMachineList = value["MachineList"]["MachineInfo"]; + for (auto value : allMachineList) + { + MachineInfo machineListObject; + if(!value["Uuid"].isNull()) + machineListObject.uuid = value["Uuid"].asString(); + if(!value["InternetIp"].isNull()) + machineListObject.internetIp = value["InternetIp"].asString(); + if(!value["IntranetIp"].isNull()) + machineListObject.intranetIp = value["IntranetIp"].asString(); + if(!value["InstanceId"].isNull()) + machineListObject.instanceId = value["InstanceId"].asString(); + if(!value["InstanceName"].isNull()) + machineListObject.instanceName = value["InstanceName"].asString(); + if(!value["Status"].isNull()) + machineListObject.status = value["Status"].asString(); + machineList_.push_back(machineListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +std::vector DescribeWebLockMachineListResult::getMachineList()const +{ + return machineList_; +} + +int DescribeWebLockMachineListResult::getTotalCount()const +{ + return totalCount_; +} + diff --git a/aegis/src/model/DescribeWebLockStatusRequest.cc b/aegis/src/model/DescribeWebLockStatusRequest.cc new file mode 100644 index 000000000..7e7d5964c --- /dev/null +++ b/aegis/src/model/DescribeWebLockStatusRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeWebLockStatusRequest; + +DescribeWebLockStatusRequest::DescribeWebLockStatusRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeWebLockStatus") +{} + +DescribeWebLockStatusRequest::~DescribeWebLockStatusRequest() +{} + +std::string DescribeWebLockStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWebLockStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeWebLockStatusRequest::getFrom()const +{ + return from_; +} + +void DescribeWebLockStatusRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string DescribeWebLockStatusRequest::getLang()const +{ + return lang_; +} + +void DescribeWebLockStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeWebLockStatusResult.cc b/aegis/src/model/DescribeWebLockStatusResult.cc new file mode 100644 index 000000000..423d83f0f --- /dev/null +++ b/aegis/src/model/DescribeWebLockStatusResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeWebLockStatusResult::DescribeWebLockStatusResult() : + ServiceResult() +{} + +DescribeWebLockStatusResult::DescribeWebLockStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWebLockStatusResult::~DescribeWebLockStatusResult() +{} + +void DescribeWebLockStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["AuthCount"].isNull()) + authCount_ = std::stoi(value["AuthCount"].asString()); + if(!value["BindCount"].isNull()) + bindCount_ = std::stoi(value["BindCount"].asString()); + if(!value["ExpireTime"].isNull()) + expireTime_ = std::stol(value["ExpireTime"].asString()); + +} + +int DescribeWebLockStatusResult::getBindCount()const +{ + return bindCount_; +} + +long DescribeWebLockStatusResult::getExpireTime()const +{ + return expireTime_; +} + +int DescribeWebLockStatusResult::getAuthCount()const +{ + return authCount_; +} + diff --git a/aegis/src/model/DescribeWebshellRequest.cc b/aegis/src/model/DescribeWebshellRequest.cc index 380892e2c..e2ec8e911 100644 --- a/aegis/src/model/DescribeWebshellRequest.cc +++ b/aegis/src/model/DescribeWebshellRequest.cc @@ -25,17 +25,6 @@ DescribeWebshellRequest::DescribeWebshellRequest() : DescribeWebshellRequest::~DescribeWebshellRequest() {} -long DescribeWebshellRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeWebshellRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - std::string DescribeWebshellRequest::getSourceIp()const { return sourceIp_; @@ -44,7 +33,7 @@ std::string DescribeWebshellRequest::getSourceIp()const void DescribeWebshellRequest::setSourceIp(const std::string& sourceIp) { sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); + setCoreParameter("SourceIp", sourceIp); } int DescribeWebshellRequest::getGroupId()const @@ -55,7 +44,7 @@ int DescribeWebshellRequest::getGroupId()const void DescribeWebshellRequest::setGroupId(int groupId) { groupId_ = groupId; - setParameter("GroupId", std::to_string(groupId)); + setCoreParameter("GroupId", std::to_string(groupId)); } std::string DescribeWebshellRequest::getRemark()const @@ -66,6 +55,28 @@ std::string DescribeWebshellRequest::getRemark()const void DescribeWebshellRequest::setRemark(const std::string& remark) { remark_ = remark; - setParameter("Remark", remark); + setCoreParameter("Remark", remark); +} + +std::string DescribeWebshellRequest::getDealed()const +{ + return dealed_; +} + +void DescribeWebshellRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setCoreParameter("Dealed", dealed); +} + +int DescribeWebshellRequest::getTag()const +{ + return tag_; +} + +void DescribeWebshellRequest::setTag(int tag) +{ + tag_ = tag; + setCoreParameter("Tag", std::to_string(tag)); } diff --git a/aegis/src/model/DescribeWebshellResult.cc b/aegis/src/model/DescribeWebshellResult.cc index a39445b5e..5f70f865c 100644 --- a/aegis/src/model/DescribeWebshellResult.cc +++ b/aegis/src/model/DescribeWebshellResult.cc @@ -40,27 +40,45 @@ void DescribeWebshellResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["CurrentPage"].isNull()) - currentPage_ = std::stoi(value["CurrentPage"].asString()); + auto allWebshellList = value["WebshellList"]["WebshellListItem"]; + for (auto value : allWebshellList) + { + WebshellListItem webshellListObject; + if(!value["Os"].isNull()) + webshellListObject.os = value["Os"].asString(); + if(!value["InstanceName"].isNull()) + webshellListObject.instanceName = value["InstanceName"].asString(); + if(!value["GroupId"].isNull()) + webshellListObject.groupId = std::stol(value["GroupId"].asString()); + if(!value["Ip"].isNull()) + webshellListObject.ip = value["Ip"].asString(); + if(!value["Uuid"].isNull()) + webshellListObject.uuid = value["Uuid"].asString(); + if(!value["FoundTime"].isNull()) + webshellListObject.foundTime = value["FoundTime"].asString(); + if(!value["InstanceId"].isNull()) + webshellListObject.instanceId = value["InstanceId"].asString(); + if(!value["TrojanType"].isNull()) + webshellListObject.trojanType = value["TrojanType"].asString(); + if(!value["FirstFoundTime"].isNull()) + webshellListObject.firstFoundTime = value["FirstFoundTime"].asString(); + if(!value["TrojanSize"].isNull()) + webshellListObject.trojanSize = std::stol(value["TrojanSize"].asString()); + if(!value["Domain"].isNull()) + webshellListObject.domain = value["Domain"].asString(); + if(!value["TrojanPath"].isNull()) + webshellListObject.trojanPath = value["TrojanPath"].asString(); + if(!value["Region"].isNull()) + webshellListObject.region = value["Region"].asString(); + if(!value["Status"].isNull()) + webshellListObject.status = std::stoi(value["Status"].asString()); + webshellList_.push_back(webshellListObject); + } } -int DescribeWebshellResult::getTotalCount()const -{ - return totalCount_; -} - -int DescribeWebshellResult::getPageSize()const -{ - return pageSize_; -} - -int DescribeWebshellResult::getCurrentPage()const -{ - return currentPage_; -} - +std::vector DescribeWebshellResult::getWebshellList()const +{ + return webshellList_; +} + diff --git a/aegis/src/model/DescribeWhiteListAssetRequest.cc b/aegis/src/model/DescribeWhiteListAssetRequest.cc new file mode 100644 index 000000000..5a2a4a99d --- /dev/null +++ b/aegis/src/model/DescribeWhiteListAssetRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeWhiteListAssetRequest; + +DescribeWhiteListAssetRequest::DescribeWhiteListAssetRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeWhiteListAsset") +{} + +DescribeWhiteListAssetRequest::~DescribeWhiteListAssetRequest() +{} + +std::string DescribeWhiteListAssetRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWhiteListAssetRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DescribeWhiteListAssetRequest::getLastMaxId()const +{ + return lastMaxId_; +} + +void DescribeWhiteListAssetRequest::setLastMaxId(long lastMaxId) +{ + lastMaxId_ = lastMaxId; + setCoreParameter("LastMaxId", std::to_string(lastMaxId)); +} + +int DescribeWhiteListAssetRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeWhiteListAssetRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +long DescribeWhiteListAssetRequest::getStrategyId()const +{ + return strategyId_; +} + +void DescribeWhiteListAssetRequest::setStrategyId(long strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); +} + +std::string DescribeWhiteListAssetRequest::getLang()const +{ + return lang_; +} + +void DescribeWhiteListAssetRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +int DescribeWhiteListAssetRequest::getType()const +{ + return type_; +} + +void DescribeWhiteListAssetRequest::setType(int type) +{ + type_ = type; + setCoreParameter("Type", std::to_string(type)); +} + diff --git a/aegis/src/model/DescribeWhiteListAssetResult.cc b/aegis/src/model/DescribeWhiteListAssetResult.cc new file mode 100644 index 000000000..1bc06e9e2 --- /dev/null +++ b/aegis/src/model/DescribeWhiteListAssetResult.cc @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeWhiteListAssetResult::DescribeWhiteListAssetResult() : + ServiceResult() +{} + +DescribeWhiteListAssetResult::DescribeWhiteListAssetResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWhiteListAssetResult::~DescribeWhiteListAssetResult() +{} + +void DescribeWhiteListAssetResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allAssets = value["Assets"]["Asset"]; + for (auto value : allAssets) + { + Asset assetsObject; + if(!value["Id"].isNull()) + assetsObject.id = std::stol(value["Id"].asString()); + if(!value["Uuid"].isNull()) + assetsObject.uuid = value["Uuid"].asString(); + if(!value["GroupId"].isNull()) + assetsObject.groupId = std::stol(value["GroupId"].asString()); + if(!value["MachineName"].isNull()) + assetsObject.machineName = value["MachineName"].asString(); + if(!value["MachineIp"].isNull()) + assetsObject.machineIp = value["MachineIp"].asString(); + if(!value["Selected"].isNull()) + assetsObject.selected = std::stoi(value["Selected"].asString()); + if(!value["AllowSelected"].isNull()) + assetsObject.allowSelected = std::stoi(value["AllowSelected"].asString()); + assets_.push_back(assetsObject); + } + +} + +std::vector DescribeWhiteListAssetResult::getAssets()const +{ + return assets_; +} + diff --git a/aegis/src/model/DescribeWhiteListAuthorizeRequest.cc b/aegis/src/model/DescribeWhiteListAuthorizeRequest.cc new file mode 100644 index 000000000..41d2a9a5f --- /dev/null +++ b/aegis/src/model/DescribeWhiteListAuthorizeRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeWhiteListAuthorizeRequest; + +DescribeWhiteListAuthorizeRequest::DescribeWhiteListAuthorizeRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeWhiteListAuthorize") +{} + +DescribeWhiteListAuthorizeRequest::~DescribeWhiteListAuthorizeRequest() +{} + +std::string DescribeWhiteListAuthorizeRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWhiteListAuthorizeRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeWhiteListAuthorizeRequest::getLang()const +{ + return lang_; +} + +void DescribeWhiteListAuthorizeRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeWhiteListAuthorizeResult.cc b/aegis/src/model/DescribeWhiteListAuthorizeResult.cc new file mode 100644 index 000000000..c9e96df40 --- /dev/null +++ b/aegis/src/model/DescribeWhiteListAuthorizeResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeWhiteListAuthorizeResult::DescribeWhiteListAuthorizeResult() : + ServiceResult() +{} + +DescribeWhiteListAuthorizeResult::DescribeWhiteListAuthorizeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWhiteListAuthorizeResult::~DescribeWhiteListAuthorizeResult() +{} + +void DescribeWhiteListAuthorizeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["AvailableAuthorizeNum"].isNull()) + availableAuthorizeNum_ = std::stoi(value["AvailableAuthorizeNum"].asString()); + +} + +int DescribeWhiteListAuthorizeResult::getAvailableAuthorizeNum()const +{ + return availableAuthorizeNum_; +} + diff --git a/aegis/src/model/DescribeWhiteListEffectiveAssetsRequest.cc b/aegis/src/model/DescribeWhiteListEffectiveAssetsRequest.cc new file mode 100644 index 000000000..9b1733cc2 --- /dev/null +++ b/aegis/src/model/DescribeWhiteListEffectiveAssetsRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeWhiteListEffectiveAssetsRequest; + +DescribeWhiteListEffectiveAssetsRequest::DescribeWhiteListEffectiveAssetsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeWhiteListEffectiveAssets") +{} + +DescribeWhiteListEffectiveAssetsRequest::~DescribeWhiteListEffectiveAssetsRequest() +{} + +std::string DescribeWhiteListEffectiveAssetsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWhiteListEffectiveAssetsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeWhiteListEffectiveAssetsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeWhiteListEffectiveAssetsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeWhiteListEffectiveAssetsRequest::getRemark()const +{ + return remark_; +} + +void DescribeWhiteListEffectiveAssetsRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + +long DescribeWhiteListEffectiveAssetsRequest::getStrategyId()const +{ + return strategyId_; +} + +void DescribeWhiteListEffectiveAssetsRequest::setStrategyId(long strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); +} + +int DescribeWhiteListEffectiveAssetsRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeWhiteListEffectiveAssetsRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeWhiteListEffectiveAssetsRequest::getLang()const +{ + return lang_; +} + +void DescribeWhiteListEffectiveAssetsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +int DescribeWhiteListEffectiveAssetsRequest::getNeedStatistics()const +{ + return needStatistics_; +} + +void DescribeWhiteListEffectiveAssetsRequest::setNeedStatistics(int needStatistics) +{ + needStatistics_ = needStatistics; + setCoreParameter("NeedStatistics", std::to_string(needStatistics)); +} + diff --git a/aegis/src/model/DescribeWhiteListEffectiveAssetsResult.cc b/aegis/src/model/DescribeWhiteListEffectiveAssetsResult.cc new file mode 100644 index 000000000..cd9619de0 --- /dev/null +++ b/aegis/src/model/DescribeWhiteListEffectiveAssetsResult.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeWhiteListEffectiveAssetsResult::DescribeWhiteListEffectiveAssetsResult() : + ServiceResult() +{} + +DescribeWhiteListEffectiveAssetsResult::DescribeWhiteListEffectiveAssetsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWhiteListEffectiveAssetsResult::~DescribeWhiteListEffectiveAssetsResult() +{} + +void DescribeWhiteListEffectiveAssetsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allAssets = value["Assets"]["Asset"]; + for (auto value : allAssets) + { + Asset assetsObject; + if(!value["Uuid"].isNull()) + assetsObject.uuid = value["Uuid"].asString(); + if(!value["MachineName"].isNull()) + assetsObject.machineName = value["MachineName"].asString(); + if(!value["InternetIp"].isNull()) + assetsObject.internetIp = value["InternetIp"].asString(); + if(!value["IntranetIp"].isNull()) + assetsObject.intranetIp = value["IntranetIp"].asString(); + if(!value["StrategyId"].isNull()) + assetsObject.strategyId = std::stol(value["StrategyId"].asString()); + if(!value["StrategyName"].isNull()) + assetsObject.strategyName = value["StrategyName"].asString(); + if(!value["SuspiciousEventCount"].isNull()) + assetsObject.suspiciousEventCount = std::stoi(value["SuspiciousEventCount"].asString()); + if(!value["ProcessMethod"].isNull()) + assetsObject.processMethod = std::stoi(value["ProcessMethod"].asString()); + assets_.push_back(assetsObject); + } + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + +} + +int DescribeWhiteListEffectiveAssetsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeWhiteListEffectiveAssetsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeWhiteListEffectiveAssetsResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeWhiteListEffectiveAssetsResult::getAssets()const +{ + return assets_; +} + +int DescribeWhiteListEffectiveAssetsResult::getCount()const +{ + return count_; +} + diff --git a/aegis/src/model/DescribeWhiteListProcessRequest.cc b/aegis/src/model/DescribeWhiteListProcessRequest.cc new file mode 100644 index 000000000..e6f267729 --- /dev/null +++ b/aegis/src/model/DescribeWhiteListProcessRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeWhiteListProcessRequest; + +DescribeWhiteListProcessRequest::DescribeWhiteListProcessRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeWhiteListProcess") +{} + +DescribeWhiteListProcessRequest::~DescribeWhiteListProcessRequest() +{} + +std::string DescribeWhiteListProcessRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWhiteListProcessRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeWhiteListProcessRequest::getProcessName()const +{ + return processName_; +} + +void DescribeWhiteListProcessRequest::setProcessName(const std::string& processName) +{ + processName_ = processName; + setCoreParameter("ProcessName", processName); +} + +int DescribeWhiteListProcessRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeWhiteListProcessRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int DescribeWhiteListProcessRequest::getProcessType()const +{ + return processType_; +} + +void DescribeWhiteListProcessRequest::setProcessType(int processType) +{ + processType_ = processType; + setCoreParameter("ProcessType", std::to_string(processType)); +} + +int DescribeWhiteListProcessRequest::getOrderBy()const +{ + return orderBy_; +} + +void DescribeWhiteListProcessRequest::setOrderBy(int orderBy) +{ + orderBy_ = orderBy; + setCoreParameter("OrderBy", std::to_string(orderBy)); +} + +long DescribeWhiteListProcessRequest::getStrategyId()const +{ + return strategyId_; +} + +void DescribeWhiteListProcessRequest::setStrategyId(long strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); +} + +int DescribeWhiteListProcessRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeWhiteListProcessRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeWhiteListProcessRequest::getLang()const +{ + return lang_; +} + +void DescribeWhiteListProcessRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +int DescribeWhiteListProcessRequest::getDesc()const +{ + return desc_; +} + +void DescribeWhiteListProcessRequest::setDesc(int desc) +{ + desc_ = desc; + setCoreParameter("Desc", std::to_string(desc)); +} + diff --git a/aegis/src/model/DescribeWhiteListProcessResult.cc b/aegis/src/model/DescribeWhiteListProcessResult.cc new file mode 100644 index 000000000..d4e9ed973 --- /dev/null +++ b/aegis/src/model/DescribeWhiteListProcessResult.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeWhiteListProcessResult::DescribeWhiteListProcessResult() : + ServiceResult() +{} + +DescribeWhiteListProcessResult::DescribeWhiteListProcessResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWhiteListProcessResult::~DescribeWhiteListProcessResult() +{} + +void DescribeWhiteListProcessResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allProcesses = value["Processes"]["Process"]; + for (auto value : allProcesses) + { + Process processesObject; + if(!value["Id"].isNull()) + processesObject.id = std::stol(value["Id"].asString()); + if(!value["ProcessId"].isNull()) + processesObject.processId = std::stoi(value["ProcessId"].asString()); + if(!value["ProcessName"].isNull()) + processesObject.processName = value["ProcessName"].asString(); + if(!value["FilePath"].isNull()) + processesObject.filePath = value["FilePath"].asString(); + if(!value["Md5"].isNull()) + processesObject.md5 = value["Md5"].asString(); + if(!value["Level"].isNull()) + processesObject.level = std::stoi(value["Level"].asString()); + if(!value["ProcessType"].isNull()) + processesObject.processType = std::stoi(value["ProcessType"].asString()); + if(!value["Status"].isNull()) + processesObject.status = std::stoi(value["Status"].asString()); + processes_.push_back(processesObject); + } + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + +} + +int DescribeWhiteListProcessResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeWhiteListProcessResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeWhiteListProcessResult::getCurrentPage()const +{ + return currentPage_; +} + +int DescribeWhiteListProcessResult::getCount()const +{ + return count_; +} + +std::vector DescribeWhiteListProcessResult::getProcesses()const +{ + return processes_; +} + diff --git a/aegis/src/model/DescribeWhiteListStrategyCountRequest.cc b/aegis/src/model/DescribeWhiteListStrategyCountRequest.cc new file mode 100644 index 000000000..72b2013dc --- /dev/null +++ b/aegis/src/model/DescribeWhiteListStrategyCountRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeWhiteListStrategyCountRequest; + +DescribeWhiteListStrategyCountRequest::DescribeWhiteListStrategyCountRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeWhiteListStrategyCount") +{} + +DescribeWhiteListStrategyCountRequest::~DescribeWhiteListStrategyCountRequest() +{} + +std::string DescribeWhiteListStrategyCountRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWhiteListStrategyCountRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeWhiteListStrategyCountRequest::getLang()const +{ + return lang_; +} + +void DescribeWhiteListStrategyCountRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeWhiteListStrategyCountResult.cc b/aegis/src/model/DescribeWhiteListStrategyCountResult.cc new file mode 100644 index 000000000..614243ca9 --- /dev/null +++ b/aegis/src/model/DescribeWhiteListStrategyCountResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeWhiteListStrategyCountResult::DescribeWhiteListStrategyCountResult() : + ServiceResult() +{} + +DescribeWhiteListStrategyCountResult::DescribeWhiteListStrategyCountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWhiteListStrategyCountResult::~DescribeWhiteListStrategyCountResult() +{} + +void DescribeWhiteListStrategyCountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["StrategyCount"].isNull()) + strategyCount_ = std::stoi(value["StrategyCount"].asString()); + +} + +int DescribeWhiteListStrategyCountResult::getStrategyCount()const +{ + return strategyCount_; +} + diff --git a/aegis/src/model/DescribeWhiteListStrategyListRequest.cc b/aegis/src/model/DescribeWhiteListStrategyListRequest.cc new file mode 100644 index 000000000..2eb9b5bc8 --- /dev/null +++ b/aegis/src/model/DescribeWhiteListStrategyListRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::DescribeWhiteListStrategyListRequest; + +DescribeWhiteListStrategyListRequest::DescribeWhiteListStrategyListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeWhiteListStrategyList") +{} + +DescribeWhiteListStrategyListRequest::~DescribeWhiteListStrategyListRequest() +{} + +std::string DescribeWhiteListStrategyListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWhiteListStrategyListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribeWhiteListStrategyListRequest::getStrategyIds()const +{ + return strategyIds_; +} + +void DescribeWhiteListStrategyListRequest::setStrategyIds(const std::string& strategyIds) +{ + strategyIds_ = strategyIds; + setCoreParameter("StrategyIds", strategyIds); +} + +std::string DescribeWhiteListStrategyListRequest::getLang()const +{ + return lang_; +} + +void DescribeWhiteListStrategyListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeWhiteListStrategyListResult.cc b/aegis/src/model/DescribeWhiteListStrategyListResult.cc new file mode 100644 index 000000000..06a22e4bb --- /dev/null +++ b/aegis/src/model/DescribeWhiteListStrategyListResult.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeWhiteListStrategyListResult::DescribeWhiteListStrategyListResult() : + ServiceResult() +{} + +DescribeWhiteListStrategyListResult::DescribeWhiteListStrategyListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWhiteListStrategyListResult::~DescribeWhiteListStrategyListResult() +{} + +void DescribeWhiteListStrategyListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allStrategies = value["Strategies"]["Strategy"]; + for (auto value : allStrategies) + { + Strategy strategiesObject; + if(!value["StrategyId"].isNull()) + strategiesObject.strategyId = std::stol(value["StrategyId"].asString()); + if(!value["StrategyName"].isNull()) + strategiesObject.strategyName = value["StrategyName"].asString(); + if(!value["StudyTime"].isNull()) + strategiesObject.studyTime = std::stoi(value["StudyTime"].asString()); + if(!value["Status"].isNull()) + strategiesObject.status = std::stoi(value["Status"].asString()); + strategies_.push_back(strategiesObject); + } + +} + +std::vector DescribeWhiteListStrategyListResult::getStrategies()const +{ + return strategies_; +} + diff --git a/aegis/src/model/DescribeWhiteListStrategyStatisticsRequest.cc b/aegis/src/model/DescribeWhiteListStrategyStatisticsRequest.cc new file mode 100644 index 000000000..6d07b6e44 --- /dev/null +++ b/aegis/src/model/DescribeWhiteListStrategyStatisticsRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeWhiteListStrategyStatisticsRequest; + +DescribeWhiteListStrategyStatisticsRequest::DescribeWhiteListStrategyStatisticsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeWhiteListStrategyStatistics") +{} + +DescribeWhiteListStrategyStatisticsRequest::~DescribeWhiteListStrategyStatisticsRequest() +{} + +std::string DescribeWhiteListStrategyStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWhiteListStrategyStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int DescribeWhiteListStrategyStatisticsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeWhiteListStrategyStatisticsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeWhiteListStrategyStatisticsRequest::getStrategyIds()const +{ + return strategyIds_; +} + +void DescribeWhiteListStrategyStatisticsRequest::setStrategyIds(const std::string& strategyIds) +{ + strategyIds_ = strategyIds; + setCoreParameter("StrategyIds", strategyIds); +} + +int DescribeWhiteListStrategyStatisticsRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeWhiteListStrategyStatisticsRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeWhiteListStrategyStatisticsRequest::getLang()const +{ + return lang_; +} + +void DescribeWhiteListStrategyStatisticsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/DescribeWhiteListStrategyStatisticsResult.cc b/aegis/src/model/DescribeWhiteListStrategyStatisticsResult.cc new file mode 100644 index 000000000..3918af1ed --- /dev/null +++ b/aegis/src/model/DescribeWhiteListStrategyStatisticsResult.cc @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeWhiteListStrategyStatisticsResult::DescribeWhiteListStrategyStatisticsResult() : + ServiceResult() +{} + +DescribeWhiteListStrategyStatisticsResult::DescribeWhiteListStrategyStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWhiteListStrategyStatisticsResult::~DescribeWhiteListStrategyStatisticsResult() +{} + +void DescribeWhiteListStrategyStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allStrategies = value["Strategies"]["Strategy"]; + for (auto value : allStrategies) + { + Strategy strategiesObject; + if(!value["StrategyId"].isNull()) + strategiesObject.strategyId = std::stol(value["StrategyId"].asString()); + if(!value["StrategyName"].isNull()) + strategiesObject.strategyName = value["StrategyName"].asString(); + if(!value["StudyTime"].isNull()) + strategiesObject.studyTime = std::stoi(value["StudyTime"].asString()); + if(!value["AssetCount"].isNull()) + strategiesObject.assetCount = std::stoi(value["AssetCount"].asString()); + if(!value["Status"].isNull()) + strategiesObject.status = std::stoi(value["Status"].asString()); + if(!value["TrustProcCount"].isNull()) + strategiesObject.trustProcCount = std::stoi(value["TrustProcCount"].asString()); + if(!value["SuspiciousProcCount"].isNull()) + strategiesObject.suspiciousProcCount = std::stoi(value["SuspiciousProcCount"].asString()); + if(!value["VirusProcCount"].isNull()) + strategiesObject.virusProcCount = std::stoi(value["VirusProcCount"].asString()); + if(!value["Progress"].isNull()) + strategiesObject.progress = std::stoi(value["Progress"].asString()); + strategies_.push_back(strategiesObject); + } + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + +} + +int DescribeWhiteListStrategyStatisticsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeWhiteListStrategyStatisticsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeWhiteListStrategyStatisticsResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeWhiteListStrategyStatisticsResult::getStrategies()const +{ + return strategies_; +} + +int DescribeWhiteListStrategyStatisticsResult::getCount()const +{ + return count_; +} + diff --git a/aegis/src/model/DescribeWhiteListStrategyUuidCountRequest.cc b/aegis/src/model/DescribeWhiteListStrategyUuidCountRequest.cc new file mode 100644 index 000000000..42fb3fb78 --- /dev/null +++ b/aegis/src/model/DescribeWhiteListStrategyUuidCountRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeWhiteListStrategyUuidCountRequest; + +DescribeWhiteListStrategyUuidCountRequest::DescribeWhiteListStrategyUuidCountRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeWhiteListStrategyUuidCount") +{} + +DescribeWhiteListStrategyUuidCountRequest::~DescribeWhiteListStrategyUuidCountRequest() +{} + +std::string DescribeWhiteListStrategyUuidCountRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeWhiteListStrategyUuidCountRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long DescribeWhiteListStrategyUuidCountRequest::getStrategyId()const +{ + return strategyId_; +} + +void DescribeWhiteListStrategyUuidCountRequest::setStrategyId(long strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); +} + +std::string DescribeWhiteListStrategyUuidCountRequest::getLang()const +{ + return lang_; +} + +void DescribeWhiteListStrategyUuidCountRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +int DescribeWhiteListStrategyUuidCountRequest::getType()const +{ + return type_; +} + +void DescribeWhiteListStrategyUuidCountRequest::setType(int type) +{ + type_ = type; + setCoreParameter("Type", std::to_string(type)); +} + diff --git a/aegis/src/model/DescribeWhiteListStrategyUuidCountResult.cc b/aegis/src/model/DescribeWhiteListStrategyUuidCountResult.cc new file mode 100644 index 000000000..26f2d2884 --- /dev/null +++ b/aegis/src/model/DescribeWhiteListStrategyUuidCountResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeWhiteListStrategyUuidCountResult::DescribeWhiteListStrategyUuidCountResult() : + ServiceResult() +{} + +DescribeWhiteListStrategyUuidCountResult::DescribeWhiteListStrategyUuidCountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeWhiteListStrategyUuidCountResult::~DescribeWhiteListStrategyUuidCountResult() +{} + +void DescribeWhiteListStrategyUuidCountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["UuidCount"].isNull()) + uuidCount_ = std::stoi(value["UuidCount"].asString()); + +} + +int DescribeWhiteListStrategyUuidCountResult::getUuidCount()const +{ + return uuidCount_; +} + diff --git a/aegis/src/model/DescribeYesterdayStatisticsRequest.cc b/aegis/src/model/DescribeYesterdayStatisticsRequest.cc new file mode 100644 index 000000000..216085c89 --- /dev/null +++ b/aegis/src/model/DescribeYesterdayStatisticsRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribeYesterdayStatisticsRequest; + +DescribeYesterdayStatisticsRequest::DescribeYesterdayStatisticsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DescribeYesterdayStatistics") +{} + +DescribeYesterdayStatisticsRequest::~DescribeYesterdayStatisticsRequest() +{} + +std::string DescribeYesterdayStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeYesterdayStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/DescribeYesterdayStatisticsResult.cc b/aegis/src/model/DescribeYesterdayStatisticsResult.cc new file mode 100644 index 000000000..b75d43c64 --- /dev/null +++ b/aegis/src/model/DescribeYesterdayStatisticsResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribeYesterdayStatisticsResult::DescribeYesterdayStatisticsResult() : + ServiceResult() +{} + +DescribeYesterdayStatisticsResult::DescribeYesterdayStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeYesterdayStatisticsResult::~DescribeYesterdayStatisticsResult() +{} + +void DescribeYesterdayStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["NewRiskCheckCount"].isNull()) + newRiskCheckCount_ = std::stoi(value["NewRiskCheckCount"].asString()); + if(!value["NewVulCount"].isNull()) + newVulCount_ = std::stoi(value["NewVulCount"].asString()); + if(!value["NewHealthCheckCount"].isNull()) + newHealthCheckCount_ = std::stoi(value["NewHealthCheckCount"].asString()); + if(!value["NewSuspiciousCount"].isNull()) + newSuspiciousCount_ = std::stoi(value["NewSuspiciousCount"].asString()); + +} + +int DescribeYesterdayStatisticsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeYesterdayStatisticsResult::getNewVulCount()const +{ + return newVulCount_; +} + +int DescribeYesterdayStatisticsResult::getNewHealthCheckCount()const +{ + return newHealthCheckCount_; +} + +int DescribeYesterdayStatisticsResult::getNewRiskCheckCount()const +{ + return newRiskCheckCount_; +} + +int DescribeYesterdayStatisticsResult::getNewSuspiciousCount()const +{ + return newSuspiciousCount_; +} + diff --git a/aegis/src/model/DescribesummaryRequest.cc b/aegis/src/model/DescribesummaryRequest.cc new file mode 100644 index 000000000..cbfeb7a1e --- /dev/null +++ b/aegis/src/model/DescribesummaryRequest.cc @@ -0,0 +1,148 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DescribesummaryRequest; + +DescribesummaryRequest::DescribesummaryRequest() : + RpcServiceRequest("aegis", "2016-11-11", "Describesummary") +{} + +DescribesummaryRequest::~DescribesummaryRequest() +{} + +std::string DescribesummaryRequest::getTypeNames()const +{ + return typeNames_; +} + +void DescribesummaryRequest::setTypeNames(const std::string& typeNames) +{ + typeNames_ = typeNames; + setCoreParameter("TypeNames", typeNames); +} + +std::string DescribesummaryRequest::getRiskName()const +{ + return riskName_; +} + +void DescribesummaryRequest::setRiskName(const std::string& riskName) +{ + riskName_ = riskName; + setCoreParameter("RiskName", riskName); +} + +std::string DescribesummaryRequest::getStatusList()const +{ + return statusList_; +} + +void DescribesummaryRequest::setStatusList(const std::string& statusList) +{ + statusList_ = statusList; + setCoreParameter("StatusList", statusList); +} + +std::string DescribesummaryRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribesummaryRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DescribesummaryRequest::getRiskLevels()const +{ + return riskLevels_; +} + +void DescribesummaryRequest::setRiskLevels(const std::string& riskLevels) +{ + riskLevels_ = riskLevels; + setCoreParameter("RiskLevels", riskLevels); +} + +int DescribesummaryRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribesummaryRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribesummaryRequest::getDealed()const +{ + return dealed_; +} + +void DescribesummaryRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setCoreParameter("Dealed", dealed); +} + +long DescribesummaryRequest::getStrategyId()const +{ + return strategyId_; +} + +void DescribesummaryRequest::setStrategyId(long strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); +} + +int DescribesummaryRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribesummaryRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setCoreParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribesummaryRequest::getSubTypeNames()const +{ + return subTypeNames_; +} + +void DescribesummaryRequest::setSubTypeNames(const std::string& subTypeNames) +{ + subTypeNames_ = subTypeNames; + setCoreParameter("SubTypeNames", subTypeNames); +} + +std::string DescribesummaryRequest::getUuids()const +{ + return uuids_; +} + +void DescribesummaryRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + diff --git a/aegis/src/model/DescribesummaryResult.cc b/aegis/src/model/DescribesummaryResult.cc new file mode 100644 index 000000000..d382738b2 --- /dev/null +++ b/aegis/src/model/DescribesummaryResult.cc @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DescribesummaryResult::DescribesummaryResult() : + ServiceResult() +{} + +DescribesummaryResult::DescribesummaryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribesummaryResult::~DescribesummaryResult() +{} + +void DescribesummaryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allWarningSummarys = value["WarningSummarys"]["WarningSummary"]; + for (auto value : allWarningSummarys) + { + WarningSummary warningSummarysObject; + if(!value["RiskId"].isNull()) + warningSummarysObject.riskId = std::stol(value["RiskId"].asString()); + if(!value["RiskName"].isNull()) + warningSummarysObject.riskName = value["RiskName"].asString(); + if(!value["Level"].isNull()) + warningSummarysObject.level = value["Level"].asString(); + if(!value["TypeAlias"].isNull()) + warningSummarysObject.typeAlias = value["TypeAlias"].asString(); + if(!value["SubTypeAlias"].isNull()) + warningSummarysObject.subTypeAlias = value["SubTypeAlias"].asString(); + if(!value["LastFoundTime"].isNull()) + warningSummarysObject.lastFoundTime = value["LastFoundTime"].asString(); + if(!value["PendingCount"].isNull()) + warningSummarysObject.pendingCount = std::stoi(value["PendingCount"].asString()); + if(!value["TotalCount"].isNull()) + warningSummarysObject.totalCount = std::stoi(value["TotalCount"].asString()); + if(!value["RiskDetail"].isNull()) + warningSummarysObject.riskDetail = value["RiskDetail"].asString(); + warningSummarys_.push_back(warningSummarysObject); + } + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + +} + +int DescribesummaryResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribesummaryResult::getPageSize()const +{ + return pageSize_; +} + +int DescribesummaryResult::getCurrentPage()const +{ + return currentPage_; +} + +int DescribesummaryResult::getCount()const +{ + return count_; +} + +std::vector DescribesummaryResult::getWarningSummarys()const +{ + return warningSummarys_; +} + diff --git a/aegis/src/model/DownloadLogRequest.cc b/aegis/src/model/DownloadLogRequest.cc new file mode 100644 index 000000000..5e7058621 --- /dev/null +++ b/aegis/src/model/DownloadLogRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::DownloadLogRequest; + +DownloadLogRequest::DownloadLogRequest() : + RpcServiceRequest("aegis", "2016-11-11", "DownloadLog") +{} + +DownloadLogRequest::~DownloadLogRequest() +{} + +std::string DownloadLogRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DownloadLogRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string DownloadLogRequest::getQuery()const +{ + return query_; +} + +void DownloadLogRequest::setQuery(const std::string& query) +{ + query_ = query; + setCoreParameter("Query", query); +} + +std::string DownloadLogRequest::getEndTime()const +{ + return endTime_; +} + +void DownloadLogRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setCoreParameter("EndTime", endTime); +} + +std::string DownloadLogRequest::getStartTime()const +{ + return startTime_; +} + +void DownloadLogRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setCoreParameter("StartTime", startTime); +} + diff --git a/aegis/src/model/DownloadLogResult.cc b/aegis/src/model/DownloadLogResult.cc new file mode 100644 index 000000000..286d33995 --- /dev/null +++ b/aegis/src/model/DownloadLogResult.cc @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +DownloadLogResult::DownloadLogResult() : + ServiceResult() +{} + +DownloadLogResult::DownloadLogResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DownloadLogResult::~DownloadLogResult() +{} + +void DownloadLogResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allStackTrace = value["StackTrace"]["StackTraceItem"]; + for (auto value : allStackTrace) + { + StackTraceItem stackTraceObject; + if(!value["FileName"].isNull()) + stackTraceObject.fileName = value["FileName"].asString(); + if(!value["NativeMethod"].isNull()) + stackTraceObject.nativeMethod = value["NativeMethod"].asString() == "true"; + if(!value["MethodName"].isNull()) + stackTraceObject.methodName = value["MethodName"].asString(); + if(!value["ClassName"].isNull()) + stackTraceObject.className = value["ClassName"].asString(); + if(!value["LineNumber"].isNull()) + stackTraceObject.lineNumber = std::stoi(value["LineNumber"].asString()); + stackTrace_.push_back(stackTraceObject); + } + auto allSuppressed = value["Suppressed"]["StringItem"]; + for (const auto &item : allSuppressed) + suppressed_.push_back(item.asString()); + +} + +std::vector DownloadLogResult::getStackTrace()const +{ + return stackTrace_; +} + +std::vector DownloadLogResult::getSuppressed()const +{ + return suppressed_; +} + diff --git a/aegis/src/model/ExecStrategyRequest.cc b/aegis/src/model/ExecStrategyRequest.cc new file mode 100644 index 000000000..52230dcd1 --- /dev/null +++ b/aegis/src/model/ExecStrategyRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::ExecStrategyRequest; + +ExecStrategyRequest::ExecStrategyRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ExecStrategy") +{} + +ExecStrategyRequest::~ExecStrategyRequest() +{} + +std::string ExecStrategyRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ExecStrategyRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int ExecStrategyRequest::getStrategyId()const +{ + return strategyId_; +} + +void ExecStrategyRequest::setStrategyId(int strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); +} + diff --git a/aegis/src/model/ExecStrategyResult.cc b/aegis/src/model/ExecStrategyResult.cc new file mode 100644 index 000000000..affae2822 --- /dev/null +++ b/aegis/src/model/ExecStrategyResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ExecStrategyResult::ExecStrategyResult() : + ServiceResult() +{} + +ExecStrategyResult::ExecStrategyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ExecStrategyResult::~ExecStrategyResult() +{} + +void ExecStrategyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ExecuteRuleEngineActualTimeRequest.cc b/aegis/src/model/ExecuteRuleEngineActualTimeRequest.cc new file mode 100644 index 000000000..442ae27c8 --- /dev/null +++ b/aegis/src/model/ExecuteRuleEngineActualTimeRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::ExecuteRuleEngineActualTimeRequest; + +ExecuteRuleEngineActualTimeRequest::ExecuteRuleEngineActualTimeRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ExecuteRuleEngineActualTime") +{} + +ExecuteRuleEngineActualTimeRequest::~ExecuteRuleEngineActualTimeRequest() +{} + +std::string ExecuteRuleEngineActualTimeRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ExecuteRuleEngineActualTimeRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long ExecuteRuleEngineActualTimeRequest::getRuleId()const +{ + return ruleId_; +} + +void ExecuteRuleEngineActualTimeRequest::setRuleId(long ruleId) +{ + ruleId_ = ruleId; + setCoreParameter("RuleId", std::to_string(ruleId)); +} + +std::string ExecuteRuleEngineActualTimeRequest::getMessage()const +{ + return message_; +} + +void ExecuteRuleEngineActualTimeRequest::setMessage(const std::string& message) +{ + message_ = message; + setCoreParameter("Message", message); +} + diff --git a/aegis/src/model/ExecuteRuleEngineActualTimeResult.cc b/aegis/src/model/ExecuteRuleEngineActualTimeResult.cc new file mode 100644 index 000000000..3bda1e956 --- /dev/null +++ b/aegis/src/model/ExecuteRuleEngineActualTimeResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ExecuteRuleEngineActualTimeResult::ExecuteRuleEngineActualTimeResult() : + ServiceResult() +{} + +ExecuteRuleEngineActualTimeResult::ExecuteRuleEngineActualTimeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ExecuteRuleEngineActualTimeResult::~ExecuteRuleEngineActualTimeResult() +{} + +void ExecuteRuleEngineActualTimeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["ExecResult"].isNull()) + execResult_ = value["ExecResult"].asString(); + +} + +std::string ExecuteRuleEngineActualTimeResult::getExecResult()const +{ + return execResult_; +} + diff --git a/aegis/src/model/ExportSuspEventsRequest.cc b/aegis/src/model/ExportSuspEventsRequest.cc new file mode 100644 index 000000000..381fa7e57 --- /dev/null +++ b/aegis/src/model/ExportSuspEventsRequest.cc @@ -0,0 +1,148 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::ExportSuspEventsRequest; + +ExportSuspEventsRequest::ExportSuspEventsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ExportSuspEvents") +{} + +ExportSuspEventsRequest::~ExportSuspEventsRequest() +{} + +std::string ExportSuspEventsRequest::getTimeEnd()const +{ + return timeEnd_; +} + +void ExportSuspEventsRequest::setTimeEnd(const std::string& timeEnd) +{ + timeEnd_ = timeEnd; + setCoreParameter("TimeEnd", timeEnd); +} + +std::string ExportSuspEventsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ExportSuspEventsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ExportSuspEventsRequest::getName()const +{ + return name_; +} + +void ExportSuspEventsRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +std::string ExportSuspEventsRequest::getDealed()const +{ + return dealed_; +} + +void ExportSuspEventsRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setCoreParameter("Dealed", dealed); +} + +std::string ExportSuspEventsRequest::getRemark()const +{ + return remark_; +} + +void ExportSuspEventsRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + +std::string ExportSuspEventsRequest::getFrom()const +{ + return from_; +} + +void ExportSuspEventsRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string ExportSuspEventsRequest::getTimeStart()const +{ + return timeStart_; +} + +void ExportSuspEventsRequest::setTimeStart(const std::string& timeStart) +{ + timeStart_ = timeStart; + setCoreParameter("TimeStart", timeStart); +} + +std::string ExportSuspEventsRequest::getLang()const +{ + return lang_; +} + +void ExportSuspEventsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string ExportSuspEventsRequest::getLevels()const +{ + return levels_; +} + +void ExportSuspEventsRequest::setLevels(const std::string& levels) +{ + levels_ = levels; + setCoreParameter("Levels", levels); +} + +std::string ExportSuspEventsRequest::getParentEventTypes()const +{ + return parentEventTypes_; +} + +void ExportSuspEventsRequest::setParentEventTypes(const std::string& parentEventTypes) +{ + parentEventTypes_ = parentEventTypes; + setCoreParameter("ParentEventTypes", parentEventTypes); +} + +std::string ExportSuspEventsRequest::getStatus()const +{ + return status_; +} + +void ExportSuspEventsRequest::setStatus(const std::string& status) +{ + status_ = status; + setCoreParameter("Status", status); +} + diff --git a/aegis/src/model/ExportSuspEventsResult.cc b/aegis/src/model/ExportSuspEventsResult.cc new file mode 100644 index 000000000..48f44bf22 --- /dev/null +++ b/aegis/src/model/ExportSuspEventsResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ExportSuspEventsResult::ExportSuspEventsResult() : + ServiceResult() +{} + +ExportSuspEventsResult::ExportSuspEventsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ExportSuspEventsResult::~ExportSuspEventsResult() +{} + +void ExportSuspEventsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["FileName"].isNull()) + fileName_ = std::stoi(value["FileName"].asString()); + if(!value["Id"].isNull()) + id_ = std::stoi(value["Id"].asString()); + +} + +int ExportSuspEventsResult::getFileName()const +{ + return fileName_; +} + +int ExportSuspEventsResult::getId()const +{ + return id_; +} + diff --git a/aegis/src/model/ExportVulRequest.cc b/aegis/src/model/ExportVulRequest.cc new file mode 100644 index 000000000..225ffbbff --- /dev/null +++ b/aegis/src/model/ExportVulRequest.cc @@ -0,0 +1,159 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::ExportVulRequest; + +ExportVulRequest::ExportVulRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ExportVul") +{} + +ExportVulRequest::~ExportVulRequest() +{} + +std::string ExportVulRequest::getBatchName()const +{ + return batchName_; +} + +void ExportVulRequest::setBatchName(const std::string& batchName) +{ + batchName_ = batchName; + setCoreParameter("BatchName", batchName); +} + +std::string ExportVulRequest::getAliasName()const +{ + return aliasName_; +} + +void ExportVulRequest::setAliasName(const std::string& aliasName) +{ + aliasName_ = aliasName; + setCoreParameter("AliasName", aliasName); +} + +std::string ExportVulRequest::getStatusList()const +{ + return statusList_; +} + +void ExportVulRequest::setStatusList(const std::string& statusList) +{ + statusList_ = statusList; + setCoreParameter("StatusList", statusList); +} + +std::string ExportVulRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ExportVulRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ExportVulRequest::getLevel()const +{ + return level_; +} + +void ExportVulRequest::setLevel(const std::string& level) +{ + level_ = level; + setCoreParameter("Level", level); +} + +std::string ExportVulRequest::getResource()const +{ + return resource_; +} + +void ExportVulRequest::setResource(const std::string& resource) +{ + resource_ = resource; + setCoreParameter("Resource", resource); +} + +std::string ExportVulRequest::getName()const +{ + return name_; +} + +void ExportVulRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +std::string ExportVulRequest::getDealed()const +{ + return dealed_; +} + +void ExportVulRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setCoreParameter("Dealed", dealed); +} + +std::string ExportVulRequest::getLang()const +{ + return lang_; +} + +void ExportVulRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string ExportVulRequest::getType()const +{ + return type_; +} + +void ExportVulRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string ExportVulRequest::getNecessity()const +{ + return necessity_; +} + +void ExportVulRequest::setNecessity(const std::string& necessity) +{ + necessity_ = necessity; + setCoreParameter("Necessity", necessity); +} + +std::string ExportVulRequest::getUuids()const +{ + return uuids_; +} + +void ExportVulRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + diff --git a/aegis/src/model/ExportVulResult.cc b/aegis/src/model/ExportVulResult.cc new file mode 100644 index 000000000..874267949 --- /dev/null +++ b/aegis/src/model/ExportVulResult.cc @@ -0,0 +1,101 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ExportVulResult::ExportVulResult() : + ServiceResult() +{} + +ExportVulResult::ExportVulResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ExportVulResult::~ExportVulResult() +{} + +void ExportVulResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = std::stol(value["Id"].asString()); + if(!value["FileName"].isNull()) + fileName_ = value["FileName"].asString(); + if(!value["CurrentCount"].isNull()) + currentCount_ = std::stoi(value["CurrentCount"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["Progress"].isNull()) + progress_ = std::stoi(value["Progress"].asString()); + if(!value["ExportStatus"].isNull()) + exportStatus_ = value["ExportStatus"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Link"].isNull()) + link_ = value["Link"].asString(); + +} + +int ExportVulResult::getTotalCount()const +{ + return totalCount_; +} + +int ExportVulResult::getProgress()const +{ + return progress_; +} + +std::string ExportVulResult::getMessage()const +{ + return message_; +} + +std::string ExportVulResult::getFileName()const +{ + return fileName_; +} + +std::string ExportVulResult::getExportStatus()const +{ + return exportStatus_; +} + +int ExportVulResult::getCurrentCount()const +{ + return currentCount_; +} + +long ExportVulResult::getId()const +{ + return id_; +} + +std::string ExportVulResult::getLink()const +{ + return link_; +} + diff --git a/aegis/src/model/ExportWarningRequest.cc b/aegis/src/model/ExportWarningRequest.cc new file mode 100644 index 000000000..f905375fc --- /dev/null +++ b/aegis/src/model/ExportWarningRequest.cc @@ -0,0 +1,181 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::ExportWarningRequest; + +ExportWarningRequest::ExportWarningRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ExportWarning") +{} + +ExportWarningRequest::~ExportWarningRequest() +{} + +std::string ExportWarningRequest::getStatusList()const +{ + return statusList_; +} + +void ExportWarningRequest::setStatusList(const std::string& statusList) +{ + statusList_ = statusList; + setCoreParameter("StatusList", statusList); +} + +std::string ExportWarningRequest::getRiskLevels()const +{ + return riskLevels_; +} + +void ExportWarningRequest::setRiskLevels(const std::string& riskLevels) +{ + riskLevels_ = riskLevels; + setCoreParameter("RiskLevels", riskLevels); +} + +std::string ExportWarningRequest::getExportType()const +{ + return exportType_; +} + +void ExportWarningRequest::setExportType(const std::string& exportType) +{ + exportType_ = exportType; + setCoreParameter("ExportType", exportType); +} + +std::string ExportWarningRequest::getDealed()const +{ + return dealed_; +} + +void ExportWarningRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setCoreParameter("Dealed", dealed); +} + +std::string ExportWarningRequest::getTypeNames()const +{ + return typeNames_; +} + +void ExportWarningRequest::setTypeNames(const std::string& typeNames) +{ + typeNames_ = typeNames; + setCoreParameter("TypeNames", typeNames); +} + +int ExportWarningRequest::getIsSummaryExport()const +{ + return isSummaryExport_; +} + +void ExportWarningRequest::setIsSummaryExport(int isSummaryExport) +{ + isSummaryExport_ = isSummaryExport; + setCoreParameter("IsSummaryExport", std::to_string(isSummaryExport)); +} + +std::string ExportWarningRequest::getRiskName()const +{ + return riskName_; +} + +void ExportWarningRequest::setRiskName(const std::string& riskName) +{ + riskName_ = riskName; + setCoreParameter("RiskName", riskName); +} + +std::string ExportWarningRequest::getRiskIds()const +{ + return riskIds_; +} + +void ExportWarningRequest::setRiskIds(const std::string& riskIds) +{ + riskIds_ = riskIds; + setCoreParameter("RiskIds", riskIds); +} + +std::string ExportWarningRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ExportWarningRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long ExportWarningRequest::getStrategyId()const +{ + return strategyId_; +} + +void ExportWarningRequest::setStrategyId(long strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); +} + +std::string ExportWarningRequest::getLang()const +{ + return lang_; +} + +void ExportWarningRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string ExportWarningRequest::getTypeName()const +{ + return typeName_; +} + +void ExportWarningRequest::setTypeName(const std::string& typeName) +{ + typeName_ = typeName; + setCoreParameter("TypeName", typeName); +} + +std::string ExportWarningRequest::getSubTypeNames()const +{ + return subTypeNames_; +} + +void ExportWarningRequest::setSubTypeNames(const std::string& subTypeNames) +{ + subTypeNames_ = subTypeNames; + setCoreParameter("SubTypeNames", subTypeNames); +} + +std::string ExportWarningRequest::getUuids()const +{ + return uuids_; +} + +void ExportWarningRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + diff --git a/aegis/src/model/ExportWarningResult.cc b/aegis/src/model/ExportWarningResult.cc new file mode 100644 index 000000000..36207f6fc --- /dev/null +++ b/aegis/src/model/ExportWarningResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ExportWarningResult::ExportWarningResult() : + ServiceResult() +{} + +ExportWarningResult::ExportWarningResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ExportWarningResult::~ExportWarningResult() +{} + +void ExportWarningResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = std::stol(value["Id"].asString()); + if(!value["FileName"].isNull()) + fileName_ = value["FileName"].asString(); + +} + +std::string ExportWarningResult::getFileName()const +{ + return fileName_; +} + +long ExportWarningResult::getId()const +{ + return id_; +} + diff --git a/aegis/src/model/GetAccountStatisticsRequest.cc b/aegis/src/model/GetAccountStatisticsRequest.cc index fe1dce974..2866dc9a4 100644 --- a/aegis/src/model/GetAccountStatisticsRequest.cc +++ b/aegis/src/model/GetAccountStatisticsRequest.cc @@ -33,7 +33,7 @@ std::string GetAccountStatisticsRequest::getEndTime()const void GetAccountStatisticsRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string GetAccountStatisticsRequest::getStartTime()const @@ -44,6 +44,6 @@ std::string GetAccountStatisticsRequest::getStartTime()const void GetAccountStatisticsRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } diff --git a/aegis/src/model/GetAccountStatisticsResult.cc b/aegis/src/model/GetAccountStatisticsResult.cc index 472e4aea4..385312b4f 100644 --- a/aegis/src/model/GetAccountStatisticsResult.cc +++ b/aegis/src/model/GetAccountStatisticsResult.cc @@ -40,49 +40,44 @@ void GetAccountStatisticsResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allData = value["Data"]; - for (auto value : allData) - { - Data dataObject; - if(!value["RemoteLogin"].isNull()) - dataObject.remoteLogin = std::stoi(value["RemoteLogin"].asString()); - if(!value["CrackSuccess"].isNull()) - dataObject.crackSuccess = std::stoi(value["CrackSuccess"].asString()); - data_.push_back(dataObject); - } - if(!value["requestId"].isNull()) - requestId_ = value["requestId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); + auto dataNode = value["Data"]; + if(!dataNode["RemoteLogin"].isNull()) + data_.remoteLogin = std::stoi(dataNode["RemoteLogin"].asString()); + if(!dataNode["CrackSuccess"].isNull()) + data_.crackSuccess = std::stoi(dataNode["CrackSuccess"].asString()); + if(!value["requestId"].isNull()) + requestId_ = value["requestId"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); } -std::string GetAccountStatisticsResult::getRequestId()const -{ - return requestId_; -} - -std::string GetAccountStatisticsResult::getMessage()const -{ - return message_; -} - -std::vector GetAccountStatisticsResult::getData()const -{ - return data_; -} - -std::string GetAccountStatisticsResult::getCode()const -{ - return code_; -} - -bool GetAccountStatisticsResult::getSuccess()const -{ - return success_; -} - +std::string GetAccountStatisticsResult::getRequestId()const +{ + return requestId_; +} + +std::string GetAccountStatisticsResult::getMessage()const +{ + return message_; +} + +GetAccountStatisticsResult::Data GetAccountStatisticsResult::getData()const +{ + return data_; +} + +std::string GetAccountStatisticsResult::getCode()const +{ + return code_; +} + +bool GetAccountStatisticsResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/GetCrackStatisticsRequest.cc b/aegis/src/model/GetCrackStatisticsRequest.cc index 8500f02dd..a49636fd3 100644 --- a/aegis/src/model/GetCrackStatisticsRequest.cc +++ b/aegis/src/model/GetCrackStatisticsRequest.cc @@ -33,7 +33,7 @@ std::string GetCrackStatisticsRequest::getEndTime()const void GetCrackStatisticsRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string GetCrackStatisticsRequest::getStartTime()const @@ -44,6 +44,6 @@ std::string GetCrackStatisticsRequest::getStartTime()const void GetCrackStatisticsRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } diff --git a/aegis/src/model/GetCrackStatisticsResult.cc b/aegis/src/model/GetCrackStatisticsResult.cc index c1334564a..23d559bc5 100644 --- a/aegis/src/model/GetCrackStatisticsResult.cc +++ b/aegis/src/model/GetCrackStatisticsResult.cc @@ -40,47 +40,42 @@ void GetCrackStatisticsResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allData = value["Data"]; - for (auto value : allData) - { - Data dataObject; - if(!value["Intercepted"].isNull()) - dataObject.intercepted = std::stoi(value["Intercepted"].asString()); - data_.push_back(dataObject); - } - if(!value["requestId"].isNull()) - requestId_ = value["requestId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); + auto dataNode = value["Data"]; + if(!dataNode["Intercepted"].isNull()) + data_.intercepted = std::stoi(dataNode["Intercepted"].asString()); + if(!value["requestId"].isNull()) + requestId_ = value["requestId"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); } -std::string GetCrackStatisticsResult::getRequestId()const -{ - return requestId_; -} - -std::string GetCrackStatisticsResult::getMessage()const -{ - return message_; -} - -std::vector GetCrackStatisticsResult::getData()const -{ - return data_; -} - -std::string GetCrackStatisticsResult::getCode()const -{ - return code_; -} - -bool GetCrackStatisticsResult::getSuccess()const -{ - return success_; -} - +std::string GetCrackStatisticsResult::getRequestId()const +{ + return requestId_; +} + +std::string GetCrackStatisticsResult::getMessage()const +{ + return message_; +} + +GetCrackStatisticsResult::Data GetCrackStatisticsResult::getData()const +{ + return data_; +} + +std::string GetCrackStatisticsResult::getCode()const +{ + return code_; +} + +bool GetCrackStatisticsResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/GetEntityListRequest.cc b/aegis/src/model/GetEntityListRequest.cc index dd10233c0..b317bea47 100644 --- a/aegis/src/model/GetEntityListRequest.cc +++ b/aegis/src/model/GetEntityListRequest.cc @@ -33,7 +33,7 @@ long GetEntityListRequest::getGroupId()const void GetEntityListRequest::setGroupId(long groupId) { groupId_ = groupId; - setParameter("GroupId", std::to_string(groupId)); + setCoreParameter("GroupId", std::to_string(groupId)); } int GetEntityListRequest::getPageSize()const @@ -44,7 +44,7 @@ int GetEntityListRequest::getPageSize()const void GetEntityListRequest::setPageSize(int pageSize) { pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); + setCoreParameter("PageSize", std::to_string(pageSize)); } std::string GetEntityListRequest::getRemark()const @@ -55,7 +55,7 @@ std::string GetEntityListRequest::getRemark()const void GetEntityListRequest::setRemark(const std::string& remark) { remark_ = remark; - setParameter("Remark", remark); + setCoreParameter("Remark", remark); } std::string GetEntityListRequest::getEventType()const @@ -66,7 +66,7 @@ std::string GetEntityListRequest::getEventType()const void GetEntityListRequest::setEventType(const std::string& eventType) { eventType_ = eventType; - setParameter("EventType", eventType); + setCoreParameter("EventType", eventType); } int GetEntityListRequest::getCurrentPage()const @@ -77,7 +77,7 @@ int GetEntityListRequest::getCurrentPage()const void GetEntityListRequest::setCurrentPage(int currentPage) { currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); + setCoreParameter("CurrentPage", std::to_string(currentPage)); } std::string GetEntityListRequest::getRegionNo()const @@ -88,6 +88,6 @@ std::string GetEntityListRequest::getRegionNo()const void GetEntityListRequest::setRegionNo(const std::string& regionNo) { regionNo_ = regionNo; - setParameter("RegionNo", regionNo); + setCoreParameter("RegionNo", regionNo); } diff --git a/aegis/src/model/GetEntityListResult.cc b/aegis/src/model/GetEntityListResult.cc index cba5bcfbc..482a7421b 100644 --- a/aegis/src/model/GetEntityListResult.cc +++ b/aegis/src/model/GetEntityListResult.cc @@ -40,87 +40,77 @@ void GetEntityListResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allData = value["Data"]; - for (auto value : allData) - { - Data dataObject; - auto allList = value["List"]["Entity"]; - for (auto value : allList) - { - Data::Entity entityObject; - if(!value["Uuid"].isNull()) - entityObject.uuid = value["Uuid"].asString(); - if(!value["GroupId"].isNull()) - entityObject.groupId = std::stol(value["GroupId"].asString()); - if(!value["Ip"].isNull()) - entityObject.ip = value["Ip"].asString(); - if(!value["InstanceName"].isNull()) - entityObject.instanceName = value["InstanceName"].asString(); - if(!value["InstanceId"].isNull()) - entityObject.instanceId = value["InstanceId"].asString(); - if(!value["Region"].isNull()) - entityObject.region = value["Region"].asString(); - if(!value["Os"].isNull()) - entityObject.os = value["Os"].asString(); - if(!value["Flag"].isNull()) - entityObject.flag = value["Flag"].asString(); - if(!value["BuyVersion"].isNull()) - entityObject.buyVersion = value["BuyVersion"].asString(); - if(!value["AegisOnline"].isNull()) - entityObject.aegisOnline = value["AegisOnline"].asString() == "true"; - if(!value["aegisVersion"].isNull()) - entityObject.aegisVersion = value["aegisVersion"].asString(); - dataObject.list.push_back(entityObject); - } - auto allPageInfo = value["PageInfo"]; - for (auto value : allPageInfo) - { - Data::PageInfo pageInfoObject; - if(!value["CurrentPage"].isNull()) - pageInfoObject.currentPage = std::stoi(value["CurrentPage"].asString()); - if(!value["PageSize"].isNull()) - pageInfoObject.pageSize = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - pageInfoObject.totalCount = std::stoi(value["TotalCount"].asString()); - if(!value["Count"].isNull()) - pageInfoObject.count = std::stoi(value["Count"].asString()); - dataObject.pageInfo.push_back(pageInfoObject); - } - data_.push_back(dataObject); - } - if(!value["requestId"].isNull()) - requestId_ = value["requestId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); + auto dataNode = value["Data"]; + auto allList = value["List"]["Entity"]; + for (auto value : allList) + { + Data::Entity entityObject; + if(!value["Uuid"].isNull()) + entityObject.uuid = value["Uuid"].asString(); + if(!value["GroupId"].isNull()) + entityObject.groupId = std::stol(value["GroupId"].asString()); + if(!value["Ip"].isNull()) + entityObject.ip = value["Ip"].asString(); + if(!value["InstanceName"].isNull()) + entityObject.instanceName = value["InstanceName"].asString(); + if(!value["InstanceId"].isNull()) + entityObject.instanceId = value["InstanceId"].asString(); + if(!value["Region"].isNull()) + entityObject.region = value["Region"].asString(); + if(!value["Os"].isNull()) + entityObject.os = value["Os"].asString(); + if(!value["Flag"].isNull()) + entityObject.flag = value["Flag"].asString(); + if(!value["BuyVersion"].isNull()) + entityObject.buyVersion = value["BuyVersion"].asString(); + if(!value["AegisOnline"].isNull()) + entityObject.aegisOnline = value["AegisOnline"].asString() == "true"; + if(!value["aegisVersion"].isNull()) + entityObject.aegisVersion = value["aegisVersion"].asString(); + data_.list.push_back(entityObject); + } + auto pageInfoNode = dataNode["PageInfo"]; + if(!pageInfoNode["CurrentPage"].isNull()) + data_.pageInfo.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + data_.pageInfo.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + data_.pageInfo.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["Count"].isNull()) + data_.pageInfo.count = std::stoi(pageInfoNode["Count"].asString()); + if(!value["requestId"].isNull()) + requestId_ = value["requestId"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); } -std::string GetEntityListResult::getRequestId()const -{ - return requestId_; -} - -std::string GetEntityListResult::getMessage()const -{ - return message_; -} - -std::vector GetEntityListResult::getData()const -{ - return data_; -} - -std::string GetEntityListResult::getCode()const -{ - return code_; -} - -bool GetEntityListResult::getSuccess()const -{ - return success_; -} - +std::string GetEntityListResult::getRequestId()const +{ + return requestId_; +} + +std::string GetEntityListResult::getMessage()const +{ + return message_; +} + +GetEntityListResult::Data GetEntityListResult::getData()const +{ + return data_; +} + +std::string GetEntityListResult::getCode()const +{ + return code_; +} + +bool GetEntityListResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/GetStatisticsByUuidRequest.cc b/aegis/src/model/GetStatisticsByUuidRequest.cc index 8fb034536..3a21e2b23 100644 --- a/aegis/src/model/GetStatisticsByUuidRequest.cc +++ b/aegis/src/model/GetStatisticsByUuidRequest.cc @@ -33,6 +33,6 @@ std::string GetStatisticsByUuidRequest::getUuid()const void GetStatisticsByUuidRequest::setUuid(const std::string& uuid) { uuid_ = uuid; - setParameter("Uuid", uuid); + setCoreParameter("Uuid", uuid); } diff --git a/aegis/src/model/GetStatisticsByUuidResult.cc b/aegis/src/model/GetStatisticsByUuidResult.cc index f79b32da9..b714ae373 100644 --- a/aegis/src/model/GetStatisticsByUuidResult.cc +++ b/aegis/src/model/GetStatisticsByUuidResult.cc @@ -40,57 +40,57 @@ void GetStatisticsByUuidResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allData = value["Data"]["Entity"]; - for (auto value : allData) - { - Entity dataObject; - if(!value["Uuid"].isNull()) - dataObject.uuid = value["Uuid"].asString(); - if(!value["Account"].isNull()) - dataObject.account = std::stoi(value["Account"].asString()); - if(!value["Health"].isNull()) - dataObject.health = std::stoi(value["Health"].asString()); - if(!value["Patch"].isNull()) - dataObject.patch = std::stoi(value["Patch"].asString()); - if(!value["Trojan"].isNull()) - dataObject.trojan = std::stoi(value["Trojan"].asString()); - if(!value["Online"].isNull()) - dataObject.online = value["Online"].asString() == "true"; - data_.push_back(dataObject); - } - if(!value["requestId"].isNull()) - requestId_ = value["requestId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); + auto allData = value["Data"]["Entity"]; + for (auto value : allData) + { + Entity dataObject; + if(!value["Uuid"].isNull()) + dataObject.uuid = value["Uuid"].asString(); + if(!value["Account"].isNull()) + dataObject.account = std::stoi(value["Account"].asString()); + if(!value["Health"].isNull()) + dataObject.health = std::stoi(value["Health"].asString()); + if(!value["Patch"].isNull()) + dataObject.patch = std::stoi(value["Patch"].asString()); + if(!value["Trojan"].isNull()) + dataObject.trojan = std::stoi(value["Trojan"].asString()); + if(!value["Online"].isNull()) + dataObject.online = value["Online"].asString() == "true"; + data_.push_back(dataObject); + } + if(!value["requestId"].isNull()) + requestId_ = value["requestId"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); } -std::string GetStatisticsByUuidResult::getRequestId()const -{ - return requestId_; -} - -std::string GetStatisticsByUuidResult::getMessage()const -{ - return message_; -} - -std::vector GetStatisticsByUuidResult::getData()const -{ - return data_; -} - -std::string GetStatisticsByUuidResult::getCode()const -{ - return code_; -} - -bool GetStatisticsByUuidResult::getSuccess()const -{ - return success_; -} - +std::string GetStatisticsByUuidResult::getRequestId()const +{ + return requestId_; +} + +std::string GetStatisticsByUuidResult::getMessage()const +{ + return message_; +} + +std::vector GetStatisticsByUuidResult::getData()const +{ + return data_; +} + +std::string GetStatisticsByUuidResult::getCode()const +{ + return code_; +} + +bool GetStatisticsByUuidResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/GetStatisticsRequest.cc b/aegis/src/model/GetStatisticsRequest.cc index 32d349052..78de733c2 100644 --- a/aegis/src/model/GetStatisticsRequest.cc +++ b/aegis/src/model/GetStatisticsRequest.cc @@ -33,7 +33,7 @@ std::string GetStatisticsRequest::getEndTime()const void GetStatisticsRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } std::string GetStatisticsRequest::getStartTime()const @@ -44,6 +44,6 @@ std::string GetStatisticsRequest::getStartTime()const void GetStatisticsRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } diff --git a/aegis/src/model/GetStatisticsResult.cc b/aegis/src/model/GetStatisticsResult.cc index e5f554b7e..5f9de08be 100644 --- a/aegis/src/model/GetStatisticsResult.cc +++ b/aegis/src/model/GetStatisticsResult.cc @@ -40,53 +40,48 @@ void GetStatisticsResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allData = value["Data"]; - for (auto value : allData) - { - Data dataObject; - if(!value["Account"].isNull()) - dataObject.account = std::stoi(value["Account"].asString()); - if(!value["Health"].isNull()) - dataObject.health = std::stoi(value["Health"].asString()); - if(!value["Patch"].isNull()) - dataObject.patch = std::stoi(value["Patch"].asString()); - if(!value["Trojan"].isNull()) - dataObject.trojan = std::stoi(value["Trojan"].asString()); - data_.push_back(dataObject); - } - if(!value["requestId"].isNull()) - requestId_ = value["requestId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); + auto dataNode = value["Data"]; + if(!dataNode["Account"].isNull()) + data_.account = std::stoi(dataNode["Account"].asString()); + if(!dataNode["Health"].isNull()) + data_.health = std::stoi(dataNode["Health"].asString()); + if(!dataNode["Patch"].isNull()) + data_.patch = std::stoi(dataNode["Patch"].asString()); + if(!dataNode["Trojan"].isNull()) + data_.trojan = std::stoi(dataNode["Trojan"].asString()); + if(!value["requestId"].isNull()) + requestId_ = value["requestId"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); } -std::string GetStatisticsResult::getRequestId()const -{ - return requestId_; -} - -std::string GetStatisticsResult::getMessage()const -{ - return message_; -} - -std::vector GetStatisticsResult::getData()const -{ - return data_; -} - -std::string GetStatisticsResult::getCode()const -{ - return code_; -} - -bool GetStatisticsResult::getSuccess()const -{ - return success_; -} - +std::string GetStatisticsResult::getRequestId()const +{ + return requestId_; +} + +std::string GetStatisticsResult::getMessage()const +{ + return message_; +} + +GetStatisticsResult::Data GetStatisticsResult::getData()const +{ + return data_; +} + +std::string GetStatisticsResult::getCode()const +{ + return code_; +} + +bool GetStatisticsResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/IgnoreHcCheckWarningsRequest.cc b/aegis/src/model/IgnoreHcCheckWarningsRequest.cc new file mode 100644 index 000000000..f04d0e07a --- /dev/null +++ b/aegis/src/model/IgnoreHcCheckWarningsRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::IgnoreHcCheckWarningsRequest; + +IgnoreHcCheckWarningsRequest::IgnoreHcCheckWarningsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "IgnoreHcCheckWarnings") +{} + +IgnoreHcCheckWarningsRequest::~IgnoreHcCheckWarningsRequest() +{} + +std::string IgnoreHcCheckWarningsRequest::getReason()const +{ + return reason_; +} + +void IgnoreHcCheckWarningsRequest::setReason(const std::string& reason) +{ + reason_ = reason; + setCoreParameter("Reason", reason); +} + +std::string IgnoreHcCheckWarningsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void IgnoreHcCheckWarningsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string IgnoreHcCheckWarningsRequest::getCheckWarningIds()const +{ + return checkWarningIds_; +} + +void IgnoreHcCheckWarningsRequest::setCheckWarningIds(const std::string& checkWarningIds) +{ + checkWarningIds_ = checkWarningIds; + setCoreParameter("CheckWarningIds", checkWarningIds); +} + +std::string IgnoreHcCheckWarningsRequest::getRiskId()const +{ + return riskId_; +} + +void IgnoreHcCheckWarningsRequest::setRiskId(const std::string& riskId) +{ + riskId_ = riskId; + setCoreParameter("RiskId", riskId); +} + +long IgnoreHcCheckWarningsRequest::getType()const +{ + return type_; +} + +void IgnoreHcCheckWarningsRequest::setType(long type) +{ + type_ = type; + setCoreParameter("Type", std::to_string(type)); +} + diff --git a/aegis/src/model/IgnoreHcCheckWarningsResult.cc b/aegis/src/model/IgnoreHcCheckWarningsResult.cc new file mode 100644 index 000000000..3692bef01 --- /dev/null +++ b/aegis/src/model/IgnoreHcCheckWarningsResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +IgnoreHcCheckWarningsResult::IgnoreHcCheckWarningsResult() : + ServiceResult() +{} + +IgnoreHcCheckWarningsResult::IgnoreHcCheckWarningsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +IgnoreHcCheckWarningsResult::~IgnoreHcCheckWarningsResult() +{} + +void IgnoreHcCheckWarningsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyAssetGroupRequest.cc b/aegis/src/model/ModifyAssetGroupRequest.cc new file mode 100644 index 000000000..a20022fe0 --- /dev/null +++ b/aegis/src/model/ModifyAssetGroupRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::ModifyAssetGroupRequest; + +ModifyAssetGroupRequest::ModifyAssetGroupRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyAssetGroup") +{} + +ModifyAssetGroupRequest::~ModifyAssetGroupRequest() +{} + +std::string ModifyAssetGroupRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyAssetGroupRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long ModifyAssetGroupRequest::getGroupId()const +{ + return groupId_; +} + +void ModifyAssetGroupRequest::setGroupId(long groupId) +{ + groupId_ = groupId; + setCoreParameter("GroupId", std::to_string(groupId)); +} + +std::string ModifyAssetGroupRequest::getUuids()const +{ + return uuids_; +} + +void ModifyAssetGroupRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + diff --git a/aegis/src/model/ModifyAssetGroupResult.cc b/aegis/src/model/ModifyAssetGroupResult.cc new file mode 100644 index 000000000..a241776a9 --- /dev/null +++ b/aegis/src/model/ModifyAssetGroupResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyAssetGroupResult::ModifyAssetGroupResult() : + ServiceResult() +{} + +ModifyAssetGroupResult::ModifyAssetGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyAssetGroupResult::~ModifyAssetGroupResult() +{} + +void ModifyAssetGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyAutoDelConfigRequest.cc b/aegis/src/model/ModifyAutoDelConfigRequest.cc new file mode 100644 index 000000000..1702029e4 --- /dev/null +++ b/aegis/src/model/ModifyAutoDelConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::ModifyAutoDelConfigRequest; + +ModifyAutoDelConfigRequest::ModifyAutoDelConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyAutoDelConfig") +{} + +ModifyAutoDelConfigRequest::~ModifyAutoDelConfigRequest() +{} + +std::string ModifyAutoDelConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyAutoDelConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int ModifyAutoDelConfigRequest::getDays()const +{ + return days_; +} + +void ModifyAutoDelConfigRequest::setDays(int days) +{ + days_ = days; + setCoreParameter("Days", std::to_string(days)); +} + diff --git a/aegis/src/model/ModifyAutoDelConfigResult.cc b/aegis/src/model/ModifyAutoDelConfigResult.cc new file mode 100644 index 000000000..65dab6afd --- /dev/null +++ b/aegis/src/model/ModifyAutoDelConfigResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyAutoDelConfigResult::ModifyAutoDelConfigResult() : + ServiceResult() +{} + +ModifyAutoDelConfigResult::ModifyAutoDelConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyAutoDelConfigResult::~ModifyAutoDelConfigResult() +{} + +void ModifyAutoDelConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyBatchIgnoreVulRequest.cc b/aegis/src/model/ModifyBatchIgnoreVulRequest.cc index d8c474d3a..e55bead2f 100644 --- a/aegis/src/model/ModifyBatchIgnoreVulRequest.cc +++ b/aegis/src/model/ModifyBatchIgnoreVulRequest.cc @@ -33,18 +33,7 @@ std::string ModifyBatchIgnoreVulRequest::getReason()const void ModifyBatchIgnoreVulRequest::setReason(const std::string& reason) { reason_ = reason; - setParameter("Reason", reason); -} - -long ModifyBatchIgnoreVulRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyBatchIgnoreVulRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); + setCoreParameter("Reason", reason); } std::string ModifyBatchIgnoreVulRequest::getSourceIp()const @@ -55,7 +44,7 @@ std::string ModifyBatchIgnoreVulRequest::getSourceIp()const void ModifyBatchIgnoreVulRequest::setSourceIp(const std::string& sourceIp) { sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); + setCoreParameter("SourceIp", sourceIp); } std::string ModifyBatchIgnoreVulRequest::getInfo()const @@ -66,6 +55,6 @@ std::string ModifyBatchIgnoreVulRequest::getInfo()const void ModifyBatchIgnoreVulRequest::setInfo(const std::string& info) { info_ = info; - setParameter("Info", info); + setCoreParameter("Info", info); } diff --git a/aegis/src/model/ModifyBatchIgnoreVulResult.cc b/aegis/src/model/ModifyBatchIgnoreVulResult.cc index 62448906d..cd61250bc 100644 --- a/aegis/src/model/ModifyBatchIgnoreVulResult.cc +++ b/aegis/src/model/ModifyBatchIgnoreVulResult.cc @@ -40,20 +40,6 @@ void ModifyBatchIgnoreVulResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); } -int ModifyBatchIgnoreVulResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool ModifyBatchIgnoreVulResult::getSuccess()const -{ - return success_; -} - diff --git a/aegis/src/model/ModifyClearLogstoreStorageRequest.cc b/aegis/src/model/ModifyClearLogstoreStorageRequest.cc new file mode 100644 index 000000000..1b190c4b7 --- /dev/null +++ b/aegis/src/model/ModifyClearLogstoreStorageRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::ModifyClearLogstoreStorageRequest; + +ModifyClearLogstoreStorageRequest::ModifyClearLogstoreStorageRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyClearLogstoreStorage") +{} + +ModifyClearLogstoreStorageRequest::~ModifyClearLogstoreStorageRequest() +{} + +std::string ModifyClearLogstoreStorageRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyClearLogstoreStorageRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifyClearLogstoreStorageRequest::getFrom()const +{ + return from_; +} + +void ModifyClearLogstoreStorageRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string ModifyClearLogstoreStorageRequest::getLang()const +{ + return lang_; +} + +void ModifyClearLogstoreStorageRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/ModifyClearLogstoreStorageResult.cc b/aegis/src/model/ModifyClearLogstoreStorageResult.cc new file mode 100644 index 000000000..e49a68556 --- /dev/null +++ b/aegis/src/model/ModifyClearLogstoreStorageResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyClearLogstoreStorageResult::ModifyClearLogstoreStorageResult() : + ServiceResult() +{} + +ModifyClearLogstoreStorageResult::ModifyClearLogstoreStorageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyClearLogstoreStorageResult::~ModifyClearLogstoreStorageResult() +{} + +void ModifyClearLogstoreStorageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyConcernNecessityRequest.cc b/aegis/src/model/ModifyConcernNecessityRequest.cc new file mode 100644 index 000000000..6dafe2354 --- /dev/null +++ b/aegis/src/model/ModifyConcernNecessityRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::ModifyConcernNecessityRequest; + +ModifyConcernNecessityRequest::ModifyConcernNecessityRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyConcernNecessity") +{} + +ModifyConcernNecessityRequest::~ModifyConcernNecessityRequest() +{} + +std::string ModifyConcernNecessityRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyConcernNecessityRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifyConcernNecessityRequest::getLang()const +{ + return lang_; +} + +void ModifyConcernNecessityRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string ModifyConcernNecessityRequest::getConcernNecessity()const +{ + return concernNecessity_; +} + +void ModifyConcernNecessityRequest::setConcernNecessity(const std::string& concernNecessity) +{ + concernNecessity_ = concernNecessity; + setCoreParameter("ConcernNecessity", concernNecessity); +} + diff --git a/aegis/src/model/ModifyConcernNecessityResult.cc b/aegis/src/model/ModifyConcernNecessityResult.cc new file mode 100644 index 000000000..58b37f172 --- /dev/null +++ b/aegis/src/model/ModifyConcernNecessityResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyConcernNecessityResult::ModifyConcernNecessityResult() : + ServiceResult() +{} + +ModifyConcernNecessityResult::ModifyConcernNecessityResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyConcernNecessityResult::~ModifyConcernNecessityResult() +{} + +void ModifyConcernNecessityResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyEmgVulSubmitRequest.cc b/aegis/src/model/ModifyEmgVulSubmitRequest.cc new file mode 100644 index 000000000..0137bffa6 --- /dev/null +++ b/aegis/src/model/ModifyEmgVulSubmitRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::ModifyEmgVulSubmitRequest; + +ModifyEmgVulSubmitRequest::ModifyEmgVulSubmitRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyEmgVulSubmit") +{} + +ModifyEmgVulSubmitRequest::~ModifyEmgVulSubmitRequest() +{} + +std::string ModifyEmgVulSubmitRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyEmgVulSubmitRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifyEmgVulSubmitRequest::getName()const +{ + return name_; +} + +void ModifyEmgVulSubmitRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +std::string ModifyEmgVulSubmitRequest::getUserAgreement()const +{ + return userAgreement_; +} + +void ModifyEmgVulSubmitRequest::setUserAgreement(const std::string& userAgreement) +{ + userAgreement_ = userAgreement; + setCoreParameter("UserAgreement", userAgreement); +} + +std::string ModifyEmgVulSubmitRequest::getLang()const +{ + return lang_; +} + +void ModifyEmgVulSubmitRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/ModifyEmgVulSubmitResult.cc b/aegis/src/model/ModifyEmgVulSubmitResult.cc new file mode 100644 index 000000000..fd0614889 --- /dev/null +++ b/aegis/src/model/ModifyEmgVulSubmitResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyEmgVulSubmitResult::ModifyEmgVulSubmitResult() : + ServiceResult() +{} + +ModifyEmgVulSubmitResult::ModifyEmgVulSubmitResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyEmgVulSubmitResult::~ModifyEmgVulSubmitResult() +{} + +void ModifyEmgVulSubmitResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyLogMetaStatusRequest.cc b/aegis/src/model/ModifyLogMetaStatusRequest.cc new file mode 100644 index 000000000..aceb19ec0 --- /dev/null +++ b/aegis/src/model/ModifyLogMetaStatusRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::ModifyLogMetaStatusRequest; + +ModifyLogMetaStatusRequest::ModifyLogMetaStatusRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyLogMetaStatus") +{} + +ModifyLogMetaStatusRequest::~ModifyLogMetaStatusRequest() +{} + +std::string ModifyLogMetaStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyLogMetaStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifyLogMetaStatusRequest::getProject()const +{ + return project_; +} + +void ModifyLogMetaStatusRequest::setProject(const std::string& project) +{ + project_ = project; + setCoreParameter("Project", project); +} + +std::string ModifyLogMetaStatusRequest::getFrom()const +{ + return from_; +} + +void ModifyLogMetaStatusRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string ModifyLogMetaStatusRequest::getLang()const +{ + return lang_; +} + +void ModifyLogMetaStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string ModifyLogMetaStatusRequest::getLogStore()const +{ + return logStore_; +} + +void ModifyLogMetaStatusRequest::setLogStore(const std::string& logStore) +{ + logStore_ = logStore; + setCoreParameter("LogStore", logStore); +} + +std::string ModifyLogMetaStatusRequest::getStatus()const +{ + return status_; +} + +void ModifyLogMetaStatusRequest::setStatus(const std::string& status) +{ + status_ = status; + setCoreParameter("Status", status); +} + diff --git a/aegis/src/model/ModifyLogMetaStatusResult.cc b/aegis/src/model/ModifyLogMetaStatusResult.cc new file mode 100644 index 000000000..9de40bd4d --- /dev/null +++ b/aegis/src/model/ModifyLogMetaStatusResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyLogMetaStatusResult::ModifyLogMetaStatusResult() : + ServiceResult() +{} + +ModifyLogMetaStatusResult::ModifyLogMetaStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyLogMetaStatusResult::~ModifyLogMetaStatusResult() +{} + +void ModifyLogMetaStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyMachineConfigRequest.cc b/aegis/src/model/ModifyMachineConfigRequest.cc new file mode 100644 index 000000000..5daaaba35 --- /dev/null +++ b/aegis/src/model/ModifyMachineConfigRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::ModifyMachineConfigRequest; + +ModifyMachineConfigRequest::ModifyMachineConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyMachineConfig") +{} + +ModifyMachineConfigRequest::~ModifyMachineConfigRequest() +{} + +std::string ModifyMachineConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyMachineConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifyMachineConfigRequest::getType()const +{ + return type_; +} + +void ModifyMachineConfigRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string ModifyMachineConfigRequest::getTarget()const +{ + return target_; +} + +void ModifyMachineConfigRequest::setTarget(const std::string& target) +{ + target_ = target; + setCoreParameter("Target", target); +} + diff --git a/aegis/src/model/ModifyMachineConfigResult.cc b/aegis/src/model/ModifyMachineConfigResult.cc new file mode 100644 index 000000000..3eb057d37 --- /dev/null +++ b/aegis/src/model/ModifyMachineConfigResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyMachineConfigResult::ModifyMachineConfigResult() : + ServiceResult() +{} + +ModifyMachineConfigResult::ModifyMachineConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyMachineConfigResult::~ModifyMachineConfigResult() +{} + +void ModifyMachineConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyOpenLogShipperRequest.cc b/aegis/src/model/ModifyOpenLogShipperRequest.cc new file mode 100644 index 000000000..988260528 --- /dev/null +++ b/aegis/src/model/ModifyOpenLogShipperRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::ModifyOpenLogShipperRequest; + +ModifyOpenLogShipperRequest::ModifyOpenLogShipperRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyOpenLogShipper") +{} + +ModifyOpenLogShipperRequest::~ModifyOpenLogShipperRequest() +{} + +std::string ModifyOpenLogShipperRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyOpenLogShipperRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifyOpenLogShipperRequest::getFrom()const +{ + return from_; +} + +void ModifyOpenLogShipperRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string ModifyOpenLogShipperRequest::getLang()const +{ + return lang_; +} + +void ModifyOpenLogShipperRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/ModifyOpenLogShipperResult.cc b/aegis/src/model/ModifyOpenLogShipperResult.cc new file mode 100644 index 000000000..8bb452ba1 --- /dev/null +++ b/aegis/src/model/ModifyOpenLogShipperResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyOpenLogShipperResult::ModifyOpenLogShipperResult() : + ServiceResult() +{} + +ModifyOpenLogShipperResult::ModifyOpenLogShipperResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyOpenLogShipperResult::~ModifyOpenLogShipperResult() +{} + +void ModifyOpenLogShipperResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifySasAssetStatisticsColumnRequest.cc b/aegis/src/model/ModifySasAssetStatisticsColumnRequest.cc new file mode 100644 index 000000000..9cd278957 --- /dev/null +++ b/aegis/src/model/ModifySasAssetStatisticsColumnRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::ModifySasAssetStatisticsColumnRequest; + +ModifySasAssetStatisticsColumnRequest::ModifySasAssetStatisticsColumnRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifySasAssetStatisticsColumn") +{} + +ModifySasAssetStatisticsColumnRequest::~ModifySasAssetStatisticsColumnRequest() +{} + +std::string ModifySasAssetStatisticsColumnRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifySasAssetStatisticsColumnRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifySasAssetStatisticsColumnRequest::getStatisticsColumn()const +{ + return statisticsColumn_; +} + +void ModifySasAssetStatisticsColumnRequest::setStatisticsColumn(const std::string& statisticsColumn) +{ + statisticsColumn_ = statisticsColumn; + setCoreParameter("StatisticsColumn", statisticsColumn); +} + diff --git a/aegis/src/model/ModifySasAssetStatisticsColumnResult.cc b/aegis/src/model/ModifySasAssetStatisticsColumnResult.cc new file mode 100644 index 000000000..b0b01cb5c --- /dev/null +++ b/aegis/src/model/ModifySasAssetStatisticsColumnResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifySasAssetStatisticsColumnResult::ModifySasAssetStatisticsColumnResult() : + ServiceResult() +{} + +ModifySasAssetStatisticsColumnResult::ModifySasAssetStatisticsColumnResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifySasAssetStatisticsColumnResult::~ModifySasAssetStatisticsColumnResult() +{} + +void ModifySasAssetStatisticsColumnResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifySaveVulBatchRequest.cc b/aegis/src/model/ModifySaveVulBatchRequest.cc new file mode 100644 index 000000000..e5a11cf06 --- /dev/null +++ b/aegis/src/model/ModifySaveVulBatchRequest.cc @@ -0,0 +1,159 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::ModifySaveVulBatchRequest; + +ModifySaveVulBatchRequest::ModifySaveVulBatchRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifySaveVulBatch") +{} + +ModifySaveVulBatchRequest::~ModifySaveVulBatchRequest() +{} + +std::string ModifySaveVulBatchRequest::getBatchName()const +{ + return batchName_; +} + +void ModifySaveVulBatchRequest::setBatchName(const std::string& batchName) +{ + batchName_ = batchName; + setCoreParameter("BatchName", batchName); +} + +std::string ModifySaveVulBatchRequest::getAliasName()const +{ + return aliasName_; +} + +void ModifySaveVulBatchRequest::setAliasName(const std::string& aliasName) +{ + aliasName_ = aliasName; + setCoreParameter("AliasName", aliasName); +} + +std::string ModifySaveVulBatchRequest::getStatusList()const +{ + return statusList_; +} + +void ModifySaveVulBatchRequest::setStatusList(const std::string& statusList) +{ + statusList_ = statusList; + setCoreParameter("StatusList", statusList); +} + +std::string ModifySaveVulBatchRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifySaveVulBatchRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifySaveVulBatchRequest::getLevel()const +{ + return level_; +} + +void ModifySaveVulBatchRequest::setLevel(const std::string& level) +{ + level_ = level; + setCoreParameter("Level", level); +} + +std::string ModifySaveVulBatchRequest::getResource()const +{ + return resource_; +} + +void ModifySaveVulBatchRequest::setResource(const std::string& resource) +{ + resource_ = resource; + setCoreParameter("Resource", resource); +} + +std::string ModifySaveVulBatchRequest::getName()const +{ + return name_; +} + +void ModifySaveVulBatchRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +std::string ModifySaveVulBatchRequest::getDealed()const +{ + return dealed_; +} + +void ModifySaveVulBatchRequest::setDealed(const std::string& dealed) +{ + dealed_ = dealed; + setCoreParameter("Dealed", dealed); +} + +std::string ModifySaveVulBatchRequest::getRemark()const +{ + return remark_; +} + +void ModifySaveVulBatchRequest::setRemark(const std::string& remark) +{ + remark_ = remark; + setCoreParameter("Remark", remark); +} + +std::string ModifySaveVulBatchRequest::getType()const +{ + return type_; +} + +void ModifySaveVulBatchRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string ModifySaveVulBatchRequest::getNecessity()const +{ + return necessity_; +} + +void ModifySaveVulBatchRequest::setNecessity(const std::string& necessity) +{ + necessity_ = necessity; + setCoreParameter("Necessity", necessity); +} + +std::string ModifySaveVulBatchRequest::getUuids()const +{ + return uuids_; +} + +void ModifySaveVulBatchRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + diff --git a/aegis/src/model/ModifySaveVulBatchResult.cc b/aegis/src/model/ModifySaveVulBatchResult.cc new file mode 100644 index 000000000..752ac443c --- /dev/null +++ b/aegis/src/model/ModifySaveVulBatchResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifySaveVulBatchResult::ModifySaveVulBatchResult() : + ServiceResult() +{} + +ModifySaveVulBatchResult::ModifySaveVulBatchResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifySaveVulBatchResult::~ModifySaveVulBatchResult() +{} + +void ModifySaveVulBatchResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyScreenSettingRequest.cc b/aegis/src/model/ModifyScreenSettingRequest.cc new file mode 100644 index 000000000..c3f3f8581 --- /dev/null +++ b/aegis/src/model/ModifyScreenSettingRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::ModifyScreenSettingRequest; + +ModifyScreenSettingRequest::ModifyScreenSettingRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyScreenSetting") +{} + +ModifyScreenSettingRequest::~ModifyScreenSettingRequest() +{} + +std::string ModifyScreenSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyScreenSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifyScreenSettingRequest::getScreenTitle()const +{ + return screenTitle_; +} + +void ModifyScreenSettingRequest::setScreenTitle(const std::string& screenTitle) +{ + screenTitle_ = screenTitle; + setCoreParameter("ScreenTitle", screenTitle); +} + +std::string ModifyScreenSettingRequest::getScreenIdSetting()const +{ + return screenIdSetting_; +} + +void ModifyScreenSettingRequest::setScreenIdSetting(const std::string& screenIdSetting) +{ + screenIdSetting_ = screenIdSetting; + setCoreParameter("ScreenIdSetting", screenIdSetting); +} + diff --git a/aegis/src/model/ModifyScreenSettingResult.cc b/aegis/src/model/ModifyScreenSettingResult.cc new file mode 100644 index 000000000..db4c9f49a --- /dev/null +++ b/aegis/src/model/ModifyScreenSettingResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyScreenSettingResult::ModifyScreenSettingResult() : + ServiceResult() +{} + +ModifyScreenSettingResult::ModifyScreenSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyScreenSettingResult::~ModifyScreenSettingResult() +{} + +void ModifyScreenSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifySearchConditionRequest.cc b/aegis/src/model/ModifySearchConditionRequest.cc new file mode 100644 index 000000000..d8e285bf0 --- /dev/null +++ b/aegis/src/model/ModifySearchConditionRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::ModifySearchConditionRequest; + +ModifySearchConditionRequest::ModifySearchConditionRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifySearchCondition") +{} + +ModifySearchConditionRequest::~ModifySearchConditionRequest() +{} + +std::string ModifySearchConditionRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifySearchConditionRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifySearchConditionRequest::getName()const +{ + return name_; +} + +void ModifySearchConditionRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +std::string ModifySearchConditionRequest::getFilterConditions()const +{ + return filterConditions_; +} + +void ModifySearchConditionRequest::setFilterConditions(const std::string& filterConditions) +{ + filterConditions_ = filterConditions; + setCoreParameter("FilterConditions", filterConditions); +} + diff --git a/aegis/src/model/ModifySearchConditionResult.cc b/aegis/src/model/ModifySearchConditionResult.cc new file mode 100644 index 000000000..18ffa228b --- /dev/null +++ b/aegis/src/model/ModifySearchConditionResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifySearchConditionResult::ModifySearchConditionResult() : + ServiceResult() +{} + +ModifySearchConditionResult::ModifySearchConditionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifySearchConditionResult::~ModifySearchConditionResult() +{} + +void ModifySearchConditionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyStrategyRequest.cc b/aegis/src/model/ModifyStrategyRequest.cc index c59613a97..c0acc0e3d 100644 --- a/aegis/src/model/ModifyStrategyRequest.cc +++ b/aegis/src/model/ModifyStrategyRequest.cc @@ -25,17 +25,6 @@ ModifyStrategyRequest::ModifyStrategyRequest() : ModifyStrategyRequest::~ModifyStrategyRequest() {} -long ModifyStrategyRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyStrategyRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - std::string ModifyStrategyRequest::getRiskSubTypeName()const { return riskSubTypeName_; @@ -44,7 +33,7 @@ std::string ModifyStrategyRequest::getRiskSubTypeName()const void ModifyStrategyRequest::setRiskSubTypeName(const std::string& riskSubTypeName) { riskSubTypeName_ = riskSubTypeName; - setParameter("RiskSubTypeName", riskSubTypeName); + setCoreParameter("RiskSubTypeName", riskSubTypeName); } std::string ModifyStrategyRequest::getSourceIp()const @@ -55,7 +44,7 @@ std::string ModifyStrategyRequest::getSourceIp()const void ModifyStrategyRequest::setSourceIp(const std::string& sourceIp) { sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); + setCoreParameter("SourceIp", sourceIp); } std::string ModifyStrategyRequest::getCycleStartTime()const @@ -66,7 +55,7 @@ std::string ModifyStrategyRequest::getCycleStartTime()const void ModifyStrategyRequest::setCycleStartTime(const std::string& cycleStartTime) { cycleStartTime_ = cycleStartTime; - setParameter("CycleStartTime", cycleStartTime); + setCoreParameter("CycleStartTime", cycleStartTime); } std::string ModifyStrategyRequest::getName()const @@ -77,7 +66,7 @@ std::string ModifyStrategyRequest::getName()const void ModifyStrategyRequest::setName(const std::string& name) { name_ = name; - setParameter("Name", name); + setCoreParameter("Name", name); } std::string ModifyStrategyRequest::getCycleDays()const @@ -88,7 +77,7 @@ std::string ModifyStrategyRequest::getCycleDays()const void ModifyStrategyRequest::setCycleDays(const std::string& cycleDays) { cycleDays_ = cycleDays; - setParameter("CycleDays", cycleDays); + setCoreParameter("CycleDays", cycleDays); } std::string ModifyStrategyRequest::getId()const @@ -99,6 +88,6 @@ std::string ModifyStrategyRequest::getId()const void ModifyStrategyRequest::setId(const std::string& id) { id_ = id; - setParameter("Id", id); + setCoreParameter("Id", id); } diff --git a/aegis/src/model/ModifyStrategyResult.cc b/aegis/src/model/ModifyStrategyResult.cc index 48c537189..b2e6c3e35 100644 --- a/aegis/src/model/ModifyStrategyResult.cc +++ b/aegis/src/model/ModifyStrategyResult.cc @@ -40,40 +40,35 @@ void ModifyStrategyResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allResult = value["Result"]; - for (auto value : allResult) - { - Result resultObject; - if(!value["StrategyId"].isNull()) - resultObject.strategyId = std::stoi(value["StrategyId"].asString()); - result_.push_back(resultObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["HttpStatusCode"].isNull()) - httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["StrategyId"].isNull()) + result_.strategyId = std::stoi(resultNode["StrategyId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); } -int ModifyStrategyResult::getTotalCount()const -{ - return totalCount_; -} - -int ModifyStrategyResult::getHttpStatusCode()const -{ - return httpStatusCode_; -} - -bool ModifyStrategyResult::getSuccess()const -{ - return success_; -} - -std::vector ModifyStrategyResult::getResult()const -{ - return result_; -} - +int ModifyStrategyResult::getTotalCount()const +{ + return totalCount_; +} + +int ModifyStrategyResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +bool ModifyStrategyResult::getSuccess()const +{ + return success_; +} + +ModifyStrategyResult::Result ModifyStrategyResult::getResult()const +{ + return result_; +} + diff --git a/aegis/src/model/ModifyStrategyTargetRequest.cc b/aegis/src/model/ModifyStrategyTargetRequest.cc index 7147b78aa..ec1c0d2ab 100644 --- a/aegis/src/model/ModifyStrategyTargetRequest.cc +++ b/aegis/src/model/ModifyStrategyTargetRequest.cc @@ -25,17 +25,6 @@ ModifyStrategyTargetRequest::ModifyStrategyTargetRequest() : ModifyStrategyTargetRequest::~ModifyStrategyTargetRequest() {} -long ModifyStrategyTargetRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyStrategyTargetRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - std::string ModifyStrategyTargetRequest::getSourceIp()const { return sourceIp_; @@ -44,7 +33,7 @@ std::string ModifyStrategyTargetRequest::getSourceIp()const void ModifyStrategyTargetRequest::setSourceIp(const std::string& sourceIp) { sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); + setCoreParameter("SourceIp", sourceIp); } std::string ModifyStrategyTargetRequest::getType()const @@ -55,7 +44,7 @@ std::string ModifyStrategyTargetRequest::getType()const void ModifyStrategyTargetRequest::setType(const std::string& type) { type_ = type; - setParameter("Type", type); + setCoreParameter("Type", type); } std::string ModifyStrategyTargetRequest::getConfig()const @@ -66,7 +55,7 @@ std::string ModifyStrategyTargetRequest::getConfig()const void ModifyStrategyTargetRequest::setConfig(const std::string& config) { config_ = config; - setParameter("Config", config); + setCoreParameter("Config", config); } std::string ModifyStrategyTargetRequest::getTarget()const @@ -77,6 +66,6 @@ std::string ModifyStrategyTargetRequest::getTarget()const void ModifyStrategyTargetRequest::setTarget(const std::string& target) { target_ = target; - setParameter("Target", target); + setCoreParameter("Target", target); } diff --git a/aegis/src/model/ModifyTargetConfigRequest.cc b/aegis/src/model/ModifyTargetConfigRequest.cc new file mode 100644 index 000000000..e6ca3cd6a --- /dev/null +++ b/aegis/src/model/ModifyTargetConfigRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::ModifyTargetConfigRequest; + +ModifyTargetConfigRequest::ModifyTargetConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyTargetConfig") +{} + +ModifyTargetConfigRequest::~ModifyTargetConfigRequest() +{} + +std::string ModifyTargetConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyTargetConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifyTargetConfigRequest::getType()const +{ + return type_; +} + +void ModifyTargetConfigRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string ModifyTargetConfigRequest::getUuid()const +{ + return uuid_; +} + +void ModifyTargetConfigRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + +std::string ModifyTargetConfigRequest::getConfig()const +{ + return config_; +} + +void ModifyTargetConfigRequest::setConfig(const std::string& config) +{ + config_ = config; + setCoreParameter("Config", config); +} + diff --git a/aegis/src/model/ModifyTargetConfigResult.cc b/aegis/src/model/ModifyTargetConfigResult.cc new file mode 100644 index 000000000..5a8d69c3d --- /dev/null +++ b/aegis/src/model/ModifyTargetConfigResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyTargetConfigResult::ModifyTargetConfigResult() : + ServiceResult() +{} + +ModifyTargetConfigResult::ModifyTargetConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyTargetConfigResult::~ModifyTargetConfigResult() +{} + +void ModifyTargetConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyVulConfigRequest.cc b/aegis/src/model/ModifyVulConfigRequest.cc new file mode 100644 index 000000000..2bc1ecf83 --- /dev/null +++ b/aegis/src/model/ModifyVulConfigRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::ModifyVulConfigRequest; + +ModifyVulConfigRequest::ModifyVulConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyVulConfig") +{} + +ModifyVulConfigRequest::~ModifyVulConfigRequest() +{} + +std::string ModifyVulConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyVulConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifyVulConfigRequest::getType()const +{ + return type_; +} + +void ModifyVulConfigRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string ModifyVulConfigRequest::getConfig()const +{ + return config_; +} + +void ModifyVulConfigRequest::setConfig(const std::string& config) +{ + config_ = config; + setCoreParameter("Config", config); +} + diff --git a/aegis/src/model/ModifyVulConfigResult.cc b/aegis/src/model/ModifyVulConfigResult.cc new file mode 100644 index 000000000..ae9cdcdd0 --- /dev/null +++ b/aegis/src/model/ModifyVulConfigResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyVulConfigResult::ModifyVulConfigResult() : + ServiceResult() +{} + +ModifyVulConfigResult::ModifyVulConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyVulConfigResult::~ModifyVulConfigResult() +{} + +void ModifyVulConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyVulLevelRequest.cc b/aegis/src/model/ModifyVulLevelRequest.cc new file mode 100644 index 000000000..3000a261c --- /dev/null +++ b/aegis/src/model/ModifyVulLevelRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::ModifyVulLevelRequest; + +ModifyVulLevelRequest::ModifyVulLevelRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyVulLevel") +{} + +ModifyVulLevelRequest::~ModifyVulLevelRequest() +{} + +std::string ModifyVulLevelRequest::getConcernLevel()const +{ + return concernLevel_; +} + +void ModifyVulLevelRequest::setConcernLevel(const std::string& concernLevel) +{ + concernLevel_ = concernLevel; + setCoreParameter("ConcernLevel", concernLevel); +} + +std::string ModifyVulLevelRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyVulLevelRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/ModifyVulLevelResult.cc b/aegis/src/model/ModifyVulLevelResult.cc new file mode 100644 index 000000000..63cbbf748 --- /dev/null +++ b/aegis/src/model/ModifyVulLevelResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyVulLevelResult::ModifyVulLevelResult() : + ServiceResult() +{} + +ModifyVulLevelResult::ModifyVulLevelResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyVulLevelResult::~ModifyVulLevelResult() +{} + +void ModifyVulLevelResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyVulTargetRequest.cc b/aegis/src/model/ModifyVulTargetRequest.cc new file mode 100644 index 000000000..778b395dc --- /dev/null +++ b/aegis/src/model/ModifyVulTargetRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::ModifyVulTargetRequest; + +ModifyVulTargetRequest::ModifyVulTargetRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyVulTarget") +{} + +ModifyVulTargetRequest::~ModifyVulTargetRequest() +{} + +std::string ModifyVulTargetRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyVulTargetRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifyVulTargetRequest::getConfig()const +{ + return config_; +} + +void ModifyVulTargetRequest::setConfig(const std::string& config) +{ + config_ = config; + setCoreParameter("Config", config); +} + +std::string ModifyVulTargetRequest::getTarget()const +{ + return target_; +} + +void ModifyVulTargetRequest::setTarget(const std::string& target) +{ + target_ = target; + setCoreParameter("Target", target); +} + diff --git a/aegis/src/model/ModifyVulTargetResult.cc b/aegis/src/model/ModifyVulTargetResult.cc new file mode 100644 index 000000000..bb6e946e3 --- /dev/null +++ b/aegis/src/model/ModifyVulTargetResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyVulTargetResult::ModifyVulTargetResult() : + ServiceResult() +{} + +ModifyVulTargetResult::ModifyVulTargetResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyVulTargetResult::~ModifyVulTargetResult() +{} + +void ModifyVulTargetResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyWebLockCreateConfigRequest.cc b/aegis/src/model/ModifyWebLockCreateConfigRequest.cc new file mode 100644 index 000000000..8db47fb8c --- /dev/null +++ b/aegis/src/model/ModifyWebLockCreateConfigRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::ModifyWebLockCreateConfigRequest; + +ModifyWebLockCreateConfigRequest::ModifyWebLockCreateConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyWebLockCreateConfig") +{} + +ModifyWebLockCreateConfigRequest::~ModifyWebLockCreateConfigRequest() +{} + +std::string ModifyWebLockCreateConfigRequest::getLocalBackupDir()const +{ + return localBackupDir_; +} + +void ModifyWebLockCreateConfigRequest::setLocalBackupDir(const std::string& localBackupDir) +{ + localBackupDir_ = localBackupDir; + setCoreParameter("LocalBackupDir", localBackupDir); +} + +std::string ModifyWebLockCreateConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyWebLockCreateConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifyWebLockCreateConfigRequest::getExclusiveFileType()const +{ + return exclusiveFileType_; +} + +void ModifyWebLockCreateConfigRequest::setExclusiveFileType(const std::string& exclusiveFileType) +{ + exclusiveFileType_ = exclusiveFileType; + setCoreParameter("ExclusiveFileType", exclusiveFileType); +} + +std::string ModifyWebLockCreateConfigRequest::getLang()const +{ + return lang_; +} + +void ModifyWebLockCreateConfigRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string ModifyWebLockCreateConfigRequest::getDir()const +{ + return dir_; +} + +void ModifyWebLockCreateConfigRequest::setDir(const std::string& dir) +{ + dir_ = dir; + setCoreParameter("Dir", dir); +} + +std::string ModifyWebLockCreateConfigRequest::getUuid()const +{ + return uuid_; +} + +void ModifyWebLockCreateConfigRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + +std::string ModifyWebLockCreateConfigRequest::getExclusiveDir()const +{ + return exclusiveDir_; +} + +void ModifyWebLockCreateConfigRequest::setExclusiveDir(const std::string& exclusiveDir) +{ + exclusiveDir_ = exclusiveDir; + setCoreParameter("ExclusiveDir", exclusiveDir); +} + diff --git a/aegis/src/model/ModifyWebLockCreateConfigResult.cc b/aegis/src/model/ModifyWebLockCreateConfigResult.cc new file mode 100644 index 000000000..0c033ad38 --- /dev/null +++ b/aegis/src/model/ModifyWebLockCreateConfigResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyWebLockCreateConfigResult::ModifyWebLockCreateConfigResult() : + ServiceResult() +{} + +ModifyWebLockCreateConfigResult::ModifyWebLockCreateConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyWebLockCreateConfigResult::~ModifyWebLockCreateConfigResult() +{} + +void ModifyWebLockCreateConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyWebLockDeleteConfigRequest.cc b/aegis/src/model/ModifyWebLockDeleteConfigRequest.cc new file mode 100644 index 000000000..1ed91424b --- /dev/null +++ b/aegis/src/model/ModifyWebLockDeleteConfigRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::ModifyWebLockDeleteConfigRequest; + +ModifyWebLockDeleteConfigRequest::ModifyWebLockDeleteConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyWebLockDeleteConfig") +{} + +ModifyWebLockDeleteConfigRequest::~ModifyWebLockDeleteConfigRequest() +{} + +std::string ModifyWebLockDeleteConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyWebLockDeleteConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int ModifyWebLockDeleteConfigRequest::getId()const +{ + return id_; +} + +void ModifyWebLockDeleteConfigRequest::setId(int id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +std::string ModifyWebLockDeleteConfigRequest::getLang()const +{ + return lang_; +} + +void ModifyWebLockDeleteConfigRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string ModifyWebLockDeleteConfigRequest::getUuid()const +{ + return uuid_; +} + +void ModifyWebLockDeleteConfigRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + diff --git a/aegis/src/model/ModifyWebLockDeleteConfigResult.cc b/aegis/src/model/ModifyWebLockDeleteConfigResult.cc new file mode 100644 index 000000000..e50cb66b6 --- /dev/null +++ b/aegis/src/model/ModifyWebLockDeleteConfigResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyWebLockDeleteConfigResult::ModifyWebLockDeleteConfigResult() : + ServiceResult() +{} + +ModifyWebLockDeleteConfigResult::ModifyWebLockDeleteConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyWebLockDeleteConfigResult::~ModifyWebLockDeleteConfigResult() +{} + +void ModifyWebLockDeleteConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyWebLockMachineListRequest.cc b/aegis/src/model/ModifyWebLockMachineListRequest.cc new file mode 100644 index 000000000..2e33f311f --- /dev/null +++ b/aegis/src/model/ModifyWebLockMachineListRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::ModifyWebLockMachineListRequest; + +ModifyWebLockMachineListRequest::ModifyWebLockMachineListRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyWebLockMachineList") +{} + +ModifyWebLockMachineListRequest::~ModifyWebLockMachineListRequest() +{} + +std::string ModifyWebLockMachineListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyWebLockMachineListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifyWebLockMachineListRequest::getLang()const +{ + return lang_; +} + +void ModifyWebLockMachineListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string ModifyWebLockMachineListRequest::getUuids()const +{ + return uuids_; +} + +void ModifyWebLockMachineListRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + diff --git a/aegis/src/model/ModifyWebLockMachineListResult.cc b/aegis/src/model/ModifyWebLockMachineListResult.cc new file mode 100644 index 000000000..f0f0bb4cb --- /dev/null +++ b/aegis/src/model/ModifyWebLockMachineListResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyWebLockMachineListResult::ModifyWebLockMachineListResult() : + ServiceResult() +{} + +ModifyWebLockMachineListResult::ModifyWebLockMachineListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyWebLockMachineListResult::~ModifyWebLockMachineListResult() +{} + +void ModifyWebLockMachineListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyWebLockOperateEventsRequest.cc b/aegis/src/model/ModifyWebLockOperateEventsRequest.cc new file mode 100644 index 000000000..94a929b76 --- /dev/null +++ b/aegis/src/model/ModifyWebLockOperateEventsRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::ModifyWebLockOperateEventsRequest; + +ModifyWebLockOperateEventsRequest::ModifyWebLockOperateEventsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyWebLockOperateEvents") +{} + +ModifyWebLockOperateEventsRequest::~ModifyWebLockOperateEventsRequest() +{} + +std::string ModifyWebLockOperateEventsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyWebLockOperateEventsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifyWebLockOperateEventsRequest::getOperation()const +{ + return operation_; +} + +void ModifyWebLockOperateEventsRequest::setOperation(const std::string& operation) +{ + operation_ = operation; + setCoreParameter("Operation", operation); +} + +std::string ModifyWebLockOperateEventsRequest::getEventIds()const +{ + return eventIds_; +} + +void ModifyWebLockOperateEventsRequest::setEventIds(const std::string& eventIds) +{ + eventIds_ = eventIds; + setCoreParameter("EventIds", eventIds); +} + diff --git a/aegis/src/model/ModifyWebLockOperateEventsResult.cc b/aegis/src/model/ModifyWebLockOperateEventsResult.cc new file mode 100644 index 000000000..b156a0b28 --- /dev/null +++ b/aegis/src/model/ModifyWebLockOperateEventsResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyWebLockOperateEventsResult::ModifyWebLockOperateEventsResult() : + ServiceResult() +{} + +ModifyWebLockOperateEventsResult::ModifyWebLockOperateEventsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyWebLockOperateEventsResult::~ModifyWebLockOperateEventsResult() +{} + +void ModifyWebLockOperateEventsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyWebLockRefreshRequest.cc b/aegis/src/model/ModifyWebLockRefreshRequest.cc new file mode 100644 index 000000000..00a400232 --- /dev/null +++ b/aegis/src/model/ModifyWebLockRefreshRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::ModifyWebLockRefreshRequest; + +ModifyWebLockRefreshRequest::ModifyWebLockRefreshRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyWebLockRefresh") +{} + +ModifyWebLockRefreshRequest::~ModifyWebLockRefreshRequest() +{} + +std::string ModifyWebLockRefreshRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyWebLockRefreshRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifyWebLockRefreshRequest::getLang()const +{ + return lang_; +} + +void ModifyWebLockRefreshRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string ModifyWebLockRefreshRequest::getUuid()const +{ + return uuid_; +} + +void ModifyWebLockRefreshRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + diff --git a/aegis/src/model/ModifyWebLockRefreshResult.cc b/aegis/src/model/ModifyWebLockRefreshResult.cc new file mode 100644 index 000000000..171d74b00 --- /dev/null +++ b/aegis/src/model/ModifyWebLockRefreshResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyWebLockRefreshResult::ModifyWebLockRefreshResult() : + ServiceResult() +{} + +ModifyWebLockRefreshResult::ModifyWebLockRefreshResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyWebLockRefreshResult::~ModifyWebLockRefreshResult() +{} + +void ModifyWebLockRefreshResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyWebLockStatusRequest.cc b/aegis/src/model/ModifyWebLockStatusRequest.cc new file mode 100644 index 000000000..5ad76c9e8 --- /dev/null +++ b/aegis/src/model/ModifyWebLockStatusRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::ModifyWebLockStatusRequest; + +ModifyWebLockStatusRequest::ModifyWebLockStatusRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyWebLockStatus") +{} + +ModifyWebLockStatusRequest::~ModifyWebLockStatusRequest() +{} + +std::string ModifyWebLockStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyWebLockStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifyWebLockStatusRequest::getLang()const +{ + return lang_; +} + +void ModifyWebLockStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string ModifyWebLockStatusRequest::getUuid()const +{ + return uuid_; +} + +void ModifyWebLockStatusRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + +std::string ModifyWebLockStatusRequest::getStatus()const +{ + return status_; +} + +void ModifyWebLockStatusRequest::setStatus(const std::string& status) +{ + status_ = status; + setCoreParameter("Status", status); +} + diff --git a/aegis/src/model/ModifyWebLockStatusResult.cc b/aegis/src/model/ModifyWebLockStatusResult.cc new file mode 100644 index 000000000..ed99ac3a2 --- /dev/null +++ b/aegis/src/model/ModifyWebLockStatusResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyWebLockStatusResult::ModifyWebLockStatusResult() : + ServiceResult() +{} + +ModifyWebLockStatusResult::ModifyWebLockStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyWebLockStatusResult::~ModifyWebLockStatusResult() +{} + +void ModifyWebLockStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/ModifyWebLockUpdateConfigRequest.cc b/aegis/src/model/ModifyWebLockUpdateConfigRequest.cc new file mode 100644 index 000000000..447794308 --- /dev/null +++ b/aegis/src/model/ModifyWebLockUpdateConfigRequest.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::ModifyWebLockUpdateConfigRequest; + +ModifyWebLockUpdateConfigRequest::ModifyWebLockUpdateConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ModifyWebLockUpdateConfig") +{} + +ModifyWebLockUpdateConfigRequest::~ModifyWebLockUpdateConfigRequest() +{} + +std::string ModifyWebLockUpdateConfigRequest::getLocalBackupDir()const +{ + return localBackupDir_; +} + +void ModifyWebLockUpdateConfigRequest::setLocalBackupDir(const std::string& localBackupDir) +{ + localBackupDir_ = localBackupDir; + setCoreParameter("LocalBackupDir", localBackupDir); +} + +std::string ModifyWebLockUpdateConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ModifyWebLockUpdateConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ModifyWebLockUpdateConfigRequest::getExclusiveFileType()const +{ + return exclusiveFileType_; +} + +void ModifyWebLockUpdateConfigRequest::setExclusiveFileType(const std::string& exclusiveFileType) +{ + exclusiveFileType_ = exclusiveFileType; + setCoreParameter("ExclusiveFileType", exclusiveFileType); +} + +int ModifyWebLockUpdateConfigRequest::getId()const +{ + return id_; +} + +void ModifyWebLockUpdateConfigRequest::setId(int id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +std::string ModifyWebLockUpdateConfigRequest::getLang()const +{ + return lang_; +} + +void ModifyWebLockUpdateConfigRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string ModifyWebLockUpdateConfigRequest::getDir()const +{ + return dir_; +} + +void ModifyWebLockUpdateConfigRequest::setDir(const std::string& dir) +{ + dir_ = dir; + setCoreParameter("Dir", dir); +} + +std::string ModifyWebLockUpdateConfigRequest::getUuid()const +{ + return uuid_; +} + +void ModifyWebLockUpdateConfigRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + +std::string ModifyWebLockUpdateConfigRequest::getExclusiveDir()const +{ + return exclusiveDir_; +} + +void ModifyWebLockUpdateConfigRequest::setExclusiveDir(const std::string& exclusiveDir) +{ + exclusiveDir_ = exclusiveDir; + setCoreParameter("ExclusiveDir", exclusiveDir); +} + diff --git a/aegis/src/model/ModifyWebLockUpdateConfigResult.cc b/aegis/src/model/ModifyWebLockUpdateConfigResult.cc new file mode 100644 index 000000000..fb3a0339d --- /dev/null +++ b/aegis/src/model/ModifyWebLockUpdateConfigResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ModifyWebLockUpdateConfigResult::ModifyWebLockUpdateConfigResult() : + ServiceResult() +{} + +ModifyWebLockUpdateConfigResult::ModifyWebLockUpdateConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyWebLockUpdateConfigResult::~ModifyWebLockUpdateConfigResult() +{} + +void ModifyWebLockUpdateConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/OpenSasTrialRequest.cc b/aegis/src/model/OpenSasTrialRequest.cc new file mode 100644 index 000000000..45a9e00a4 --- /dev/null +++ b/aegis/src/model/OpenSasTrialRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Aegis::Model::OpenSasTrialRequest; + +OpenSasTrialRequest::OpenSasTrialRequest() : + RpcServiceRequest("aegis", "2016-11-11", "OpenSasTrial") +{} + +OpenSasTrialRequest::~OpenSasTrialRequest() +{} + +std::string OpenSasTrialRequest::getSourceIp()const +{ + return sourceIp_; +} + +void OpenSasTrialRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string OpenSasTrialRequest::getBuyVersion()const +{ + return buyVersion_; +} + +void OpenSasTrialRequest::setBuyVersion(const std::string& buyVersion) +{ + buyVersion_ = buyVersion; + setCoreParameter("BuyVersion", buyVersion); +} + diff --git a/aegis/src/model/OpenSasTrialResult.cc b/aegis/src/model/OpenSasTrialResult.cc new file mode 100644 index 000000000..e6df96728 --- /dev/null +++ b/aegis/src/model/OpenSasTrialResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +OpenSasTrialResult::OpenSasTrialResult() : + ServiceResult() +{} + +OpenSasTrialResult::OpenSasTrialResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +OpenSasTrialResult::~OpenSasTrialResult() +{} + +void OpenSasTrialResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/OperateAgentClientInstallRequest.cc b/aegis/src/model/OperateAgentClientInstallRequest.cc new file mode 100644 index 000000000..98abfde51 --- /dev/null +++ b/aegis/src/model/OperateAgentClientInstallRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::OperateAgentClientInstallRequest; + +OperateAgentClientInstallRequest::OperateAgentClientInstallRequest() : + RpcServiceRequest("aegis", "2016-11-11", "OperateAgentClientInstall") +{} + +OperateAgentClientInstallRequest::~OperateAgentClientInstallRequest() +{} + +std::string OperateAgentClientInstallRequest::getSourceIp()const +{ + return sourceIp_; +} + +void OperateAgentClientInstallRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string OperateAgentClientInstallRequest::getInstanceIds()const +{ + return instanceIds_; +} + +void OperateAgentClientInstallRequest::setInstanceIds(const std::string& instanceIds) +{ + instanceIds_ = instanceIds; + setCoreParameter("InstanceIds", instanceIds); +} + +std::string OperateAgentClientInstallRequest::getLang()const +{ + return lang_; +} + +void OperateAgentClientInstallRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string OperateAgentClientInstallRequest::getUuids()const +{ + return uuids_; +} + +void OperateAgentClientInstallRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + diff --git a/aegis/src/model/OperateAgentClientInstallResult.cc b/aegis/src/model/OperateAgentClientInstallResult.cc new file mode 100644 index 000000000..ad60f2882 --- /dev/null +++ b/aegis/src/model/OperateAgentClientInstallResult.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +OperateAgentClientInstallResult::OperateAgentClientInstallResult() : + ServiceResult() +{} + +OperateAgentClientInstallResult::OperateAgentClientInstallResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +OperateAgentClientInstallResult::~OperateAgentClientInstallResult() +{} + +void OperateAgentClientInstallResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allAegisCelintInstallResposeList = value["AegisCelintInstallResposeList"]["AegisCelintInstallRespose"]; + for (auto value : allAegisCelintInstallResposeList) + { + AegisCelintInstallRespose aegisCelintInstallResposeListObject; + if(!value["InstanceId"].isNull()) + aegisCelintInstallResposeListObject.instanceId = value["InstanceId"].asString(); + if(!value["RecordId"].isNull()) + aegisCelintInstallResposeListObject.recordId = std::stol(value["RecordId"].asString()); + if(!value["Uuid"].isNull()) + aegisCelintInstallResposeListObject.uuid = value["Uuid"].asString(); + aegisCelintInstallResposeList_.push_back(aegisCelintInstallResposeListObject); + } + +} + +std::vector OperateAgentClientInstallResult::getAegisCelintInstallResposeList()const +{ + return aegisCelintInstallResposeList_; +} + diff --git a/aegis/src/model/OperateResultRequest.cc b/aegis/src/model/OperateResultRequest.cc new file mode 100644 index 000000000..c8cab630a --- /dev/null +++ b/aegis/src/model/OperateResultRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::OperateResultRequest; + +OperateResultRequest::OperateResultRequest() : + RpcServiceRequest("aegis", "2016-11-11", "OperateResult") +{} + +OperateResultRequest::~OperateResultRequest() +{} + +std::string OperateResultRequest::getSourceIp()const +{ + return sourceIp_; +} + +void OperateResultRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string OperateResultRequest::getIds()const +{ + return ids_; +} + +void OperateResultRequest::setIds(const std::string& ids) +{ + ids_ = ids; + setCoreParameter("Ids", ids); +} + +long OperateResultRequest::getStatus()const +{ + return status_; +} + +void OperateResultRequest::setStatus(long status) +{ + status_ = status; + setCoreParameter("Status", std::to_string(status)); +} + diff --git a/aegis/src/model/OperateResultResult.cc b/aegis/src/model/OperateResultResult.cc new file mode 100644 index 000000000..829ca3782 --- /dev/null +++ b/aegis/src/model/OperateResultResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +OperateResultResult::OperateResultResult() : + ServiceResult() +{} + +OperateResultResult::OperateResultResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +OperateResultResult::~OperateResultResult() +{} + +void OperateResultResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/OperateSuspiciousEventRequest.cc b/aegis/src/model/OperateSuspiciousEventRequest.cc new file mode 100644 index 000000000..1b432dd65 --- /dev/null +++ b/aegis/src/model/OperateSuspiciousEventRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::OperateSuspiciousEventRequest; + +OperateSuspiciousEventRequest::OperateSuspiciousEventRequest() : + RpcServiceRequest("aegis", "2016-11-11", "OperateSuspiciousEvent") +{} + +OperateSuspiciousEventRequest::~OperateSuspiciousEventRequest() +{} + +std::string OperateSuspiciousEventRequest::getSourceIp()const +{ + return sourceIp_; +} + +void OperateSuspiciousEventRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string OperateSuspiciousEventRequest::getData()const +{ + return data_; +} + +void OperateSuspiciousEventRequest::setData(const std::string& data) +{ + data_ = data; + setCoreParameter("Data", data); +} + +std::string OperateSuspiciousEventRequest::getOperateType()const +{ + return operateType_; +} + +void OperateSuspiciousEventRequest::setOperateType(const std::string& operateType) +{ + operateType_ = operateType; + setCoreParameter("OperateType", operateType); +} + diff --git a/aegis/src/model/OperateSuspiciousEventResult.cc b/aegis/src/model/OperateSuspiciousEventResult.cc new file mode 100644 index 000000000..7335e1b6d --- /dev/null +++ b/aegis/src/model/OperateSuspiciousEventResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +OperateSuspiciousEventResult::OperateSuspiciousEventResult() : + ServiceResult() +{} + +OperateSuspiciousEventResult::OperateSuspiciousEventResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +OperateSuspiciousEventResult::~OperateSuspiciousEventResult() +{} + +void OperateSuspiciousEventResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/OperateSuspiciousOverallConfigRequest.cc b/aegis/src/model/OperateSuspiciousOverallConfigRequest.cc new file mode 100644 index 000000000..1191419fe --- /dev/null +++ b/aegis/src/model/OperateSuspiciousOverallConfigRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::OperateSuspiciousOverallConfigRequest; + +OperateSuspiciousOverallConfigRequest::OperateSuspiciousOverallConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "OperateSuspiciousOverallConfig") +{} + +OperateSuspiciousOverallConfigRequest::~OperateSuspiciousOverallConfigRequest() +{} + +std::string OperateSuspiciousOverallConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void OperateSuspiciousOverallConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string OperateSuspiciousOverallConfigRequest::getLang()const +{ + return lang_; +} + +void OperateSuspiciousOverallConfigRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string OperateSuspiciousOverallConfigRequest::getType()const +{ + return type_; +} + +void OperateSuspiciousOverallConfigRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string OperateSuspiciousOverallConfigRequest::getConfig()const +{ + return config_; +} + +void OperateSuspiciousOverallConfigRequest::setConfig(const std::string& config) +{ + config_ = config; + setCoreParameter("Config", config); +} + diff --git a/aegis/src/model/OperateSuspiciousOverallConfigResult.cc b/aegis/src/model/OperateSuspiciousOverallConfigResult.cc new file mode 100644 index 000000000..38c2eebc6 --- /dev/null +++ b/aegis/src/model/OperateSuspiciousOverallConfigResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +OperateSuspiciousOverallConfigResult::OperateSuspiciousOverallConfigResult() : + ServiceResult() +{} + +OperateSuspiciousOverallConfigResult::OperateSuspiciousOverallConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +OperateSuspiciousOverallConfigResult::~OperateSuspiciousOverallConfigResult() +{} + +void OperateSuspiciousOverallConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/OperateSuspiciousTargetConfigRequest.cc b/aegis/src/model/OperateSuspiciousTargetConfigRequest.cc new file mode 100644 index 000000000..fbac919c3 --- /dev/null +++ b/aegis/src/model/OperateSuspiciousTargetConfigRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::OperateSuspiciousTargetConfigRequest; + +OperateSuspiciousTargetConfigRequest::OperateSuspiciousTargetConfigRequest() : + RpcServiceRequest("aegis", "2016-11-11", "OperateSuspiciousTargetConfig") +{} + +OperateSuspiciousTargetConfigRequest::~OperateSuspiciousTargetConfigRequest() +{} + +std::string OperateSuspiciousTargetConfigRequest::getTargetOperations()const +{ + return targetOperations_; +} + +void OperateSuspiciousTargetConfigRequest::setTargetOperations(const std::string& targetOperations) +{ + targetOperations_ = targetOperations; + setCoreParameter("TargetOperations", targetOperations); +} + +std::string OperateSuspiciousTargetConfigRequest::getSourceIp()const +{ + return sourceIp_; +} + +void OperateSuspiciousTargetConfigRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string OperateSuspiciousTargetConfigRequest::getTargetType()const +{ + return targetType_; +} + +void OperateSuspiciousTargetConfigRequest::setTargetType(const std::string& targetType) +{ + targetType_ = targetType; + setCoreParameter("TargetType", targetType); +} + +std::string OperateSuspiciousTargetConfigRequest::getLang()const +{ + return lang_; +} + +void OperateSuspiciousTargetConfigRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +std::string OperateSuspiciousTargetConfigRequest::getType()const +{ + return type_; +} + +void OperateSuspiciousTargetConfigRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + diff --git a/aegis/src/model/OperateSuspiciousTargetConfigResult.cc b/aegis/src/model/OperateSuspiciousTargetConfigResult.cc new file mode 100644 index 000000000..281f1fa9f --- /dev/null +++ b/aegis/src/model/OperateSuspiciousTargetConfigResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +OperateSuspiciousTargetConfigResult::OperateSuspiciousTargetConfigResult() : + ServiceResult() +{} + +OperateSuspiciousTargetConfigResult::OperateSuspiciousTargetConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +OperateSuspiciousTargetConfigResult::~OperateSuspiciousTargetConfigResult() +{} + +void OperateSuspiciousTargetConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/OperateVulRequest.cc b/aegis/src/model/OperateVulRequest.cc new file mode 100644 index 000000000..455725725 --- /dev/null +++ b/aegis/src/model/OperateVulRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::OperateVulRequest; + +OperateVulRequest::OperateVulRequest() : + RpcServiceRequest("aegis", "2016-11-11", "OperateVul") +{} + +OperateVulRequest::~OperateVulRequest() +{} + +std::string OperateVulRequest::getReason()const +{ + return reason_; +} + +void OperateVulRequest::setReason(const std::string& reason) +{ + reason_ = reason; + setCoreParameter("Reason", reason); +} + +std::string OperateVulRequest::getSourceIp()const +{ + return sourceIp_; +} + +void OperateVulRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string OperateVulRequest::getOperateType()const +{ + return operateType_; +} + +void OperateVulRequest::setOperateType(const std::string& operateType) +{ + operateType_ = operateType; + setCoreParameter("OperateType", operateType); +} + +std::string OperateVulRequest::getType()const +{ + return type_; +} + +void OperateVulRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string OperateVulRequest::getInfo()const +{ + return info_; +} + +void OperateVulRequest::setInfo(const std::string& info) +{ + info_ = info; + setCoreParameter("Info", info); +} + diff --git a/aegis/src/model/OperateVulResult.cc b/aegis/src/model/OperateVulResult.cc new file mode 100644 index 000000000..d6066c464 --- /dev/null +++ b/aegis/src/model/OperateVulResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +OperateVulResult::OperateVulResult() : + ServiceResult() +{} + +OperateVulResult::OperateVulResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +OperateVulResult::~OperateVulResult() +{} + +void OperateVulResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/OperateWarningRequest.cc b/aegis/src/model/OperateWarningRequest.cc new file mode 100644 index 000000000..4470cbd95 --- /dev/null +++ b/aegis/src/model/OperateWarningRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::OperateWarningRequest; + +OperateWarningRequest::OperateWarningRequest() : + RpcServiceRequest("aegis", "2016-11-11", "OperateWarning") +{} + +OperateWarningRequest::~OperateWarningRequest() +{} + +std::string OperateWarningRequest::getReason()const +{ + return reason_; +} + +void OperateWarningRequest::setReason(const std::string& reason) +{ + reason_ = reason; + setCoreParameter("Reason", reason); +} + +std::string OperateWarningRequest::getSourceIp()const +{ + return sourceIp_; +} + +void OperateWarningRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string OperateWarningRequest::getOperateType()const +{ + return operateType_; +} + +void OperateWarningRequest::setOperateType(const std::string& operateType) +{ + operateType_ = operateType; + setCoreParameter("OperateType", operateType); +} + +std::string OperateWarningRequest::getRiskWarningIds()const +{ + return riskWarningIds_; +} + +void OperateWarningRequest::setRiskWarningIds(const std::string& riskWarningIds) +{ + riskWarningIds_ = riskWarningIds; + setCoreParameter("RiskWarningIds", riskWarningIds); +} + diff --git a/aegis/src/model/OperateWarningResult.cc b/aegis/src/model/OperateWarningResult.cc new file mode 100644 index 000000000..42c6d6499 --- /dev/null +++ b/aegis/src/model/OperateWarningResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +OperateWarningResult::OperateWarningResult() : + ServiceResult() +{} + +OperateWarningResult::OperateWarningResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +OperateWarningResult::~OperateWarningResult() +{} + +void OperateWarningResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/OperationSuspEventsRequest.cc b/aegis/src/model/OperationSuspEventsRequest.cc new file mode 100644 index 000000000..b4c3668dc --- /dev/null +++ b/aegis/src/model/OperationSuspEventsRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::OperationSuspEventsRequest; + +OperationSuspEventsRequest::OperationSuspEventsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "OperationSuspEvents") +{} + +OperationSuspEventsRequest::~OperationSuspEventsRequest() +{} + +std::string OperationSuspEventsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void OperationSuspEventsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string OperationSuspEventsRequest::getWarnType()const +{ + return warnType_; +} + +void OperationSuspEventsRequest::setWarnType(const std::string& warnType) +{ + warnType_ = warnType; + setCoreParameter("WarnType", warnType); +} + +std::string OperationSuspEventsRequest::getSuspiciousEventIds()const +{ + return suspiciousEventIds_; +} + +void OperationSuspEventsRequest::setSuspiciousEventIds(const std::string& suspiciousEventIds) +{ + suspiciousEventIds_ = suspiciousEventIds; + setCoreParameter("SuspiciousEventIds", suspiciousEventIds); +} + +std::string OperationSuspEventsRequest::getFrom()const +{ + return from_; +} + +void OperationSuspEventsRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string OperationSuspEventsRequest::getSubOperation()const +{ + return subOperation_; +} + +void OperationSuspEventsRequest::setSubOperation(const std::string& subOperation) +{ + subOperation_ = subOperation; + setCoreParameter("SubOperation", subOperation); +} + +std::string OperationSuspEventsRequest::getOperation()const +{ + return operation_; +} + +void OperationSuspEventsRequest::setOperation(const std::string& operation) +{ + operation_ = operation; + setCoreParameter("Operation", operation); +} + diff --git a/aegis/src/model/OperationSuspEventsResult.cc b/aegis/src/model/OperationSuspEventsResult.cc new file mode 100644 index 000000000..07c443cd0 --- /dev/null +++ b/aegis/src/model/OperationSuspEventsResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +OperationSuspEventsResult::OperationSuspEventsResult() : + ServiceResult() +{} + +OperationSuspEventsResult::OperationSuspEventsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +OperationSuspEventsResult::~OperationSuspEventsResult() +{} + +void OperationSuspEventsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool OperationSuspEventsResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/QueryCrackEventRequest.cc b/aegis/src/model/QueryCrackEventRequest.cc index 185df9b48..927050762 100644 --- a/aegis/src/model/QueryCrackEventRequest.cc +++ b/aegis/src/model/QueryCrackEventRequest.cc @@ -33,7 +33,7 @@ std::string QueryCrackEventRequest::getEndTime()const void QueryCrackEventRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } int QueryCrackEventRequest::getCurrentPage()const @@ -44,7 +44,7 @@ int QueryCrackEventRequest::getCurrentPage()const void QueryCrackEventRequest::setCurrentPage(int currentPage) { currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); + setCoreParameter("CurrentPage", std::to_string(currentPage)); } std::string QueryCrackEventRequest::getStartTime()const @@ -55,7 +55,7 @@ std::string QueryCrackEventRequest::getStartTime()const void QueryCrackEventRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } std::string QueryCrackEventRequest::getUuid()const @@ -66,7 +66,7 @@ std::string QueryCrackEventRequest::getUuid()const void QueryCrackEventRequest::setUuid(const std::string& uuid) { uuid_ = uuid; - setParameter("Uuid", uuid); + setCoreParameter("Uuid", uuid); } int QueryCrackEventRequest::getStatus()const @@ -77,6 +77,6 @@ int QueryCrackEventRequest::getStatus()const void QueryCrackEventRequest::setStatus(int status) { status_ = status; - setParameter("Status", std::to_string(status)); + setCoreParameter("Status", std::to_string(status)); } diff --git a/aegis/src/model/QueryCrackEventResult.cc b/aegis/src/model/QueryCrackEventResult.cc index 721c813cc..616f6a3ff 100644 --- a/aegis/src/model/QueryCrackEventResult.cc +++ b/aegis/src/model/QueryCrackEventResult.cc @@ -40,99 +40,89 @@ void QueryCrackEventResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allData = value["Data"]; - for (auto value : allData) - { - Data dataObject; - auto allList = value["List"]["Entity"]; - for (auto value : allList) - { - Data::Entity entityObject; - if(!value["Uuid"].isNull()) - entityObject.uuid = value["Uuid"].asString(); - if(!value["AttackTime"].isNull()) - entityObject.attackTime = value["AttackTime"].asString(); - if(!value["AttackType"].isNull()) - entityObject.attackType = std::stoi(value["AttackType"].asString()); - if(!value["AttackTypeName"].isNull()) - entityObject.attackTypeName = value["AttackTypeName"].asString(); - if(!value["BuyVersion"].isNull()) - entityObject.buyVersion = value["BuyVersion"].asString(); - if(!value["CrackSourceIp"].isNull()) - entityObject.crackSourceIp = value["CrackSourceIp"].asString(); - if(!value["CrackTimes"].isNull()) - entityObject.crackTimes = std::stoi(value["CrackTimes"].asString()); - if(!value["GroupId"].isNull()) - entityObject.groupId = std::stoi(value["GroupId"].asString()); - if(!value["InstanceName"].isNull()) - entityObject.instanceName = value["InstanceName"].asString(); - if(!value["InstanceId"].isNull()) - entityObject.instanceId = value["InstanceId"].asString(); - if(!value["Ip"].isNull()) - entityObject.ip = value["Ip"].asString(); - if(!value["Region"].isNull()) - entityObject.region = value["Region"].asString(); - if(!value["Status"].isNull()) - entityObject.status = std::stoi(value["Status"].asString()); - if(!value["StatusName"].isNull()) - entityObject.statusName = value["StatusName"].asString(); - if(!value["Location"].isNull()) - entityObject.location = value["Location"].asString(); - if(!value["InWhite"].isNull()) - entityObject.inWhite = std::stoi(value["InWhite"].asString()); - if(!value["UserName"].isNull()) - entityObject.userName = value["UserName"].asString(); - dataObject.list.push_back(entityObject); - } - auto allPageInfo = value["PageInfo"]; - for (auto value : allPageInfo) - { - Data::PageInfo pageInfoObject; - if(!value["CurrentPage"].isNull()) - pageInfoObject.currentPage = std::stoi(value["CurrentPage"].asString()); - if(!value["PageSize"].isNull()) - pageInfoObject.pageSize = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - pageInfoObject.totalCount = std::stoi(value["TotalCount"].asString()); - if(!value["Count"].isNull()) - pageInfoObject.count = std::stoi(value["Count"].asString()); - dataObject.pageInfo.push_back(pageInfoObject); - } - data_.push_back(dataObject); - } - if(!value["requestId"].isNull()) - requestId_ = value["requestId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); + auto dataNode = value["Data"]; + auto allList = value["List"]["Entity"]; + for (auto value : allList) + { + Data::Entity entityObject; + if(!value["Uuid"].isNull()) + entityObject.uuid = value["Uuid"].asString(); + if(!value["AttackTime"].isNull()) + entityObject.attackTime = value["AttackTime"].asString(); + if(!value["AttackType"].isNull()) + entityObject.attackType = std::stoi(value["AttackType"].asString()); + if(!value["AttackTypeName"].isNull()) + entityObject.attackTypeName = value["AttackTypeName"].asString(); + if(!value["BuyVersion"].isNull()) + entityObject.buyVersion = value["BuyVersion"].asString(); + if(!value["CrackSourceIp"].isNull()) + entityObject.crackSourceIp = value["CrackSourceIp"].asString(); + if(!value["CrackTimes"].isNull()) + entityObject.crackTimes = std::stoi(value["CrackTimes"].asString()); + if(!value["GroupId"].isNull()) + entityObject.groupId = std::stoi(value["GroupId"].asString()); + if(!value["InstanceName"].isNull()) + entityObject.instanceName = value["InstanceName"].asString(); + if(!value["InstanceId"].isNull()) + entityObject.instanceId = value["InstanceId"].asString(); + if(!value["Ip"].isNull()) + entityObject.ip = value["Ip"].asString(); + if(!value["Region"].isNull()) + entityObject.region = value["Region"].asString(); + if(!value["Status"].isNull()) + entityObject.status = std::stoi(value["Status"].asString()); + if(!value["StatusName"].isNull()) + entityObject.statusName = value["StatusName"].asString(); + if(!value["Location"].isNull()) + entityObject.location = value["Location"].asString(); + if(!value["InWhite"].isNull()) + entityObject.inWhite = std::stoi(value["InWhite"].asString()); + if(!value["UserName"].isNull()) + entityObject.userName = value["UserName"].asString(); + data_.list.push_back(entityObject); + } + auto pageInfoNode = dataNode["PageInfo"]; + if(!pageInfoNode["CurrentPage"].isNull()) + data_.pageInfo.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + data_.pageInfo.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + data_.pageInfo.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["Count"].isNull()) + data_.pageInfo.count = std::stoi(pageInfoNode["Count"].asString()); + if(!value["requestId"].isNull()) + requestId_ = value["requestId"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); } -std::string QueryCrackEventResult::getRequestId()const -{ - return requestId_; -} - -std::string QueryCrackEventResult::getMessage()const -{ - return message_; -} - -std::vector QueryCrackEventResult::getData()const -{ - return data_; -} - -std::string QueryCrackEventResult::getCode()const -{ - return code_; -} - -bool QueryCrackEventResult::getSuccess()const -{ - return success_; -} - +std::string QueryCrackEventResult::getRequestId()const +{ + return requestId_; +} + +std::string QueryCrackEventResult::getMessage()const +{ + return message_; +} + +QueryCrackEventResult::Data QueryCrackEventResult::getData()const +{ + return data_; +} + +std::string QueryCrackEventResult::getCode()const +{ + return code_; +} + +bool QueryCrackEventResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/QueryLoginEventRequest.cc b/aegis/src/model/QueryLoginEventRequest.cc index 388f79961..d95126fca 100644 --- a/aegis/src/model/QueryLoginEventRequest.cc +++ b/aegis/src/model/QueryLoginEventRequest.cc @@ -33,7 +33,7 @@ std::string QueryLoginEventRequest::getEndTime()const void QueryLoginEventRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; - setParameter("EndTime", endTime); + setCoreParameter("EndTime", endTime); } int QueryLoginEventRequest::getCurrentPage()const @@ -44,7 +44,7 @@ int QueryLoginEventRequest::getCurrentPage()const void QueryLoginEventRequest::setCurrentPage(int currentPage) { currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); + setCoreParameter("CurrentPage", std::to_string(currentPage)); } std::string QueryLoginEventRequest::getStartTime()const @@ -55,7 +55,7 @@ std::string QueryLoginEventRequest::getStartTime()const void QueryLoginEventRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; - setParameter("StartTime", startTime); + setCoreParameter("StartTime", startTime); } std::string QueryLoginEventRequest::getUuid()const @@ -66,7 +66,7 @@ std::string QueryLoginEventRequest::getUuid()const void QueryLoginEventRequest::setUuid(const std::string& uuid) { uuid_ = uuid; - setParameter("Uuid", uuid); + setCoreParameter("Uuid", uuid); } int QueryLoginEventRequest::getStatus()const @@ -77,6 +77,6 @@ int QueryLoginEventRequest::getStatus()const void QueryLoginEventRequest::setStatus(int status) { status_ = status; - setParameter("Status", std::to_string(status)); + setCoreParameter("Status", std::to_string(status)); } diff --git a/aegis/src/model/QueryLoginEventResult.cc b/aegis/src/model/QueryLoginEventResult.cc index ad5b4a896..a2a0bb3e7 100644 --- a/aegis/src/model/QueryLoginEventResult.cc +++ b/aegis/src/model/QueryLoginEventResult.cc @@ -40,95 +40,85 @@ void QueryLoginEventResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allData = value["Data"]; - for (auto value : allData) - { - Data dataObject; - auto allList = value["List"]["Entity"]; - for (auto value : allList) - { - Data::Entity entityObject; - if(!value["Uuid"].isNull()) - entityObject.uuid = value["Uuid"].asString(); - if(!value["LoginTime"].isNull()) - entityObject.loginTime = value["LoginTime"].asString(); - if(!value["LoginType"].isNull()) - entityObject.loginType = std::stoi(value["LoginType"].asString()); - if(!value["LoginTypeName"].isNull()) - entityObject.loginTypeName = value["LoginTypeName"].asString(); - if(!value["BuyVersion"].isNull()) - entityObject.buyVersion = value["BuyVersion"].asString(); - if(!value["LoginSourceIp"].isNull()) - entityObject.loginSourceIp = value["LoginSourceIp"].asString(); - if(!value["GroupId"].isNull()) - entityObject.groupId = std::stoi(value["GroupId"].asString()); - if(!value["InstanceName"].isNull()) - entityObject.instanceName = value["InstanceName"].asString(); - if(!value["InstanceId"].isNull()) - entityObject.instanceId = value["InstanceId"].asString(); - if(!value["Ip"].isNull()) - entityObject.ip = value["Ip"].asString(); - if(!value["Region"].isNull()) - entityObject.region = value["Region"].asString(); - if(!value["Status"].isNull()) - entityObject.status = std::stoi(value["Status"].asString()); - if(!value["StatusName"].isNull()) - entityObject.statusName = value["StatusName"].asString(); - if(!value["Location"].isNull()) - entityObject.location = value["Location"].asString(); - if(!value["UserName"].isNull()) - entityObject.userName = value["UserName"].asString(); - dataObject.list.push_back(entityObject); - } - auto allPageInfo = value["PageInfo"]; - for (auto value : allPageInfo) - { - Data::PageInfo pageInfoObject; - if(!value["CurrentPage"].isNull()) - pageInfoObject.currentPage = std::stoi(value["CurrentPage"].asString()); - if(!value["PageSize"].isNull()) - pageInfoObject.pageSize = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - pageInfoObject.totalCount = std::stoi(value["TotalCount"].asString()); - if(!value["Count"].isNull()) - pageInfoObject.count = std::stoi(value["Count"].asString()); - dataObject.pageInfo.push_back(pageInfoObject); - } - data_.push_back(dataObject); - } - if(!value["requestId"].isNull()) - requestId_ = value["requestId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); + auto dataNode = value["Data"]; + auto allList = value["List"]["Entity"]; + for (auto value : allList) + { + Data::Entity entityObject; + if(!value["Uuid"].isNull()) + entityObject.uuid = value["Uuid"].asString(); + if(!value["LoginTime"].isNull()) + entityObject.loginTime = value["LoginTime"].asString(); + if(!value["LoginType"].isNull()) + entityObject.loginType = std::stoi(value["LoginType"].asString()); + if(!value["LoginTypeName"].isNull()) + entityObject.loginTypeName = value["LoginTypeName"].asString(); + if(!value["BuyVersion"].isNull()) + entityObject.buyVersion = value["BuyVersion"].asString(); + if(!value["LoginSourceIp"].isNull()) + entityObject.loginSourceIp = value["LoginSourceIp"].asString(); + if(!value["GroupId"].isNull()) + entityObject.groupId = std::stoi(value["GroupId"].asString()); + if(!value["InstanceName"].isNull()) + entityObject.instanceName = value["InstanceName"].asString(); + if(!value["InstanceId"].isNull()) + entityObject.instanceId = value["InstanceId"].asString(); + if(!value["Ip"].isNull()) + entityObject.ip = value["Ip"].asString(); + if(!value["Region"].isNull()) + entityObject.region = value["Region"].asString(); + if(!value["Status"].isNull()) + entityObject.status = std::stoi(value["Status"].asString()); + if(!value["StatusName"].isNull()) + entityObject.statusName = value["StatusName"].asString(); + if(!value["Location"].isNull()) + entityObject.location = value["Location"].asString(); + if(!value["UserName"].isNull()) + entityObject.userName = value["UserName"].asString(); + data_.list.push_back(entityObject); + } + auto pageInfoNode = dataNode["PageInfo"]; + if(!pageInfoNode["CurrentPage"].isNull()) + data_.pageInfo.currentPage = std::stoi(pageInfoNode["CurrentPage"].asString()); + if(!pageInfoNode["PageSize"].isNull()) + data_.pageInfo.pageSize = std::stoi(pageInfoNode["PageSize"].asString()); + if(!pageInfoNode["TotalCount"].isNull()) + data_.pageInfo.totalCount = std::stoi(pageInfoNode["TotalCount"].asString()); + if(!pageInfoNode["Count"].isNull()) + data_.pageInfo.count = std::stoi(pageInfoNode["Count"].asString()); + if(!value["requestId"].isNull()) + requestId_ = value["requestId"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); } -std::string QueryLoginEventResult::getRequestId()const -{ - return requestId_; -} - -std::string QueryLoginEventResult::getMessage()const -{ - return message_; -} - -std::vector QueryLoginEventResult::getData()const -{ - return data_; -} - -std::string QueryLoginEventResult::getCode()const -{ - return code_; -} - -bool QueryLoginEventResult::getSuccess()const -{ - return success_; -} - +std::string QueryLoginEventResult::getRequestId()const +{ + return requestId_; +} + +std::string QueryLoginEventResult::getMessage()const +{ + return message_; +} + +QueryLoginEventResult::Data QueryLoginEventResult::getData()const +{ + return data_; +} + +std::string QueryLoginEventResult::getCode()const +{ + return code_; +} + +bool QueryLoginEventResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/ReleaseInstanceRequest.cc b/aegis/src/model/ReleaseInstanceRequest.cc index 07968aef8..8acc0a733 100644 --- a/aegis/src/model/ReleaseInstanceRequest.cc +++ b/aegis/src/model/ReleaseInstanceRequest.cc @@ -33,7 +33,7 @@ std::string ReleaseInstanceRequest::getInstanceId()const void ReleaseInstanceRequest::setInstanceId(const std::string& instanceId) { instanceId_ = instanceId; - setParameter("InstanceId", instanceId); + setCoreParameter("InstanceId", instanceId); } long ReleaseInstanceRequest::getOwnerId()const @@ -44,6 +44,6 @@ long ReleaseInstanceRequest::getOwnerId()const void ReleaseInstanceRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } diff --git a/aegis/src/model/RenewInstanceRequest.cc b/aegis/src/model/RenewInstanceRequest.cc index f0fb72909..d85df278b 100644 --- a/aegis/src/model/RenewInstanceRequest.cc +++ b/aegis/src/model/RenewInstanceRequest.cc @@ -33,7 +33,7 @@ int RenewInstanceRequest::getDuration()const void RenewInstanceRequest::setDuration(int duration) { duration_ = duration; - setParameter("Duration", std::to_string(duration)); + setCoreParameter("Duration", std::to_string(duration)); } std::string RenewInstanceRequest::getInstanceId()const @@ -44,7 +44,7 @@ std::string RenewInstanceRequest::getInstanceId()const void RenewInstanceRequest::setInstanceId(const std::string& instanceId) { instanceId_ = instanceId; - setParameter("InstanceId", instanceId); + setCoreParameter("InstanceId", instanceId); } std::string RenewInstanceRequest::getClientToken()const @@ -55,7 +55,7 @@ std::string RenewInstanceRequest::getClientToken()const void RenewInstanceRequest::setClientToken(const std::string& clientToken) { clientToken_ = clientToken; - setParameter("ClientToken", clientToken); + setCoreParameter("ClientToken", clientToken); } std::string RenewInstanceRequest::getVmNumber()const @@ -66,7 +66,7 @@ std::string RenewInstanceRequest::getVmNumber()const void RenewInstanceRequest::setVmNumber(const std::string& vmNumber) { vmNumber_ = vmNumber; - setParameter("VmNumber", vmNumber); + setCoreParameter("VmNumber", vmNumber); } long RenewInstanceRequest::getOwnerId()const @@ -77,7 +77,7 @@ long RenewInstanceRequest::getOwnerId()const void RenewInstanceRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } std::string RenewInstanceRequest::getPricingCycle()const @@ -88,6 +88,6 @@ std::string RenewInstanceRequest::getPricingCycle()const void RenewInstanceRequest::setPricingCycle(const std::string& pricingCycle) { pricingCycle_ = pricingCycle; - setParameter("PricingCycle", pricingCycle); + setCoreParameter("PricingCycle", pricingCycle); } diff --git a/aegis/src/model/RenewInstanceResult.cc b/aegis/src/model/RenewInstanceResult.cc index bdcf3face..9e60f326b 100644 --- a/aegis/src/model/RenewInstanceResult.cc +++ b/aegis/src/model/RenewInstanceResult.cc @@ -40,13 +40,13 @@ void RenewInstanceResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["OrderId"].isNull()) - orderId_ = value["OrderId"].asString(); + if(!value["OrderId"].isNull()) + orderId_ = value["OrderId"].asString(); } -std::string RenewInstanceResult::getOrderId()const -{ - return orderId_; -} - +std::string RenewInstanceResult::getOrderId()const +{ + return orderId_; +} + diff --git a/aegis/src/model/RollbackQuaraFileRequest.cc b/aegis/src/model/RollbackQuaraFileRequest.cc new file mode 100644 index 000000000..bc0db6a06 --- /dev/null +++ b/aegis/src/model/RollbackQuaraFileRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::RollbackQuaraFileRequest; + +RollbackQuaraFileRequest::RollbackQuaraFileRequest() : + RpcServiceRequest("aegis", "2016-11-11", "RollbackQuaraFile") +{} + +RollbackQuaraFileRequest::~RollbackQuaraFileRequest() +{} + +std::string RollbackQuaraFileRequest::getSourceIp()const +{ + return sourceIp_; +} + +void RollbackQuaraFileRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string RollbackQuaraFileRequest::getEventType()const +{ + return eventType_; +} + +void RollbackQuaraFileRequest::setEventType(const std::string& eventType) +{ + eventType_ = eventType; + setCoreParameter("EventType", eventType); +} + +std::string RollbackQuaraFileRequest::getTag()const +{ + return tag_; +} + +void RollbackQuaraFileRequest::setTag(const std::string& tag) +{ + tag_ = tag; + setCoreParameter("Tag", tag); +} + +std::string RollbackQuaraFileRequest::getUuid()const +{ + return uuid_; +} + +void RollbackQuaraFileRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + +std::string RollbackQuaraFileRequest::getEventName()const +{ + return eventName_; +} + +void RollbackQuaraFileRequest::setEventName(const std::string& eventName) +{ + eventName_ = eventName; + setCoreParameter("EventName", eventName); +} + diff --git a/aegis/src/model/RollbackQuaraFileResult.cc b/aegis/src/model/RollbackQuaraFileResult.cc new file mode 100644 index 000000000..22e02b7af --- /dev/null +++ b/aegis/src/model/RollbackQuaraFileResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +RollbackQuaraFileResult::RollbackQuaraFileResult() : + ServiceResult() +{} + +RollbackQuaraFileResult::RollbackQuaraFileResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RollbackQuaraFileResult::~RollbackQuaraFileResult() +{} + +void RollbackQuaraFileResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + +} + +int RollbackQuaraFileResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + diff --git a/aegis/src/model/RollbackSuspEventQuaraFileRequest.cc b/aegis/src/model/RollbackSuspEventQuaraFileRequest.cc new file mode 100644 index 000000000..c82bd7b42 --- /dev/null +++ b/aegis/src/model/RollbackSuspEventQuaraFileRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::RollbackSuspEventQuaraFileRequest; + +RollbackSuspEventQuaraFileRequest::RollbackSuspEventQuaraFileRequest() : + RpcServiceRequest("aegis", "2016-11-11", "RollbackSuspEventQuaraFile") +{} + +RollbackSuspEventQuaraFileRequest::~RollbackSuspEventQuaraFileRequest() +{} + +std::string RollbackSuspEventQuaraFileRequest::getSourceIp()const +{ + return sourceIp_; +} + +void RollbackSuspEventQuaraFileRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string RollbackSuspEventQuaraFileRequest::getFrom()const +{ + return from_; +} + +void RollbackSuspEventQuaraFileRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +int RollbackSuspEventQuaraFileRequest::getQuaraFileId()const +{ + return quaraFileId_; +} + +void RollbackSuspEventQuaraFileRequest::setQuaraFileId(int quaraFileId) +{ + quaraFileId_ = quaraFileId; + setCoreParameter("QuaraFileId", std::to_string(quaraFileId)); +} + diff --git a/aegis/src/model/RollbackSuspEventQuaraFileResult.cc b/aegis/src/model/RollbackSuspEventQuaraFileResult.cc new file mode 100644 index 000000000..e29837215 --- /dev/null +++ b/aegis/src/model/RollbackSuspEventQuaraFileResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +RollbackSuspEventQuaraFileResult::RollbackSuspEventQuaraFileResult() : + ServiceResult() +{} + +RollbackSuspEventQuaraFileResult::RollbackSuspEventQuaraFileResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RollbackSuspEventQuaraFileResult::~RollbackSuspEventQuaraFileResult() +{} + +void RollbackSuspEventQuaraFileResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/SaveSuspEventUserSettingRequest.cc b/aegis/src/model/SaveSuspEventUserSettingRequest.cc new file mode 100644 index 000000000..4b5d5c290 --- /dev/null +++ b/aegis/src/model/SaveSuspEventUserSettingRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::SaveSuspEventUserSettingRequest; + +SaveSuspEventUserSettingRequest::SaveSuspEventUserSettingRequest() : + RpcServiceRequest("aegis", "2016-11-11", "SaveSuspEventUserSetting") +{} + +SaveSuspEventUserSettingRequest::~SaveSuspEventUserSettingRequest() +{} + +std::string SaveSuspEventUserSettingRequest::getSourceIp()const +{ + return sourceIp_; +} + +void SaveSuspEventUserSettingRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string SaveSuspEventUserSettingRequest::getFrom()const +{ + return from_; +} + +void SaveSuspEventUserSettingRequest::setFrom(const std::string& from) +{ + from_ = from; + setCoreParameter("From", from); +} + +std::string SaveSuspEventUserSettingRequest::getLevelsOn()const +{ + return levelsOn_; +} + +void SaveSuspEventUserSettingRequest::setLevelsOn(const std::string& levelsOn) +{ + levelsOn_ = levelsOn; + setCoreParameter("LevelsOn", levelsOn); +} + diff --git a/aegis/src/model/SaveSuspEventUserSettingResult.cc b/aegis/src/model/SaveSuspEventUserSettingResult.cc new file mode 100644 index 000000000..4a7a7de0e --- /dev/null +++ b/aegis/src/model/SaveSuspEventUserSettingResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +SaveSuspEventUserSettingResult::SaveSuspEventUserSettingResult() : + ServiceResult() +{} + +SaveSuspEventUserSettingResult::SaveSuspEventUserSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SaveSuspEventUserSettingResult::~SaveSuspEventUserSettingResult() +{} + +void SaveSuspEventUserSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/SaveWhiteListStrategyAssetsRequest.cc b/aegis/src/model/SaveWhiteListStrategyAssetsRequest.cc new file mode 100644 index 000000000..25fd1bd15 --- /dev/null +++ b/aegis/src/model/SaveWhiteListStrategyAssetsRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::SaveWhiteListStrategyAssetsRequest; + +SaveWhiteListStrategyAssetsRequest::SaveWhiteListStrategyAssetsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "SaveWhiteListStrategyAssets") +{} + +SaveWhiteListStrategyAssetsRequest::~SaveWhiteListStrategyAssetsRequest() +{} + +std::string SaveWhiteListStrategyAssetsRequest::getOperations()const +{ + return operations_; +} + +void SaveWhiteListStrategyAssetsRequest::setOperations(const std::string& operations) +{ + operations_ = operations; + setCoreParameter("Operations", operations); +} + +int SaveWhiteListStrategyAssetsRequest::getRelationType()const +{ + return relationType_; +} + +void SaveWhiteListStrategyAssetsRequest::setRelationType(int relationType) +{ + relationType_ = relationType; + setCoreParameter("RelationType", std::to_string(relationType)); +} + +std::string SaveWhiteListStrategyAssetsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void SaveWhiteListStrategyAssetsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long SaveWhiteListStrategyAssetsRequest::getStrategyId()const +{ + return strategyId_; +} + +void SaveWhiteListStrategyAssetsRequest::setStrategyId(long strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); +} + +std::string SaveWhiteListStrategyAssetsRequest::getLang()const +{ + return lang_; +} + +void SaveWhiteListStrategyAssetsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/SaveWhiteListStrategyAssetsResult.cc b/aegis/src/model/SaveWhiteListStrategyAssetsResult.cc new file mode 100644 index 000000000..fd3479062 --- /dev/null +++ b/aegis/src/model/SaveWhiteListStrategyAssetsResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +SaveWhiteListStrategyAssetsResult::SaveWhiteListStrategyAssetsResult() : + ServiceResult() +{} + +SaveWhiteListStrategyAssetsResult::SaveWhiteListStrategyAssetsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SaveWhiteListStrategyAssetsResult::~SaveWhiteListStrategyAssetsResult() +{} + +void SaveWhiteListStrategyAssetsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/SaveWhiteListStrategyRequest.cc b/aegis/src/model/SaveWhiteListStrategyRequest.cc new file mode 100644 index 000000000..6c99ee123 --- /dev/null +++ b/aegis/src/model/SaveWhiteListStrategyRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::SaveWhiteListStrategyRequest; + +SaveWhiteListStrategyRequest::SaveWhiteListStrategyRequest() : + RpcServiceRequest("aegis", "2016-11-11", "SaveWhiteListStrategy") +{} + +SaveWhiteListStrategyRequest::~SaveWhiteListStrategyRequest() +{} + +std::string SaveWhiteListStrategyRequest::getStrategyName()const +{ + return strategyName_; +} + +void SaveWhiteListStrategyRequest::setStrategyName(const std::string& strategyName) +{ + strategyName_ = strategyName; + setCoreParameter("StrategyName", strategyName); +} + +std::string SaveWhiteListStrategyRequest::getSourceIp()const +{ + return sourceIp_; +} + +void SaveWhiteListStrategyRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int SaveWhiteListStrategyRequest::getStudyTime()const +{ + return studyTime_; +} + +void SaveWhiteListStrategyRequest::setStudyTime(int studyTime) +{ + studyTime_ = studyTime; + setCoreParameter("StudyTime", std::to_string(studyTime)); +} + +long SaveWhiteListStrategyRequest::getStrategyId()const +{ + return strategyId_; +} + +void SaveWhiteListStrategyRequest::setStrategyId(long strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); +} + +std::string SaveWhiteListStrategyRequest::getLang()const +{ + return lang_; +} + +void SaveWhiteListStrategyRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + diff --git a/aegis/src/model/SaveWhiteListStrategyResult.cc b/aegis/src/model/SaveWhiteListStrategyResult.cc new file mode 100644 index 000000000..46bca4eca --- /dev/null +++ b/aegis/src/model/SaveWhiteListStrategyResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +SaveWhiteListStrategyResult::SaveWhiteListStrategyResult() : + ServiceResult() +{} + +SaveWhiteListStrategyResult::SaveWhiteListStrategyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SaveWhiteListStrategyResult::~SaveWhiteListStrategyResult() +{} + +void SaveWhiteListStrategyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["StrategyId"].isNull()) + strategyId_ = std::stol(value["StrategyId"].asString()); + +} + +long SaveWhiteListStrategyResult::getStrategyId()const +{ + return strategyId_; +} + diff --git a/aegis/src/model/SetDatasourceStatusRequest.cc b/aegis/src/model/SetDatasourceStatusRequest.cc new file mode 100644 index 000000000..17d9b264a --- /dev/null +++ b/aegis/src/model/SetDatasourceStatusRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::SetDatasourceStatusRequest; + +SetDatasourceStatusRequest::SetDatasourceStatusRequest() : + RpcServiceRequest("aegis", "2016-11-11", "SetDatasourceStatus") +{} + +SetDatasourceStatusRequest::~SetDatasourceStatusRequest() +{} + +std::string SetDatasourceStatusRequest::getProjectName()const +{ + return projectName_; +} + +void SetDatasourceStatusRequest::setProjectName(const std::string& projectName) +{ + projectName_ = projectName; + setCoreParameter("ProjectName", projectName); +} + +std::string SetDatasourceStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void SetDatasourceStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string SetDatasourceStatusRequest::getLogStoreName()const +{ + return logStoreName_; +} + +void SetDatasourceStatusRequest::setLogStoreName(const std::string& logStoreName) +{ + logStoreName_ = logStoreName; + setCoreParameter("LogStoreName", logStoreName); +} + +int SetDatasourceStatusRequest::getStatus()const +{ + return status_; +} + +void SetDatasourceStatusRequest::setStatus(int status) +{ + status_ = status; + setCoreParameter("Status", std::to_string(status)); +} + +std::string SetDatasourceStatusRequest::getRegionNo()const +{ + return regionNo_; +} + +void SetDatasourceStatusRequest::setRegionNo(const std::string& regionNo) +{ + regionNo_ = regionNo; + setCoreParameter("RegionNo", regionNo); +} + diff --git a/aegis/src/model/SetDatasourceStatusResult.cc b/aegis/src/model/SetDatasourceStatusResult.cc new file mode 100644 index 000000000..e0f172860 --- /dev/null +++ b/aegis/src/model/SetDatasourceStatusResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +SetDatasourceStatusResult::SetDatasourceStatusResult() : + ServiceResult() +{} + +SetDatasourceStatusResult::SetDatasourceStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDatasourceStatusResult::~SetDatasourceStatusResult() +{} + +void SetDatasourceStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/TransformLeakageRequest.cc b/aegis/src/model/TransformLeakageRequest.cc new file mode 100644 index 000000000..12dca07ae --- /dev/null +++ b/aegis/src/model/TransformLeakageRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::TransformLeakageRequest; + +TransformLeakageRequest::TransformLeakageRequest() : + RpcServiceRequest("aegis", "2016-11-11", "TransformLeakage") +{} + +TransformLeakageRequest::~TransformLeakageRequest() +{} + +std::string TransformLeakageRequest::getSourceIp()const +{ + return sourceIp_; +} + +void TransformLeakageRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + diff --git a/aegis/src/model/TransformLeakageResult.cc b/aegis/src/model/TransformLeakageResult.cc new file mode 100644 index 000000000..339718d32 --- /dev/null +++ b/aegis/src/model/TransformLeakageResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +TransformLeakageResult::TransformLeakageResult() : + ServiceResult() +{} + +TransformLeakageResult::TransformLeakageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +TransformLeakageResult::~TransformLeakageResult() +{} + +void TransformLeakageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool TransformLeakageResult::getSuccess()const +{ + return success_; +} + diff --git a/aegis/src/model/UpdateWhiteListProcessStatusRequest.cc b/aegis/src/model/UpdateWhiteListProcessStatusRequest.cc new file mode 100644 index 000000000..829b4102b --- /dev/null +++ b/aegis/src/model/UpdateWhiteListProcessStatusRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::UpdateWhiteListProcessStatusRequest; + +UpdateWhiteListProcessStatusRequest::UpdateWhiteListProcessStatusRequest() : + RpcServiceRequest("aegis", "2016-11-11", "UpdateWhiteListProcessStatus") +{} + +UpdateWhiteListProcessStatusRequest::~UpdateWhiteListProcessStatusRequest() +{} + +std::string UpdateWhiteListProcessStatusRequest::getProcessIds()const +{ + return processIds_; +} + +void UpdateWhiteListProcessStatusRequest::setProcessIds(const std::string& processIds) +{ + processIds_ = processIds; + setCoreParameter("ProcessIds", processIds); +} + +std::string UpdateWhiteListProcessStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UpdateWhiteListProcessStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +long UpdateWhiteListProcessStatusRequest::getStrategyId()const +{ + return strategyId_; +} + +void UpdateWhiteListProcessStatusRequest::setStrategyId(long strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); +} + +std::string UpdateWhiteListProcessStatusRequest::getLang()const +{ + return lang_; +} + +void UpdateWhiteListProcessStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +int UpdateWhiteListProcessStatusRequest::getStatus()const +{ + return status_; +} + +void UpdateWhiteListProcessStatusRequest::setStatus(int status) +{ + status_ = status; + setCoreParameter("Status", std::to_string(status)); +} + diff --git a/aegis/src/model/UpdateWhiteListProcessStatusResult.cc b/aegis/src/model/UpdateWhiteListProcessStatusResult.cc new file mode 100644 index 000000000..bb89716b6 --- /dev/null +++ b/aegis/src/model/UpdateWhiteListProcessStatusResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +UpdateWhiteListProcessStatusResult::UpdateWhiteListProcessStatusResult() : + ServiceResult() +{} + +UpdateWhiteListProcessStatusResult::UpdateWhiteListProcessStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateWhiteListProcessStatusResult::~UpdateWhiteListProcessStatusResult() +{} + +void UpdateWhiteListProcessStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/UpdateWhiteListStrategyRelationRequest.cc b/aegis/src/model/UpdateWhiteListStrategyRelationRequest.cc new file mode 100644 index 000000000..0a3bf24ed --- /dev/null +++ b/aegis/src/model/UpdateWhiteListStrategyRelationRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::UpdateWhiteListStrategyRelationRequest; + +UpdateWhiteListStrategyRelationRequest::UpdateWhiteListStrategyRelationRequest() : + RpcServiceRequest("aegis", "2016-11-11", "UpdateWhiteListStrategyRelation") +{} + +UpdateWhiteListStrategyRelationRequest::~UpdateWhiteListStrategyRelationRequest() +{} + +std::string UpdateWhiteListStrategyRelationRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UpdateWhiteListStrategyRelationRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +int UpdateWhiteListStrategyRelationRequest::getProcessMethod()const +{ + return processMethod_; +} + +void UpdateWhiteListStrategyRelationRequest::setProcessMethod(int processMethod) +{ + processMethod_ = processMethod; + setCoreParameter("ProcessMethod", std::to_string(processMethod)); +} + +long UpdateWhiteListStrategyRelationRequest::getStrategyId()const +{ + return strategyId_; +} + +void UpdateWhiteListStrategyRelationRequest::setStrategyId(long strategyId) +{ + strategyId_ = strategyId; + setCoreParameter("StrategyId", std::to_string(strategyId)); +} + +std::string UpdateWhiteListStrategyRelationRequest::getLang()const +{ + return lang_; +} + +void UpdateWhiteListStrategyRelationRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +int UpdateWhiteListStrategyRelationRequest::getType()const +{ + return type_; +} + +void UpdateWhiteListStrategyRelationRequest::setType(int type) +{ + type_ = type; + setCoreParameter("Type", std::to_string(type)); +} + +std::string UpdateWhiteListStrategyRelationRequest::getUuid()const +{ + return uuid_; +} + +void UpdateWhiteListStrategyRelationRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + +int UpdateWhiteListStrategyRelationRequest::getStatus()const +{ + return status_; +} + +void UpdateWhiteListStrategyRelationRequest::setStatus(int status) +{ + status_ = status; + setCoreParameter("Status", std::to_string(status)); +} + diff --git a/aegis/src/model/UpdateWhiteListStrategyRelationResult.cc b/aegis/src/model/UpdateWhiteListStrategyRelationResult.cc new file mode 100644 index 000000000..4095a1761 --- /dev/null +++ b/aegis/src/model/UpdateWhiteListStrategyRelationResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +UpdateWhiteListStrategyRelationResult::UpdateWhiteListStrategyRelationResult() : + ServiceResult() +{} + +UpdateWhiteListStrategyRelationResult::UpdateWhiteListStrategyRelationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateWhiteListStrategyRelationResult::~UpdateWhiteListStrategyRelationResult() +{} + +void UpdateWhiteListStrategyRelationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/UpdateWhiteListStrategyStatusRequest.cc b/aegis/src/model/UpdateWhiteListStrategyStatusRequest.cc new file mode 100644 index 000000000..d76557e06 --- /dev/null +++ b/aegis/src/model/UpdateWhiteListStrategyStatusRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Aegis::Model::UpdateWhiteListStrategyStatusRequest; + +UpdateWhiteListStrategyStatusRequest::UpdateWhiteListStrategyStatusRequest() : + RpcServiceRequest("aegis", "2016-11-11", "UpdateWhiteListStrategyStatus") +{} + +UpdateWhiteListStrategyStatusRequest::~UpdateWhiteListStrategyStatusRequest() +{} + +std::string UpdateWhiteListStrategyStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void UpdateWhiteListStrategyStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string UpdateWhiteListStrategyStatusRequest::getStrategyIds()const +{ + return strategyIds_; +} + +void UpdateWhiteListStrategyStatusRequest::setStrategyIds(const std::string& strategyIds) +{ + strategyIds_ = strategyIds; + setCoreParameter("StrategyIds", strategyIds); +} + +std::string UpdateWhiteListStrategyStatusRequest::getLang()const +{ + return lang_; +} + +void UpdateWhiteListStrategyStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setCoreParameter("Lang", lang); +} + +int UpdateWhiteListStrategyStatusRequest::getStatus()const +{ + return status_; +} + +void UpdateWhiteListStrategyStatusRequest::setStatus(int status) +{ + status_ = status; + setCoreParameter("Status", std::to_string(status)); +} + diff --git a/aegis/src/model/UpdateWhiteListStrategyStatusResult.cc b/aegis/src/model/UpdateWhiteListStrategyStatusResult.cc new file mode 100644 index 000000000..be7353311 --- /dev/null +++ b/aegis/src/model/UpdateWhiteListStrategyStatusResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +UpdateWhiteListStrategyStatusResult::UpdateWhiteListStrategyStatusResult() : + ServiceResult() +{} + +UpdateWhiteListStrategyStatusResult::UpdateWhiteListStrategyStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateWhiteListStrategyStatusResult::~UpdateWhiteListStrategyStatusResult() +{} + +void UpdateWhiteListStrategyStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/aegis/src/model/UpgradeInstanceRequest.cc b/aegis/src/model/UpgradeInstanceRequest.cc index 5b4d4a728..3e1dce847 100644 --- a/aegis/src/model/UpgradeInstanceRequest.cc +++ b/aegis/src/model/UpgradeInstanceRequest.cc @@ -33,7 +33,7 @@ std::string UpgradeInstanceRequest::getInstanceId()const void UpgradeInstanceRequest::setInstanceId(const std::string& instanceId) { instanceId_ = instanceId; - setParameter("InstanceId", instanceId); + setCoreParameter("InstanceId", instanceId); } std::string UpgradeInstanceRequest::getClientToken()const @@ -44,7 +44,7 @@ std::string UpgradeInstanceRequest::getClientToken()const void UpgradeInstanceRequest::setClientToken(const std::string& clientToken) { clientToken_ = clientToken; - setParameter("ClientToken", clientToken); + setCoreParameter("ClientToken", clientToken); } int UpgradeInstanceRequest::getVmNumber()const @@ -55,7 +55,7 @@ int UpgradeInstanceRequest::getVmNumber()const void UpgradeInstanceRequest::setVmNumber(int vmNumber) { vmNumber_ = vmNumber; - setParameter("VmNumber", std::to_string(vmNumber)); + setCoreParameter("VmNumber", std::to_string(vmNumber)); } long UpgradeInstanceRequest::getOwnerId()const @@ -66,7 +66,7 @@ long UpgradeInstanceRequest::getOwnerId()const void UpgradeInstanceRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); + setCoreParameter("OwnerId", std::to_string(ownerId)); } int UpgradeInstanceRequest::getVersionCode()const @@ -77,6 +77,6 @@ int UpgradeInstanceRequest::getVersionCode()const void UpgradeInstanceRequest::setVersionCode(int versionCode) { versionCode_ = versionCode; - setParameter("VersionCode", std::to_string(versionCode)); + setCoreParameter("VersionCode", std::to_string(versionCode)); } diff --git a/aegis/src/model/UpgradeInstanceResult.cc b/aegis/src/model/UpgradeInstanceResult.cc index 5b4e6409d..e104d1de1 100644 --- a/aegis/src/model/UpgradeInstanceResult.cc +++ b/aegis/src/model/UpgradeInstanceResult.cc @@ -40,13 +40,13 @@ void UpgradeInstanceResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["OrderId"].isNull()) - orderId_ = value["OrderId"].asString(); + if(!value["OrderId"].isNull()) + orderId_ = value["OrderId"].asString(); } -std::string UpgradeInstanceResult::getOrderId()const -{ - return orderId_; -} - +std::string UpgradeInstanceResult::getOrderId()const +{ + return orderId_; +} + diff --git a/aegis/src/model/ValidateHcWarningsRequest.cc b/aegis/src/model/ValidateHcWarningsRequest.cc new file mode 100644 index 000000000..86dcb5b2b --- /dev/null +++ b/aegis/src/model/ValidateHcWarningsRequest.cc @@ -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 + +using AlibabaCloud::Aegis::Model::ValidateHcWarningsRequest; + +ValidateHcWarningsRequest::ValidateHcWarningsRequest() : + RpcServiceRequest("aegis", "2016-11-11", "ValidateHcWarnings") +{} + +ValidateHcWarningsRequest::~ValidateHcWarningsRequest() +{} + +std::string ValidateHcWarningsRequest::getRiskIds()const +{ + return riskIds_; +} + +void ValidateHcWarningsRequest::setRiskIds(const std::string& riskIds) +{ + riskIds_ = riskIds; + setCoreParameter("RiskIds", riskIds); +} + +std::string ValidateHcWarningsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void ValidateHcWarningsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setCoreParameter("SourceIp", sourceIp); +} + +std::string ValidateHcWarningsRequest::getUuids()const +{ + return uuids_; +} + +void ValidateHcWarningsRequest::setUuids(const std::string& uuids) +{ + uuids_ = uuids; + setCoreParameter("Uuids", uuids); +} + diff --git a/aegis/src/model/ValidateHcWarningsResult.cc b/aegis/src/model/ValidateHcWarningsResult.cc new file mode 100644 index 000000000..1d9f1897a --- /dev/null +++ b/aegis/src/model/ValidateHcWarningsResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aegis; +using namespace AlibabaCloud::Aegis::Model; + +ValidateHcWarningsResult::ValidateHcWarningsResult() : + ServiceResult() +{} + +ValidateHcWarningsResult::ValidateHcWarningsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ValidateHcWarningsResult::~ValidateHcWarningsResult() +{} + +void ValidateHcWarningsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} +