regenerate code
This commit is contained in:
@@ -37,6 +37,8 @@ set(sddp_public_header_model
|
||||
include/alibabacloud/sddp/model/DescribeAccountDetailResult.h
|
||||
include/alibabacloud/sddp/model/DescribeAccountsRequest.h
|
||||
include/alibabacloud/sddp/model/DescribeAccountsResult.h
|
||||
include/alibabacloud/sddp/model/DescribeAuditLogsRequest.h
|
||||
include/alibabacloud/sddp/model/DescribeAuditLogsResult.h
|
||||
include/alibabacloud/sddp/model/DescribeAuthAccountsRequest.h
|
||||
include/alibabacloud/sddp/model/DescribeAuthAccountsResult.h
|
||||
include/alibabacloud/sddp/model/DescribeCloudDatabasesRequest.h
|
||||
@@ -61,6 +63,10 @@ set(sddp_public_header_model
|
||||
include/alibabacloud/sddp/model/DescribeDataLimitDetailResult.h
|
||||
include/alibabacloud/sddp/model/DescribeDataLimitsRequest.h
|
||||
include/alibabacloud/sddp/model/DescribeDataLimitsResult.h
|
||||
include/alibabacloud/sddp/model/DescribeDataMaskingRunHistoryRequest.h
|
||||
include/alibabacloud/sddp/model/DescribeDataMaskingRunHistoryResult.h
|
||||
include/alibabacloud/sddp/model/DescribeDataMaskingTasksRequest.h
|
||||
include/alibabacloud/sddp/model/DescribeDataMaskingTasksResult.h
|
||||
include/alibabacloud/sddp/model/DescribeDepartsRequest.h
|
||||
include/alibabacloud/sddp/model/DescribeDepartsResult.h
|
||||
include/alibabacloud/sddp/model/DescribeEventDetailRequest.h
|
||||
@@ -71,6 +77,8 @@ set(sddp_public_header_model
|
||||
include/alibabacloud/sddp/model/DescribeEventsResult.h
|
||||
include/alibabacloud/sddp/model/DescribeInstancesRequest.h
|
||||
include/alibabacloud/sddp/model/DescribeInstancesResult.h
|
||||
include/alibabacloud/sddp/model/DescribeOriginalLogsRequest.h
|
||||
include/alibabacloud/sddp/model/DescribeOriginalLogsResult.h
|
||||
include/alibabacloud/sddp/model/DescribeOssObjectDetailRequest.h
|
||||
include/alibabacloud/sddp/model/DescribeOssObjectDetailResult.h
|
||||
include/alibabacloud/sddp/model/DescribeOssObjectsRequest.h
|
||||
@@ -83,8 +91,14 @@ set(sddp_public_header_model
|
||||
include/alibabacloud/sddp/model/DescribeRulesResult.h
|
||||
include/alibabacloud/sddp/model/DescribeTablesRequest.h
|
||||
include/alibabacloud/sddp/model/DescribeTablesResult.h
|
||||
include/alibabacloud/sddp/model/DescribeUseFlowRequest.h
|
||||
include/alibabacloud/sddp/model/DescribeUseFlowResult.h
|
||||
include/alibabacloud/sddp/model/DescribeUserStatusRequest.h
|
||||
include/alibabacloud/sddp/model/DescribeUserStatusResult.h
|
||||
include/alibabacloud/sddp/model/ExecDatamaskRequest.h
|
||||
include/alibabacloud/sddp/model/ExecDatamaskResult.h
|
||||
include/alibabacloud/sddp/model/ManualTriggerMaskingProcessRequest.h
|
||||
include/alibabacloud/sddp/model/ManualTriggerMaskingProcessResult.h
|
||||
include/alibabacloud/sddp/model/ModifyDataLimitRequest.h
|
||||
include/alibabacloud/sddp/model/ModifyDataLimitResult.h
|
||||
include/alibabacloud/sddp/model/ModifyDefaultLevelRequest.h
|
||||
@@ -97,6 +111,8 @@ set(sddp_public_header_model
|
||||
include/alibabacloud/sddp/model/ModifyRuleResult.h
|
||||
include/alibabacloud/sddp/model/ModifyRuleStatusRequest.h
|
||||
include/alibabacloud/sddp/model/ModifyRuleStatusResult.h
|
||||
include/alibabacloud/sddp/model/ModifySaleFlowCountTypeRequest.h
|
||||
include/alibabacloud/sddp/model/ModifySaleFlowCountTypeResult.h
|
||||
include/alibabacloud/sddp/model/ValidateConnectorRequest.h
|
||||
include/alibabacloud/sddp/model/ValidateConnectorResult.h )
|
||||
|
||||
@@ -118,6 +134,8 @@ set(sddp_src
|
||||
src/model/DescribeAccountDetailResult.cc
|
||||
src/model/DescribeAccountsRequest.cc
|
||||
src/model/DescribeAccountsResult.cc
|
||||
src/model/DescribeAuditLogsRequest.cc
|
||||
src/model/DescribeAuditLogsResult.cc
|
||||
src/model/DescribeAuthAccountsRequest.cc
|
||||
src/model/DescribeAuthAccountsResult.cc
|
||||
src/model/DescribeCloudDatabasesRequest.cc
|
||||
@@ -142,6 +160,10 @@ set(sddp_src
|
||||
src/model/DescribeDataLimitDetailResult.cc
|
||||
src/model/DescribeDataLimitsRequest.cc
|
||||
src/model/DescribeDataLimitsResult.cc
|
||||
src/model/DescribeDataMaskingRunHistoryRequest.cc
|
||||
src/model/DescribeDataMaskingRunHistoryResult.cc
|
||||
src/model/DescribeDataMaskingTasksRequest.cc
|
||||
src/model/DescribeDataMaskingTasksResult.cc
|
||||
src/model/DescribeDepartsRequest.cc
|
||||
src/model/DescribeDepartsResult.cc
|
||||
src/model/DescribeEventDetailRequest.cc
|
||||
@@ -152,6 +174,8 @@ set(sddp_src
|
||||
src/model/DescribeEventsResult.cc
|
||||
src/model/DescribeInstancesRequest.cc
|
||||
src/model/DescribeInstancesResult.cc
|
||||
src/model/DescribeOriginalLogsRequest.cc
|
||||
src/model/DescribeOriginalLogsResult.cc
|
||||
src/model/DescribeOssObjectDetailRequest.cc
|
||||
src/model/DescribeOssObjectDetailResult.cc
|
||||
src/model/DescribeOssObjectsRequest.cc
|
||||
@@ -164,8 +188,14 @@ set(sddp_src
|
||||
src/model/DescribeRulesResult.cc
|
||||
src/model/DescribeTablesRequest.cc
|
||||
src/model/DescribeTablesResult.cc
|
||||
src/model/DescribeUseFlowRequest.cc
|
||||
src/model/DescribeUseFlowResult.cc
|
||||
src/model/DescribeUserStatusRequest.cc
|
||||
src/model/DescribeUserStatusResult.cc
|
||||
src/model/ExecDatamaskRequest.cc
|
||||
src/model/ExecDatamaskResult.cc
|
||||
src/model/ManualTriggerMaskingProcessRequest.cc
|
||||
src/model/ManualTriggerMaskingProcessResult.cc
|
||||
src/model/ModifyDataLimitRequest.cc
|
||||
src/model/ModifyDataLimitResult.cc
|
||||
src/model/ModifyDefaultLevelRequest.cc
|
||||
@@ -178,6 +208,8 @@ set(sddp_src
|
||||
src/model/ModifyRuleResult.cc
|
||||
src/model/ModifyRuleStatusRequest.cc
|
||||
src/model/ModifyRuleStatusResult.cc
|
||||
src/model/ModifySaleFlowCountTypeRequest.cc
|
||||
src/model/ModifySaleFlowCountTypeResult.cc
|
||||
src/model/ValidateConnectorRequest.cc
|
||||
src/model/ValidateConnectorResult.cc )
|
||||
|
||||
|
||||
@@ -38,6 +38,8 @@
|
||||
#include "model/DescribeAccountDetailResult.h"
|
||||
#include "model/DescribeAccountsRequest.h"
|
||||
#include "model/DescribeAccountsResult.h"
|
||||
#include "model/DescribeAuditLogsRequest.h"
|
||||
#include "model/DescribeAuditLogsResult.h"
|
||||
#include "model/DescribeAuthAccountsRequest.h"
|
||||
#include "model/DescribeAuthAccountsResult.h"
|
||||
#include "model/DescribeCloudDatabasesRequest.h"
|
||||
@@ -62,6 +64,10 @@
|
||||
#include "model/DescribeDataLimitDetailResult.h"
|
||||
#include "model/DescribeDataLimitsRequest.h"
|
||||
#include "model/DescribeDataLimitsResult.h"
|
||||
#include "model/DescribeDataMaskingRunHistoryRequest.h"
|
||||
#include "model/DescribeDataMaskingRunHistoryResult.h"
|
||||
#include "model/DescribeDataMaskingTasksRequest.h"
|
||||
#include "model/DescribeDataMaskingTasksResult.h"
|
||||
#include "model/DescribeDepartsRequest.h"
|
||||
#include "model/DescribeDepartsResult.h"
|
||||
#include "model/DescribeEventDetailRequest.h"
|
||||
@@ -72,6 +78,8 @@
|
||||
#include "model/DescribeEventsResult.h"
|
||||
#include "model/DescribeInstancesRequest.h"
|
||||
#include "model/DescribeInstancesResult.h"
|
||||
#include "model/DescribeOriginalLogsRequest.h"
|
||||
#include "model/DescribeOriginalLogsResult.h"
|
||||
#include "model/DescribeOssObjectDetailRequest.h"
|
||||
#include "model/DescribeOssObjectDetailResult.h"
|
||||
#include "model/DescribeOssObjectsRequest.h"
|
||||
@@ -84,8 +92,14 @@
|
||||
#include "model/DescribeRulesResult.h"
|
||||
#include "model/DescribeTablesRequest.h"
|
||||
#include "model/DescribeTablesResult.h"
|
||||
#include "model/DescribeUseFlowRequest.h"
|
||||
#include "model/DescribeUseFlowResult.h"
|
||||
#include "model/DescribeUserStatusRequest.h"
|
||||
#include "model/DescribeUserStatusResult.h"
|
||||
#include "model/ExecDatamaskRequest.h"
|
||||
#include "model/ExecDatamaskResult.h"
|
||||
#include "model/ManualTriggerMaskingProcessRequest.h"
|
||||
#include "model/ManualTriggerMaskingProcessResult.h"
|
||||
#include "model/ModifyDataLimitRequest.h"
|
||||
#include "model/ModifyDataLimitResult.h"
|
||||
#include "model/ModifyDefaultLevelRequest.h"
|
||||
@@ -98,6 +112,8 @@
|
||||
#include "model/ModifyRuleResult.h"
|
||||
#include "model/ModifyRuleStatusRequest.h"
|
||||
#include "model/ModifyRuleStatusResult.h"
|
||||
#include "model/ModifySaleFlowCountTypeRequest.h"
|
||||
#include "model/ModifySaleFlowCountTypeResult.h"
|
||||
#include "model/ValidateConnectorRequest.h"
|
||||
#include "model/ValidateConnectorResult.h"
|
||||
|
||||
@@ -133,6 +149,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeAccountsResult> DescribeAccountsOutcome;
|
||||
typedef std::future<DescribeAccountsOutcome> DescribeAccountsOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::DescribeAccountsRequest&, const DescribeAccountsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccountsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAuditLogsResult> DescribeAuditLogsOutcome;
|
||||
typedef std::future<DescribeAuditLogsOutcome> DescribeAuditLogsOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::DescribeAuditLogsRequest&, const DescribeAuditLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAuditLogsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAuthAccountsResult> DescribeAuthAccountsOutcome;
|
||||
typedef std::future<DescribeAuthAccountsOutcome> DescribeAuthAccountsOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::DescribeAuthAccountsRequest&, const DescribeAuthAccountsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAuthAccountsAsyncHandler;
|
||||
@@ -169,6 +188,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDataLimitsResult> DescribeDataLimitsOutcome;
|
||||
typedef std::future<DescribeDataLimitsOutcome> DescribeDataLimitsOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::DescribeDataLimitsRequest&, const DescribeDataLimitsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataLimitsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDataMaskingRunHistoryResult> DescribeDataMaskingRunHistoryOutcome;
|
||||
typedef std::future<DescribeDataMaskingRunHistoryOutcome> DescribeDataMaskingRunHistoryOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::DescribeDataMaskingRunHistoryRequest&, const DescribeDataMaskingRunHistoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataMaskingRunHistoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDataMaskingTasksResult> DescribeDataMaskingTasksOutcome;
|
||||
typedef std::future<DescribeDataMaskingTasksOutcome> DescribeDataMaskingTasksOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::DescribeDataMaskingTasksRequest&, const DescribeDataMaskingTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataMaskingTasksAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDepartsResult> DescribeDepartsOutcome;
|
||||
typedef std::future<DescribeDepartsOutcome> DescribeDepartsOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::DescribeDepartsRequest&, const DescribeDepartsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDepartsAsyncHandler;
|
||||
@@ -184,6 +209,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeInstancesResult> DescribeInstancesOutcome;
|
||||
typedef std::future<DescribeInstancesOutcome> DescribeInstancesOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::DescribeInstancesRequest&, const DescribeInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeOriginalLogsResult> DescribeOriginalLogsOutcome;
|
||||
typedef std::future<DescribeOriginalLogsOutcome> DescribeOriginalLogsOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::DescribeOriginalLogsRequest&, const DescribeOriginalLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOriginalLogsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeOssObjectDetailResult> DescribeOssObjectDetailOutcome;
|
||||
typedef std::future<DescribeOssObjectDetailOutcome> DescribeOssObjectDetailOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::DescribeOssObjectDetailRequest&, const DescribeOssObjectDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOssObjectDetailAsyncHandler;
|
||||
@@ -202,9 +230,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeTablesResult> DescribeTablesOutcome;
|
||||
typedef std::future<DescribeTablesOutcome> DescribeTablesOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::DescribeTablesRequest&, const DescribeTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTablesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUseFlowResult> DescribeUseFlowOutcome;
|
||||
typedef std::future<DescribeUseFlowOutcome> DescribeUseFlowOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::DescribeUseFlowRequest&, const DescribeUseFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUseFlowAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUserStatusResult> DescribeUserStatusOutcome;
|
||||
typedef std::future<DescribeUserStatusOutcome> DescribeUserStatusOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::DescribeUserStatusRequest&, const DescribeUserStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExecDatamaskResult> ExecDatamaskOutcome;
|
||||
typedef std::future<ExecDatamaskOutcome> ExecDatamaskOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::ExecDatamaskRequest&, const ExecDatamaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExecDatamaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::ManualTriggerMaskingProcessResult> ManualTriggerMaskingProcessOutcome;
|
||||
typedef std::future<ManualTriggerMaskingProcessOutcome> ManualTriggerMaskingProcessOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::ManualTriggerMaskingProcessRequest&, const ManualTriggerMaskingProcessOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ManualTriggerMaskingProcessAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDataLimitResult> ModifyDataLimitOutcome;
|
||||
typedef std::future<ModifyDataLimitOutcome> ModifyDataLimitOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::ModifyDataLimitRequest&, const ModifyDataLimitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDataLimitAsyncHandler;
|
||||
@@ -223,6 +260,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyRuleStatusResult> ModifyRuleStatusOutcome;
|
||||
typedef std::future<ModifyRuleStatusOutcome> ModifyRuleStatusOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::ModifyRuleStatusRequest&, const ModifyRuleStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyRuleStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySaleFlowCountTypeResult> ModifySaleFlowCountTypeOutcome;
|
||||
typedef std::future<ModifySaleFlowCountTypeOutcome> ModifySaleFlowCountTypeOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::ModifySaleFlowCountTypeRequest&, const ModifySaleFlowCountTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySaleFlowCountTypeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ValidateConnectorResult> ValidateConnectorOutcome;
|
||||
typedef std::future<ValidateConnectorOutcome> ValidateConnectorOutcomeCallable;
|
||||
typedef std::function<void(const SddpClient*, const Model::ValidateConnectorRequest&, const ValidateConnectorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ValidateConnectorAsyncHandler;
|
||||
@@ -255,6 +295,9 @@ namespace AlibabaCloud
|
||||
DescribeAccountsOutcome describeAccounts(const Model::DescribeAccountsRequest &request)const;
|
||||
void describeAccountsAsync(const Model::DescribeAccountsRequest& request, const DescribeAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAccountsOutcomeCallable describeAccountsCallable(const Model::DescribeAccountsRequest& request) const;
|
||||
DescribeAuditLogsOutcome describeAuditLogs(const Model::DescribeAuditLogsRequest &request)const;
|
||||
void describeAuditLogsAsync(const Model::DescribeAuditLogsRequest& request, const DescribeAuditLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAuditLogsOutcomeCallable describeAuditLogsCallable(const Model::DescribeAuditLogsRequest& request) const;
|
||||
DescribeAuthAccountsOutcome describeAuthAccounts(const Model::DescribeAuthAccountsRequest &request)const;
|
||||
void describeAuthAccountsAsync(const Model::DescribeAuthAccountsRequest& request, const DescribeAuthAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAuthAccountsOutcomeCallable describeAuthAccountsCallable(const Model::DescribeAuthAccountsRequest& request) const;
|
||||
@@ -291,6 +334,12 @@ namespace AlibabaCloud
|
||||
DescribeDataLimitsOutcome describeDataLimits(const Model::DescribeDataLimitsRequest &request)const;
|
||||
void describeDataLimitsAsync(const Model::DescribeDataLimitsRequest& request, const DescribeDataLimitsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDataLimitsOutcomeCallable describeDataLimitsCallable(const Model::DescribeDataLimitsRequest& request) const;
|
||||
DescribeDataMaskingRunHistoryOutcome describeDataMaskingRunHistory(const Model::DescribeDataMaskingRunHistoryRequest &request)const;
|
||||
void describeDataMaskingRunHistoryAsync(const Model::DescribeDataMaskingRunHistoryRequest& request, const DescribeDataMaskingRunHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDataMaskingRunHistoryOutcomeCallable describeDataMaskingRunHistoryCallable(const Model::DescribeDataMaskingRunHistoryRequest& 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;
|
||||
DescribeDataMaskingTasksOutcomeCallable describeDataMaskingTasksCallable(const Model::DescribeDataMaskingTasksRequest& request) const;
|
||||
DescribeDepartsOutcome describeDeparts(const Model::DescribeDepartsRequest &request)const;
|
||||
void describeDepartsAsync(const Model::DescribeDepartsRequest& request, const DescribeDepartsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDepartsOutcomeCallable describeDepartsCallable(const Model::DescribeDepartsRequest& request) const;
|
||||
@@ -306,6 +355,9 @@ namespace AlibabaCloud
|
||||
DescribeInstancesOutcome describeInstances(const Model::DescribeInstancesRequest &request)const;
|
||||
void describeInstancesAsync(const Model::DescribeInstancesRequest& request, const DescribeInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeInstancesOutcomeCallable describeInstancesCallable(const Model::DescribeInstancesRequest& request) const;
|
||||
DescribeOriginalLogsOutcome describeOriginalLogs(const Model::DescribeOriginalLogsRequest &request)const;
|
||||
void describeOriginalLogsAsync(const Model::DescribeOriginalLogsRequest& request, const DescribeOriginalLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeOriginalLogsOutcomeCallable describeOriginalLogsCallable(const Model::DescribeOriginalLogsRequest& 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;
|
||||
DescribeOssObjectDetailOutcomeCallable describeOssObjectDetailCallable(const Model::DescribeOssObjectDetailRequest& request) const;
|
||||
@@ -324,9 +376,18 @@ namespace AlibabaCloud
|
||||
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;
|
||||
DescribeTablesOutcomeCallable describeTablesCallable(const Model::DescribeTablesRequest& request) const;
|
||||
DescribeUseFlowOutcome describeUseFlow(const Model::DescribeUseFlowRequest &request)const;
|
||||
void describeUseFlowAsync(const Model::DescribeUseFlowRequest& request, const DescribeUseFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUseFlowOutcomeCallable describeUseFlowCallable(const Model::DescribeUseFlowRequest& 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;
|
||||
DescribeUserStatusOutcomeCallable describeUserStatusCallable(const Model::DescribeUserStatusRequest& request) const;
|
||||
ExecDatamaskOutcome execDatamask(const Model::ExecDatamaskRequest &request)const;
|
||||
void execDatamaskAsync(const Model::ExecDatamaskRequest& request, const ExecDatamaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExecDatamaskOutcomeCallable execDatamaskCallable(const Model::ExecDatamaskRequest& request) const;
|
||||
ManualTriggerMaskingProcessOutcome manualTriggerMaskingProcess(const Model::ManualTriggerMaskingProcessRequest &request)const;
|
||||
void manualTriggerMaskingProcessAsync(const Model::ManualTriggerMaskingProcessRequest& request, const ManualTriggerMaskingProcessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ManualTriggerMaskingProcessOutcomeCallable manualTriggerMaskingProcessCallable(const Model::ManualTriggerMaskingProcessRequest& request) const;
|
||||
ModifyDataLimitOutcome modifyDataLimit(const Model::ModifyDataLimitRequest &request)const;
|
||||
void modifyDataLimitAsync(const Model::ModifyDataLimitRequest& request, const ModifyDataLimitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDataLimitOutcomeCallable modifyDataLimitCallable(const Model::ModifyDataLimitRequest& request) const;
|
||||
@@ -345,6 +406,9 @@ namespace AlibabaCloud
|
||||
ModifyRuleStatusOutcome modifyRuleStatus(const Model::ModifyRuleStatusRequest &request)const;
|
||||
void modifyRuleStatusAsync(const Model::ModifyRuleStatusRequest& request, const ModifyRuleStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyRuleStatusOutcomeCallable modifyRuleStatusCallable(const Model::ModifyRuleStatusRequest& request) const;
|
||||
ModifySaleFlowCountTypeOutcome modifySaleFlowCountType(const Model::ModifySaleFlowCountTypeRequest &request)const;
|
||||
void modifySaleFlowCountTypeAsync(const Model::ModifySaleFlowCountTypeRequest& request, const ModifySaleFlowCountTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySaleFlowCountTypeOutcomeCallable modifySaleFlowCountTypeCallable(const Model::ModifySaleFlowCountTypeRequest& request) const;
|
||||
ValidateConnectorOutcome validateConnector(const Model::ValidateConnectorRequest &request)const;
|
||||
void validateConnectorAsync(const Model::ValidateConnectorRequest& request, const ValidateConnectorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ValidateConnectorOutcomeCallable validateConnectorCallable(const Model::ValidateConnectorRequest& request) const;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setParentId(const std::string& parentId);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
bool getBatchCreate()const;
|
||||
void setBatchCreate(bool batchCreate);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getDataLimitList()const;
|
||||
@@ -47,22 +49,38 @@ namespace AlibabaCloud
|
||||
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);
|
||||
int getAuditStatus()const;
|
||||
void setAuditStatus(int auditStatus);
|
||||
int getAutoScan()const;
|
||||
void setAutoScan(int autoScan);
|
||||
int getLogStoreDay()const;
|
||||
void setLogStoreDay(int logStoreDay);
|
||||
int getResourceType()const;
|
||||
void setResourceType(int resourceType);
|
||||
std::string getConnector()const;
|
||||
void setConnector(const std::string& connector);
|
||||
int getPort()const;
|
||||
void setPort(int port);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string parentId_;
|
||||
std::string password_;
|
||||
bool batchCreate_;
|
||||
std::string sourceIp_;
|
||||
std::string dataLimitList_;
|
||||
std::string lang_;
|
||||
std::string serviceRegionId_;
|
||||
std::string engineType_;
|
||||
int auditStatus_;
|
||||
int autoScan_;
|
||||
int logStoreDay_;
|
||||
int resourceType_;
|
||||
std::string connector_;
|
||||
int port_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,10 +37,12 @@ namespace AlibabaCloud
|
||||
CreateDataLimitResult();
|
||||
explicit CreateDataLimitResult(const std::string &payload);
|
||||
~CreateDataLimitResult();
|
||||
int getId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int id_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,6 +35,12 @@ namespace AlibabaCloud
|
||||
CreateRuleRequest();
|
||||
~CreateRuleRequest();
|
||||
|
||||
int getWarnLevel()const;
|
||||
void setWarnLevel(int warnLevel);
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
long getProductId()const;
|
||||
void setProductId(long productId);
|
||||
long getRiskLevelId()const;
|
||||
void setRiskLevelId(long riskLevelId);
|
||||
std::string getContent()const;
|
||||
@@ -45,6 +51,10 @@ namespace AlibabaCloud
|
||||
void setLang(const std::string& lang);
|
||||
int getFeatureType()const;
|
||||
void setFeatureType(int featureType);
|
||||
int getRuleType()const;
|
||||
void setRuleType(int ruleType);
|
||||
std::string getStatExpress()const;
|
||||
void setStatExpress(const std::string& statExpress);
|
||||
long getCustomType()const;
|
||||
void setCustomType(long customType);
|
||||
std::string getName()const;
|
||||
@@ -53,11 +63,16 @@ namespace AlibabaCloud
|
||||
void setCategory(int category);
|
||||
|
||||
private:
|
||||
int warnLevel_;
|
||||
std::string productCode_;
|
||||
long productId_;
|
||||
long riskLevelId_;
|
||||
std::string content_;
|
||||
std::string sourceIp_;
|
||||
std::string lang_;
|
||||
int featureType_;
|
||||
int ruleType_;
|
||||
std::string statExpress_;
|
||||
long customType_;
|
||||
std::string name_;
|
||||
int category_;
|
||||
|
||||
@@ -37,10 +37,12 @@ namespace AlibabaCloud
|
||||
CreateRuleResult();
|
||||
explicit CreateRuleResult(const std::string &payload);
|
||||
~CreateRuleResult();
|
||||
int getId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int id_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEAUDITLOGSREQUEST_H_
|
||||
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEAUDITLOGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/sddp/SddpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sddp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SDDP_EXPORT DescribeAuditLogsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAuditLogsRequest();
|
||||
~DescribeAuditLogsRequest();
|
||||
|
||||
int getProductCode()const;
|
||||
void setProductCode(int productCode);
|
||||
long getProductId()const;
|
||||
void setProductId(long productId);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getClientIp()const;
|
||||
void setClientIp(const std::string& clientIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
int getFeatureType()const;
|
||||
void setFeatureType(int featureType);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getClientUa()const;
|
||||
void setClientUa(const std::string& clientUa);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
int productCode_;
|
||||
long productId_;
|
||||
long startTime_;
|
||||
std::string sourceIp_;
|
||||
std::string clientIp_;
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
int featureType_;
|
||||
long endTime_;
|
||||
int currentPage_;
|
||||
std::string clientUa_;
|
||||
std::string instanceName_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEAUDITLOGSREQUEST_H_
|
||||
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEAUDITLOGSRESULT_H_
|
||||
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEAUDITLOGSRESULT_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 DescribeAuditLogsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Log
|
||||
{
|
||||
std::string userName;
|
||||
std::string productCode;
|
||||
std::string packageName;
|
||||
std::string ossObjectKey;
|
||||
long executeTime;
|
||||
long logTime;
|
||||
std::string ruleId;
|
||||
std::string clientUa;
|
||||
std::string databaseName;
|
||||
std::string clientPort;
|
||||
int executeStatus;
|
||||
long productId;
|
||||
std::string clientIp;
|
||||
long effectRow;
|
||||
std::string instanceName;
|
||||
std::string tableName;
|
||||
std::string columnName;
|
||||
std::string warnLevel;
|
||||
std::string userId;
|
||||
long creationTime;
|
||||
long id;
|
||||
std::string operateType;
|
||||
std::string ruleName;
|
||||
};
|
||||
|
||||
|
||||
DescribeAuditLogsResult();
|
||||
explicit DescribeAuditLogsResult(const std::string &payload);
|
||||
~DescribeAuditLogsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getCurrentPage()const;
|
||||
std::vector<Log> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::vector<Log> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEAUDITLOGSRESULT_H_
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setRiskLevels(const std::string& riskLevels);
|
||||
std::string getQueryName()const;
|
||||
void setQueryName(const std::string& queryName);
|
||||
long getRiskLevelId()const;
|
||||
void setRiskLevelId(long riskLevelId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getPageSize()const;
|
||||
@@ -51,6 +53,8 @@ namespace AlibabaCloud
|
||||
void setLang(const std::string& lang);
|
||||
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;
|
||||
@@ -64,11 +68,13 @@ namespace AlibabaCloud
|
||||
std::string productCode_;
|
||||
std::string riskLevels_;
|
||||
std::string queryName_;
|
||||
long riskLevelId_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
long tableId_;
|
||||
std::string lang_;
|
||||
int featureType_;
|
||||
std::string orderBy_;
|
||||
int currentPage_;
|
||||
long instanceId_;
|
||||
std::string name_;
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace AlibabaCloud
|
||||
bool sensitive;
|
||||
std::string dataType;
|
||||
std::string riskLevelName;
|
||||
long id;
|
||||
std::string id;
|
||||
std::string ruleName;
|
||||
};
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace AlibabaCloud
|
||||
bool sensitive;
|
||||
std::string dataType;
|
||||
std::string riskLevelName;
|
||||
long id;
|
||||
std::string id;
|
||||
int sensitiveCount;
|
||||
bool protection;
|
||||
std::string ruleName;
|
||||
|
||||
@@ -36,15 +36,18 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string parentId;
|
||||
std::string connector;
|
||||
long gmtCreate;
|
||||
std::string userName;
|
||||
int logStoreDay;
|
||||
int port;
|
||||
int checkStatus;
|
||||
std::string resourceTypeCode;
|
||||
long resourceType;
|
||||
std::string localName;
|
||||
long gmtCreate;
|
||||
int auditStatus;
|
||||
std::string resourceTypeCode;
|
||||
std::string regionId;
|
||||
long id;
|
||||
std::string checkStatusName;
|
||||
std::string localName;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -35,20 +35,41 @@ namespace AlibabaCloud
|
||||
DescribeDataLimitsRequest();
|
||||
~DescribeDataLimitsRequest();
|
||||
|
||||
int getResourceType()const;
|
||||
void setResourceType(int resourceType);
|
||||
std::string getParentId()const;
|
||||
void setParentId(const std::string& parentId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
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);
|
||||
int getAuditStatus()const;
|
||||
void setAuditStatus(int auditStatus);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
int getResourceType()const;
|
||||
void setResourceType(int resourceType);
|
||||
|
||||
private:
|
||||
int resourceType_;
|
||||
std::string parentId_;
|
||||
std::string sourceIp_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
int checkStatus_;
|
||||
std::string lang_;
|
||||
std::string serviceRegionId_;
|
||||
std::string engineType_;
|
||||
int auditStatus_;
|
||||
int currentPage_;
|
||||
int resourceType_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,27 +36,45 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string parentId;
|
||||
std::string connector;
|
||||
long gmtCreate;
|
||||
std::string userName;
|
||||
int processStatus;
|
||||
int logStoreDay;
|
||||
int port;
|
||||
int checkStatus;
|
||||
std::string resourceTypeCode;
|
||||
long resourceType;
|
||||
std::string localName;
|
||||
long gmtCreate;
|
||||
int totalCount;
|
||||
int auditStatus;
|
||||
long lastFinishedTime;
|
||||
int autoScan;
|
||||
std::string resourceTypeCode;
|
||||
int enable;
|
||||
std::string engineType;
|
||||
std::string regionId;
|
||||
long id;
|
||||
std::string errorCode;
|
||||
std::string checkStatusName;
|
||||
std::string localName;
|
||||
std::string errorMessage;
|
||||
int processTotalCount;
|
||||
};
|
||||
|
||||
|
||||
DescribeDataLimitsResult();
|
||||
explicit DescribeDataLimitsResult(const std::string &payload);
|
||||
~DescribeDataLimitsResult();
|
||||
std::vector<DataLimit> getDataLimitList()const;
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getCurrentPage()const;
|
||||
std::vector<DataLimit> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DataLimit> dataLimitList_;
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::vector<DataLimit> items_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_DESCRIBEDATAMASKINGRUNHISTORYREQUEST_H_
|
||||
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAMASKINGRUNHISTORYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/sddp/SddpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sddp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SDDP_EXPORT DescribeDataMaskingRunHistoryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDataMaskingRunHistoryRequest();
|
||||
~DescribeDataMaskingRunHistoryRequest();
|
||||
|
||||
int getSrcType()const;
|
||||
void setSrcType(int srcType);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
int getFeatureType()const;
|
||||
void setFeatureType(int featureType);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
int getDstType()const;
|
||||
void setDstType(int dstType);
|
||||
int getStatus()const;
|
||||
void setStatus(int status);
|
||||
|
||||
private:
|
||||
int srcType_;
|
||||
long startTime_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
std::string taskId_;
|
||||
int featureType_;
|
||||
long endTime_;
|
||||
int currentPage_;
|
||||
int dstType_;
|
||||
int status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAMASKINGRUNHISTORYREQUEST_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAMASKINGRUNHISTORYRESULT_H_
|
||||
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAMASKINGRUNHISTORYRESULT_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 DescribeDataMaskingRunHistoryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Task
|
||||
{
|
||||
int status;
|
||||
int runIndex;
|
||||
std::string taskId;
|
||||
int percentage;
|
||||
long maskingCount;
|
||||
std::string failCode;
|
||||
long startTime;
|
||||
std::string dstTypeCode;
|
||||
long conflictCount;
|
||||
int dstType;
|
||||
int type;
|
||||
int srcType;
|
||||
long id;
|
||||
std::string srcTypeCode;
|
||||
};
|
||||
|
||||
|
||||
DescribeDataMaskingRunHistoryResult();
|
||||
explicit DescribeDataMaskingRunHistoryResult(const std::string &payload);
|
||||
~DescribeDataMaskingRunHistoryResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getCurrentPage()const;
|
||||
std::vector<Task> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::vector<Task> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAMASKINGRUNHISTORYRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAMASKINGTASKSREQUEST_H_
|
||||
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAMASKINGTASKSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/sddp/SddpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sddp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SDDP_EXPORT DescribeDataMaskingTasksRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDataMaskingTasksRequest();
|
||||
~DescribeDataMaskingTasksRequest();
|
||||
|
||||
std::string getSearchKey()const;
|
||||
void setSearchKey(const std::string& searchKey);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
int getFeatureType()const;
|
||||
void setFeatureType(int featureType);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
int getDstType()const;
|
||||
void setDstType(int dstType);
|
||||
|
||||
private:
|
||||
std::string searchKey_;
|
||||
long startTime_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
int featureType_;
|
||||
long endTime_;
|
||||
int currentPage_;
|
||||
int dstType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAMASKINGTASKSREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAMASKINGTASKSRESULT_H_
|
||||
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAMASKINGTASKSRESULT_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 DescribeDataMaskingTasksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Task
|
||||
{
|
||||
int status;
|
||||
int triggerType;
|
||||
std::string owner;
|
||||
std::string taskId;
|
||||
std::string dstPath;
|
||||
bool hasUnfinishProcess;
|
||||
std::string dstTypeCode;
|
||||
std::string srcPath;
|
||||
int dstType;
|
||||
long gmtCreate;
|
||||
std::string taskName;
|
||||
int srcType;
|
||||
int runCount;
|
||||
long id;
|
||||
std::string srcTypeCode;
|
||||
};
|
||||
|
||||
|
||||
DescribeDataMaskingTasksResult();
|
||||
explicit DescribeDataMaskingTasksResult(const std::string &payload);
|
||||
~DescribeDataMaskingTasksResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getCurrentPage()const;
|
||||
std::vector<Task> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::vector<Task> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAMASKINGTASKSRESULT_H_
|
||||
@@ -49,6 +49,7 @@ namespace AlibabaCloud
|
||||
std::string y;
|
||||
};
|
||||
std::string yLabel;
|
||||
std::string type;
|
||||
std::string label;
|
||||
Data data;
|
||||
std::string xLabel;
|
||||
@@ -74,7 +75,6 @@ namespace AlibabaCloud
|
||||
long alertTime;
|
||||
std::string departName;
|
||||
std::string dealReason;
|
||||
std::string telephoneNum;
|
||||
std::string dealLoginName;
|
||||
std::string dealDisplayName;
|
||||
std::string subTypeName;
|
||||
|
||||
@@ -44,7 +44,6 @@ namespace AlibabaCloud
|
||||
std::string subTypeCode;
|
||||
long alertTime;
|
||||
std::string departName;
|
||||
std::string telephoneNum;
|
||||
std::string dealLoginName;
|
||||
std::string dealDisplayName;
|
||||
std::string subTypeName;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setProductCode(const std::string& productCode);
|
||||
long getProductId()const;
|
||||
void setProductId(long productId);
|
||||
std::string getRiskLevels()const;
|
||||
void setRiskLevels(const std::string& riskLevels);
|
||||
std::string getQueryName()const;
|
||||
void setQueryName(const std::string& queryName);
|
||||
long getRiskLevelId()const;
|
||||
@@ -51,8 +53,12 @@ namespace AlibabaCloud
|
||||
void setLang(const std::string& lang);
|
||||
int getQueryType()const;
|
||||
void setQueryType(int queryType);
|
||||
std::string getServiceRegionId()const;
|
||||
void setServiceRegionId(const std::string& serviceRegionId);
|
||||
int getFeatureType()const;
|
||||
void setFeatureType(int featureType);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getName()const;
|
||||
@@ -63,13 +69,16 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string productCode_;
|
||||
long productId_;
|
||||
std::string riskLevels_;
|
||||
std::string queryName_;
|
||||
long riskLevelId_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
int queryType_;
|
||||
std::string serviceRegionId_;
|
||||
int featureType_;
|
||||
std::string orderBy_;
|
||||
int currentPage_;
|
||||
std::string name_;
|
||||
long ruleId_;
|
||||
|
||||
@@ -39,18 +39,24 @@ namespace AlibabaCloud
|
||||
std::string odpsRiskLevelName;
|
||||
std::string productId;
|
||||
std::string acl;
|
||||
int s2Count;
|
||||
long riskLevelId;
|
||||
std::string departName;
|
||||
std::string name;
|
||||
int labelsec;
|
||||
bool labelsec;
|
||||
int totalCount;
|
||||
std::string regionName;
|
||||
long lastFinishTime;
|
||||
long creationTime;
|
||||
bool sensitive;
|
||||
std::string riskLevelName;
|
||||
std::string engineType;
|
||||
long id;
|
||||
std::string regionId;
|
||||
int sensitiveCount;
|
||||
bool protection;
|
||||
std::string ruleName;
|
||||
int s3Count;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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_DESCRIBEORIGINALLOGSREQUEST_H_
|
||||
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEORIGINALLOGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/sddp/SddpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sddp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SDDP_EXPORT DescribeOriginalLogsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeOriginalLogsRequest();
|
||||
~DescribeOriginalLogsRequest();
|
||||
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getLogType()const;
|
||||
void setLogType(const std::string& logType);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getClientIp()const;
|
||||
void setClientIp(const std::string& clientIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getTableName()const;
|
||||
void setTableName(const std::string& tableName);
|
||||
std::string getOssObjectKey()const;
|
||||
void setOssObjectKey(const std::string& ossObjectKey);
|
||||
int getFeatureType()const;
|
||||
void setFeatureType(int featureType);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getClientUa()const;
|
||||
void setClientUa(const std::string& clientUa);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getDatabaseName()const;
|
||||
void setDatabaseName(const std::string& databaseName);
|
||||
std::string getOperateType()const;
|
||||
void setOperateType(const std::string& operateType);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
long startTime_;
|
||||
std::string logType_;
|
||||
std::string sourceIp_;
|
||||
std::string clientIp_;
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
std::string tableName_;
|
||||
std::string ossObjectKey_;
|
||||
int featureType_;
|
||||
long endTime_;
|
||||
int currentPage_;
|
||||
std::string clientUa_;
|
||||
std::string instanceName_;
|
||||
std::string databaseName_;
|
||||
std::string operateType_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEORIGINALLOGSREQUEST_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEORIGINALLOGSRESULT_H_
|
||||
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEORIGINALLOGSRESULT_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 DescribeOriginalLogsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Log
|
||||
{
|
||||
struct LogContent
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::vector<Log::LogContent> logContents;
|
||||
};
|
||||
|
||||
|
||||
DescribeOriginalLogsResult();
|
||||
explicit DescribeOriginalLogsResult(const std::string &payload);
|
||||
~DescribeOriginalLogsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getCurrentPage()const;
|
||||
std::vector<Log> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::vector<Log> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEORIGINALLOGSRESULT_H_
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct Rule
|
||||
{
|
||||
int category;
|
||||
long count;
|
||||
std::string ruleName;
|
||||
};
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
DescribeOssObjectsRequest();
|
||||
~DescribeOssObjectsRequest();
|
||||
|
||||
std::string getRiskLevels()const;
|
||||
void setRiskLevels(const std::string& riskLevels);
|
||||
std::string getQueryName()const;
|
||||
void setQueryName(const std::string& queryName);
|
||||
int getRiskLevelId()const;
|
||||
@@ -47,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setLang(const std::string& lang);
|
||||
int getFeatureType()const;
|
||||
void setFeatureType(int featureType);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getInstanceId()const;
|
||||
@@ -55,18 +59,23 @@ namespace AlibabaCloud
|
||||
void setName(const std::string& name);
|
||||
long getRuleId()const;
|
||||
void setRuleId(long ruleId);
|
||||
int getCategory()const;
|
||||
void setCategory(int category);
|
||||
|
||||
private:
|
||||
std::string riskLevels_;
|
||||
std::string queryName_;
|
||||
int riskLevelId_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
int featureType_;
|
||||
std::string orderBy_;
|
||||
int currentPage_;
|
||||
std::string instanceId_;
|
||||
std::string name_;
|
||||
long ruleId_;
|
||||
int category_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,14 +34,19 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Column
|
||||
{
|
||||
int ruleCount;
|
||||
long category;
|
||||
long instanceId;
|
||||
std::string fileId;
|
||||
long riskLevelName;
|
||||
long id;
|
||||
std::string regionId;
|
||||
long size;
|
||||
long riskLevelId;
|
||||
std::string name;
|
||||
std::string bucketName;
|
||||
std::string categoryName;
|
||||
std::string fileId;
|
||||
std::string riskLevelName;
|
||||
std::string id;
|
||||
std::string regionId;
|
||||
int sensitiveCount;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getProductId()const;
|
||||
void setProductId(long productId);
|
||||
std::string getRiskLevels()const;
|
||||
void setRiskLevels(const std::string& riskLevels);
|
||||
std::string getQueryName()const;
|
||||
void setQueryName(const std::string& queryName);
|
||||
long getRiskLevelId()const;
|
||||
@@ -51,6 +53,8 @@ namespace AlibabaCloud
|
||||
void setQueryType(int queryType);
|
||||
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;
|
||||
@@ -62,6 +66,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long productId_;
|
||||
std::string riskLevels_;
|
||||
std::string queryName_;
|
||||
long riskLevelId_;
|
||||
std::string sourceIp_;
|
||||
@@ -69,6 +74,7 @@ namespace AlibabaCloud
|
||||
std::string lang_;
|
||||
int queryType_;
|
||||
int featureType_;
|
||||
std::string orderBy_;
|
||||
int currentPage_;
|
||||
long instanceId_;
|
||||
std::string name_;
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
DescribePrivilegesRequest();
|
||||
~DescribePrivilegesRequest();
|
||||
|
||||
int getAccountType()const;
|
||||
void setAccountType(int accountType);
|
||||
long getAccountId()const;
|
||||
void setAccountId(long accountId);
|
||||
std::string getSourceIp()const;
|
||||
@@ -55,6 +57,7 @@ namespace AlibabaCloud
|
||||
void setDataTypeIds(const std::string& dataTypeIds);
|
||||
|
||||
private:
|
||||
int accountType_;
|
||||
long accountId_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
|
||||
@@ -35,6 +35,12 @@ namespace AlibabaCloud
|
||||
DescribeRulesRequest();
|
||||
~DescribeRulesRequest();
|
||||
|
||||
int getWarnLevel()const;
|
||||
void setWarnLevel(int warnLevel);
|
||||
int getProductCode()const;
|
||||
void setProductCode(int productCode);
|
||||
long getProductId()const;
|
||||
void setProductId(long productId);
|
||||
long getRiskLevelId()const;
|
||||
void setRiskLevelId(long riskLevelId);
|
||||
std::string getSourceIp()const;
|
||||
@@ -43,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setPageSize(int pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
int getRuleType()const;
|
||||
void setRuleType(int ruleType);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
int getCustomType()const;
|
||||
@@ -53,10 +61,14 @@ namespace AlibabaCloud
|
||||
void setCategory(int category);
|
||||
|
||||
private:
|
||||
int warnLevel_;
|
||||
int productCode_;
|
||||
long productId_;
|
||||
long riskLevelId_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
int ruleType_;
|
||||
int currentPage_;
|
||||
int customType_;
|
||||
std::string name_;
|
||||
|
||||
@@ -39,11 +39,16 @@ namespace AlibabaCloud
|
||||
std::string loginName;
|
||||
std::string description;
|
||||
int category;
|
||||
std::string productCode;
|
||||
long gmtModified;
|
||||
std::string statExpress;
|
||||
long productId;
|
||||
long riskLevelId;
|
||||
std::string departName;
|
||||
std::string name;
|
||||
int hitTotalCount;
|
||||
long gmtCreate;
|
||||
int warnLevel;
|
||||
long userId;
|
||||
std::string content;
|
||||
std::string displayName;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setProductCode(const std::string& productCode);
|
||||
long getProductId()const;
|
||||
void setProductId(long productId);
|
||||
std::string getRiskLevels()const;
|
||||
void setRiskLevels(const std::string& riskLevels);
|
||||
long getPackageId()const;
|
||||
void setPackageId(long packageId);
|
||||
std::string getQueryName()const;
|
||||
@@ -55,6 +57,8 @@ namespace AlibabaCloud
|
||||
void setQueryType(int queryType);
|
||||
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;
|
||||
@@ -67,6 +71,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string productCode_;
|
||||
long productId_;
|
||||
std::string riskLevels_;
|
||||
long packageId_;
|
||||
std::string queryName_;
|
||||
long riskLevelId_;
|
||||
@@ -75,6 +80,7 @@ namespace AlibabaCloud
|
||||
std::string lang_;
|
||||
int queryType_;
|
||||
int featureType_;
|
||||
std::string orderBy_;
|
||||
int currentPage_;
|
||||
long instanceId_;
|
||||
std::string name_;
|
||||
|
||||
@@ -39,15 +39,19 @@ namespace AlibabaCloud
|
||||
long instanceId;
|
||||
std::string sensitiveRatio;
|
||||
std::string productId;
|
||||
int s2Count;
|
||||
long lastScanTime;
|
||||
long riskLevelId;
|
||||
std::string departName;
|
||||
std::string name;
|
||||
int totalCount;
|
||||
int totalRows;
|
||||
long creationTime;
|
||||
bool sensitive;
|
||||
std::string riskLevelName;
|
||||
long id;
|
||||
int sensitiveCount;
|
||||
int s3Count;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEUSEFLOWREQUEST_H_
|
||||
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEUSEFLOWREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/sddp/SddpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sddp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SDDP_EXPORT DescribeUseFlowRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeUseFlowRequest();
|
||||
~DescribeUseFlowRequest();
|
||||
|
||||
std::string getDateType()const;
|
||||
void setDateType(const std::string& dateType);
|
||||
int getFeatureType()const;
|
||||
void setFeatureType(int featureType);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getDays()const;
|
||||
void setDays(int days);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string dateType_;
|
||||
int featureType_;
|
||||
std::string sourceIp_;
|
||||
int days_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEUSEFLOWREQUEST_H_
|
||||
59
sddp/include/alibabacloud/sddp/model/DescribeUseFlowResult.h
Normal file
59
sddp/include/alibabacloud/sddp/model/DescribeUseFlowResult.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEUSEFLOWRESULT_H_
|
||||
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEUSEFLOWRESULT_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 DescribeUseFlowResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct UseFlow
|
||||
{
|
||||
long sddpCredits;
|
||||
long tableNum;
|
||||
int saleFlowCountType;
|
||||
long ossSize;
|
||||
long dataMaskCells;
|
||||
};
|
||||
|
||||
|
||||
DescribeUseFlowResult();
|
||||
explicit DescribeUseFlowResult(const std::string &payload);
|
||||
~DescribeUseFlowResult();
|
||||
UseFlow getUseFlow()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
UseFlow useFlow_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEUSEFLOWRESULT_H_
|
||||
54
sddp/include/alibabacloud/sddp/model/ExecDatamaskRequest.h
Normal file
54
sddp/include/alibabacloud/sddp/model/ExecDatamaskRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SDDP_MODEL_EXECDATAMASKREQUEST_H_
|
||||
#define ALIBABACLOUD_SDDP_MODEL_EXECDATAMASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/sddp/SddpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sddp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SDDP_EXPORT ExecDatamaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ExecDatamaskRequest();
|
||||
~ExecDatamaskRequest();
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
long getTemplateId()const;
|
||||
void setTemplateId(long templateId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
long templateId_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SDDP_MODEL_EXECDATAMASKREQUEST_H_
|
||||
51
sddp/include/alibabacloud/sddp/model/ExecDatamaskResult.h
Normal file
51
sddp/include/alibabacloud/sddp/model/ExecDatamaskResult.h
Normal file
@@ -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_EXECDATAMASKRESULT_H_
|
||||
#define ALIBABACLOUD_SDDP_MODEL_EXECDATAMASKRESULT_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 ExecDatamaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ExecDatamaskResult();
|
||||
explicit ExecDatamaskResult(const std::string &payload);
|
||||
~ExecDatamaskResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SDDP_MODEL_EXECDATAMASKRESULT_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_MANUALTRIGGERMASKINGPROCESSREQUEST_H_
|
||||
#define ALIBABACLOUD_SDDP_MODEL_MANUALTRIGGERMASKINGPROCESSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/sddp/SddpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sddp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SDDP_EXPORT ManualTriggerMaskingProcessRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ManualTriggerMaskingProcessRequest();
|
||||
~ManualTriggerMaskingProcessRequest();
|
||||
|
||||
int getFeatureType()const;
|
||||
void setFeatureType(int featureType);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
long getId()const;
|
||||
void setId(long id);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
int featureType_;
|
||||
std::string sourceIp_;
|
||||
long id_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SDDP_MODEL_MANUALTRIGGERMASKINGPROCESSREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SDDP_MODEL_MANUALTRIGGERMASKINGPROCESSRESULT_H_
|
||||
#define ALIBABACLOUD_SDDP_MODEL_MANUALTRIGGERMASKINGPROCESSRESULT_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 ManualTriggerMaskingProcessResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ManualTriggerMaskingProcessResult();
|
||||
explicit ManualTriggerMaskingProcessResult(const std::string &payload);
|
||||
~ManualTriggerMaskingProcessResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SDDP_MODEL_MANUALTRIGGERMASKINGPROCESSRESULT_H_
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
ModifyDataLimitRequest();
|
||||
~ModifyDataLimitRequest();
|
||||
|
||||
bool getModifyPassword()const;
|
||||
void setModifyPassword(bool modifyPassword);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
std::string getSourceIp()const;
|
||||
@@ -45,21 +47,37 @@ namespace AlibabaCloud
|
||||
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);
|
||||
int getAuditStatus()const;
|
||||
void setAuditStatus(int auditStatus);
|
||||
int getAutoScan()const;
|
||||
void setAutoScan(int autoScan);
|
||||
int getLogStoreDay()const;
|
||||
void setLogStoreDay(int logStoreDay);
|
||||
int getResourceType()const;
|
||||
void setResourceType(int resourceType);
|
||||
std::string getConnector()const;
|
||||
void setConnector(const std::string& connector);
|
||||
int getPort()const;
|
||||
void setPort(int port);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
bool modifyPassword_;
|
||||
std::string password_;
|
||||
std::string sourceIp_;
|
||||
long id_;
|
||||
std::string lang_;
|
||||
std::string serviceRegionId_;
|
||||
std::string engineType_;
|
||||
int auditStatus_;
|
||||
int autoScan_;
|
||||
int logStoreDay_;
|
||||
int resourceType_;
|
||||
std::string connector_;
|
||||
int port_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,6 +35,12 @@ namespace AlibabaCloud
|
||||
ModifyRuleRequest();
|
||||
~ModifyRuleRequest();
|
||||
|
||||
int getWarnLevel()const;
|
||||
void setWarnLevel(int warnLevel);
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
long getProductId()const;
|
||||
void setProductId(long productId);
|
||||
long getRiskLevelId()const;
|
||||
void setRiskLevelId(long riskLevelId);
|
||||
std::string getContent()const;
|
||||
@@ -47,6 +53,10 @@ namespace AlibabaCloud
|
||||
void setLang(const std::string& lang);
|
||||
int getFeatureType()const;
|
||||
void setFeatureType(int featureType);
|
||||
int getRuleType()const;
|
||||
void setRuleType(int ruleType);
|
||||
std::string getStatExpress()const;
|
||||
void setStatExpress(const std::string& statExpress);
|
||||
int getCustomType()const;
|
||||
void setCustomType(int customType);
|
||||
std::string getName()const;
|
||||
@@ -55,12 +65,17 @@ namespace AlibabaCloud
|
||||
void setCategory(int category);
|
||||
|
||||
private:
|
||||
int warnLevel_;
|
||||
std::string productCode_;
|
||||
long productId_;
|
||||
long riskLevelId_;
|
||||
std::string content_;
|
||||
std::string sourceIp_;
|
||||
long id_;
|
||||
std::string lang_;
|
||||
int featureType_;
|
||||
int ruleType_;
|
||||
std::string statExpress_;
|
||||
int customType_;
|
||||
std::string name_;
|
||||
int category_;
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SDDP_MODEL_MODIFYSALEFLOWCOUNTTYPEREQUEST_H_
|
||||
#define ALIBABACLOUD_SDDP_MODEL_MODIFYSALEFLOWCOUNTTYPEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/sddp/SddpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sddp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SDDP_EXPORT ModifySaleFlowCountTypeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifySaleFlowCountTypeRequest();
|
||||
~ModifySaleFlowCountTypeRequest();
|
||||
|
||||
int getSaleFlowCountType()const;
|
||||
void setSaleFlowCountType(int saleFlowCountType);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
int saleFlowCountType_;
|
||||
std::string sourceIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SDDP_MODEL_MODIFYSALEFLOWCOUNTTYPEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SDDP_MODEL_MODIFYSALEFLOWCOUNTTYPERESULT_H_
|
||||
#define ALIBABACLOUD_SDDP_MODEL_MODIFYSALEFLOWCOUNTTYPERESULT_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 ModifySaleFlowCountTypeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifySaleFlowCountTypeResult();
|
||||
explicit ModifySaleFlowCountTypeResult(const std::string &payload);
|
||||
~ModifySaleFlowCountTypeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SDDP_MODEL_MODIFYSALEFLOWCOUNTTYPERESULT_H_
|
||||
@@ -339,6 +339,42 @@ SddpClient::DescribeAccountsOutcomeCallable SddpClient::describeAccountsCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SddpClient::DescribeAuditLogsOutcome SddpClient::describeAuditLogs(const DescribeAuditLogsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAuditLogsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAuditLogsOutcome(DescribeAuditLogsResult(outcome.result()));
|
||||
else
|
||||
return DescribeAuditLogsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SddpClient::describeAuditLogsAsync(const DescribeAuditLogsRequest& request, const DescribeAuditLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAuditLogs(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SddpClient::DescribeAuditLogsOutcomeCallable SddpClient::describeAuditLogsCallable(const DescribeAuditLogsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAuditLogsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAuditLogs(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SddpClient::DescribeAuthAccountsOutcome SddpClient::describeAuthAccounts(const DescribeAuthAccountsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -771,6 +807,78 @@ SddpClient::DescribeDataLimitsOutcomeCallable SddpClient::describeDataLimitsCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SddpClient::DescribeDataMaskingRunHistoryOutcome SddpClient::describeDataMaskingRunHistory(const DescribeDataMaskingRunHistoryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDataMaskingRunHistoryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDataMaskingRunHistoryOutcome(DescribeDataMaskingRunHistoryResult(outcome.result()));
|
||||
else
|
||||
return DescribeDataMaskingRunHistoryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SddpClient::describeDataMaskingRunHistoryAsync(const DescribeDataMaskingRunHistoryRequest& request, const DescribeDataMaskingRunHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDataMaskingRunHistory(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SddpClient::DescribeDataMaskingRunHistoryOutcomeCallable SddpClient::describeDataMaskingRunHistoryCallable(const DescribeDataMaskingRunHistoryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDataMaskingRunHistoryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDataMaskingRunHistory(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SddpClient::DescribeDataMaskingTasksOutcome SddpClient::describeDataMaskingTasks(const DescribeDataMaskingTasksRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDataMaskingTasksOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDataMaskingTasksOutcome(DescribeDataMaskingTasksResult(outcome.result()));
|
||||
else
|
||||
return DescribeDataMaskingTasksOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SddpClient::describeDataMaskingTasksAsync(const DescribeDataMaskingTasksRequest& request, const DescribeDataMaskingTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDataMaskingTasks(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SddpClient::DescribeDataMaskingTasksOutcomeCallable SddpClient::describeDataMaskingTasksCallable(const DescribeDataMaskingTasksRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDataMaskingTasksOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDataMaskingTasks(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SddpClient::DescribeDepartsOutcome SddpClient::describeDeparts(const DescribeDepartsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -951,6 +1059,42 @@ SddpClient::DescribeInstancesOutcomeCallable SddpClient::describeInstancesCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SddpClient::DescribeOriginalLogsOutcome SddpClient::describeOriginalLogs(const DescribeOriginalLogsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeOriginalLogsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeOriginalLogsOutcome(DescribeOriginalLogsResult(outcome.result()));
|
||||
else
|
||||
return DescribeOriginalLogsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SddpClient::describeOriginalLogsAsync(const DescribeOriginalLogsRequest& request, const DescribeOriginalLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeOriginalLogs(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SddpClient::DescribeOriginalLogsOutcomeCallable SddpClient::describeOriginalLogsCallable(const DescribeOriginalLogsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeOriginalLogsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeOriginalLogs(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SddpClient::DescribeOssObjectDetailOutcome SddpClient::describeOssObjectDetail(const DescribeOssObjectDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1167,6 +1311,42 @@ SddpClient::DescribeTablesOutcomeCallable SddpClient::describeTablesCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SddpClient::DescribeUseFlowOutcome SddpClient::describeUseFlow(const DescribeUseFlowRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeUseFlowOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeUseFlowOutcome(DescribeUseFlowResult(outcome.result()));
|
||||
else
|
||||
return DescribeUseFlowOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SddpClient::describeUseFlowAsync(const DescribeUseFlowRequest& request, const DescribeUseFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeUseFlow(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SddpClient::DescribeUseFlowOutcomeCallable SddpClient::describeUseFlowCallable(const DescribeUseFlowRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeUseFlowOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeUseFlow(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SddpClient::DescribeUserStatusOutcome SddpClient::describeUserStatus(const DescribeUserStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1203,6 +1383,78 @@ SddpClient::DescribeUserStatusOutcomeCallable SddpClient::describeUserStatusCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SddpClient::ExecDatamaskOutcome SddpClient::execDatamask(const ExecDatamaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ExecDatamaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ExecDatamaskOutcome(ExecDatamaskResult(outcome.result()));
|
||||
else
|
||||
return ExecDatamaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SddpClient::execDatamaskAsync(const ExecDatamaskRequest& request, const ExecDatamaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, execDatamask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SddpClient::ExecDatamaskOutcomeCallable SddpClient::execDatamaskCallable(const ExecDatamaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ExecDatamaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->execDatamask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SddpClient::ManualTriggerMaskingProcessOutcome SddpClient::manualTriggerMaskingProcess(const ManualTriggerMaskingProcessRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ManualTriggerMaskingProcessOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ManualTriggerMaskingProcessOutcome(ManualTriggerMaskingProcessResult(outcome.result()));
|
||||
else
|
||||
return ManualTriggerMaskingProcessOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SddpClient::manualTriggerMaskingProcessAsync(const ManualTriggerMaskingProcessRequest& request, const ManualTriggerMaskingProcessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, manualTriggerMaskingProcess(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SddpClient::ManualTriggerMaskingProcessOutcomeCallable SddpClient::manualTriggerMaskingProcessCallable(const ManualTriggerMaskingProcessRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ManualTriggerMaskingProcessOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->manualTriggerMaskingProcess(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SddpClient::ModifyDataLimitOutcome SddpClient::modifyDataLimit(const ModifyDataLimitRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1419,6 +1671,42 @@ SddpClient::ModifyRuleStatusOutcomeCallable SddpClient::modifyRuleStatusCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SddpClient::ModifySaleFlowCountTypeOutcome SddpClient::modifySaleFlowCountType(const ModifySaleFlowCountTypeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifySaleFlowCountTypeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifySaleFlowCountTypeOutcome(ModifySaleFlowCountTypeResult(outcome.result()));
|
||||
else
|
||||
return ModifySaleFlowCountTypeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SddpClient::modifySaleFlowCountTypeAsync(const ModifySaleFlowCountTypeRequest& request, const ModifySaleFlowCountTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifySaleFlowCountType(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SddpClient::ModifySaleFlowCountTypeOutcomeCallable SddpClient::modifySaleFlowCountTypeCallable(const ModifySaleFlowCountTypeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifySaleFlowCountTypeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifySaleFlowCountType(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SddpClient::ValidateConnectorOutcome SddpClient::validateConnector(const ValidateConnectorRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::CreateConfigRequest;
|
||||
|
||||
CreateConfigRequest::CreateConfigRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "CreateConfig")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateConfigRequest::~CreateConfigRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string CreateConfigRequest::getCode()const
|
||||
void CreateConfigRequest::setCode(const std::string& code)
|
||||
{
|
||||
code_ = code;
|
||||
setCoreParameter("Code", code);
|
||||
setParameter("Code", code);
|
||||
}
|
||||
|
||||
std::string CreateConfigRequest::getDescription()const
|
||||
@@ -44,7 +46,7 @@ std::string CreateConfigRequest::getDescription()const
|
||||
void CreateConfigRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateConfigRequest::getSourceIp()const
|
||||
@@ -55,7 +57,7 @@ std::string CreateConfigRequest::getSourceIp()const
|
||||
void CreateConfigRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string CreateConfigRequest::getLang()const
|
||||
@@ -66,7 +68,7 @@ std::string CreateConfigRequest::getLang()const
|
||||
void CreateConfigRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string CreateConfigRequest::getValue()const
|
||||
@@ -77,7 +79,7 @@ std::string CreateConfigRequest::getValue()const
|
||||
void CreateConfigRequest::setValue(const std::string& value)
|
||||
{
|
||||
value_ = value;
|
||||
setCoreParameter("Value", value);
|
||||
setParameter("Value", value);
|
||||
}
|
||||
|
||||
int CreateConfigRequest::getFeatureType()const
|
||||
@@ -88,7 +90,7 @@ int CreateConfigRequest::getFeatureType()const
|
||||
void CreateConfigRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
std::string CreateConfigRequest::getConfigList()const
|
||||
@@ -99,6 +101,6 @@ std::string CreateConfigRequest::getConfigList()const
|
||||
void CreateConfigRequest::setConfigList(const std::string& configList)
|
||||
{
|
||||
configList_ = configList;
|
||||
setCoreParameter("ConfigList", configList);
|
||||
setParameter("ConfigList", configList);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::CreateDataLimitRequest;
|
||||
|
||||
CreateDataLimitRequest::CreateDataLimitRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "CreateDataLimit")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDataLimitRequest::~CreateDataLimitRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string CreateDataLimitRequest::getParentId()const
|
||||
void CreateDataLimitRequest::setParentId(const std::string& parentId)
|
||||
{
|
||||
parentId_ = parentId;
|
||||
setCoreParameter("ParentId", parentId);
|
||||
setParameter("ParentId", parentId);
|
||||
}
|
||||
|
||||
std::string CreateDataLimitRequest::getPassword()const
|
||||
@@ -44,7 +46,18 @@ std::string CreateDataLimitRequest::getPassword()const
|
||||
void CreateDataLimitRequest::setPassword(const std::string& password)
|
||||
{
|
||||
password_ = password;
|
||||
setCoreParameter("Password", password);
|
||||
setParameter("Password", password);
|
||||
}
|
||||
|
||||
bool CreateDataLimitRequest::getBatchCreate()const
|
||||
{
|
||||
return batchCreate_;
|
||||
}
|
||||
|
||||
void CreateDataLimitRequest::setBatchCreate(bool batchCreate)
|
||||
{
|
||||
batchCreate_ = batchCreate;
|
||||
setParameter("BatchCreate", batchCreate ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateDataLimitRequest::getSourceIp()const
|
||||
@@ -55,7 +68,7 @@ std::string CreateDataLimitRequest::getSourceIp()const
|
||||
void CreateDataLimitRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string CreateDataLimitRequest::getDataLimitList()const
|
||||
@@ -66,7 +79,7 @@ std::string CreateDataLimitRequest::getDataLimitList()const
|
||||
void CreateDataLimitRequest::setDataLimitList(const std::string& dataLimitList)
|
||||
{
|
||||
dataLimitList_ = dataLimitList;
|
||||
setCoreParameter("DataLimitList", dataLimitList);
|
||||
setParameter("DataLimitList", dataLimitList);
|
||||
}
|
||||
|
||||
std::string CreateDataLimitRequest::getLang()const
|
||||
@@ -77,7 +90,7 @@ std::string CreateDataLimitRequest::getLang()const
|
||||
void CreateDataLimitRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string CreateDataLimitRequest::getServiceRegionId()const
|
||||
@@ -88,7 +101,51 @@ std::string CreateDataLimitRequest::getServiceRegionId()const
|
||||
void CreateDataLimitRequest::setServiceRegionId(const std::string& serviceRegionId)
|
||||
{
|
||||
serviceRegionId_ = serviceRegionId;
|
||||
setCoreParameter("ServiceRegionId", serviceRegionId);
|
||||
setParameter("ServiceRegionId", serviceRegionId);
|
||||
}
|
||||
|
||||
std::string CreateDataLimitRequest::getEngineType()const
|
||||
{
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
void CreateDataLimitRequest::setEngineType(const std::string& engineType)
|
||||
{
|
||||
engineType_ = engineType;
|
||||
setParameter("EngineType", engineType);
|
||||
}
|
||||
|
||||
int CreateDataLimitRequest::getAuditStatus()const
|
||||
{
|
||||
return auditStatus_;
|
||||
}
|
||||
|
||||
void CreateDataLimitRequest::setAuditStatus(int auditStatus)
|
||||
{
|
||||
auditStatus_ = auditStatus;
|
||||
setParameter("AuditStatus", std::to_string(auditStatus));
|
||||
}
|
||||
|
||||
int CreateDataLimitRequest::getAutoScan()const
|
||||
{
|
||||
return autoScan_;
|
||||
}
|
||||
|
||||
void CreateDataLimitRequest::setAutoScan(int autoScan)
|
||||
{
|
||||
autoScan_ = autoScan;
|
||||
setParameter("AutoScan", std::to_string(autoScan));
|
||||
}
|
||||
|
||||
int CreateDataLimitRequest::getLogStoreDay()const
|
||||
{
|
||||
return logStoreDay_;
|
||||
}
|
||||
|
||||
void CreateDataLimitRequest::setLogStoreDay(int logStoreDay)
|
||||
{
|
||||
logStoreDay_ = logStoreDay;
|
||||
setParameter("LogStoreDay", std::to_string(logStoreDay));
|
||||
}
|
||||
|
||||
int CreateDataLimitRequest::getResourceType()const
|
||||
@@ -99,7 +156,7 @@ int CreateDataLimitRequest::getResourceType()const
|
||||
void CreateDataLimitRequest::setResourceType(int resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setCoreParameter("ResourceType", std::to_string(resourceType));
|
||||
setParameter("ResourceType", std::to_string(resourceType));
|
||||
}
|
||||
|
||||
std::string CreateDataLimitRequest::getConnector()const
|
||||
@@ -110,7 +167,18 @@ std::string CreateDataLimitRequest::getConnector()const
|
||||
void CreateDataLimitRequest::setConnector(const std::string& connector)
|
||||
{
|
||||
connector_ = connector;
|
||||
setCoreParameter("Connector", connector);
|
||||
setParameter("Connector", connector);
|
||||
}
|
||||
|
||||
int CreateDataLimitRequest::getPort()const
|
||||
{
|
||||
return port_;
|
||||
}
|
||||
|
||||
void CreateDataLimitRequest::setPort(int port)
|
||||
{
|
||||
port_ = port;
|
||||
setParameter("Port", std::to_string(port));
|
||||
}
|
||||
|
||||
std::string CreateDataLimitRequest::getUserName()const
|
||||
@@ -121,6 +189,6 @@ std::string CreateDataLimitRequest::getUserName()const
|
||||
void CreateDataLimitRequest::setUserName(const std::string& userName)
|
||||
{
|
||||
userName_ = userName;
|
||||
setCoreParameter("UserName", userName);
|
||||
setParameter("UserName", userName);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,6 +39,13 @@ void CreateDataLimitResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Id"].isNull())
|
||||
id_ = std::stoi(value["Id"].asString());
|
||||
|
||||
}
|
||||
|
||||
int CreateDataLimitResult::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
|
||||
@@ -20,11 +20,46 @@ using AlibabaCloud::Sddp::Model::CreateRuleRequest;
|
||||
|
||||
CreateRuleRequest::CreateRuleRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "CreateRule")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateRuleRequest::~CreateRuleRequest()
|
||||
{}
|
||||
|
||||
int CreateRuleRequest::getWarnLevel()const
|
||||
{
|
||||
return warnLevel_;
|
||||
}
|
||||
|
||||
void CreateRuleRequest::setWarnLevel(int warnLevel)
|
||||
{
|
||||
warnLevel_ = warnLevel;
|
||||
setParameter("WarnLevel", std::to_string(warnLevel));
|
||||
}
|
||||
|
||||
std::string CreateRuleRequest::getProductCode()const
|
||||
{
|
||||
return productCode_;
|
||||
}
|
||||
|
||||
void CreateRuleRequest::setProductCode(const std::string& productCode)
|
||||
{
|
||||
productCode_ = productCode;
|
||||
setParameter("ProductCode", productCode);
|
||||
}
|
||||
|
||||
long CreateRuleRequest::getProductId()const
|
||||
{
|
||||
return productId_;
|
||||
}
|
||||
|
||||
void CreateRuleRequest::setProductId(long productId)
|
||||
{
|
||||
productId_ = productId;
|
||||
setParameter("ProductId", std::to_string(productId));
|
||||
}
|
||||
|
||||
long CreateRuleRequest::getRiskLevelId()const
|
||||
{
|
||||
return riskLevelId_;
|
||||
@@ -33,7 +68,7 @@ long CreateRuleRequest::getRiskLevelId()const
|
||||
void CreateRuleRequest::setRiskLevelId(long riskLevelId)
|
||||
{
|
||||
riskLevelId_ = riskLevelId;
|
||||
setCoreParameter("RiskLevelId", std::to_string(riskLevelId));
|
||||
setParameter("RiskLevelId", std::to_string(riskLevelId));
|
||||
}
|
||||
|
||||
std::string CreateRuleRequest::getContent()const
|
||||
@@ -44,7 +79,7 @@ std::string CreateRuleRequest::getContent()const
|
||||
void CreateRuleRequest::setContent(const std::string& content)
|
||||
{
|
||||
content_ = content;
|
||||
setCoreParameter("Content", content);
|
||||
setParameter("Content", content);
|
||||
}
|
||||
|
||||
std::string CreateRuleRequest::getSourceIp()const
|
||||
@@ -55,7 +90,7 @@ std::string CreateRuleRequest::getSourceIp()const
|
||||
void CreateRuleRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string CreateRuleRequest::getLang()const
|
||||
@@ -66,7 +101,7 @@ std::string CreateRuleRequest::getLang()const
|
||||
void CreateRuleRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int CreateRuleRequest::getFeatureType()const
|
||||
@@ -77,7 +112,29 @@ int CreateRuleRequest::getFeatureType()const
|
||||
void CreateRuleRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
int CreateRuleRequest::getRuleType()const
|
||||
{
|
||||
return ruleType_;
|
||||
}
|
||||
|
||||
void CreateRuleRequest::setRuleType(int ruleType)
|
||||
{
|
||||
ruleType_ = ruleType;
|
||||
setParameter("RuleType", std::to_string(ruleType));
|
||||
}
|
||||
|
||||
std::string CreateRuleRequest::getStatExpress()const
|
||||
{
|
||||
return statExpress_;
|
||||
}
|
||||
|
||||
void CreateRuleRequest::setStatExpress(const std::string& statExpress)
|
||||
{
|
||||
statExpress_ = statExpress;
|
||||
setParameter("StatExpress", statExpress);
|
||||
}
|
||||
|
||||
long CreateRuleRequest::getCustomType()const
|
||||
@@ -88,7 +145,7 @@ long CreateRuleRequest::getCustomType()const
|
||||
void CreateRuleRequest::setCustomType(long customType)
|
||||
{
|
||||
customType_ = customType;
|
||||
setCoreParameter("CustomType", std::to_string(customType));
|
||||
setParameter("CustomType", std::to_string(customType));
|
||||
}
|
||||
|
||||
std::string CreateRuleRequest::getName()const
|
||||
@@ -99,7 +156,7 @@ std::string CreateRuleRequest::getName()const
|
||||
void CreateRuleRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
int CreateRuleRequest::getCategory()const
|
||||
@@ -110,6 +167,6 @@ int CreateRuleRequest::getCategory()const
|
||||
void CreateRuleRequest::setCategory(int category)
|
||||
{
|
||||
category_ = category;
|
||||
setCoreParameter("Category", std::to_string(category));
|
||||
setParameter("Category", std::to_string(category));
|
||||
}
|
||||
|
||||
|
||||
@@ -39,6 +39,13 @@ void CreateRuleResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Id"].isNull())
|
||||
id_ = std::stoi(value["Id"].asString());
|
||||
|
||||
}
|
||||
|
||||
int CreateRuleResult::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DeleteDataLimitRequest;
|
||||
|
||||
DeleteDataLimitRequest::DeleteDataLimitRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DeleteDataLimit")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDataLimitRequest::~DeleteDataLimitRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ int DeleteDataLimitRequest::getFeatureType()const
|
||||
void DeleteDataLimitRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
std::string DeleteDataLimitRequest::getSourceIp()const
|
||||
@@ -44,7 +46,7 @@ std::string DeleteDataLimitRequest::getSourceIp()const
|
||||
void DeleteDataLimitRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
long DeleteDataLimitRequest::getId()const
|
||||
@@ -55,7 +57,7 @@ long DeleteDataLimitRequest::getId()const
|
||||
void DeleteDataLimitRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
setParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DeleteDataLimitRequest::getLang()const
|
||||
@@ -66,6 +68,6 @@ std::string DeleteDataLimitRequest::getLang()const
|
||||
void DeleteDataLimitRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DeleteRuleRequest;
|
||||
|
||||
DeleteRuleRequest::DeleteRuleRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DeleteRule")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteRuleRequest::~DeleteRuleRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ int DeleteRuleRequest::getFeatureType()const
|
||||
void DeleteRuleRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
std::string DeleteRuleRequest::getSourceIp()const
|
||||
@@ -44,7 +46,7 @@ std::string DeleteRuleRequest::getSourceIp()const
|
||||
void DeleteRuleRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
long DeleteRuleRequest::getId()const
|
||||
@@ -55,7 +57,7 @@ long DeleteRuleRequest::getId()const
|
||||
void DeleteRuleRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
setParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DeleteRuleRequest::getLang()const
|
||||
@@ -66,6 +68,6 @@ std::string DeleteRuleRequest::getLang()const
|
||||
void DeleteRuleRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeAccountDetailRequest;
|
||||
|
||||
DescribeAccountDetailRequest::DescribeAccountDetailRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeAccountDetail")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAccountDetailRequest::~DescribeAccountDetailRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ long DescribeAccountDetailRequest::getUserId()const
|
||||
void DescribeAccountDetailRequest::setUserId(long userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setCoreParameter("UserId", std::to_string(userId));
|
||||
setParameter("UserId", std::to_string(userId));
|
||||
}
|
||||
|
||||
long DescribeAccountDetailRequest::getAccountTypeId()const
|
||||
@@ -44,7 +46,7 @@ long DescribeAccountDetailRequest::getAccountTypeId()const
|
||||
void DescribeAccountDetailRequest::setAccountTypeId(long accountTypeId)
|
||||
{
|
||||
accountTypeId_ = accountTypeId;
|
||||
setCoreParameter("AccountTypeId", std::to_string(accountTypeId));
|
||||
setParameter("AccountTypeId", std::to_string(accountTypeId));
|
||||
}
|
||||
|
||||
std::string DescribeAccountDetailRequest::getSourceIp()const
|
||||
@@ -55,7 +57,7 @@ std::string DescribeAccountDetailRequest::getSourceIp()const
|
||||
void DescribeAccountDetailRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeAccountDetailRequest::getLang()const
|
||||
@@ -66,6 +68,6 @@ std::string DescribeAccountDetailRequest::getLang()const
|
||||
void DescribeAccountDetailRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeAccountsRequest;
|
||||
|
||||
DescribeAccountsRequest::DescribeAccountsRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeAccounts")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAccountsRequest::~DescribeAccountsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string DescribeAccountsRequest::getProductCode()const
|
||||
void DescribeAccountsRequest::setProductCode(const std::string& productCode)
|
||||
{
|
||||
productCode_ = productCode;
|
||||
setCoreParameter("ProductCode", productCode);
|
||||
setParameter("ProductCode", productCode);
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getPackageId()const
|
||||
@@ -44,7 +46,7 @@ std::string DescribeAccountsRequest::getPackageId()const
|
||||
void DescribeAccountsRequest::setPackageId(const std::string& packageId)
|
||||
{
|
||||
packageId_ = packageId;
|
||||
setCoreParameter("PackageId", packageId);
|
||||
setParameter("PackageId", packageId);
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getSourceIp()const
|
||||
@@ -55,7 +57,7 @@ std::string DescribeAccountsRequest::getSourceIp()const
|
||||
void DescribeAccountsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeAccountsRequest::getPageSize()const
|
||||
@@ -66,7 +68,7 @@ int DescribeAccountsRequest::getPageSize()const
|
||||
void DescribeAccountsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getTableId()const
|
||||
@@ -77,7 +79,7 @@ std::string DescribeAccountsRequest::getTableId()const
|
||||
void DescribeAccountsRequest::setTableId(const std::string& tableId)
|
||||
{
|
||||
tableId_ = tableId;
|
||||
setCoreParameter("TableId", tableId);
|
||||
setParameter("TableId", tableId);
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getLang()const
|
||||
@@ -88,7 +90,7 @@ std::string DescribeAccountsRequest::getLang()const
|
||||
void DescribeAccountsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getKey()const
|
||||
@@ -99,7 +101,7 @@ std::string DescribeAccountsRequest::getKey()const
|
||||
void DescribeAccountsRequest::setKey(const std::string& key)
|
||||
{
|
||||
key_ = key;
|
||||
setCoreParameter("Key", key);
|
||||
setParameter("Key", key);
|
||||
}
|
||||
|
||||
int DescribeAccountsRequest::getQueryType()const
|
||||
@@ -110,7 +112,7 @@ int DescribeAccountsRequest::getQueryType()const
|
||||
void DescribeAccountsRequest::setQueryType(int queryType)
|
||||
{
|
||||
queryType_ = queryType;
|
||||
setCoreParameter("QueryType", std::to_string(queryType));
|
||||
setParameter("QueryType", std::to_string(queryType));
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getLoginName()const
|
||||
@@ -121,7 +123,7 @@ std::string DescribeAccountsRequest::getLoginName()const
|
||||
void DescribeAccountsRequest::setLoginName(const std::string& loginName)
|
||||
{
|
||||
loginName_ = loginName;
|
||||
setCoreParameter("LoginName", loginName);
|
||||
setParameter("LoginName", loginName);
|
||||
}
|
||||
|
||||
int DescribeAccountsRequest::getFeatureType()const
|
||||
@@ -132,7 +134,7 @@ int DescribeAccountsRequest::getFeatureType()const
|
||||
void DescribeAccountsRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getColumnId()const
|
||||
@@ -143,7 +145,7 @@ std::string DescribeAccountsRequest::getColumnId()const
|
||||
void DescribeAccountsRequest::setColumnId(const std::string& columnId)
|
||||
{
|
||||
columnId_ = columnId;
|
||||
setCoreParameter("ColumnId", columnId);
|
||||
setParameter("ColumnId", columnId);
|
||||
}
|
||||
|
||||
int DescribeAccountsRequest::getCurrentPage()const
|
||||
@@ -154,7 +156,7 @@ int DescribeAccountsRequest::getCurrentPage()const
|
||||
void DescribeAccountsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getInstanceId()const
|
||||
@@ -165,7 +167,7 @@ std::string DescribeAccountsRequest::getInstanceId()const
|
||||
void DescribeAccountsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
long DescribeAccountsRequest::getDepartId()const
|
||||
@@ -176,7 +178,7 @@ long DescribeAccountsRequest::getDepartId()const
|
||||
void DescribeAccountsRequest::setDepartId(long departId)
|
||||
{
|
||||
departId_ = departId;
|
||||
setCoreParameter("DepartId", std::to_string(departId));
|
||||
setParameter("DepartId", std::to_string(departId));
|
||||
}
|
||||
|
||||
int DescribeAccountsRequest::getOperationId()const
|
||||
@@ -187,6 +189,6 @@ int DescribeAccountsRequest::getOperationId()const
|
||||
void DescribeAccountsRequest::setOperationId(int operationId)
|
||||
{
|
||||
operationId_ = operationId;
|
||||
setCoreParameter("OperationId", std::to_string(operationId));
|
||||
setParameter("OperationId", std::to_string(operationId));
|
||||
}
|
||||
|
||||
|
||||
172
sddp/src/model/DescribeAuditLogsRequest.cc
Normal file
172
sddp/src/model/DescribeAuditLogsRequest.cc
Normal file
@@ -0,0 +1,172 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sddp/model/DescribeAuditLogsRequest.h>
|
||||
|
||||
using AlibabaCloud::Sddp::Model::DescribeAuditLogsRequest;
|
||||
|
||||
DescribeAuditLogsRequest::DescribeAuditLogsRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeAuditLogs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAuditLogsRequest::~DescribeAuditLogsRequest()
|
||||
{}
|
||||
|
||||
int DescribeAuditLogsRequest::getProductCode()const
|
||||
{
|
||||
return productCode_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogsRequest::setProductCode(int productCode)
|
||||
{
|
||||
productCode_ = productCode;
|
||||
setParameter("ProductCode", std::to_string(productCode));
|
||||
}
|
||||
|
||||
long DescribeAuditLogsRequest::getProductId()const
|
||||
{
|
||||
return productId_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogsRequest::setProductId(long productId)
|
||||
{
|
||||
productId_ = productId;
|
||||
setParameter("ProductId", std::to_string(productId));
|
||||
}
|
||||
|
||||
long DescribeAuditLogsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogsRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogsRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogsRequest::getClientIp()const
|
||||
{
|
||||
return clientIp_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogsRequest::setClientIp(const std::string& clientIp)
|
||||
{
|
||||
clientIp_ = clientIp;
|
||||
setParameter("ClientIp", clientIp);
|
||||
}
|
||||
|
||||
int DescribeAuditLogsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int DescribeAuditLogsRequest::getFeatureType()const
|
||||
{
|
||||
return featureType_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogsRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
long DescribeAuditLogsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogsRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
int DescribeAuditLogsRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogsRequest::getClientUa()const
|
||||
{
|
||||
return clientUa_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogsRequest::setClientUa(const std::string& clientUa)
|
||||
{
|
||||
clientUa_ = clientUa;
|
||||
setParameter("ClientUa", clientUa);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogsRequest::getInstanceName()const
|
||||
{
|
||||
return instanceName_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogsRequest::setInstanceName(const std::string& instanceName)
|
||||
{
|
||||
instanceName_ = instanceName;
|
||||
setParameter("InstanceName", instanceName);
|
||||
}
|
||||
|
||||
std::string DescribeAuditLogsRequest::getUserName()const
|
||||
{
|
||||
return userName_;
|
||||
}
|
||||
|
||||
void DescribeAuditLogsRequest::setUserName(const std::string& userName)
|
||||
{
|
||||
userName_ = userName;
|
||||
setParameter("UserName", userName);
|
||||
}
|
||||
|
||||
122
sddp/src/model/DescribeAuditLogsResult.cc
Normal file
122
sddp/src/model/DescribeAuditLogsResult.cc
Normal file
@@ -0,0 +1,122 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sddp/model/DescribeAuditLogsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sddp;
|
||||
using namespace AlibabaCloud::Sddp::Model;
|
||||
|
||||
DescribeAuditLogsResult::DescribeAuditLogsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAuditLogsResult::DescribeAuditLogsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAuditLogsResult::~DescribeAuditLogsResult()
|
||||
{}
|
||||
|
||||
void DescribeAuditLogsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["Log"];
|
||||
for (auto valueItemsLog : allItemsNode)
|
||||
{
|
||||
Log itemsObject;
|
||||
if(!valueItemsLog["Id"].isNull())
|
||||
itemsObject.id = std::stol(valueItemsLog["Id"].asString());
|
||||
if(!valueItemsLog["ProductCode"].isNull())
|
||||
itemsObject.productCode = valueItemsLog["ProductCode"].asString();
|
||||
if(!valueItemsLog["ProductId"].isNull())
|
||||
itemsObject.productId = std::stol(valueItemsLog["ProductId"].asString());
|
||||
if(!valueItemsLog["LogTime"].isNull())
|
||||
itemsObject.logTime = std::stol(valueItemsLog["LogTime"].asString());
|
||||
if(!valueItemsLog["UserId"].isNull())
|
||||
itemsObject.userId = valueItemsLog["UserId"].asString();
|
||||
if(!valueItemsLog["UserName"].isNull())
|
||||
itemsObject.userName = valueItemsLog["UserName"].asString();
|
||||
if(!valueItemsLog["ClientIp"].isNull())
|
||||
itemsObject.clientIp = valueItemsLog["ClientIp"].asString();
|
||||
if(!valueItemsLog["ClientPort"].isNull())
|
||||
itemsObject.clientPort = valueItemsLog["ClientPort"].asString();
|
||||
if(!valueItemsLog["ClientUa"].isNull())
|
||||
itemsObject.clientUa = valueItemsLog["ClientUa"].asString();
|
||||
if(!valueItemsLog["InstanceName"].isNull())
|
||||
itemsObject.instanceName = valueItemsLog["InstanceName"].asString();
|
||||
if(!valueItemsLog["CreationTime"].isNull())
|
||||
itemsObject.creationTime = std::stol(valueItemsLog["CreationTime"].asString());
|
||||
if(!valueItemsLog["DatabaseName"].isNull())
|
||||
itemsObject.databaseName = valueItemsLog["DatabaseName"].asString();
|
||||
if(!valueItemsLog["TableName"].isNull())
|
||||
itemsObject.tableName = valueItemsLog["TableName"].asString();
|
||||
if(!valueItemsLog["ColumnName"].isNull())
|
||||
itemsObject.columnName = valueItemsLog["ColumnName"].asString();
|
||||
if(!valueItemsLog["PackageName"].isNull())
|
||||
itemsObject.packageName = valueItemsLog["PackageName"].asString();
|
||||
if(!valueItemsLog["OssObjectKey"].isNull())
|
||||
itemsObject.ossObjectKey = valueItemsLog["OssObjectKey"].asString();
|
||||
if(!valueItemsLog["ExecuteTime"].isNull())
|
||||
itemsObject.executeTime = std::stol(valueItemsLog["ExecuteTime"].asString());
|
||||
if(!valueItemsLog["EffectRow"].isNull())
|
||||
itemsObject.effectRow = std::stol(valueItemsLog["EffectRow"].asString());
|
||||
if(!valueItemsLog["OperateType"].isNull())
|
||||
itemsObject.operateType = valueItemsLog["OperateType"].asString();
|
||||
if(!valueItemsLog["RuleId"].isNull())
|
||||
itemsObject.ruleId = valueItemsLog["RuleId"].asString();
|
||||
if(!valueItemsLog["RuleName"].isNull())
|
||||
itemsObject.ruleName = valueItemsLog["RuleName"].asString();
|
||||
if(!valueItemsLog["WarnLevel"].isNull())
|
||||
itemsObject.warnLevel = valueItemsLog["WarnLevel"].asString();
|
||||
if(!valueItemsLog["ExecuteStatus"].isNull())
|
||||
itemsObject.executeStatus = std::stoi(valueItemsLog["ExecuteStatus"].asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["CurrentPage"].isNull())
|
||||
currentPage_ = std::stoi(value["CurrentPage"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeAuditLogsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int DescribeAuditLogsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeAuditLogsResult::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAuditLogsResult::Log> DescribeAuditLogsResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeAuthAccountsRequest;
|
||||
|
||||
DescribeAuthAccountsRequest::DescribeAuthAccountsRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeAuthAccounts")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAuthAccountsRequest::~DescribeAuthAccountsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ int DescribeAuthAccountsRequest::getFeatureType()const
|
||||
void DescribeAuthAccountsRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
int DescribeAuthAccountsRequest::getCurrentPage()const
|
||||
@@ -44,7 +46,7 @@ int DescribeAuthAccountsRequest::getCurrentPage()const
|
||||
void DescribeAuthAccountsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeAuthAccountsRequest::getSourceIp()const
|
||||
@@ -55,7 +57,7 @@ std::string DescribeAuthAccountsRequest::getSourceIp()const
|
||||
void DescribeAuthAccountsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeAuthAccountsRequest::getPageSize()const
|
||||
@@ -66,7 +68,7 @@ int DescribeAuthAccountsRequest::getPageSize()const
|
||||
void DescribeAuthAccountsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeAuthAccountsRequest::getLang()const
|
||||
@@ -77,6 +79,6 @@ std::string DescribeAuthAccountsRequest::getLang()const
|
||||
void DescribeAuthAccountsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeColumnsRequest;
|
||||
|
||||
DescribeColumnsRequest::DescribeColumnsRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeColumns")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeColumnsRequest::~DescribeColumnsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string DescribeColumnsRequest::getProductCode()const
|
||||
void DescribeColumnsRequest::setProductCode(const std::string& productCode)
|
||||
{
|
||||
productCode_ = productCode;
|
||||
setCoreParameter("ProductCode", productCode);
|
||||
setParameter("ProductCode", productCode);
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getRiskLevels()const
|
||||
@@ -44,7 +46,7 @@ std::string DescribeColumnsRequest::getRiskLevels()const
|
||||
void DescribeColumnsRequest::setRiskLevels(const std::string& riskLevels)
|
||||
{
|
||||
riskLevels_ = riskLevels;
|
||||
setCoreParameter("RiskLevels", riskLevels);
|
||||
setParameter("RiskLevels", riskLevels);
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getQueryName()const
|
||||
@@ -55,7 +57,18 @@ std::string DescribeColumnsRequest::getQueryName()const
|
||||
void DescribeColumnsRequest::setQueryName(const std::string& queryName)
|
||||
{
|
||||
queryName_ = queryName;
|
||||
setCoreParameter("QueryName", queryName);
|
||||
setParameter("QueryName", queryName);
|
||||
}
|
||||
|
||||
long DescribeColumnsRequest::getRiskLevelId()const
|
||||
{
|
||||
return riskLevelId_;
|
||||
}
|
||||
|
||||
void DescribeColumnsRequest::setRiskLevelId(long riskLevelId)
|
||||
{
|
||||
riskLevelId_ = riskLevelId;
|
||||
setParameter("RiskLevelId", std::to_string(riskLevelId));
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getSourceIp()const
|
||||
@@ -66,7 +79,7 @@ std::string DescribeColumnsRequest::getSourceIp()const
|
||||
void DescribeColumnsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeColumnsRequest::getPageSize()const
|
||||
@@ -77,7 +90,7 @@ int DescribeColumnsRequest::getPageSize()const
|
||||
void DescribeColumnsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long DescribeColumnsRequest::getTableId()const
|
||||
@@ -88,7 +101,7 @@ long DescribeColumnsRequest::getTableId()const
|
||||
void DescribeColumnsRequest::setTableId(long tableId)
|
||||
{
|
||||
tableId_ = tableId;
|
||||
setCoreParameter("TableId", std::to_string(tableId));
|
||||
setParameter("TableId", std::to_string(tableId));
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getLang()const
|
||||
@@ -99,7 +112,7 @@ std::string DescribeColumnsRequest::getLang()const
|
||||
void DescribeColumnsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int DescribeColumnsRequest::getFeatureType()const
|
||||
@@ -110,7 +123,18 @@ int DescribeColumnsRequest::getFeatureType()const
|
||||
void DescribeColumnsRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void DescribeColumnsRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
int DescribeColumnsRequest::getCurrentPage()const
|
||||
@@ -121,7 +145,7 @@ int DescribeColumnsRequest::getCurrentPage()const
|
||||
void DescribeColumnsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribeColumnsRequest::getInstanceId()const
|
||||
@@ -132,7 +156,7 @@ long DescribeColumnsRequest::getInstanceId()const
|
||||
void DescribeColumnsRequest::setInstanceId(long instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", std::to_string(instanceId));
|
||||
setParameter("InstanceId", std::to_string(instanceId));
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getName()const
|
||||
@@ -143,7 +167,7 @@ std::string DescribeColumnsRequest::getName()const
|
||||
void DescribeColumnsRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
long DescribeColumnsRequest::getRuleId()const
|
||||
@@ -154,6 +178,6 @@ long DescribeColumnsRequest::getRuleId()const
|
||||
void DescribeColumnsRequest::setRuleId(long ruleId)
|
||||
{
|
||||
ruleId_ = ruleId;
|
||||
setCoreParameter("RuleId", std::to_string(ruleId));
|
||||
setParameter("RuleId", std::to_string(ruleId));
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ void DescribeColumnsResult::parse(const std::string &payload)
|
||||
{
|
||||
Column itemsObject;
|
||||
if(!valueItemsColumn["Id"].isNull())
|
||||
itemsObject.id = std::stol(valueItemsColumn["Id"].asString());
|
||||
itemsObject.id = valueItemsColumn["Id"].asString();
|
||||
if(!valueItemsColumn["Name"].isNull())
|
||||
itemsObject.name = valueItemsColumn["Name"].asString();
|
||||
if(!valueItemsColumn["InstanceId"].isNull())
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeConfigsRequest;
|
||||
|
||||
DescribeConfigsRequest::DescribeConfigsRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeConfigs")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeConfigsRequest::~DescribeConfigsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ int DescribeConfigsRequest::getFeatureType()const
|
||||
void DescribeConfigsRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
std::string DescribeConfigsRequest::getSourceIp()const
|
||||
@@ -44,7 +46,7 @@ std::string DescribeConfigsRequest::getSourceIp()const
|
||||
void DescribeConfigsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeConfigsRequest::getLang()const
|
||||
@@ -55,6 +57,6 @@ std::string DescribeConfigsRequest::getLang()const
|
||||
void DescribeConfigsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeDataAssetsRequest;
|
||||
|
||||
DescribeDataAssetsRequest::DescribeDataAssetsRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeDataAssets")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDataAssetsRequest::~DescribeDataAssetsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string DescribeDataAssetsRequest::getRiskLevels()const
|
||||
void DescribeDataAssetsRequest::setRiskLevels(const std::string& riskLevels)
|
||||
{
|
||||
riskLevels_ = riskLevels;
|
||||
setCoreParameter("RiskLevels", riskLevels);
|
||||
setParameter("RiskLevels", riskLevels);
|
||||
}
|
||||
|
||||
int DescribeDataAssetsRequest::getRangeId()const
|
||||
@@ -44,7 +46,7 @@ int DescribeDataAssetsRequest::getRangeId()const
|
||||
void DescribeDataAssetsRequest::setRangeId(int rangeId)
|
||||
{
|
||||
rangeId_ = rangeId;
|
||||
setCoreParameter("RangeId", std::to_string(rangeId));
|
||||
setParameter("RangeId", std::to_string(rangeId));
|
||||
}
|
||||
|
||||
std::string DescribeDataAssetsRequest::getSourceIp()const
|
||||
@@ -55,7 +57,7 @@ std::string DescribeDataAssetsRequest::getSourceIp()const
|
||||
void DescribeDataAssetsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeDataAssetsRequest::getPageSize()const
|
||||
@@ -66,7 +68,7 @@ int DescribeDataAssetsRequest::getPageSize()const
|
||||
void DescribeDataAssetsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDataAssetsRequest::getLang()const
|
||||
@@ -77,7 +79,7 @@ std::string DescribeDataAssetsRequest::getLang()const
|
||||
void DescribeDataAssetsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int DescribeDataAssetsRequest::getFeatureType()const
|
||||
@@ -88,7 +90,7 @@ int DescribeDataAssetsRequest::getFeatureType()const
|
||||
void DescribeDataAssetsRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
int DescribeDataAssetsRequest::getCurrentPage()const
|
||||
@@ -99,7 +101,7 @@ int DescribeDataAssetsRequest::getCurrentPage()const
|
||||
void DescribeDataAssetsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeDataAssetsRequest::getName()const
|
||||
@@ -110,7 +112,7 @@ std::string DescribeDataAssetsRequest::getName()const
|
||||
void DescribeDataAssetsRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
long DescribeDataAssetsRequest::getRuleId()const
|
||||
@@ -121,6 +123,6 @@ long DescribeDataAssetsRequest::getRuleId()const
|
||||
void DescribeDataAssetsRequest::setRuleId(long ruleId)
|
||||
{
|
||||
ruleId_ = ruleId;
|
||||
setCoreParameter("RuleId", std::to_string(ruleId));
|
||||
setParameter("RuleId", std::to_string(ruleId));
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ void DescribeDataAssetsResult::parse(const std::string &payload)
|
||||
{
|
||||
Asset itemsObject;
|
||||
if(!valueItemsAsset["Id"].isNull())
|
||||
itemsObject.id = std::stol(valueItemsAsset["Id"].asString());
|
||||
itemsObject.id = valueItemsAsset["Id"].asString();
|
||||
if(!valueItemsAsset["Name"].isNull())
|
||||
itemsObject.name = valueItemsAsset["Name"].asString();
|
||||
if(!valueItemsAsset["Owner"].isNull())
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeDataHubConnectorsRequest;
|
||||
|
||||
DescribeDataHubConnectorsRequest::DescribeDataHubConnectorsRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeDataHubConnectors")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDataHubConnectorsRequest::~DescribeDataHubConnectorsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ long DescribeDataHubConnectorsRequest::getTopicId()const
|
||||
void DescribeDataHubConnectorsRequest::setTopicId(long topicId)
|
||||
{
|
||||
topicId_ = topicId;
|
||||
setCoreParameter("TopicId", std::to_string(topicId));
|
||||
setParameter("TopicId", std::to_string(topicId));
|
||||
}
|
||||
|
||||
std::string DescribeDataHubConnectorsRequest::getSourceIp()const
|
||||
@@ -44,7 +46,7 @@ std::string DescribeDataHubConnectorsRequest::getSourceIp()const
|
||||
void DescribeDataHubConnectorsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeDataHubConnectorsRequest::getPageSize()const
|
||||
@@ -55,7 +57,7 @@ int DescribeDataHubConnectorsRequest::getPageSize()const
|
||||
void DescribeDataHubConnectorsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDataHubConnectorsRequest::getLang()const
|
||||
@@ -66,7 +68,7 @@ std::string DescribeDataHubConnectorsRequest::getLang()const
|
||||
void DescribeDataHubConnectorsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
long DescribeDataHubConnectorsRequest::getProjectId()const
|
||||
@@ -77,7 +79,7 @@ long DescribeDataHubConnectorsRequest::getProjectId()const
|
||||
void DescribeDataHubConnectorsRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setCoreParameter("ProjectId", std::to_string(projectId));
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string DescribeDataHubConnectorsRequest::getKey()const
|
||||
@@ -88,7 +90,7 @@ std::string DescribeDataHubConnectorsRequest::getKey()const
|
||||
void DescribeDataHubConnectorsRequest::setKey(const std::string& key)
|
||||
{
|
||||
key_ = key;
|
||||
setCoreParameter("Key", key);
|
||||
setParameter("Key", key);
|
||||
}
|
||||
|
||||
int DescribeDataHubConnectorsRequest::getFeatureType()const
|
||||
@@ -99,7 +101,7 @@ int DescribeDataHubConnectorsRequest::getFeatureType()const
|
||||
void DescribeDataHubConnectorsRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
int DescribeDataHubConnectorsRequest::getCurrentPage()const
|
||||
@@ -110,7 +112,7 @@ int DescribeDataHubConnectorsRequest::getCurrentPage()const
|
||||
void DescribeDataHubConnectorsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribeDataHubConnectorsRequest::getDepartId()const
|
||||
@@ -121,6 +123,6 @@ long DescribeDataHubConnectorsRequest::getDepartId()const
|
||||
void DescribeDataHubConnectorsRequest::setDepartId(long departId)
|
||||
{
|
||||
departId_ = departId;
|
||||
setCoreParameter("DepartId", std::to_string(departId));
|
||||
setParameter("DepartId", std::to_string(departId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeDataHubProjectsRequest;
|
||||
|
||||
DescribeDataHubProjectsRequest::DescribeDataHubProjectsRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeDataHubProjects")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDataHubProjectsRequest::~DescribeDataHubProjectsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string DescribeDataHubProjectsRequest::getSourceIp()const
|
||||
void DescribeDataHubProjectsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeDataHubProjectsRequest::getPageSize()const
|
||||
@@ -44,7 +46,7 @@ int DescribeDataHubProjectsRequest::getPageSize()const
|
||||
void DescribeDataHubProjectsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDataHubProjectsRequest::getLang()const
|
||||
@@ -55,7 +57,7 @@ std::string DescribeDataHubProjectsRequest::getLang()const
|
||||
void DescribeDataHubProjectsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeDataHubProjectsRequest::getKey()const
|
||||
@@ -66,7 +68,7 @@ std::string DescribeDataHubProjectsRequest::getKey()const
|
||||
void DescribeDataHubProjectsRequest::setKey(const std::string& key)
|
||||
{
|
||||
key_ = key;
|
||||
setCoreParameter("Key", key);
|
||||
setParameter("Key", key);
|
||||
}
|
||||
|
||||
int DescribeDataHubProjectsRequest::getQueryType()const
|
||||
@@ -77,7 +79,7 @@ int DescribeDataHubProjectsRequest::getQueryType()const
|
||||
void DescribeDataHubProjectsRequest::setQueryType(int queryType)
|
||||
{
|
||||
queryType_ = queryType;
|
||||
setCoreParameter("QueryType", std::to_string(queryType));
|
||||
setParameter("QueryType", std::to_string(queryType));
|
||||
}
|
||||
|
||||
int DescribeDataHubProjectsRequest::getFeatureType()const
|
||||
@@ -88,7 +90,7 @@ int DescribeDataHubProjectsRequest::getFeatureType()const
|
||||
void DescribeDataHubProjectsRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
int DescribeDataHubProjectsRequest::getCurrentPage()const
|
||||
@@ -99,7 +101,7 @@ int DescribeDataHubProjectsRequest::getCurrentPage()const
|
||||
void DescribeDataHubProjectsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribeDataHubProjectsRequest::getDepartId()const
|
||||
@@ -110,6 +112,6 @@ long DescribeDataHubProjectsRequest::getDepartId()const
|
||||
void DescribeDataHubProjectsRequest::setDepartId(long departId)
|
||||
{
|
||||
departId_ = departId;
|
||||
setCoreParameter("DepartId", std::to_string(departId));
|
||||
setParameter("DepartId", std::to_string(departId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeDataHubSubscriptionsRequest;
|
||||
|
||||
DescribeDataHubSubscriptionsRequest::DescribeDataHubSubscriptionsRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeDataHubSubscriptions")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDataHubSubscriptionsRequest::~DescribeDataHubSubscriptionsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ long DescribeDataHubSubscriptionsRequest::getTopicId()const
|
||||
void DescribeDataHubSubscriptionsRequest::setTopicId(long topicId)
|
||||
{
|
||||
topicId_ = topicId;
|
||||
setCoreParameter("TopicId", std::to_string(topicId));
|
||||
setParameter("TopicId", std::to_string(topicId));
|
||||
}
|
||||
|
||||
std::string DescribeDataHubSubscriptionsRequest::getSourceIp()const
|
||||
@@ -44,7 +46,7 @@ std::string DescribeDataHubSubscriptionsRequest::getSourceIp()const
|
||||
void DescribeDataHubSubscriptionsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeDataHubSubscriptionsRequest::getPageSize()const
|
||||
@@ -55,7 +57,7 @@ int DescribeDataHubSubscriptionsRequest::getPageSize()const
|
||||
void DescribeDataHubSubscriptionsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDataHubSubscriptionsRequest::getLang()const
|
||||
@@ -66,7 +68,7 @@ std::string DescribeDataHubSubscriptionsRequest::getLang()const
|
||||
void DescribeDataHubSubscriptionsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
long DescribeDataHubSubscriptionsRequest::getProjectId()const
|
||||
@@ -77,7 +79,7 @@ long DescribeDataHubSubscriptionsRequest::getProjectId()const
|
||||
void DescribeDataHubSubscriptionsRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setCoreParameter("ProjectId", std::to_string(projectId));
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string DescribeDataHubSubscriptionsRequest::getKey()const
|
||||
@@ -88,7 +90,7 @@ std::string DescribeDataHubSubscriptionsRequest::getKey()const
|
||||
void DescribeDataHubSubscriptionsRequest::setKey(const std::string& key)
|
||||
{
|
||||
key_ = key;
|
||||
setCoreParameter("Key", key);
|
||||
setParameter("Key", key);
|
||||
}
|
||||
|
||||
int DescribeDataHubSubscriptionsRequest::getFeatureType()const
|
||||
@@ -99,7 +101,7 @@ int DescribeDataHubSubscriptionsRequest::getFeatureType()const
|
||||
void DescribeDataHubSubscriptionsRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
int DescribeDataHubSubscriptionsRequest::getCurrentPage()const
|
||||
@@ -110,7 +112,7 @@ int DescribeDataHubSubscriptionsRequest::getCurrentPage()const
|
||||
void DescribeDataHubSubscriptionsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribeDataHubSubscriptionsRequest::getDepartId()const
|
||||
@@ -121,6 +123,6 @@ long DescribeDataHubSubscriptionsRequest::getDepartId()const
|
||||
void DescribeDataHubSubscriptionsRequest::setDepartId(long departId)
|
||||
{
|
||||
departId_ = departId;
|
||||
setCoreParameter("DepartId", std::to_string(departId));
|
||||
setParameter("DepartId", std::to_string(departId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeDataHubTopicsRequest;
|
||||
|
||||
DescribeDataHubTopicsRequest::DescribeDataHubTopicsRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeDataHubTopics")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDataHubTopicsRequest::~DescribeDataHubTopicsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string DescribeDataHubTopicsRequest::getSourceIp()const
|
||||
void DescribeDataHubTopicsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeDataHubTopicsRequest::getPageSize()const
|
||||
@@ -44,7 +46,7 @@ int DescribeDataHubTopicsRequest::getPageSize()const
|
||||
void DescribeDataHubTopicsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDataHubTopicsRequest::getLang()const
|
||||
@@ -55,7 +57,7 @@ std::string DescribeDataHubTopicsRequest::getLang()const
|
||||
void DescribeDataHubTopicsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
long DescribeDataHubTopicsRequest::getProjectId()const
|
||||
@@ -66,7 +68,7 @@ long DescribeDataHubTopicsRequest::getProjectId()const
|
||||
void DescribeDataHubTopicsRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setCoreParameter("ProjectId", std::to_string(projectId));
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string DescribeDataHubTopicsRequest::getKey()const
|
||||
@@ -77,7 +79,7 @@ std::string DescribeDataHubTopicsRequest::getKey()const
|
||||
void DescribeDataHubTopicsRequest::setKey(const std::string& key)
|
||||
{
|
||||
key_ = key;
|
||||
setCoreParameter("Key", key);
|
||||
setParameter("Key", key);
|
||||
}
|
||||
|
||||
int DescribeDataHubTopicsRequest::getFeatureType()const
|
||||
@@ -88,7 +90,7 @@ int DescribeDataHubTopicsRequest::getFeatureType()const
|
||||
void DescribeDataHubTopicsRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
int DescribeDataHubTopicsRequest::getCurrentPage()const
|
||||
@@ -99,7 +101,7 @@ int DescribeDataHubTopicsRequest::getCurrentPage()const
|
||||
void DescribeDataHubTopicsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribeDataHubTopicsRequest::getDepartId()const
|
||||
@@ -110,6 +112,6 @@ long DescribeDataHubTopicsRequest::getDepartId()const
|
||||
void DescribeDataHubTopicsRequest::setDepartId(long departId)
|
||||
{
|
||||
departId_ = departId;
|
||||
setCoreParameter("DepartId", std::to_string(departId));
|
||||
setParameter("DepartId", std::to_string(departId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeDataLimitDetailRequest;
|
||||
|
||||
DescribeDataLimitDetailRequest::DescribeDataLimitDetailRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeDataLimitDetail")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDataLimitDetailRequest::~DescribeDataLimitDetailRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ int DescribeDataLimitDetailRequest::getNetworkType()const
|
||||
void DescribeDataLimitDetailRequest::setNetworkType(int networkType)
|
||||
{
|
||||
networkType_ = networkType;
|
||||
setCoreParameter("NetworkType", std::to_string(networkType));
|
||||
setParameter("NetworkType", std::to_string(networkType));
|
||||
}
|
||||
|
||||
std::string DescribeDataLimitDetailRequest::getSourceIp()const
|
||||
@@ -44,7 +46,7 @@ std::string DescribeDataLimitDetailRequest::getSourceIp()const
|
||||
void DescribeDataLimitDetailRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
long DescribeDataLimitDetailRequest::getId()const
|
||||
@@ -55,7 +57,7 @@ long DescribeDataLimitDetailRequest::getId()const
|
||||
void DescribeDataLimitDetailRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
setParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DescribeDataLimitDetailRequest::getLang()const
|
||||
@@ -66,6 +68,6 @@ std::string DescribeDataLimitDetailRequest::getLang()const
|
||||
void DescribeDataLimitDetailRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -62,6 +62,12 @@ void DescribeDataLimitDetailResult::parse(const std::string &payload)
|
||||
dataLimit_.resourceType = std::stol(dataLimitNode["ResourceType"].asString());
|
||||
if(!dataLimitNode["ResourceTypeCode"].isNull())
|
||||
dataLimit_.resourceTypeCode = dataLimitNode["ResourceTypeCode"].asString();
|
||||
if(!dataLimitNode["AuditStatus"].isNull())
|
||||
dataLimit_.auditStatus = std::stoi(dataLimitNode["AuditStatus"].asString());
|
||||
if(!dataLimitNode["LogStoreDay"].isNull())
|
||||
dataLimit_.logStoreDay = std::stoi(dataLimitNode["LogStoreDay"].asString());
|
||||
if(!dataLimitNode["Port"].isNull())
|
||||
dataLimit_.port = std::stoi(dataLimitNode["Port"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -20,22 +20,13 @@ using AlibabaCloud::Sddp::Model::DescribeDataLimitsRequest;
|
||||
|
||||
DescribeDataLimitsRequest::DescribeDataLimitsRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeDataLimits")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDataLimitsRequest::~DescribeDataLimitsRequest()
|
||||
{}
|
||||
|
||||
int DescribeDataLimitsRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void DescribeDataLimitsRequest::setResourceType(int resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setCoreParameter("ResourceType", std::to_string(resourceType));
|
||||
}
|
||||
|
||||
std::string DescribeDataLimitsRequest::getParentId()const
|
||||
{
|
||||
return parentId_;
|
||||
@@ -44,7 +35,7 @@ std::string DescribeDataLimitsRequest::getParentId()const
|
||||
void DescribeDataLimitsRequest::setParentId(const std::string& parentId)
|
||||
{
|
||||
parentId_ = parentId;
|
||||
setCoreParameter("ParentId", parentId);
|
||||
setParameter("ParentId", parentId);
|
||||
}
|
||||
|
||||
std::string DescribeDataLimitsRequest::getSourceIp()const
|
||||
@@ -55,7 +46,40 @@ std::string DescribeDataLimitsRequest::getSourceIp()const
|
||||
void DescribeDataLimitsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeDataLimitsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeDataLimitsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeDataLimitsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeDataLimitsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int DescribeDataLimitsRequest::getCheckStatus()const
|
||||
{
|
||||
return checkStatus_;
|
||||
}
|
||||
|
||||
void DescribeDataLimitsRequest::setCheckStatus(int checkStatus)
|
||||
{
|
||||
checkStatus_ = checkStatus;
|
||||
setParameter("CheckStatus", std::to_string(checkStatus));
|
||||
}
|
||||
|
||||
std::string DescribeDataLimitsRequest::getLang()const
|
||||
@@ -66,6 +90,61 @@ std::string DescribeDataLimitsRequest::getLang()const
|
||||
void DescribeDataLimitsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeDataLimitsRequest::getServiceRegionId()const
|
||||
{
|
||||
return serviceRegionId_;
|
||||
}
|
||||
|
||||
void DescribeDataLimitsRequest::setServiceRegionId(const std::string& serviceRegionId)
|
||||
{
|
||||
serviceRegionId_ = serviceRegionId;
|
||||
setParameter("ServiceRegionId", serviceRegionId);
|
||||
}
|
||||
|
||||
std::string DescribeDataLimitsRequest::getEngineType()const
|
||||
{
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
void DescribeDataLimitsRequest::setEngineType(const std::string& engineType)
|
||||
{
|
||||
engineType_ = engineType;
|
||||
setParameter("EngineType", engineType);
|
||||
}
|
||||
|
||||
int DescribeDataLimitsRequest::getAuditStatus()const
|
||||
{
|
||||
return auditStatus_;
|
||||
}
|
||||
|
||||
void DescribeDataLimitsRequest::setAuditStatus(int auditStatus)
|
||||
{
|
||||
auditStatus_ = auditStatus;
|
||||
setParameter("AuditStatus", std::to_string(auditStatus));
|
||||
}
|
||||
|
||||
int DescribeDataLimitsRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeDataLimitsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
int DescribeDataLimitsRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void DescribeDataLimitsRequest::setResourceType(int resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", std::to_string(resourceType));
|
||||
}
|
||||
|
||||
|
||||
@@ -39,39 +39,84 @@ void DescribeDataLimitsResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataLimitListNode = value["DataLimitList"]["DataLimit"];
|
||||
for (auto valueDataLimitListDataLimit : allDataLimitListNode)
|
||||
auto allItemsNode = value["Items"]["DataLimit"];
|
||||
for (auto valueItemsDataLimit : allItemsNode)
|
||||
{
|
||||
DataLimit dataLimitListObject;
|
||||
if(!valueDataLimitListDataLimit["RegionId"].isNull())
|
||||
dataLimitListObject.regionId = valueDataLimitListDataLimit["RegionId"].asString();
|
||||
if(!valueDataLimitListDataLimit["LocalName"].isNull())
|
||||
dataLimitListObject.localName = valueDataLimitListDataLimit["LocalName"].asString();
|
||||
if(!valueDataLimitListDataLimit["ParentId"].isNull())
|
||||
dataLimitListObject.parentId = valueDataLimitListDataLimit["ParentId"].asString();
|
||||
if(!valueDataLimitListDataLimit["Id"].isNull())
|
||||
dataLimitListObject.id = std::stol(valueDataLimitListDataLimit["Id"].asString());
|
||||
if(!valueDataLimitListDataLimit["UserName"].isNull())
|
||||
dataLimitListObject.userName = valueDataLimitListDataLimit["UserName"].asString();
|
||||
if(!valueDataLimitListDataLimit["GmtCreate"].isNull())
|
||||
dataLimitListObject.gmtCreate = std::stol(valueDataLimitListDataLimit["GmtCreate"].asString());
|
||||
if(!valueDataLimitListDataLimit["Connector"].isNull())
|
||||
dataLimitListObject.connector = valueDataLimitListDataLimit["Connector"].asString();
|
||||
if(!valueDataLimitListDataLimit["CheckStatus"].isNull())
|
||||
dataLimitListObject.checkStatus = std::stoi(valueDataLimitListDataLimit["CheckStatus"].asString());
|
||||
if(!valueDataLimitListDataLimit["CheckStatusName"].isNull())
|
||||
dataLimitListObject.checkStatusName = valueDataLimitListDataLimit["CheckStatusName"].asString();
|
||||
if(!valueDataLimitListDataLimit["ResourceType"].isNull())
|
||||
dataLimitListObject.resourceType = std::stol(valueDataLimitListDataLimit["ResourceType"].asString());
|
||||
if(!valueDataLimitListDataLimit["ResourceTypeCode"].isNull())
|
||||
dataLimitListObject.resourceTypeCode = valueDataLimitListDataLimit["ResourceTypeCode"].asString();
|
||||
dataLimitList_.push_back(dataLimitListObject);
|
||||
DataLimit itemsObject;
|
||||
if(!valueItemsDataLimit["RegionId"].isNull())
|
||||
itemsObject.regionId = valueItemsDataLimit["RegionId"].asString();
|
||||
if(!valueItemsDataLimit["LocalName"].isNull())
|
||||
itemsObject.localName = valueItemsDataLimit["LocalName"].asString();
|
||||
if(!valueItemsDataLimit["ParentId"].isNull())
|
||||
itemsObject.parentId = valueItemsDataLimit["ParentId"].asString();
|
||||
if(!valueItemsDataLimit["Id"].isNull())
|
||||
itemsObject.id = std::stol(valueItemsDataLimit["Id"].asString());
|
||||
if(!valueItemsDataLimit["UserName"].isNull())
|
||||
itemsObject.userName = valueItemsDataLimit["UserName"].asString();
|
||||
if(!valueItemsDataLimit["GmtCreate"].isNull())
|
||||
itemsObject.gmtCreate = std::stol(valueItemsDataLimit["GmtCreate"].asString());
|
||||
if(!valueItemsDataLimit["Connector"].isNull())
|
||||
itemsObject.connector = valueItemsDataLimit["Connector"].asString();
|
||||
if(!valueItemsDataLimit["CheckStatus"].isNull())
|
||||
itemsObject.checkStatus = std::stoi(valueItemsDataLimit["CheckStatus"].asString());
|
||||
if(!valueItemsDataLimit["CheckStatusName"].isNull())
|
||||
itemsObject.checkStatusName = valueItemsDataLimit["CheckStatusName"].asString();
|
||||
if(!valueItemsDataLimit["ResourceType"].isNull())
|
||||
itemsObject.resourceType = std::stol(valueItemsDataLimit["ResourceType"].asString());
|
||||
if(!valueItemsDataLimit["ResourceTypeCode"].isNull())
|
||||
itemsObject.resourceTypeCode = valueItemsDataLimit["ResourceTypeCode"].asString();
|
||||
if(!valueItemsDataLimit["AuditStatus"].isNull())
|
||||
itemsObject.auditStatus = std::stoi(valueItemsDataLimit["AuditStatus"].asString());
|
||||
if(!valueItemsDataLimit["LogStoreDay"].isNull())
|
||||
itemsObject.logStoreDay = std::stoi(valueItemsDataLimit["LogStoreDay"].asString());
|
||||
if(!valueItemsDataLimit["Enable"].isNull())
|
||||
itemsObject.enable = std::stoi(valueItemsDataLimit["Enable"].asString());
|
||||
if(!valueItemsDataLimit["AutoScan"].isNull())
|
||||
itemsObject.autoScan = std::stoi(valueItemsDataLimit["AutoScan"].asString());
|
||||
if(!valueItemsDataLimit["EngineType"].isNull())
|
||||
itemsObject.engineType = valueItemsDataLimit["EngineType"].asString();
|
||||
if(!valueItemsDataLimit["ProcessStatus"].isNull())
|
||||
itemsObject.processStatus = std::stoi(valueItemsDataLimit["ProcessStatus"].asString());
|
||||
if(!valueItemsDataLimit["ProcessTotalCount"].isNull())
|
||||
itemsObject.processTotalCount = std::stoi(valueItemsDataLimit["ProcessTotalCount"].asString());
|
||||
if(!valueItemsDataLimit["TotalCount"].isNull())
|
||||
itemsObject.totalCount = std::stoi(valueItemsDataLimit["TotalCount"].asString());
|
||||
if(!valueItemsDataLimit["LastFinishedTime"].isNull())
|
||||
itemsObject.lastFinishedTime = std::stol(valueItemsDataLimit["LastFinishedTime"].asString());
|
||||
if(!valueItemsDataLimit["ErrorCode"].isNull())
|
||||
itemsObject.errorCode = valueItemsDataLimit["ErrorCode"].asString();
|
||||
if(!valueItemsDataLimit["ErrorMessage"].isNull())
|
||||
itemsObject.errorMessage = valueItemsDataLimit["ErrorMessage"].asString();
|
||||
if(!valueItemsDataLimit["Port"].isNull())
|
||||
itemsObject.port = std::stoi(valueItemsDataLimit["Port"].asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["CurrentPage"].isNull())
|
||||
currentPage_ = std::stoi(value["CurrentPage"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDataLimitsResult::DataLimit> DescribeDataLimitsResult::getDataLimitList()const
|
||||
int DescribeDataLimitsResult::getTotalCount()const
|
||||
{
|
||||
return dataLimitList_;
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int DescribeDataLimitsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeDataLimitsResult::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDataLimitsResult::DataLimit> DescribeDataLimitsResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
|
||||
150
sddp/src/model/DescribeDataMaskingRunHistoryRequest.cc
Normal file
150
sddp/src/model/DescribeDataMaskingRunHistoryRequest.cc
Normal file
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sddp/model/DescribeDataMaskingRunHistoryRequest.h>
|
||||
|
||||
using AlibabaCloud::Sddp::Model::DescribeDataMaskingRunHistoryRequest;
|
||||
|
||||
DescribeDataMaskingRunHistoryRequest::DescribeDataMaskingRunHistoryRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeDataMaskingRunHistory")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDataMaskingRunHistoryRequest::~DescribeDataMaskingRunHistoryRequest()
|
||||
{}
|
||||
|
||||
int DescribeDataMaskingRunHistoryRequest::getSrcType()const
|
||||
{
|
||||
return srcType_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingRunHistoryRequest::setSrcType(int srcType)
|
||||
{
|
||||
srcType_ = srcType;
|
||||
setParameter("SrcType", std::to_string(srcType));
|
||||
}
|
||||
|
||||
long DescribeDataMaskingRunHistoryRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingRunHistoryRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string DescribeDataMaskingRunHistoryRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingRunHistoryRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeDataMaskingRunHistoryRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingRunHistoryRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDataMaskingRunHistoryRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingRunHistoryRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeDataMaskingRunHistoryRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingRunHistoryRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
int DescribeDataMaskingRunHistoryRequest::getFeatureType()const
|
||||
{
|
||||
return featureType_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingRunHistoryRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
long DescribeDataMaskingRunHistoryRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingRunHistoryRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
int DescribeDataMaskingRunHistoryRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingRunHistoryRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
int DescribeDataMaskingRunHistoryRequest::getDstType()const
|
||||
{
|
||||
return dstType_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingRunHistoryRequest::setDstType(int dstType)
|
||||
{
|
||||
dstType_ = dstType;
|
||||
setParameter("DstType", std::to_string(dstType));
|
||||
}
|
||||
|
||||
int DescribeDataMaskingRunHistoryRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingRunHistoryRequest::setStatus(int status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", std::to_string(status));
|
||||
}
|
||||
|
||||
104
sddp/src/model/DescribeDataMaskingRunHistoryResult.cc
Normal file
104
sddp/src/model/DescribeDataMaskingRunHistoryResult.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sddp/model/DescribeDataMaskingRunHistoryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sddp;
|
||||
using namespace AlibabaCloud::Sddp::Model;
|
||||
|
||||
DescribeDataMaskingRunHistoryResult::DescribeDataMaskingRunHistoryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDataMaskingRunHistoryResult::DescribeDataMaskingRunHistoryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDataMaskingRunHistoryResult::~DescribeDataMaskingRunHistoryResult()
|
||||
{}
|
||||
|
||||
void DescribeDataMaskingRunHistoryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["Task"];
|
||||
for (auto valueItemsTask : allItemsNode)
|
||||
{
|
||||
Task itemsObject;
|
||||
if(!valueItemsTask["Id"].isNull())
|
||||
itemsObject.id = std::stol(valueItemsTask["Id"].asString());
|
||||
if(!valueItemsTask["TaskId"].isNull())
|
||||
itemsObject.taskId = valueItemsTask["TaskId"].asString();
|
||||
if(!valueItemsTask["StartTime"].isNull())
|
||||
itemsObject.startTime = std::stol(valueItemsTask["StartTime"].asString());
|
||||
if(!valueItemsTask["RunIndex"].isNull())
|
||||
itemsObject.runIndex = std::stoi(valueItemsTask["RunIndex"].asString());
|
||||
if(!valueItemsTask["Type"].isNull())
|
||||
itemsObject.type = std::stoi(valueItemsTask["Type"].asString());
|
||||
if(!valueItemsTask["DstType"].isNull())
|
||||
itemsObject.dstType = std::stoi(valueItemsTask["DstType"].asString());
|
||||
if(!valueItemsTask["Percentage"].isNull())
|
||||
itemsObject.percentage = std::stoi(valueItemsTask["Percentage"].asString());
|
||||
if(!valueItemsTask["SrcType"].isNull())
|
||||
itemsObject.srcType = std::stoi(valueItemsTask["SrcType"].asString());
|
||||
if(!valueItemsTask["MaskingCount"].isNull())
|
||||
itemsObject.maskingCount = std::stol(valueItemsTask["MaskingCount"].asString());
|
||||
if(!valueItemsTask["ConflictCount"].isNull())
|
||||
itemsObject.conflictCount = std::stol(valueItemsTask["ConflictCount"].asString());
|
||||
if(!valueItemsTask["Status"].isNull())
|
||||
itemsObject.status = std::stoi(valueItemsTask["Status"].asString());
|
||||
if(!valueItemsTask["FailCode"].isNull())
|
||||
itemsObject.failCode = valueItemsTask["FailCode"].asString();
|
||||
if(!valueItemsTask["DstTypeCode"].isNull())
|
||||
itemsObject.dstTypeCode = valueItemsTask["DstTypeCode"].asString();
|
||||
if(!valueItemsTask["SrcTypeCode"].isNull())
|
||||
itemsObject.srcTypeCode = valueItemsTask["SrcTypeCode"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["CurrentPage"].isNull())
|
||||
currentPage_ = std::stoi(value["CurrentPage"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeDataMaskingRunHistoryResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int DescribeDataMaskingRunHistoryResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeDataMaskingRunHistoryResult::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDataMaskingRunHistoryResult::Task> DescribeDataMaskingRunHistoryResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
128
sddp/src/model/DescribeDataMaskingTasksRequest.cc
Normal file
128
sddp/src/model/DescribeDataMaskingTasksRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sddp/model/DescribeDataMaskingTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::Sddp::Model::DescribeDataMaskingTasksRequest;
|
||||
|
||||
DescribeDataMaskingTasksRequest::DescribeDataMaskingTasksRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeDataMaskingTasks")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDataMaskingTasksRequest::~DescribeDataMaskingTasksRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDataMaskingTasksRequest::getSearchKey()const
|
||||
{
|
||||
return searchKey_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingTasksRequest::setSearchKey(const std::string& searchKey)
|
||||
{
|
||||
searchKey_ = searchKey;
|
||||
setParameter("SearchKey", searchKey);
|
||||
}
|
||||
|
||||
long DescribeDataMaskingTasksRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingTasksRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string DescribeDataMaskingTasksRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingTasksRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeDataMaskingTasksRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingTasksRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDataMaskingTasksRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingTasksRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int DescribeDataMaskingTasksRequest::getFeatureType()const
|
||||
{
|
||||
return featureType_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingTasksRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
long DescribeDataMaskingTasksRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingTasksRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
int DescribeDataMaskingTasksRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingTasksRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
int DescribeDataMaskingTasksRequest::getDstType()const
|
||||
{
|
||||
return dstType_;
|
||||
}
|
||||
|
||||
void DescribeDataMaskingTasksRequest::setDstType(int dstType)
|
||||
{
|
||||
dstType_ = dstType;
|
||||
setParameter("DstType", std::to_string(dstType));
|
||||
}
|
||||
|
||||
106
sddp/src/model/DescribeDataMaskingTasksResult.cc
Normal file
106
sddp/src/model/DescribeDataMaskingTasksResult.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sddp/model/DescribeDataMaskingTasksResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sddp;
|
||||
using namespace AlibabaCloud::Sddp::Model;
|
||||
|
||||
DescribeDataMaskingTasksResult::DescribeDataMaskingTasksResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDataMaskingTasksResult::DescribeDataMaskingTasksResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDataMaskingTasksResult::~DescribeDataMaskingTasksResult()
|
||||
{}
|
||||
|
||||
void DescribeDataMaskingTasksResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["Task"];
|
||||
for (auto valueItemsTask : allItemsNode)
|
||||
{
|
||||
Task itemsObject;
|
||||
if(!valueItemsTask["Id"].isNull())
|
||||
itemsObject.id = std::stol(valueItemsTask["Id"].asString());
|
||||
if(!valueItemsTask["TaskId"].isNull())
|
||||
itemsObject.taskId = valueItemsTask["TaskId"].asString();
|
||||
if(!valueItemsTask["TaskName"].isNull())
|
||||
itemsObject.taskName = valueItemsTask["TaskName"].asString();
|
||||
if(!valueItemsTask["Owner"].isNull())
|
||||
itemsObject.owner = valueItemsTask["Owner"].asString();
|
||||
if(!valueItemsTask["GmtCreate"].isNull())
|
||||
itemsObject.gmtCreate = std::stol(valueItemsTask["GmtCreate"].asString());
|
||||
if(!valueItemsTask["DstType"].isNull())
|
||||
itemsObject.dstType = std::stoi(valueItemsTask["DstType"].asString());
|
||||
if(!valueItemsTask["DstPath"].isNull())
|
||||
itemsObject.dstPath = valueItemsTask["DstPath"].asString();
|
||||
if(!valueItemsTask["SrcType"].isNull())
|
||||
itemsObject.srcType = std::stoi(valueItemsTask["SrcType"].asString());
|
||||
if(!valueItemsTask["SrcPath"].isNull())
|
||||
itemsObject.srcPath = valueItemsTask["SrcPath"].asString();
|
||||
if(!valueItemsTask["RunCount"].isNull())
|
||||
itemsObject.runCount = std::stoi(valueItemsTask["RunCount"].asString());
|
||||
if(!valueItemsTask["Status"].isNull())
|
||||
itemsObject.status = std::stoi(valueItemsTask["Status"].asString());
|
||||
if(!valueItemsTask["HasUnfinishProcess"].isNull())
|
||||
itemsObject.hasUnfinishProcess = valueItemsTask["HasUnfinishProcess"].asString() == "true";
|
||||
if(!valueItemsTask["DstTypeCode"].isNull())
|
||||
itemsObject.dstTypeCode = valueItemsTask["DstTypeCode"].asString();
|
||||
if(!valueItemsTask["SrcTypeCode"].isNull())
|
||||
itemsObject.srcTypeCode = valueItemsTask["SrcTypeCode"].asString();
|
||||
if(!valueItemsTask["TriggerType"].isNull())
|
||||
itemsObject.triggerType = std::stoi(valueItemsTask["TriggerType"].asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["CurrentPage"].isNull())
|
||||
currentPage_ = std::stoi(value["CurrentPage"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeDataMaskingTasksResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int DescribeDataMaskingTasksResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeDataMaskingTasksResult::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDataMaskingTasksResult::Task> DescribeDataMaskingTasksResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeDepartsRequest;
|
||||
|
||||
DescribeDepartsRequest::DescribeDepartsRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeDeparts")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDepartsRequest::~DescribeDepartsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ int DescribeDepartsRequest::getAccountType()const
|
||||
void DescribeDepartsRequest::setAccountType(int accountType)
|
||||
{
|
||||
accountType_ = accountType;
|
||||
setCoreParameter("AccountType", std::to_string(accountType));
|
||||
setParameter("AccountType", std::to_string(accountType));
|
||||
}
|
||||
|
||||
std::string DescribeDepartsRequest::getSourceIp()const
|
||||
@@ -44,7 +46,7 @@ std::string DescribeDepartsRequest::getSourceIp()const
|
||||
void DescribeDepartsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeDepartsRequest::getPageSize()const
|
||||
@@ -55,7 +57,7 @@ int DescribeDepartsRequest::getPageSize()const
|
||||
void DescribeDepartsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDepartsRequest::getLang()const
|
||||
@@ -66,7 +68,7 @@ std::string DescribeDepartsRequest::getLang()const
|
||||
void DescribeDepartsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeDepartsRequest::getKey()const
|
||||
@@ -77,7 +79,7 @@ std::string DescribeDepartsRequest::getKey()const
|
||||
void DescribeDepartsRequest::setKey(const std::string& key)
|
||||
{
|
||||
key_ = key;
|
||||
setCoreParameter("Key", key);
|
||||
setParameter("Key", key);
|
||||
}
|
||||
|
||||
int DescribeDepartsRequest::getFeatureType()const
|
||||
@@ -88,7 +90,7 @@ int DescribeDepartsRequest::getFeatureType()const
|
||||
void DescribeDepartsRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
int DescribeDepartsRequest::getCurrentPage()const
|
||||
@@ -99,6 +101,6 @@ int DescribeDepartsRequest::getCurrentPage()const
|
||||
void DescribeDepartsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeEventDetailRequest;
|
||||
|
||||
DescribeEventDetailRequest::DescribeEventDetailRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeEventDetail")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeEventDetailRequest::~DescribeEventDetailRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ long DescribeEventDetailRequest::getFeatureType()const
|
||||
void DescribeEventDetailRequest::setFeatureType(long featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
std::string DescribeEventDetailRequest::getSourceIp()const
|
||||
@@ -44,7 +46,7 @@ std::string DescribeEventDetailRequest::getSourceIp()const
|
||||
void DescribeEventDetailRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
long DescribeEventDetailRequest::getId()const
|
||||
@@ -55,7 +57,7 @@ long DescribeEventDetailRequest::getId()const
|
||||
void DescribeEventDetailRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
setParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DescribeEventDetailRequest::getLang()const
|
||||
@@ -66,6 +68,6 @@ std::string DescribeEventDetailRequest::getLang()const
|
||||
void DescribeEventDetailRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -54,8 +54,6 @@ void DescribeEventDetailResult::parse(const std::string &payload)
|
||||
event_.typeCode = eventNode["TypeCode"].asString();
|
||||
if(!eventNode["TypeName"].isNull())
|
||||
event_.typeName = eventNode["TypeName"].asString();
|
||||
if(!eventNode["TelephoneNum"].isNull())
|
||||
event_.telephoneNum = eventNode["TelephoneNum"].asString();
|
||||
if(!eventNode["SubTypeCode"].isNull())
|
||||
event_.subTypeCode = eventNode["SubTypeCode"].asString();
|
||||
if(!eventNode["SubTypeName"].isNull())
|
||||
@@ -105,6 +103,8 @@ void DescribeEventDetailResult::parse(const std::string &payload)
|
||||
chartItemObject.xLabel = detailNodeChartChartItem["XLabel"].asString();
|
||||
if(!detailNodeChartChartItem["YLabel"].isNull())
|
||||
chartItemObject.yLabel = detailNodeChartChartItem["YLabel"].asString();
|
||||
if(!detailNodeChartChartItem["Type"].isNull())
|
||||
chartItemObject.type = detailNodeChartChartItem["Type"].asString();
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["X"].isNull())
|
||||
chartItemObject.data.x = dataNode["X"].asString();
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeEventTypesRequest;
|
||||
|
||||
DescribeEventTypesRequest::DescribeEventTypesRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeEventTypes")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeEventTypesRequest::~DescribeEventTypesRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ long DescribeEventTypesRequest::getParentTypeId()const
|
||||
void DescribeEventTypesRequest::setParentTypeId(long parentTypeId)
|
||||
{
|
||||
parentTypeId_ = parentTypeId;
|
||||
setCoreParameter("ParentTypeId", std::to_string(parentTypeId));
|
||||
setParameter("ParentTypeId", std::to_string(parentTypeId));
|
||||
}
|
||||
|
||||
std::string DescribeEventTypesRequest::getSourceIp()const
|
||||
@@ -44,7 +46,7 @@ std::string DescribeEventTypesRequest::getSourceIp()const
|
||||
void DescribeEventTypesRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeEventTypesRequest::getLang()const
|
||||
@@ -55,6 +57,6 @@ std::string DescribeEventTypesRequest::getLang()const
|
||||
void DescribeEventTypesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeEventsRequest;
|
||||
|
||||
DescribeEventsRequest::DescribeEventsRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeEvents")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeEventsRequest::~DescribeEventsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string DescribeEventsRequest::getProductCode()const
|
||||
void DescribeEventsRequest::setProductCode(const std::string& productCode)
|
||||
{
|
||||
productCode_ = productCode;
|
||||
setCoreParameter("ProductCode", productCode);
|
||||
setParameter("ProductCode", productCode);
|
||||
}
|
||||
|
||||
std::string DescribeEventsRequest::getStartTime()const
|
||||
@@ -44,7 +46,7 @@ std::string DescribeEventsRequest::getStartTime()const
|
||||
void DescribeEventsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", startTime);
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
long DescribeEventsRequest::getUserId()const
|
||||
@@ -55,7 +57,7 @@ long DescribeEventsRequest::getUserId()const
|
||||
void DescribeEventsRequest::setUserId(long userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setCoreParameter("UserId", std::to_string(userId));
|
||||
setParameter("UserId", std::to_string(userId));
|
||||
}
|
||||
|
||||
std::string DescribeEventsRequest::getTypeCode()const
|
||||
@@ -66,7 +68,7 @@ std::string DescribeEventsRequest::getTypeCode()const
|
||||
void DescribeEventsRequest::setTypeCode(const std::string& typeCode)
|
||||
{
|
||||
typeCode_ = typeCode;
|
||||
setCoreParameter("TypeCode", typeCode);
|
||||
setParameter("TypeCode", typeCode);
|
||||
}
|
||||
|
||||
std::string DescribeEventsRequest::getSubTypeCode()const
|
||||
@@ -77,7 +79,7 @@ std::string DescribeEventsRequest::getSubTypeCode()const
|
||||
void DescribeEventsRequest::setSubTypeCode(const std::string& subTypeCode)
|
||||
{
|
||||
subTypeCode_ = subTypeCode;
|
||||
setCoreParameter("SubTypeCode", subTypeCode);
|
||||
setParameter("SubTypeCode", subTypeCode);
|
||||
}
|
||||
|
||||
std::string DescribeEventsRequest::getSourceIp()const
|
||||
@@ -88,7 +90,7 @@ std::string DescribeEventsRequest::getSourceIp()const
|
||||
void DescribeEventsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeEventsRequest::getTargetProductCode()const
|
||||
@@ -99,7 +101,7 @@ std::string DescribeEventsRequest::getTargetProductCode()const
|
||||
void DescribeEventsRequest::setTargetProductCode(const std::string& targetProductCode)
|
||||
{
|
||||
targetProductCode_ = targetProductCode;
|
||||
setCoreParameter("TargetProductCode", targetProductCode);
|
||||
setParameter("TargetProductCode", targetProductCode);
|
||||
}
|
||||
|
||||
int DescribeEventsRequest::getPageSize()const
|
||||
@@ -110,7 +112,7 @@ int DescribeEventsRequest::getPageSize()const
|
||||
void DescribeEventsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeEventsRequest::getLang()const
|
||||
@@ -121,7 +123,7 @@ std::string DescribeEventsRequest::getLang()const
|
||||
void DescribeEventsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeEventsRequest::getDealUserId()const
|
||||
@@ -132,7 +134,7 @@ std::string DescribeEventsRequest::getDealUserId()const
|
||||
void DescribeEventsRequest::setDealUserId(const std::string& dealUserId)
|
||||
{
|
||||
dealUserId_ = dealUserId;
|
||||
setCoreParameter("DealUserId", dealUserId);
|
||||
setParameter("DealUserId", dealUserId);
|
||||
}
|
||||
|
||||
int DescribeEventsRequest::getFeatureType()const
|
||||
@@ -143,7 +145,7 @@ int DescribeEventsRequest::getFeatureType()const
|
||||
void DescribeEventsRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
std::string DescribeEventsRequest::getEndTime()const
|
||||
@@ -154,7 +156,7 @@ std::string DescribeEventsRequest::getEndTime()const
|
||||
void DescribeEventsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
int DescribeEventsRequest::getCurrentPage()const
|
||||
@@ -165,7 +167,7 @@ int DescribeEventsRequest::getCurrentPage()const
|
||||
void DescribeEventsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribeEventsRequest::getDepartId()const
|
||||
@@ -176,7 +178,7 @@ long DescribeEventsRequest::getDepartId()const
|
||||
void DescribeEventsRequest::setDepartId(long departId)
|
||||
{
|
||||
departId_ = departId;
|
||||
setCoreParameter("DepartId", std::to_string(departId));
|
||||
setParameter("DepartId", std::to_string(departId));
|
||||
}
|
||||
|
||||
std::string DescribeEventsRequest::getStatus()const
|
||||
@@ -187,6 +189,6 @@ std::string DescribeEventsRequest::getStatus()const
|
||||
void DescribeEventsRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setCoreParameter("Status", status);
|
||||
setParameter("Status", status);
|
||||
}
|
||||
|
||||
|
||||
@@ -59,8 +59,6 @@ void DescribeEventsResult::parse(const std::string &payload)
|
||||
itemsObject.typeCode = valueItemsEvent["TypeCode"].asString();
|
||||
if(!valueItemsEvent["TypeName"].isNull())
|
||||
itemsObject.typeName = valueItemsEvent["TypeName"].asString();
|
||||
if(!valueItemsEvent["TelephoneNum"].isNull())
|
||||
itemsObject.telephoneNum = valueItemsEvent["TelephoneNum"].asString();
|
||||
if(!valueItemsEvent["SubTypeCode"].isNull())
|
||||
itemsObject.subTypeCode = valueItemsEvent["SubTypeCode"].asString();
|
||||
if(!valueItemsEvent["SubTypeName"].isNull())
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeInstancesRequest;
|
||||
|
||||
DescribeInstancesRequest::DescribeInstancesRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeInstances")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeInstancesRequest::~DescribeInstancesRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string DescribeInstancesRequest::getProductCode()const
|
||||
void DescribeInstancesRequest::setProductCode(const std::string& productCode)
|
||||
{
|
||||
productCode_ = productCode;
|
||||
setCoreParameter("ProductCode", productCode);
|
||||
setParameter("ProductCode", productCode);
|
||||
}
|
||||
|
||||
long DescribeInstancesRequest::getProductId()const
|
||||
@@ -44,7 +46,18 @@ long DescribeInstancesRequest::getProductId()const
|
||||
void DescribeInstancesRequest::setProductId(long productId)
|
||||
{
|
||||
productId_ = productId;
|
||||
setCoreParameter("ProductId", std::to_string(productId));
|
||||
setParameter("ProductId", std::to_string(productId));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getRiskLevels()const
|
||||
{
|
||||
return riskLevels_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setRiskLevels(const std::string& riskLevels)
|
||||
{
|
||||
riskLevels_ = riskLevels;
|
||||
setParameter("RiskLevels", riskLevels);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getQueryName()const
|
||||
@@ -55,7 +68,7 @@ std::string DescribeInstancesRequest::getQueryName()const
|
||||
void DescribeInstancesRequest::setQueryName(const std::string& queryName)
|
||||
{
|
||||
queryName_ = queryName;
|
||||
setCoreParameter("QueryName", queryName);
|
||||
setParameter("QueryName", queryName);
|
||||
}
|
||||
|
||||
long DescribeInstancesRequest::getRiskLevelId()const
|
||||
@@ -66,7 +79,7 @@ long DescribeInstancesRequest::getRiskLevelId()const
|
||||
void DescribeInstancesRequest::setRiskLevelId(long riskLevelId)
|
||||
{
|
||||
riskLevelId_ = riskLevelId;
|
||||
setCoreParameter("RiskLevelId", std::to_string(riskLevelId));
|
||||
setParameter("RiskLevelId", std::to_string(riskLevelId));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getSourceIp()const
|
||||
@@ -77,7 +90,7 @@ std::string DescribeInstancesRequest::getSourceIp()const
|
||||
void DescribeInstancesRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeInstancesRequest::getPageSize()const
|
||||
@@ -88,7 +101,7 @@ int DescribeInstancesRequest::getPageSize()const
|
||||
void DescribeInstancesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getLang()const
|
||||
@@ -99,7 +112,7 @@ std::string DescribeInstancesRequest::getLang()const
|
||||
void DescribeInstancesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int DescribeInstancesRequest::getQueryType()const
|
||||
@@ -110,7 +123,18 @@ int DescribeInstancesRequest::getQueryType()const
|
||||
void DescribeInstancesRequest::setQueryType(int queryType)
|
||||
{
|
||||
queryType_ = queryType;
|
||||
setCoreParameter("QueryType", std::to_string(queryType));
|
||||
setParameter("QueryType", std::to_string(queryType));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getServiceRegionId()const
|
||||
{
|
||||
return serviceRegionId_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setServiceRegionId(const std::string& serviceRegionId)
|
||||
{
|
||||
serviceRegionId_ = serviceRegionId;
|
||||
setParameter("ServiceRegionId", serviceRegionId);
|
||||
}
|
||||
|
||||
int DescribeInstancesRequest::getFeatureType()const
|
||||
@@ -121,7 +145,18 @@ int DescribeInstancesRequest::getFeatureType()const
|
||||
void DescribeInstancesRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
int DescribeInstancesRequest::getCurrentPage()const
|
||||
@@ -132,7 +167,7 @@ int DescribeInstancesRequest::getCurrentPage()const
|
||||
void DescribeInstancesRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getName()const
|
||||
@@ -143,7 +178,7 @@ std::string DescribeInstancesRequest::getName()const
|
||||
void DescribeInstancesRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
long DescribeInstancesRequest::getRuleId()const
|
||||
@@ -154,6 +189,6 @@ long DescribeInstancesRequest::getRuleId()const
|
||||
void DescribeInstancesRequest::setRuleId(long ruleId)
|
||||
{
|
||||
ruleId_ = ruleId;
|
||||
setCoreParameter("RuleId", std::to_string(ruleId));
|
||||
setParameter("RuleId", std::to_string(ruleId));
|
||||
}
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ void DescribeInstancesResult::parse(const std::string &payload)
|
||||
if(!valueItemsInstance["Protection"].isNull())
|
||||
itemsObject.protection = valueItemsInstance["Protection"].asString() == "true";
|
||||
if(!valueItemsInstance["Labelsec"].isNull())
|
||||
itemsObject.labelsec = std::stoi(valueItemsInstance["Labelsec"].asString());
|
||||
itemsObject.labelsec = valueItemsInstance["Labelsec"].asString() == "true";
|
||||
if(!valueItemsInstance["OdpsRiskLevelName"].isNull())
|
||||
itemsObject.odpsRiskLevelName = valueItemsInstance["OdpsRiskLevelName"].asString();
|
||||
if(!valueItemsInstance["Sensitive"].isNull())
|
||||
@@ -77,6 +77,18 @@ void DescribeInstancesResult::parse(const std::string &payload)
|
||||
itemsObject.sensitiveCount = std::stoi(valueItemsInstance["SensitiveCount"].asString());
|
||||
if(!valueItemsInstance["Acl"].isNull())
|
||||
itemsObject.acl = valueItemsInstance["Acl"].asString();
|
||||
if(!valueItemsInstance["S2Count"].isNull())
|
||||
itemsObject.s2Count = std::stoi(valueItemsInstance["S2Count"].asString());
|
||||
if(!valueItemsInstance["S3Count"].isNull())
|
||||
itemsObject.s3Count = std::stoi(valueItemsInstance["S3Count"].asString());
|
||||
if(!valueItemsInstance["LastFinishTime"].isNull())
|
||||
itemsObject.lastFinishTime = std::stol(valueItemsInstance["LastFinishTime"].asString());
|
||||
if(!valueItemsInstance["RegionName"].isNull())
|
||||
itemsObject.regionName = valueItemsInstance["RegionName"].asString();
|
||||
if(!valueItemsInstance["RegionId"].isNull())
|
||||
itemsObject.regionId = valueItemsInstance["RegionId"].asString();
|
||||
if(!valueItemsInstance["EngineType"].isNull())
|
||||
itemsObject.engineType = valueItemsInstance["EngineType"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["PageSize"].isNull())
|
||||
|
||||
205
sddp/src/model/DescribeOriginalLogsRequest.cc
Normal file
205
sddp/src/model/DescribeOriginalLogsRequest.cc
Normal file
@@ -0,0 +1,205 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/DescribeOriginalLogsRequest.h>
|
||||
|
||||
using AlibabaCloud::Sddp::Model::DescribeOriginalLogsRequest;
|
||||
|
||||
DescribeOriginalLogsRequest::DescribeOriginalLogsRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeOriginalLogs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeOriginalLogsRequest::~DescribeOriginalLogsRequest()
|
||||
{}
|
||||
|
||||
long DescribeOriginalLogsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeOriginalLogsRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string DescribeOriginalLogsRequest::getLogType()const
|
||||
{
|
||||
return logType_;
|
||||
}
|
||||
|
||||
void DescribeOriginalLogsRequest::setLogType(const std::string& logType)
|
||||
{
|
||||
logType_ = logType;
|
||||
setParameter("LogType", logType);
|
||||
}
|
||||
|
||||
std::string DescribeOriginalLogsRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeOriginalLogsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeOriginalLogsRequest::getClientIp()const
|
||||
{
|
||||
return clientIp_;
|
||||
}
|
||||
|
||||
void DescribeOriginalLogsRequest::setClientIp(const std::string& clientIp)
|
||||
{
|
||||
clientIp_ = clientIp;
|
||||
setParameter("ClientIp", clientIp);
|
||||
}
|
||||
|
||||
int DescribeOriginalLogsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeOriginalLogsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeOriginalLogsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeOriginalLogsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeOriginalLogsRequest::getTableName()const
|
||||
{
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void DescribeOriginalLogsRequest::setTableName(const std::string& tableName)
|
||||
{
|
||||
tableName_ = tableName;
|
||||
setParameter("TableName", tableName);
|
||||
}
|
||||
|
||||
std::string DescribeOriginalLogsRequest::getOssObjectKey()const
|
||||
{
|
||||
return ossObjectKey_;
|
||||
}
|
||||
|
||||
void DescribeOriginalLogsRequest::setOssObjectKey(const std::string& ossObjectKey)
|
||||
{
|
||||
ossObjectKey_ = ossObjectKey;
|
||||
setParameter("OssObjectKey", ossObjectKey);
|
||||
}
|
||||
|
||||
int DescribeOriginalLogsRequest::getFeatureType()const
|
||||
{
|
||||
return featureType_;
|
||||
}
|
||||
|
||||
void DescribeOriginalLogsRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
long DescribeOriginalLogsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeOriginalLogsRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
int DescribeOriginalLogsRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeOriginalLogsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeOriginalLogsRequest::getClientUa()const
|
||||
{
|
||||
return clientUa_;
|
||||
}
|
||||
|
||||
void DescribeOriginalLogsRequest::setClientUa(const std::string& clientUa)
|
||||
{
|
||||
clientUa_ = clientUa;
|
||||
setParameter("ClientUa", clientUa);
|
||||
}
|
||||
|
||||
std::string DescribeOriginalLogsRequest::getInstanceName()const
|
||||
{
|
||||
return instanceName_;
|
||||
}
|
||||
|
||||
void DescribeOriginalLogsRequest::setInstanceName(const std::string& instanceName)
|
||||
{
|
||||
instanceName_ = instanceName;
|
||||
setParameter("InstanceName", instanceName);
|
||||
}
|
||||
|
||||
std::string DescribeOriginalLogsRequest::getDatabaseName()const
|
||||
{
|
||||
return databaseName_;
|
||||
}
|
||||
|
||||
void DescribeOriginalLogsRequest::setDatabaseName(const std::string& databaseName)
|
||||
{
|
||||
databaseName_ = databaseName;
|
||||
setParameter("DatabaseName", databaseName);
|
||||
}
|
||||
|
||||
std::string DescribeOriginalLogsRequest::getOperateType()const
|
||||
{
|
||||
return operateType_;
|
||||
}
|
||||
|
||||
void DescribeOriginalLogsRequest::setOperateType(const std::string& operateType)
|
||||
{
|
||||
operateType_ = operateType;
|
||||
setParameter("OperateType", operateType);
|
||||
}
|
||||
|
||||
std::string DescribeOriginalLogsRequest::getUserName()const
|
||||
{
|
||||
return userName_;
|
||||
}
|
||||
|
||||
void DescribeOriginalLogsRequest::setUserName(const std::string& userName)
|
||||
{
|
||||
userName_ = userName;
|
||||
setParameter("UserName", userName);
|
||||
}
|
||||
|
||||
86
sddp/src/model/DescribeOriginalLogsResult.cc
Normal file
86
sddp/src/model/DescribeOriginalLogsResult.cc
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sddp/model/DescribeOriginalLogsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sddp;
|
||||
using namespace AlibabaCloud::Sddp::Model;
|
||||
|
||||
DescribeOriginalLogsResult::DescribeOriginalLogsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeOriginalLogsResult::DescribeOriginalLogsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeOriginalLogsResult::~DescribeOriginalLogsResult()
|
||||
{}
|
||||
|
||||
void DescribeOriginalLogsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["Log"];
|
||||
for (auto valueItemsLog : allItemsNode)
|
||||
{
|
||||
Log itemsObject;
|
||||
auto allLogContentsNode = allItemsNode["LogContents"]["logContent"];
|
||||
for (auto allItemsNodeLogContentslogContent : allLogContentsNode)
|
||||
{
|
||||
Log::LogContent logContentsObject;
|
||||
if(!allItemsNodeLogContentslogContent["Key"].isNull())
|
||||
logContentsObject.key = allItemsNodeLogContentslogContent["Key"].asString();
|
||||
if(!allItemsNodeLogContentslogContent["Value"].isNull())
|
||||
logContentsObject.value = allItemsNodeLogContentslogContent["Value"].asString();
|
||||
itemsObject.logContents.push_back(logContentsObject);
|
||||
}
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["CurrentPage"].isNull())
|
||||
currentPage_ = std::stoi(value["CurrentPage"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeOriginalLogsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int DescribeOriginalLogsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeOriginalLogsResult::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
std::vector<DescribeOriginalLogsResult::Log> DescribeOriginalLogsResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeOssObjectDetailRequest;
|
||||
|
||||
DescribeOssObjectDetailRequest::DescribeOssObjectDetailRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeOssObjectDetail")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeOssObjectDetailRequest::~DescribeOssObjectDetailRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ int DescribeOssObjectDetailRequest::getFeatureType()const
|
||||
void DescribeOssObjectDetailRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
std::string DescribeOssObjectDetailRequest::getSourceIp()const
|
||||
@@ -44,7 +46,7 @@ std::string DescribeOssObjectDetailRequest::getSourceIp()const
|
||||
void DescribeOssObjectDetailRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
long DescribeOssObjectDetailRequest::getId()const
|
||||
@@ -55,7 +57,7 @@ long DescribeOssObjectDetailRequest::getId()const
|
||||
void DescribeOssObjectDetailRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
setParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string DescribeOssObjectDetailRequest::getLang()const
|
||||
@@ -66,6 +68,6 @@ std::string DescribeOssObjectDetailRequest::getLang()const
|
||||
void DescribeOssObjectDetailRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -58,6 +58,8 @@ void DescribeOssObjectDetailResult::parse(const std::string &payload)
|
||||
ruleObject.ruleName = ossObjectDetailNodeRuleListRule["RuleName"].asString();
|
||||
if(!ossObjectDetailNodeRuleListRule["Count"].isNull())
|
||||
ruleObject.count = std::stol(ossObjectDetailNodeRuleListRule["Count"].asString());
|
||||
if(!ossObjectDetailNodeRuleListRule["Category"].isNull())
|
||||
ruleObject.category = std::stoi(ossObjectDetailNodeRuleListRule["Category"].asString());
|
||||
ossObjectDetail_.ruleList.push_back(ruleObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,11 +20,24 @@ using AlibabaCloud::Sddp::Model::DescribeOssObjectsRequest;
|
||||
|
||||
DescribeOssObjectsRequest::DescribeOssObjectsRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeOssObjects")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeOssObjectsRequest::~DescribeOssObjectsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeOssObjectsRequest::getRiskLevels()const
|
||||
{
|
||||
return riskLevels_;
|
||||
}
|
||||
|
||||
void DescribeOssObjectsRequest::setRiskLevels(const std::string& riskLevels)
|
||||
{
|
||||
riskLevels_ = riskLevels;
|
||||
setParameter("RiskLevels", riskLevels);
|
||||
}
|
||||
|
||||
std::string DescribeOssObjectsRequest::getQueryName()const
|
||||
{
|
||||
return queryName_;
|
||||
@@ -33,7 +46,7 @@ std::string DescribeOssObjectsRequest::getQueryName()const
|
||||
void DescribeOssObjectsRequest::setQueryName(const std::string& queryName)
|
||||
{
|
||||
queryName_ = queryName;
|
||||
setCoreParameter("QueryName", queryName);
|
||||
setParameter("QueryName", queryName);
|
||||
}
|
||||
|
||||
int DescribeOssObjectsRequest::getRiskLevelId()const
|
||||
@@ -44,7 +57,7 @@ int DescribeOssObjectsRequest::getRiskLevelId()const
|
||||
void DescribeOssObjectsRequest::setRiskLevelId(int riskLevelId)
|
||||
{
|
||||
riskLevelId_ = riskLevelId;
|
||||
setCoreParameter("RiskLevelId", std::to_string(riskLevelId));
|
||||
setParameter("RiskLevelId", std::to_string(riskLevelId));
|
||||
}
|
||||
|
||||
std::string DescribeOssObjectsRequest::getSourceIp()const
|
||||
@@ -55,7 +68,7 @@ std::string DescribeOssObjectsRequest::getSourceIp()const
|
||||
void DescribeOssObjectsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeOssObjectsRequest::getPageSize()const
|
||||
@@ -66,7 +79,7 @@ int DescribeOssObjectsRequest::getPageSize()const
|
||||
void DescribeOssObjectsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeOssObjectsRequest::getLang()const
|
||||
@@ -77,7 +90,7 @@ std::string DescribeOssObjectsRequest::getLang()const
|
||||
void DescribeOssObjectsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int DescribeOssObjectsRequest::getFeatureType()const
|
||||
@@ -88,7 +101,18 @@ int DescribeOssObjectsRequest::getFeatureType()const
|
||||
void DescribeOssObjectsRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
std::string DescribeOssObjectsRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void DescribeOssObjectsRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
int DescribeOssObjectsRequest::getCurrentPage()const
|
||||
@@ -99,7 +123,7 @@ int DescribeOssObjectsRequest::getCurrentPage()const
|
||||
void DescribeOssObjectsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeOssObjectsRequest::getInstanceId()const
|
||||
@@ -110,7 +134,7 @@ std::string DescribeOssObjectsRequest::getInstanceId()const
|
||||
void DescribeOssObjectsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string DescribeOssObjectsRequest::getName()const
|
||||
@@ -121,7 +145,7 @@ std::string DescribeOssObjectsRequest::getName()const
|
||||
void DescribeOssObjectsRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
long DescribeOssObjectsRequest::getRuleId()const
|
||||
@@ -132,6 +156,17 @@ long DescribeOssObjectsRequest::getRuleId()const
|
||||
void DescribeOssObjectsRequest::setRuleId(long ruleId)
|
||||
{
|
||||
ruleId_ = ruleId;
|
||||
setCoreParameter("RuleId", std::to_string(ruleId));
|
||||
setParameter("RuleId", std::to_string(ruleId));
|
||||
}
|
||||
|
||||
int DescribeOssObjectsRequest::getCategory()const
|
||||
{
|
||||
return category_;
|
||||
}
|
||||
|
||||
void DescribeOssObjectsRequest::setCategory(int category)
|
||||
{
|
||||
category_ = category;
|
||||
setParameter("Category", std::to_string(category));
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ void DescribeOssObjectsResult::parse(const std::string &payload)
|
||||
{
|
||||
Column itemsObject;
|
||||
if(!valueItemsColumn["Id"].isNull())
|
||||
itemsObject.id = std::stol(valueItemsColumn["Id"].asString());
|
||||
itemsObject.id = valueItemsColumn["Id"].asString();
|
||||
if(!valueItemsColumn["Name"].isNull())
|
||||
itemsObject.name = valueItemsColumn["Name"].asString();
|
||||
if(!valueItemsColumn["RegionId"].isNull())
|
||||
@@ -58,7 +58,17 @@ void DescribeOssObjectsResult::parse(const std::string &payload)
|
||||
if(!valueItemsColumn["FileId"].isNull())
|
||||
itemsObject.fileId = valueItemsColumn["FileId"].asString();
|
||||
if(!valueItemsColumn["RiskLevelName"].isNull())
|
||||
itemsObject.riskLevelName = std::stol(valueItemsColumn["RiskLevelName"].asString());
|
||||
itemsObject.riskLevelName = valueItemsColumn["RiskLevelName"].asString();
|
||||
if(!valueItemsColumn["Size"].isNull())
|
||||
itemsObject.size = std::stol(valueItemsColumn["Size"].asString());
|
||||
if(!valueItemsColumn["SensitiveCount"].isNull())
|
||||
itemsObject.sensitiveCount = std::stoi(valueItemsColumn["SensitiveCount"].asString());
|
||||
if(!valueItemsColumn["RuleCount"].isNull())
|
||||
itemsObject.ruleCount = std::stoi(valueItemsColumn["RuleCount"].asString());
|
||||
if(!valueItemsColumn["CategoryName"].isNull())
|
||||
itemsObject.categoryName = valueItemsColumn["CategoryName"].asString();
|
||||
if(!valueItemsColumn["BucketName"].isNull())
|
||||
itemsObject.bucketName = valueItemsColumn["BucketName"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["PageSize"].isNull())
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribePackagesRequest;
|
||||
|
||||
DescribePackagesRequest::DescribePackagesRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribePackages")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribePackagesRequest::~DescribePackagesRequest()
|
||||
{}
|
||||
@@ -33,7 +35,18 @@ long DescribePackagesRequest::getProductId()const
|
||||
void DescribePackagesRequest::setProductId(long productId)
|
||||
{
|
||||
productId_ = productId;
|
||||
setCoreParameter("ProductId", std::to_string(productId));
|
||||
setParameter("ProductId", std::to_string(productId));
|
||||
}
|
||||
|
||||
std::string DescribePackagesRequest::getRiskLevels()const
|
||||
{
|
||||
return riskLevels_;
|
||||
}
|
||||
|
||||
void DescribePackagesRequest::setRiskLevels(const std::string& riskLevels)
|
||||
{
|
||||
riskLevels_ = riskLevels;
|
||||
setParameter("RiskLevels", riskLevels);
|
||||
}
|
||||
|
||||
std::string DescribePackagesRequest::getQueryName()const
|
||||
@@ -44,7 +57,7 @@ std::string DescribePackagesRequest::getQueryName()const
|
||||
void DescribePackagesRequest::setQueryName(const std::string& queryName)
|
||||
{
|
||||
queryName_ = queryName;
|
||||
setCoreParameter("QueryName", queryName);
|
||||
setParameter("QueryName", queryName);
|
||||
}
|
||||
|
||||
long DescribePackagesRequest::getRiskLevelId()const
|
||||
@@ -55,7 +68,7 @@ long DescribePackagesRequest::getRiskLevelId()const
|
||||
void DescribePackagesRequest::setRiskLevelId(long riskLevelId)
|
||||
{
|
||||
riskLevelId_ = riskLevelId;
|
||||
setCoreParameter("RiskLevelId", std::to_string(riskLevelId));
|
||||
setParameter("RiskLevelId", std::to_string(riskLevelId));
|
||||
}
|
||||
|
||||
std::string DescribePackagesRequest::getSourceIp()const
|
||||
@@ -66,7 +79,7 @@ std::string DescribePackagesRequest::getSourceIp()const
|
||||
void DescribePackagesRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribePackagesRequest::getPageSize()const
|
||||
@@ -77,7 +90,7 @@ int DescribePackagesRequest::getPageSize()const
|
||||
void DescribePackagesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribePackagesRequest::getLang()const
|
||||
@@ -88,7 +101,7 @@ std::string DescribePackagesRequest::getLang()const
|
||||
void DescribePackagesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int DescribePackagesRequest::getQueryType()const
|
||||
@@ -99,7 +112,7 @@ int DescribePackagesRequest::getQueryType()const
|
||||
void DescribePackagesRequest::setQueryType(int queryType)
|
||||
{
|
||||
queryType_ = queryType;
|
||||
setCoreParameter("QueryType", std::to_string(queryType));
|
||||
setParameter("QueryType", std::to_string(queryType));
|
||||
}
|
||||
|
||||
int DescribePackagesRequest::getFeatureType()const
|
||||
@@ -110,7 +123,18 @@ int DescribePackagesRequest::getFeatureType()const
|
||||
void DescribePackagesRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
std::string DescribePackagesRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void DescribePackagesRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
int DescribePackagesRequest::getCurrentPage()const
|
||||
@@ -121,7 +145,7 @@ int DescribePackagesRequest::getCurrentPage()const
|
||||
void DescribePackagesRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribePackagesRequest::getInstanceId()const
|
||||
@@ -132,7 +156,7 @@ long DescribePackagesRequest::getInstanceId()const
|
||||
void DescribePackagesRequest::setInstanceId(long instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", std::to_string(instanceId));
|
||||
setParameter("InstanceId", std::to_string(instanceId));
|
||||
}
|
||||
|
||||
std::string DescribePackagesRequest::getName()const
|
||||
@@ -143,7 +167,7 @@ std::string DescribePackagesRequest::getName()const
|
||||
void DescribePackagesRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
long DescribePackagesRequest::getRuleId()const
|
||||
@@ -154,6 +178,6 @@ long DescribePackagesRequest::getRuleId()const
|
||||
void DescribePackagesRequest::setRuleId(long ruleId)
|
||||
{
|
||||
ruleId_ = ruleId;
|
||||
setCoreParameter("RuleId", std::to_string(ruleId));
|
||||
setParameter("RuleId", std::to_string(ruleId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,11 +20,24 @@ using AlibabaCloud::Sddp::Model::DescribePrivilegesRequest;
|
||||
|
||||
DescribePrivilegesRequest::DescribePrivilegesRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribePrivileges")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribePrivilegesRequest::~DescribePrivilegesRequest()
|
||||
{}
|
||||
|
||||
int DescribePrivilegesRequest::getAccountType()const
|
||||
{
|
||||
return accountType_;
|
||||
}
|
||||
|
||||
void DescribePrivilegesRequest::setAccountType(int accountType)
|
||||
{
|
||||
accountType_ = accountType;
|
||||
setParameter("AccountType", std::to_string(accountType));
|
||||
}
|
||||
|
||||
long DescribePrivilegesRequest::getAccountId()const
|
||||
{
|
||||
return accountId_;
|
||||
@@ -33,7 +46,7 @@ long DescribePrivilegesRequest::getAccountId()const
|
||||
void DescribePrivilegesRequest::setAccountId(long accountId)
|
||||
{
|
||||
accountId_ = accountId;
|
||||
setCoreParameter("AccountId", std::to_string(accountId));
|
||||
setParameter("AccountId", std::to_string(accountId));
|
||||
}
|
||||
|
||||
std::string DescribePrivilegesRequest::getSourceIp()const
|
||||
@@ -44,7 +57,7 @@ std::string DescribePrivilegesRequest::getSourceIp()const
|
||||
void DescribePrivilegesRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribePrivilegesRequest::getPageSize()const
|
||||
@@ -55,7 +68,7 @@ int DescribePrivilegesRequest::getPageSize()const
|
||||
void DescribePrivilegesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribePrivilegesRequest::getLang()const
|
||||
@@ -66,7 +79,7 @@ std::string DescribePrivilegesRequest::getLang()const
|
||||
void DescribePrivilegesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribePrivilegesRequest::getKey()const
|
||||
@@ -77,7 +90,7 @@ std::string DescribePrivilegesRequest::getKey()const
|
||||
void DescribePrivilegesRequest::setKey(const std::string& key)
|
||||
{
|
||||
key_ = key;
|
||||
setCoreParameter("Key", key);
|
||||
setParameter("Key", key);
|
||||
}
|
||||
|
||||
long DescribePrivilegesRequest::getUseAccountId()const
|
||||
@@ -88,7 +101,7 @@ long DescribePrivilegesRequest::getUseAccountId()const
|
||||
void DescribePrivilegesRequest::setUseAccountId(long useAccountId)
|
||||
{
|
||||
useAccountId_ = useAccountId;
|
||||
setCoreParameter("UseAccountId", std::to_string(useAccountId));
|
||||
setParameter("UseAccountId", std::to_string(useAccountId));
|
||||
}
|
||||
|
||||
int DescribePrivilegesRequest::getFeatureType()const
|
||||
@@ -99,7 +112,7 @@ int DescribePrivilegesRequest::getFeatureType()const
|
||||
void DescribePrivilegesRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
int DescribePrivilegesRequest::getCurrentPage()const
|
||||
@@ -110,7 +123,7 @@ int DescribePrivilegesRequest::getCurrentPage()const
|
||||
void DescribePrivilegesRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribePrivilegesRequest::getDataTypeIds()const
|
||||
@@ -121,6 +134,6 @@ std::string DescribePrivilegesRequest::getDataTypeIds()const
|
||||
void DescribePrivilegesRequest::setDataTypeIds(const std::string& dataTypeIds)
|
||||
{
|
||||
dataTypeIds_ = dataTypeIds;
|
||||
setCoreParameter("DataTypeIds", dataTypeIds);
|
||||
setParameter("DataTypeIds", dataTypeIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,11 +20,46 @@ using AlibabaCloud::Sddp::Model::DescribeRulesRequest;
|
||||
|
||||
DescribeRulesRequest::DescribeRulesRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeRules")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeRulesRequest::~DescribeRulesRequest()
|
||||
{}
|
||||
|
||||
int DescribeRulesRequest::getWarnLevel()const
|
||||
{
|
||||
return warnLevel_;
|
||||
}
|
||||
|
||||
void DescribeRulesRequest::setWarnLevel(int warnLevel)
|
||||
{
|
||||
warnLevel_ = warnLevel;
|
||||
setParameter("WarnLevel", std::to_string(warnLevel));
|
||||
}
|
||||
|
||||
int DescribeRulesRequest::getProductCode()const
|
||||
{
|
||||
return productCode_;
|
||||
}
|
||||
|
||||
void DescribeRulesRequest::setProductCode(int productCode)
|
||||
{
|
||||
productCode_ = productCode;
|
||||
setParameter("ProductCode", std::to_string(productCode));
|
||||
}
|
||||
|
||||
long DescribeRulesRequest::getProductId()const
|
||||
{
|
||||
return productId_;
|
||||
}
|
||||
|
||||
void DescribeRulesRequest::setProductId(long productId)
|
||||
{
|
||||
productId_ = productId;
|
||||
setParameter("ProductId", std::to_string(productId));
|
||||
}
|
||||
|
||||
long DescribeRulesRequest::getRiskLevelId()const
|
||||
{
|
||||
return riskLevelId_;
|
||||
@@ -33,7 +68,7 @@ long DescribeRulesRequest::getRiskLevelId()const
|
||||
void DescribeRulesRequest::setRiskLevelId(long riskLevelId)
|
||||
{
|
||||
riskLevelId_ = riskLevelId;
|
||||
setCoreParameter("RiskLevelId", std::to_string(riskLevelId));
|
||||
setParameter("RiskLevelId", std::to_string(riskLevelId));
|
||||
}
|
||||
|
||||
std::string DescribeRulesRequest::getSourceIp()const
|
||||
@@ -44,7 +79,7 @@ std::string DescribeRulesRequest::getSourceIp()const
|
||||
void DescribeRulesRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeRulesRequest::getPageSize()const
|
||||
@@ -55,7 +90,7 @@ int DescribeRulesRequest::getPageSize()const
|
||||
void DescribeRulesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeRulesRequest::getLang()const
|
||||
@@ -66,7 +101,18 @@ std::string DescribeRulesRequest::getLang()const
|
||||
void DescribeRulesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int DescribeRulesRequest::getRuleType()const
|
||||
{
|
||||
return ruleType_;
|
||||
}
|
||||
|
||||
void DescribeRulesRequest::setRuleType(int ruleType)
|
||||
{
|
||||
ruleType_ = ruleType;
|
||||
setParameter("RuleType", std::to_string(ruleType));
|
||||
}
|
||||
|
||||
int DescribeRulesRequest::getCurrentPage()const
|
||||
@@ -77,7 +123,7 @@ int DescribeRulesRequest::getCurrentPage()const
|
||||
void DescribeRulesRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
int DescribeRulesRequest::getCustomType()const
|
||||
@@ -88,7 +134,7 @@ int DescribeRulesRequest::getCustomType()const
|
||||
void DescribeRulesRequest::setCustomType(int customType)
|
||||
{
|
||||
customType_ = customType;
|
||||
setCoreParameter("CustomType", std::to_string(customType));
|
||||
setParameter("CustomType", std::to_string(customType));
|
||||
}
|
||||
|
||||
std::string DescribeRulesRequest::getName()const
|
||||
@@ -99,7 +145,7 @@ std::string DescribeRulesRequest::getName()const
|
||||
void DescribeRulesRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
int DescribeRulesRequest::getCategory()const
|
||||
@@ -110,6 +156,6 @@ int DescribeRulesRequest::getCategory()const
|
||||
void DescribeRulesRequest::setCategory(int category)
|
||||
{
|
||||
category_ = category;
|
||||
setCoreParameter("Category", std::to_string(category));
|
||||
setParameter("Category", std::to_string(category));
|
||||
}
|
||||
|
||||
|
||||
@@ -75,6 +75,16 @@ void DescribeRulesResult::parse(const std::string &payload)
|
||||
itemsObject.content = valueItemsRule["Content"].asString();
|
||||
if(!valueItemsRule["DepartName"].isNull())
|
||||
itemsObject.departName = valueItemsRule["DepartName"].asString();
|
||||
if(!valueItemsRule["StatExpress"].isNull())
|
||||
itemsObject.statExpress = valueItemsRule["StatExpress"].asString();
|
||||
if(!valueItemsRule["ProductId"].isNull())
|
||||
itemsObject.productId = std::stol(valueItemsRule["ProductId"].asString());
|
||||
if(!valueItemsRule["HitTotalCount"].isNull())
|
||||
itemsObject.hitTotalCount = std::stoi(valueItemsRule["HitTotalCount"].asString());
|
||||
if(!valueItemsRule["ProductCode"].isNull())
|
||||
itemsObject.productCode = valueItemsRule["ProductCode"].asString();
|
||||
if(!valueItemsRule["WarnLevel"].isNull())
|
||||
itemsObject.warnLevel = std::stoi(valueItemsRule["WarnLevel"].asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["PageSize"].isNull())
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sddp::Model::DescribeTablesRequest;
|
||||
|
||||
DescribeTablesRequest::DescribeTablesRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeTables")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeTablesRequest::~DescribeTablesRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string DescribeTablesRequest::getProductCode()const
|
||||
void DescribeTablesRequest::setProductCode(const std::string& productCode)
|
||||
{
|
||||
productCode_ = productCode;
|
||||
setCoreParameter("ProductCode", productCode);
|
||||
setParameter("ProductCode", productCode);
|
||||
}
|
||||
|
||||
long DescribeTablesRequest::getProductId()const
|
||||
@@ -44,7 +46,18 @@ long DescribeTablesRequest::getProductId()const
|
||||
void DescribeTablesRequest::setProductId(long productId)
|
||||
{
|
||||
productId_ = productId;
|
||||
setCoreParameter("ProductId", std::to_string(productId));
|
||||
setParameter("ProductId", std::to_string(productId));
|
||||
}
|
||||
|
||||
std::string DescribeTablesRequest::getRiskLevels()const
|
||||
{
|
||||
return riskLevels_;
|
||||
}
|
||||
|
||||
void DescribeTablesRequest::setRiskLevels(const std::string& riskLevels)
|
||||
{
|
||||
riskLevels_ = riskLevels;
|
||||
setParameter("RiskLevels", riskLevels);
|
||||
}
|
||||
|
||||
long DescribeTablesRequest::getPackageId()const
|
||||
@@ -55,7 +68,7 @@ long DescribeTablesRequest::getPackageId()const
|
||||
void DescribeTablesRequest::setPackageId(long packageId)
|
||||
{
|
||||
packageId_ = packageId;
|
||||
setCoreParameter("PackageId", std::to_string(packageId));
|
||||
setParameter("PackageId", std::to_string(packageId));
|
||||
}
|
||||
|
||||
std::string DescribeTablesRequest::getQueryName()const
|
||||
@@ -66,7 +79,7 @@ std::string DescribeTablesRequest::getQueryName()const
|
||||
void DescribeTablesRequest::setQueryName(const std::string& queryName)
|
||||
{
|
||||
queryName_ = queryName;
|
||||
setCoreParameter("QueryName", queryName);
|
||||
setParameter("QueryName", queryName);
|
||||
}
|
||||
|
||||
long DescribeTablesRequest::getRiskLevelId()const
|
||||
@@ -77,7 +90,7 @@ long DescribeTablesRequest::getRiskLevelId()const
|
||||
void DescribeTablesRequest::setRiskLevelId(long riskLevelId)
|
||||
{
|
||||
riskLevelId_ = riskLevelId;
|
||||
setCoreParameter("RiskLevelId", std::to_string(riskLevelId));
|
||||
setParameter("RiskLevelId", std::to_string(riskLevelId));
|
||||
}
|
||||
|
||||
std::string DescribeTablesRequest::getSourceIp()const
|
||||
@@ -88,7 +101,7 @@ std::string DescribeTablesRequest::getSourceIp()const
|
||||
void DescribeTablesRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeTablesRequest::getPageSize()const
|
||||
@@ -99,7 +112,7 @@ int DescribeTablesRequest::getPageSize()const
|
||||
void DescribeTablesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeTablesRequest::getLang()const
|
||||
@@ -110,7 +123,7 @@ std::string DescribeTablesRequest::getLang()const
|
||||
void DescribeTablesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int DescribeTablesRequest::getQueryType()const
|
||||
@@ -121,7 +134,7 @@ int DescribeTablesRequest::getQueryType()const
|
||||
void DescribeTablesRequest::setQueryType(int queryType)
|
||||
{
|
||||
queryType_ = queryType;
|
||||
setCoreParameter("QueryType", std::to_string(queryType));
|
||||
setParameter("QueryType", std::to_string(queryType));
|
||||
}
|
||||
|
||||
int DescribeTablesRequest::getFeatureType()const
|
||||
@@ -132,7 +145,18 @@ int DescribeTablesRequest::getFeatureType()const
|
||||
void DescribeTablesRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setCoreParameter("FeatureType", std::to_string(featureType));
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
std::string DescribeTablesRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void DescribeTablesRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
int DescribeTablesRequest::getCurrentPage()const
|
||||
@@ -143,7 +167,7 @@ int DescribeTablesRequest::getCurrentPage()const
|
||||
void DescribeTablesRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribeTablesRequest::getInstanceId()const
|
||||
@@ -154,7 +178,7 @@ long DescribeTablesRequest::getInstanceId()const
|
||||
void DescribeTablesRequest::setInstanceId(long instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", std::to_string(instanceId));
|
||||
setParameter("InstanceId", std::to_string(instanceId));
|
||||
}
|
||||
|
||||
std::string DescribeTablesRequest::getName()const
|
||||
@@ -165,7 +189,7 @@ std::string DescribeTablesRequest::getName()const
|
||||
void DescribeTablesRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
long DescribeTablesRequest::getRuleId()const
|
||||
@@ -176,6 +200,6 @@ long DescribeTablesRequest::getRuleId()const
|
||||
void DescribeTablesRequest::setRuleId(long ruleId)
|
||||
{
|
||||
ruleId_ = ruleId;
|
||||
setCoreParameter("RuleId", std::to_string(ruleId));
|
||||
setParameter("RuleId", std::to_string(ruleId));
|
||||
}
|
||||
|
||||
|
||||
@@ -71,6 +71,14 @@ void DescribeTablesResult::parse(const std::string &payload)
|
||||
itemsObject.sensitiveRatio = valueItemsTable["SensitiveRatio"].asString();
|
||||
if(!valueItemsTable["InstanceId"].isNull())
|
||||
itemsObject.instanceId = std::stol(valueItemsTable["InstanceId"].asString());
|
||||
if(!valueItemsTable["S2Count"].isNull())
|
||||
itemsObject.s2Count = std::stoi(valueItemsTable["S2Count"].asString());
|
||||
if(!valueItemsTable["S3Count"].isNull())
|
||||
itemsObject.s3Count = std::stoi(valueItemsTable["S3Count"].asString());
|
||||
if(!valueItemsTable["TotalRows"].isNull())
|
||||
itemsObject.totalRows = std::stoi(valueItemsTable["TotalRows"].asString());
|
||||
if(!valueItemsTable["LastScanTime"].isNull())
|
||||
itemsObject.lastScanTime = std::stol(valueItemsTable["LastScanTime"].asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["PageSize"].isNull())
|
||||
|
||||
84
sddp/src/model/DescribeUseFlowRequest.cc
Normal file
84
sddp/src/model/DescribeUseFlowRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sddp/model/DescribeUseFlowRequest.h>
|
||||
|
||||
using AlibabaCloud::Sddp::Model::DescribeUseFlowRequest;
|
||||
|
||||
DescribeUseFlowRequest::DescribeUseFlowRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "DescribeUseFlow")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeUseFlowRequest::~DescribeUseFlowRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeUseFlowRequest::getDateType()const
|
||||
{
|
||||
return dateType_;
|
||||
}
|
||||
|
||||
void DescribeUseFlowRequest::setDateType(const std::string& dateType)
|
||||
{
|
||||
dateType_ = dateType;
|
||||
setParameter("DateType", dateType);
|
||||
}
|
||||
|
||||
int DescribeUseFlowRequest::getFeatureType()const
|
||||
{
|
||||
return featureType_;
|
||||
}
|
||||
|
||||
void DescribeUseFlowRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
std::string DescribeUseFlowRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeUseFlowRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeUseFlowRequest::getDays()const
|
||||
{
|
||||
return days_;
|
||||
}
|
||||
|
||||
void DescribeUseFlowRequest::setDays(int days)
|
||||
{
|
||||
days_ = days;
|
||||
setParameter("Days", std::to_string(days));
|
||||
}
|
||||
|
||||
std::string DescribeUseFlowRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeUseFlowRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
60
sddp/src/model/DescribeUseFlowResult.cc
Normal file
60
sddp/src/model/DescribeUseFlowResult.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sddp/model/DescribeUseFlowResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sddp;
|
||||
using namespace AlibabaCloud::Sddp::Model;
|
||||
|
||||
DescribeUseFlowResult::DescribeUseFlowResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeUseFlowResult::DescribeUseFlowResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeUseFlowResult::~DescribeUseFlowResult()
|
||||
{}
|
||||
|
||||
void DescribeUseFlowResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto useFlowNode = value["UseFlow"];
|
||||
if(!useFlowNode["TableNum"].isNull())
|
||||
useFlow_.tableNum = std::stol(useFlowNode["TableNum"].asString());
|
||||
if(!useFlowNode["OssSize"].isNull())
|
||||
useFlow_.ossSize = std::stol(useFlowNode["OssSize"].asString());
|
||||
if(!useFlowNode["DataMaskCells"].isNull())
|
||||
useFlow_.dataMaskCells = std::stol(useFlowNode["DataMaskCells"].asString());
|
||||
if(!useFlowNode["SddpCredits"].isNull())
|
||||
useFlow_.sddpCredits = std::stol(useFlowNode["SddpCredits"].asString());
|
||||
if(!useFlowNode["SaleFlowCountType"].isNull())
|
||||
useFlow_.saleFlowCountType = std::stoi(useFlowNode["SaleFlowCountType"].asString());
|
||||
|
||||
}
|
||||
|
||||
DescribeUseFlowResult::UseFlow DescribeUseFlowResult::getUseFlow()const
|
||||
{
|
||||
return useFlow_;
|
||||
}
|
||||
|
||||
62
sddp/src/model/ExecDatamaskRequest.cc
Normal file
62
sddp/src/model/ExecDatamaskRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sddp/model/ExecDatamaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Sddp::Model::ExecDatamaskRequest;
|
||||
|
||||
ExecDatamaskRequest::ExecDatamaskRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "ExecDatamask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ExecDatamaskRequest::~ExecDatamaskRequest()
|
||||
{}
|
||||
|
||||
std::string ExecDatamaskRequest::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
void ExecDatamaskRequest::setData(const std::string& data)
|
||||
{
|
||||
data_ = data;
|
||||
setParameter("Data", data);
|
||||
}
|
||||
|
||||
long ExecDatamaskRequest::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void ExecDatamaskRequest::setTemplateId(long templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", std::to_string(templateId));
|
||||
}
|
||||
|
||||
std::string ExecDatamaskRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void ExecDatamaskRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
51
sddp/src/model/ExecDatamaskResult.cc
Normal file
51
sddp/src/model/ExecDatamaskResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sddp/model/ExecDatamaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sddp;
|
||||
using namespace AlibabaCloud::Sddp::Model;
|
||||
|
||||
ExecDatamaskResult::ExecDatamaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ExecDatamaskResult::ExecDatamaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ExecDatamaskResult::~ExecDatamaskResult()
|
||||
{}
|
||||
|
||||
void ExecDatamaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ExecDatamaskResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
73
sddp/src/model/ManualTriggerMaskingProcessRequest.cc
Normal file
73
sddp/src/model/ManualTriggerMaskingProcessRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sddp/model/ManualTriggerMaskingProcessRequest.h>
|
||||
|
||||
using AlibabaCloud::Sddp::Model::ManualTriggerMaskingProcessRequest;
|
||||
|
||||
ManualTriggerMaskingProcessRequest::ManualTriggerMaskingProcessRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "ManualTriggerMaskingProcess")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ManualTriggerMaskingProcessRequest::~ManualTriggerMaskingProcessRequest()
|
||||
{}
|
||||
|
||||
int ManualTriggerMaskingProcessRequest::getFeatureType()const
|
||||
{
|
||||
return featureType_;
|
||||
}
|
||||
|
||||
void ManualTriggerMaskingProcessRequest::setFeatureType(int featureType)
|
||||
{
|
||||
featureType_ = featureType;
|
||||
setParameter("FeatureType", std::to_string(featureType));
|
||||
}
|
||||
|
||||
std::string ManualTriggerMaskingProcessRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void ManualTriggerMaskingProcessRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
long ManualTriggerMaskingProcessRequest::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
void ManualTriggerMaskingProcessRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string ManualTriggerMaskingProcessRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void ManualTriggerMaskingProcessRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
44
sddp/src/model/ManualTriggerMaskingProcessResult.cc
Normal file
44
sddp/src/model/ManualTriggerMaskingProcessResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sddp/model/ManualTriggerMaskingProcessResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sddp;
|
||||
using namespace AlibabaCloud::Sddp::Model;
|
||||
|
||||
ManualTriggerMaskingProcessResult::ManualTriggerMaskingProcessResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ManualTriggerMaskingProcessResult::ManualTriggerMaskingProcessResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ManualTriggerMaskingProcessResult::~ManualTriggerMaskingProcessResult()
|
||||
{}
|
||||
|
||||
void ManualTriggerMaskingProcessResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -20,11 +20,24 @@ using AlibabaCloud::Sddp::Model::ModifyDataLimitRequest;
|
||||
|
||||
ModifyDataLimitRequest::ModifyDataLimitRequest() :
|
||||
RpcServiceRequest("sddp", "2019-01-03", "ModifyDataLimit")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyDataLimitRequest::~ModifyDataLimitRequest()
|
||||
{}
|
||||
|
||||
bool ModifyDataLimitRequest::getModifyPassword()const
|
||||
{
|
||||
return modifyPassword_;
|
||||
}
|
||||
|
||||
void ModifyDataLimitRequest::setModifyPassword(bool modifyPassword)
|
||||
{
|
||||
modifyPassword_ = modifyPassword;
|
||||
setParameter("ModifyPassword", modifyPassword ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyDataLimitRequest::getPassword()const
|
||||
{
|
||||
return password_;
|
||||
@@ -33,7 +46,7 @@ std::string ModifyDataLimitRequest::getPassword()const
|
||||
void ModifyDataLimitRequest::setPassword(const std::string& password)
|
||||
{
|
||||
password_ = password;
|
||||
setCoreParameter("Password", password);
|
||||
setParameter("Password", password);
|
||||
}
|
||||
|
||||
std::string ModifyDataLimitRequest::getSourceIp()const
|
||||
@@ -44,7 +57,7 @@ std::string ModifyDataLimitRequest::getSourceIp()const
|
||||
void ModifyDataLimitRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
long ModifyDataLimitRequest::getId()const
|
||||
@@ -55,7 +68,7 @@ long ModifyDataLimitRequest::getId()const
|
||||
void ModifyDataLimitRequest::setId(long id)
|
||||
{
|
||||
id_ = id;
|
||||
setCoreParameter("Id", std::to_string(id));
|
||||
setParameter("Id", std::to_string(id));
|
||||
}
|
||||
|
||||
std::string ModifyDataLimitRequest::getLang()const
|
||||
@@ -66,7 +79,7 @@ std::string ModifyDataLimitRequest::getLang()const
|
||||
void ModifyDataLimitRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string ModifyDataLimitRequest::getServiceRegionId()const
|
||||
@@ -77,7 +90,51 @@ std::string ModifyDataLimitRequest::getServiceRegionId()const
|
||||
void ModifyDataLimitRequest::setServiceRegionId(const std::string& serviceRegionId)
|
||||
{
|
||||
serviceRegionId_ = serviceRegionId;
|
||||
setCoreParameter("ServiceRegionId", serviceRegionId);
|
||||
setParameter("ServiceRegionId", serviceRegionId);
|
||||
}
|
||||
|
||||
std::string ModifyDataLimitRequest::getEngineType()const
|
||||
{
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
void ModifyDataLimitRequest::setEngineType(const std::string& engineType)
|
||||
{
|
||||
engineType_ = engineType;
|
||||
setParameter("EngineType", engineType);
|
||||
}
|
||||
|
||||
int ModifyDataLimitRequest::getAuditStatus()const
|
||||
{
|
||||
return auditStatus_;
|
||||
}
|
||||
|
||||
void ModifyDataLimitRequest::setAuditStatus(int auditStatus)
|
||||
{
|
||||
auditStatus_ = auditStatus;
|
||||
setParameter("AuditStatus", std::to_string(auditStatus));
|
||||
}
|
||||
|
||||
int ModifyDataLimitRequest::getAutoScan()const
|
||||
{
|
||||
return autoScan_;
|
||||
}
|
||||
|
||||
void ModifyDataLimitRequest::setAutoScan(int autoScan)
|
||||
{
|
||||
autoScan_ = autoScan;
|
||||
setParameter("AutoScan", std::to_string(autoScan));
|
||||
}
|
||||
|
||||
int ModifyDataLimitRequest::getLogStoreDay()const
|
||||
{
|
||||
return logStoreDay_;
|
||||
}
|
||||
|
||||
void ModifyDataLimitRequest::setLogStoreDay(int logStoreDay)
|
||||
{
|
||||
logStoreDay_ = logStoreDay;
|
||||
setParameter("LogStoreDay", std::to_string(logStoreDay));
|
||||
}
|
||||
|
||||
int ModifyDataLimitRequest::getResourceType()const
|
||||
@@ -88,7 +145,7 @@ int ModifyDataLimitRequest::getResourceType()const
|
||||
void ModifyDataLimitRequest::setResourceType(int resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setCoreParameter("ResourceType", std::to_string(resourceType));
|
||||
setParameter("ResourceType", std::to_string(resourceType));
|
||||
}
|
||||
|
||||
std::string ModifyDataLimitRequest::getConnector()const
|
||||
@@ -99,7 +156,18 @@ std::string ModifyDataLimitRequest::getConnector()const
|
||||
void ModifyDataLimitRequest::setConnector(const std::string& connector)
|
||||
{
|
||||
connector_ = connector;
|
||||
setCoreParameter("Connector", connector);
|
||||
setParameter("Connector", connector);
|
||||
}
|
||||
|
||||
int ModifyDataLimitRequest::getPort()const
|
||||
{
|
||||
return port_;
|
||||
}
|
||||
|
||||
void ModifyDataLimitRequest::setPort(int port)
|
||||
{
|
||||
port_ = port;
|
||||
setParameter("Port", std::to_string(port));
|
||||
}
|
||||
|
||||
std::string ModifyDataLimitRequest::getUserName()const
|
||||
@@ -110,6 +178,6 @@ std::string ModifyDataLimitRequest::getUserName()const
|
||||
void ModifyDataLimitRequest::setUserName(const std::string& userName)
|
||||
{
|
||||
userName_ = userName;
|
||||
setCoreParameter("UserName", userName);
|
||||
setParameter("UserName", userName);
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user