Generated 2019-01-03 for Sddp.
This commit is contained in:
@@ -35,10 +35,14 @@ set(sddp_public_header_model
|
|||||||
include/alibabacloud/sddp/model/DeleteDataLimitResult.h
|
include/alibabacloud/sddp/model/DeleteDataLimitResult.h
|
||||||
include/alibabacloud/sddp/model/DeleteRuleRequest.h
|
include/alibabacloud/sddp/model/DeleteRuleRequest.h
|
||||||
include/alibabacloud/sddp/model/DeleteRuleResult.h
|
include/alibabacloud/sddp/model/DeleteRuleResult.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeCategoryTemplateListRequest.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeCategoryTemplateListResult.h
|
||||||
include/alibabacloud/sddp/model/DescribeCategoryTemplateRuleListRequest.h
|
include/alibabacloud/sddp/model/DescribeCategoryTemplateRuleListRequest.h
|
||||||
include/alibabacloud/sddp/model/DescribeCategoryTemplateRuleListResult.h
|
include/alibabacloud/sddp/model/DescribeCategoryTemplateRuleListResult.h
|
||||||
include/alibabacloud/sddp/model/DescribeColumnsRequest.h
|
include/alibabacloud/sddp/model/DescribeColumnsRequest.h
|
||||||
include/alibabacloud/sddp/model/DescribeColumnsResult.h
|
include/alibabacloud/sddp/model/DescribeColumnsResult.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeColumnsV2Request.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeColumnsV2Result.h
|
||||||
include/alibabacloud/sddp/model/DescribeConfigsRequest.h
|
include/alibabacloud/sddp/model/DescribeConfigsRequest.h
|
||||||
include/alibabacloud/sddp/model/DescribeConfigsResult.h
|
include/alibabacloud/sddp/model/DescribeConfigsResult.h
|
||||||
include/alibabacloud/sddp/model/DescribeDataAssetsRequest.h
|
include/alibabacloud/sddp/model/DescribeDataAssetsRequest.h
|
||||||
@@ -53,6 +57,14 @@ set(sddp_public_header_model
|
|||||||
include/alibabacloud/sddp/model/DescribeDataMaskingRunHistoryResult.h
|
include/alibabacloud/sddp/model/DescribeDataMaskingRunHistoryResult.h
|
||||||
include/alibabacloud/sddp/model/DescribeDataMaskingTasksRequest.h
|
include/alibabacloud/sddp/model/DescribeDataMaskingTasksRequest.h
|
||||||
include/alibabacloud/sddp/model/DescribeDataMaskingTasksResult.h
|
include/alibabacloud/sddp/model/DescribeDataMaskingTasksResult.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeDataObjectColumnDetailRequest.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeDataObjectColumnDetailResult.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeDataObjectColumnDetailV2Request.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeDataObjectColumnDetailV2Result.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeDataObjectsRequest.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeDataObjectsResult.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeDocTypesRequest.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeDocTypesResult.h
|
||||||
include/alibabacloud/sddp/model/DescribeEventDetailRequest.h
|
include/alibabacloud/sddp/model/DescribeEventDetailRequest.h
|
||||||
include/alibabacloud/sddp/model/DescribeEventDetailResult.h
|
include/alibabacloud/sddp/model/DescribeEventDetailResult.h
|
||||||
include/alibabacloud/sddp/model/DescribeEventTypesRequest.h
|
include/alibabacloud/sddp/model/DescribeEventTypesRequest.h
|
||||||
@@ -65,16 +77,22 @@ set(sddp_public_header_model
|
|||||||
include/alibabacloud/sddp/model/DescribeInstancesResult.h
|
include/alibabacloud/sddp/model/DescribeInstancesResult.h
|
||||||
include/alibabacloud/sddp/model/DescribeOssObjectDetailRequest.h
|
include/alibabacloud/sddp/model/DescribeOssObjectDetailRequest.h
|
||||||
include/alibabacloud/sddp/model/DescribeOssObjectDetailResult.h
|
include/alibabacloud/sddp/model/DescribeOssObjectDetailResult.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeOssObjectDetailV2Request.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeOssObjectDetailV2Result.h
|
||||||
include/alibabacloud/sddp/model/DescribeOssObjectsRequest.h
|
include/alibabacloud/sddp/model/DescribeOssObjectsRequest.h
|
||||||
include/alibabacloud/sddp/model/DescribeOssObjectsResult.h
|
include/alibabacloud/sddp/model/DescribeOssObjectsResult.h
|
||||||
include/alibabacloud/sddp/model/DescribePackagesRequest.h
|
include/alibabacloud/sddp/model/DescribePackagesRequest.h
|
||||||
include/alibabacloud/sddp/model/DescribePackagesResult.h
|
include/alibabacloud/sddp/model/DescribePackagesResult.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeParentInstanceRequest.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeParentInstanceResult.h
|
||||||
include/alibabacloud/sddp/model/DescribeRiskLevelsRequest.h
|
include/alibabacloud/sddp/model/DescribeRiskLevelsRequest.h
|
||||||
include/alibabacloud/sddp/model/DescribeRiskLevelsResult.h
|
include/alibabacloud/sddp/model/DescribeRiskLevelsResult.h
|
||||||
include/alibabacloud/sddp/model/DescribeRulesRequest.h
|
include/alibabacloud/sddp/model/DescribeRulesRequest.h
|
||||||
include/alibabacloud/sddp/model/DescribeRulesResult.h
|
include/alibabacloud/sddp/model/DescribeRulesResult.h
|
||||||
include/alibabacloud/sddp/model/DescribeTablesRequest.h
|
include/alibabacloud/sddp/model/DescribeTablesRequest.h
|
||||||
include/alibabacloud/sddp/model/DescribeTablesResult.h
|
include/alibabacloud/sddp/model/DescribeTablesResult.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeTemplateAllRulesRequest.h
|
||||||
|
include/alibabacloud/sddp/model/DescribeTemplateAllRulesResult.h
|
||||||
include/alibabacloud/sddp/model/DescribeUserStatusRequest.h
|
include/alibabacloud/sddp/model/DescribeUserStatusRequest.h
|
||||||
include/alibabacloud/sddp/model/DescribeUserStatusResult.h
|
include/alibabacloud/sddp/model/DescribeUserStatusResult.h
|
||||||
include/alibabacloud/sddp/model/DisableUserConfigRequest.h
|
include/alibabacloud/sddp/model/DisableUserConfigRequest.h
|
||||||
@@ -116,10 +134,14 @@ set(sddp_src
|
|||||||
src/model/DeleteDataLimitResult.cc
|
src/model/DeleteDataLimitResult.cc
|
||||||
src/model/DeleteRuleRequest.cc
|
src/model/DeleteRuleRequest.cc
|
||||||
src/model/DeleteRuleResult.cc
|
src/model/DeleteRuleResult.cc
|
||||||
|
src/model/DescribeCategoryTemplateListRequest.cc
|
||||||
|
src/model/DescribeCategoryTemplateListResult.cc
|
||||||
src/model/DescribeCategoryTemplateRuleListRequest.cc
|
src/model/DescribeCategoryTemplateRuleListRequest.cc
|
||||||
src/model/DescribeCategoryTemplateRuleListResult.cc
|
src/model/DescribeCategoryTemplateRuleListResult.cc
|
||||||
src/model/DescribeColumnsRequest.cc
|
src/model/DescribeColumnsRequest.cc
|
||||||
src/model/DescribeColumnsResult.cc
|
src/model/DescribeColumnsResult.cc
|
||||||
|
src/model/DescribeColumnsV2Request.cc
|
||||||
|
src/model/DescribeColumnsV2Result.cc
|
||||||
src/model/DescribeConfigsRequest.cc
|
src/model/DescribeConfigsRequest.cc
|
||||||
src/model/DescribeConfigsResult.cc
|
src/model/DescribeConfigsResult.cc
|
||||||
src/model/DescribeDataAssetsRequest.cc
|
src/model/DescribeDataAssetsRequest.cc
|
||||||
@@ -134,6 +156,14 @@ set(sddp_src
|
|||||||
src/model/DescribeDataMaskingRunHistoryResult.cc
|
src/model/DescribeDataMaskingRunHistoryResult.cc
|
||||||
src/model/DescribeDataMaskingTasksRequest.cc
|
src/model/DescribeDataMaskingTasksRequest.cc
|
||||||
src/model/DescribeDataMaskingTasksResult.cc
|
src/model/DescribeDataMaskingTasksResult.cc
|
||||||
|
src/model/DescribeDataObjectColumnDetailRequest.cc
|
||||||
|
src/model/DescribeDataObjectColumnDetailResult.cc
|
||||||
|
src/model/DescribeDataObjectColumnDetailV2Request.cc
|
||||||
|
src/model/DescribeDataObjectColumnDetailV2Result.cc
|
||||||
|
src/model/DescribeDataObjectsRequest.cc
|
||||||
|
src/model/DescribeDataObjectsResult.cc
|
||||||
|
src/model/DescribeDocTypesRequest.cc
|
||||||
|
src/model/DescribeDocTypesResult.cc
|
||||||
src/model/DescribeEventDetailRequest.cc
|
src/model/DescribeEventDetailRequest.cc
|
||||||
src/model/DescribeEventDetailResult.cc
|
src/model/DescribeEventDetailResult.cc
|
||||||
src/model/DescribeEventTypesRequest.cc
|
src/model/DescribeEventTypesRequest.cc
|
||||||
@@ -146,16 +176,22 @@ set(sddp_src
|
|||||||
src/model/DescribeInstancesResult.cc
|
src/model/DescribeInstancesResult.cc
|
||||||
src/model/DescribeOssObjectDetailRequest.cc
|
src/model/DescribeOssObjectDetailRequest.cc
|
||||||
src/model/DescribeOssObjectDetailResult.cc
|
src/model/DescribeOssObjectDetailResult.cc
|
||||||
|
src/model/DescribeOssObjectDetailV2Request.cc
|
||||||
|
src/model/DescribeOssObjectDetailV2Result.cc
|
||||||
src/model/DescribeOssObjectsRequest.cc
|
src/model/DescribeOssObjectsRequest.cc
|
||||||
src/model/DescribeOssObjectsResult.cc
|
src/model/DescribeOssObjectsResult.cc
|
||||||
src/model/DescribePackagesRequest.cc
|
src/model/DescribePackagesRequest.cc
|
||||||
src/model/DescribePackagesResult.cc
|
src/model/DescribePackagesResult.cc
|
||||||
|
src/model/DescribeParentInstanceRequest.cc
|
||||||
|
src/model/DescribeParentInstanceResult.cc
|
||||||
src/model/DescribeRiskLevelsRequest.cc
|
src/model/DescribeRiskLevelsRequest.cc
|
||||||
src/model/DescribeRiskLevelsResult.cc
|
src/model/DescribeRiskLevelsResult.cc
|
||||||
src/model/DescribeRulesRequest.cc
|
src/model/DescribeRulesRequest.cc
|
||||||
src/model/DescribeRulesResult.cc
|
src/model/DescribeRulesResult.cc
|
||||||
src/model/DescribeTablesRequest.cc
|
src/model/DescribeTablesRequest.cc
|
||||||
src/model/DescribeTablesResult.cc
|
src/model/DescribeTablesResult.cc
|
||||||
|
src/model/DescribeTemplateAllRulesRequest.cc
|
||||||
|
src/model/DescribeTemplateAllRulesResult.cc
|
||||||
src/model/DescribeUserStatusRequest.cc
|
src/model/DescribeUserStatusRequest.cc
|
||||||
src/model/DescribeUserStatusResult.cc
|
src/model/DescribeUserStatusResult.cc
|
||||||
src/model/DisableUserConfigRequest.cc
|
src/model/DisableUserConfigRequest.cc
|
||||||
|
|||||||
@@ -36,10 +36,14 @@
|
|||||||
#include "model/DeleteDataLimitResult.h"
|
#include "model/DeleteDataLimitResult.h"
|
||||||
#include "model/DeleteRuleRequest.h"
|
#include "model/DeleteRuleRequest.h"
|
||||||
#include "model/DeleteRuleResult.h"
|
#include "model/DeleteRuleResult.h"
|
||||||
|
#include "model/DescribeCategoryTemplateListRequest.h"
|
||||||
|
#include "model/DescribeCategoryTemplateListResult.h"
|
||||||
#include "model/DescribeCategoryTemplateRuleListRequest.h"
|
#include "model/DescribeCategoryTemplateRuleListRequest.h"
|
||||||
#include "model/DescribeCategoryTemplateRuleListResult.h"
|
#include "model/DescribeCategoryTemplateRuleListResult.h"
|
||||||
#include "model/DescribeColumnsRequest.h"
|
#include "model/DescribeColumnsRequest.h"
|
||||||
#include "model/DescribeColumnsResult.h"
|
#include "model/DescribeColumnsResult.h"
|
||||||
|
#include "model/DescribeColumnsV2Request.h"
|
||||||
|
#include "model/DescribeColumnsV2Result.h"
|
||||||
#include "model/DescribeConfigsRequest.h"
|
#include "model/DescribeConfigsRequest.h"
|
||||||
#include "model/DescribeConfigsResult.h"
|
#include "model/DescribeConfigsResult.h"
|
||||||
#include "model/DescribeDataAssetsRequest.h"
|
#include "model/DescribeDataAssetsRequest.h"
|
||||||
@@ -54,6 +58,14 @@
|
|||||||
#include "model/DescribeDataMaskingRunHistoryResult.h"
|
#include "model/DescribeDataMaskingRunHistoryResult.h"
|
||||||
#include "model/DescribeDataMaskingTasksRequest.h"
|
#include "model/DescribeDataMaskingTasksRequest.h"
|
||||||
#include "model/DescribeDataMaskingTasksResult.h"
|
#include "model/DescribeDataMaskingTasksResult.h"
|
||||||
|
#include "model/DescribeDataObjectColumnDetailRequest.h"
|
||||||
|
#include "model/DescribeDataObjectColumnDetailResult.h"
|
||||||
|
#include "model/DescribeDataObjectColumnDetailV2Request.h"
|
||||||
|
#include "model/DescribeDataObjectColumnDetailV2Result.h"
|
||||||
|
#include "model/DescribeDataObjectsRequest.h"
|
||||||
|
#include "model/DescribeDataObjectsResult.h"
|
||||||
|
#include "model/DescribeDocTypesRequest.h"
|
||||||
|
#include "model/DescribeDocTypesResult.h"
|
||||||
#include "model/DescribeEventDetailRequest.h"
|
#include "model/DescribeEventDetailRequest.h"
|
||||||
#include "model/DescribeEventDetailResult.h"
|
#include "model/DescribeEventDetailResult.h"
|
||||||
#include "model/DescribeEventTypesRequest.h"
|
#include "model/DescribeEventTypesRequest.h"
|
||||||
@@ -66,16 +78,22 @@
|
|||||||
#include "model/DescribeInstancesResult.h"
|
#include "model/DescribeInstancesResult.h"
|
||||||
#include "model/DescribeOssObjectDetailRequest.h"
|
#include "model/DescribeOssObjectDetailRequest.h"
|
||||||
#include "model/DescribeOssObjectDetailResult.h"
|
#include "model/DescribeOssObjectDetailResult.h"
|
||||||
|
#include "model/DescribeOssObjectDetailV2Request.h"
|
||||||
|
#include "model/DescribeOssObjectDetailV2Result.h"
|
||||||
#include "model/DescribeOssObjectsRequest.h"
|
#include "model/DescribeOssObjectsRequest.h"
|
||||||
#include "model/DescribeOssObjectsResult.h"
|
#include "model/DescribeOssObjectsResult.h"
|
||||||
#include "model/DescribePackagesRequest.h"
|
#include "model/DescribePackagesRequest.h"
|
||||||
#include "model/DescribePackagesResult.h"
|
#include "model/DescribePackagesResult.h"
|
||||||
|
#include "model/DescribeParentInstanceRequest.h"
|
||||||
|
#include "model/DescribeParentInstanceResult.h"
|
||||||
#include "model/DescribeRiskLevelsRequest.h"
|
#include "model/DescribeRiskLevelsRequest.h"
|
||||||
#include "model/DescribeRiskLevelsResult.h"
|
#include "model/DescribeRiskLevelsResult.h"
|
||||||
#include "model/DescribeRulesRequest.h"
|
#include "model/DescribeRulesRequest.h"
|
||||||
#include "model/DescribeRulesResult.h"
|
#include "model/DescribeRulesResult.h"
|
||||||
#include "model/DescribeTablesRequest.h"
|
#include "model/DescribeTablesRequest.h"
|
||||||
#include "model/DescribeTablesResult.h"
|
#include "model/DescribeTablesResult.h"
|
||||||
|
#include "model/DescribeTemplateAllRulesRequest.h"
|
||||||
|
#include "model/DescribeTemplateAllRulesResult.h"
|
||||||
#include "model/DescribeUserStatusRequest.h"
|
#include "model/DescribeUserStatusRequest.h"
|
||||||
#include "model/DescribeUserStatusResult.h"
|
#include "model/DescribeUserStatusResult.h"
|
||||||
#include "model/DisableUserConfigRequest.h"
|
#include "model/DisableUserConfigRequest.h"
|
||||||
@@ -130,12 +148,18 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DeleteRuleResult> DeleteRuleOutcome;
|
typedef Outcome<Error, Model::DeleteRuleResult> DeleteRuleOutcome;
|
||||||
typedef std::future<DeleteRuleOutcome> DeleteRuleOutcomeCallable;
|
typedef std::future<DeleteRuleOutcome> DeleteRuleOutcomeCallable;
|
||||||
typedef std::function<void(const SddpClient*, const Model::DeleteRuleRequest&, const DeleteRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRuleAsyncHandler;
|
typedef std::function<void(const SddpClient*, const Model::DeleteRuleRequest&, const DeleteRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRuleAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeCategoryTemplateListResult> DescribeCategoryTemplateListOutcome;
|
||||||
|
typedef std::future<DescribeCategoryTemplateListOutcome> DescribeCategoryTemplateListOutcomeCallable;
|
||||||
|
typedef std::function<void(const SddpClient*, const Model::DescribeCategoryTemplateListRequest&, const DescribeCategoryTemplateListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCategoryTemplateListAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeCategoryTemplateRuleListResult> DescribeCategoryTemplateRuleListOutcome;
|
typedef Outcome<Error, Model::DescribeCategoryTemplateRuleListResult> DescribeCategoryTemplateRuleListOutcome;
|
||||||
typedef std::future<DescribeCategoryTemplateRuleListOutcome> DescribeCategoryTemplateRuleListOutcomeCallable;
|
typedef std::future<DescribeCategoryTemplateRuleListOutcome> DescribeCategoryTemplateRuleListOutcomeCallable;
|
||||||
typedef std::function<void(const SddpClient*, const Model::DescribeCategoryTemplateRuleListRequest&, const DescribeCategoryTemplateRuleListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCategoryTemplateRuleListAsyncHandler;
|
typedef std::function<void(const SddpClient*, const Model::DescribeCategoryTemplateRuleListRequest&, const DescribeCategoryTemplateRuleListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCategoryTemplateRuleListAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeColumnsResult> DescribeColumnsOutcome;
|
typedef Outcome<Error, Model::DescribeColumnsResult> DescribeColumnsOutcome;
|
||||||
typedef std::future<DescribeColumnsOutcome> DescribeColumnsOutcomeCallable;
|
typedef std::future<DescribeColumnsOutcome> DescribeColumnsOutcomeCallable;
|
||||||
typedef std::function<void(const SddpClient*, const Model::DescribeColumnsRequest&, const DescribeColumnsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeColumnsAsyncHandler;
|
typedef std::function<void(const SddpClient*, const Model::DescribeColumnsRequest&, const DescribeColumnsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeColumnsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeColumnsV2Result> DescribeColumnsV2Outcome;
|
||||||
|
typedef std::future<DescribeColumnsV2Outcome> DescribeColumnsV2OutcomeCallable;
|
||||||
|
typedef std::function<void(const SddpClient*, const Model::DescribeColumnsV2Request&, const DescribeColumnsV2Outcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeColumnsV2AsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeConfigsResult> DescribeConfigsOutcome;
|
typedef Outcome<Error, Model::DescribeConfigsResult> DescribeConfigsOutcome;
|
||||||
typedef std::future<DescribeConfigsOutcome> DescribeConfigsOutcomeCallable;
|
typedef std::future<DescribeConfigsOutcome> DescribeConfigsOutcomeCallable;
|
||||||
typedef std::function<void(const SddpClient*, const Model::DescribeConfigsRequest&, const DescribeConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConfigsAsyncHandler;
|
typedef std::function<void(const SddpClient*, const Model::DescribeConfigsRequest&, const DescribeConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConfigsAsyncHandler;
|
||||||
@@ -157,6 +181,18 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeDataMaskingTasksResult> DescribeDataMaskingTasksOutcome;
|
typedef Outcome<Error, Model::DescribeDataMaskingTasksResult> DescribeDataMaskingTasksOutcome;
|
||||||
typedef std::future<DescribeDataMaskingTasksOutcome> DescribeDataMaskingTasksOutcomeCallable;
|
typedef std::future<DescribeDataMaskingTasksOutcome> DescribeDataMaskingTasksOutcomeCallable;
|
||||||
typedef std::function<void(const SddpClient*, const Model::DescribeDataMaskingTasksRequest&, const DescribeDataMaskingTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataMaskingTasksAsyncHandler;
|
typedef std::function<void(const SddpClient*, const Model::DescribeDataMaskingTasksRequest&, const DescribeDataMaskingTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataMaskingTasksAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDataObjectColumnDetailResult> DescribeDataObjectColumnDetailOutcome;
|
||||||
|
typedef std::future<DescribeDataObjectColumnDetailOutcome> DescribeDataObjectColumnDetailOutcomeCallable;
|
||||||
|
typedef std::function<void(const SddpClient*, const Model::DescribeDataObjectColumnDetailRequest&, const DescribeDataObjectColumnDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataObjectColumnDetailAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDataObjectColumnDetailV2Result> DescribeDataObjectColumnDetailV2Outcome;
|
||||||
|
typedef std::future<DescribeDataObjectColumnDetailV2Outcome> DescribeDataObjectColumnDetailV2OutcomeCallable;
|
||||||
|
typedef std::function<void(const SddpClient*, const Model::DescribeDataObjectColumnDetailV2Request&, const DescribeDataObjectColumnDetailV2Outcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataObjectColumnDetailV2AsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDataObjectsResult> DescribeDataObjectsOutcome;
|
||||||
|
typedef std::future<DescribeDataObjectsOutcome> DescribeDataObjectsOutcomeCallable;
|
||||||
|
typedef std::function<void(const SddpClient*, const Model::DescribeDataObjectsRequest&, const DescribeDataObjectsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataObjectsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDocTypesResult> DescribeDocTypesOutcome;
|
||||||
|
typedef std::future<DescribeDocTypesOutcome> DescribeDocTypesOutcomeCallable;
|
||||||
|
typedef std::function<void(const SddpClient*, const Model::DescribeDocTypesRequest&, const DescribeDocTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDocTypesAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeEventDetailResult> DescribeEventDetailOutcome;
|
typedef Outcome<Error, Model::DescribeEventDetailResult> DescribeEventDetailOutcome;
|
||||||
typedef std::future<DescribeEventDetailOutcome> DescribeEventDetailOutcomeCallable;
|
typedef std::future<DescribeEventDetailOutcome> DescribeEventDetailOutcomeCallable;
|
||||||
typedef std::function<void(const SddpClient*, const Model::DescribeEventDetailRequest&, const DescribeEventDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEventDetailAsyncHandler;
|
typedef std::function<void(const SddpClient*, const Model::DescribeEventDetailRequest&, const DescribeEventDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEventDetailAsyncHandler;
|
||||||
@@ -175,12 +211,18 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeOssObjectDetailResult> DescribeOssObjectDetailOutcome;
|
typedef Outcome<Error, Model::DescribeOssObjectDetailResult> DescribeOssObjectDetailOutcome;
|
||||||
typedef std::future<DescribeOssObjectDetailOutcome> DescribeOssObjectDetailOutcomeCallable;
|
typedef std::future<DescribeOssObjectDetailOutcome> DescribeOssObjectDetailOutcomeCallable;
|
||||||
typedef std::function<void(const SddpClient*, const Model::DescribeOssObjectDetailRequest&, const DescribeOssObjectDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOssObjectDetailAsyncHandler;
|
typedef std::function<void(const SddpClient*, const Model::DescribeOssObjectDetailRequest&, const DescribeOssObjectDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOssObjectDetailAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeOssObjectDetailV2Result> DescribeOssObjectDetailV2Outcome;
|
||||||
|
typedef std::future<DescribeOssObjectDetailV2Outcome> DescribeOssObjectDetailV2OutcomeCallable;
|
||||||
|
typedef std::function<void(const SddpClient*, const Model::DescribeOssObjectDetailV2Request&, const DescribeOssObjectDetailV2Outcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOssObjectDetailV2AsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeOssObjectsResult> DescribeOssObjectsOutcome;
|
typedef Outcome<Error, Model::DescribeOssObjectsResult> DescribeOssObjectsOutcome;
|
||||||
typedef std::future<DescribeOssObjectsOutcome> DescribeOssObjectsOutcomeCallable;
|
typedef std::future<DescribeOssObjectsOutcome> DescribeOssObjectsOutcomeCallable;
|
||||||
typedef std::function<void(const SddpClient*, const Model::DescribeOssObjectsRequest&, const DescribeOssObjectsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOssObjectsAsyncHandler;
|
typedef std::function<void(const SddpClient*, const Model::DescribeOssObjectsRequest&, const DescribeOssObjectsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOssObjectsAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribePackagesResult> DescribePackagesOutcome;
|
typedef Outcome<Error, Model::DescribePackagesResult> DescribePackagesOutcome;
|
||||||
typedef std::future<DescribePackagesOutcome> DescribePackagesOutcomeCallable;
|
typedef std::future<DescribePackagesOutcome> DescribePackagesOutcomeCallable;
|
||||||
typedef std::function<void(const SddpClient*, const Model::DescribePackagesRequest&, const DescribePackagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePackagesAsyncHandler;
|
typedef std::function<void(const SddpClient*, const Model::DescribePackagesRequest&, const DescribePackagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePackagesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeParentInstanceResult> DescribeParentInstanceOutcome;
|
||||||
|
typedef std::future<DescribeParentInstanceOutcome> DescribeParentInstanceOutcomeCallable;
|
||||||
|
typedef std::function<void(const SddpClient*, const Model::DescribeParentInstanceRequest&, const DescribeParentInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeParentInstanceAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeRiskLevelsResult> DescribeRiskLevelsOutcome;
|
typedef Outcome<Error, Model::DescribeRiskLevelsResult> DescribeRiskLevelsOutcome;
|
||||||
typedef std::future<DescribeRiskLevelsOutcome> DescribeRiskLevelsOutcomeCallable;
|
typedef std::future<DescribeRiskLevelsOutcome> DescribeRiskLevelsOutcomeCallable;
|
||||||
typedef std::function<void(const SddpClient*, const Model::DescribeRiskLevelsRequest&, const DescribeRiskLevelsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRiskLevelsAsyncHandler;
|
typedef std::function<void(const SddpClient*, const Model::DescribeRiskLevelsRequest&, const DescribeRiskLevelsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRiskLevelsAsyncHandler;
|
||||||
@@ -190,6 +232,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeTablesResult> DescribeTablesOutcome;
|
typedef Outcome<Error, Model::DescribeTablesResult> DescribeTablesOutcome;
|
||||||
typedef std::future<DescribeTablesOutcome> DescribeTablesOutcomeCallable;
|
typedef std::future<DescribeTablesOutcome> DescribeTablesOutcomeCallable;
|
||||||
typedef std::function<void(const SddpClient*, const Model::DescribeTablesRequest&, const DescribeTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTablesAsyncHandler;
|
typedef std::function<void(const SddpClient*, const Model::DescribeTablesRequest&, const DescribeTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTablesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeTemplateAllRulesResult> DescribeTemplateAllRulesOutcome;
|
||||||
|
typedef std::future<DescribeTemplateAllRulesOutcome> DescribeTemplateAllRulesOutcomeCallable;
|
||||||
|
typedef std::function<void(const SddpClient*, const Model::DescribeTemplateAllRulesRequest&, const DescribeTemplateAllRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTemplateAllRulesAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeUserStatusResult> DescribeUserStatusOutcome;
|
typedef Outcome<Error, Model::DescribeUserStatusResult> DescribeUserStatusOutcome;
|
||||||
typedef std::future<DescribeUserStatusOutcome> DescribeUserStatusOutcomeCallable;
|
typedef std::future<DescribeUserStatusOutcome> DescribeUserStatusOutcomeCallable;
|
||||||
typedef std::function<void(const SddpClient*, const Model::DescribeUserStatusRequest&, const DescribeUserStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserStatusAsyncHandler;
|
typedef std::function<void(const SddpClient*, const Model::DescribeUserStatusRequest&, const DescribeUserStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserStatusAsyncHandler;
|
||||||
@@ -252,12 +297,18 @@ namespace AlibabaCloud
|
|||||||
DeleteRuleOutcome deleteRule(const Model::DeleteRuleRequest &request)const;
|
DeleteRuleOutcome deleteRule(const Model::DeleteRuleRequest &request)const;
|
||||||
void deleteRuleAsync(const Model::DeleteRuleRequest& request, const DeleteRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void deleteRuleAsync(const Model::DeleteRuleRequest& request, const DeleteRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DeleteRuleOutcomeCallable deleteRuleCallable(const Model::DeleteRuleRequest& request) const;
|
DeleteRuleOutcomeCallable deleteRuleCallable(const Model::DeleteRuleRequest& request) const;
|
||||||
|
DescribeCategoryTemplateListOutcome describeCategoryTemplateList(const Model::DescribeCategoryTemplateListRequest &request)const;
|
||||||
|
void describeCategoryTemplateListAsync(const Model::DescribeCategoryTemplateListRequest& request, const DescribeCategoryTemplateListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeCategoryTemplateListOutcomeCallable describeCategoryTemplateListCallable(const Model::DescribeCategoryTemplateListRequest& request) const;
|
||||||
DescribeCategoryTemplateRuleListOutcome describeCategoryTemplateRuleList(const Model::DescribeCategoryTemplateRuleListRequest &request)const;
|
DescribeCategoryTemplateRuleListOutcome describeCategoryTemplateRuleList(const Model::DescribeCategoryTemplateRuleListRequest &request)const;
|
||||||
void describeCategoryTemplateRuleListAsync(const Model::DescribeCategoryTemplateRuleListRequest& request, const DescribeCategoryTemplateRuleListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeCategoryTemplateRuleListAsync(const Model::DescribeCategoryTemplateRuleListRequest& request, const DescribeCategoryTemplateRuleListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeCategoryTemplateRuleListOutcomeCallable describeCategoryTemplateRuleListCallable(const Model::DescribeCategoryTemplateRuleListRequest& request) const;
|
DescribeCategoryTemplateRuleListOutcomeCallable describeCategoryTemplateRuleListCallable(const Model::DescribeCategoryTemplateRuleListRequest& request) const;
|
||||||
DescribeColumnsOutcome describeColumns(const Model::DescribeColumnsRequest &request)const;
|
DescribeColumnsOutcome describeColumns(const Model::DescribeColumnsRequest &request)const;
|
||||||
void describeColumnsAsync(const Model::DescribeColumnsRequest& request, const DescribeColumnsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeColumnsAsync(const Model::DescribeColumnsRequest& request, const DescribeColumnsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeColumnsOutcomeCallable describeColumnsCallable(const Model::DescribeColumnsRequest& request) const;
|
DescribeColumnsOutcomeCallable describeColumnsCallable(const Model::DescribeColumnsRequest& request) const;
|
||||||
|
DescribeColumnsV2Outcome describeColumnsV2(const Model::DescribeColumnsV2Request &request)const;
|
||||||
|
void describeColumnsV2Async(const Model::DescribeColumnsV2Request& request, const DescribeColumnsV2AsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeColumnsV2OutcomeCallable describeColumnsV2Callable(const Model::DescribeColumnsV2Request& request) const;
|
||||||
DescribeConfigsOutcome describeConfigs(const Model::DescribeConfigsRequest &request)const;
|
DescribeConfigsOutcome describeConfigs(const Model::DescribeConfigsRequest &request)const;
|
||||||
void describeConfigsAsync(const Model::DescribeConfigsRequest& request, const DescribeConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeConfigsAsync(const Model::DescribeConfigsRequest& request, const DescribeConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeConfigsOutcomeCallable describeConfigsCallable(const Model::DescribeConfigsRequest& request) const;
|
DescribeConfigsOutcomeCallable describeConfigsCallable(const Model::DescribeConfigsRequest& request) const;
|
||||||
@@ -279,6 +330,18 @@ namespace AlibabaCloud
|
|||||||
DescribeDataMaskingTasksOutcome describeDataMaskingTasks(const Model::DescribeDataMaskingTasksRequest &request)const;
|
DescribeDataMaskingTasksOutcome describeDataMaskingTasks(const Model::DescribeDataMaskingTasksRequest &request)const;
|
||||||
void describeDataMaskingTasksAsync(const Model::DescribeDataMaskingTasksRequest& request, const DescribeDataMaskingTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeDataMaskingTasksAsync(const Model::DescribeDataMaskingTasksRequest& request, const DescribeDataMaskingTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeDataMaskingTasksOutcomeCallable describeDataMaskingTasksCallable(const Model::DescribeDataMaskingTasksRequest& request) const;
|
DescribeDataMaskingTasksOutcomeCallable describeDataMaskingTasksCallable(const Model::DescribeDataMaskingTasksRequest& request) const;
|
||||||
|
DescribeDataObjectColumnDetailOutcome describeDataObjectColumnDetail(const Model::DescribeDataObjectColumnDetailRequest &request)const;
|
||||||
|
void describeDataObjectColumnDetailAsync(const Model::DescribeDataObjectColumnDetailRequest& request, const DescribeDataObjectColumnDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDataObjectColumnDetailOutcomeCallable describeDataObjectColumnDetailCallable(const Model::DescribeDataObjectColumnDetailRequest& request) const;
|
||||||
|
DescribeDataObjectColumnDetailV2Outcome describeDataObjectColumnDetailV2(const Model::DescribeDataObjectColumnDetailV2Request &request)const;
|
||||||
|
void describeDataObjectColumnDetailV2Async(const Model::DescribeDataObjectColumnDetailV2Request& request, const DescribeDataObjectColumnDetailV2AsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDataObjectColumnDetailV2OutcomeCallable describeDataObjectColumnDetailV2Callable(const Model::DescribeDataObjectColumnDetailV2Request& request) const;
|
||||||
|
DescribeDataObjectsOutcome describeDataObjects(const Model::DescribeDataObjectsRequest &request)const;
|
||||||
|
void describeDataObjectsAsync(const Model::DescribeDataObjectsRequest& request, const DescribeDataObjectsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDataObjectsOutcomeCallable describeDataObjectsCallable(const Model::DescribeDataObjectsRequest& request) const;
|
||||||
|
DescribeDocTypesOutcome describeDocTypes(const Model::DescribeDocTypesRequest &request)const;
|
||||||
|
void describeDocTypesAsync(const Model::DescribeDocTypesRequest& request, const DescribeDocTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDocTypesOutcomeCallable describeDocTypesCallable(const Model::DescribeDocTypesRequest& request) const;
|
||||||
DescribeEventDetailOutcome describeEventDetail(const Model::DescribeEventDetailRequest &request)const;
|
DescribeEventDetailOutcome describeEventDetail(const Model::DescribeEventDetailRequest &request)const;
|
||||||
void describeEventDetailAsync(const Model::DescribeEventDetailRequest& request, const DescribeEventDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeEventDetailAsync(const Model::DescribeEventDetailRequest& request, const DescribeEventDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeEventDetailOutcomeCallable describeEventDetailCallable(const Model::DescribeEventDetailRequest& request) const;
|
DescribeEventDetailOutcomeCallable describeEventDetailCallable(const Model::DescribeEventDetailRequest& request) const;
|
||||||
@@ -297,12 +360,18 @@ namespace AlibabaCloud
|
|||||||
DescribeOssObjectDetailOutcome describeOssObjectDetail(const Model::DescribeOssObjectDetailRequest &request)const;
|
DescribeOssObjectDetailOutcome describeOssObjectDetail(const Model::DescribeOssObjectDetailRequest &request)const;
|
||||||
void describeOssObjectDetailAsync(const Model::DescribeOssObjectDetailRequest& request, const DescribeOssObjectDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeOssObjectDetailAsync(const Model::DescribeOssObjectDetailRequest& request, const DescribeOssObjectDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeOssObjectDetailOutcomeCallable describeOssObjectDetailCallable(const Model::DescribeOssObjectDetailRequest& request) const;
|
DescribeOssObjectDetailOutcomeCallable describeOssObjectDetailCallable(const Model::DescribeOssObjectDetailRequest& request) const;
|
||||||
|
DescribeOssObjectDetailV2Outcome describeOssObjectDetailV2(const Model::DescribeOssObjectDetailV2Request &request)const;
|
||||||
|
void describeOssObjectDetailV2Async(const Model::DescribeOssObjectDetailV2Request& request, const DescribeOssObjectDetailV2AsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeOssObjectDetailV2OutcomeCallable describeOssObjectDetailV2Callable(const Model::DescribeOssObjectDetailV2Request& request) const;
|
||||||
DescribeOssObjectsOutcome describeOssObjects(const Model::DescribeOssObjectsRequest &request)const;
|
DescribeOssObjectsOutcome describeOssObjects(const Model::DescribeOssObjectsRequest &request)const;
|
||||||
void describeOssObjectsAsync(const Model::DescribeOssObjectsRequest& request, const DescribeOssObjectsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeOssObjectsAsync(const Model::DescribeOssObjectsRequest& request, const DescribeOssObjectsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeOssObjectsOutcomeCallable describeOssObjectsCallable(const Model::DescribeOssObjectsRequest& request) const;
|
DescribeOssObjectsOutcomeCallable describeOssObjectsCallable(const Model::DescribeOssObjectsRequest& request) const;
|
||||||
DescribePackagesOutcome describePackages(const Model::DescribePackagesRequest &request)const;
|
DescribePackagesOutcome describePackages(const Model::DescribePackagesRequest &request)const;
|
||||||
void describePackagesAsync(const Model::DescribePackagesRequest& request, const DescribePackagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describePackagesAsync(const Model::DescribePackagesRequest& request, const DescribePackagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribePackagesOutcomeCallable describePackagesCallable(const Model::DescribePackagesRequest& request) const;
|
DescribePackagesOutcomeCallable describePackagesCallable(const Model::DescribePackagesRequest& request) const;
|
||||||
|
DescribeParentInstanceOutcome describeParentInstance(const Model::DescribeParentInstanceRequest &request)const;
|
||||||
|
void describeParentInstanceAsync(const Model::DescribeParentInstanceRequest& request, const DescribeParentInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeParentInstanceOutcomeCallable describeParentInstanceCallable(const Model::DescribeParentInstanceRequest& request) const;
|
||||||
DescribeRiskLevelsOutcome describeRiskLevels(const Model::DescribeRiskLevelsRequest &request)const;
|
DescribeRiskLevelsOutcome describeRiskLevels(const Model::DescribeRiskLevelsRequest &request)const;
|
||||||
void describeRiskLevelsAsync(const Model::DescribeRiskLevelsRequest& request, const DescribeRiskLevelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeRiskLevelsAsync(const Model::DescribeRiskLevelsRequest& request, const DescribeRiskLevelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeRiskLevelsOutcomeCallable describeRiskLevelsCallable(const Model::DescribeRiskLevelsRequest& request) const;
|
DescribeRiskLevelsOutcomeCallable describeRiskLevelsCallable(const Model::DescribeRiskLevelsRequest& request) const;
|
||||||
@@ -312,6 +381,9 @@ namespace AlibabaCloud
|
|||||||
DescribeTablesOutcome describeTables(const Model::DescribeTablesRequest &request)const;
|
DescribeTablesOutcome describeTables(const Model::DescribeTablesRequest &request)const;
|
||||||
void describeTablesAsync(const Model::DescribeTablesRequest& request, const DescribeTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeTablesAsync(const Model::DescribeTablesRequest& request, const DescribeTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeTablesOutcomeCallable describeTablesCallable(const Model::DescribeTablesRequest& request) const;
|
DescribeTablesOutcomeCallable describeTablesCallable(const Model::DescribeTablesRequest& request) const;
|
||||||
|
DescribeTemplateAllRulesOutcome describeTemplateAllRules(const Model::DescribeTemplateAllRulesRequest &request)const;
|
||||||
|
void describeTemplateAllRulesAsync(const Model::DescribeTemplateAllRulesRequest& request, const DescribeTemplateAllRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeTemplateAllRulesOutcomeCallable describeTemplateAllRulesCallable(const Model::DescribeTemplateAllRulesRequest& request) const;
|
||||||
DescribeUserStatusOutcome describeUserStatus(const Model::DescribeUserStatusRequest &request)const;
|
DescribeUserStatusOutcome describeUserStatus(const Model::DescribeUserStatusRequest &request)const;
|
||||||
void describeUserStatusAsync(const Model::DescribeUserStatusRequest& request, const DescribeUserStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeUserStatusAsync(const Model::DescribeUserStatusRequest& request, const DescribeUserStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeUserStatusOutcomeCallable describeUserStatusCallable(const Model::DescribeUserStatusRequest& request) const;
|
DescribeUserStatusOutcomeCallable describeUserStatusCallable(const Model::DescribeUserStatusRequest& request) const;
|
||||||
|
|||||||
@@ -32,6 +32,8 @@ public:
|
|||||||
~CreateDataLimitRequest();
|
~CreateDataLimitRequest();
|
||||||
int getOcrStatus() const;
|
int getOcrStatus() const;
|
||||||
void setOcrStatus(int ocrStatus);
|
void setOcrStatus(int ocrStatus);
|
||||||
|
int getSamplingSize() const;
|
||||||
|
void setSamplingSize(int samplingSize);
|
||||||
std::string getParentId() const;
|
std::string getParentId() const;
|
||||||
void setParentId(const std::string &parentId);
|
void setParentId(const std::string &parentId);
|
||||||
std::string getPassword() const;
|
std::string getPassword() const;
|
||||||
@@ -54,8 +56,12 @@ public:
|
|||||||
void setAuditStatus(int auditStatus);
|
void setAuditStatus(int auditStatus);
|
||||||
int getAutoScan() const;
|
int getAutoScan() const;
|
||||||
void setAutoScan(int autoScan);
|
void setAutoScan(int autoScan);
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
int getLogStoreDay() const;
|
int getLogStoreDay() const;
|
||||||
void setLogStoreDay(int logStoreDay);
|
void setLogStoreDay(int logStoreDay);
|
||||||
|
std::string getCertificatePermission() const;
|
||||||
|
void setCertificatePermission(const std::string &certificatePermission);
|
||||||
int getResourceType() const;
|
int getResourceType() const;
|
||||||
void setResourceType(int resourceType);
|
void setResourceType(int resourceType);
|
||||||
std::string getConnector() const;
|
std::string getConnector() const;
|
||||||
@@ -69,6 +75,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
int ocrStatus_;
|
int ocrStatus_;
|
||||||
|
int samplingSize_;
|
||||||
std::string parentId_;
|
std::string parentId_;
|
||||||
std::string password_;
|
std::string password_;
|
||||||
bool batchCreate_;
|
bool batchCreate_;
|
||||||
@@ -80,7 +87,9 @@ private:
|
|||||||
std::string engineType_;
|
std::string engineType_;
|
||||||
int auditStatus_;
|
int auditStatus_;
|
||||||
int autoScan_;
|
int autoScan_;
|
||||||
|
int featureType_;
|
||||||
int logStoreDay_;
|
int logStoreDay_;
|
||||||
|
std::string certificatePermission_;
|
||||||
int resourceType_;
|
int resourceType_;
|
||||||
std::string connector_;
|
std::string connector_;
|
||||||
int port_;
|
int port_;
|
||||||
|
|||||||
@@ -44,8 +44,12 @@ public:
|
|||||||
void setContent(const std::string &content);
|
void setContent(const std::string &content);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
int getMatchType() const;
|
||||||
|
void setMatchType(int matchType);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
int getSupportForm() const;
|
||||||
|
void setSupportForm(int supportForm);
|
||||||
int getFeatureType() const;
|
int getFeatureType() const;
|
||||||
void setFeatureType(int featureType);
|
void setFeatureType(int featureType);
|
||||||
int getRuleType() const;
|
int getRuleType() const;
|
||||||
@@ -73,7 +77,9 @@ private:
|
|||||||
long riskLevelId_;
|
long riskLevelId_;
|
||||||
std::string content_;
|
std::string content_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
int matchType_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
int supportForm_;
|
||||||
int featureType_;
|
int featureType_;
|
||||||
int ruleType_;
|
int ruleType_;
|
||||||
std::string statExpress_;
|
std::string statExpress_;
|
||||||
|
|||||||
@@ -48,6 +48,8 @@ public:
|
|||||||
void setScanRange(int scanRange);
|
void setScanRange(int scanRange);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
std::string getOssScanPath() const;
|
std::string getOssScanPath() const;
|
||||||
void setOssScanPath(const std::string &ossScanPath);
|
void setOssScanPath(const std::string &ossScanPath);
|
||||||
long getResourceType() const;
|
long getResourceType() const;
|
||||||
@@ -65,6 +67,7 @@ private:
|
|||||||
int intervalDay_;
|
int intervalDay_;
|
||||||
int scanRange_;
|
int scanRange_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
int featureType_;
|
||||||
std::string ossScanPath_;
|
std::string ossScanPath_;
|
||||||
long resourceType_;
|
long resourceType_;
|
||||||
std::string taskUserName_;
|
std::string taskUserName_;
|
||||||
|
|||||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_SDDP_EXPORT CreateSlrRoleRequest : public RpcServiceRequest {
|
|||||||
public:
|
public:
|
||||||
CreateSlrRoleRequest();
|
CreateSlrRoleRequest();
|
||||||
~CreateSlrRoleRequest();
|
~CreateSlrRoleRequest();
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
int featureType_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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_SDDP_MODEL_DESCRIBECATEGORYTEMPLATELISTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBECATEGORYTEMPLATELISTREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Sddp {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeCategoryTemplateListRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeCategoryTemplateListRequest();
|
||||||
|
~DescribeCategoryTemplateListRequest();
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
|
int getCurrentPage() const;
|
||||||
|
void setCurrentPage(int currentPage);
|
||||||
|
std::string getSourceIp() const;
|
||||||
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
int getPageSize() const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
int getUsageScenario() const;
|
||||||
|
void setUsageScenario(int usageScenario);
|
||||||
|
std::string getLang() const;
|
||||||
|
void setLang(const std::string &lang);
|
||||||
|
|
||||||
|
private:
|
||||||
|
int featureType_;
|
||||||
|
int currentPage_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
int pageSize_;
|
||||||
|
int usageScenario_;
|
||||||
|
std::string lang_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Sddp
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBECATEGORYTEMPLATELISTREQUEST_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_SDDP_MODEL_DESCRIBECATEGORYTEMPLATELISTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBECATEGORYTEMPLATELISTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sddp
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeCategoryTemplateListResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct _Template
|
||||||
|
{
|
||||||
|
int currentRiskLevel;
|
||||||
|
int status;
|
||||||
|
int type;
|
||||||
|
long gmtCreate;
|
||||||
|
int supportEdit;
|
||||||
|
std::string description;
|
||||||
|
long gmtModified;
|
||||||
|
int maxCategoryLevel;
|
||||||
|
long id;
|
||||||
|
int maxRiskLevel;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeCategoryTemplateListResult();
|
||||||
|
explicit DescribeCategoryTemplateListResult(const std::string &payload);
|
||||||
|
~DescribeCategoryTemplateListResult();
|
||||||
|
int getTotalCount()const;
|
||||||
|
int getPageSize()const;
|
||||||
|
int getCurrentPage()const;
|
||||||
|
std::vector<_Template> getItems()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int totalCount_;
|
||||||
|
int pageSize_;
|
||||||
|
int currentPage_;
|
||||||
|
std::vector<_Template> items_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBECATEGORYTEMPLATELISTRESULT_H_
|
||||||
@@ -38,6 +38,8 @@ public:
|
|||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
std::string getParentCategoryIdList() const;
|
std::string getParentCategoryIdList() const;
|
||||||
void setParentCategoryIdList(const std::string &parentCategoryIdList);
|
void setParentCategoryIdList(const std::string &parentCategoryIdList);
|
||||||
int getCurrentPage() const;
|
int getCurrentPage() const;
|
||||||
@@ -54,6 +56,7 @@ private:
|
|||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
int featureType_;
|
||||||
std::string parentCategoryIdList_;
|
std::string parentCategoryIdList_;
|
||||||
int currentPage_;
|
int currentPage_;
|
||||||
long templateId_;
|
long templateId_;
|
||||||
|
|||||||
@@ -36,16 +36,17 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
int status;
|
int status;
|
||||||
int customType;
|
int customType;
|
||||||
std::string identificationRuleIds;
|
|
||||||
std::string identificationScope;
|
std::string identificationScope;
|
||||||
std::string description;
|
std::string description;
|
||||||
|
long parentModelId;
|
||||||
|
long riskLevelId;
|
||||||
|
std::string name;
|
||||||
|
std::string identificationRuleIds;
|
||||||
int orderNum;
|
int orderNum;
|
||||||
int categoryLevel;
|
int categoryLevel;
|
||||||
long id;
|
long id;
|
||||||
long riskLevelId;
|
|
||||||
long parentCategoryId;
|
long parentCategoryId;
|
||||||
long templateId;
|
long templateId;
|
||||||
std::string name;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,11 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct Column
|
struct Column
|
||||||
{
|
{
|
||||||
|
struct ModelTagsItem
|
||||||
|
{
|
||||||
|
long id;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
long tableId;
|
long tableId;
|
||||||
int odpsRiskLevelValue;
|
int odpsRiskLevelValue;
|
||||||
long instanceId;
|
long instanceId;
|
||||||
@@ -48,6 +53,7 @@ namespace AlibabaCloud
|
|||||||
long revisionStatus;
|
long revisionStatus;
|
||||||
std::string tableName;
|
std::string tableName;
|
||||||
std::string sensLevelName;
|
std::string sensLevelName;
|
||||||
|
std::vector<Column::ModelTagsItem> modelTags;
|
||||||
long creationTime;
|
long creationTime;
|
||||||
std::string dataType;
|
std::string dataType;
|
||||||
bool sensitive;
|
bool sensitive;
|
||||||
|
|||||||
@@ -0,0 +1,93 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBECOLUMNSV2REQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBECOLUMNSV2REQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Sddp {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeColumnsV2Request : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeColumnsV2Request();
|
||||||
|
~DescribeColumnsV2Request();
|
||||||
|
std::string getProductCode() const;
|
||||||
|
void setProductCode(const std::string &productCode);
|
||||||
|
std::string getRiskLevels() const;
|
||||||
|
void setRiskLevels(const std::string &riskLevels);
|
||||||
|
std::string getRuleName() const;
|
||||||
|
void setRuleName(const std::string &ruleName);
|
||||||
|
std::string getQueryName() const;
|
||||||
|
void setQueryName(const std::string &queryName);
|
||||||
|
long getRiskLevelId() const;
|
||||||
|
void setRiskLevelId(long riskLevelId);
|
||||||
|
std::string getSensLevelName() const;
|
||||||
|
void setSensLevelName(const std::string &sensLevelName);
|
||||||
|
std::string getSourceIp() const;
|
||||||
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
int getPageSize() const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
std::string getTableId() const;
|
||||||
|
void setTableId(const std::string &tableId);
|
||||||
|
std::string getLang() const;
|
||||||
|
void setLang(const std::string &lang);
|
||||||
|
std::string getTableName() const;
|
||||||
|
void setTableName(const std::string &tableName);
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
|
std::string getOrderBy() const;
|
||||||
|
void setOrderBy(const std::string &orderBy);
|
||||||
|
int getCurrentPage() const;
|
||||||
|
void setCurrentPage(int currentPage);
|
||||||
|
long getInstanceId() const;
|
||||||
|
void setInstanceId(long instanceId);
|
||||||
|
std::string getInstanceName() const;
|
||||||
|
void setInstanceName(const std::string &instanceName);
|
||||||
|
std::string getName() const;
|
||||||
|
void setName(const std::string &name);
|
||||||
|
long getRuleId() const;
|
||||||
|
void setRuleId(long ruleId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string productCode_;
|
||||||
|
std::string riskLevels_;
|
||||||
|
std::string ruleName_;
|
||||||
|
std::string queryName_;
|
||||||
|
long riskLevelId_;
|
||||||
|
std::string sensLevelName_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
int pageSize_;
|
||||||
|
std::string tableId_;
|
||||||
|
std::string lang_;
|
||||||
|
std::string tableName_;
|
||||||
|
int featureType_;
|
||||||
|
std::string orderBy_;
|
||||||
|
int currentPage_;
|
||||||
|
long instanceId_;
|
||||||
|
std::string instanceName_;
|
||||||
|
std::string name_;
|
||||||
|
long ruleId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Sddp
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBECOLUMNSV2REQUEST_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_SDDP_MODEL_DESCRIBECOLUMNSV2RESULT_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBECOLUMNSV2RESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sddp
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeColumnsV2Result : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Column
|
||||||
|
{
|
||||||
|
struct ModelTagsItem
|
||||||
|
{
|
||||||
|
long id;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
long tableId;
|
||||||
|
int odpsRiskLevelValue;
|
||||||
|
long instanceId;
|
||||||
|
std::string productCode;
|
||||||
|
long ruleId;
|
||||||
|
std::string odpsRiskLevelName;
|
||||||
|
long riskLevelId;
|
||||||
|
std::string departName;
|
||||||
|
long revisionId;
|
||||||
|
std::string name;
|
||||||
|
std::string instanceName;
|
||||||
|
long revisionStatus;
|
||||||
|
std::string tableName;
|
||||||
|
std::string sensLevelName;
|
||||||
|
std::vector<Column::ModelTagsItem> modelTags;
|
||||||
|
long creationTime;
|
||||||
|
std::string dataType;
|
||||||
|
bool sensitive;
|
||||||
|
std::string riskLevelName;
|
||||||
|
std::string id;
|
||||||
|
std::string ruleName;
|
||||||
|
std::vector<std::string> sampleList;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeColumnsV2Result();
|
||||||
|
explicit DescribeColumnsV2Result(const std::string &payload);
|
||||||
|
~DescribeColumnsV2Result();
|
||||||
|
int getTotalCount()const;
|
||||||
|
int getPageSize()const;
|
||||||
|
int getCurrentPage()const;
|
||||||
|
std::vector<Column> getItems()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int totalCount_;
|
||||||
|
int pageSize_;
|
||||||
|
int currentPage_;
|
||||||
|
std::vector<Column> items_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBECOLUMNSV2RESULT_H_
|
||||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_SDDP_EXPORT DescribeDataLimitDetailRequest : public RpcServic
|
|||||||
public:
|
public:
|
||||||
DescribeDataLimitDetailRequest();
|
DescribeDataLimitDetailRequest();
|
||||||
~DescribeDataLimitDetailRequest();
|
~DescribeDataLimitDetailRequest();
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
int getNetworkType() const;
|
int getNetworkType() const;
|
||||||
void setNetworkType(int networkType);
|
void setNetworkType(int networkType);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
@@ -40,6 +42,7 @@ public:
|
|||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
int featureType_;
|
||||||
int networkType_;
|
int networkType_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
long id_;
|
long id_;
|
||||||
|
|||||||
@@ -30,20 +30,23 @@ class ALIBABACLOUD_SDDP_EXPORT DescribeDataLimitSetRequest : public RpcServiceRe
|
|||||||
public:
|
public:
|
||||||
DescribeDataLimitSetRequest();
|
DescribeDataLimitSetRequest();
|
||||||
~DescribeDataLimitSetRequest();
|
~DescribeDataLimitSetRequest();
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
|
int getResourceType() const;
|
||||||
|
void setResourceType(int resourceType);
|
||||||
std::string getParentId() const;
|
std::string getParentId() const;
|
||||||
void setParentId(const std::string &parentId);
|
void setParentId(const std::string &parentId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
int getResourceType() const;
|
|
||||||
void setResourceType(int resourceType);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
int featureType_;
|
||||||
|
int resourceType_;
|
||||||
std::string parentId_;
|
std::string parentId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
int resourceType_;
|
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Sddp
|
} // namespace Sddp
|
||||||
|
|||||||
@@ -52,6 +52,8 @@ public:
|
|||||||
void setEngineType(const std::string &engineType);
|
void setEngineType(const std::string &engineType);
|
||||||
int getAuditStatus() const;
|
int getAuditStatus() const;
|
||||||
void setAuditStatus(int auditStatus);
|
void setAuditStatus(int auditStatus);
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
long getEndTime() const;
|
long getEndTime() const;
|
||||||
void setEndTime(long endTime);
|
void setEndTime(long endTime);
|
||||||
int getCurrentPage() const;
|
int getCurrentPage() const;
|
||||||
@@ -71,6 +73,7 @@ private:
|
|||||||
std::string serviceRegionId_;
|
std::string serviceRegionId_;
|
||||||
std::string engineType_;
|
std::string engineType_;
|
||||||
int auditStatus_;
|
int auditStatus_;
|
||||||
|
int featureType_;
|
||||||
long endTime_;
|
long endTime_;
|
||||||
int currentPage_;
|
int currentPage_;
|
||||||
int resourceType_;
|
int resourceType_;
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
int agentState;
|
int agentState;
|
||||||
std::string connector;
|
std::string connector;
|
||||||
|
std::vector<std::string> vSwitchIdList;
|
||||||
int samplingSize;
|
int samplingSize;
|
||||||
int processStatus;
|
int processStatus;
|
||||||
int logStoreDay;
|
int logStoreDay;
|
||||||
@@ -57,10 +58,12 @@ namespace AlibabaCloud
|
|||||||
std::string instanceId;
|
std::string instanceId;
|
||||||
std::string tenantName;
|
std::string tenantName;
|
||||||
long resourceType;
|
long resourceType;
|
||||||
|
std::vector<std::string> securityGroupIdList;
|
||||||
std::string localName;
|
std::string localName;
|
||||||
int totalCount;
|
int totalCount;
|
||||||
long gmtCreate;
|
long gmtCreate;
|
||||||
int auditStatus;
|
int auditStatus;
|
||||||
|
std::string vpcId;
|
||||||
int datamaskStatus;
|
int datamaskStatus;
|
||||||
int autoScan;
|
int autoScan;
|
||||||
long nextStartTime;
|
long nextStartTime;
|
||||||
|
|||||||
@@ -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_SDDP_MODEL_DESCRIBEDATAOBJECTCOLUMNDETAILREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAOBJECTCOLUMNDETAILREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Sddp {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeDataObjectColumnDetailRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeDataObjectColumnDetailRequest();
|
||||||
|
~DescribeDataObjectColumnDetailRequest();
|
||||||
|
long getProductId() const;
|
||||||
|
void setProductId(long productId);
|
||||||
|
std::string getSourceIp() const;
|
||||||
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
int getPageSize() const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
long getId() const;
|
||||||
|
void setId(long id);
|
||||||
|
std::string getLang() const;
|
||||||
|
void setLang(const std::string &lang);
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
|
int getCurrentPage() const;
|
||||||
|
void setCurrentPage(int currentPage);
|
||||||
|
long getTemplateId() const;
|
||||||
|
void setTemplateId(long templateId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
long productId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
int pageSize_;
|
||||||
|
long id_;
|
||||||
|
std::string lang_;
|
||||||
|
int featureType_;
|
||||||
|
int currentPage_;
|
||||||
|
long templateId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Sddp
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAOBJECTCOLUMNDETAILREQUEST_H_
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAOBJECTCOLUMNDETAILRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAOBJECTCOLUMNDETAILRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sddp
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeDataObjectColumnDetailResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Rule
|
||||||
|
{
|
||||||
|
struct ModelTagsItem
|
||||||
|
{
|
||||||
|
long id;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
std::string columnName;
|
||||||
|
std::vector<std::string> categories;
|
||||||
|
long ruleId;
|
||||||
|
std::vector<Rule::ModelTagsItem> modelTags;
|
||||||
|
std::string dataType;
|
||||||
|
std::string columnComment;
|
||||||
|
bool primaryKey;
|
||||||
|
std::string riskLevelName;
|
||||||
|
std::string id;
|
||||||
|
long riskLevelId;
|
||||||
|
std::string ruleName;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDataObjectColumnDetailResult();
|
||||||
|
explicit DescribeDataObjectColumnDetailResult(const std::string &payload);
|
||||||
|
~DescribeDataObjectColumnDetailResult();
|
||||||
|
int getTotalCount()const;
|
||||||
|
int getPageSize()const;
|
||||||
|
int getCurrentPage()const;
|
||||||
|
std::vector<Rule> getItems()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int totalCount_;
|
||||||
|
int pageSize_;
|
||||||
|
int currentPage_;
|
||||||
|
std::vector<Rule> items_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAOBJECTCOLUMNDETAILRESULT_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_SDDP_MODEL_DESCRIBEDATAOBJECTCOLUMNDETAILV2REQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAOBJECTCOLUMNDETAILV2REQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Sddp {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeDataObjectColumnDetailV2Request : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeDataObjectColumnDetailV2Request();
|
||||||
|
~DescribeDataObjectColumnDetailV2Request();
|
||||||
|
long getProductId() const;
|
||||||
|
void setProductId(long productId);
|
||||||
|
std::string getSourceIp() const;
|
||||||
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
int getPageSize() const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
std::string getId() const;
|
||||||
|
void setId(const std::string &id);
|
||||||
|
std::string getLang() const;
|
||||||
|
void setLang(const std::string &lang);
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
|
int getCurrentPage() const;
|
||||||
|
void setCurrentPage(int currentPage);
|
||||||
|
long getTemplateId() const;
|
||||||
|
void setTemplateId(long templateId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
long productId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
int pageSize_;
|
||||||
|
std::string id_;
|
||||||
|
std::string lang_;
|
||||||
|
int featureType_;
|
||||||
|
int currentPage_;
|
||||||
|
long templateId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Sddp
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAOBJECTCOLUMNDETAILV2REQUEST_H_
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAOBJECTCOLUMNDETAILV2RESULT_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAOBJECTCOLUMNDETAILV2RESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sddp
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeDataObjectColumnDetailV2Result : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Rule
|
||||||
|
{
|
||||||
|
struct ModelTagsItem
|
||||||
|
{
|
||||||
|
long id;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
std::string columnName;
|
||||||
|
std::vector<std::string> categories;
|
||||||
|
long ruleId;
|
||||||
|
std::vector<Rule::ModelTagsItem> modelTags;
|
||||||
|
std::string dataType;
|
||||||
|
std::string columnComment;
|
||||||
|
bool primaryKey;
|
||||||
|
std::string riskLevelName;
|
||||||
|
std::string id;
|
||||||
|
long riskLevelId;
|
||||||
|
std::string ruleName;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDataObjectColumnDetailV2Result();
|
||||||
|
explicit DescribeDataObjectColumnDetailV2Result(const std::string &payload);
|
||||||
|
~DescribeDataObjectColumnDetailV2Result();
|
||||||
|
int getTotalCount()const;
|
||||||
|
int getPageSize()const;
|
||||||
|
int getCurrentPage()const;
|
||||||
|
std::vector<Rule> getItems()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int totalCount_;
|
||||||
|
int pageSize_;
|
||||||
|
int currentPage_;
|
||||||
|
std::vector<Rule> items_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAOBJECTCOLUMNDETAILV2RESULT_H_
|
||||||
@@ -0,0 +1,90 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAOBJECTSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAOBJECTSREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Sddp {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeDataObjectsRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeDataObjectsRequest();
|
||||||
|
~DescribeDataObjectsRequest();
|
||||||
|
long getFileType() const;
|
||||||
|
void setFileType(long fileType);
|
||||||
|
std::string getRiskLevels() const;
|
||||||
|
void setRiskLevels(const std::string &riskLevels);
|
||||||
|
std::string getQueryName() const;
|
||||||
|
void setQueryName(const std::string &queryName);
|
||||||
|
long getDomainId() const;
|
||||||
|
void setDomainId(long domainId);
|
||||||
|
std::string getParentCategoryIds() const;
|
||||||
|
void setParentCategoryIds(const std::string &parentCategoryIds);
|
||||||
|
std::string getSourceIp() const;
|
||||||
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getProductIds() const;
|
||||||
|
void setProductIds(const std::string &productIds);
|
||||||
|
int getPageSize() const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
std::string getLang() const;
|
||||||
|
void setLang(const std::string &lang);
|
||||||
|
std::string getServiceRegionId() const;
|
||||||
|
void setServiceRegionId(const std::string &serviceRegionId);
|
||||||
|
std::string getModelTagIds() const;
|
||||||
|
void setModelTagIds(const std::string &modelTagIds);
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
|
long getFileCategoryCode() const;
|
||||||
|
void setFileCategoryCode(long fileCategoryCode);
|
||||||
|
int getCurrentPage() const;
|
||||||
|
void setCurrentPage(int currentPage);
|
||||||
|
long getTemplateId() const;
|
||||||
|
void setTemplateId(long templateId);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
std::string getModelIds() const;
|
||||||
|
void setModelIds(const std::string &modelIds);
|
||||||
|
|
||||||
|
private:
|
||||||
|
long fileType_;
|
||||||
|
std::string riskLevels_;
|
||||||
|
std::string queryName_;
|
||||||
|
long domainId_;
|
||||||
|
std::string parentCategoryIds_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string productIds_;
|
||||||
|
int pageSize_;
|
||||||
|
std::string lang_;
|
||||||
|
std::string serviceRegionId_;
|
||||||
|
std::string modelTagIds_;
|
||||||
|
int featureType_;
|
||||||
|
long fileCategoryCode_;
|
||||||
|
int currentPage_;
|
||||||
|
long templateId_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string modelIds_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Sddp
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAOBJECTSREQUEST_H_
|
||||||
@@ -0,0 +1,89 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAOBJECTSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAOBJECTSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sddp
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeDataObjectsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Rule
|
||||||
|
{
|
||||||
|
struct ModelTagsItem
|
||||||
|
{
|
||||||
|
long id;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
struct RuleListItem
|
||||||
|
{
|
||||||
|
int ruleCount;
|
||||||
|
long ruleId;
|
||||||
|
std::string riskLevelName;
|
||||||
|
long riskLevelId;
|
||||||
|
std::string ruleName;
|
||||||
|
};
|
||||||
|
std::string path;
|
||||||
|
std::vector<Rule::RuleListItem> ruleList;
|
||||||
|
std::string productCode;
|
||||||
|
std::string instanceId;
|
||||||
|
std::vector<std::string> categories;
|
||||||
|
std::string objectFileCategory;
|
||||||
|
long productId;
|
||||||
|
long lastScanTime;
|
||||||
|
std::string name;
|
||||||
|
std::string objectType;
|
||||||
|
std::string regionName;
|
||||||
|
std::vector<Rule::ModelTagsItem> modelTags;
|
||||||
|
std::string instanceDescription;
|
||||||
|
std::string id;
|
||||||
|
int sensitiveCount;
|
||||||
|
long templateId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDataObjectsResult();
|
||||||
|
explicit DescribeDataObjectsResult(const std::string &payload);
|
||||||
|
~DescribeDataObjectsResult();
|
||||||
|
int getTotalCount()const;
|
||||||
|
int getPageSize()const;
|
||||||
|
int getCurrentPage()const;
|
||||||
|
std::vector<Rule> getItems()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int totalCount_;
|
||||||
|
int pageSize_;
|
||||||
|
int currentPage_;
|
||||||
|
std::vector<Rule> items_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAOBJECTSRESULT_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_SDDP_MODEL_DESCRIBEDOCTYPESREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDOCTYPESREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Sddp {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeDocTypesRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeDocTypesRequest();
|
||||||
|
~DescribeDocTypesRequest();
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
|
std::string getSourceIp() const;
|
||||||
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getLang() const;
|
||||||
|
void setLang(const std::string &lang);
|
||||||
|
|
||||||
|
private:
|
||||||
|
int featureType_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string lang_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Sddp
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDOCTYPESREQUEST_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_SDDP_MODEL_DESCRIBEDOCTYPESRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDOCTYPESRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sddp
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeDocTypesResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct DocType
|
||||||
|
{
|
||||||
|
long id;
|
||||||
|
long code;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDocTypesResult();
|
||||||
|
explicit DescribeDocTypesResult(const std::string &payload);
|
||||||
|
~DescribeDocTypesResult();
|
||||||
|
std::vector<DocType> getDocTypeList()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::vector<DocType> docTypeList_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDOCTYPESRESULT_H_
|
||||||
@@ -32,6 +32,8 @@ public:
|
|||||||
~DescribeEventTypesRequest();
|
~DescribeEventTypesRequest();
|
||||||
int getResourceId() const;
|
int getResourceId() const;
|
||||||
void setResourceId(int resourceId);
|
void setResourceId(int resourceId);
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
long getParentTypeId() const;
|
long getParentTypeId() const;
|
||||||
void setParentTypeId(long parentTypeId);
|
void setParentTypeId(long parentTypeId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
@@ -43,6 +45,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
int resourceId_;
|
int resourceId_;
|
||||||
|
int featureType_;
|
||||||
long parentTypeId_;
|
long parentTypeId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_SDDP_EXPORT DescribeEventsRequest : public RpcServiceRequest
|
|||||||
public:
|
public:
|
||||||
DescribeEventsRequest();
|
DescribeEventsRequest();
|
||||||
~DescribeEventsRequest();
|
~DescribeEventsRequest();
|
||||||
|
int getWarnLevel() const;
|
||||||
|
void setWarnLevel(int warnLevel);
|
||||||
std::string getProductCode() const;
|
std::string getProductCode() const;
|
||||||
void setProductCode(const std::string &productCode);
|
void setProductCode(const std::string &productCode);
|
||||||
std::string getStartTime() const;
|
std::string getStartTime() const;
|
||||||
@@ -68,6 +70,7 @@ public:
|
|||||||
void setUserName(const std::string &userName);
|
void setUserName(const std::string &userName);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
int warnLevel_;
|
||||||
std::string productCode_;
|
std::string productCode_;
|
||||||
std::string startTime_;
|
std::string startTime_;
|
||||||
long userId_;
|
long userId_;
|
||||||
|
|||||||
@@ -52,6 +52,8 @@ public:
|
|||||||
void setAuditStatus(int auditStatus);
|
void setAuditStatus(int auditStatus);
|
||||||
int getAuthStatus() const;
|
int getAuthStatus() const;
|
||||||
void setAuthStatus(int authStatus);
|
void setAuthStatus(int authStatus);
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
int getCurrentPage() const;
|
int getCurrentPage() const;
|
||||||
void setCurrentPage(int currentPage);
|
void setCurrentPage(int currentPage);
|
||||||
bool getAuthed() const;
|
bool getAuthed() const;
|
||||||
@@ -73,6 +75,7 @@ private:
|
|||||||
std::string engineType_;
|
std::string engineType_;
|
||||||
int auditStatus_;
|
int auditStatus_;
|
||||||
int authStatus_;
|
int authStatus_;
|
||||||
|
int featureType_;
|
||||||
int currentPage_;
|
int currentPage_;
|
||||||
bool authed_;
|
bool authed_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
|
|||||||
@@ -80,6 +80,8 @@ public:
|
|||||||
void setCurrentPage(int currentPage);
|
void setCurrentPage(int currentPage);
|
||||||
std::string getName() const;
|
std::string getName() const;
|
||||||
void setName(const std::string &name);
|
void setName(const std::string &name);
|
||||||
|
bool getNeedModelTag() const;
|
||||||
|
void setNeedModelTag(bool needModelTag);
|
||||||
long getRuleId() const;
|
long getRuleId() const;
|
||||||
void setRuleId(long ruleId);
|
void setRuleId(long ruleId);
|
||||||
long getLastFinishTimeEnd() const;
|
long getLastFinishTimeEnd() const;
|
||||||
@@ -111,6 +113,7 @@ private:
|
|||||||
long endTime_;
|
long endTime_;
|
||||||
int currentPage_;
|
int currentPage_;
|
||||||
std::string name_;
|
std::string name_;
|
||||||
|
bool needModelTag_;
|
||||||
long ruleId_;
|
long ruleId_;
|
||||||
long lastFinishTimeEnd_;
|
long lastFinishTimeEnd_;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -34,6 +34,11 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct Instance
|
struct Instance
|
||||||
{
|
{
|
||||||
|
struct ModelTagsItem
|
||||||
|
{
|
||||||
|
long id;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
std::string owner;
|
std::string owner;
|
||||||
std::string odpsRiskLevelName;
|
std::string odpsRiskLevelName;
|
||||||
std::string productId;
|
std::string productId;
|
||||||
@@ -42,6 +47,7 @@ namespace AlibabaCloud
|
|||||||
std::string name;
|
std::string name;
|
||||||
std::string regionName;
|
std::string regionName;
|
||||||
int s1Count;
|
int s1Count;
|
||||||
|
std::vector<Instance::ModelTagsItem> modelTags;
|
||||||
bool sensitive;
|
bool sensitive;
|
||||||
std::string engineType;
|
std::string engineType;
|
||||||
bool protection;
|
bool protection;
|
||||||
|
|||||||
@@ -30,20 +30,20 @@ class ALIBABACLOUD_SDDP_EXPORT DescribeOssObjectDetailRequest : public RpcServic
|
|||||||
public:
|
public:
|
||||||
DescribeOssObjectDetailRequest();
|
DescribeOssObjectDetailRequest();
|
||||||
~DescribeOssObjectDetailRequest();
|
~DescribeOssObjectDetailRequest();
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
long getId() const;
|
long getId() const;
|
||||||
void setId(long id);
|
void setId(long id);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
int getFeatureType() const;
|
|
||||||
void setFeatureType(int featureType);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
int featureType_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
long id_;
|
long id_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
int featureType_;
|
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Sddp
|
} // namespace Sddp
|
||||||
|
|||||||
@@ -36,7 +36,13 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
struct Rule
|
struct Rule
|
||||||
{
|
{
|
||||||
|
struct ModelTagsItem
|
||||||
|
{
|
||||||
|
long id;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
int category;
|
int category;
|
||||||
|
std::vector<Rule::ModelTagsItem> modelTags;
|
||||||
std::string categoryName;
|
std::string categoryName;
|
||||||
std::string riskLevelName;
|
std::string riskLevelName;
|
||||||
long count;
|
long count;
|
||||||
|
|||||||
@@ -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_SDDP_MODEL_DESCRIBEOSSOBJECTDETAILV2REQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEOSSOBJECTDETAILV2REQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Sddp {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeOssObjectDetailV2Request : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeOssObjectDetailV2Request();
|
||||||
|
~DescribeOssObjectDetailV2Request();
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
|
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:
|
||||||
|
int featureType_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string id_;
|
||||||
|
std::string lang_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Sddp
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEOSSOBJECTDETAILV2REQUEST_H_
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEOSSOBJECTDETAILV2RESULT_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEOSSOBJECTDETAILV2RESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sddp
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeOssObjectDetailV2Result : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct OssObjectDetail
|
||||||
|
{
|
||||||
|
struct Rule
|
||||||
|
{
|
||||||
|
struct ModelTagsItem
|
||||||
|
{
|
||||||
|
long id;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
int category;
|
||||||
|
std::vector<Rule::ModelTagsItem> modelTags;
|
||||||
|
std::string categoryName;
|
||||||
|
std::string riskLevelName;
|
||||||
|
long count;
|
||||||
|
long riskLevelId;
|
||||||
|
std::string ruleName;
|
||||||
|
std::vector<std::string> sampleList;
|
||||||
|
};
|
||||||
|
std::vector<Rule> ruleList;
|
||||||
|
std::string bucketName;
|
||||||
|
std::string categoryName;
|
||||||
|
std::string riskLevelName;
|
||||||
|
std::string regionId;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeOssObjectDetailV2Result();
|
||||||
|
explicit DescribeOssObjectDetailV2Result(const std::string &payload);
|
||||||
|
~DescribeOssObjectDetailV2Result();
|
||||||
|
OssObjectDetail getOssObjectDetail()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
OssObjectDetail ossObjectDetail_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEOSSOBJECTDETAILV2RESULT_H_
|
||||||
@@ -54,8 +54,12 @@ public:
|
|||||||
void setFeatureType(int featureType);
|
void setFeatureType(int featureType);
|
||||||
std::string getOrderBy() const;
|
std::string getOrderBy() const;
|
||||||
void setOrderBy(const std::string &orderBy);
|
void setOrderBy(const std::string &orderBy);
|
||||||
|
long getFileCategoryCode() const;
|
||||||
|
void setFileCategoryCode(long fileCategoryCode);
|
||||||
int getCurrentPage() const;
|
int getCurrentPage() const;
|
||||||
void setCurrentPage(int currentPage);
|
void setCurrentPage(int currentPage);
|
||||||
|
long getTemplateId() const;
|
||||||
|
void setTemplateId(long templateId);
|
||||||
std::string getRuleIds() const;
|
std::string getRuleIds() const;
|
||||||
void setRuleIds(const std::string &ruleIds);
|
void setRuleIds(const std::string &ruleIds);
|
||||||
std::string getInstanceId() const;
|
std::string getInstanceId() const;
|
||||||
@@ -80,7 +84,9 @@ private:
|
|||||||
std::string serviceRegionId_;
|
std::string serviceRegionId_;
|
||||||
int featureType_;
|
int featureType_;
|
||||||
std::string orderBy_;
|
std::string orderBy_;
|
||||||
|
long fileCategoryCode_;
|
||||||
int currentPage_;
|
int currentPage_;
|
||||||
|
long templateId_;
|
||||||
std::string ruleIds_;
|
std::string ruleIds_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
std::string name_;
|
std::string name_;
|
||||||
|
|||||||
@@ -45,9 +45,11 @@ namespace AlibabaCloud
|
|||||||
long category;
|
long category;
|
||||||
long instanceId;
|
long instanceId;
|
||||||
long size;
|
long size;
|
||||||
|
long fileCategoryCode;
|
||||||
long lastScanTime;
|
long lastScanTime;
|
||||||
long riskLevelId;
|
long riskLevelId;
|
||||||
std::string name;
|
std::string name;
|
||||||
|
std::string fileCategoryName;
|
||||||
std::string bucketName;
|
std::string bucketName;
|
||||||
std::string regionName;
|
std::string regionName;
|
||||||
std::string categoryName;
|
std::string categoryName;
|
||||||
|
|||||||
@@ -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_SDDP_MODEL_DESCRIBEPARENTINSTANCEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEPARENTINSTANCEREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Sddp {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeParentInstanceRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeParentInstanceRequest();
|
||||||
|
~DescribeParentInstanceRequest();
|
||||||
|
std::string getSourceIp() const;
|
||||||
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
int getPageSize() const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
int getCheckStatus() const;
|
||||||
|
void setCheckStatus(int checkStatus);
|
||||||
|
std::string getLang() const;
|
||||||
|
void setLang(const std::string &lang);
|
||||||
|
std::string getServiceRegionId() const;
|
||||||
|
void setServiceRegionId(const std::string &serviceRegionId);
|
||||||
|
std::string getEngineType() const;
|
||||||
|
void setEngineType(const std::string &engineType);
|
||||||
|
std::string getClusterStatus() const;
|
||||||
|
void setClusterStatus(const std::string &clusterStatus);
|
||||||
|
int getAuthStatus() const;
|
||||||
|
void setAuthStatus(int authStatus);
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
|
int getCurrentPage() const;
|
||||||
|
void setCurrentPage(int currentPage);
|
||||||
|
long getResourceType() const;
|
||||||
|
void setResourceType(long resourceType);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
std::string getDbName() const;
|
||||||
|
void setDbName(const std::string &dbName);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string sourceIp_;
|
||||||
|
int pageSize_;
|
||||||
|
int checkStatus_;
|
||||||
|
std::string lang_;
|
||||||
|
std::string serviceRegionId_;
|
||||||
|
std::string engineType_;
|
||||||
|
std::string clusterStatus_;
|
||||||
|
int authStatus_;
|
||||||
|
int featureType_;
|
||||||
|
int currentPage_;
|
||||||
|
long resourceType_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string dbName_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Sddp
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEPARENTINSTANCEREQUEST_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_SDDP_MODEL_DESCRIBEPARENTINSTANCERESULT_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEPARENTINSTANCERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sddp
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeParentInstanceResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string parentId;
|
||||||
|
std::string dbNum;
|
||||||
|
std::string connectNode;
|
||||||
|
long instanceSize;
|
||||||
|
std::string instanceId;
|
||||||
|
std::string tenantName;
|
||||||
|
std::string resourceType;
|
||||||
|
std::string unConnectDbCount;
|
||||||
|
std::string localName;
|
||||||
|
std::string tenantId;
|
||||||
|
int auditStatus;
|
||||||
|
int authStatus;
|
||||||
|
std::string unSupportOneClickAuthReason;
|
||||||
|
std::string supportConnectNodes;
|
||||||
|
std::string engineType;
|
||||||
|
std::string instanceDescription;
|
||||||
|
std::string clusterStatus;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeParentInstanceResult();
|
||||||
|
explicit DescribeParentInstanceResult(const std::string &payload);
|
||||||
|
~DescribeParentInstanceResult();
|
||||||
|
int getTotalCount()const;
|
||||||
|
int getPageSize()const;
|
||||||
|
int getCurrentPage()const;
|
||||||
|
std::vector<Data> getItems()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int totalCount_;
|
||||||
|
int pageSize_;
|
||||||
|
int currentPage_;
|
||||||
|
std::vector<Data> items_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEPARENTINSTANCERESULT_H_
|
||||||
@@ -30,15 +30,21 @@ class ALIBABACLOUD_SDDP_EXPORT DescribeRiskLevelsRequest : public RpcServiceRequ
|
|||||||
public:
|
public:
|
||||||
DescribeRiskLevelsRequest();
|
DescribeRiskLevelsRequest();
|
||||||
~DescribeRiskLevelsRequest();
|
~DescribeRiskLevelsRequest();
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
int getCustomType() const;
|
int getCustomType() const;
|
||||||
void setCustomType(int customType);
|
void setCustomType(int customType);
|
||||||
|
long getTemplateId() const;
|
||||||
|
void setTemplateId(long templateId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
int featureType_;
|
||||||
int customType_;
|
int customType_;
|
||||||
|
long templateId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -42,12 +42,18 @@ public:
|
|||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
int getPageSize() const;
|
int getPageSize() const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
|
int getMatchType() const;
|
||||||
|
void setMatchType(int matchType);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
bool getKeywordCompatible() const;
|
bool getKeywordCompatible() const;
|
||||||
void setKeywordCompatible(bool keywordCompatible);
|
void setKeywordCompatible(bool keywordCompatible);
|
||||||
|
int getSupportForm() const;
|
||||||
|
void setSupportForm(int supportForm);
|
||||||
int getRuleType() const;
|
int getRuleType() const;
|
||||||
void setRuleType(int ruleType);
|
void setRuleType(int ruleType);
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
std::string getGroupId() const;
|
std::string getGroupId() const;
|
||||||
void setGroupId(const std::string &groupId);
|
void setGroupId(const std::string &groupId);
|
||||||
int getContentCategory() const;
|
int getContentCategory() const;
|
||||||
@@ -70,9 +76,12 @@ private:
|
|||||||
long riskLevelId_;
|
long riskLevelId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
|
int matchType_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
bool keywordCompatible_;
|
bool keywordCompatible_;
|
||||||
|
int supportForm_;
|
||||||
int ruleType_;
|
int ruleType_;
|
||||||
|
int featureType_;
|
||||||
std::string groupId_;
|
std::string groupId_;
|
||||||
int contentCategory_;
|
int contentCategory_;
|
||||||
int currentPage_;
|
int currentPage_;
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ namespace AlibabaCloud
|
|||||||
std::string target;
|
std::string target;
|
||||||
int warnLevel;
|
int warnLevel;
|
||||||
std::string displayName;
|
std::string displayName;
|
||||||
|
int supportForm;
|
||||||
int status;
|
int status;
|
||||||
int customType;
|
int customType;
|
||||||
std::string productCode;
|
std::string productCode;
|
||||||
@@ -53,6 +54,7 @@ namespace AlibabaCloud
|
|||||||
std::string groupId;
|
std::string groupId;
|
||||||
std::string majorKey;
|
std::string majorKey;
|
||||||
long gmtCreate;
|
long gmtCreate;
|
||||||
|
int matchType;
|
||||||
long userId;
|
long userId;
|
||||||
std::string content;
|
std::string content;
|
||||||
std::string categoryName;
|
std::string categoryName;
|
||||||
|
|||||||
@@ -74,6 +74,8 @@ public:
|
|||||||
void setEndTime(long endTime);
|
void setEndTime(long endTime);
|
||||||
int getCurrentPage() const;
|
int getCurrentPage() const;
|
||||||
void setCurrentPage(int currentPage);
|
void setCurrentPage(int currentPage);
|
||||||
|
long getTemplateId() const;
|
||||||
|
void setTemplateId(long templateId);
|
||||||
std::string getRuleIds() const;
|
std::string getRuleIds() const;
|
||||||
void setRuleIds(const std::string &ruleIds);
|
void setRuleIds(const std::string &ruleIds);
|
||||||
long getInstanceId() const;
|
long getInstanceId() const;
|
||||||
@@ -108,6 +110,7 @@ private:
|
|||||||
std::string orderBy_;
|
std::string orderBy_;
|
||||||
long endTime_;
|
long endTime_;
|
||||||
int currentPage_;
|
int currentPage_;
|
||||||
|
long templateId_;
|
||||||
std::string ruleIds_;
|
std::string ruleIds_;
|
||||||
long instanceId_;
|
long instanceId_;
|
||||||
std::string instanceName_;
|
std::string instanceName_;
|
||||||
|
|||||||
@@ -41,6 +41,11 @@ namespace AlibabaCloud
|
|||||||
long riskLevelId;
|
long riskLevelId;
|
||||||
std::string name;
|
std::string name;
|
||||||
};
|
};
|
||||||
|
struct ModelTagsItem
|
||||||
|
{
|
||||||
|
long id;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
std::vector<Table::Rule> ruleList;
|
std::vector<Table::Rule> ruleList;
|
||||||
std::string owner;
|
std::string owner;
|
||||||
std::string productId;
|
std::string productId;
|
||||||
@@ -51,6 +56,7 @@ namespace AlibabaCloud
|
|||||||
std::string regionName;
|
std::string regionName;
|
||||||
int totalRows;
|
int totalRows;
|
||||||
int s1Count;
|
int s1Count;
|
||||||
|
std::vector<Table::ModelTagsItem> modelTags;
|
||||||
bool sensitive;
|
bool sensitive;
|
||||||
int dataType;
|
int dataType;
|
||||||
long instanceId;
|
long instanceId;
|
||||||
|
|||||||
@@ -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_SDDP_MODEL_DESCRIBETEMPLATEALLRULESREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBETEMPLATEALLRULESREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Sddp {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeTemplateAllRulesRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeTemplateAllRulesRequest();
|
||||||
|
~DescribeTemplateAllRulesRequest();
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
|
long getTemplateId() const;
|
||||||
|
void setTemplateId(long templateId);
|
||||||
|
std::string getSourceIp() const;
|
||||||
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getLang() const;
|
||||||
|
void setLang(const std::string &lang);
|
||||||
|
|
||||||
|
private:
|
||||||
|
int featureType_;
|
||||||
|
long templateId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string lang_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Sddp
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBETEMPLATEALLRULESREQUEST_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_SDDP_MODEL_DESCRIBETEMPLATEALLRULESRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBETEMPLATEALLRULESRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sddp/SddpExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sddp
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SDDP_EXPORT DescribeTemplateAllRulesResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Rule
|
||||||
|
{
|
||||||
|
long id;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeTemplateAllRulesResult();
|
||||||
|
explicit DescribeTemplateAllRulesResult(const std::string &payload);
|
||||||
|
~DescribeTemplateAllRulesResult();
|
||||||
|
std::vector<Rule> getRuleList()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::vector<Rule> ruleList_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBETEMPLATEALLRULESRESULT_H_
|
||||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_SDDP_EXPORT DescribeUserStatusRequest : public RpcServiceRequ
|
|||||||
public:
|
public:
|
||||||
DescribeUserStatusRequest();
|
DescribeUserStatusRequest();
|
||||||
~DescribeUserStatusRequest();
|
~DescribeUserStatusRequest();
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
int featureType_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -34,43 +34,52 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct UserStatus
|
struct UserStatus
|
||||||
{
|
{
|
||||||
int labStatus;
|
|
||||||
long totalDataMaskColumns;
|
|
||||||
bool purchased;
|
|
||||||
int instanceNum;
|
int instanceNum;
|
||||||
bool renewStatus;
|
bool renewStatus;
|
||||||
long dataMaskTasks;
|
long dataMaskTasks;
|
||||||
long dlpCount;
|
|
||||||
long dlpTotalCount;
|
long dlpTotalCount;
|
||||||
std::string version;
|
std::string version;
|
||||||
long ossSize;
|
|
||||||
long sensitiveTable;
|
long sensitiveTable;
|
||||||
int instanceStatus;
|
|
||||||
bool ossBucketSet;
|
bool ossBucketSet;
|
||||||
std::string sensitiveTop;
|
|
||||||
std::string displayTime;
|
std::string displayTime;
|
||||||
std::string sensitiveTotalTop;
|
std::string sensitiveTotalTop;
|
||||||
bool odpsSet;
|
bool odpsSet;
|
||||||
long sensitiveTables;
|
long sensitiveTables;
|
||||||
bool buyed;
|
|
||||||
long incSensitiveTables;
|
long incSensitiveTables;
|
||||||
std::string authProductList;
|
|
||||||
long alarmCount;
|
long alarmCount;
|
||||||
int dbAuditStatus;
|
int dbAuditStatus;
|
||||||
long datamaskColumns;
|
long datamaskColumns;
|
||||||
bool rdsSet;
|
long ossTotalSize;
|
||||||
std::string instanceId;
|
std::string instanceId;
|
||||||
long dataMaskColumns;
|
bool useAgentAudit;
|
||||||
|
bool auditClosable;
|
||||||
bool auditUpgradeStatus;
|
bool auditUpgradeStatus;
|
||||||
long sensitiveObjects;
|
bool auditReleasable;
|
||||||
bool trail;
|
bool trail;
|
||||||
|
long incSensitiveObjects;
|
||||||
|
long sensitiveObject;
|
||||||
|
int protectionDays;
|
||||||
|
int labStatus;
|
||||||
|
int releaseDays;
|
||||||
|
long instanceTotalCount;
|
||||||
|
long totalDataMaskColumns;
|
||||||
|
bool purchased;
|
||||||
|
long dlpCount;
|
||||||
|
long ossSize;
|
||||||
|
int instanceStatus;
|
||||||
|
std::string sensitiveTop;
|
||||||
|
int dataManagerRole;
|
||||||
|
bool buyed;
|
||||||
|
std::string authProductList;
|
||||||
|
bool rdsSet;
|
||||||
|
long dataMaskColumns;
|
||||||
|
long sensitiveObjects;
|
||||||
long useOssSize;
|
long useOssSize;
|
||||||
bool authed;
|
bool authed;
|
||||||
long divulgeCount;
|
long divulgeCount;
|
||||||
|
long releaseTime;
|
||||||
std::string chargeType;
|
std::string chargeType;
|
||||||
std::string accessKeyId;
|
std::string accessKeyId;
|
||||||
long incSensitiveObjects;
|
|
||||||
long sensitiveObject;
|
|
||||||
bool assetScanned;
|
bool assetScanned;
|
||||||
int remainDays;
|
int remainDays;
|
||||||
int useInstanceNum;
|
int useInstanceNum;
|
||||||
|
|||||||
@@ -32,6 +32,8 @@ public:
|
|||||||
~DisableUserConfigRequest();
|
~DisableUserConfigRequest();
|
||||||
std::string getCode() const;
|
std::string getCode() const;
|
||||||
void setCode(const std::string &code);
|
void setCode(const std::string &code);
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
@@ -39,6 +41,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::string code_;
|
std::string code_;
|
||||||
|
int featureType_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -32,6 +32,8 @@ public:
|
|||||||
~ExecDatamaskRequest();
|
~ExecDatamaskRequest();
|
||||||
std::string getData() const;
|
std::string getData() const;
|
||||||
void setData(const std::string &data);
|
void setData(const std::string &data);
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
long getTemplateId() const;
|
long getTemplateId() const;
|
||||||
void setTemplateId(long templateId);
|
void setTemplateId(long templateId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
@@ -41,6 +43,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::string data_;
|
std::string data_;
|
||||||
|
int featureType_;
|
||||||
long templateId_;
|
long templateId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
|||||||
@@ -32,6 +32,10 @@ public:
|
|||||||
~ModifyDataLimitRequest();
|
~ModifyDataLimitRequest();
|
||||||
bool getModifyPassword() const;
|
bool getModifyPassword() const;
|
||||||
void setModifyPassword(bool modifyPassword);
|
void setModifyPassword(bool modifyPassword);
|
||||||
|
std::vector<std::string> getVSwitchIdList() const;
|
||||||
|
void setVSwitchIdList(const std::vector<std::string> &vSwitchIdList);
|
||||||
|
int getSamplingSize() const;
|
||||||
|
void setSamplingSize(int samplingSize);
|
||||||
std::string getPassword() const;
|
std::string getPassword() const;
|
||||||
void setPassword(const std::string &password);
|
void setPassword(const std::string &password);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
@@ -48,6 +52,10 @@ public:
|
|||||||
void setAuditStatus(int auditStatus);
|
void setAuditStatus(int auditStatus);
|
||||||
int getAutoScan() const;
|
int getAutoScan() const;
|
||||||
void setAutoScan(int autoScan);
|
void setAutoScan(int autoScan);
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
|
std::vector<std::string> getSecurityGroupIdList() const;
|
||||||
|
void setSecurityGroupIdList(const std::vector<std::string> &securityGroupIdList);
|
||||||
int getLogStoreDay() const;
|
int getLogStoreDay() const;
|
||||||
void setLogStoreDay(int logStoreDay);
|
void setLogStoreDay(int logStoreDay);
|
||||||
int getResourceType() const;
|
int getResourceType() const;
|
||||||
@@ -56,11 +64,15 @@ public:
|
|||||||
void setConnector(const std::string &connector);
|
void setConnector(const std::string &connector);
|
||||||
int getPort() const;
|
int getPort() const;
|
||||||
void setPort(int port);
|
void setPort(int port);
|
||||||
|
std::string getVpcId() const;
|
||||||
|
void setVpcId(const std::string &vpcId);
|
||||||
std::string getUserName() const;
|
std::string getUserName() const;
|
||||||
void setUserName(const std::string &userName);
|
void setUserName(const std::string &userName);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool modifyPassword_;
|
bool modifyPassword_;
|
||||||
|
std::vector<std::string> vSwitchIdList_;
|
||||||
|
int samplingSize_;
|
||||||
std::string password_;
|
std::string password_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
long id_;
|
long id_;
|
||||||
@@ -69,10 +81,13 @@ private:
|
|||||||
std::string engineType_;
|
std::string engineType_;
|
||||||
int auditStatus_;
|
int auditStatus_;
|
||||||
int autoScan_;
|
int autoScan_;
|
||||||
|
int featureType_;
|
||||||
|
std::vector<std::string> securityGroupIdList_;
|
||||||
int logStoreDay_;
|
int logStoreDay_;
|
||||||
int resourceType_;
|
int resourceType_;
|
||||||
std::string connector_;
|
std::string connector_;
|
||||||
int port_;
|
int port_;
|
||||||
|
std::string vpcId_;
|
||||||
std::string userName_;
|
std::string userName_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -32,6 +32,8 @@ public:
|
|||||||
~ModifyEventTypeStatusRequest();
|
~ModifyEventTypeStatusRequest();
|
||||||
std::string getSubTypeIds() const;
|
std::string getSubTypeIds() const;
|
||||||
void setSubTypeIds(const std::string &subTypeIds);
|
void setSubTypeIds(const std::string &subTypeIds);
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
@@ -39,6 +41,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::string subTypeIds_;
|
std::string subTypeIds_;
|
||||||
|
int featureType_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_SDDP_EXPORT ModifyReportTaskStatusRequest : public RpcService
|
|||||||
public:
|
public:
|
||||||
ModifyReportTaskStatusRequest();
|
ModifyReportTaskStatusRequest();
|
||||||
~ModifyReportTaskStatusRequest();
|
~ModifyReportTaskStatusRequest();
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
int getReportTaskStatus() const;
|
int getReportTaskStatus() const;
|
||||||
@@ -38,6 +40,7 @@ public:
|
|||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
int featureType_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
int reportTaskStatus_;
|
int reportTaskStatus_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
|||||||
@@ -44,10 +44,14 @@ public:
|
|||||||
void setContent(const std::string &content);
|
void setContent(const std::string &content);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
int getMatchType() const;
|
||||||
|
void setMatchType(int matchType);
|
||||||
long getId() const;
|
long getId() const;
|
||||||
void setId(long id);
|
void setId(long id);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
int getSupportForm() const;
|
||||||
|
void setSupportForm(int supportForm);
|
||||||
int getFeatureType() const;
|
int getFeatureType() const;
|
||||||
void setFeatureType(int featureType);
|
void setFeatureType(int featureType);
|
||||||
int getRuleType() const;
|
int getRuleType() const;
|
||||||
@@ -73,8 +77,10 @@ private:
|
|||||||
long riskLevelId_;
|
long riskLevelId_;
|
||||||
std::string content_;
|
std::string content_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
int matchType_;
|
||||||
long id_;
|
long id_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
int supportForm_;
|
||||||
int featureType_;
|
int featureType_;
|
||||||
int ruleType_;
|
int ruleType_;
|
||||||
std::string statExpress_;
|
std::string statExpress_;
|
||||||
|
|||||||
@@ -30,20 +30,20 @@ class ALIBABACLOUD_SDDP_EXPORT StopMaskingProcessRequest : public RpcServiceRequ
|
|||||||
public:
|
public:
|
||||||
StopMaskingProcessRequest();
|
StopMaskingProcessRequest();
|
||||||
~StopMaskingProcessRequest();
|
~StopMaskingProcessRequest();
|
||||||
|
int getFeatureType() const;
|
||||||
|
void setFeatureType(int featureType);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
long getId() const;
|
long getId() const;
|
||||||
void setId(long id);
|
void setId(long id);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
int getFeatureType() const;
|
|
||||||
void setFeatureType(int featureType);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
int featureType_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
long id_;
|
long id_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
int featureType_;
|
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Sddp
|
} // namespace Sddp
|
||||||
|
|||||||
@@ -303,6 +303,42 @@ SddpClient::DeleteRuleOutcomeCallable SddpClient::deleteRuleCallable(const Delet
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeCategoryTemplateListOutcome SddpClient::describeCategoryTemplateList(const DescribeCategoryTemplateListRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeCategoryTemplateListOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeCategoryTemplateListOutcome(DescribeCategoryTemplateListResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeCategoryTemplateListOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void SddpClient::describeCategoryTemplateListAsync(const DescribeCategoryTemplateListRequest& request, const DescribeCategoryTemplateListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeCategoryTemplateList(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeCategoryTemplateListOutcomeCallable SddpClient::describeCategoryTemplateListCallable(const DescribeCategoryTemplateListRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeCategoryTemplateListOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeCategoryTemplateList(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
SddpClient::DescribeCategoryTemplateRuleListOutcome SddpClient::describeCategoryTemplateRuleList(const DescribeCategoryTemplateRuleListRequest &request) const
|
SddpClient::DescribeCategoryTemplateRuleListOutcome SddpClient::describeCategoryTemplateRuleList(const DescribeCategoryTemplateRuleListRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -375,6 +411,42 @@ SddpClient::DescribeColumnsOutcomeCallable SddpClient::describeColumnsCallable(c
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeColumnsV2Outcome SddpClient::describeColumnsV2(const DescribeColumnsV2Request &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeColumnsV2Outcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeColumnsV2Outcome(DescribeColumnsV2Result(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeColumnsV2Outcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void SddpClient::describeColumnsV2Async(const DescribeColumnsV2Request& request, const DescribeColumnsV2AsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeColumnsV2(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeColumnsV2OutcomeCallable SddpClient::describeColumnsV2Callable(const DescribeColumnsV2Request &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeColumnsV2Outcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeColumnsV2(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
SddpClient::DescribeConfigsOutcome SddpClient::describeConfigs(const DescribeConfigsRequest &request) const
|
SddpClient::DescribeConfigsOutcome SddpClient::describeConfigs(const DescribeConfigsRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -627,6 +699,150 @@ SddpClient::DescribeDataMaskingTasksOutcomeCallable SddpClient::describeDataMask
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeDataObjectColumnDetailOutcome SddpClient::describeDataObjectColumnDetail(const DescribeDataObjectColumnDetailRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDataObjectColumnDetailOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDataObjectColumnDetailOutcome(DescribeDataObjectColumnDetailResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDataObjectColumnDetailOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void SddpClient::describeDataObjectColumnDetailAsync(const DescribeDataObjectColumnDetailRequest& request, const DescribeDataObjectColumnDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDataObjectColumnDetail(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeDataObjectColumnDetailOutcomeCallable SddpClient::describeDataObjectColumnDetailCallable(const DescribeDataObjectColumnDetailRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDataObjectColumnDetailOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDataObjectColumnDetail(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeDataObjectColumnDetailV2Outcome SddpClient::describeDataObjectColumnDetailV2(const DescribeDataObjectColumnDetailV2Request &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDataObjectColumnDetailV2Outcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDataObjectColumnDetailV2Outcome(DescribeDataObjectColumnDetailV2Result(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDataObjectColumnDetailV2Outcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void SddpClient::describeDataObjectColumnDetailV2Async(const DescribeDataObjectColumnDetailV2Request& request, const DescribeDataObjectColumnDetailV2AsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDataObjectColumnDetailV2(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeDataObjectColumnDetailV2OutcomeCallable SddpClient::describeDataObjectColumnDetailV2Callable(const DescribeDataObjectColumnDetailV2Request &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDataObjectColumnDetailV2Outcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDataObjectColumnDetailV2(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeDataObjectsOutcome SddpClient::describeDataObjects(const DescribeDataObjectsRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDataObjectsOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDataObjectsOutcome(DescribeDataObjectsResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDataObjectsOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void SddpClient::describeDataObjectsAsync(const DescribeDataObjectsRequest& request, const DescribeDataObjectsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDataObjects(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeDataObjectsOutcomeCallable SddpClient::describeDataObjectsCallable(const DescribeDataObjectsRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDataObjectsOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDataObjects(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeDocTypesOutcome SddpClient::describeDocTypes(const DescribeDocTypesRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDocTypesOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDocTypesOutcome(DescribeDocTypesResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDocTypesOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void SddpClient::describeDocTypesAsync(const DescribeDocTypesRequest& request, const DescribeDocTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDocTypes(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeDocTypesOutcomeCallable SddpClient::describeDocTypesCallable(const DescribeDocTypesRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDocTypesOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDocTypes(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
SddpClient::DescribeEventDetailOutcome SddpClient::describeEventDetail(const DescribeEventDetailRequest &request) const
|
SddpClient::DescribeEventDetailOutcome SddpClient::describeEventDetail(const DescribeEventDetailRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -843,6 +1059,42 @@ SddpClient::DescribeOssObjectDetailOutcomeCallable SddpClient::describeOssObject
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeOssObjectDetailV2Outcome SddpClient::describeOssObjectDetailV2(const DescribeOssObjectDetailV2Request &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeOssObjectDetailV2Outcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeOssObjectDetailV2Outcome(DescribeOssObjectDetailV2Result(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeOssObjectDetailV2Outcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void SddpClient::describeOssObjectDetailV2Async(const DescribeOssObjectDetailV2Request& request, const DescribeOssObjectDetailV2AsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeOssObjectDetailV2(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeOssObjectDetailV2OutcomeCallable SddpClient::describeOssObjectDetailV2Callable(const DescribeOssObjectDetailV2Request &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeOssObjectDetailV2Outcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeOssObjectDetailV2(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
SddpClient::DescribeOssObjectsOutcome SddpClient::describeOssObjects(const DescribeOssObjectsRequest &request) const
|
SddpClient::DescribeOssObjectsOutcome SddpClient::describeOssObjects(const DescribeOssObjectsRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -915,6 +1167,42 @@ SddpClient::DescribePackagesOutcomeCallable SddpClient::describePackagesCallable
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeParentInstanceOutcome SddpClient::describeParentInstance(const DescribeParentInstanceRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeParentInstanceOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeParentInstanceOutcome(DescribeParentInstanceResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeParentInstanceOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void SddpClient::describeParentInstanceAsync(const DescribeParentInstanceRequest& request, const DescribeParentInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeParentInstance(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeParentInstanceOutcomeCallable SddpClient::describeParentInstanceCallable(const DescribeParentInstanceRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeParentInstanceOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeParentInstance(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
SddpClient::DescribeRiskLevelsOutcome SddpClient::describeRiskLevels(const DescribeRiskLevelsRequest &request) const
|
SddpClient::DescribeRiskLevelsOutcome SddpClient::describeRiskLevels(const DescribeRiskLevelsRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1023,6 +1311,42 @@ SddpClient::DescribeTablesOutcomeCallable SddpClient::describeTablesCallable(con
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeTemplateAllRulesOutcome SddpClient::describeTemplateAllRules(const DescribeTemplateAllRulesRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeTemplateAllRulesOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeTemplateAllRulesOutcome(DescribeTemplateAllRulesResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeTemplateAllRulesOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void SddpClient::describeTemplateAllRulesAsync(const DescribeTemplateAllRulesRequest& request, const DescribeTemplateAllRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeTemplateAllRules(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
SddpClient::DescribeTemplateAllRulesOutcomeCallable SddpClient::describeTemplateAllRulesCallable(const DescribeTemplateAllRulesRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeTemplateAllRulesOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeTemplateAllRules(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
SddpClient::DescribeUserStatusOutcome SddpClient::describeUserStatus(const DescribeUserStatusRequest &request) const
|
SddpClient::DescribeUserStatusOutcome SddpClient::describeUserStatus(const DescribeUserStatusRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
@@ -34,6 +34,15 @@ void CreateDataLimitRequest::setOcrStatus(int ocrStatus) {
|
|||||||
setParameter(std::string("OcrStatus"), std::to_string(ocrStatus));
|
setParameter(std::string("OcrStatus"), std::to_string(ocrStatus));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int CreateDataLimitRequest::getSamplingSize() const {
|
||||||
|
return samplingSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDataLimitRequest::setSamplingSize(int samplingSize) {
|
||||||
|
samplingSize_ = samplingSize;
|
||||||
|
setParameter(std::string("SamplingSize"), std::to_string(samplingSize));
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateDataLimitRequest::getParentId() const {
|
std::string CreateDataLimitRequest::getParentId() const {
|
||||||
return parentId_;
|
return parentId_;
|
||||||
}
|
}
|
||||||
@@ -133,6 +142,15 @@ void CreateDataLimitRequest::setAutoScan(int autoScan) {
|
|||||||
setParameter(std::string("AutoScan"), std::to_string(autoScan));
|
setParameter(std::string("AutoScan"), std::to_string(autoScan));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int CreateDataLimitRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDataLimitRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
int CreateDataLimitRequest::getLogStoreDay() const {
|
int CreateDataLimitRequest::getLogStoreDay() const {
|
||||||
return logStoreDay_;
|
return logStoreDay_;
|
||||||
}
|
}
|
||||||
@@ -142,6 +160,15 @@ void CreateDataLimitRequest::setLogStoreDay(int logStoreDay) {
|
|||||||
setParameter(std::string("LogStoreDay"), std::to_string(logStoreDay));
|
setParameter(std::string("LogStoreDay"), std::to_string(logStoreDay));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CreateDataLimitRequest::getCertificatePermission() const {
|
||||||
|
return certificatePermission_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDataLimitRequest::setCertificatePermission(const std::string &certificatePermission) {
|
||||||
|
certificatePermission_ = certificatePermission;
|
||||||
|
setParameter(std::string("CertificatePermission"), certificatePermission);
|
||||||
|
}
|
||||||
|
|
||||||
int CreateDataLimitRequest::getResourceType() const {
|
int CreateDataLimitRequest::getResourceType() const {
|
||||||
return resourceType_;
|
return resourceType_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,6 +88,15 @@ void CreateRuleRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int CreateRuleRequest::getMatchType() const {
|
||||||
|
return matchType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateRuleRequest::setMatchType(int matchType) {
|
||||||
|
matchType_ = matchType;
|
||||||
|
setParameter(std::string("MatchType"), std::to_string(matchType));
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateRuleRequest::getLang() const {
|
std::string CreateRuleRequest::getLang() const {
|
||||||
return lang_;
|
return lang_;
|
||||||
}
|
}
|
||||||
@@ -97,6 +106,15 @@ void CreateRuleRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int CreateRuleRequest::getSupportForm() const {
|
||||||
|
return supportForm_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateRuleRequest::setSupportForm(int supportForm) {
|
||||||
|
supportForm_ = supportForm;
|
||||||
|
setParameter(std::string("SupportForm"), std::to_string(supportForm));
|
||||||
|
}
|
||||||
|
|
||||||
int CreateRuleRequest::getFeatureType() const {
|
int CreateRuleRequest::getFeatureType() const {
|
||||||
return featureType_;
|
return featureType_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -106,6 +106,15 @@ void CreateScanTaskRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int CreateScanTaskRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateScanTaskRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateScanTaskRequest::getOssScanPath() const {
|
std::string CreateScanTaskRequest::getOssScanPath() const {
|
||||||
return ossScanPath_;
|
return ossScanPath_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,15 @@ CreateSlrRoleRequest::CreateSlrRoleRequest()
|
|||||||
|
|
||||||
CreateSlrRoleRequest::~CreateSlrRoleRequest() {}
|
CreateSlrRoleRequest::~CreateSlrRoleRequest() {}
|
||||||
|
|
||||||
|
int CreateSlrRoleRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateSlrRoleRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateSlrRoleRequest::getSourceIp() const {
|
std::string CreateSlrRoleRequest::getSourceIp() const {
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
}
|
}
|
||||||
|
|||||||
81
sddp/src/model/DescribeCategoryTemplateListRequest.cc
Normal file
81
sddp/src/model/DescribeCategoryTemplateListRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/model/DescribeCategoryTemplateListRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Sddp::Model::DescribeCategoryTemplateListRequest;
|
||||||
|
|
||||||
|
DescribeCategoryTemplateListRequest::DescribeCategoryTemplateListRequest()
|
||||||
|
: RpcServiceRequest("sddp", "2019-01-03", "DescribeCategoryTemplateList") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeCategoryTemplateListRequest::~DescribeCategoryTemplateListRequest() {}
|
||||||
|
|
||||||
|
int DescribeCategoryTemplateListRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeCategoryTemplateListRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeCategoryTemplateListRequest::getCurrentPage() const {
|
||||||
|
return currentPage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeCategoryTemplateListRequest::setCurrentPage(int currentPage) {
|
||||||
|
currentPage_ = currentPage;
|
||||||
|
setParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeCategoryTemplateListRequest::getSourceIp() const {
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeCategoryTemplateListRequest::setSourceIp(const std::string &sourceIp) {
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeCategoryTemplateListRequest::getPageSize() const {
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeCategoryTemplateListRequest::setPageSize(int pageSize) {
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeCategoryTemplateListRequest::getUsageScenario() const {
|
||||||
|
return usageScenario_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeCategoryTemplateListRequest::setUsageScenario(int usageScenario) {
|
||||||
|
usageScenario_ = usageScenario;
|
||||||
|
setParameter(std::string("UsageScenario"), std::to_string(usageScenario));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeCategoryTemplateListRequest::getLang() const {
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeCategoryTemplateListRequest::setLang(const std::string &lang) {
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter(std::string("Lang"), lang);
|
||||||
|
}
|
||||||
|
|
||||||
98
sddp/src/model/DescribeCategoryTemplateListResult.cc
Normal file
98
sddp/src/model/DescribeCategoryTemplateListResult.cc
Normal file
@@ -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 <alibabacloud/sddp/model/DescribeCategoryTemplateListResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Sddp;
|
||||||
|
using namespace AlibabaCloud::Sddp::Model;
|
||||||
|
|
||||||
|
DescribeCategoryTemplateListResult::DescribeCategoryTemplateListResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeCategoryTemplateListResult::DescribeCategoryTemplateListResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeCategoryTemplateListResult::~DescribeCategoryTemplateListResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeCategoryTemplateListResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allItemsNode = value["Items"]["Template"];
|
||||||
|
for (auto valueItemsTemplate : allItemsNode)
|
||||||
|
{
|
||||||
|
_Template itemsObject;
|
||||||
|
if(!valueItemsTemplate["CurrentRiskLevel"].isNull())
|
||||||
|
itemsObject.currentRiskLevel = std::stoi(valueItemsTemplate["CurrentRiskLevel"].asString());
|
||||||
|
if(!valueItemsTemplate["Status"].isNull())
|
||||||
|
itemsObject.status = std::stoi(valueItemsTemplate["Status"].asString());
|
||||||
|
if(!valueItemsTemplate["Type"].isNull())
|
||||||
|
itemsObject.type = std::stoi(valueItemsTemplate["Type"].asString());
|
||||||
|
if(!valueItemsTemplate["SupportEdit"].isNull())
|
||||||
|
itemsObject.supportEdit = std::stoi(valueItemsTemplate["SupportEdit"].asString());
|
||||||
|
if(!valueItemsTemplate["MaxCategoryLevel"].isNull())
|
||||||
|
itemsObject.maxCategoryLevel = std::stoi(valueItemsTemplate["MaxCategoryLevel"].asString());
|
||||||
|
if(!valueItemsTemplate["Name"].isNull())
|
||||||
|
itemsObject.name = valueItemsTemplate["Name"].asString();
|
||||||
|
if(!valueItemsTemplate["MaxRiskLevel"].isNull())
|
||||||
|
itemsObject.maxRiskLevel = std::stoi(valueItemsTemplate["MaxRiskLevel"].asString());
|
||||||
|
if(!valueItemsTemplate["Id"].isNull())
|
||||||
|
itemsObject.id = std::stol(valueItemsTemplate["Id"].asString());
|
||||||
|
if(!valueItemsTemplate["Description"].isNull())
|
||||||
|
itemsObject.description = valueItemsTemplate["Description"].asString();
|
||||||
|
if(!valueItemsTemplate["GmtCreate"].isNull())
|
||||||
|
itemsObject.gmtCreate = std::stol(valueItemsTemplate["GmtCreate"].asString());
|
||||||
|
if(!valueItemsTemplate["GmtModified"].isNull())
|
||||||
|
itemsObject.gmtModified = std::stol(valueItemsTemplate["GmtModified"].asString());
|
||||||
|
items_.push_back(itemsObject);
|
||||||
|
}
|
||||||
|
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 DescribeCategoryTemplateListResult::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeCategoryTemplateListResult::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeCategoryTemplateListResult::getCurrentPage()const
|
||||||
|
{
|
||||||
|
return currentPage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeCategoryTemplateListResult::_Template> DescribeCategoryTemplateListResult::getItems()const
|
||||||
|
{
|
||||||
|
return items_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -61,6 +61,15 @@ void DescribeCategoryTemplateRuleListRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int DescribeCategoryTemplateRuleListRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeCategoryTemplateRuleListRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeCategoryTemplateRuleListRequest::getParentCategoryIdList() const {
|
std::string DescribeCategoryTemplateRuleListRequest::getParentCategoryIdList() const {
|
||||||
return parentCategoryIdList_;
|
return parentCategoryIdList_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,6 +67,8 @@ void DescribeCategoryTemplateRuleListResult::parse(const std::string &payload)
|
|||||||
itemsObject.id = std::stol(valueItemsDataLimit["Id"].asString());
|
itemsObject.id = std::stol(valueItemsDataLimit["Id"].asString());
|
||||||
if(!valueItemsDataLimit["CategoryLevel"].isNull())
|
if(!valueItemsDataLimit["CategoryLevel"].isNull())
|
||||||
itemsObject.categoryLevel = std::stoi(valueItemsDataLimit["CategoryLevel"].asString());
|
itemsObject.categoryLevel = std::stoi(valueItemsDataLimit["CategoryLevel"].asString());
|
||||||
|
if(!valueItemsDataLimit["ParentModelId"].isNull())
|
||||||
|
itemsObject.parentModelId = std::stol(valueItemsDataLimit["ParentModelId"].asString());
|
||||||
items_.push_back(itemsObject);
|
items_.push_back(itemsObject);
|
||||||
}
|
}
|
||||||
if(!value["CurrentPage"].isNull())
|
if(!value["CurrentPage"].isNull())
|
||||||
|
|||||||
@@ -83,6 +83,16 @@ void DescribeColumnsResult::parse(const std::string &payload)
|
|||||||
itemsObject.revisionStatus = std::stol(valueItemsColumn["RevisionStatus"].asString());
|
itemsObject.revisionStatus = std::stol(valueItemsColumn["RevisionStatus"].asString());
|
||||||
if(!valueItemsColumn["RevisionId"].isNull())
|
if(!valueItemsColumn["RevisionId"].isNull())
|
||||||
itemsObject.revisionId = std::stol(valueItemsColumn["RevisionId"].asString());
|
itemsObject.revisionId = std::stol(valueItemsColumn["RevisionId"].asString());
|
||||||
|
auto allModelTagsNode = valueItemsColumn["ModelTags"]["modelTagsItem"];
|
||||||
|
for (auto valueItemsColumnModelTagsmodelTagsItem : allModelTagsNode)
|
||||||
|
{
|
||||||
|
Column::ModelTagsItem modelTagsObject;
|
||||||
|
if(!valueItemsColumnModelTagsmodelTagsItem["Id"].isNull())
|
||||||
|
modelTagsObject.id = std::stol(valueItemsColumnModelTagsmodelTagsItem["Id"].asString());
|
||||||
|
if(!valueItemsColumnModelTagsmodelTagsItem["Name"].isNull())
|
||||||
|
modelTagsObject.name = valueItemsColumnModelTagsmodelTagsItem["Name"].asString();
|
||||||
|
itemsObject.modelTags.push_back(modelTagsObject);
|
||||||
|
}
|
||||||
auto allSampleList = value["SampleList"]["Sample"];
|
auto allSampleList = value["SampleList"]["Sample"];
|
||||||
for (auto value : allSampleList)
|
for (auto value : allSampleList)
|
||||||
itemsObject.sampleList.push_back(value.asString());
|
itemsObject.sampleList.push_back(value.asString());
|
||||||
|
|||||||
189
sddp/src/model/DescribeColumnsV2Request.cc
Normal file
189
sddp/src/model/DescribeColumnsV2Request.cc
Normal file
@@ -0,0 +1,189 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/model/DescribeColumnsV2Request.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Sddp::Model::DescribeColumnsV2Request;
|
||||||
|
|
||||||
|
DescribeColumnsV2Request::DescribeColumnsV2Request()
|
||||||
|
: RpcServiceRequest("sddp", "2019-01-03", "DescribeColumnsV2") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeColumnsV2Request::~DescribeColumnsV2Request() {}
|
||||||
|
|
||||||
|
std::string DescribeColumnsV2Request::getProductCode() const {
|
||||||
|
return productCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setProductCode(const std::string &productCode) {
|
||||||
|
productCode_ = productCode;
|
||||||
|
setParameter(std::string("ProductCode"), productCode);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeColumnsV2Request::getRiskLevels() const {
|
||||||
|
return riskLevels_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setRiskLevels(const std::string &riskLevels) {
|
||||||
|
riskLevels_ = riskLevels;
|
||||||
|
setParameter(std::string("RiskLevels"), riskLevels);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeColumnsV2Request::getRuleName() const {
|
||||||
|
return ruleName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setRuleName(const std::string &ruleName) {
|
||||||
|
ruleName_ = ruleName;
|
||||||
|
setParameter(std::string("RuleName"), ruleName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeColumnsV2Request::getQueryName() const {
|
||||||
|
return queryName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setQueryName(const std::string &queryName) {
|
||||||
|
queryName_ = queryName;
|
||||||
|
setParameter(std::string("QueryName"), queryName);
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeColumnsV2Request::getRiskLevelId() const {
|
||||||
|
return riskLevelId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setRiskLevelId(long riskLevelId) {
|
||||||
|
riskLevelId_ = riskLevelId;
|
||||||
|
setParameter(std::string("RiskLevelId"), std::to_string(riskLevelId));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeColumnsV2Request::getSensLevelName() const {
|
||||||
|
return sensLevelName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setSensLevelName(const std::string &sensLevelName) {
|
||||||
|
sensLevelName_ = sensLevelName;
|
||||||
|
setParameter(std::string("SensLevelName"), sensLevelName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeColumnsV2Request::getSourceIp() const {
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setSourceIp(const std::string &sourceIp) {
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeColumnsV2Request::getPageSize() const {
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setPageSize(int pageSize) {
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeColumnsV2Request::getTableId() const {
|
||||||
|
return tableId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setTableId(const std::string &tableId) {
|
||||||
|
tableId_ = tableId;
|
||||||
|
setParameter(std::string("TableId"), tableId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeColumnsV2Request::getLang() const {
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setLang(const std::string &lang) {
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter(std::string("Lang"), lang);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeColumnsV2Request::getTableName() const {
|
||||||
|
return tableName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setTableName(const std::string &tableName) {
|
||||||
|
tableName_ = tableName;
|
||||||
|
setParameter(std::string("TableName"), tableName);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeColumnsV2Request::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeColumnsV2Request::getOrderBy() const {
|
||||||
|
return orderBy_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setOrderBy(const std::string &orderBy) {
|
||||||
|
orderBy_ = orderBy;
|
||||||
|
setParameter(std::string("OrderBy"), orderBy);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeColumnsV2Request::getCurrentPage() const {
|
||||||
|
return currentPage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setCurrentPage(int currentPage) {
|
||||||
|
currentPage_ = currentPage;
|
||||||
|
setParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeColumnsV2Request::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setInstanceId(long instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), std::to_string(instanceId));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeColumnsV2Request::getInstanceName() const {
|
||||||
|
return instanceName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setInstanceName(const std::string &instanceName) {
|
||||||
|
instanceName_ = instanceName;
|
||||||
|
setParameter(std::string("InstanceName"), instanceName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeColumnsV2Request::getName() const {
|
||||||
|
return name_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setName(const std::string &name) {
|
||||||
|
name_ = name;
|
||||||
|
setParameter(std::string("Name"), name);
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeColumnsV2Request::getRuleId() const {
|
||||||
|
return ruleId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Request::setRuleId(long ruleId) {
|
||||||
|
ruleId_ = ruleId;
|
||||||
|
setParameter(std::string("RuleId"), std::to_string(ruleId));
|
||||||
|
}
|
||||||
|
|
||||||
129
sddp/src/model/DescribeColumnsV2Result.cc
Normal file
129
sddp/src/model/DescribeColumnsV2Result.cc
Normal file
@@ -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 <alibabacloud/sddp/model/DescribeColumnsV2Result.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Sddp;
|
||||||
|
using namespace AlibabaCloud::Sddp::Model;
|
||||||
|
|
||||||
|
DescribeColumnsV2Result::DescribeColumnsV2Result() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeColumnsV2Result::DescribeColumnsV2Result(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeColumnsV2Result::~DescribeColumnsV2Result()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeColumnsV2Result::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allItemsNode = value["Items"]["Column"];
|
||||||
|
for (auto valueItemsColumn : allItemsNode)
|
||||||
|
{
|
||||||
|
Column itemsObject;
|
||||||
|
if(!valueItemsColumn["CreationTime"].isNull())
|
||||||
|
itemsObject.creationTime = std::stol(valueItemsColumn["CreationTime"].asString());
|
||||||
|
if(!valueItemsColumn["TableName"].isNull())
|
||||||
|
itemsObject.tableName = valueItemsColumn["TableName"].asString();
|
||||||
|
if(!valueItemsColumn["DataType"].isNull())
|
||||||
|
itemsObject.dataType = valueItemsColumn["DataType"].asString();
|
||||||
|
if(!valueItemsColumn["OdpsRiskLevelValue"].isNull())
|
||||||
|
itemsObject.odpsRiskLevelValue = std::stoi(valueItemsColumn["OdpsRiskLevelValue"].asString());
|
||||||
|
if(!valueItemsColumn["DepartName"].isNull())
|
||||||
|
itemsObject.departName = valueItemsColumn["DepartName"].asString();
|
||||||
|
if(!valueItemsColumn["InstanceId"].isNull())
|
||||||
|
itemsObject.instanceId = std::stol(valueItemsColumn["InstanceId"].asString());
|
||||||
|
if(!valueItemsColumn["RiskLevelId"].isNull())
|
||||||
|
itemsObject.riskLevelId = std::stol(valueItemsColumn["RiskLevelId"].asString());
|
||||||
|
if(!valueItemsColumn["RuleName"].isNull())
|
||||||
|
itemsObject.ruleName = valueItemsColumn["RuleName"].asString();
|
||||||
|
if(!valueItemsColumn["RuleId"].isNull())
|
||||||
|
itemsObject.ruleId = std::stol(valueItemsColumn["RuleId"].asString());
|
||||||
|
if(!valueItemsColumn["Sensitive"].isNull())
|
||||||
|
itemsObject.sensitive = valueItemsColumn["Sensitive"].asString() == "true";
|
||||||
|
if(!valueItemsColumn["SensLevelName"].isNull())
|
||||||
|
itemsObject.sensLevelName = valueItemsColumn["SensLevelName"].asString();
|
||||||
|
if(!valueItemsColumn["InstanceName"].isNull())
|
||||||
|
itemsObject.instanceName = valueItemsColumn["InstanceName"].asString();
|
||||||
|
if(!valueItemsColumn["RiskLevelName"].isNull())
|
||||||
|
itemsObject.riskLevelName = valueItemsColumn["RiskLevelName"].asString();
|
||||||
|
if(!valueItemsColumn["OdpsRiskLevelName"].isNull())
|
||||||
|
itemsObject.odpsRiskLevelName = valueItemsColumn["OdpsRiskLevelName"].asString();
|
||||||
|
if(!valueItemsColumn["Name"].isNull())
|
||||||
|
itemsObject.name = valueItemsColumn["Name"].asString();
|
||||||
|
if(!valueItemsColumn["TableId"].isNull())
|
||||||
|
itemsObject.tableId = std::stol(valueItemsColumn["TableId"].asString());
|
||||||
|
if(!valueItemsColumn["Id"].isNull())
|
||||||
|
itemsObject.id = valueItemsColumn["Id"].asString();
|
||||||
|
if(!valueItemsColumn["ProductCode"].isNull())
|
||||||
|
itemsObject.productCode = valueItemsColumn["ProductCode"].asString();
|
||||||
|
if(!valueItemsColumn["RevisionStatus"].isNull())
|
||||||
|
itemsObject.revisionStatus = std::stol(valueItemsColumn["RevisionStatus"].asString());
|
||||||
|
if(!valueItemsColumn["RevisionId"].isNull())
|
||||||
|
itemsObject.revisionId = std::stol(valueItemsColumn["RevisionId"].asString());
|
||||||
|
auto allModelTagsNode = valueItemsColumn["ModelTags"]["modelTagsItem"];
|
||||||
|
for (auto valueItemsColumnModelTagsmodelTagsItem : allModelTagsNode)
|
||||||
|
{
|
||||||
|
Column::ModelTagsItem modelTagsObject;
|
||||||
|
if(!valueItemsColumnModelTagsmodelTagsItem["Id"].isNull())
|
||||||
|
modelTagsObject.id = std::stol(valueItemsColumnModelTagsmodelTagsItem["Id"].asString());
|
||||||
|
if(!valueItemsColumnModelTagsmodelTagsItem["Name"].isNull())
|
||||||
|
modelTagsObject.name = valueItemsColumnModelTagsmodelTagsItem["Name"].asString();
|
||||||
|
itemsObject.modelTags.push_back(modelTagsObject);
|
||||||
|
}
|
||||||
|
auto allSampleList = value["SampleList"]["Sample"];
|
||||||
|
for (auto value : allSampleList)
|
||||||
|
itemsObject.sampleList.push_back(value.asString());
|
||||||
|
items_.push_back(itemsObject);
|
||||||
|
}
|
||||||
|
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 DescribeColumnsV2Result::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeColumnsV2Result::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeColumnsV2Result::getCurrentPage()const
|
||||||
|
{
|
||||||
|
return currentPage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeColumnsV2Result::Column> DescribeColumnsV2Result::getItems()const
|
||||||
|
{
|
||||||
|
return items_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -25,6 +25,15 @@ DescribeDataLimitDetailRequest::DescribeDataLimitDetailRequest()
|
|||||||
|
|
||||||
DescribeDataLimitDetailRequest::~DescribeDataLimitDetailRequest() {}
|
DescribeDataLimitDetailRequest::~DescribeDataLimitDetailRequest() {}
|
||||||
|
|
||||||
|
int DescribeDataLimitDetailRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataLimitDetailRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
int DescribeDataLimitDetailRequest::getNetworkType() const {
|
int DescribeDataLimitDetailRequest::getNetworkType() const {
|
||||||
return networkType_;
|
return networkType_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,24 @@ DescribeDataLimitSetRequest::DescribeDataLimitSetRequest()
|
|||||||
|
|
||||||
DescribeDataLimitSetRequest::~DescribeDataLimitSetRequest() {}
|
DescribeDataLimitSetRequest::~DescribeDataLimitSetRequest() {}
|
||||||
|
|
||||||
|
int DescribeDataLimitSetRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataLimitSetRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDataLimitSetRequest::getResourceType() const {
|
||||||
|
return resourceType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataLimitSetRequest::setResourceType(int resourceType) {
|
||||||
|
resourceType_ = resourceType;
|
||||||
|
setParameter(std::string("ResourceType"), std::to_string(resourceType));
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeDataLimitSetRequest::getParentId() const {
|
std::string DescribeDataLimitSetRequest::getParentId() const {
|
||||||
return parentId_;
|
return parentId_;
|
||||||
}
|
}
|
||||||
@@ -52,12 +70,3 @@ void DescribeDataLimitSetRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
int DescribeDataLimitSetRequest::getResourceType() const {
|
|
||||||
return resourceType_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeDataLimitSetRequest::setResourceType(int resourceType) {
|
|
||||||
resourceType_ = resourceType;
|
|
||||||
setParameter(std::string("ResourceType"), std::to_string(resourceType));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
@@ -124,6 +124,15 @@ void DescribeDataLimitsRequest::setAuditStatus(int auditStatus) {
|
|||||||
setParameter(std::string("AuditStatus"), std::to_string(auditStatus));
|
setParameter(std::string("AuditStatus"), std::to_string(auditStatus));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int DescribeDataLimitsRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataLimitsRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
long DescribeDataLimitsRequest::getEndTime() const {
|
long DescribeDataLimitsRequest::getEndTime() const {
|
||||||
return endTime_;
|
return endTime_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -123,6 +123,14 @@ void DescribeDataLimitsResult::parse(const std::string &payload)
|
|||||||
itemsObject.id = std::stol(valueItemsDataLimit["Id"].asString());
|
itemsObject.id = std::stol(valueItemsDataLimit["Id"].asString());
|
||||||
if(!valueItemsDataLimit["Enable"].isNull())
|
if(!valueItemsDataLimit["Enable"].isNull())
|
||||||
itemsObject.enable = std::stoi(valueItemsDataLimit["Enable"].asString());
|
itemsObject.enable = std::stoi(valueItemsDataLimit["Enable"].asString());
|
||||||
|
if(!valueItemsDataLimit["VpcId"].isNull())
|
||||||
|
itemsObject.vpcId = valueItemsDataLimit["VpcId"].asString();
|
||||||
|
auto allSecurityGroupIdList = value["SecurityGroupIdList"]["seucurityGroup"];
|
||||||
|
for (auto value : allSecurityGroupIdList)
|
||||||
|
itemsObject.securityGroupIdList.push_back(value.asString());
|
||||||
|
auto allVSwitchIdList = value["VSwitchIdList"]["vSwitch"];
|
||||||
|
for (auto value : allVSwitchIdList)
|
||||||
|
itemsObject.vSwitchIdList.push_back(value.asString());
|
||||||
items_.push_back(itemsObject);
|
items_.push_back(itemsObject);
|
||||||
}
|
}
|
||||||
if(!value["CurrentPage"].isNull())
|
if(!value["CurrentPage"].isNull())
|
||||||
|
|||||||
99
sddp/src/model/DescribeDataObjectColumnDetailRequest.cc
Normal file
99
sddp/src/model/DescribeDataObjectColumnDetailRequest.cc
Normal file
@@ -0,0 +1,99 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/model/DescribeDataObjectColumnDetailRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Sddp::Model::DescribeDataObjectColumnDetailRequest;
|
||||||
|
|
||||||
|
DescribeDataObjectColumnDetailRequest::DescribeDataObjectColumnDetailRequest()
|
||||||
|
: RpcServiceRequest("sddp", "2019-01-03", "DescribeDataObjectColumnDetail") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDataObjectColumnDetailRequest::~DescribeDataObjectColumnDetailRequest() {}
|
||||||
|
|
||||||
|
long DescribeDataObjectColumnDetailRequest::getProductId() const {
|
||||||
|
return productId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailRequest::setProductId(long productId) {
|
||||||
|
productId_ = productId;
|
||||||
|
setParameter(std::string("ProductId"), std::to_string(productId));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataObjectColumnDetailRequest::getSourceIp() const {
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailRequest::setSourceIp(const std::string &sourceIp) {
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDataObjectColumnDetailRequest::getPageSize() const {
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailRequest::setPageSize(int pageSize) {
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeDataObjectColumnDetailRequest::getId() const {
|
||||||
|
return id_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailRequest::setId(long id) {
|
||||||
|
id_ = id;
|
||||||
|
setParameter(std::string("Id"), std::to_string(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataObjectColumnDetailRequest::getLang() const {
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailRequest::setLang(const std::string &lang) {
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter(std::string("Lang"), lang);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDataObjectColumnDetailRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDataObjectColumnDetailRequest::getCurrentPage() const {
|
||||||
|
return currentPage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailRequest::setCurrentPage(int currentPage) {
|
||||||
|
currentPage_ = currentPage;
|
||||||
|
setParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeDataObjectColumnDetailRequest::getTemplateId() const {
|
||||||
|
return templateId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailRequest::setTemplateId(long templateId) {
|
||||||
|
templateId_ = templateId;
|
||||||
|
setParameter(std::string("TemplateId"), std::to_string(templateId));
|
||||||
|
}
|
||||||
|
|
||||||
107
sddp/src/model/DescribeDataObjectColumnDetailResult.cc
Normal file
107
sddp/src/model/DescribeDataObjectColumnDetailResult.cc
Normal file
@@ -0,0 +1,107 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/model/DescribeDataObjectColumnDetailResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Sddp;
|
||||||
|
using namespace AlibabaCloud::Sddp::Model;
|
||||||
|
|
||||||
|
DescribeDataObjectColumnDetailResult::DescribeDataObjectColumnDetailResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDataObjectColumnDetailResult::DescribeDataObjectColumnDetailResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDataObjectColumnDetailResult::~DescribeDataObjectColumnDetailResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allItemsNode = value["Items"]["Rule"];
|
||||||
|
for (auto valueItemsRule : allItemsNode)
|
||||||
|
{
|
||||||
|
Rule itemsObject;
|
||||||
|
if(!valueItemsRule["ColumnName"].isNull())
|
||||||
|
itemsObject.columnName = valueItemsRule["ColumnName"].asString();
|
||||||
|
if(!valueItemsRule["DataType"].isNull())
|
||||||
|
itemsObject.dataType = valueItemsRule["DataType"].asString();
|
||||||
|
if(!valueItemsRule["ColumnComment"].isNull())
|
||||||
|
itemsObject.columnComment = valueItemsRule["ColumnComment"].asString();
|
||||||
|
if(!valueItemsRule["PrimaryKey"].isNull())
|
||||||
|
itemsObject.primaryKey = valueItemsRule["PrimaryKey"].asString() == "true";
|
||||||
|
if(!valueItemsRule["Id"].isNull())
|
||||||
|
itemsObject.id = valueItemsRule["Id"].asString();
|
||||||
|
if(!valueItemsRule["RiskLevelId"].isNull())
|
||||||
|
itemsObject.riskLevelId = std::stol(valueItemsRule["RiskLevelId"].asString());
|
||||||
|
if(!valueItemsRule["RiskLevelName"].isNull())
|
||||||
|
itemsObject.riskLevelName = valueItemsRule["RiskLevelName"].asString();
|
||||||
|
if(!valueItemsRule["RuleId"].isNull())
|
||||||
|
itemsObject.ruleId = std::stol(valueItemsRule["RuleId"].asString());
|
||||||
|
if(!valueItemsRule["RuleName"].isNull())
|
||||||
|
itemsObject.ruleName = valueItemsRule["RuleName"].asString();
|
||||||
|
auto allModelTagsNode = valueItemsRule["ModelTags"]["modelTagsItem"];
|
||||||
|
for (auto valueItemsRuleModelTagsmodelTagsItem : allModelTagsNode)
|
||||||
|
{
|
||||||
|
Rule::ModelTagsItem modelTagsObject;
|
||||||
|
if(!valueItemsRuleModelTagsmodelTagsItem["Id"].isNull())
|
||||||
|
modelTagsObject.id = std::stol(valueItemsRuleModelTagsmodelTagsItem["Id"].asString());
|
||||||
|
if(!valueItemsRuleModelTagsmodelTagsItem["Name"].isNull())
|
||||||
|
modelTagsObject.name = valueItemsRuleModelTagsmodelTagsItem["Name"].asString();
|
||||||
|
itemsObject.modelTags.push_back(modelTagsObject);
|
||||||
|
}
|
||||||
|
auto allCategories = value["Categories"]["Category"];
|
||||||
|
for (auto value : allCategories)
|
||||||
|
itemsObject.categories.push_back(value.asString());
|
||||||
|
items_.push_back(itemsObject);
|
||||||
|
}
|
||||||
|
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 DescribeDataObjectColumnDetailResult::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDataObjectColumnDetailResult::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDataObjectColumnDetailResult::getCurrentPage()const
|
||||||
|
{
|
||||||
|
return currentPage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDataObjectColumnDetailResult::Rule> DescribeDataObjectColumnDetailResult::getItems()const
|
||||||
|
{
|
||||||
|
return items_;
|
||||||
|
}
|
||||||
|
|
||||||
99
sddp/src/model/DescribeDataObjectColumnDetailV2Request.cc
Normal file
99
sddp/src/model/DescribeDataObjectColumnDetailV2Request.cc
Normal file
@@ -0,0 +1,99 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/model/DescribeDataObjectColumnDetailV2Request.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Sddp::Model::DescribeDataObjectColumnDetailV2Request;
|
||||||
|
|
||||||
|
DescribeDataObjectColumnDetailV2Request::DescribeDataObjectColumnDetailV2Request()
|
||||||
|
: RpcServiceRequest("sddp", "2019-01-03", "DescribeDataObjectColumnDetailV2") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDataObjectColumnDetailV2Request::~DescribeDataObjectColumnDetailV2Request() {}
|
||||||
|
|
||||||
|
long DescribeDataObjectColumnDetailV2Request::getProductId() const {
|
||||||
|
return productId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailV2Request::setProductId(long productId) {
|
||||||
|
productId_ = productId;
|
||||||
|
setParameter(std::string("ProductId"), std::to_string(productId));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataObjectColumnDetailV2Request::getSourceIp() const {
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailV2Request::setSourceIp(const std::string &sourceIp) {
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDataObjectColumnDetailV2Request::getPageSize() const {
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailV2Request::setPageSize(int pageSize) {
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataObjectColumnDetailV2Request::getId() const {
|
||||||
|
return id_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailV2Request::setId(const std::string &id) {
|
||||||
|
id_ = id;
|
||||||
|
setParameter(std::string("Id"), id);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataObjectColumnDetailV2Request::getLang() const {
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailV2Request::setLang(const std::string &lang) {
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter(std::string("Lang"), lang);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDataObjectColumnDetailV2Request::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailV2Request::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDataObjectColumnDetailV2Request::getCurrentPage() const {
|
||||||
|
return currentPage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailV2Request::setCurrentPage(int currentPage) {
|
||||||
|
currentPage_ = currentPage;
|
||||||
|
setParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeDataObjectColumnDetailV2Request::getTemplateId() const {
|
||||||
|
return templateId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailV2Request::setTemplateId(long templateId) {
|
||||||
|
templateId_ = templateId;
|
||||||
|
setParameter(std::string("TemplateId"), std::to_string(templateId));
|
||||||
|
}
|
||||||
|
|
||||||
107
sddp/src/model/DescribeDataObjectColumnDetailV2Result.cc
Normal file
107
sddp/src/model/DescribeDataObjectColumnDetailV2Result.cc
Normal file
@@ -0,0 +1,107 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/model/DescribeDataObjectColumnDetailV2Result.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Sddp;
|
||||||
|
using namespace AlibabaCloud::Sddp::Model;
|
||||||
|
|
||||||
|
DescribeDataObjectColumnDetailV2Result::DescribeDataObjectColumnDetailV2Result() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDataObjectColumnDetailV2Result::DescribeDataObjectColumnDetailV2Result(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDataObjectColumnDetailV2Result::~DescribeDataObjectColumnDetailV2Result()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDataObjectColumnDetailV2Result::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allItemsNode = value["Items"]["Rule"];
|
||||||
|
for (auto valueItemsRule : allItemsNode)
|
||||||
|
{
|
||||||
|
Rule itemsObject;
|
||||||
|
if(!valueItemsRule["ColumnName"].isNull())
|
||||||
|
itemsObject.columnName = valueItemsRule["ColumnName"].asString();
|
||||||
|
if(!valueItemsRule["DataType"].isNull())
|
||||||
|
itemsObject.dataType = valueItemsRule["DataType"].asString();
|
||||||
|
if(!valueItemsRule["ColumnComment"].isNull())
|
||||||
|
itemsObject.columnComment = valueItemsRule["ColumnComment"].asString();
|
||||||
|
if(!valueItemsRule["PrimaryKey"].isNull())
|
||||||
|
itemsObject.primaryKey = valueItemsRule["PrimaryKey"].asString() == "true";
|
||||||
|
if(!valueItemsRule["Id"].isNull())
|
||||||
|
itemsObject.id = valueItemsRule["Id"].asString();
|
||||||
|
if(!valueItemsRule["RiskLevelId"].isNull())
|
||||||
|
itemsObject.riskLevelId = std::stol(valueItemsRule["RiskLevelId"].asString());
|
||||||
|
if(!valueItemsRule["RiskLevelName"].isNull())
|
||||||
|
itemsObject.riskLevelName = valueItemsRule["RiskLevelName"].asString();
|
||||||
|
if(!valueItemsRule["RuleId"].isNull())
|
||||||
|
itemsObject.ruleId = std::stol(valueItemsRule["RuleId"].asString());
|
||||||
|
if(!valueItemsRule["RuleName"].isNull())
|
||||||
|
itemsObject.ruleName = valueItemsRule["RuleName"].asString();
|
||||||
|
auto allModelTagsNode = valueItemsRule["ModelTags"]["modelTagsItem"];
|
||||||
|
for (auto valueItemsRuleModelTagsmodelTagsItem : allModelTagsNode)
|
||||||
|
{
|
||||||
|
Rule::ModelTagsItem modelTagsObject;
|
||||||
|
if(!valueItemsRuleModelTagsmodelTagsItem["Id"].isNull())
|
||||||
|
modelTagsObject.id = std::stol(valueItemsRuleModelTagsmodelTagsItem["Id"].asString());
|
||||||
|
if(!valueItemsRuleModelTagsmodelTagsItem["Name"].isNull())
|
||||||
|
modelTagsObject.name = valueItemsRuleModelTagsmodelTagsItem["Name"].asString();
|
||||||
|
itemsObject.modelTags.push_back(modelTagsObject);
|
||||||
|
}
|
||||||
|
auto allCategories = value["Categories"]["Category"];
|
||||||
|
for (auto value : allCategories)
|
||||||
|
itemsObject.categories.push_back(value.asString());
|
||||||
|
items_.push_back(itemsObject);
|
||||||
|
}
|
||||||
|
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 DescribeDataObjectColumnDetailV2Result::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDataObjectColumnDetailV2Result::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDataObjectColumnDetailV2Result::getCurrentPage()const
|
||||||
|
{
|
||||||
|
return currentPage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDataObjectColumnDetailV2Result::Rule> DescribeDataObjectColumnDetailV2Result::getItems()const
|
||||||
|
{
|
||||||
|
return items_;
|
||||||
|
}
|
||||||
|
|
||||||
180
sddp/src/model/DescribeDataObjectsRequest.cc
Normal file
180
sddp/src/model/DescribeDataObjectsRequest.cc
Normal file
@@ -0,0 +1,180 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/model/DescribeDataObjectsRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Sddp::Model::DescribeDataObjectsRequest;
|
||||||
|
|
||||||
|
DescribeDataObjectsRequest::DescribeDataObjectsRequest()
|
||||||
|
: RpcServiceRequest("sddp", "2019-01-03", "DescribeDataObjects") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDataObjectsRequest::~DescribeDataObjectsRequest() {}
|
||||||
|
|
||||||
|
long DescribeDataObjectsRequest::getFileType() const {
|
||||||
|
return fileType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setFileType(long fileType) {
|
||||||
|
fileType_ = fileType;
|
||||||
|
setParameter(std::string("FileType"), std::to_string(fileType));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataObjectsRequest::getRiskLevels() const {
|
||||||
|
return riskLevels_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setRiskLevels(const std::string &riskLevels) {
|
||||||
|
riskLevels_ = riskLevels;
|
||||||
|
setParameter(std::string("RiskLevels"), riskLevels);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataObjectsRequest::getQueryName() const {
|
||||||
|
return queryName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setQueryName(const std::string &queryName) {
|
||||||
|
queryName_ = queryName;
|
||||||
|
setParameter(std::string("QueryName"), queryName);
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeDataObjectsRequest::getDomainId() const {
|
||||||
|
return domainId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setDomainId(long domainId) {
|
||||||
|
domainId_ = domainId;
|
||||||
|
setParameter(std::string("DomainId"), std::to_string(domainId));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataObjectsRequest::getParentCategoryIds() const {
|
||||||
|
return parentCategoryIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setParentCategoryIds(const std::string &parentCategoryIds) {
|
||||||
|
parentCategoryIds_ = parentCategoryIds;
|
||||||
|
setParameter(std::string("ParentCategoryIds"), parentCategoryIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataObjectsRequest::getSourceIp() const {
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setSourceIp(const std::string &sourceIp) {
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataObjectsRequest::getProductIds() const {
|
||||||
|
return productIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setProductIds(const std::string &productIds) {
|
||||||
|
productIds_ = productIds;
|
||||||
|
setParameter(std::string("ProductIds"), productIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDataObjectsRequest::getPageSize() const {
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setPageSize(int pageSize) {
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataObjectsRequest::getLang() const {
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setLang(const std::string &lang) {
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter(std::string("Lang"), lang);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataObjectsRequest::getServiceRegionId() const {
|
||||||
|
return serviceRegionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setServiceRegionId(const std::string &serviceRegionId) {
|
||||||
|
serviceRegionId_ = serviceRegionId;
|
||||||
|
setParameter(std::string("ServiceRegionId"), serviceRegionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataObjectsRequest::getModelTagIds() const {
|
||||||
|
return modelTagIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setModelTagIds(const std::string &modelTagIds) {
|
||||||
|
modelTagIds_ = modelTagIds;
|
||||||
|
setParameter(std::string("ModelTagIds"), modelTagIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDataObjectsRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeDataObjectsRequest::getFileCategoryCode() const {
|
||||||
|
return fileCategoryCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setFileCategoryCode(long fileCategoryCode) {
|
||||||
|
fileCategoryCode_ = fileCategoryCode;
|
||||||
|
setParameter(std::string("FileCategoryCode"), std::to_string(fileCategoryCode));
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDataObjectsRequest::getCurrentPage() const {
|
||||||
|
return currentPage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setCurrentPage(int currentPage) {
|
||||||
|
currentPage_ = currentPage;
|
||||||
|
setParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeDataObjectsRequest::getTemplateId() const {
|
||||||
|
return templateId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setTemplateId(long templateId) {
|
||||||
|
templateId_ = templateId;
|
||||||
|
setParameter(std::string("TemplateId"), std::to_string(templateId));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataObjectsRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDataObjectsRequest::getModelIds() const {
|
||||||
|
return modelIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDataObjectsRequest::setModelIds(const std::string &modelIds) {
|
||||||
|
modelIds_ = modelIds;
|
||||||
|
setParameter(std::string("ModelIds"), modelIds);
|
||||||
|
}
|
||||||
|
|
||||||
131
sddp/src/model/DescribeDataObjectsResult.cc
Normal file
131
sddp/src/model/DescribeDataObjectsResult.cc
Normal file
@@ -0,0 +1,131 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/model/DescribeDataObjectsResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Sddp;
|
||||||
|
using namespace AlibabaCloud::Sddp::Model;
|
||||||
|
|
||||||
|
DescribeDataObjectsResult::DescribeDataObjectsResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDataObjectsResult::DescribeDataObjectsResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDataObjectsResult::~DescribeDataObjectsResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDataObjectsResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allItemsNode = value["Items"]["Rule"];
|
||||||
|
for (auto valueItemsRule : allItemsNode)
|
||||||
|
{
|
||||||
|
Rule itemsObject;
|
||||||
|
if(!valueItemsRule["Name"].isNull())
|
||||||
|
itemsObject.name = valueItemsRule["Name"].asString();
|
||||||
|
if(!valueItemsRule["Id"].isNull())
|
||||||
|
itemsObject.id = valueItemsRule["Id"].asString();
|
||||||
|
if(!valueItemsRule["TemplateId"].isNull())
|
||||||
|
itemsObject.templateId = std::stol(valueItemsRule["TemplateId"].asString());
|
||||||
|
if(!valueItemsRule["ProductId"].isNull())
|
||||||
|
itemsObject.productId = std::stol(valueItemsRule["ProductId"].asString());
|
||||||
|
if(!valueItemsRule["InstanceDescription"].isNull())
|
||||||
|
itemsObject.instanceDescription = valueItemsRule["InstanceDescription"].asString();
|
||||||
|
if(!valueItemsRule["ProductCode"].isNull())
|
||||||
|
itemsObject.productCode = valueItemsRule["ProductCode"].asString();
|
||||||
|
if(!valueItemsRule["InstanceId"].isNull())
|
||||||
|
itemsObject.instanceId = valueItemsRule["InstanceId"].asString();
|
||||||
|
if(!valueItemsRule["LastScanTime"].isNull())
|
||||||
|
itemsObject.lastScanTime = std::stol(valueItemsRule["LastScanTime"].asString());
|
||||||
|
if(!valueItemsRule["SensitiveCount"].isNull())
|
||||||
|
itemsObject.sensitiveCount = std::stoi(valueItemsRule["SensitiveCount"].asString());
|
||||||
|
if(!valueItemsRule["ObjectType"].isNull())
|
||||||
|
itemsObject.objectType = valueItemsRule["ObjectType"].asString();
|
||||||
|
if(!valueItemsRule["Path"].isNull())
|
||||||
|
itemsObject.path = valueItemsRule["Path"].asString();
|
||||||
|
if(!valueItemsRule["RegionName"].isNull())
|
||||||
|
itemsObject.regionName = valueItemsRule["RegionName"].asString();
|
||||||
|
if(!valueItemsRule["ObjectFileCategory"].isNull())
|
||||||
|
itemsObject.objectFileCategory = valueItemsRule["ObjectFileCategory"].asString();
|
||||||
|
auto allModelTagsNode = valueItemsRule["ModelTags"]["modelTagsItem"];
|
||||||
|
for (auto valueItemsRuleModelTagsmodelTagsItem : allModelTagsNode)
|
||||||
|
{
|
||||||
|
Rule::ModelTagsItem modelTagsObject;
|
||||||
|
if(!valueItemsRuleModelTagsmodelTagsItem["Id"].isNull())
|
||||||
|
modelTagsObject.id = std::stol(valueItemsRuleModelTagsmodelTagsItem["Id"].asString());
|
||||||
|
if(!valueItemsRuleModelTagsmodelTagsItem["Name"].isNull())
|
||||||
|
modelTagsObject.name = valueItemsRuleModelTagsmodelTagsItem["Name"].asString();
|
||||||
|
itemsObject.modelTags.push_back(modelTagsObject);
|
||||||
|
}
|
||||||
|
auto allRuleListNode = valueItemsRule["RuleList"]["ruleListItem"];
|
||||||
|
for (auto valueItemsRuleRuleListruleListItem : allRuleListNode)
|
||||||
|
{
|
||||||
|
Rule::RuleListItem ruleListObject;
|
||||||
|
if(!valueItemsRuleRuleListruleListItem["RuleId"].isNull())
|
||||||
|
ruleListObject.ruleId = std::stol(valueItemsRuleRuleListruleListItem["RuleId"].asString());
|
||||||
|
if(!valueItemsRuleRuleListruleListItem["RuleName"].isNull())
|
||||||
|
ruleListObject.ruleName = valueItemsRuleRuleListruleListItem["RuleName"].asString();
|
||||||
|
if(!valueItemsRuleRuleListruleListItem["RiskLevelId"].isNull())
|
||||||
|
ruleListObject.riskLevelId = std::stol(valueItemsRuleRuleListruleListItem["RiskLevelId"].asString());
|
||||||
|
if(!valueItemsRuleRuleListruleListItem["RiskLevelName"].isNull())
|
||||||
|
ruleListObject.riskLevelName = valueItemsRuleRuleListruleListItem["RiskLevelName"].asString();
|
||||||
|
if(!valueItemsRuleRuleListruleListItem["RuleCount"].isNull())
|
||||||
|
ruleListObject.ruleCount = std::stoi(valueItemsRuleRuleListruleListItem["RuleCount"].asString());
|
||||||
|
itemsObject.ruleList.push_back(ruleListObject);
|
||||||
|
}
|
||||||
|
auto allCategories = value["Categories"]["categories"];
|
||||||
|
for (auto value : allCategories)
|
||||||
|
itemsObject.categories.push_back(value.asString());
|
||||||
|
items_.push_back(itemsObject);
|
||||||
|
}
|
||||||
|
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 DescribeDataObjectsResult::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDataObjectsResult::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDataObjectsResult::getCurrentPage()const
|
||||||
|
{
|
||||||
|
return currentPage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDataObjectsResult::Rule> DescribeDataObjectsResult::getItems()const
|
||||||
|
{
|
||||||
|
return items_;
|
||||||
|
}
|
||||||
|
|
||||||
54
sddp/src/model/DescribeDocTypesRequest.cc
Normal file
54
sddp/src/model/DescribeDocTypesRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/model/DescribeDocTypesRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Sddp::Model::DescribeDocTypesRequest;
|
||||||
|
|
||||||
|
DescribeDocTypesRequest::DescribeDocTypesRequest()
|
||||||
|
: RpcServiceRequest("sddp", "2019-01-03", "DescribeDocTypes") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDocTypesRequest::~DescribeDocTypesRequest() {}
|
||||||
|
|
||||||
|
int DescribeDocTypesRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDocTypesRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDocTypesRequest::getSourceIp() const {
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDocTypesRequest::setSourceIp(const std::string &sourceIp) {
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDocTypesRequest::getLang() const {
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDocTypesRequest::setLang(const std::string &lang) {
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter(std::string("Lang"), lang);
|
||||||
|
}
|
||||||
|
|
||||||
61
sddp/src/model/DescribeDocTypesResult.cc
Normal file
61
sddp/src/model/DescribeDocTypesResult.cc
Normal file
@@ -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 <alibabacloud/sddp/model/DescribeDocTypesResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Sddp;
|
||||||
|
using namespace AlibabaCloud::Sddp::Model;
|
||||||
|
|
||||||
|
DescribeDocTypesResult::DescribeDocTypesResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDocTypesResult::DescribeDocTypesResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDocTypesResult::~DescribeDocTypesResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDocTypesResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allDocTypeListNode = value["DocTypeList"]["DocType"];
|
||||||
|
for (auto valueDocTypeListDocType : allDocTypeListNode)
|
||||||
|
{
|
||||||
|
DocType docTypeListObject;
|
||||||
|
if(!valueDocTypeListDocType["Code"].isNull())
|
||||||
|
docTypeListObject.code = std::stol(valueDocTypeListDocType["Code"].asString());
|
||||||
|
if(!valueDocTypeListDocType["Name"].isNull())
|
||||||
|
docTypeListObject.name = valueDocTypeListDocType["Name"].asString();
|
||||||
|
if(!valueDocTypeListDocType["Id"].isNull())
|
||||||
|
docTypeListObject.id = std::stol(valueDocTypeListDocType["Id"].asString());
|
||||||
|
docTypeList_.push_back(docTypeListObject);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDocTypesResult::DocType> DescribeDocTypesResult::getDocTypeList()const
|
||||||
|
{
|
||||||
|
return docTypeList_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -34,6 +34,15 @@ void DescribeEventTypesRequest::setResourceId(int resourceId) {
|
|||||||
setParameter(std::string("ResourceId"), std::to_string(resourceId));
|
setParameter(std::string("ResourceId"), std::to_string(resourceId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int DescribeEventTypesRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeEventTypesRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
long DescribeEventTypesRequest::getParentTypeId() const {
|
long DescribeEventTypesRequest::getParentTypeId() const {
|
||||||
return parentTypeId_;
|
return parentTypeId_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,15 @@ DescribeEventsRequest::DescribeEventsRequest()
|
|||||||
|
|
||||||
DescribeEventsRequest::~DescribeEventsRequest() {}
|
DescribeEventsRequest::~DescribeEventsRequest() {}
|
||||||
|
|
||||||
|
int DescribeEventsRequest::getWarnLevel() const {
|
||||||
|
return warnLevel_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeEventsRequest::setWarnLevel(int warnLevel) {
|
||||||
|
warnLevel_ = warnLevel;
|
||||||
|
setParameter(std::string("WarnLevel"), std::to_string(warnLevel));
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeEventsRequest::getProductCode() const {
|
std::string DescribeEventsRequest::getProductCode() const {
|
||||||
return productCode_;
|
return productCode_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -124,6 +124,15 @@ void DescribeInstanceSourcesRequest::setAuthStatus(int authStatus) {
|
|||||||
setParameter(std::string("AuthStatus"), std::to_string(authStatus));
|
setParameter(std::string("AuthStatus"), std::to_string(authStatus));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int DescribeInstanceSourcesRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeInstanceSourcesRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
int DescribeInstanceSourcesRequest::getCurrentPage() const {
|
int DescribeInstanceSourcesRequest::getCurrentPage() const {
|
||||||
return currentPage_;
|
return currentPage_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -250,6 +250,15 @@ void DescribeInstancesRequest::setName(const std::string &name) {
|
|||||||
setParameter(std::string("Name"), name);
|
setParameter(std::string("Name"), name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool DescribeInstancesRequest::getNeedModelTag() const {
|
||||||
|
return needModelTag_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeInstancesRequest::setNeedModelTag(bool needModelTag) {
|
||||||
|
needModelTag_ = needModelTag;
|
||||||
|
setParameter(std::string("NeedModelTag"), needModelTag ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
long DescribeInstancesRequest::getRuleId() const {
|
long DescribeInstancesRequest::getRuleId() const {
|
||||||
return ruleId_;
|
return ruleId_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -105,6 +105,16 @@ void DescribeInstancesResult::parse(const std::string &payload)
|
|||||||
itemsObject.id = std::stol(valueItemsInstance["Id"].asString());
|
itemsObject.id = std::stol(valueItemsInstance["Id"].asString());
|
||||||
if(!valueItemsInstance["ProductCode"].isNull())
|
if(!valueItemsInstance["ProductCode"].isNull())
|
||||||
itemsObject.productCode = valueItemsInstance["ProductCode"].asString();
|
itemsObject.productCode = valueItemsInstance["ProductCode"].asString();
|
||||||
|
auto allModelTagsNode = valueItemsInstance["ModelTags"]["modelTagsItem"];
|
||||||
|
for (auto valueItemsInstanceModelTagsmodelTagsItem : allModelTagsNode)
|
||||||
|
{
|
||||||
|
Instance::ModelTagsItem modelTagsObject;
|
||||||
|
if(!valueItemsInstanceModelTagsmodelTagsItem["Id"].isNull())
|
||||||
|
modelTagsObject.id = std::stol(valueItemsInstanceModelTagsmodelTagsItem["Id"].asString());
|
||||||
|
if(!valueItemsInstanceModelTagsmodelTagsItem["Name"].isNull())
|
||||||
|
modelTagsObject.name = valueItemsInstanceModelTagsmodelTagsItem["Name"].asString();
|
||||||
|
itemsObject.modelTags.push_back(modelTagsObject);
|
||||||
|
}
|
||||||
items_.push_back(itemsObject);
|
items_.push_back(itemsObject);
|
||||||
}
|
}
|
||||||
if(!value["CurrentPage"].isNull())
|
if(!value["CurrentPage"].isNull())
|
||||||
|
|||||||
@@ -25,6 +25,15 @@ DescribeOssObjectDetailRequest::DescribeOssObjectDetailRequest()
|
|||||||
|
|
||||||
DescribeOssObjectDetailRequest::~DescribeOssObjectDetailRequest() {}
|
DescribeOssObjectDetailRequest::~DescribeOssObjectDetailRequest() {}
|
||||||
|
|
||||||
|
int DescribeOssObjectDetailRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeOssObjectDetailRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeOssObjectDetailRequest::getSourceIp() const {
|
std::string DescribeOssObjectDetailRequest::getSourceIp() const {
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
}
|
}
|
||||||
@@ -52,12 +61,3 @@ void DescribeOssObjectDetailRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
int DescribeOssObjectDetailRequest::getFeatureType() const {
|
|
||||||
return featureType_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeOssObjectDetailRequest::setFeatureType(int featureType) {
|
|
||||||
featureType_ = featureType;
|
|
||||||
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
@@ -66,6 +66,16 @@ void DescribeOssObjectDetailResult::parse(const std::string &payload)
|
|||||||
ruleObject.count = std::stol(ossObjectDetailNodeRuleListRule["Count"].asString());
|
ruleObject.count = std::stol(ossObjectDetailNodeRuleListRule["Count"].asString());
|
||||||
if(!ossObjectDetailNodeRuleListRule["RuleName"].isNull())
|
if(!ossObjectDetailNodeRuleListRule["RuleName"].isNull())
|
||||||
ruleObject.ruleName = ossObjectDetailNodeRuleListRule["RuleName"].asString();
|
ruleObject.ruleName = ossObjectDetailNodeRuleListRule["RuleName"].asString();
|
||||||
|
auto allModelTagsNode = ossObjectDetailNodeRuleListRule["ModelTags"]["modelTagsItem"];
|
||||||
|
for (auto ossObjectDetailNodeRuleListRuleModelTagsmodelTagsItem : allModelTagsNode)
|
||||||
|
{
|
||||||
|
OssObjectDetail::Rule::ModelTagsItem modelTagsObject;
|
||||||
|
if(!ossObjectDetailNodeRuleListRuleModelTagsmodelTagsItem["Id"].isNull())
|
||||||
|
modelTagsObject.id = std::stol(ossObjectDetailNodeRuleListRuleModelTagsmodelTagsItem["Id"].asString());
|
||||||
|
if(!ossObjectDetailNodeRuleListRuleModelTagsmodelTagsItem["Name"].isNull())
|
||||||
|
modelTagsObject.name = ossObjectDetailNodeRuleListRuleModelTagsmodelTagsItem["Name"].asString();
|
||||||
|
ruleObject.modelTags.push_back(modelTagsObject);
|
||||||
|
}
|
||||||
auto allSampleList = value["SampleList"]["Sample"];
|
auto allSampleList = value["SampleList"]["Sample"];
|
||||||
for (auto value : allSampleList)
|
for (auto value : allSampleList)
|
||||||
ruleObject.sampleList.push_back(value.asString());
|
ruleObject.sampleList.push_back(value.asString());
|
||||||
|
|||||||
63
sddp/src/model/DescribeOssObjectDetailV2Request.cc
Normal file
63
sddp/src/model/DescribeOssObjectDetailV2Request.cc
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/model/DescribeOssObjectDetailV2Request.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Sddp::Model::DescribeOssObjectDetailV2Request;
|
||||||
|
|
||||||
|
DescribeOssObjectDetailV2Request::DescribeOssObjectDetailV2Request()
|
||||||
|
: RpcServiceRequest("sddp", "2019-01-03", "DescribeOssObjectDetailV2") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeOssObjectDetailV2Request::~DescribeOssObjectDetailV2Request() {}
|
||||||
|
|
||||||
|
int DescribeOssObjectDetailV2Request::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeOssObjectDetailV2Request::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeOssObjectDetailV2Request::getSourceIp() const {
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeOssObjectDetailV2Request::setSourceIp(const std::string &sourceIp) {
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeOssObjectDetailV2Request::getId() const {
|
||||||
|
return id_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeOssObjectDetailV2Request::setId(const std::string &id) {
|
||||||
|
id_ = id;
|
||||||
|
setParameter(std::string("Id"), id);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeOssObjectDetailV2Request::getLang() const {
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeOssObjectDetailV2Request::setLang(const std::string &lang) {
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter(std::string("Lang"), lang);
|
||||||
|
}
|
||||||
|
|
||||||
91
sddp/src/model/DescribeOssObjectDetailV2Result.cc
Normal file
91
sddp/src/model/DescribeOssObjectDetailV2Result.cc
Normal file
@@ -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 <alibabacloud/sddp/model/DescribeOssObjectDetailV2Result.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Sddp;
|
||||||
|
using namespace AlibabaCloud::Sddp::Model;
|
||||||
|
|
||||||
|
DescribeOssObjectDetailV2Result::DescribeOssObjectDetailV2Result() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeOssObjectDetailV2Result::DescribeOssObjectDetailV2Result(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeOssObjectDetailV2Result::~DescribeOssObjectDetailV2Result()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeOssObjectDetailV2Result::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto ossObjectDetailNode = value["OssObjectDetail"];
|
||||||
|
if(!ossObjectDetailNode["CategoryName"].isNull())
|
||||||
|
ossObjectDetail_.categoryName = ossObjectDetailNode["CategoryName"].asString();
|
||||||
|
if(!ossObjectDetailNode["Name"].isNull())
|
||||||
|
ossObjectDetail_.name = ossObjectDetailNode["Name"].asString();
|
||||||
|
if(!ossObjectDetailNode["BucketName"].isNull())
|
||||||
|
ossObjectDetail_.bucketName = ossObjectDetailNode["BucketName"].asString();
|
||||||
|
if(!ossObjectDetailNode["RiskLevelName"].isNull())
|
||||||
|
ossObjectDetail_.riskLevelName = ossObjectDetailNode["RiskLevelName"].asString();
|
||||||
|
if(!ossObjectDetailNode["RegionId"].isNull())
|
||||||
|
ossObjectDetail_.regionId = ossObjectDetailNode["RegionId"].asString();
|
||||||
|
auto allRuleListNode = ossObjectDetailNode["RuleList"]["Rule"];
|
||||||
|
for (auto ossObjectDetailNodeRuleListRule : allRuleListNode)
|
||||||
|
{
|
||||||
|
OssObjectDetail::Rule ruleObject;
|
||||||
|
if(!ossObjectDetailNodeRuleListRule["RiskLevelName"].isNull())
|
||||||
|
ruleObject.riskLevelName = ossObjectDetailNodeRuleListRule["RiskLevelName"].asString();
|
||||||
|
if(!ossObjectDetailNodeRuleListRule["Category"].isNull())
|
||||||
|
ruleObject.category = std::stoi(ossObjectDetailNodeRuleListRule["Category"].asString());
|
||||||
|
if(!ossObjectDetailNodeRuleListRule["CategoryName"].isNull())
|
||||||
|
ruleObject.categoryName = ossObjectDetailNodeRuleListRule["CategoryName"].asString();
|
||||||
|
if(!ossObjectDetailNodeRuleListRule["RiskLevelId"].isNull())
|
||||||
|
ruleObject.riskLevelId = std::stol(ossObjectDetailNodeRuleListRule["RiskLevelId"].asString());
|
||||||
|
if(!ossObjectDetailNodeRuleListRule["Count"].isNull())
|
||||||
|
ruleObject.count = std::stol(ossObjectDetailNodeRuleListRule["Count"].asString());
|
||||||
|
if(!ossObjectDetailNodeRuleListRule["RuleName"].isNull())
|
||||||
|
ruleObject.ruleName = ossObjectDetailNodeRuleListRule["RuleName"].asString();
|
||||||
|
auto allModelTagsNode = ossObjectDetailNodeRuleListRule["ModelTags"]["modelTagsItem"];
|
||||||
|
for (auto ossObjectDetailNodeRuleListRuleModelTagsmodelTagsItem : allModelTagsNode)
|
||||||
|
{
|
||||||
|
OssObjectDetail::Rule::ModelTagsItem modelTagsObject;
|
||||||
|
if(!ossObjectDetailNodeRuleListRuleModelTagsmodelTagsItem["Id"].isNull())
|
||||||
|
modelTagsObject.id = std::stol(ossObjectDetailNodeRuleListRuleModelTagsmodelTagsItem["Id"].asString());
|
||||||
|
if(!ossObjectDetailNodeRuleListRuleModelTagsmodelTagsItem["Name"].isNull())
|
||||||
|
modelTagsObject.name = ossObjectDetailNodeRuleListRuleModelTagsmodelTagsItem["Name"].asString();
|
||||||
|
ruleObject.modelTags.push_back(modelTagsObject);
|
||||||
|
}
|
||||||
|
auto allSampleList = value["SampleList"]["Sample"];
|
||||||
|
for (auto value : allSampleList)
|
||||||
|
ruleObject.sampleList.push_back(value.asString());
|
||||||
|
ossObjectDetail_.ruleList.push_back(ruleObject);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeOssObjectDetailV2Result::OssObjectDetail DescribeOssObjectDetailV2Result::getOssObjectDetail()const
|
||||||
|
{
|
||||||
|
return ossObjectDetail_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -133,6 +133,15 @@ void DescribeOssObjectsRequest::setOrderBy(const std::string &orderBy) {
|
|||||||
setParameter(std::string("OrderBy"), orderBy);
|
setParameter(std::string("OrderBy"), orderBy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long DescribeOssObjectsRequest::getFileCategoryCode() const {
|
||||||
|
return fileCategoryCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeOssObjectsRequest::setFileCategoryCode(long fileCategoryCode) {
|
||||||
|
fileCategoryCode_ = fileCategoryCode;
|
||||||
|
setParameter(std::string("FileCategoryCode"), std::to_string(fileCategoryCode));
|
||||||
|
}
|
||||||
|
|
||||||
int DescribeOssObjectsRequest::getCurrentPage() const {
|
int DescribeOssObjectsRequest::getCurrentPage() const {
|
||||||
return currentPage_;
|
return currentPage_;
|
||||||
}
|
}
|
||||||
@@ -142,6 +151,15 @@ void DescribeOssObjectsRequest::setCurrentPage(int currentPage) {
|
|||||||
setParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
setParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long DescribeOssObjectsRequest::getTemplateId() const {
|
||||||
|
return templateId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeOssObjectsRequest::setTemplateId(long templateId) {
|
||||||
|
templateId_ = templateId;
|
||||||
|
setParameter(std::string("TemplateId"), std::to_string(templateId));
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeOssObjectsRequest::getRuleIds() const {
|
std::string DescribeOssObjectsRequest::getRuleIds() const {
|
||||||
return ruleIds_;
|
return ruleIds_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,6 +73,10 @@ void DescribeOssObjectsResult::parse(const std::string &payload)
|
|||||||
itemsObject.sensitiveCount = std::stoi(valueItemsColumn["SensitiveCount"].asString());
|
itemsObject.sensitiveCount = std::stoi(valueItemsColumn["SensitiveCount"].asString());
|
||||||
if(!valueItemsColumn["Id"].isNull())
|
if(!valueItemsColumn["Id"].isNull())
|
||||||
itemsObject.id = valueItemsColumn["Id"].asString();
|
itemsObject.id = valueItemsColumn["Id"].asString();
|
||||||
|
if(!valueItemsColumn["FileCategoryCode"].isNull())
|
||||||
|
itemsObject.fileCategoryCode = std::stol(valueItemsColumn["FileCategoryCode"].asString());
|
||||||
|
if(!valueItemsColumn["FileCategoryName"].isNull())
|
||||||
|
itemsObject.fileCategoryName = valueItemsColumn["FileCategoryName"].asString();
|
||||||
auto allRuleListNode = valueItemsColumn["RuleList"]["Rule"];
|
auto allRuleListNode = valueItemsColumn["RuleList"]["Rule"];
|
||||||
for (auto valueItemsColumnRuleListRule : allRuleListNode)
|
for (auto valueItemsColumnRuleListRule : allRuleListNode)
|
||||||
{
|
{
|
||||||
|
|||||||
144
sddp/src/model/DescribeParentInstanceRequest.cc
Normal file
144
sddp/src/model/DescribeParentInstanceRequest.cc
Normal file
@@ -0,0 +1,144 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/model/DescribeParentInstanceRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Sddp::Model::DescribeParentInstanceRequest;
|
||||||
|
|
||||||
|
DescribeParentInstanceRequest::DescribeParentInstanceRequest()
|
||||||
|
: RpcServiceRequest("sddp", "2019-01-03", "DescribeParentInstance") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeParentInstanceRequest::~DescribeParentInstanceRequest() {}
|
||||||
|
|
||||||
|
std::string DescribeParentInstanceRequest::getSourceIp() const {
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeParentInstanceRequest::setSourceIp(const std::string &sourceIp) {
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeParentInstanceRequest::getPageSize() const {
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeParentInstanceRequest::setPageSize(int pageSize) {
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeParentInstanceRequest::getCheckStatus() const {
|
||||||
|
return checkStatus_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeParentInstanceRequest::setCheckStatus(int checkStatus) {
|
||||||
|
checkStatus_ = checkStatus;
|
||||||
|
setParameter(std::string("CheckStatus"), std::to_string(checkStatus));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeParentInstanceRequest::getLang() const {
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeParentInstanceRequest::setLang(const std::string &lang) {
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter(std::string("Lang"), lang);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeParentInstanceRequest::getServiceRegionId() const {
|
||||||
|
return serviceRegionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeParentInstanceRequest::setServiceRegionId(const std::string &serviceRegionId) {
|
||||||
|
serviceRegionId_ = serviceRegionId;
|
||||||
|
setParameter(std::string("ServiceRegionId"), serviceRegionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeParentInstanceRequest::getEngineType() const {
|
||||||
|
return engineType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeParentInstanceRequest::setEngineType(const std::string &engineType) {
|
||||||
|
engineType_ = engineType;
|
||||||
|
setParameter(std::string("EngineType"), engineType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeParentInstanceRequest::getClusterStatus() const {
|
||||||
|
return clusterStatus_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeParentInstanceRequest::setClusterStatus(const std::string &clusterStatus) {
|
||||||
|
clusterStatus_ = clusterStatus;
|
||||||
|
setParameter(std::string("ClusterStatus"), clusterStatus);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeParentInstanceRequest::getAuthStatus() const {
|
||||||
|
return authStatus_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeParentInstanceRequest::setAuthStatus(int authStatus) {
|
||||||
|
authStatus_ = authStatus;
|
||||||
|
setParameter(std::string("AuthStatus"), std::to_string(authStatus));
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeParentInstanceRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeParentInstanceRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeParentInstanceRequest::getCurrentPage() const {
|
||||||
|
return currentPage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeParentInstanceRequest::setCurrentPage(int currentPage) {
|
||||||
|
currentPage_ = currentPage;
|
||||||
|
setParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeParentInstanceRequest::getResourceType() const {
|
||||||
|
return resourceType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeParentInstanceRequest::setResourceType(long resourceType) {
|
||||||
|
resourceType_ = resourceType;
|
||||||
|
setParameter(std::string("ResourceType"), std::to_string(resourceType));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeParentInstanceRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeParentInstanceRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeParentInstanceRequest::getDbName() const {
|
||||||
|
return dbName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeParentInstanceRequest::setDbName(const std::string &dbName) {
|
||||||
|
dbName_ = dbName;
|
||||||
|
setParameter(std::string("DbName"), dbName);
|
||||||
|
}
|
||||||
|
|
||||||
110
sddp/src/model/DescribeParentInstanceResult.cc
Normal file
110
sddp/src/model/DescribeParentInstanceResult.cc
Normal file
@@ -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 <alibabacloud/sddp/model/DescribeParentInstanceResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Sddp;
|
||||||
|
using namespace AlibabaCloud::Sddp::Model;
|
||||||
|
|
||||||
|
DescribeParentInstanceResult::DescribeParentInstanceResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeParentInstanceResult::DescribeParentInstanceResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeParentInstanceResult::~DescribeParentInstanceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeParentInstanceResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allItemsNode = value["Items"]["data"];
|
||||||
|
for (auto valueItemsdata : allItemsNode)
|
||||||
|
{
|
||||||
|
Data itemsObject;
|
||||||
|
if(!valueItemsdata["InstanceId"].isNull())
|
||||||
|
itemsObject.instanceId = valueItemsdata["InstanceId"].asString();
|
||||||
|
if(!valueItemsdata["LocalName"].isNull())
|
||||||
|
itemsObject.localName = valueItemsdata["LocalName"].asString();
|
||||||
|
if(!valueItemsdata["EngineType"].isNull())
|
||||||
|
itemsObject.engineType = valueItemsdata["EngineType"].asString();
|
||||||
|
if(!valueItemsdata["ParentId"].isNull())
|
||||||
|
itemsObject.parentId = valueItemsdata["ParentId"].asString();
|
||||||
|
if(!valueItemsdata["DbNum"].isNull())
|
||||||
|
itemsObject.dbNum = valueItemsdata["DbNum"].asString();
|
||||||
|
if(!valueItemsdata["ClusterStatus"].isNull())
|
||||||
|
itemsObject.clusterStatus = valueItemsdata["ClusterStatus"].asString();
|
||||||
|
if(!valueItemsdata["TenantId"].isNull())
|
||||||
|
itemsObject.tenantId = valueItemsdata["TenantId"].asString();
|
||||||
|
if(!valueItemsdata["TenantName"].isNull())
|
||||||
|
itemsObject.tenantName = valueItemsdata["TenantName"].asString();
|
||||||
|
if(!valueItemsdata["InstanceDescription"].isNull())
|
||||||
|
itemsObject.instanceDescription = valueItemsdata["InstanceDescription"].asString();
|
||||||
|
if(!valueItemsdata["ResourceType"].isNull())
|
||||||
|
itemsObject.resourceType = valueItemsdata["ResourceType"].asString();
|
||||||
|
if(!valueItemsdata["UnConnectDbCount"].isNull())
|
||||||
|
itemsObject.unConnectDbCount = valueItemsdata["UnConnectDbCount"].asString();
|
||||||
|
if(!valueItemsdata["UnSupportOneClickAuthReason"].isNull())
|
||||||
|
itemsObject.unSupportOneClickAuthReason = valueItemsdata["UnSupportOneClickAuthReason"].asString();
|
||||||
|
if(!valueItemsdata["ConnectNode"].isNull())
|
||||||
|
itemsObject.connectNode = valueItemsdata["ConnectNode"].asString();
|
||||||
|
if(!valueItemsdata["SupportConnectNodes"].isNull())
|
||||||
|
itemsObject.supportConnectNodes = valueItemsdata["SupportConnectNodes"].asString();
|
||||||
|
if(!valueItemsdata["AuthStatus"].isNull())
|
||||||
|
itemsObject.authStatus = std::stoi(valueItemsdata["AuthStatus"].asString());
|
||||||
|
if(!valueItemsdata["InstanceSize"].isNull())
|
||||||
|
itemsObject.instanceSize = std::stol(valueItemsdata["InstanceSize"].asString());
|
||||||
|
if(!valueItemsdata["AuditStatus"].isNull())
|
||||||
|
itemsObject.auditStatus = std::stoi(valueItemsdata["AuditStatus"].asString());
|
||||||
|
items_.push_back(itemsObject);
|
||||||
|
}
|
||||||
|
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 DescribeParentInstanceResult::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeParentInstanceResult::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeParentInstanceResult::getCurrentPage()const
|
||||||
|
{
|
||||||
|
return currentPage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeParentInstanceResult::Data> DescribeParentInstanceResult::getItems()const
|
||||||
|
{
|
||||||
|
return items_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -25,6 +25,15 @@ DescribeRiskLevelsRequest::DescribeRiskLevelsRequest()
|
|||||||
|
|
||||||
DescribeRiskLevelsRequest::~DescribeRiskLevelsRequest() {}
|
DescribeRiskLevelsRequest::~DescribeRiskLevelsRequest() {}
|
||||||
|
|
||||||
|
int DescribeRiskLevelsRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRiskLevelsRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
int DescribeRiskLevelsRequest::getCustomType() const {
|
int DescribeRiskLevelsRequest::getCustomType() const {
|
||||||
return customType_;
|
return customType_;
|
||||||
}
|
}
|
||||||
@@ -34,6 +43,15 @@ void DescribeRiskLevelsRequest::setCustomType(int customType) {
|
|||||||
setParameter(std::string("CustomType"), std::to_string(customType));
|
setParameter(std::string("CustomType"), std::to_string(customType));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long DescribeRiskLevelsRequest::getTemplateId() const {
|
||||||
|
return templateId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRiskLevelsRequest::setTemplateId(long templateId) {
|
||||||
|
templateId_ = templateId;
|
||||||
|
setParameter(std::string("TemplateId"), std::to_string(templateId));
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeRiskLevelsRequest::getSourceIp() const {
|
std::string DescribeRiskLevelsRequest::getSourceIp() const {
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -79,6 +79,15 @@ void DescribeRulesRequest::setPageSize(int pageSize) {
|
|||||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int DescribeRulesRequest::getMatchType() const {
|
||||||
|
return matchType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setMatchType(int matchType) {
|
||||||
|
matchType_ = matchType;
|
||||||
|
setParameter(std::string("MatchType"), std::to_string(matchType));
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeRulesRequest::getLang() const {
|
std::string DescribeRulesRequest::getLang() const {
|
||||||
return lang_;
|
return lang_;
|
||||||
}
|
}
|
||||||
@@ -97,6 +106,15 @@ void DescribeRulesRequest::setKeywordCompatible(bool keywordCompatible) {
|
|||||||
setParameter(std::string("KeywordCompatible"), keywordCompatible ? "true" : "false");
|
setParameter(std::string("KeywordCompatible"), keywordCompatible ? "true" : "false");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int DescribeRulesRequest::getSupportForm() const {
|
||||||
|
return supportForm_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setSupportForm(int supportForm) {
|
||||||
|
supportForm_ = supportForm;
|
||||||
|
setParameter(std::string("SupportForm"), std::to_string(supportForm));
|
||||||
|
}
|
||||||
|
|
||||||
int DescribeRulesRequest::getRuleType() const {
|
int DescribeRulesRequest::getRuleType() const {
|
||||||
return ruleType_;
|
return ruleType_;
|
||||||
}
|
}
|
||||||
@@ -106,6 +124,15 @@ void DescribeRulesRequest::setRuleType(int ruleType) {
|
|||||||
setParameter(std::string("RuleType"), std::to_string(ruleType));
|
setParameter(std::string("RuleType"), std::to_string(ruleType));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int DescribeRulesRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeRulesRequest::getGroupId() const {
|
std::string DescribeRulesRequest::getGroupId() const {
|
||||||
return groupId_;
|
return groupId_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ void DescribeRulesResult::parse(const std::string &payload)
|
|||||||
itemsObject.displayName = valueItemsRule["DisplayName"].asString();
|
itemsObject.displayName = valueItemsRule["DisplayName"].asString();
|
||||||
if(!valueItemsRule["Status"].isNull())
|
if(!valueItemsRule["Status"].isNull())
|
||||||
itemsObject.status = std::stoi(valueItemsRule["Status"].asString());
|
itemsObject.status = std::stoi(valueItemsRule["Status"].asString());
|
||||||
|
if(!valueItemsRule["SupportForm"].isNull())
|
||||||
|
itemsObject.supportForm = std::stoi(valueItemsRule["SupportForm"].asString());
|
||||||
if(!valueItemsRule["WarnLevel"].isNull())
|
if(!valueItemsRule["WarnLevel"].isNull())
|
||||||
itemsObject.warnLevel = std::stoi(valueItemsRule["WarnLevel"].asString());
|
itemsObject.warnLevel = std::stoi(valueItemsRule["WarnLevel"].asString());
|
||||||
if(!valueItemsRule["UserId"].isNull())
|
if(!valueItemsRule["UserId"].isNull())
|
||||||
@@ -93,6 +95,8 @@ void DescribeRulesResult::parse(const std::string &payload)
|
|||||||
itemsObject.id = std::stol(valueItemsRule["Id"].asString());
|
itemsObject.id = std::stol(valueItemsRule["Id"].asString());
|
||||||
if(!valueItemsRule["ProductCode"].isNull())
|
if(!valueItemsRule["ProductCode"].isNull())
|
||||||
itemsObject.productCode = valueItemsRule["ProductCode"].asString();
|
itemsObject.productCode = valueItemsRule["ProductCode"].asString();
|
||||||
|
if(!valueItemsRule["MatchType"].isNull())
|
||||||
|
itemsObject.matchType = std::stoi(valueItemsRule["MatchType"].asString());
|
||||||
items_.push_back(itemsObject);
|
items_.push_back(itemsObject);
|
||||||
}
|
}
|
||||||
if(!value["CurrentPage"].isNull())
|
if(!value["CurrentPage"].isNull())
|
||||||
|
|||||||
@@ -223,6 +223,15 @@ void DescribeTablesRequest::setCurrentPage(int currentPage) {
|
|||||||
setParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
setParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long DescribeTablesRequest::getTemplateId() const {
|
||||||
|
return templateId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeTablesRequest::setTemplateId(long templateId) {
|
||||||
|
templateId_ = templateId;
|
||||||
|
setParameter(std::string("TemplateId"), std::to_string(templateId));
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeTablesRequest::getRuleIds() const {
|
std::string DescribeTablesRequest::getRuleIds() const {
|
||||||
return ruleIds_;
|
return ruleIds_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -111,6 +111,16 @@ void DescribeTablesResult::parse(const std::string &payload)
|
|||||||
ruleListObject.count = std::stol(valueItemsTableRuleListRule["Count"].asString());
|
ruleListObject.count = std::stol(valueItemsTableRuleListRule["Count"].asString());
|
||||||
itemsObject.ruleList.push_back(ruleListObject);
|
itemsObject.ruleList.push_back(ruleListObject);
|
||||||
}
|
}
|
||||||
|
auto allModelTagsNode = valueItemsTable["ModelTags"]["modelTagsItem"];
|
||||||
|
for (auto valueItemsTableModelTagsmodelTagsItem : allModelTagsNode)
|
||||||
|
{
|
||||||
|
Table::ModelTagsItem modelTagsObject;
|
||||||
|
if(!valueItemsTableModelTagsmodelTagsItem["Id"].isNull())
|
||||||
|
modelTagsObject.id = std::stol(valueItemsTableModelTagsmodelTagsItem["Id"].asString());
|
||||||
|
if(!valueItemsTableModelTagsmodelTagsItem["Name"].isNull())
|
||||||
|
modelTagsObject.name = valueItemsTableModelTagsmodelTagsItem["Name"].asString();
|
||||||
|
itemsObject.modelTags.push_back(modelTagsObject);
|
||||||
|
}
|
||||||
items_.push_back(itemsObject);
|
items_.push_back(itemsObject);
|
||||||
}
|
}
|
||||||
if(!value["CurrentPage"].isNull())
|
if(!value["CurrentPage"].isNull())
|
||||||
|
|||||||
63
sddp/src/model/DescribeTemplateAllRulesRequest.cc
Normal file
63
sddp/src/model/DescribeTemplateAllRulesRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/sddp/model/DescribeTemplateAllRulesRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Sddp::Model::DescribeTemplateAllRulesRequest;
|
||||||
|
|
||||||
|
DescribeTemplateAllRulesRequest::DescribeTemplateAllRulesRequest()
|
||||||
|
: RpcServiceRequest("sddp", "2019-01-03", "DescribeTemplateAllRules") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeTemplateAllRulesRequest::~DescribeTemplateAllRulesRequest() {}
|
||||||
|
|
||||||
|
int DescribeTemplateAllRulesRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeTemplateAllRulesRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeTemplateAllRulesRequest::getTemplateId() const {
|
||||||
|
return templateId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeTemplateAllRulesRequest::setTemplateId(long templateId) {
|
||||||
|
templateId_ = templateId;
|
||||||
|
setParameter(std::string("TemplateId"), std::to_string(templateId));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeTemplateAllRulesRequest::getSourceIp() const {
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeTemplateAllRulesRequest::setSourceIp(const std::string &sourceIp) {
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeTemplateAllRulesRequest::getLang() const {
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeTemplateAllRulesRequest::setLang(const std::string &lang) {
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter(std::string("Lang"), lang);
|
||||||
|
}
|
||||||
|
|
||||||
59
sddp/src/model/DescribeTemplateAllRulesResult.cc
Normal file
59
sddp/src/model/DescribeTemplateAllRulesResult.cc
Normal file
@@ -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 <alibabacloud/sddp/model/DescribeTemplateAllRulesResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Sddp;
|
||||||
|
using namespace AlibabaCloud::Sddp::Model;
|
||||||
|
|
||||||
|
DescribeTemplateAllRulesResult::DescribeTemplateAllRulesResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeTemplateAllRulesResult::DescribeTemplateAllRulesResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeTemplateAllRulesResult::~DescribeTemplateAllRulesResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeTemplateAllRulesResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allRuleListNode = value["RuleList"]["Rule"];
|
||||||
|
for (auto valueRuleListRule : allRuleListNode)
|
||||||
|
{
|
||||||
|
Rule ruleListObject;
|
||||||
|
if(!valueRuleListRule["Name"].isNull())
|
||||||
|
ruleListObject.name = valueRuleListRule["Name"].asString();
|
||||||
|
if(!valueRuleListRule["Id"].isNull())
|
||||||
|
ruleListObject.id = std::stol(valueRuleListRule["Id"].asString());
|
||||||
|
ruleList_.push_back(ruleListObject);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeTemplateAllRulesResult::Rule> DescribeTemplateAllRulesResult::getRuleList()const
|
||||||
|
{
|
||||||
|
return ruleList_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -25,6 +25,15 @@ DescribeUserStatusRequest::DescribeUserStatusRequest()
|
|||||||
|
|
||||||
DescribeUserStatusRequest::~DescribeUserStatusRequest() {}
|
DescribeUserStatusRequest::~DescribeUserStatusRequest() {}
|
||||||
|
|
||||||
|
int DescribeUserStatusRequest::getFeatureType() const {
|
||||||
|
return featureType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUserStatusRequest::setFeatureType(int featureType) {
|
||||||
|
featureType_ = featureType;
|
||||||
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeUserStatusRequest::getSourceIp() const {
|
std::string DescribeUserStatusRequest::getSourceIp() const {
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user