Generated 2020-05-18 for dataworks-public.
This commit is contained in:
@@ -35,6 +35,8 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/CheckMetaPartitionResult.h
|
||||
include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CheckMetaTableResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateBaselineRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateBaselineResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateBusinessRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateBusinessResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateConnectionRequest.h
|
||||
@@ -89,6 +91,8 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/CreateTableThemeResult.h
|
||||
include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h
|
||||
include/alibabacloud/dataworks-public/model/CreateUdfFileResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteBaselineRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteBaselineResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteBusinessResult.h
|
||||
include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h
|
||||
@@ -141,6 +145,8 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/GenerateDISyncTaskConfigForCreatingResult.h
|
||||
include/alibabacloud/dataworks-public/model/GenerateDISyncTaskConfigForUpdatingRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GenerateDISyncTaskConfigForUpdatingResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetBaselineRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetBaselineResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetBaselineConfigResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h
|
||||
@@ -155,8 +161,6 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/GetDISyncInstanceInfoResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDISyncTaskRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDISyncTaskResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDISyncTaskMetricInfoRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDISyncTaskMetricInfoResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDagRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDagResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h
|
||||
@@ -283,16 +287,14 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/ListBaselineConfigsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListBaselineStatusesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListBaselineStatusesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListBaselinesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListBaselinesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListBusinessRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListBusinessResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListCalcEnginesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListCalcEnginesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListConnectionsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListCurrentTasksForResourceGroupRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListCurrentTasksForResourceGroupResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListCurrentUsageForResourceGroupRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListCurrentUsageForResourceGroupResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListDIProjectConfigRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListDIProjectConfigResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListDagsRequest.h
|
||||
@@ -317,6 +319,8 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/ListDataSourcesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListDeploymentsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListDeploymentsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListEnabledExtensionsForProjectRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListEnabledExtensionsForProjectResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListExtensionsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListExtensionsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListFileTypeRequest.h
|
||||
@@ -327,8 +331,6 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/ListFilesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListFoldersRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListFoldersResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListHistoryTasksForResourceGroupRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListHistoryTasksForResourceGroupResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListInnerNodesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListInnerNodesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListInstanceAmountRequest.h
|
||||
@@ -389,8 +391,6 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/ListTableThemeResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListTopicsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListTopicsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListUsageForResourceGroupRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListUsageForResourceGroupResult.h
|
||||
include/alibabacloud/dataworks-public/model/OfflineNodeRequest.h
|
||||
include/alibabacloud/dataworks-public/model/OfflineNodeResult.h
|
||||
include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h
|
||||
@@ -449,6 +449,8 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/TopTenElapsedTimeInstanceResult.h
|
||||
include/alibabacloud/dataworks-public/model/TopTenErrorTimesInstanceRequest.h
|
||||
include/alibabacloud/dataworks-public/model/TopTenErrorTimesInstanceResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateBaselineRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateBaselineResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateBusinessResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h
|
||||
@@ -514,6 +516,8 @@ set(dataworks-public_src
|
||||
src/model/CheckMetaPartitionResult.cc
|
||||
src/model/CheckMetaTableRequest.cc
|
||||
src/model/CheckMetaTableResult.cc
|
||||
src/model/CreateBaselineRequest.cc
|
||||
src/model/CreateBaselineResult.cc
|
||||
src/model/CreateBusinessRequest.cc
|
||||
src/model/CreateBusinessResult.cc
|
||||
src/model/CreateConnectionRequest.cc
|
||||
@@ -568,6 +572,8 @@ set(dataworks-public_src
|
||||
src/model/CreateTableThemeResult.cc
|
||||
src/model/CreateUdfFileRequest.cc
|
||||
src/model/CreateUdfFileResult.cc
|
||||
src/model/DeleteBaselineRequest.cc
|
||||
src/model/DeleteBaselineResult.cc
|
||||
src/model/DeleteBusinessRequest.cc
|
||||
src/model/DeleteBusinessResult.cc
|
||||
src/model/DeleteConnectionRequest.cc
|
||||
@@ -620,6 +626,8 @@ set(dataworks-public_src
|
||||
src/model/GenerateDISyncTaskConfigForCreatingResult.cc
|
||||
src/model/GenerateDISyncTaskConfigForUpdatingRequest.cc
|
||||
src/model/GenerateDISyncTaskConfigForUpdatingResult.cc
|
||||
src/model/GetBaselineRequest.cc
|
||||
src/model/GetBaselineResult.cc
|
||||
src/model/GetBaselineConfigRequest.cc
|
||||
src/model/GetBaselineConfigResult.cc
|
||||
src/model/GetBaselineKeyPathRequest.cc
|
||||
@@ -634,8 +642,6 @@ set(dataworks-public_src
|
||||
src/model/GetDISyncInstanceInfoResult.cc
|
||||
src/model/GetDISyncTaskRequest.cc
|
||||
src/model/GetDISyncTaskResult.cc
|
||||
src/model/GetDISyncTaskMetricInfoRequest.cc
|
||||
src/model/GetDISyncTaskMetricInfoResult.cc
|
||||
src/model/GetDagRequest.cc
|
||||
src/model/GetDagResult.cc
|
||||
src/model/GetDataServiceApiRequest.cc
|
||||
@@ -762,16 +768,14 @@ set(dataworks-public_src
|
||||
src/model/ListBaselineConfigsResult.cc
|
||||
src/model/ListBaselineStatusesRequest.cc
|
||||
src/model/ListBaselineStatusesResult.cc
|
||||
src/model/ListBaselinesRequest.cc
|
||||
src/model/ListBaselinesResult.cc
|
||||
src/model/ListBusinessRequest.cc
|
||||
src/model/ListBusinessResult.cc
|
||||
src/model/ListCalcEnginesRequest.cc
|
||||
src/model/ListCalcEnginesResult.cc
|
||||
src/model/ListConnectionsRequest.cc
|
||||
src/model/ListConnectionsResult.cc
|
||||
src/model/ListCurrentTasksForResourceGroupRequest.cc
|
||||
src/model/ListCurrentTasksForResourceGroupResult.cc
|
||||
src/model/ListCurrentUsageForResourceGroupRequest.cc
|
||||
src/model/ListCurrentUsageForResourceGroupResult.cc
|
||||
src/model/ListDIProjectConfigRequest.cc
|
||||
src/model/ListDIProjectConfigResult.cc
|
||||
src/model/ListDagsRequest.cc
|
||||
@@ -796,6 +800,8 @@ set(dataworks-public_src
|
||||
src/model/ListDataSourcesResult.cc
|
||||
src/model/ListDeploymentsRequest.cc
|
||||
src/model/ListDeploymentsResult.cc
|
||||
src/model/ListEnabledExtensionsForProjectRequest.cc
|
||||
src/model/ListEnabledExtensionsForProjectResult.cc
|
||||
src/model/ListExtensionsRequest.cc
|
||||
src/model/ListExtensionsResult.cc
|
||||
src/model/ListFileTypeRequest.cc
|
||||
@@ -806,8 +812,6 @@ set(dataworks-public_src
|
||||
src/model/ListFilesResult.cc
|
||||
src/model/ListFoldersRequest.cc
|
||||
src/model/ListFoldersResult.cc
|
||||
src/model/ListHistoryTasksForResourceGroupRequest.cc
|
||||
src/model/ListHistoryTasksForResourceGroupResult.cc
|
||||
src/model/ListInnerNodesRequest.cc
|
||||
src/model/ListInnerNodesResult.cc
|
||||
src/model/ListInstanceAmountRequest.cc
|
||||
@@ -868,8 +872,6 @@ set(dataworks-public_src
|
||||
src/model/ListTableThemeResult.cc
|
||||
src/model/ListTopicsRequest.cc
|
||||
src/model/ListTopicsResult.cc
|
||||
src/model/ListUsageForResourceGroupRequest.cc
|
||||
src/model/ListUsageForResourceGroupResult.cc
|
||||
src/model/OfflineNodeRequest.cc
|
||||
src/model/OfflineNodeResult.cc
|
||||
src/model/PublishDataServiceApiRequest.cc
|
||||
@@ -928,6 +930,8 @@ set(dataworks-public_src
|
||||
src/model/TopTenElapsedTimeInstanceResult.cc
|
||||
src/model/TopTenErrorTimesInstanceRequest.cc
|
||||
src/model/TopTenErrorTimesInstanceResult.cc
|
||||
src/model/UpdateBaselineRequest.cc
|
||||
src/model/UpdateBaselineResult.cc
|
||||
src/model/UpdateBusinessRequest.cc
|
||||
src/model/UpdateBusinessResult.cc
|
||||
src/model/UpdateConnectionRequest.cc
|
||||
|
||||
@@ -36,6 +36,8 @@
|
||||
#include "model/CheckMetaPartitionResult.h"
|
||||
#include "model/CheckMetaTableRequest.h"
|
||||
#include "model/CheckMetaTableResult.h"
|
||||
#include "model/CreateBaselineRequest.h"
|
||||
#include "model/CreateBaselineResult.h"
|
||||
#include "model/CreateBusinessRequest.h"
|
||||
#include "model/CreateBusinessResult.h"
|
||||
#include "model/CreateConnectionRequest.h"
|
||||
@@ -90,6 +92,8 @@
|
||||
#include "model/CreateTableThemeResult.h"
|
||||
#include "model/CreateUdfFileRequest.h"
|
||||
#include "model/CreateUdfFileResult.h"
|
||||
#include "model/DeleteBaselineRequest.h"
|
||||
#include "model/DeleteBaselineResult.h"
|
||||
#include "model/DeleteBusinessRequest.h"
|
||||
#include "model/DeleteBusinessResult.h"
|
||||
#include "model/DeleteConnectionRequest.h"
|
||||
@@ -142,6 +146,8 @@
|
||||
#include "model/GenerateDISyncTaskConfigForCreatingResult.h"
|
||||
#include "model/GenerateDISyncTaskConfigForUpdatingRequest.h"
|
||||
#include "model/GenerateDISyncTaskConfigForUpdatingResult.h"
|
||||
#include "model/GetBaselineRequest.h"
|
||||
#include "model/GetBaselineResult.h"
|
||||
#include "model/GetBaselineConfigRequest.h"
|
||||
#include "model/GetBaselineConfigResult.h"
|
||||
#include "model/GetBaselineKeyPathRequest.h"
|
||||
@@ -156,8 +162,6 @@
|
||||
#include "model/GetDISyncInstanceInfoResult.h"
|
||||
#include "model/GetDISyncTaskRequest.h"
|
||||
#include "model/GetDISyncTaskResult.h"
|
||||
#include "model/GetDISyncTaskMetricInfoRequest.h"
|
||||
#include "model/GetDISyncTaskMetricInfoResult.h"
|
||||
#include "model/GetDagRequest.h"
|
||||
#include "model/GetDagResult.h"
|
||||
#include "model/GetDataServiceApiRequest.h"
|
||||
@@ -284,16 +288,14 @@
|
||||
#include "model/ListBaselineConfigsResult.h"
|
||||
#include "model/ListBaselineStatusesRequest.h"
|
||||
#include "model/ListBaselineStatusesResult.h"
|
||||
#include "model/ListBaselinesRequest.h"
|
||||
#include "model/ListBaselinesResult.h"
|
||||
#include "model/ListBusinessRequest.h"
|
||||
#include "model/ListBusinessResult.h"
|
||||
#include "model/ListCalcEnginesRequest.h"
|
||||
#include "model/ListCalcEnginesResult.h"
|
||||
#include "model/ListConnectionsRequest.h"
|
||||
#include "model/ListConnectionsResult.h"
|
||||
#include "model/ListCurrentTasksForResourceGroupRequest.h"
|
||||
#include "model/ListCurrentTasksForResourceGroupResult.h"
|
||||
#include "model/ListCurrentUsageForResourceGroupRequest.h"
|
||||
#include "model/ListCurrentUsageForResourceGroupResult.h"
|
||||
#include "model/ListDIProjectConfigRequest.h"
|
||||
#include "model/ListDIProjectConfigResult.h"
|
||||
#include "model/ListDagsRequest.h"
|
||||
@@ -318,6 +320,8 @@
|
||||
#include "model/ListDataSourcesResult.h"
|
||||
#include "model/ListDeploymentsRequest.h"
|
||||
#include "model/ListDeploymentsResult.h"
|
||||
#include "model/ListEnabledExtensionsForProjectRequest.h"
|
||||
#include "model/ListEnabledExtensionsForProjectResult.h"
|
||||
#include "model/ListExtensionsRequest.h"
|
||||
#include "model/ListExtensionsResult.h"
|
||||
#include "model/ListFileTypeRequest.h"
|
||||
@@ -328,8 +332,6 @@
|
||||
#include "model/ListFilesResult.h"
|
||||
#include "model/ListFoldersRequest.h"
|
||||
#include "model/ListFoldersResult.h"
|
||||
#include "model/ListHistoryTasksForResourceGroupRequest.h"
|
||||
#include "model/ListHistoryTasksForResourceGroupResult.h"
|
||||
#include "model/ListInnerNodesRequest.h"
|
||||
#include "model/ListInnerNodesResult.h"
|
||||
#include "model/ListInstanceAmountRequest.h"
|
||||
@@ -390,8 +392,6 @@
|
||||
#include "model/ListTableThemeResult.h"
|
||||
#include "model/ListTopicsRequest.h"
|
||||
#include "model/ListTopicsResult.h"
|
||||
#include "model/ListUsageForResourceGroupRequest.h"
|
||||
#include "model/ListUsageForResourceGroupResult.h"
|
||||
#include "model/OfflineNodeRequest.h"
|
||||
#include "model/OfflineNodeResult.h"
|
||||
#include "model/PublishDataServiceApiRequest.h"
|
||||
@@ -450,6 +450,8 @@
|
||||
#include "model/TopTenElapsedTimeInstanceResult.h"
|
||||
#include "model/TopTenErrorTimesInstanceRequest.h"
|
||||
#include "model/TopTenErrorTimesInstanceResult.h"
|
||||
#include "model/UpdateBaselineRequest.h"
|
||||
#include "model/UpdateBaselineResult.h"
|
||||
#include "model/UpdateBusinessRequest.h"
|
||||
#include "model/UpdateBusinessResult.h"
|
||||
#include "model/UpdateConnectionRequest.h"
|
||||
@@ -528,6 +530,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CheckMetaTableResult> CheckMetaTableOutcome;
|
||||
typedef std::future<CheckMetaTableOutcome> CheckMetaTableOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CheckMetaTableRequest&, const CheckMetaTableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckMetaTableAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateBaselineResult> CreateBaselineOutcome;
|
||||
typedef std::future<CreateBaselineOutcome> CreateBaselineOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CreateBaselineRequest&, const CreateBaselineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBaselineAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateBusinessResult> CreateBusinessOutcome;
|
||||
typedef std::future<CreateBusinessOutcome> CreateBusinessOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CreateBusinessRequest&, const CreateBusinessOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBusinessAsyncHandler;
|
||||
@@ -609,6 +614,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateUdfFileResult> CreateUdfFileOutcome;
|
||||
typedef std::future<CreateUdfFileOutcome> CreateUdfFileOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::CreateUdfFileRequest&, const CreateUdfFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUdfFileAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteBaselineResult> DeleteBaselineOutcome;
|
||||
typedef std::future<DeleteBaselineOutcome> DeleteBaselineOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::DeleteBaselineRequest&, const DeleteBaselineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteBaselineAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteBusinessResult> DeleteBusinessOutcome;
|
||||
typedef std::future<DeleteBusinessOutcome> DeleteBusinessOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::DeleteBusinessRequest&, const DeleteBusinessOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteBusinessAsyncHandler;
|
||||
@@ -687,6 +695,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GenerateDISyncTaskConfigForUpdatingResult> GenerateDISyncTaskConfigForUpdatingOutcome;
|
||||
typedef std::future<GenerateDISyncTaskConfigForUpdatingOutcome> GenerateDISyncTaskConfigForUpdatingOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GenerateDISyncTaskConfigForUpdatingRequest&, const GenerateDISyncTaskConfigForUpdatingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GenerateDISyncTaskConfigForUpdatingAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetBaselineResult> GetBaselineOutcome;
|
||||
typedef std::future<GetBaselineOutcome> GetBaselineOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetBaselineRequest&, const GetBaselineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBaselineAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetBaselineConfigResult> GetBaselineConfigOutcome;
|
||||
typedef std::future<GetBaselineConfigOutcome> GetBaselineConfigOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetBaselineConfigRequest&, const GetBaselineConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBaselineConfigAsyncHandler;
|
||||
@@ -708,9 +719,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetDISyncTaskResult> GetDISyncTaskOutcome;
|
||||
typedef std::future<GetDISyncTaskOutcome> GetDISyncTaskOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetDISyncTaskRequest&, const GetDISyncTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDISyncTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDISyncTaskMetricInfoResult> GetDISyncTaskMetricInfoOutcome;
|
||||
typedef std::future<GetDISyncTaskMetricInfoOutcome> GetDISyncTaskMetricInfoOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetDISyncTaskMetricInfoRequest&, const GetDISyncTaskMetricInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDISyncTaskMetricInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDagResult> GetDagOutcome;
|
||||
typedef std::future<GetDagOutcome> GetDagOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetDagRequest&, const GetDagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDagAsyncHandler;
|
||||
@@ -900,6 +908,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListBaselineStatusesResult> ListBaselineStatusesOutcome;
|
||||
typedef std::future<ListBaselineStatusesOutcome> ListBaselineStatusesOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListBaselineStatusesRequest&, const ListBaselineStatusesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListBaselineStatusesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListBaselinesResult> ListBaselinesOutcome;
|
||||
typedef std::future<ListBaselinesOutcome> ListBaselinesOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListBaselinesRequest&, const ListBaselinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListBaselinesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListBusinessResult> ListBusinessOutcome;
|
||||
typedef std::future<ListBusinessOutcome> ListBusinessOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListBusinessRequest&, const ListBusinessOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListBusinessAsyncHandler;
|
||||
@@ -909,12 +920,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListConnectionsResult> ListConnectionsOutcome;
|
||||
typedef std::future<ListConnectionsOutcome> ListConnectionsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListConnectionsRequest&, const ListConnectionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConnectionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCurrentTasksForResourceGroupResult> ListCurrentTasksForResourceGroupOutcome;
|
||||
typedef std::future<ListCurrentTasksForResourceGroupOutcome> ListCurrentTasksForResourceGroupOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListCurrentTasksForResourceGroupRequest&, const ListCurrentTasksForResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCurrentTasksForResourceGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCurrentUsageForResourceGroupResult> ListCurrentUsageForResourceGroupOutcome;
|
||||
typedef std::future<ListCurrentUsageForResourceGroupOutcome> ListCurrentUsageForResourceGroupOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListCurrentUsageForResourceGroupRequest&, const ListCurrentUsageForResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCurrentUsageForResourceGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDIProjectConfigResult> ListDIProjectConfigOutcome;
|
||||
typedef std::future<ListDIProjectConfigOutcome> ListDIProjectConfigOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListDIProjectConfigRequest&, const ListDIProjectConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDIProjectConfigAsyncHandler;
|
||||
@@ -951,6 +956,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListDeploymentsResult> ListDeploymentsOutcome;
|
||||
typedef std::future<ListDeploymentsOutcome> ListDeploymentsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListDeploymentsRequest&, const ListDeploymentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeploymentsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListEnabledExtensionsForProjectResult> ListEnabledExtensionsForProjectOutcome;
|
||||
typedef std::future<ListEnabledExtensionsForProjectOutcome> ListEnabledExtensionsForProjectOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListEnabledExtensionsForProjectRequest&, const ListEnabledExtensionsForProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListEnabledExtensionsForProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListExtensionsResult> ListExtensionsOutcome;
|
||||
typedef std::future<ListExtensionsOutcome> ListExtensionsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListExtensionsRequest&, const ListExtensionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListExtensionsAsyncHandler;
|
||||
@@ -966,9 +974,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListFoldersResult> ListFoldersOutcome;
|
||||
typedef std::future<ListFoldersOutcome> ListFoldersOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListFoldersRequest&, const ListFoldersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFoldersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListHistoryTasksForResourceGroupResult> ListHistoryTasksForResourceGroupOutcome;
|
||||
typedef std::future<ListHistoryTasksForResourceGroupOutcome> ListHistoryTasksForResourceGroupOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListHistoryTasksForResourceGroupRequest&, const ListHistoryTasksForResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListHistoryTasksForResourceGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListInnerNodesResult> ListInnerNodesOutcome;
|
||||
typedef std::future<ListInnerNodesOutcome> ListInnerNodesOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListInnerNodesRequest&, const ListInnerNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInnerNodesAsyncHandler;
|
||||
@@ -1059,9 +1064,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListTopicsResult> ListTopicsOutcome;
|
||||
typedef std::future<ListTopicsOutcome> ListTopicsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListTopicsRequest&, const ListTopicsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTopicsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUsageForResourceGroupResult> ListUsageForResourceGroupOutcome;
|
||||
typedef std::future<ListUsageForResourceGroupOutcome> ListUsageForResourceGroupOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListUsageForResourceGroupRequest&, const ListUsageForResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsageForResourceGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::OfflineNodeResult> OfflineNodeOutcome;
|
||||
typedef std::future<OfflineNodeOutcome> OfflineNodeOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::OfflineNodeRequest&, const OfflineNodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OfflineNodeAsyncHandler;
|
||||
@@ -1149,6 +1151,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::TopTenErrorTimesInstanceResult> TopTenErrorTimesInstanceOutcome;
|
||||
typedef std::future<TopTenErrorTimesInstanceOutcome> TopTenErrorTimesInstanceOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::TopTenErrorTimesInstanceRequest&, const TopTenErrorTimesInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TopTenErrorTimesInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateBaselineResult> UpdateBaselineOutcome;
|
||||
typedef std::future<UpdateBaselineOutcome> UpdateBaselineOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::UpdateBaselineRequest&, const UpdateBaselineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateBaselineAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateBusinessResult> UpdateBusinessOutcome;
|
||||
typedef std::future<UpdateBusinessOutcome> UpdateBusinessOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::UpdateBusinessRequest&, const UpdateBusinessOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateBusinessAsyncHandler;
|
||||
@@ -1247,6 +1252,9 @@ namespace AlibabaCloud
|
||||
CheckMetaTableOutcome checkMetaTable(const Model::CheckMetaTableRequest &request)const;
|
||||
void checkMetaTableAsync(const Model::CheckMetaTableRequest& request, const CheckMetaTableAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckMetaTableOutcomeCallable checkMetaTableCallable(const Model::CheckMetaTableRequest& request) const;
|
||||
CreateBaselineOutcome createBaseline(const Model::CreateBaselineRequest &request)const;
|
||||
void createBaselineAsync(const Model::CreateBaselineRequest& request, const CreateBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateBaselineOutcomeCallable createBaselineCallable(const Model::CreateBaselineRequest& request) const;
|
||||
CreateBusinessOutcome createBusiness(const Model::CreateBusinessRequest &request)const;
|
||||
void createBusinessAsync(const Model::CreateBusinessRequest& request, const CreateBusinessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateBusinessOutcomeCallable createBusinessCallable(const Model::CreateBusinessRequest& request) const;
|
||||
@@ -1328,6 +1336,9 @@ namespace AlibabaCloud
|
||||
CreateUdfFileOutcome createUdfFile(const Model::CreateUdfFileRequest &request)const;
|
||||
void createUdfFileAsync(const Model::CreateUdfFileRequest& request, const CreateUdfFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUdfFileOutcomeCallable createUdfFileCallable(const Model::CreateUdfFileRequest& request) const;
|
||||
DeleteBaselineOutcome deleteBaseline(const Model::DeleteBaselineRequest &request)const;
|
||||
void deleteBaselineAsync(const Model::DeleteBaselineRequest& request, const DeleteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteBaselineOutcomeCallable deleteBaselineCallable(const Model::DeleteBaselineRequest& request) const;
|
||||
DeleteBusinessOutcome deleteBusiness(const Model::DeleteBusinessRequest &request)const;
|
||||
void deleteBusinessAsync(const Model::DeleteBusinessRequest& request, const DeleteBusinessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteBusinessOutcomeCallable deleteBusinessCallable(const Model::DeleteBusinessRequest& request) const;
|
||||
@@ -1406,6 +1417,9 @@ namespace AlibabaCloud
|
||||
GenerateDISyncTaskConfigForUpdatingOutcome generateDISyncTaskConfigForUpdating(const Model::GenerateDISyncTaskConfigForUpdatingRequest &request)const;
|
||||
void generateDISyncTaskConfigForUpdatingAsync(const Model::GenerateDISyncTaskConfigForUpdatingRequest& request, const GenerateDISyncTaskConfigForUpdatingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GenerateDISyncTaskConfigForUpdatingOutcomeCallable generateDISyncTaskConfigForUpdatingCallable(const Model::GenerateDISyncTaskConfigForUpdatingRequest& request) const;
|
||||
GetBaselineOutcome getBaseline(const Model::GetBaselineRequest &request)const;
|
||||
void getBaselineAsync(const Model::GetBaselineRequest& request, const GetBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetBaselineOutcomeCallable getBaselineCallable(const Model::GetBaselineRequest& request) const;
|
||||
GetBaselineConfigOutcome getBaselineConfig(const Model::GetBaselineConfigRequest &request)const;
|
||||
void getBaselineConfigAsync(const Model::GetBaselineConfigRequest& request, const GetBaselineConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetBaselineConfigOutcomeCallable getBaselineConfigCallable(const Model::GetBaselineConfigRequest& request) const;
|
||||
@@ -1427,9 +1441,6 @@ namespace AlibabaCloud
|
||||
GetDISyncTaskOutcome getDISyncTask(const Model::GetDISyncTaskRequest &request)const;
|
||||
void getDISyncTaskAsync(const Model::GetDISyncTaskRequest& request, const GetDISyncTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDISyncTaskOutcomeCallable getDISyncTaskCallable(const Model::GetDISyncTaskRequest& request) const;
|
||||
GetDISyncTaskMetricInfoOutcome getDISyncTaskMetricInfo(const Model::GetDISyncTaskMetricInfoRequest &request)const;
|
||||
void getDISyncTaskMetricInfoAsync(const Model::GetDISyncTaskMetricInfoRequest& request, const GetDISyncTaskMetricInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDISyncTaskMetricInfoOutcomeCallable getDISyncTaskMetricInfoCallable(const Model::GetDISyncTaskMetricInfoRequest& request) const;
|
||||
GetDagOutcome getDag(const Model::GetDagRequest &request)const;
|
||||
void getDagAsync(const Model::GetDagRequest& request, const GetDagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDagOutcomeCallable getDagCallable(const Model::GetDagRequest& request) const;
|
||||
@@ -1619,6 +1630,9 @@ namespace AlibabaCloud
|
||||
ListBaselineStatusesOutcome listBaselineStatuses(const Model::ListBaselineStatusesRequest &request)const;
|
||||
void listBaselineStatusesAsync(const Model::ListBaselineStatusesRequest& request, const ListBaselineStatusesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListBaselineStatusesOutcomeCallable listBaselineStatusesCallable(const Model::ListBaselineStatusesRequest& request) const;
|
||||
ListBaselinesOutcome listBaselines(const Model::ListBaselinesRequest &request)const;
|
||||
void listBaselinesAsync(const Model::ListBaselinesRequest& request, const ListBaselinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListBaselinesOutcomeCallable listBaselinesCallable(const Model::ListBaselinesRequest& request) const;
|
||||
ListBusinessOutcome listBusiness(const Model::ListBusinessRequest &request)const;
|
||||
void listBusinessAsync(const Model::ListBusinessRequest& request, const ListBusinessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListBusinessOutcomeCallable listBusinessCallable(const Model::ListBusinessRequest& request) const;
|
||||
@@ -1628,12 +1642,6 @@ namespace AlibabaCloud
|
||||
ListConnectionsOutcome listConnections(const Model::ListConnectionsRequest &request)const;
|
||||
void listConnectionsAsync(const Model::ListConnectionsRequest& request, const ListConnectionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListConnectionsOutcomeCallable listConnectionsCallable(const Model::ListConnectionsRequest& request) const;
|
||||
ListCurrentTasksForResourceGroupOutcome listCurrentTasksForResourceGroup(const Model::ListCurrentTasksForResourceGroupRequest &request)const;
|
||||
void listCurrentTasksForResourceGroupAsync(const Model::ListCurrentTasksForResourceGroupRequest& request, const ListCurrentTasksForResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCurrentTasksForResourceGroupOutcomeCallable listCurrentTasksForResourceGroupCallable(const Model::ListCurrentTasksForResourceGroupRequest& request) const;
|
||||
ListCurrentUsageForResourceGroupOutcome listCurrentUsageForResourceGroup(const Model::ListCurrentUsageForResourceGroupRequest &request)const;
|
||||
void listCurrentUsageForResourceGroupAsync(const Model::ListCurrentUsageForResourceGroupRequest& request, const ListCurrentUsageForResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCurrentUsageForResourceGroupOutcomeCallable listCurrentUsageForResourceGroupCallable(const Model::ListCurrentUsageForResourceGroupRequest& request) const;
|
||||
ListDIProjectConfigOutcome listDIProjectConfig(const Model::ListDIProjectConfigRequest &request)const;
|
||||
void listDIProjectConfigAsync(const Model::ListDIProjectConfigRequest& request, const ListDIProjectConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDIProjectConfigOutcomeCallable listDIProjectConfigCallable(const Model::ListDIProjectConfigRequest& request) const;
|
||||
@@ -1670,6 +1678,9 @@ namespace AlibabaCloud
|
||||
ListDeploymentsOutcome listDeployments(const Model::ListDeploymentsRequest &request)const;
|
||||
void listDeploymentsAsync(const Model::ListDeploymentsRequest& request, const ListDeploymentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDeploymentsOutcomeCallable listDeploymentsCallable(const Model::ListDeploymentsRequest& request) const;
|
||||
ListEnabledExtensionsForProjectOutcome listEnabledExtensionsForProject(const Model::ListEnabledExtensionsForProjectRequest &request)const;
|
||||
void listEnabledExtensionsForProjectAsync(const Model::ListEnabledExtensionsForProjectRequest& request, const ListEnabledExtensionsForProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListEnabledExtensionsForProjectOutcomeCallable listEnabledExtensionsForProjectCallable(const Model::ListEnabledExtensionsForProjectRequest& request) const;
|
||||
ListExtensionsOutcome listExtensions(const Model::ListExtensionsRequest &request)const;
|
||||
void listExtensionsAsync(const Model::ListExtensionsRequest& request, const ListExtensionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListExtensionsOutcomeCallable listExtensionsCallable(const Model::ListExtensionsRequest& request) const;
|
||||
@@ -1685,9 +1696,6 @@ namespace AlibabaCloud
|
||||
ListFoldersOutcome listFolders(const Model::ListFoldersRequest &request)const;
|
||||
void listFoldersAsync(const Model::ListFoldersRequest& request, const ListFoldersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListFoldersOutcomeCallable listFoldersCallable(const Model::ListFoldersRequest& request) const;
|
||||
ListHistoryTasksForResourceGroupOutcome listHistoryTasksForResourceGroup(const Model::ListHistoryTasksForResourceGroupRequest &request)const;
|
||||
void listHistoryTasksForResourceGroupAsync(const Model::ListHistoryTasksForResourceGroupRequest& request, const ListHistoryTasksForResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListHistoryTasksForResourceGroupOutcomeCallable listHistoryTasksForResourceGroupCallable(const Model::ListHistoryTasksForResourceGroupRequest& request) const;
|
||||
ListInnerNodesOutcome listInnerNodes(const Model::ListInnerNodesRequest &request)const;
|
||||
void listInnerNodesAsync(const Model::ListInnerNodesRequest& request, const ListInnerNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListInnerNodesOutcomeCallable listInnerNodesCallable(const Model::ListInnerNodesRequest& request) const;
|
||||
@@ -1778,9 +1786,6 @@ namespace AlibabaCloud
|
||||
ListTopicsOutcome listTopics(const Model::ListTopicsRequest &request)const;
|
||||
void listTopicsAsync(const Model::ListTopicsRequest& request, const ListTopicsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTopicsOutcomeCallable listTopicsCallable(const Model::ListTopicsRequest& request) const;
|
||||
ListUsageForResourceGroupOutcome listUsageForResourceGroup(const Model::ListUsageForResourceGroupRequest &request)const;
|
||||
void listUsageForResourceGroupAsync(const Model::ListUsageForResourceGroupRequest& request, const ListUsageForResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUsageForResourceGroupOutcomeCallable listUsageForResourceGroupCallable(const Model::ListUsageForResourceGroupRequest& request) const;
|
||||
OfflineNodeOutcome offlineNode(const Model::OfflineNodeRequest &request)const;
|
||||
void offlineNodeAsync(const Model::OfflineNodeRequest& request, const OfflineNodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OfflineNodeOutcomeCallable offlineNodeCallable(const Model::OfflineNodeRequest& request) const;
|
||||
@@ -1868,6 +1873,9 @@ namespace AlibabaCloud
|
||||
TopTenErrorTimesInstanceOutcome topTenErrorTimesInstance(const Model::TopTenErrorTimesInstanceRequest &request)const;
|
||||
void topTenErrorTimesInstanceAsync(const Model::TopTenErrorTimesInstanceRequest& request, const TopTenErrorTimesInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TopTenErrorTimesInstanceOutcomeCallable topTenErrorTimesInstanceCallable(const Model::TopTenErrorTimesInstanceRequest& request) const;
|
||||
UpdateBaselineOutcome updateBaseline(const Model::UpdateBaselineRequest &request)const;
|
||||
void updateBaselineAsync(const Model::UpdateBaselineRequest& request, const UpdateBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateBaselineOutcomeCallable updateBaselineCallable(const Model::UpdateBaselineRequest& request) const;
|
||||
UpdateBusinessOutcome updateBusiness(const Model::UpdateBusinessRequest &request)const;
|
||||
void updateBusinessAsync(const Model::UpdateBusinessRequest& request, const UpdateBusinessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateBusinessOutcomeCallable updateBusinessCallable(const Model::UpdateBusinessRequest& request) const;
|
||||
|
||||
@@ -32,23 +32,23 @@ public:
|
||||
~CheckMetaPartitionRequest();
|
||||
std::string getDataSourceType() const;
|
||||
void setDataSourceType(const std::string &dataSourceType);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getPartition() const;
|
||||
void setPartition(const std::string &partition);
|
||||
std::string getTableGuid() const;
|
||||
void setTableGuid(const std::string &tableGuid);
|
||||
std::string getDatabaseName() const;
|
||||
void setDatabaseName(const std::string &databaseName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getTableName() const;
|
||||
void setTableName(const std::string &tableName);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::string clusterId_;
|
||||
std::string partition_;
|
||||
std::string tableGuid_;
|
||||
std::string databaseName_;
|
||||
std::string clusterId_;
|
||||
std::string tableName_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -32,20 +32,20 @@ public:
|
||||
~CheckMetaTableRequest();
|
||||
std::string getDataSourceType() const;
|
||||
void setDataSourceType(const std::string &dataSourceType);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getTableGuid() const;
|
||||
void setTableGuid(const std::string &tableGuid);
|
||||
std::string getDatabaseName() const;
|
||||
void setDatabaseName(const std::string &databaseName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getTableName() const;
|
||||
void setTableName(const std::string &tableName);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::string clusterId_;
|
||||
std::string tableGuid_;
|
||||
std::string databaseName_;
|
||||
std::string clusterId_;
|
||||
std::string tableName_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEBASELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEBASELINEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateBaselineRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct OvertimeSettings {
|
||||
std::string time;
|
||||
int cycle;
|
||||
};
|
||||
CreateBaselineRequest();
|
||||
~CreateBaselineRequest();
|
||||
std::string getOwner() const;
|
||||
void setOwner(const std::string &owner);
|
||||
int getAlertMarginThreshold() const;
|
||||
void setAlertMarginThreshold(int alertMarginThreshold);
|
||||
std::vector<OvertimeSettings> getOvertimeSettings() const;
|
||||
void setOvertimeSettings(const std::vector<OvertimeSettings> &overtimeSettings);
|
||||
int getPriority() const;
|
||||
void setPriority(int priority);
|
||||
std::string getTaskIds() const;
|
||||
void setTaskIds(const std::string &taskIds);
|
||||
std::string getBaselineType() const;
|
||||
void setBaselineType(const std::string &baselineType);
|
||||
std::string getBaselineName() const;
|
||||
void setBaselineName(const std::string &baselineName);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string owner_;
|
||||
int alertMarginThreshold_;
|
||||
std::vector<OvertimeSettings> overtimeSettings_;
|
||||
int priority_;
|
||||
std::string taskIds_;
|
||||
std::string baselineType_;
|
||||
std::string baselineName_;
|
||||
long projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEBASELINEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTUSAGEFORRESOURCEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTUSAGEFORRESOURCEGROUPRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEBASELINERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEBASELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,21 +29,18 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListUsageForResourceGroupResult : public ServiceResult
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateBaselineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PopUsageForResourceGroupDto
|
||||
{
|
||||
double usage;
|
||||
long recodeTime;
|
||||
};
|
||||
|
||||
|
||||
ListUsageForResourceGroupResult();
|
||||
explicit ListUsageForResourceGroupResult(const std::string &payload);
|
||||
~ListUsageForResourceGroupResult();
|
||||
CreateBaselineResult();
|
||||
explicit CreateBaselineResult(const std::string &payload);
|
||||
~CreateBaselineResult();
|
||||
std::string getDynamicErrorMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<PopUsageForResourceGroupDto> getData()const;
|
||||
long getData()const;
|
||||
std::string getDynamicErrorCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
@@ -51,8 +48,10 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dynamicErrorMessage_;
|
||||
int httpStatusCode_;
|
||||
std::vector<PopUsageForResourceGroupDto> data_;
|
||||
long data_;
|
||||
std::string dynamicErrorCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
@@ -61,4 +60,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTUSAGEFORRESOURCEGROUPRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEBASELINERESULT_H_
|
||||
@@ -32,10 +32,10 @@ public:
|
||||
~CreateDataServiceApiAuthorityRequest();
|
||||
long getAuthorizedProjectId() const;
|
||||
void setAuthorizedProjectId(long authorizedProjectId);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
long getEndTime() const;
|
||||
void setEndTime(long endTime);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
long getApiId() const;
|
||||
@@ -43,8 +43,8 @@ public:
|
||||
|
||||
private:
|
||||
long authorizedProjectId_;
|
||||
long tenantId_;
|
||||
long endTime_;
|
||||
long tenantId_;
|
||||
long projectId_;
|
||||
long apiId_;
|
||||
};
|
||||
|
||||
@@ -34,6 +34,20 @@ public:
|
||||
void setScriptDetails(const std::string &scriptDetails);
|
||||
int getRequestMethod() const;
|
||||
void setRequestMethod(int requestMethod);
|
||||
std::string getApiDescription() const;
|
||||
void setApiDescription(const std::string &apiDescription);
|
||||
int getTimeout() const;
|
||||
void setTimeout(int timeout);
|
||||
long getFolderId() const;
|
||||
void setFolderId(long folderId);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
std::string getProtocols() const;
|
||||
void setProtocols(const std::string &protocols);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
int getResponseContentType() const;
|
||||
void setResponseContentType(int responseContentType);
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getApiPath() const;
|
||||
@@ -44,42 +58,28 @@ public:
|
||||
void setApiMode(int apiMode);
|
||||
int getVisibleRange() const;
|
||||
void setVisibleRange(int visibleRange);
|
||||
std::string getApiDescription() const;
|
||||
void setApiDescription(const std::string &apiDescription);
|
||||
int getTimeout() const;
|
||||
void setTimeout(int timeout);
|
||||
long getFolderId() const;
|
||||
void setFolderId(long folderId);
|
||||
std::string getRegistrationDetails() const;
|
||||
void setRegistrationDetails(const std::string ®istrationDetails);
|
||||
std::string getApiName() const;
|
||||
void setApiName(const std::string &apiName);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
std::string getProtocols() const;
|
||||
void setProtocols(const std::string &protocols);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
int getResponseContentType() const;
|
||||
void setResponseContentType(int responseContentType);
|
||||
|
||||
private:
|
||||
std::string scriptDetails_;
|
||||
int requestMethod_;
|
||||
std::string apiDescription_;
|
||||
int timeout_;
|
||||
long folderId_;
|
||||
long tenantId_;
|
||||
std::string protocols_;
|
||||
long projectId_;
|
||||
int responseContentType_;
|
||||
std::string groupId_;
|
||||
std::string apiPath_;
|
||||
std::string wizardDetails_;
|
||||
int apiMode_;
|
||||
int visibleRange_;
|
||||
std::string apiDescription_;
|
||||
int timeout_;
|
||||
long folderId_;
|
||||
std::string registrationDetails_;
|
||||
std::string apiName_;
|
||||
long tenantId_;
|
||||
std::string protocols_;
|
||||
long projectId_;
|
||||
int responseContentType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -32,21 +32,21 @@ public:
|
||||
~CreateDataServiceFolderRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
std::string getFolderName() const;
|
||||
void setFolderName(const std::string &folderName);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
long getParentId() const;
|
||||
void setParentId(long parentId);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
long tenantId_;
|
||||
std::string folderName_;
|
||||
long projectId_;
|
||||
long parentId_;
|
||||
long tenantId_;
|
||||
long projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -30,23 +30,23 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceGroupRequest : publi
|
||||
public:
|
||||
CreateDataServiceGroupRequest();
|
||||
~CreateDataServiceGroupRequest();
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getGroupName() const;
|
||||
void setGroupName(const std::string &groupName);
|
||||
std::string getApiGatewayGroupId() const;
|
||||
void setApiGatewayGroupId(const std::string &apiGatewayGroupId);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getGroupName() const;
|
||||
void setGroupName(const std::string &groupName);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string groupName_;
|
||||
std::string apiGatewayGroupId_;
|
||||
long tenantId_;
|
||||
std::string description_;
|
||||
long projectId_;
|
||||
std::string groupName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -30,25 +30,25 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateExportMigrationRequest : public
|
||||
public:
|
||||
CreateExportMigrationRequest();
|
||||
~CreateExportMigrationRequest();
|
||||
long getIncrementalSince() const;
|
||||
void setIncrementalSince(long incrementalSince);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getExportObjectStatus() const;
|
||||
void setExportObjectStatus(const std::string &exportObjectStatus);
|
||||
std::string getExportMode() const;
|
||||
void setExportMode(const std::string &exportMode);
|
||||
long getIncrementalSince() const;
|
||||
void setIncrementalSince(long incrementalSince);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
long incrementalSince_;
|
||||
std::string description_;
|
||||
std::string exportObjectStatus_;
|
||||
std::string exportMode_;
|
||||
long incrementalSince_;
|
||||
std::string name_;
|
||||
std::string description_;
|
||||
long projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,17 +30,17 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateMetaCategoryRequest : public Rp
|
||||
public:
|
||||
CreateMetaCategoryRequest();
|
||||
~CreateMetaCategoryRequest();
|
||||
long getParentId() const;
|
||||
void setParentId(long parentId);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getComment() const;
|
||||
void setComment(const std::string &comment);
|
||||
long getParentId() const;
|
||||
void setParentId(long parentId);
|
||||
|
||||
private:
|
||||
long parentId_;
|
||||
std::string name_;
|
||||
std::string comment_;
|
||||
long parentId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -30,20 +30,20 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityFollowerRequest : public
|
||||
public:
|
||||
CreateQualityFollowerRequest();
|
||||
~CreateQualityFollowerRequest();
|
||||
int getAlarmMode() const;
|
||||
void setAlarmMode(int alarmMode);
|
||||
std::string getProjectName() const;
|
||||
void setProjectName(const std::string &projectName);
|
||||
std::string getFollower() const;
|
||||
void setFollower(const std::string &follower);
|
||||
long getEntityId() const;
|
||||
void setEntityId(long entityId);
|
||||
int getAlarmMode() const;
|
||||
void setAlarmMode(int alarmMode);
|
||||
|
||||
private:
|
||||
int alarmMode_;
|
||||
std::string projectName_;
|
||||
std::string follower_;
|
||||
long entityId_;
|
||||
int alarmMode_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -30,12 +30,8 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityRuleRequest : public Rpc
|
||||
public:
|
||||
CreateQualityRuleRequest();
|
||||
~CreateQualityRuleRequest();
|
||||
std::string getProjectName() const;
|
||||
void setProjectName(const std::string &projectName);
|
||||
std::string getTrend() const;
|
||||
void setTrend(const std::string &trend);
|
||||
int getRuleType() const;
|
||||
void setRuleType(int ruleType);
|
||||
int getBlockType() const;
|
||||
void setBlockType(int blockType);
|
||||
std::string getPropertyType() const;
|
||||
@@ -46,46 +42,50 @@ public:
|
||||
void setRuleName(const std::string &ruleName);
|
||||
int getChecker() const;
|
||||
void setChecker(int checker);
|
||||
int getTemplateId() const;
|
||||
void setTemplateId(int templateId);
|
||||
std::string getExpectValue() const;
|
||||
void setExpectValue(const std::string &expectValue);
|
||||
std::string get_Operator() const;
|
||||
void set_Operator(const std::string &_operator);
|
||||
std::string getWhereCondition() const;
|
||||
void setWhereCondition(const std::string &whereCondition);
|
||||
std::string getCriticalThreshold() const;
|
||||
void setCriticalThreshold(const std::string &criticalThreshold);
|
||||
std::string getProperty() const;
|
||||
void setProperty(const std::string &property);
|
||||
std::string getComment() const;
|
||||
void setComment(const std::string &comment);
|
||||
int getPredictType() const;
|
||||
void setPredictType(int predictType);
|
||||
std::string getWarningThreshold() const;
|
||||
void setWarningThreshold(const std::string &warningThreshold);
|
||||
std::string getMethodName() const;
|
||||
void setMethodName(const std::string &methodName);
|
||||
std::string getProjectName() const;
|
||||
void setProjectName(const std::string &projectName);
|
||||
int getRuleType() const;
|
||||
void setRuleType(int ruleType);
|
||||
int getTemplateId() const;
|
||||
void setTemplateId(int templateId);
|
||||
std::string getExpectValue() const;
|
||||
void setExpectValue(const std::string &expectValue);
|
||||
std::string getWhereCondition() const;
|
||||
void setWhereCondition(const std::string &whereCondition);
|
||||
std::string getCriticalThreshold() const;
|
||||
void setCriticalThreshold(const std::string &criticalThreshold);
|
||||
std::string getComment() const;
|
||||
void setComment(const std::string &comment);
|
||||
int getPredictType() const;
|
||||
void setPredictType(int predictType);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string trend_;
|
||||
int ruleType_;
|
||||
int blockType_;
|
||||
std::string propertyType_;
|
||||
long entityId_;
|
||||
std::string ruleName_;
|
||||
int checker_;
|
||||
int templateId_;
|
||||
std::string expectValue_;
|
||||
std::string _operator_;
|
||||
std::string whereCondition_;
|
||||
std::string criticalThreshold_;
|
||||
std::string property_;
|
||||
std::string comment_;
|
||||
int predictType_;
|
||||
std::string warningThreshold_;
|
||||
std::string methodName_;
|
||||
std::string projectName_;
|
||||
int ruleType_;
|
||||
int templateId_;
|
||||
std::string expectValue_;
|
||||
std::string whereCondition_;
|
||||
std::string criticalThreshold_;
|
||||
std::string comment_;
|
||||
int predictType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -30,52 +30,55 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateRemindRequest : public RpcServi
|
||||
public:
|
||||
CreateRemindRequest();
|
||||
~CreateRemindRequest();
|
||||
std::string getDndEnd() const;
|
||||
void setDndEnd(const std::string &dndEnd);
|
||||
std::string getAlertUnit() const;
|
||||
void setAlertUnit(const std::string &alertUnit);
|
||||
std::string getRobotUrls() const;
|
||||
void setRobotUrls(const std::string &robotUrls);
|
||||
std::string getBizProcessIds() const;
|
||||
void setBizProcessIds(const std::string &bizProcessIds);
|
||||
std::string getRemindType() const;
|
||||
void setRemindType(const std::string &remindType);
|
||||
std::string getBaselineIds() const;
|
||||
void setBaselineIds(const std::string &baselineIds);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getDndEnd() const;
|
||||
void setDndEnd(const std::string &dndEnd);
|
||||
std::string getRemindUnit() const;
|
||||
void setRemindUnit(const std::string &remindUnit);
|
||||
int getAlertInterval() const;
|
||||
void setAlertInterval(int alertInterval);
|
||||
std::string getAlertMethods() const;
|
||||
void setAlertMethods(const std::string &alertMethods);
|
||||
std::string getRobotUrls() const;
|
||||
void setRobotUrls(const std::string &robotUrls);
|
||||
int getMaxAlertTimes() const;
|
||||
void setMaxAlertTimes(int maxAlertTimes);
|
||||
std::string getBizProcessIds() const;
|
||||
void setBizProcessIds(const std::string &bizProcessIds);
|
||||
std::string getRemindType() const;
|
||||
void setRemindType(const std::string &remindType);
|
||||
std::string getAlertTargets() const;
|
||||
void setAlertTargets(const std::string &alertTargets);
|
||||
std::string getBaselineIds() const;
|
||||
void setBaselineIds(const std::string &baselineIds);
|
||||
std::string getWebhooks() const;
|
||||
void setWebhooks(const std::string &webhooks);
|
||||
std::string getDetail() const;
|
||||
void setDetail(const std::string &detail);
|
||||
std::string getRemindName() const;
|
||||
void setRemindName(const std::string &remindName);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getNodeIds() const;
|
||||
void setNodeIds(const std::string &nodeIds);
|
||||
|
||||
private:
|
||||
std::string dndEnd_;
|
||||
std::string alertUnit_;
|
||||
std::string robotUrls_;
|
||||
std::string bizProcessIds_;
|
||||
std::string remindType_;
|
||||
std::string baselineIds_;
|
||||
long projectId_;
|
||||
std::string dndEnd_;
|
||||
std::string remindUnit_;
|
||||
int alertInterval_;
|
||||
std::string alertMethods_;
|
||||
std::string robotUrls_;
|
||||
int maxAlertTimes_;
|
||||
std::string bizProcessIds_;
|
||||
std::string remindType_;
|
||||
std::string alertTargets_;
|
||||
std::string baselineIds_;
|
||||
std::string webhooks_;
|
||||
std::string detail_;
|
||||
std::string remindName_;
|
||||
long projectId_;
|
||||
std::string nodeIds_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -32,17 +32,17 @@ public:
|
||||
~CreateTableLevelRequest();
|
||||
int getLevelType() const;
|
||||
void setLevelType(int levelType);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
int levelType_;
|
||||
std::string name_;
|
||||
std::string description_;
|
||||
std::string name_;
|
||||
long projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -32,18 +32,18 @@ public:
|
||||
~CreateTableThemeRequest();
|
||||
int getLevel() const;
|
||||
void setLevel(int level);
|
||||
long getParentId() const;
|
||||
void setParentId(long parentId);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
long getParentId() const;
|
||||
void setParentId(long parentId);
|
||||
|
||||
private:
|
||||
int level_;
|
||||
long parentId_;
|
||||
std::string name_;
|
||||
long projectId_;
|
||||
long parentId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKMETRICINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKMETRICINFOREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBASELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBASELINEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
@@ -26,26 +26,20 @@
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDISyncTaskMetricInfoRequest : public RpcServiceRequest {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteBaselineRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetDISyncTaskMetricInfoRequest();
|
||||
~GetDISyncTaskMetricInfoRequest();
|
||||
long getEndDate() const;
|
||||
void setEndDate(long endDate);
|
||||
long getStartDate() const;
|
||||
void setStartDate(long startDate);
|
||||
DeleteBaselineRequest();
|
||||
~DeleteBaselineRequest();
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
long getFileId() const;
|
||||
void setFileId(long fileId);
|
||||
long getBaselineId() const;
|
||||
void setBaselineId(long baselineId);
|
||||
|
||||
private:
|
||||
long endDate_;
|
||||
long startDate_;
|
||||
long projectId_;
|
||||
long fileId_;
|
||||
long baselineId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKMETRICINFOREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBASELINEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTUSAGEFORRESOURCEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTUSAGEFORRESOURCEGROUPRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBASELINERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBASELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,29 +29,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListCurrentUsageForResourceGroupResult : public ServiceResult
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteBaselineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
float usage;
|
||||
long recodeTime;
|
||||
};
|
||||
|
||||
|
||||
ListCurrentUsageForResourceGroupResult();
|
||||
explicit ListCurrentUsageForResourceGroupResult(const std::string &payload);
|
||||
~ListCurrentUsageForResourceGroupResult();
|
||||
DeleteBaselineResult();
|
||||
explicit DeleteBaselineResult(const std::string &payload);
|
||||
~DeleteBaselineResult();
|
||||
std::string getDynamicErrorMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
bool getData()const;
|
||||
std::string getDynamicErrorCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dynamicErrorMessage_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
bool data_;
|
||||
std::string dynamicErrorCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
@@ -59,4 +60,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTUSAGEFORRESOURCEGROUPRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBASELINERESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTUSAGEFORRESOURCEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTUSAGEFORRESOURCEGROUPREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
@@ -26,20 +26,20 @@
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListCurrentUsageForResourceGroupRequest : public RpcServiceRequest {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListCurrentUsageForResourceGroupRequest();
|
||||
~ListCurrentUsageForResourceGroupRequest();
|
||||
std::string getProjectEnv() const;
|
||||
void setProjectEnv(const std::string &projectEnv);
|
||||
std::string getResourceGroupIdentifier() const;
|
||||
void setResourceGroupIdentifier(const std::string &resourceGroupIdentifier);
|
||||
GetBaselineRequest();
|
||||
~GetBaselineRequest();
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
long getBaselineId() const;
|
||||
void setBaselineId(long baselineId);
|
||||
|
||||
private:
|
||||
std::string projectEnv_;
|
||||
std::string resourceGroupIdentifier_;
|
||||
long projectId_;
|
||||
long baselineId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTUSAGEFORRESOURCEGROUPREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEREQUEST_H_
|
||||
@@ -0,0 +1,103 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetBaselineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct OverTimeSetting
|
||||
{
|
||||
std::string time;
|
||||
int cycle;
|
||||
};
|
||||
struct AlertSetting
|
||||
{
|
||||
struct DingRobot
|
||||
{
|
||||
bool atAll;
|
||||
std::string webUrl;
|
||||
};
|
||||
int alertInterval;
|
||||
int alertMaximum;
|
||||
std::string alertType;
|
||||
std::string alertRecipientType;
|
||||
std::string alertRecipient;
|
||||
std::vector<std::string> topicTypes;
|
||||
std::vector<std::string> alertMethods;
|
||||
std::vector<std::string> webhooks;
|
||||
std::vector<AlertSetting::DingRobot> dingRobots;
|
||||
std::string silenceStartTime;
|
||||
std::string silenceEndTime;
|
||||
bool baselineAlertEnabled;
|
||||
};
|
||||
long baselineId;
|
||||
std::string owner;
|
||||
std::string baselineType;
|
||||
std::vector<std::string> taskIds;
|
||||
int priority;
|
||||
std::string baselineName;
|
||||
long projectId;
|
||||
bool enabled;
|
||||
std::vector<AlertSetting> alertSettings;
|
||||
bool alertEnabled;
|
||||
std::vector<OverTimeSetting> overTimeSettings;
|
||||
int alertMarginThreshold;
|
||||
};
|
||||
|
||||
|
||||
GetBaselineResult();
|
||||
explicit GetBaselineResult(const std::string &payload);
|
||||
~GetBaselineResult();
|
||||
std::string getDynamicErrorMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getDynamicErrorCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dynamicErrorMessage_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string dynamicErrorCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINERESULT_H_
|
||||
@@ -30,17 +30,17 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceFolderRequest : public
|
||||
public:
|
||||
GetDataServiceFolderRequest();
|
||||
~GetDataServiceFolderRequest();
|
||||
long getFolderId() const;
|
||||
void setFolderId(long folderId);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
long getFolderId() const;
|
||||
void setFolderId(long folderId);
|
||||
|
||||
private:
|
||||
long folderId_;
|
||||
long tenantId_;
|
||||
long projectId_;
|
||||
long folderId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -32,15 +32,15 @@ public:
|
||||
~GetMetaCategoryRequest();
|
||||
long getParentCategoryId() const;
|
||||
void setParentCategoryId(long parentCategoryId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageNum() const;
|
||||
void setPageNum(int pageNum);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
long parentCategoryId_;
|
||||
int pageSize_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -32,17 +32,17 @@ public:
|
||||
~GetMetaDBInfoRequest();
|
||||
std::string getDataSourceType() const;
|
||||
void setDataSourceType(const std::string &dataSourceType);
|
||||
std::string getDatabaseName() const;
|
||||
void setDatabaseName(const std::string &databaseName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getDatabaseName() const;
|
||||
void setDatabaseName(const std::string &databaseName);
|
||||
std::string getAppGuid() const;
|
||||
void setAppGuid(const std::string &appGuid);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::string databaseName_;
|
||||
std::string clusterId_;
|
||||
std::string databaseName_;
|
||||
std::string appGuid_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -32,24 +32,24 @@ public:
|
||||
~GetMetaDBTableListRequest();
|
||||
std::string getDataSourceType() const;
|
||||
void setDataSourceType(const std::string &dataSourceType);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getDatabaseName() const;
|
||||
void setDatabaseName(const std::string &databaseName);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getAppGuid() const;
|
||||
void setAppGuid(const std::string &appGuid);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::string clusterId_;
|
||||
int pageNumber_;
|
||||
std::string databaseName_;
|
||||
int pageSize_;
|
||||
std::string clusterId_;
|
||||
std::string appGuid_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -34,21 +34,21 @@ public:
|
||||
void setDataSourceType(const std::string &dataSourceType);
|
||||
bool getExtension() const;
|
||||
void setExtension(bool extension);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getTableGuid() const;
|
||||
void setTableGuid(const std::string &tableGuid);
|
||||
std::string getDatabaseName() const;
|
||||
void setDatabaseName(const std::string &databaseName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getTableName() const;
|
||||
void setTableName(const std::string &tableName);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
bool extension_;
|
||||
std::string clusterId_;
|
||||
std::string tableGuid_;
|
||||
std::string databaseName_;
|
||||
std::string clusterId_;
|
||||
std::string tableName_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableListByCategoryRequest : p
|
||||
public:
|
||||
GetMetaTableListByCategoryRequest();
|
||||
~GetMetaTableListByCategoryRequest();
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
long getCategoryId() const;
|
||||
void setCategoryId(long categoryId);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
long categoryId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,23 +30,23 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableOutputRequest : public Rp
|
||||
public:
|
||||
GetMetaTableOutputRequest();
|
||||
~GetMetaTableOutputRequest();
|
||||
std::string getStartDate() const;
|
||||
void setStartDate(const std::string &startDate);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getEndDate() const;
|
||||
void setEndDate(const std::string &endDate);
|
||||
std::string getTableGuid() const;
|
||||
void setTableGuid(const std::string &tableGuid);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getStartDate() const;
|
||||
void setStartDate(const std::string &startDate);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string startDate_;
|
||||
int pageNumber_;
|
||||
std::string endDate_;
|
||||
std::string tableGuid_;
|
||||
int pageSize_;
|
||||
std::string startDate_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -34,8 +34,14 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
int status;
|
||||
std::string projectIdentifier;
|
||||
int isDefault;
|
||||
std::string projectOwnerBaseId;
|
||||
int schedulerMaxRetryTimes;
|
||||
std::string projectName;
|
||||
@@ -43,13 +49,18 @@ namespace AlibabaCloud
|
||||
int projectId;
|
||||
std::string gmtModified;
|
||||
int developmentType;
|
||||
bool disableDevelopment;
|
||||
std::string residentArea;
|
||||
std::string resourceManagerResourceGroupId;
|
||||
bool useProxyOdpsAccount;
|
||||
std::string gmtCreate;
|
||||
long tenantId;
|
||||
int protectedMode;
|
||||
int tablePrivacyMode;
|
||||
int projectMode;
|
||||
std::string projectDescription;
|
||||
std::string defaultDiResourceGroupIdentifier;
|
||||
std::vector<Tag> tags;
|
||||
std::vector<std::string> envTypes;
|
||||
int schedulerRetryInterval;
|
||||
};
|
||||
|
||||
@@ -34,6 +34,11 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
int destination;
|
||||
std::string projectOwnerBaseId;
|
||||
std::string projectName;
|
||||
@@ -42,8 +47,10 @@ namespace AlibabaCloud
|
||||
int developmentType;
|
||||
bool disableDevelopment;
|
||||
bool baseProject;
|
||||
std::string resourceManagerResourceGroupId;
|
||||
int projectMode;
|
||||
std::string projectDescription;
|
||||
std::vector<Tag> tags;
|
||||
int status;
|
||||
std::string devStorageQuota;
|
||||
int isDefault;
|
||||
|
||||
@@ -72,6 +72,7 @@ namespace AlibabaCloud
|
||||
std::vector<NodesItem> nodes;
|
||||
std::vector<BaselinesItem> baselines;
|
||||
long remindId;
|
||||
std::vector<std::string> webhooks;
|
||||
std::string remindUnit;
|
||||
std::vector<std::string> alertTargets;
|
||||
bool useflag;
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTTASKSFORRESOURCEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTTASKSFORRESOURCEGROUPREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
@@ -26,29 +26,41 @@
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListCurrentTasksForResourceGroupRequest : public RpcServiceRequest {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListBaselinesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListCurrentTasksForResourceGroupRequest();
|
||||
~ListCurrentTasksForResourceGroupRequest();
|
||||
ListBaselinesRequest();
|
||||
~ListBaselinesRequest();
|
||||
std::string getOwner() const;
|
||||
void setOwner(const std::string &owner);
|
||||
std::string getSearchText() const;
|
||||
void setSearchText(const std::string &searchText);
|
||||
std::string getProjectEnv() const;
|
||||
void setProjectEnv(const std::string &projectEnv);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getResourceGroupIdentifier() const;
|
||||
void setResourceGroupIdentifier(const std::string &resourceGroupIdentifier);
|
||||
std::string getPriority() const;
|
||||
void setPriority(const std::string &priority);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getStatus() const;
|
||||
void setStatus(int status);
|
||||
bool getEnable() const;
|
||||
void setEnable(bool enable);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getBaselineTypes() const;
|
||||
void setBaselineTypes(const std::string &baselineTypes);
|
||||
|
||||
private:
|
||||
std::string owner_;
|
||||
std::string searchText_;
|
||||
std::string projectEnv_;
|
||||
int pageSize_;
|
||||
std::string resourceGroupIdentifier_;
|
||||
std::string priority_;
|
||||
int pageNumber_;
|
||||
int status_;
|
||||
bool enable_;
|
||||
int pageSize_;
|
||||
long projectId_;
|
||||
std::string baselineTypes_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTTASKSFORRESOURCEGROUPREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTTASKSFORRESOURCEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTTASKSFORRESOURCEGROUPRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,33 +29,43 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListCurrentTasksForResourceGroupResult : public ServiceResult
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListBaselinesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct PopTasksForResourceGroupDto
|
||||
struct BaselinesItem
|
||||
{
|
||||
int status;
|
||||
std::string taskId;
|
||||
std::string projectName;
|
||||
std::string concurrency;
|
||||
std::string taskName;
|
||||
int taskType;
|
||||
std::string taskSource;
|
||||
struct OverTimeSettingsItem
|
||||
{
|
||||
std::string time;
|
||||
int cycle;
|
||||
};
|
||||
long baselineId;
|
||||
std::string owner;
|
||||
std::string baselineType;
|
||||
int priority;
|
||||
long projectId;
|
||||
std::string baselineName;
|
||||
bool enabled;
|
||||
bool alertEnabled;
|
||||
std::vector<BaselinesItem::OverTimeSettingsItem> overTimeSettings;
|
||||
int alertMarginThreshold;
|
||||
};
|
||||
std::vector<PopTasksForResourceGroupDto> tasks;
|
||||
int totalNum;
|
||||
int pageNum;
|
||||
int pageSize;
|
||||
std::string totalCount;
|
||||
std::string pageSize;
|
||||
std::string pageNumber;
|
||||
std::vector<BaselinesItem> baselines;
|
||||
};
|
||||
|
||||
|
||||
ListCurrentTasksForResourceGroupResult();
|
||||
explicit ListCurrentTasksForResourceGroupResult(const std::string &payload);
|
||||
~ListCurrentTasksForResourceGroupResult();
|
||||
ListBaselinesResult();
|
||||
explicit ListBaselinesResult(const std::string &payload);
|
||||
~ListBaselinesResult();
|
||||
std::string getDynamicErrorMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getDynamicErrorCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
@@ -63,8 +73,10 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dynamicErrorMessage_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string dynamicErrorCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
@@ -73,4 +85,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTTASKSFORRESOURCEGROUPRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESRESULT_H_
|
||||
@@ -32,21 +32,21 @@ public:
|
||||
~ListDataServiceApiAuthoritiesRequest();
|
||||
std::string getApiNameKeyword() const;
|
||||
void setApiNameKeyword(const std::string &apiNameKeyword);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string apiNameKeyword_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
long tenantId_;
|
||||
long projectId_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -30,20 +30,20 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceApplicationsRequest :
|
||||
public:
|
||||
ListDataServiceApplicationsRequest();
|
||||
~ListDataServiceApplicationsRequest();
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
std::string getProjectIdList() const;
|
||||
void setProjectIdList(const std::string &projectIdList);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
long tenantId_;
|
||||
std::string projectIdList_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -32,21 +32,21 @@ public:
|
||||
~ListDataServiceAuthorizedApisRequest();
|
||||
std::string getApiNameKeyword() const;
|
||||
void setApiNameKeyword(const std::string &apiNameKeyword);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string apiNameKeyword_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
long tenantId_;
|
||||
long projectId_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -34,22 +34,22 @@ public:
|
||||
void setFolderNameKeyword(const std::string &folderNameKeyword);
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string folderNameKeyword_;
|
||||
std::string groupId_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
long tenantId_;
|
||||
long projectId_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -30,23 +30,23 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceGroupsRequest : public
|
||||
public:
|
||||
ListDataServiceGroupsRequest();
|
||||
~ListDataServiceGroupsRequest();
|
||||
std::string getGroupNameKeyword() const;
|
||||
void setGroupNameKeyword(const std::string &groupNameKeyword);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
long getTenantId() const;
|
||||
void setTenantId(long tenantId);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getGroupNameKeyword() const;
|
||||
void setGroupNameKeyword(const std::string &groupNameKeyword);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string groupNameKeyword_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
long tenantId_;
|
||||
long projectId_;
|
||||
std::string groupNameKeyword_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTUSAGEFORRESOURCEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTUSAGEFORRESOURCEGROUPREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENABLEDEXTENSIONSFORPROJECTREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENABLEDEXTENSIONSFORPROJECTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
@@ -26,26 +26,23 @@
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListUsageForResourceGroupRequest : public RpcServiceRequest {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEnabledExtensionsForProjectRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListUsageForResourceGroupRequest();
|
||||
~ListUsageForResourceGroupRequest();
|
||||
std::string getProjectEnv() const;
|
||||
void setProjectEnv(const std::string &projectEnv);
|
||||
long getEndTime() const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getResourceGroupIdentifier() const;
|
||||
void setResourceGroupIdentifier(const std::string &resourceGroupIdentifier);
|
||||
long getStartTime() const;
|
||||
void setStartTime(long startTime);
|
||||
ListEnabledExtensionsForProjectRequest();
|
||||
~ListEnabledExtensionsForProjectRequest();
|
||||
std::string getEventCode() const;
|
||||
void setEventCode(const std::string &eventCode);
|
||||
std::string getFileType() const;
|
||||
void setFileType(const std::string &fileType);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string projectEnv_;
|
||||
long endTime_;
|
||||
std::string resourceGroupIdentifier_;
|
||||
long startTime_;
|
||||
std::string eventCode_;
|
||||
std::string fileType_;
|
||||
long projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTUSAGEFORRESOURCEGROUPREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENABLEDEXTENSIONSFORPROJECTREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKMETRICINFORESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKMETRICINFORESULT_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENABLEDEXTENSIONSFORPROJECTRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENABLEDEXTENSIONSFORPROJECTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,38 +29,36 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDISyncTaskMetricInfoResult : public ServiceResult
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListEnabledExtensionsForProjectResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MetricInfo
|
||||
struct ExtensionsItem
|
||||
{
|
||||
std::string message;
|
||||
long insertReaderRecords;
|
||||
long insertWriterRecords;
|
||||
long lastTaskDelay;
|
||||
long updateWriterRecords;
|
||||
long sumReaderRecords;
|
||||
long sumWriterRecords;
|
||||
long deleteReaderRecords;
|
||||
long updateReaderRecords;
|
||||
long deleteWriterRecords;
|
||||
std::string extensionName;
|
||||
long tenantId;
|
||||
std::string owner;
|
||||
long gmtCreate;
|
||||
std::string modifyUser;
|
||||
std::string parameterSetting;
|
||||
std::string extensionDesc;
|
||||
long gmtModified;
|
||||
std::string createUser;
|
||||
std::string extensionCode;
|
||||
};
|
||||
|
||||
|
||||
GetDISyncTaskMetricInfoResult();
|
||||
explicit GetDISyncTaskMetricInfoResult(const std::string &payload);
|
||||
~GetDISyncTaskMetricInfoResult();
|
||||
MetricInfo getMetricInfo()const;
|
||||
bool getSuccess()const;
|
||||
ListEnabledExtensionsForProjectResult();
|
||||
explicit ListEnabledExtensionsForProjectResult(const std::string &payload);
|
||||
~ListEnabledExtensionsForProjectResult();
|
||||
std::vector<ExtensionsItem> getExtensions()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MetricInfo metricInfo_;
|
||||
bool success_;
|
||||
std::vector<ExtensionsItem> extensions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKMETRICINFORESULT_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTENABLEDEXTENSIONSFORPROJECTRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHISTORYTASKSFORRESOURCEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHISTORYTASKSFORRESOURCEGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListHistoryTasksForResourceGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListHistoryTasksForResourceGroupRequest();
|
||||
~ListHistoryTasksForResourceGroupRequest();
|
||||
std::string getProjectEnv() const;
|
||||
void setProjectEnv(const std::string &projectEnv);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
long getEndTime() const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getResourceGroupIdentifier() const;
|
||||
void setResourceGroupIdentifier(const std::string &resourceGroupIdentifier);
|
||||
long getStartTime() const;
|
||||
void setStartTime(long startTime);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string projectEnv_;
|
||||
int pageSize_;
|
||||
long endTime_;
|
||||
std::string resourceGroupIdentifier_;
|
||||
long startTime_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHISTORYTASKSFORRESOURCEGROUPREQUEST_H_
|
||||
@@ -32,20 +32,20 @@ public:
|
||||
~ListMetaDBRequest();
|
||||
std::string getDataSourceType() const;
|
||||
void setDataSourceType(const std::string &dataSourceType);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
int getPageNum() const;
|
||||
void setPageNum(int pageNum);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
int pageSize_;
|
||||
std::string clusterId_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
long projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -32,21 +32,21 @@ public:
|
||||
~ListMigrationsRequest();
|
||||
std::string getOwner() const;
|
||||
void setOwner(const std::string &owner);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getMigrationType() const;
|
||||
void setMigrationType(const std::string &migrationType);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string owner_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string migrationType_;
|
||||
long projectId_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -28,15 +28,25 @@ namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
ListProjectsRequest();
|
||||
~ListProjectsRequest();
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
std::string getResourceManagerResourceGroupId() const;
|
||||
void setResourceManagerResourceGroupId(const std::string &resourceManagerResourceGroupId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::vector<Tags> tags_;
|
||||
std::string resourceManagerResourceGroupId_;
|
||||
int pageSize_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -36,13 +36,24 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct Project
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string projectIdentifier;
|
||||
int isDefault;
|
||||
std::string projectOwnerBaseId;
|
||||
std::string projectStatusCode;
|
||||
int projectStatus;
|
||||
std::string projectName;
|
||||
long projectId;
|
||||
bool disableDevelopment;
|
||||
std::string resourceManagerResourceGroupId;
|
||||
bool useProxyOdpsAccount;
|
||||
int projectStatus;
|
||||
int tablePrivacyMode;
|
||||
std::string projectDescription;
|
||||
std::vector<Project::Tag> tags;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
|
||||
@@ -32,24 +32,24 @@ public:
|
||||
~ListQualityResultsByEntityRequest();
|
||||
std::string getProjectName() const;
|
||||
void setProjectName(const std::string &projectName);
|
||||
std::string getEndDate() const;
|
||||
void setEndDate(const std::string &endDate);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
int getEntityId() const;
|
||||
void setEntityId(int entityId);
|
||||
std::string getStartDate() const;
|
||||
void setStartDate(const std::string &startDate);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getEndDate() const;
|
||||
void setEndDate(const std::string &endDate);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string endDate_;
|
||||
int pageSize_;
|
||||
int entityId_;
|
||||
std::string startDate_;
|
||||
int pageNumber_;
|
||||
std::string endDate_;
|
||||
int pageSize_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -32,24 +32,24 @@ public:
|
||||
~ListQualityResultsByRuleRequest();
|
||||
std::string getProjectName() const;
|
||||
void setProjectName(const std::string &projectName);
|
||||
std::string getStartDate() const;
|
||||
void setStartDate(const std::string &startDate);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getEndDate() const;
|
||||
void setEndDate(const std::string &endDate);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
int getRuleId() const;
|
||||
void setRuleId(int ruleId);
|
||||
std::string getStartDate() const;
|
||||
void setStartDate(const std::string &startDate);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string startDate_;
|
||||
int pageNumber_;
|
||||
std::string endDate_;
|
||||
int pageSize_;
|
||||
int ruleId_;
|
||||
std::string startDate_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -32,18 +32,18 @@ public:
|
||||
~ListQualityRulesRequest();
|
||||
std::string getProjectName() const;
|
||||
void setProjectName(const std::string &projectName);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
long getEntityId() const;
|
||||
void setEntityId(long entityId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
int pageSize_;
|
||||
long entityId_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -28,10 +28,18 @@ namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListResourceGroupsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
ListResourceGroupsRequest();
|
||||
~ListResourceGroupsRequest();
|
||||
std::string getBizExtKey() const;
|
||||
void setBizExtKey(const std::string &bizExtKey);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
std::string getResourceManagerResourceGroupId() const;
|
||||
void setResourceManagerResourceGroupId(const std::string &resourceManagerResourceGroupId);
|
||||
int getResourceGroupType() const;
|
||||
void setResourceGroupType(int resourceGroupType);
|
||||
std::string getKeyword() const;
|
||||
@@ -39,6 +47,8 @@ public:
|
||||
|
||||
private:
|
||||
std::string bizExtKey_;
|
||||
std::vector<Tags> tags_;
|
||||
std::string resourceManagerResourceGroupId_;
|
||||
int resourceGroupType_;
|
||||
std::string keyword_;
|
||||
};
|
||||
|
||||
@@ -34,6 +34,11 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct DataItem
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
int status;
|
||||
bool isDefault;
|
||||
std::string createTime;
|
||||
@@ -42,12 +47,14 @@ namespace AlibabaCloud
|
||||
int sequence;
|
||||
std::string resourceGroupType;
|
||||
std::string name;
|
||||
std::string resourceManagerResourceGroupId;
|
||||
long tenantId;
|
||||
std::string identifier;
|
||||
bool enableKp;
|
||||
std::string bizExtKey;
|
||||
std::string updateTime;
|
||||
long id;
|
||||
std::vector<DataItem::Tag> tags;
|
||||
std::string specs;
|
||||
};
|
||||
|
||||
|
||||
@@ -32,17 +32,17 @@ public:
|
||||
~ListTableLevelRequest();
|
||||
int getLevelType() const;
|
||||
void setLevelType(int levelType);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageNum() const;
|
||||
void setPageNum(int pageNum);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
int levelType_;
|
||||
int pageSize_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
long projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,20 +30,20 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTableThemeRequest : public RpcSer
|
||||
public:
|
||||
ListTableThemeRequest();
|
||||
~ListTableThemeRequest();
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageNum() const;
|
||||
void setPageNum(int pageNum);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
long getParentId() const;
|
||||
void setParentId(long parentId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNum_;
|
||||
long projectId_;
|
||||
long parentId_;
|
||||
int pageSize_;
|
||||
long projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -32,10 +32,6 @@ public:
|
||||
std::string paramKey;
|
||||
std::string paramValue;
|
||||
};
|
||||
struct BodyParams {
|
||||
std::string paramKey;
|
||||
std::string paramValue;
|
||||
};
|
||||
struct QueryParam {
|
||||
std::string paramKey;
|
||||
std::string paramValue;
|
||||
@@ -44,27 +40,31 @@ public:
|
||||
std::string paramKey;
|
||||
std::string paramValue;
|
||||
};
|
||||
struct BodyParams {
|
||||
std::string paramKey;
|
||||
std::string paramValue;
|
||||
};
|
||||
TestDataServiceApiRequest();
|
||||
~TestDataServiceApiRequest();
|
||||
std::vector<PathParams> getPathParams() const;
|
||||
void setPathParams(const std::vector<PathParams> &pathParams);
|
||||
std::string getBodyContent() const;
|
||||
void setBodyContent(const std::string &bodyContent);
|
||||
std::vector<BodyParams> getBodyParams() const;
|
||||
void setBodyParams(const std::vector<BodyParams> &bodyParams);
|
||||
std::vector<QueryParam> getQueryParam() const;
|
||||
void setQueryParam(const std::vector<QueryParam> &queryParam);
|
||||
std::vector<HeadParams> getHeadParams() const;
|
||||
void setHeadParams(const std::vector<HeadParams> &headParams);
|
||||
std::string getBodyContent() const;
|
||||
void setBodyContent(const std::string &bodyContent);
|
||||
std::vector<BodyParams> getBodyParams() const;
|
||||
void setBodyParams(const std::vector<BodyParams> &bodyParams);
|
||||
long getApiId() const;
|
||||
void setApiId(long apiId);
|
||||
|
||||
private:
|
||||
std::vector<PathParams> pathParams_;
|
||||
std::string bodyContent_;
|
||||
std::vector<BodyParams> bodyParams_;
|
||||
std::vector<QueryParam> queryParam_;
|
||||
std::vector<HeadParams> headParams_;
|
||||
std::string bodyContent_;
|
||||
std::vector<BodyParams> bodyParams_;
|
||||
long apiId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBASELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBASELINEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateBaselineRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct OvertimeSettings {
|
||||
std::string time;
|
||||
int cycle;
|
||||
};
|
||||
struct AlertSettings {
|
||||
struct DingRobotsItem {
|
||||
bool atAll;
|
||||
std::string webUrl;
|
||||
};
|
||||
DingRobotsItem dingRobotsItem;
|
||||
std::vector<DingRobotsItem> dingRobots;
|
||||
std::string alertType;
|
||||
int alertMaximum;
|
||||
std::string silenceStartTime;
|
||||
std::string string;
|
||||
std::vector<std::string> webhooks;
|
||||
bool baselineAlertEnabled;
|
||||
std::string alertRecipientType;
|
||||
int alertInterval;
|
||||
std::string string;
|
||||
std::vector<std::string> topicTypes;
|
||||
std::string alertRecipient;
|
||||
std::string string;
|
||||
std::vector<std::string> alertMethods;
|
||||
std::string silenceEndTime;
|
||||
};
|
||||
UpdateBaselineRequest();
|
||||
~UpdateBaselineRequest();
|
||||
std::string getOwner() const;
|
||||
void setOwner(const std::string &owner);
|
||||
int getAlertMarginThreshold() const;
|
||||
void setAlertMarginThreshold(int alertMarginThreshold);
|
||||
std::string getRemoveTaskIds() const;
|
||||
void setRemoveTaskIds(const std::string &removeTaskIds);
|
||||
std::vector<OvertimeSettings> getOvertimeSettings() const;
|
||||
void setOvertimeSettings(const std::vector<OvertimeSettings> &overtimeSettings);
|
||||
int getPriority() const;
|
||||
void setPriority(int priority);
|
||||
std::string getTaskIds() const;
|
||||
void setTaskIds(const std::string &taskIds);
|
||||
long getBaselineId() const;
|
||||
void setBaselineId(long baselineId);
|
||||
bool getEnabled() const;
|
||||
void setEnabled(bool enabled);
|
||||
std::string getBaselineType() const;
|
||||
void setBaselineType(const std::string &baselineType);
|
||||
bool getAlertEnabled() const;
|
||||
void setAlertEnabled(bool alertEnabled);
|
||||
std::vector<AlertSettings> getAlertSettings() const;
|
||||
void setAlertSettings(const std::vector<AlertSettings> &alertSettings);
|
||||
std::string getBaselineName() const;
|
||||
void setBaselineName(const std::string &baselineName);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string owner_;
|
||||
int alertMarginThreshold_;
|
||||
std::string removeTaskIds_;
|
||||
std::vector<OvertimeSettings> overtimeSettings_;
|
||||
int priority_;
|
||||
std::string taskIds_;
|
||||
long baselineId_;
|
||||
bool enabled_;
|
||||
std::string baselineType_;
|
||||
bool alertEnabled_;
|
||||
std::vector<AlertSettings> alertSettings_;
|
||||
std::string baselineName_;
|
||||
long projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBASELINEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHISTORYTASKSFORRESOURCEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHISTORYTASKSFORRESOURCEGROUPRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBASELINERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBASELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,32 +29,18 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListHistoryTasksForResourceGroupResult : public ServiceResult
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateBaselineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct PopTasksForResourceGroupDto
|
||||
{
|
||||
int status;
|
||||
std::string taskId;
|
||||
std::string projectName;
|
||||
int concurrency;
|
||||
std::string taskName;
|
||||
int taskType;
|
||||
};
|
||||
std::vector<PopTasksForResourceGroupDto> tasks;
|
||||
int totalNum;
|
||||
int pageNum;
|
||||
int pageSize;
|
||||
};
|
||||
|
||||
|
||||
ListHistoryTasksForResourceGroupResult();
|
||||
explicit ListHistoryTasksForResourceGroupResult(const std::string &payload);
|
||||
~ListHistoryTasksForResourceGroupResult();
|
||||
UpdateBaselineResult();
|
||||
explicit UpdateBaselineResult(const std::string &payload);
|
||||
~UpdateBaselineResult();
|
||||
std::string getDynamicErrorMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
bool getData()const;
|
||||
std::string getDynamicErrorCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
@@ -62,8 +48,10 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dynamicErrorMessage_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
bool data_;
|
||||
std::string dynamicErrorCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
@@ -72,4 +60,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHISTORYTASKSFORRESOURCEGROUPRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBASELINERESULT_H_
|
||||
@@ -30,22 +30,22 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateConnectionRequest : public RpcS
|
||||
public:
|
||||
UpdateConnectionRequest();
|
||||
~UpdateConnectionRequest();
|
||||
int getEnvType() const;
|
||||
void setEnvType(int envType);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
long getConnectionId() const;
|
||||
void setConnectionId(long connectionId);
|
||||
std::string getContent() const;
|
||||
void setContent(const std::string &content);
|
||||
int getEnvType() const;
|
||||
void setEnvType(int envType);
|
||||
long getConnectionId() const;
|
||||
void setConnectionId(long connectionId);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
int envType_;
|
||||
std::string description_;
|
||||
long connectionId_;
|
||||
std::string content_;
|
||||
int envType_;
|
||||
long connectionId_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaTableIntroWikiRequest : pub
|
||||
public:
|
||||
UpdateMetaTableIntroWikiRequest();
|
||||
~UpdateMetaTableIntroWikiRequest();
|
||||
std::string getTableGuid() const;
|
||||
void setTableGuid(const std::string &tableGuid);
|
||||
std::string getContent() const;
|
||||
void setContent(const std::string &content);
|
||||
std::string getTableGuid() const;
|
||||
void setTableGuid(const std::string &tableGuid);
|
||||
|
||||
private:
|
||||
std::string tableGuid_;
|
||||
std::string content_;
|
||||
std::string tableGuid_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -30,58 +30,61 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateRemindRequest : public RpcServi
|
||||
public:
|
||||
UpdateRemindRequest();
|
||||
~UpdateRemindRequest();
|
||||
std::string getDndEnd() const;
|
||||
void setDndEnd(const std::string &dndEnd);
|
||||
std::string getAlertUnit() const;
|
||||
void setAlertUnit(const std::string &alertUnit);
|
||||
std::string getRemindUnit() const;
|
||||
void setRemindUnit(const std::string &remindUnit);
|
||||
bool getUseFlag() const;
|
||||
void setUseFlag(bool useFlag);
|
||||
int getAlertInterval() const;
|
||||
void setAlertInterval(int alertInterval);
|
||||
std::string getAlertMethods() const;
|
||||
void setAlertMethods(const std::string &alertMethods);
|
||||
std::string getRobotUrls() const;
|
||||
void setRobotUrls(const std::string &robotUrls);
|
||||
int getMaxAlertTimes() const;
|
||||
void setMaxAlertTimes(int maxAlertTimes);
|
||||
std::string getBizProcessIds() const;
|
||||
void setBizProcessIds(const std::string &bizProcessIds);
|
||||
std::string getRemindType() const;
|
||||
void setRemindType(const std::string &remindType);
|
||||
std::string getAlertTargets() const;
|
||||
void setAlertTargets(const std::string &alertTargets);
|
||||
std::string getBaselineIds() const;
|
||||
void setBaselineIds(const std::string &baselineIds);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getDndEnd() const;
|
||||
void setDndEnd(const std::string &dndEnd);
|
||||
std::string getRemindUnit() const;
|
||||
void setRemindUnit(const std::string &remindUnit);
|
||||
int getAlertInterval() const;
|
||||
void setAlertInterval(int alertInterval);
|
||||
std::string getAlertMethods() const;
|
||||
void setAlertMethods(const std::string &alertMethods);
|
||||
int getMaxAlertTimes() const;
|
||||
void setMaxAlertTimes(int maxAlertTimes);
|
||||
std::string getAlertTargets() const;
|
||||
void setAlertTargets(const std::string &alertTargets);
|
||||
std::string getWebhooks() const;
|
||||
void setWebhooks(const std::string &webhooks);
|
||||
long getRemindId() const;
|
||||
void setRemindId(long remindId);
|
||||
std::string getDetail() const;
|
||||
void setDetail(const std::string &detail);
|
||||
std::string getRemindName() const;
|
||||
void setRemindName(const std::string &remindName);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getNodeIds() const;
|
||||
void setNodeIds(const std::string &nodeIds);
|
||||
|
||||
private:
|
||||
std::string dndEnd_;
|
||||
std::string alertUnit_;
|
||||
std::string remindUnit_;
|
||||
bool useFlag_;
|
||||
int alertInterval_;
|
||||
std::string alertMethods_;
|
||||
std::string robotUrls_;
|
||||
int maxAlertTimes_;
|
||||
std::string bizProcessIds_;
|
||||
std::string remindType_;
|
||||
std::string alertTargets_;
|
||||
std::string baselineIds_;
|
||||
long projectId_;
|
||||
std::string dndEnd_;
|
||||
std::string remindUnit_;
|
||||
int alertInterval_;
|
||||
std::string alertMethods_;
|
||||
int maxAlertTimes_;
|
||||
std::string alertTargets_;
|
||||
std::string webhooks_;
|
||||
long remindId_;
|
||||
std::string detail_;
|
||||
std::string remindName_;
|
||||
long projectId_;
|
||||
std::string nodeIds_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -36,14 +36,14 @@ public:
|
||||
};
|
||||
UpdateTableAddColumnRequest();
|
||||
~UpdateTableAddColumnRequest();
|
||||
std::string getTableGuid() const;
|
||||
void setTableGuid(const std::string &tableGuid);
|
||||
std::vector<Column> getColumn() const;
|
||||
void setColumn(const std::vector<Column> &column);
|
||||
std::string getTableGuid() const;
|
||||
void setTableGuid(const std::string &tableGuid);
|
||||
|
||||
private:
|
||||
std::string tableGuid_;
|
||||
std::vector<Column> column_;
|
||||
std::string tableGuid_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -30,22 +30,22 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableLevelRequest : public RpcS
|
||||
public:
|
||||
UpdateTableLevelRequest();
|
||||
~UpdateTableLevelRequest();
|
||||
long getLevelId() const;
|
||||
void setLevelId(long levelId);
|
||||
int getLevelType() const;
|
||||
void setLevelType(int levelType);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
long getLevelId() const;
|
||||
void setLevelId(long levelId);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
long levelId_;
|
||||
int levelType_;
|
||||
std::string name_;
|
||||
std::string description_;
|
||||
long levelId_;
|
||||
std::string name_;
|
||||
long projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,22 +30,22 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableModelInfoRequest : public
|
||||
public:
|
||||
UpdateTableModelInfoRequest();
|
||||
~UpdateTableModelInfoRequest();
|
||||
int getLevelType() const;
|
||||
void setLevelType(int levelType);
|
||||
long getSecondLevelThemeId() const;
|
||||
void setSecondLevelThemeId(long secondLevelThemeId);
|
||||
std::string getTableGuid() const;
|
||||
void setTableGuid(const std::string &tableGuid);
|
||||
long getLevelId() const;
|
||||
void setLevelId(long levelId);
|
||||
int getLevelType() const;
|
||||
void setLevelType(int levelType);
|
||||
long getFirstLevelThemeId() const;
|
||||
void setFirstLevelThemeId(long firstLevelThemeId);
|
||||
|
||||
private:
|
||||
int levelType_;
|
||||
long secondLevelThemeId_;
|
||||
std::string tableGuid_;
|
||||
long levelId_;
|
||||
int levelType_;
|
||||
long firstLevelThemeId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableThemeRequest : public RpcS
|
||||
public:
|
||||
UpdateTableThemeRequest();
|
||||
~UpdateTableThemeRequest();
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
long getThemeId() const;
|
||||
void setThemeId(long themeId);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
long themeId_;
|
||||
std::string name_;
|
||||
long projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,19 +30,19 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateWorkbenchEventResultRequest : p
|
||||
public:
|
||||
UpdateWorkbenchEventResultRequest();
|
||||
~UpdateWorkbenchEventResultRequest();
|
||||
std::string getCheckResultTip() const;
|
||||
void setCheckResultTip(const std::string &checkResultTip);
|
||||
std::string getCheckResult() const;
|
||||
void setCheckResult(const std::string &checkResult);
|
||||
std::string getMessageId() const;
|
||||
void setMessageId(const std::string &messageId);
|
||||
std::string getCheckResultTip() const;
|
||||
void setCheckResultTip(const std::string &checkResultTip);
|
||||
std::string getExtensionCode() const;
|
||||
void setExtensionCode(const std::string &extensionCode);
|
||||
|
||||
private:
|
||||
std::string checkResultTip_;
|
||||
std::string checkResult_;
|
||||
std::string messageId_;
|
||||
std::string checkResultTip_;
|
||||
std::string extensionCode_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -303,6 +303,42 @@ Dataworks_publicClient::CheckMetaTableOutcomeCallable Dataworks_publicClient::ch
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreateBaselineOutcome Dataworks_publicClient::createBaseline(const CreateBaselineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateBaselineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateBaselineOutcome(CreateBaselineResult(outcome.result()));
|
||||
else
|
||||
return CreateBaselineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::createBaselineAsync(const CreateBaselineRequest& request, const CreateBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createBaseline(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreateBaselineOutcomeCallable Dataworks_publicClient::createBaselineCallable(const CreateBaselineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateBaselineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createBaseline(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::CreateBusinessOutcome Dataworks_publicClient::createBusiness(const CreateBusinessRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1275,6 +1311,42 @@ Dataworks_publicClient::CreateUdfFileOutcomeCallable Dataworks_publicClient::cre
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::DeleteBaselineOutcome Dataworks_publicClient::deleteBaseline(const DeleteBaselineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteBaselineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteBaselineOutcome(DeleteBaselineResult(outcome.result()));
|
||||
else
|
||||
return DeleteBaselineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::deleteBaselineAsync(const DeleteBaselineRequest& request, const DeleteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteBaseline(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::DeleteBaselineOutcomeCallable Dataworks_publicClient::deleteBaselineCallable(const DeleteBaselineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteBaselineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteBaseline(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::DeleteBusinessOutcome Dataworks_publicClient::deleteBusiness(const DeleteBusinessRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2211,6 +2283,42 @@ Dataworks_publicClient::GenerateDISyncTaskConfigForUpdatingOutcomeCallable Dataw
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetBaselineOutcome Dataworks_publicClient::getBaseline(const GetBaselineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetBaselineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetBaselineOutcome(GetBaselineResult(outcome.result()));
|
||||
else
|
||||
return GetBaselineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::getBaselineAsync(const GetBaselineRequest& request, const GetBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getBaseline(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetBaselineOutcomeCallable Dataworks_publicClient::getBaselineCallable(const GetBaselineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetBaselineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getBaseline(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetBaselineConfigOutcome Dataworks_publicClient::getBaselineConfig(const GetBaselineConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2463,42 +2571,6 @@ Dataworks_publicClient::GetDISyncTaskOutcomeCallable Dataworks_publicClient::get
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetDISyncTaskMetricInfoOutcome Dataworks_publicClient::getDISyncTaskMetricInfo(const GetDISyncTaskMetricInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetDISyncTaskMetricInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetDISyncTaskMetricInfoOutcome(GetDISyncTaskMetricInfoResult(outcome.result()));
|
||||
else
|
||||
return GetDISyncTaskMetricInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::getDISyncTaskMetricInfoAsync(const GetDISyncTaskMetricInfoRequest& request, const GetDISyncTaskMetricInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getDISyncTaskMetricInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetDISyncTaskMetricInfoOutcomeCallable Dataworks_publicClient::getDISyncTaskMetricInfoCallable(const GetDISyncTaskMetricInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetDISyncTaskMetricInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getDISyncTaskMetricInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetDagOutcome Dataworks_publicClient::getDag(const GetDagRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4767,6 +4839,42 @@ Dataworks_publicClient::ListBaselineStatusesOutcomeCallable Dataworks_publicClie
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListBaselinesOutcome Dataworks_publicClient::listBaselines(const ListBaselinesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListBaselinesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListBaselinesOutcome(ListBaselinesResult(outcome.result()));
|
||||
else
|
||||
return ListBaselinesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listBaselinesAsync(const ListBaselinesRequest& request, const ListBaselinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listBaselines(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListBaselinesOutcomeCallable Dataworks_publicClient::listBaselinesCallable(const ListBaselinesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListBaselinesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listBaselines(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListBusinessOutcome Dataworks_publicClient::listBusiness(const ListBusinessRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4875,78 +4983,6 @@ Dataworks_publicClient::ListConnectionsOutcomeCallable Dataworks_publicClient::l
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListCurrentTasksForResourceGroupOutcome Dataworks_publicClient::listCurrentTasksForResourceGroup(const ListCurrentTasksForResourceGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListCurrentTasksForResourceGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListCurrentTasksForResourceGroupOutcome(ListCurrentTasksForResourceGroupResult(outcome.result()));
|
||||
else
|
||||
return ListCurrentTasksForResourceGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listCurrentTasksForResourceGroupAsync(const ListCurrentTasksForResourceGroupRequest& request, const ListCurrentTasksForResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listCurrentTasksForResourceGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListCurrentTasksForResourceGroupOutcomeCallable Dataworks_publicClient::listCurrentTasksForResourceGroupCallable(const ListCurrentTasksForResourceGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListCurrentTasksForResourceGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listCurrentTasksForResourceGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListCurrentUsageForResourceGroupOutcome Dataworks_publicClient::listCurrentUsageForResourceGroup(const ListCurrentUsageForResourceGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListCurrentUsageForResourceGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListCurrentUsageForResourceGroupOutcome(ListCurrentUsageForResourceGroupResult(outcome.result()));
|
||||
else
|
||||
return ListCurrentUsageForResourceGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listCurrentUsageForResourceGroupAsync(const ListCurrentUsageForResourceGroupRequest& request, const ListCurrentUsageForResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listCurrentUsageForResourceGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListCurrentUsageForResourceGroupOutcomeCallable Dataworks_publicClient::listCurrentUsageForResourceGroupCallable(const ListCurrentUsageForResourceGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListCurrentUsageForResourceGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listCurrentUsageForResourceGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListDIProjectConfigOutcome Dataworks_publicClient::listDIProjectConfig(const ListDIProjectConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5379,6 +5415,42 @@ Dataworks_publicClient::ListDeploymentsOutcomeCallable Dataworks_publicClient::l
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListEnabledExtensionsForProjectOutcome Dataworks_publicClient::listEnabledExtensionsForProject(const ListEnabledExtensionsForProjectRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListEnabledExtensionsForProjectOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListEnabledExtensionsForProjectOutcome(ListEnabledExtensionsForProjectResult(outcome.result()));
|
||||
else
|
||||
return ListEnabledExtensionsForProjectOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listEnabledExtensionsForProjectAsync(const ListEnabledExtensionsForProjectRequest& request, const ListEnabledExtensionsForProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listEnabledExtensionsForProject(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListEnabledExtensionsForProjectOutcomeCallable Dataworks_publicClient::listEnabledExtensionsForProjectCallable(const ListEnabledExtensionsForProjectRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListEnabledExtensionsForProjectOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listEnabledExtensionsForProject(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListExtensionsOutcome Dataworks_publicClient::listExtensions(const ListExtensionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5559,42 +5631,6 @@ Dataworks_publicClient::ListFoldersOutcomeCallable Dataworks_publicClient::listF
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListHistoryTasksForResourceGroupOutcome Dataworks_publicClient::listHistoryTasksForResourceGroup(const ListHistoryTasksForResourceGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListHistoryTasksForResourceGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListHistoryTasksForResourceGroupOutcome(ListHistoryTasksForResourceGroupResult(outcome.result()));
|
||||
else
|
||||
return ListHistoryTasksForResourceGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listHistoryTasksForResourceGroupAsync(const ListHistoryTasksForResourceGroupRequest& request, const ListHistoryTasksForResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listHistoryTasksForResourceGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListHistoryTasksForResourceGroupOutcomeCallable Dataworks_publicClient::listHistoryTasksForResourceGroupCallable(const ListHistoryTasksForResourceGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListHistoryTasksForResourceGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listHistoryTasksForResourceGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListInnerNodesOutcome Dataworks_publicClient::listInnerNodes(const ListInnerNodesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6675,42 +6711,6 @@ Dataworks_publicClient::ListTopicsOutcomeCallable Dataworks_publicClient::listTo
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListUsageForResourceGroupOutcome Dataworks_publicClient::listUsageForResourceGroup(const ListUsageForResourceGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListUsageForResourceGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListUsageForResourceGroupOutcome(ListUsageForResourceGroupResult(outcome.result()));
|
||||
else
|
||||
return ListUsageForResourceGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listUsageForResourceGroupAsync(const ListUsageForResourceGroupRequest& request, const ListUsageForResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listUsageForResourceGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListUsageForResourceGroupOutcomeCallable Dataworks_publicClient::listUsageForResourceGroupCallable(const ListUsageForResourceGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListUsageForResourceGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listUsageForResourceGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::OfflineNodeOutcome Dataworks_publicClient::offlineNode(const OfflineNodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -7755,6 +7755,42 @@ Dataworks_publicClient::TopTenErrorTimesInstanceOutcomeCallable Dataworks_public
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateBaselineOutcome Dataworks_publicClient::updateBaseline(const UpdateBaselineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateBaselineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateBaselineOutcome(UpdateBaselineResult(outcome.result()));
|
||||
else
|
||||
return UpdateBaselineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::updateBaselineAsync(const UpdateBaselineRequest& request, const UpdateBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateBaseline(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateBaselineOutcomeCallable Dataworks_publicClient::updateBaselineCallable(const UpdateBaselineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateBaselineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateBaseline(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateBusinessOutcome Dataworks_publicClient::updateBusiness(const UpdateBusinessRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -34,6 +34,15 @@ void CheckMetaPartitionRequest::setDataSourceType(const std::string &dataSourceT
|
||||
setParameter(std::string("DataSourceType"), dataSourceType);
|
||||
}
|
||||
|
||||
std::string CheckMetaPartitionRequest::getClusterId() const {
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void CheckMetaPartitionRequest::setClusterId(const std::string &clusterId) {
|
||||
clusterId_ = clusterId;
|
||||
setParameter(std::string("ClusterId"), clusterId);
|
||||
}
|
||||
|
||||
std::string CheckMetaPartitionRequest::getPartition() const {
|
||||
return partition_;
|
||||
}
|
||||
@@ -61,15 +70,6 @@ void CheckMetaPartitionRequest::setDatabaseName(const std::string &databaseName)
|
||||
setParameter(std::string("DatabaseName"), databaseName);
|
||||
}
|
||||
|
||||
std::string CheckMetaPartitionRequest::getClusterId() const {
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void CheckMetaPartitionRequest::setClusterId(const std::string &clusterId) {
|
||||
clusterId_ = clusterId;
|
||||
setParameter(std::string("ClusterId"), clusterId);
|
||||
}
|
||||
|
||||
std::string CheckMetaPartitionRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,15 @@ void CheckMetaTableRequest::setDataSourceType(const std::string &dataSourceType)
|
||||
setParameter(std::string("DataSourceType"), dataSourceType);
|
||||
}
|
||||
|
||||
std::string CheckMetaTableRequest::getClusterId() const {
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void CheckMetaTableRequest::setClusterId(const std::string &clusterId) {
|
||||
clusterId_ = clusterId;
|
||||
setParameter(std::string("ClusterId"), clusterId);
|
||||
}
|
||||
|
||||
std::string CheckMetaTableRequest::getTableGuid() const {
|
||||
return tableGuid_;
|
||||
}
|
||||
@@ -52,15 +61,6 @@ void CheckMetaTableRequest::setDatabaseName(const std::string &databaseName) {
|
||||
setParameter(std::string("DatabaseName"), databaseName);
|
||||
}
|
||||
|
||||
std::string CheckMetaTableRequest::getClusterId() const {
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void CheckMetaTableRequest::setClusterId(const std::string &clusterId) {
|
||||
clusterId_ = clusterId;
|
||||
setParameter(std::string("ClusterId"), clusterId);
|
||||
}
|
||||
|
||||
std::string CheckMetaTableRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
104
dataworks-public/src/model/CreateBaselineRequest.cc
Normal file
104
dataworks-public/src/model/CreateBaselineRequest.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/dataworks-public/model/CreateBaselineRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::CreateBaselineRequest;
|
||||
|
||||
CreateBaselineRequest::CreateBaselineRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateBaseline") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateBaselineRequest::~CreateBaselineRequest() {}
|
||||
|
||||
std::string CreateBaselineRequest::getOwner() const {
|
||||
return owner_;
|
||||
}
|
||||
|
||||
void CreateBaselineRequest::setOwner(const std::string &owner) {
|
||||
owner_ = owner;
|
||||
setBodyParameter(std::string("Owner"), owner);
|
||||
}
|
||||
|
||||
int CreateBaselineRequest::getAlertMarginThreshold() const {
|
||||
return alertMarginThreshold_;
|
||||
}
|
||||
|
||||
void CreateBaselineRequest::setAlertMarginThreshold(int alertMarginThreshold) {
|
||||
alertMarginThreshold_ = alertMarginThreshold;
|
||||
setBodyParameter(std::string("AlertMarginThreshold"), std::to_string(alertMarginThreshold));
|
||||
}
|
||||
|
||||
std::vector<CreateBaselineRequest::OvertimeSettings> CreateBaselineRequest::getOvertimeSettings() const {
|
||||
return overtimeSettings_;
|
||||
}
|
||||
|
||||
void CreateBaselineRequest::setOvertimeSettings(const std::vector<CreateBaselineRequest::OvertimeSettings> &overtimeSettings) {
|
||||
overtimeSettings_ = overtimeSettings;
|
||||
for(int dep1 = 0; dep1 != overtimeSettings.size(); dep1++) {
|
||||
auto overtimeSettingsObj = overtimeSettings.at(dep1);
|
||||
std::string overtimeSettingsObjStr = std::string("OvertimeSettings") + "." + std::to_string(dep1 + 1);
|
||||
setBodyParameter(overtimeSettingsObjStr + ".Time", overtimeSettingsObj.time);
|
||||
setBodyParameter(overtimeSettingsObjStr + ".Cycle", std::to_string(overtimeSettingsObj.cycle));
|
||||
}
|
||||
}
|
||||
|
||||
int CreateBaselineRequest::getPriority() const {
|
||||
return priority_;
|
||||
}
|
||||
|
||||
void CreateBaselineRequest::setPriority(int priority) {
|
||||
priority_ = priority;
|
||||
setBodyParameter(std::string("Priority"), std::to_string(priority));
|
||||
}
|
||||
|
||||
std::string CreateBaselineRequest::getTaskIds() const {
|
||||
return taskIds_;
|
||||
}
|
||||
|
||||
void CreateBaselineRequest::setTaskIds(const std::string &taskIds) {
|
||||
taskIds_ = taskIds;
|
||||
setBodyParameter(std::string("TaskIds"), taskIds);
|
||||
}
|
||||
|
||||
std::string CreateBaselineRequest::getBaselineType() const {
|
||||
return baselineType_;
|
||||
}
|
||||
|
||||
void CreateBaselineRequest::setBaselineType(const std::string &baselineType) {
|
||||
baselineType_ = baselineType;
|
||||
setBodyParameter(std::string("BaselineType"), baselineType);
|
||||
}
|
||||
|
||||
std::string CreateBaselineRequest::getBaselineName() const {
|
||||
return baselineName_;
|
||||
}
|
||||
|
||||
void CreateBaselineRequest::setBaselineName(const std::string &baselineName) {
|
||||
baselineName_ = baselineName;
|
||||
setBodyParameter(std::string("BaselineName"), baselineName);
|
||||
}
|
||||
|
||||
long CreateBaselineRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateBaselineRequest::setProjectId(long projectId) {
|
||||
projectId_ = projectId;
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
@@ -14,73 +14,79 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListUsageForResourceGroupResult.h>
|
||||
#include <alibabacloud/dataworks-public/model/CreateBaselineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
ListUsageForResourceGroupResult::ListUsageForResourceGroupResult() :
|
||||
CreateBaselineResult::CreateBaselineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListUsageForResourceGroupResult::ListUsageForResourceGroupResult(const std::string &payload) :
|
||||
CreateBaselineResult::CreateBaselineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListUsageForResourceGroupResult::~ListUsageForResourceGroupResult()
|
||||
CreateBaselineResult::~CreateBaselineResult()
|
||||
{}
|
||||
|
||||
void ListUsageForResourceGroupResult::parse(const std::string &payload)
|
||||
void CreateBaselineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["PopUsageForResourceGroupDto"];
|
||||
for (auto valueDataPopUsageForResourceGroupDto : allDataNode)
|
||||
{
|
||||
PopUsageForResourceGroupDto dataObject;
|
||||
if(!valueDataPopUsageForResourceGroupDto["Usage"].isNull())
|
||||
dataObject.usage = valueDataPopUsageForResourceGroupDto["Usage"].asString();
|
||||
if(!valueDataPopUsageForResourceGroupDto["RecodeTime"].isNull())
|
||||
dataObject.recodeTime = std::stol(valueDataPopUsageForResourceGroupDto["RecodeTime"].asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = std::stol(value["Data"].asString());
|
||||
if(!value["DynamicErrorCode"].isNull())
|
||||
dynamicErrorCode_ = value["DynamicErrorCode"].asString();
|
||||
if(!value["DynamicErrorMessage"].isNull())
|
||||
dynamicErrorMessage_ = value["DynamicErrorMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
int ListUsageForResourceGroupResult::getHttpStatusCode()const
|
||||
std::string CreateBaselineResult::getDynamicErrorMessage()const
|
||||
{
|
||||
return dynamicErrorMessage_;
|
||||
}
|
||||
|
||||
int CreateBaselineResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::vector<ListUsageForResourceGroupResult::PopUsageForResourceGroupDto> ListUsageForResourceGroupResult::getData()const
|
||||
long CreateBaselineResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListUsageForResourceGroupResult::getErrorCode()const
|
||||
std::string CreateBaselineResult::getDynamicErrorCode()const
|
||||
{
|
||||
return dynamicErrorCode_;
|
||||
}
|
||||
|
||||
std::string CreateBaselineResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ListUsageForResourceGroupResult::getErrorMessage()const
|
||||
std::string CreateBaselineResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListUsageForResourceGroupResult::getSuccess()const
|
||||
bool CreateBaselineResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
@@ -34,15 +34,6 @@ void CreateDataServiceApiAuthorityRequest::setAuthorizedProjectId(long authorize
|
||||
setBodyParameter(std::string("AuthorizedProjectId"), std::to_string(authorizedProjectId));
|
||||
}
|
||||
|
||||
long CreateDataServiceApiAuthorityRequest::getTenantId() const {
|
||||
return tenantId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiAuthorityRequest::setTenantId(long tenantId) {
|
||||
tenantId_ = tenantId;
|
||||
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
|
||||
}
|
||||
|
||||
long CreateDataServiceApiAuthorityRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
@@ -52,6 +43,15 @@ void CreateDataServiceApiAuthorityRequest::setEndTime(long endTime) {
|
||||
setBodyParameter(std::string("EndTime"), std::to_string(endTime));
|
||||
}
|
||||
|
||||
long CreateDataServiceApiAuthorityRequest::getTenantId() const {
|
||||
return tenantId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiAuthorityRequest::setTenantId(long tenantId) {
|
||||
tenantId_ = tenantId;
|
||||
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
|
||||
}
|
||||
|
||||
long CreateDataServiceApiAuthorityRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
@@ -43,6 +43,69 @@ void CreateDataServiceApiRequest::setRequestMethod(int requestMethod) {
|
||||
setBodyParameter(std::string("RequestMethod"), std::to_string(requestMethod));
|
||||
}
|
||||
|
||||
std::string CreateDataServiceApiRequest::getApiDescription() const {
|
||||
return apiDescription_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setApiDescription(const std::string &apiDescription) {
|
||||
apiDescription_ = apiDescription;
|
||||
setBodyParameter(std::string("ApiDescription"), apiDescription);
|
||||
}
|
||||
|
||||
int CreateDataServiceApiRequest::getTimeout() const {
|
||||
return timeout_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setTimeout(int timeout) {
|
||||
timeout_ = timeout;
|
||||
setBodyParameter(std::string("Timeout"), std::to_string(timeout));
|
||||
}
|
||||
|
||||
long CreateDataServiceApiRequest::getFolderId() const {
|
||||
return folderId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setFolderId(long folderId) {
|
||||
folderId_ = folderId;
|
||||
setBodyParameter(std::string("FolderId"), std::to_string(folderId));
|
||||
}
|
||||
|
||||
long CreateDataServiceApiRequest::getTenantId() const {
|
||||
return tenantId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setTenantId(long tenantId) {
|
||||
tenantId_ = tenantId;
|
||||
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
|
||||
}
|
||||
|
||||
std::string CreateDataServiceApiRequest::getProtocols() const {
|
||||
return protocols_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setProtocols(const std::string &protocols) {
|
||||
protocols_ = protocols;
|
||||
setBodyParameter(std::string("Protocols"), protocols);
|
||||
}
|
||||
|
||||
long CreateDataServiceApiRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setProjectId(long projectId) {
|
||||
projectId_ = projectId;
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
int CreateDataServiceApiRequest::getResponseContentType() const {
|
||||
return responseContentType_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setResponseContentType(int responseContentType) {
|
||||
responseContentType_ = responseContentType;
|
||||
setBodyParameter(std::string("ResponseContentType"), std::to_string(responseContentType));
|
||||
}
|
||||
|
||||
std::string CreateDataServiceApiRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
@@ -88,33 +151,6 @@ void CreateDataServiceApiRequest::setVisibleRange(int visibleRange) {
|
||||
setBodyParameter(std::string("VisibleRange"), std::to_string(visibleRange));
|
||||
}
|
||||
|
||||
std::string CreateDataServiceApiRequest::getApiDescription() const {
|
||||
return apiDescription_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setApiDescription(const std::string &apiDescription) {
|
||||
apiDescription_ = apiDescription;
|
||||
setBodyParameter(std::string("ApiDescription"), apiDescription);
|
||||
}
|
||||
|
||||
int CreateDataServiceApiRequest::getTimeout() const {
|
||||
return timeout_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setTimeout(int timeout) {
|
||||
timeout_ = timeout;
|
||||
setBodyParameter(std::string("Timeout"), std::to_string(timeout));
|
||||
}
|
||||
|
||||
long CreateDataServiceApiRequest::getFolderId() const {
|
||||
return folderId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setFolderId(long folderId) {
|
||||
folderId_ = folderId;
|
||||
setBodyParameter(std::string("FolderId"), std::to_string(folderId));
|
||||
}
|
||||
|
||||
std::string CreateDataServiceApiRequest::getRegistrationDetails() const {
|
||||
return registrationDetails_;
|
||||
}
|
||||
@@ -133,39 +169,3 @@ void CreateDataServiceApiRequest::setApiName(const std::string &apiName) {
|
||||
setBodyParameter(std::string("ApiName"), apiName);
|
||||
}
|
||||
|
||||
long CreateDataServiceApiRequest::getTenantId() const {
|
||||
return tenantId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setTenantId(long tenantId) {
|
||||
tenantId_ = tenantId;
|
||||
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
|
||||
}
|
||||
|
||||
std::string CreateDataServiceApiRequest::getProtocols() const {
|
||||
return protocols_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setProtocols(const std::string &protocols) {
|
||||
protocols_ = protocols;
|
||||
setBodyParameter(std::string("Protocols"), protocols);
|
||||
}
|
||||
|
||||
long CreateDataServiceApiRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setProjectId(long projectId) {
|
||||
projectId_ = projectId;
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
int CreateDataServiceApiRequest::getResponseContentType() const {
|
||||
return responseContentType_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setResponseContentType(int responseContentType) {
|
||||
responseContentType_ = responseContentType;
|
||||
setBodyParameter(std::string("ResponseContentType"), std::to_string(responseContentType));
|
||||
}
|
||||
|
||||
|
||||
@@ -34,15 +34,6 @@ void CreateDataServiceFolderRequest::setGroupId(const std::string &groupId) {
|
||||
setBodyParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
long CreateDataServiceFolderRequest::getTenantId() const {
|
||||
return tenantId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceFolderRequest::setTenantId(long tenantId) {
|
||||
tenantId_ = tenantId;
|
||||
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
|
||||
}
|
||||
|
||||
std::string CreateDataServiceFolderRequest::getFolderName() const {
|
||||
return folderName_;
|
||||
}
|
||||
@@ -52,15 +43,6 @@ void CreateDataServiceFolderRequest::setFolderName(const std::string &folderName
|
||||
setBodyParameter(std::string("FolderName"), folderName);
|
||||
}
|
||||
|
||||
long CreateDataServiceFolderRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceFolderRequest::setProjectId(long projectId) {
|
||||
projectId_ = projectId;
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
long CreateDataServiceFolderRequest::getParentId() const {
|
||||
return parentId_;
|
||||
}
|
||||
@@ -70,3 +52,21 @@ void CreateDataServiceFolderRequest::setParentId(long parentId) {
|
||||
setBodyParameter(std::string("ParentId"), std::to_string(parentId));
|
||||
}
|
||||
|
||||
long CreateDataServiceFolderRequest::getTenantId() const {
|
||||
return tenantId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceFolderRequest::setTenantId(long tenantId) {
|
||||
tenantId_ = tenantId;
|
||||
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
|
||||
}
|
||||
|
||||
long CreateDataServiceFolderRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceFolderRequest::setProjectId(long projectId) {
|
||||
projectId_ = projectId;
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,24 @@ CreateDataServiceGroupRequest::CreateDataServiceGroupRequest()
|
||||
|
||||
CreateDataServiceGroupRequest::~CreateDataServiceGroupRequest() {}
|
||||
|
||||
std::string CreateDataServiceGroupRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateDataServiceGroupRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setBodyParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
std::string CreateDataServiceGroupRequest::getGroupName() const {
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
void CreateDataServiceGroupRequest::setGroupName(const std::string &groupName) {
|
||||
groupName_ = groupName;
|
||||
setBodyParameter(std::string("GroupName"), groupName);
|
||||
}
|
||||
|
||||
std::string CreateDataServiceGroupRequest::getApiGatewayGroupId() const {
|
||||
return apiGatewayGroupId_;
|
||||
}
|
||||
@@ -43,15 +61,6 @@ void CreateDataServiceGroupRequest::setTenantId(long tenantId) {
|
||||
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
|
||||
}
|
||||
|
||||
std::string CreateDataServiceGroupRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateDataServiceGroupRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setBodyParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
long CreateDataServiceGroupRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
@@ -61,12 +70,3 @@ void CreateDataServiceGroupRequest::setProjectId(long projectId) {
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string CreateDataServiceGroupRequest::getGroupName() const {
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
void CreateDataServiceGroupRequest::setGroupName(const std::string &groupName) {
|
||||
groupName_ = groupName;
|
||||
setBodyParameter(std::string("GroupName"), groupName);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,24 @@ CreateExportMigrationRequest::CreateExportMigrationRequest()
|
||||
|
||||
CreateExportMigrationRequest::~CreateExportMigrationRequest() {}
|
||||
|
||||
long CreateExportMigrationRequest::getIncrementalSince() const {
|
||||
return incrementalSince_;
|
||||
}
|
||||
|
||||
void CreateExportMigrationRequest::setIncrementalSince(long incrementalSince) {
|
||||
incrementalSince_ = incrementalSince;
|
||||
setBodyParameter(std::string("IncrementalSince"), std::to_string(incrementalSince));
|
||||
}
|
||||
|
||||
std::string CreateExportMigrationRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateExportMigrationRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setBodyParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
std::string CreateExportMigrationRequest::getExportObjectStatus() const {
|
||||
return exportObjectStatus_;
|
||||
}
|
||||
@@ -43,15 +61,6 @@ void CreateExportMigrationRequest::setExportMode(const std::string &exportMode)
|
||||
setBodyParameter(std::string("ExportMode"), exportMode);
|
||||
}
|
||||
|
||||
long CreateExportMigrationRequest::getIncrementalSince() const {
|
||||
return incrementalSince_;
|
||||
}
|
||||
|
||||
void CreateExportMigrationRequest::setIncrementalSince(long incrementalSince) {
|
||||
incrementalSince_ = incrementalSince;
|
||||
setBodyParameter(std::string("IncrementalSince"), std::to_string(incrementalSince));
|
||||
}
|
||||
|
||||
std::string CreateExportMigrationRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
@@ -61,15 +70,6 @@ void CreateExportMigrationRequest::setName(const std::string &name) {
|
||||
setBodyParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
std::string CreateExportMigrationRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateExportMigrationRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setBodyParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
long CreateExportMigrationRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ CreateMetaCategoryRequest::CreateMetaCategoryRequest()
|
||||
|
||||
CreateMetaCategoryRequest::~CreateMetaCategoryRequest() {}
|
||||
|
||||
long CreateMetaCategoryRequest::getParentId() const {
|
||||
return parentId_;
|
||||
}
|
||||
|
||||
void CreateMetaCategoryRequest::setParentId(long parentId) {
|
||||
parentId_ = parentId;
|
||||
setBodyParameter(std::string("ParentId"), std::to_string(parentId));
|
||||
}
|
||||
|
||||
std::string CreateMetaCategoryRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
@@ -43,12 +52,3 @@ void CreateMetaCategoryRequest::setComment(const std::string &comment) {
|
||||
setBodyParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
long CreateMetaCategoryRequest::getParentId() const {
|
||||
return parentId_;
|
||||
}
|
||||
|
||||
void CreateMetaCategoryRequest::setParentId(long parentId) {
|
||||
parentId_ = parentId;
|
||||
setBodyParameter(std::string("ParentId"), std::to_string(parentId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ CreateQualityFollowerRequest::CreateQualityFollowerRequest()
|
||||
|
||||
CreateQualityFollowerRequest::~CreateQualityFollowerRequest() {}
|
||||
|
||||
int CreateQualityFollowerRequest::getAlarmMode() const {
|
||||
return alarmMode_;
|
||||
}
|
||||
|
||||
void CreateQualityFollowerRequest::setAlarmMode(int alarmMode) {
|
||||
alarmMode_ = alarmMode;
|
||||
setBodyParameter(std::string("AlarmMode"), std::to_string(alarmMode));
|
||||
}
|
||||
|
||||
std::string CreateQualityFollowerRequest::getProjectName() const {
|
||||
return projectName_;
|
||||
}
|
||||
@@ -61,3 +52,12 @@ void CreateQualityFollowerRequest::setEntityId(long entityId) {
|
||||
setBodyParameter(std::string("EntityId"), std::to_string(entityId));
|
||||
}
|
||||
|
||||
int CreateQualityFollowerRequest::getAlarmMode() const {
|
||||
return alarmMode_;
|
||||
}
|
||||
|
||||
void CreateQualityFollowerRequest::setAlarmMode(int alarmMode) {
|
||||
alarmMode_ = alarmMode;
|
||||
setBodyParameter(std::string("AlarmMode"), std::to_string(alarmMode));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ CreateQualityRuleRequest::CreateQualityRuleRequest()
|
||||
|
||||
CreateQualityRuleRequest::~CreateQualityRuleRequest() {}
|
||||
|
||||
std::string CreateQualityRuleRequest::getProjectName() const {
|
||||
return projectName_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setProjectName(const std::string &projectName) {
|
||||
projectName_ = projectName;
|
||||
setBodyParameter(std::string("ProjectName"), projectName);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getTrend() const {
|
||||
return trend_;
|
||||
}
|
||||
@@ -43,15 +34,6 @@ void CreateQualityRuleRequest::setTrend(const std::string &trend) {
|
||||
setBodyParameter(std::string("Trend"), trend);
|
||||
}
|
||||
|
||||
int CreateQualityRuleRequest::getRuleType() const {
|
||||
return ruleType_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setRuleType(int ruleType) {
|
||||
ruleType_ = ruleType;
|
||||
setBodyParameter(std::string("RuleType"), std::to_string(ruleType));
|
||||
}
|
||||
|
||||
int CreateQualityRuleRequest::getBlockType() const {
|
||||
return blockType_;
|
||||
}
|
||||
@@ -97,24 +79,6 @@ void CreateQualityRuleRequest::setChecker(int checker) {
|
||||
setBodyParameter(std::string("Checker"), std::to_string(checker));
|
||||
}
|
||||
|
||||
int CreateQualityRuleRequest::getTemplateId() const {
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setTemplateId(int templateId) {
|
||||
templateId_ = templateId;
|
||||
setBodyParameter(std::string("TemplateId"), std::to_string(templateId));
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getExpectValue() const {
|
||||
return expectValue_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setExpectValue(const std::string &expectValue) {
|
||||
expectValue_ = expectValue;
|
||||
setBodyParameter(std::string("ExpectValue"), expectValue);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::get_Operator() const {
|
||||
return _operator_;
|
||||
}
|
||||
@@ -124,24 +88,6 @@ void CreateQualityRuleRequest::set_Operator(const std::string &_operator) {
|
||||
setBodyParameter(std::string("Operator"), _operator);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getWhereCondition() const {
|
||||
return whereCondition_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setWhereCondition(const std::string &whereCondition) {
|
||||
whereCondition_ = whereCondition;
|
||||
setBodyParameter(std::string("WhereCondition"), whereCondition);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getCriticalThreshold() const {
|
||||
return criticalThreshold_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setCriticalThreshold(const std::string &criticalThreshold) {
|
||||
criticalThreshold_ = criticalThreshold;
|
||||
setBodyParameter(std::string("CriticalThreshold"), criticalThreshold);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getProperty() const {
|
||||
return property_;
|
||||
}
|
||||
@@ -151,24 +97,6 @@ void CreateQualityRuleRequest::setProperty(const std::string &property) {
|
||||
setBodyParameter(std::string("Property"), property);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setBodyParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
int CreateQualityRuleRequest::getPredictType() const {
|
||||
return predictType_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setPredictType(int predictType) {
|
||||
predictType_ = predictType;
|
||||
setBodyParameter(std::string("PredictType"), std::to_string(predictType));
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getWarningThreshold() const {
|
||||
return warningThreshold_;
|
||||
}
|
||||
@@ -187,3 +115,75 @@ void CreateQualityRuleRequest::setMethodName(const std::string &methodName) {
|
||||
setBodyParameter(std::string("MethodName"), methodName);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getProjectName() const {
|
||||
return projectName_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setProjectName(const std::string &projectName) {
|
||||
projectName_ = projectName;
|
||||
setBodyParameter(std::string("ProjectName"), projectName);
|
||||
}
|
||||
|
||||
int CreateQualityRuleRequest::getRuleType() const {
|
||||
return ruleType_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setRuleType(int ruleType) {
|
||||
ruleType_ = ruleType;
|
||||
setBodyParameter(std::string("RuleType"), std::to_string(ruleType));
|
||||
}
|
||||
|
||||
int CreateQualityRuleRequest::getTemplateId() const {
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setTemplateId(int templateId) {
|
||||
templateId_ = templateId;
|
||||
setBodyParameter(std::string("TemplateId"), std::to_string(templateId));
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getExpectValue() const {
|
||||
return expectValue_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setExpectValue(const std::string &expectValue) {
|
||||
expectValue_ = expectValue;
|
||||
setBodyParameter(std::string("ExpectValue"), expectValue);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getWhereCondition() const {
|
||||
return whereCondition_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setWhereCondition(const std::string &whereCondition) {
|
||||
whereCondition_ = whereCondition;
|
||||
setBodyParameter(std::string("WhereCondition"), whereCondition);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getCriticalThreshold() const {
|
||||
return criticalThreshold_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setCriticalThreshold(const std::string &criticalThreshold) {
|
||||
criticalThreshold_ = criticalThreshold;
|
||||
setBodyParameter(std::string("CriticalThreshold"), criticalThreshold);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setBodyParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
int CreateQualityRuleRequest::getPredictType() const {
|
||||
return predictType_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setPredictType(int predictType) {
|
||||
predictType_ = predictType;
|
||||
setBodyParameter(std::string("PredictType"), std::to_string(predictType));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ CreateRemindRequest::CreateRemindRequest()
|
||||
|
||||
CreateRemindRequest::~CreateRemindRequest() {}
|
||||
|
||||
std::string CreateRemindRequest::getDndEnd() const {
|
||||
return dndEnd_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setDndEnd(const std::string &dndEnd) {
|
||||
dndEnd_ = dndEnd;
|
||||
setBodyParameter(std::string("DndEnd"), dndEnd);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getAlertUnit() const {
|
||||
return alertUnit_;
|
||||
}
|
||||
@@ -43,6 +34,60 @@ void CreateRemindRequest::setAlertUnit(const std::string &alertUnit) {
|
||||
setBodyParameter(std::string("AlertUnit"), alertUnit);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getRobotUrls() const {
|
||||
return robotUrls_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setRobotUrls(const std::string &robotUrls) {
|
||||
robotUrls_ = robotUrls;
|
||||
setBodyParameter(std::string("RobotUrls"), robotUrls);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getBizProcessIds() const {
|
||||
return bizProcessIds_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setBizProcessIds(const std::string &bizProcessIds) {
|
||||
bizProcessIds_ = bizProcessIds;
|
||||
setBodyParameter(std::string("BizProcessIds"), bizProcessIds);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getRemindType() const {
|
||||
return remindType_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setRemindType(const std::string &remindType) {
|
||||
remindType_ = remindType;
|
||||
setBodyParameter(std::string("RemindType"), remindType);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getBaselineIds() const {
|
||||
return baselineIds_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setBaselineIds(const std::string &baselineIds) {
|
||||
baselineIds_ = baselineIds;
|
||||
setBodyParameter(std::string("BaselineIds"), baselineIds);
|
||||
}
|
||||
|
||||
long CreateRemindRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setProjectId(long projectId) {
|
||||
projectId_ = projectId;
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getDndEnd() const {
|
||||
return dndEnd_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setDndEnd(const std::string &dndEnd) {
|
||||
dndEnd_ = dndEnd;
|
||||
setBodyParameter(std::string("DndEnd"), dndEnd);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getRemindUnit() const {
|
||||
return remindUnit_;
|
||||
}
|
||||
@@ -70,15 +115,6 @@ void CreateRemindRequest::setAlertMethods(const std::string &alertMethods) {
|
||||
setBodyParameter(std::string("AlertMethods"), alertMethods);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getRobotUrls() const {
|
||||
return robotUrls_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setRobotUrls(const std::string &robotUrls) {
|
||||
robotUrls_ = robotUrls;
|
||||
setBodyParameter(std::string("RobotUrls"), robotUrls);
|
||||
}
|
||||
|
||||
int CreateRemindRequest::getMaxAlertTimes() const {
|
||||
return maxAlertTimes_;
|
||||
}
|
||||
@@ -88,24 +124,6 @@ void CreateRemindRequest::setMaxAlertTimes(int maxAlertTimes) {
|
||||
setBodyParameter(std::string("MaxAlertTimes"), std::to_string(maxAlertTimes));
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getBizProcessIds() const {
|
||||
return bizProcessIds_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setBizProcessIds(const std::string &bizProcessIds) {
|
||||
bizProcessIds_ = bizProcessIds;
|
||||
setBodyParameter(std::string("BizProcessIds"), bizProcessIds);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getRemindType() const {
|
||||
return remindType_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setRemindType(const std::string &remindType) {
|
||||
remindType_ = remindType;
|
||||
setBodyParameter(std::string("RemindType"), remindType);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getAlertTargets() const {
|
||||
return alertTargets_;
|
||||
}
|
||||
@@ -115,13 +133,13 @@ void CreateRemindRequest::setAlertTargets(const std::string &alertTargets) {
|
||||
setBodyParameter(std::string("AlertTargets"), alertTargets);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getBaselineIds() const {
|
||||
return baselineIds_;
|
||||
std::string CreateRemindRequest::getWebhooks() const {
|
||||
return webhooks_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setBaselineIds(const std::string &baselineIds) {
|
||||
baselineIds_ = baselineIds;
|
||||
setBodyParameter(std::string("BaselineIds"), baselineIds);
|
||||
void CreateRemindRequest::setWebhooks(const std::string &webhooks) {
|
||||
webhooks_ = webhooks;
|
||||
setBodyParameter(std::string("Webhooks"), webhooks);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getDetail() const {
|
||||
@@ -142,15 +160,6 @@ void CreateRemindRequest::setRemindName(const std::string &remindName) {
|
||||
setBodyParameter(std::string("RemindName"), remindName);
|
||||
}
|
||||
|
||||
long CreateRemindRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setProjectId(long projectId) {
|
||||
projectId_ = projectId;
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getNodeIds() const {
|
||||
return nodeIds_;
|
||||
}
|
||||
|
||||
@@ -34,15 +34,6 @@ void CreateTableLevelRequest::setLevelType(int levelType) {
|
||||
setParameter(std::string("LevelType"), std::to_string(levelType));
|
||||
}
|
||||
|
||||
std::string CreateTableLevelRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateTableLevelRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
std::string CreateTableLevelRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
@@ -52,6 +43,15 @@ void CreateTableLevelRequest::setDescription(const std::string &description) {
|
||||
setParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
std::string CreateTableLevelRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateTableLevelRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
long CreateTableLevelRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,15 @@ void CreateTableThemeRequest::setLevel(int level) {
|
||||
setParameter(std::string("Level"), std::to_string(level));
|
||||
}
|
||||
|
||||
long CreateTableThemeRequest::getParentId() const {
|
||||
return parentId_;
|
||||
}
|
||||
|
||||
void CreateTableThemeRequest::setParentId(long parentId) {
|
||||
parentId_ = parentId;
|
||||
setParameter(std::string("ParentId"), std::to_string(parentId));
|
||||
}
|
||||
|
||||
std::string CreateTableThemeRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
@@ -52,12 +61,3 @@ void CreateTableThemeRequest::setProjectId(long projectId) {
|
||||
setParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
long CreateTableThemeRequest::getParentId() const {
|
||||
return parentId_;
|
||||
}
|
||||
|
||||
void CreateTableThemeRequest::setParentId(long parentId) {
|
||||
parentId_ = parentId;
|
||||
setParameter(std::string("ParentId"), std::to_string(parentId));
|
||||
}
|
||||
|
||||
|
||||
45
dataworks-public/src/model/DeleteBaselineRequest.cc
Normal file
45
dataworks-public/src/model/DeleteBaselineRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteBaselineRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::DeleteBaselineRequest;
|
||||
|
||||
DeleteBaselineRequest::DeleteBaselineRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteBaseline") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteBaselineRequest::~DeleteBaselineRequest() {}
|
||||
|
||||
long DeleteBaselineRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void DeleteBaselineRequest::setProjectId(long projectId) {
|
||||
projectId_ = projectId;
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
long DeleteBaselineRequest::getBaselineId() const {
|
||||
return baselineId_;
|
||||
}
|
||||
|
||||
void DeleteBaselineRequest::setBaselineId(long baselineId) {
|
||||
baselineId_ = baselineId;
|
||||
setBodyParameter(std::string("BaselineId"), std::to_string(baselineId));
|
||||
}
|
||||
|
||||
@@ -14,61 +14,79 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListCurrentUsageForResourceGroupResult.h>
|
||||
#include <alibabacloud/dataworks-public/model/DeleteBaselineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
ListCurrentUsageForResourceGroupResult::ListCurrentUsageForResourceGroupResult() :
|
||||
DeleteBaselineResult::DeleteBaselineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCurrentUsageForResourceGroupResult::ListCurrentUsageForResourceGroupResult(const std::string &payload) :
|
||||
DeleteBaselineResult::DeleteBaselineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCurrentUsageForResourceGroupResult::~ListCurrentUsageForResourceGroupResult()
|
||||
DeleteBaselineResult::~DeleteBaselineResult()
|
||||
{}
|
||||
|
||||
void ListCurrentUsageForResourceGroupResult::parse(const std::string &payload)
|
||||
void DeleteBaselineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Usage"].isNull())
|
||||
data_.usage = std::stof(dataNode["Usage"].asString());
|
||||
if(!dataNode["RecodeTime"].isNull())
|
||||
data_.recodeTime = std::stol(dataNode["RecodeTime"].asString());
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
if(!value["DynamicErrorCode"].isNull())
|
||||
dynamicErrorCode_ = value["DynamicErrorCode"].asString();
|
||||
if(!value["DynamicErrorMessage"].isNull())
|
||||
dynamicErrorMessage_ = value["DynamicErrorMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
int ListCurrentUsageForResourceGroupResult::getHttpStatusCode()const
|
||||
std::string DeleteBaselineResult::getDynamicErrorMessage()const
|
||||
{
|
||||
return dynamicErrorMessage_;
|
||||
}
|
||||
|
||||
int DeleteBaselineResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
ListCurrentUsageForResourceGroupResult::Data ListCurrentUsageForResourceGroupResult::getData()const
|
||||
bool DeleteBaselineResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListCurrentUsageForResourceGroupResult::getErrorMessage()const
|
||||
std::string DeleteBaselineResult::getDynamicErrorCode()const
|
||||
{
|
||||
return dynamicErrorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteBaselineResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteBaselineResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListCurrentUsageForResourceGroupResult::getSuccess()const
|
||||
bool DeleteBaselineResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
45
dataworks-public/src/model/GetBaselineRequest.cc
Normal file
45
dataworks-public/src/model/GetBaselineRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetBaselineRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::GetBaselineRequest;
|
||||
|
||||
GetBaselineRequest::GetBaselineRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetBaseline") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetBaselineRequest::~GetBaselineRequest() {}
|
||||
|
||||
long GetBaselineRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void GetBaselineRequest::setProjectId(long projectId) {
|
||||
projectId_ = projectId;
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
long GetBaselineRequest::getBaselineId() const {
|
||||
return baselineId_;
|
||||
}
|
||||
|
||||
void GetBaselineRequest::setBaselineId(long baselineId) {
|
||||
baselineId_ = baselineId;
|
||||
setBodyParameter(std::string("BaselineId"), std::to_string(baselineId));
|
||||
}
|
||||
|
||||
164
dataworks-public/src/model/GetBaselineResult.cc
Normal file
164
dataworks-public/src/model/GetBaselineResult.cc
Normal file
@@ -0,0 +1,164 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetBaselineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
GetBaselineResult::GetBaselineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetBaselineResult::GetBaselineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetBaselineResult::~GetBaselineResult()
|
||||
{}
|
||||
|
||||
void GetBaselineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["BaselineId"].isNull())
|
||||
data_.baselineId = std::stol(dataNode["BaselineId"].asString());
|
||||
if(!dataNode["BaselineName"].isNull())
|
||||
data_.baselineName = dataNode["BaselineName"].asString();
|
||||
if(!dataNode["ProjectId"].isNull())
|
||||
data_.projectId = std::stol(dataNode["ProjectId"].asString());
|
||||
if(!dataNode["Owner"].isNull())
|
||||
data_.owner = dataNode["Owner"].asString();
|
||||
if(!dataNode["Priority"].isNull())
|
||||
data_.priority = std::stoi(dataNode["Priority"].asString());
|
||||
if(!dataNode["BaselineType"].isNull())
|
||||
data_.baselineType = dataNode["BaselineType"].asString();
|
||||
if(!dataNode["Enabled"].isNull())
|
||||
data_.enabled = dataNode["Enabled"].asString() == "true";
|
||||
if(!dataNode["AlertEnabled"].isNull())
|
||||
data_.alertEnabled = dataNode["AlertEnabled"].asString() == "true";
|
||||
if(!dataNode["AlertMarginThreshold"].isNull())
|
||||
data_.alertMarginThreshold = std::stoi(dataNode["AlertMarginThreshold"].asString());
|
||||
auto allOverTimeSettingsNode = dataNode["OverTimeSettings"]["OverTimeSetting"];
|
||||
for (auto dataNodeOverTimeSettingsOverTimeSetting : allOverTimeSettingsNode)
|
||||
{
|
||||
Data::OverTimeSetting overTimeSettingObject;
|
||||
if(!dataNodeOverTimeSettingsOverTimeSetting["Cycle"].isNull())
|
||||
overTimeSettingObject.cycle = std::stoi(dataNodeOverTimeSettingsOverTimeSetting["Cycle"].asString());
|
||||
if(!dataNodeOverTimeSettingsOverTimeSetting["Time"].isNull())
|
||||
overTimeSettingObject.time = dataNodeOverTimeSettingsOverTimeSetting["Time"].asString();
|
||||
data_.overTimeSettings.push_back(overTimeSettingObject);
|
||||
}
|
||||
auto allAlertSettingsNode = dataNode["AlertSettings"]["AlertSetting"];
|
||||
for (auto dataNodeAlertSettingsAlertSetting : allAlertSettingsNode)
|
||||
{
|
||||
Data::AlertSetting alertSettingObject;
|
||||
if(!dataNodeAlertSettingsAlertSetting["AlertType"].isNull())
|
||||
alertSettingObject.alertType = dataNodeAlertSettingsAlertSetting["AlertType"].asString();
|
||||
if(!dataNodeAlertSettingsAlertSetting["SilenceStartTime"].isNull())
|
||||
alertSettingObject.silenceStartTime = dataNodeAlertSettingsAlertSetting["SilenceStartTime"].asString();
|
||||
if(!dataNodeAlertSettingsAlertSetting["SilenceEndTime"].isNull())
|
||||
alertSettingObject.silenceEndTime = dataNodeAlertSettingsAlertSetting["SilenceEndTime"].asString();
|
||||
if(!dataNodeAlertSettingsAlertSetting["AlertInterval"].isNull())
|
||||
alertSettingObject.alertInterval = std::stoi(dataNodeAlertSettingsAlertSetting["AlertInterval"].asString());
|
||||
if(!dataNodeAlertSettingsAlertSetting["AlertMaximum"].isNull())
|
||||
alertSettingObject.alertMaximum = std::stoi(dataNodeAlertSettingsAlertSetting["AlertMaximum"].asString());
|
||||
if(!dataNodeAlertSettingsAlertSetting["BaselineAlertEnabled"].isNull())
|
||||
alertSettingObject.baselineAlertEnabled = dataNodeAlertSettingsAlertSetting["BaselineAlertEnabled"].asString() == "true";
|
||||
if(!dataNodeAlertSettingsAlertSetting["AlertRecipientType"].isNull())
|
||||
alertSettingObject.alertRecipientType = dataNodeAlertSettingsAlertSetting["AlertRecipientType"].asString();
|
||||
if(!dataNodeAlertSettingsAlertSetting["AlertRecipient"].isNull())
|
||||
alertSettingObject.alertRecipient = dataNodeAlertSettingsAlertSetting["AlertRecipient"].asString();
|
||||
auto allDingRobotsNode = dataNodeAlertSettingsAlertSetting["DingRobots"]["DingRobot"];
|
||||
for (auto dataNodeAlertSettingsAlertSettingDingRobotsDingRobot : allDingRobotsNode)
|
||||
{
|
||||
Data::AlertSetting::DingRobot dingRobotsObject;
|
||||
if(!dataNodeAlertSettingsAlertSettingDingRobotsDingRobot["WebUrl"].isNull())
|
||||
dingRobotsObject.webUrl = dataNodeAlertSettingsAlertSettingDingRobotsDingRobot["WebUrl"].asString();
|
||||
if(!dataNodeAlertSettingsAlertSettingDingRobotsDingRobot["AtAll"].isNull())
|
||||
dingRobotsObject.atAll = dataNodeAlertSettingsAlertSettingDingRobotsDingRobot["AtAll"].asString() == "true";
|
||||
alertSettingObject.dingRobots.push_back(dingRobotsObject);
|
||||
}
|
||||
auto allAlertMethods = value["AlertMethods"]["AlertMethod"];
|
||||
for (auto value : allAlertMethods)
|
||||
alertSettingObject.alertMethods.push_back(value.asString());
|
||||
auto allWebhooks = value["Webhooks"]["Webhook"];
|
||||
for (auto value : allWebhooks)
|
||||
alertSettingObject.webhooks.push_back(value.asString());
|
||||
auto allTopicTypes = value["TopicTypes"]["TopicType"];
|
||||
for (auto value : allTopicTypes)
|
||||
alertSettingObject.topicTypes.push_back(value.asString());
|
||||
data_.alertSettings.push_back(alertSettingObject);
|
||||
}
|
||||
auto allTaskIds = dataNode["TaskIds"]["TaskId"];
|
||||
for (auto value : allTaskIds)
|
||||
data_.taskIds.push_back(value.asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["DynamicErrorCode"].isNull())
|
||||
dynamicErrorCode_ = value["DynamicErrorCode"].asString();
|
||||
if(!value["DynamicErrorMessage"].isNull())
|
||||
dynamicErrorMessage_ = value["DynamicErrorMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetBaselineResult::getDynamicErrorMessage()const
|
||||
{
|
||||
return dynamicErrorMessage_;
|
||||
}
|
||||
|
||||
int GetBaselineResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
GetBaselineResult::Data GetBaselineResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string GetBaselineResult::getDynamicErrorCode()const
|
||||
{
|
||||
return dynamicErrorCode_;
|
||||
}
|
||||
|
||||
std::string GetBaselineResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string GetBaselineResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool GetBaselineResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetDISyncTaskMetricInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::GetDISyncTaskMetricInfoRequest;
|
||||
|
||||
GetDISyncTaskMetricInfoRequest::GetDISyncTaskMetricInfoRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDISyncTaskMetricInfo") {
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
GetDISyncTaskMetricInfoRequest::~GetDISyncTaskMetricInfoRequest() {}
|
||||
|
||||
long GetDISyncTaskMetricInfoRequest::getEndDate() const {
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void GetDISyncTaskMetricInfoRequest::setEndDate(long endDate) {
|
||||
endDate_ = endDate;
|
||||
setParameter(std::string("EndDate"), std::to_string(endDate));
|
||||
}
|
||||
|
||||
long GetDISyncTaskMetricInfoRequest::getStartDate() const {
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void GetDISyncTaskMetricInfoRequest::setStartDate(long startDate) {
|
||||
startDate_ = startDate;
|
||||
setParameter(std::string("StartDate"), std::to_string(startDate));
|
||||
}
|
||||
|
||||
long GetDISyncTaskMetricInfoRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void GetDISyncTaskMetricInfoRequest::setProjectId(long projectId) {
|
||||
projectId_ = projectId;
|
||||
setParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
long GetDISyncTaskMetricInfoRequest::getFileId() const {
|
||||
return fileId_;
|
||||
}
|
||||
|
||||
void GetDISyncTaskMetricInfoRequest::setFileId(long fileId) {
|
||||
fileId_ = fileId;
|
||||
setParameter(std::string("FileId"), std::to_string(fileId));
|
||||
}
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetDISyncTaskMetricInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
GetDISyncTaskMetricInfoResult::GetDISyncTaskMetricInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDISyncTaskMetricInfoResult::GetDISyncTaskMetricInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDISyncTaskMetricInfoResult::~GetDISyncTaskMetricInfoResult()
|
||||
{}
|
||||
|
||||
void GetDISyncTaskMetricInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto metricInfoNode = value["MetricInfo"];
|
||||
if(!metricInfoNode["Message"].isNull())
|
||||
metricInfo_.message = metricInfoNode["Message"].asString();
|
||||
if(!metricInfoNode["SumReaderRecords"].isNull())
|
||||
metricInfo_.sumReaderRecords = std::stol(metricInfoNode["SumReaderRecords"].asString());
|
||||
if(!metricInfoNode["SumWriterRecords"].isNull())
|
||||
metricInfo_.sumWriterRecords = std::stol(metricInfoNode["SumWriterRecords"].asString());
|
||||
if(!metricInfoNode["LastTaskDelay"].isNull())
|
||||
metricInfo_.lastTaskDelay = std::stol(metricInfoNode["LastTaskDelay"].asString());
|
||||
if(!metricInfoNode["InsertReaderRecords"].isNull())
|
||||
metricInfo_.insertReaderRecords = std::stol(metricInfoNode["InsertReaderRecords"].asString());
|
||||
if(!metricInfoNode["UpdateReaderRecords"].isNull())
|
||||
metricInfo_.updateReaderRecords = std::stol(metricInfoNode["UpdateReaderRecords"].asString());
|
||||
if(!metricInfoNode["DeleteReaderRecords"].isNull())
|
||||
metricInfo_.deleteReaderRecords = std::stol(metricInfoNode["DeleteReaderRecords"].asString());
|
||||
if(!metricInfoNode["InsertWriterRecords"].isNull())
|
||||
metricInfo_.insertWriterRecords = std::stol(metricInfoNode["InsertWriterRecords"].asString());
|
||||
if(!metricInfoNode["UpdateWriterRecords"].isNull())
|
||||
metricInfo_.updateWriterRecords = std::stol(metricInfoNode["UpdateWriterRecords"].asString());
|
||||
if(!metricInfoNode["DeleteWriterRecords"].isNull())
|
||||
metricInfo_.deleteWriterRecords = std::stol(metricInfoNode["DeleteWriterRecords"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
GetDISyncTaskMetricInfoResult::MetricInfo GetDISyncTaskMetricInfoResult::getMetricInfo()const
|
||||
{
|
||||
return metricInfo_;
|
||||
}
|
||||
|
||||
bool GetDISyncTaskMetricInfoResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ GetDataServiceFolderRequest::GetDataServiceFolderRequest()
|
||||
|
||||
GetDataServiceFolderRequest::~GetDataServiceFolderRequest() {}
|
||||
|
||||
long GetDataServiceFolderRequest::getFolderId() const {
|
||||
return folderId_;
|
||||
}
|
||||
|
||||
void GetDataServiceFolderRequest::setFolderId(long folderId) {
|
||||
folderId_ = folderId;
|
||||
setBodyParameter(std::string("FolderId"), std::to_string(folderId));
|
||||
}
|
||||
|
||||
long GetDataServiceFolderRequest::getTenantId() const {
|
||||
return tenantId_;
|
||||
}
|
||||
@@ -43,12 +52,3 @@ void GetDataServiceFolderRequest::setProjectId(long projectId) {
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
long GetDataServiceFolderRequest::getFolderId() const {
|
||||
return folderId_;
|
||||
}
|
||||
|
||||
void GetDataServiceFolderRequest::setFolderId(long folderId) {
|
||||
folderId_ = folderId;
|
||||
setBodyParameter(std::string("FolderId"), std::to_string(folderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -34,15 +34,6 @@ void GetMetaCategoryRequest::setParentCategoryId(long parentCategoryId) {
|
||||
setParameter(std::string("ParentCategoryId"), std::to_string(parentCategoryId));
|
||||
}
|
||||
|
||||
int GetMetaCategoryRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void GetMetaCategoryRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int GetMetaCategoryRequest::getPageNum() const {
|
||||
return pageNum_;
|
||||
}
|
||||
@@ -52,3 +43,12 @@ void GetMetaCategoryRequest::setPageNum(int pageNum) {
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
int GetMetaCategoryRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void GetMetaCategoryRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
|
||||
@@ -34,15 +34,6 @@ void GetMetaDBInfoRequest::setDataSourceType(const std::string &dataSourceType)
|
||||
setParameter(std::string("DataSourceType"), dataSourceType);
|
||||
}
|
||||
|
||||
std::string GetMetaDBInfoRequest::getDatabaseName() const {
|
||||
return databaseName_;
|
||||
}
|
||||
|
||||
void GetMetaDBInfoRequest::setDatabaseName(const std::string &databaseName) {
|
||||
databaseName_ = databaseName;
|
||||
setParameter(std::string("DatabaseName"), databaseName);
|
||||
}
|
||||
|
||||
std::string GetMetaDBInfoRequest::getClusterId() const {
|
||||
return clusterId_;
|
||||
}
|
||||
@@ -52,6 +43,15 @@ void GetMetaDBInfoRequest::setClusterId(const std::string &clusterId) {
|
||||
setParameter(std::string("ClusterId"), clusterId);
|
||||
}
|
||||
|
||||
std::string GetMetaDBInfoRequest::getDatabaseName() const {
|
||||
return databaseName_;
|
||||
}
|
||||
|
||||
void GetMetaDBInfoRequest::setDatabaseName(const std::string &databaseName) {
|
||||
databaseName_ = databaseName;
|
||||
setParameter(std::string("DatabaseName"), databaseName);
|
||||
}
|
||||
|
||||
std::string GetMetaDBInfoRequest::getAppGuid() const {
|
||||
return appGuid_;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,24 @@ void GetMetaDBTableListRequest::setDataSourceType(const std::string &dataSourceT
|
||||
setParameter(std::string("DataSourceType"), dataSourceType);
|
||||
}
|
||||
|
||||
std::string GetMetaDBTableListRequest::getClusterId() const {
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void GetMetaDBTableListRequest::setClusterId(const std::string &clusterId) {
|
||||
clusterId_ = clusterId;
|
||||
setParameter(std::string("ClusterId"), clusterId);
|
||||
}
|
||||
|
||||
int GetMetaDBTableListRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void GetMetaDBTableListRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string GetMetaDBTableListRequest::getDatabaseName() const {
|
||||
return databaseName_;
|
||||
}
|
||||
@@ -52,15 +70,6 @@ void GetMetaDBTableListRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string GetMetaDBTableListRequest::getClusterId() const {
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void GetMetaDBTableListRequest::setClusterId(const std::string &clusterId) {
|
||||
clusterId_ = clusterId;
|
||||
setParameter(std::string("ClusterId"), clusterId);
|
||||
}
|
||||
|
||||
std::string GetMetaDBTableListRequest::getAppGuid() const {
|
||||
return appGuid_;
|
||||
}
|
||||
@@ -70,12 +79,3 @@ void GetMetaDBTableListRequest::setAppGuid(const std::string &appGuid) {
|
||||
setParameter(std::string("AppGuid"), appGuid);
|
||||
}
|
||||
|
||||
int GetMetaDBTableListRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void GetMetaDBTableListRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,6 +43,15 @@ void GetMetaTableBasicInfoRequest::setExtension(bool extension) {
|
||||
setParameter(std::string("Extension"), extension ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetMetaTableBasicInfoRequest::getClusterId() const {
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void GetMetaTableBasicInfoRequest::setClusterId(const std::string &clusterId) {
|
||||
clusterId_ = clusterId;
|
||||
setParameter(std::string("ClusterId"), clusterId);
|
||||
}
|
||||
|
||||
std::string GetMetaTableBasicInfoRequest::getTableGuid() const {
|
||||
return tableGuid_;
|
||||
}
|
||||
@@ -61,15 +70,6 @@ void GetMetaTableBasicInfoRequest::setDatabaseName(const std::string &databaseNa
|
||||
setParameter(std::string("DatabaseName"), databaseName);
|
||||
}
|
||||
|
||||
std::string GetMetaTableBasicInfoRequest::getClusterId() const {
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void GetMetaTableBasicInfoRequest::setClusterId(const std::string &clusterId) {
|
||||
clusterId_ = clusterId;
|
||||
setParameter(std::string("ClusterId"), clusterId);
|
||||
}
|
||||
|
||||
std::string GetMetaTableBasicInfoRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ GetMetaTableListByCategoryRequest::GetMetaTableListByCategoryRequest()
|
||||
|
||||
GetMetaTableListByCategoryRequest::~GetMetaTableListByCategoryRequest() {}
|
||||
|
||||
int GetMetaTableListByCategoryRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void GetMetaTableListByCategoryRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int GetMetaTableListByCategoryRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
@@ -43,6 +34,15 @@ void GetMetaTableListByCategoryRequest::setPageNumber(int pageNumber) {
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int GetMetaTableListByCategoryRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void GetMetaTableListByCategoryRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long GetMetaTableListByCategoryRequest::getCategoryId() const {
|
||||
return categoryId_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,24 @@ GetMetaTableOutputRequest::GetMetaTableOutputRequest()
|
||||
|
||||
GetMetaTableOutputRequest::~GetMetaTableOutputRequest() {}
|
||||
|
||||
std::string GetMetaTableOutputRequest::getStartDate() const {
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void GetMetaTableOutputRequest::setStartDate(const std::string &startDate) {
|
||||
startDate_ = startDate;
|
||||
setParameter(std::string("StartDate"), startDate);
|
||||
}
|
||||
|
||||
int GetMetaTableOutputRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void GetMetaTableOutputRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string GetMetaTableOutputRequest::getEndDate() const {
|
||||
return endDate_;
|
||||
}
|
||||
@@ -52,21 +70,3 @@ void GetMetaTableOutputRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string GetMetaTableOutputRequest::getStartDate() const {
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void GetMetaTableOutputRequest::setStartDate(const std::string &startDate) {
|
||||
startDate_ = startDate;
|
||||
setParameter(std::string("StartDate"), startDate);
|
||||
}
|
||||
|
||||
int GetMetaTableOutputRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void GetMetaTableOutputRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
|
||||
@@ -74,6 +74,26 @@ void GetProjectDetailResult::parse(const std::string &payload)
|
||||
data_.tenantId = std::stol(dataNode["TenantId"].asString());
|
||||
if(!dataNode["SchedulerRetryInterval"].isNull())
|
||||
data_.schedulerRetryInterval = std::stoi(dataNode["SchedulerRetryInterval"].asString());
|
||||
if(!dataNode["ResourceManagerResourceGroupId"].isNull())
|
||||
data_.resourceManagerResourceGroupId = dataNode["ResourceManagerResourceGroupId"].asString();
|
||||
if(!dataNode["DisableDevelopment"].isNull())
|
||||
data_.disableDevelopment = dataNode["DisableDevelopment"].asString() == "true";
|
||||
if(!dataNode["UseProxyOdpsAccount"].isNull())
|
||||
data_.useProxyOdpsAccount = dataNode["UseProxyOdpsAccount"].asString() == "true";
|
||||
if(!dataNode["TablePrivacyMode"].isNull())
|
||||
data_.tablePrivacyMode = std::stoi(dataNode["TablePrivacyMode"].asString());
|
||||
if(!dataNode["IsDefault"].isNull())
|
||||
data_.isDefault = std::stoi(dataNode["IsDefault"].asString());
|
||||
auto allTagsNode = dataNode["Tags"]["Tag"];
|
||||
for (auto dataNodeTagsTag : allTagsNode)
|
||||
{
|
||||
Data::Tag tagObject;
|
||||
if(!dataNodeTagsTag["Key"].isNull())
|
||||
tagObject.key = dataNodeTagsTag["Key"].asString();
|
||||
if(!dataNodeTagsTag["Value"].isNull())
|
||||
tagObject.value = dataNodeTagsTag["Value"].asString();
|
||||
data_.tags.push_back(tagObject);
|
||||
}
|
||||
auto allEnvTypes = dataNode["EnvTypes"]["EnvTypes"];
|
||||
for (auto value : allEnvTypes)
|
||||
data_.envTypes.push_back(value.asString());
|
||||
|
||||
@@ -94,6 +94,18 @@ void GetProjectResult::parse(const std::string &payload)
|
||||
data_.gmtCreate = dataNode["GmtCreate"].asString();
|
||||
if(!dataNode["TenantId"].isNull())
|
||||
data_.tenantId = std::stol(dataNode["TenantId"].asString());
|
||||
if(!dataNode["ResourceManagerResourceGroupId"].isNull())
|
||||
data_.resourceManagerResourceGroupId = dataNode["ResourceManagerResourceGroupId"].asString();
|
||||
auto allTagsNode = dataNode["Tags"]["Tag"];
|
||||
for (auto dataNodeTagsTag : allTagsNode)
|
||||
{
|
||||
Data::Tag tagObject;
|
||||
if(!dataNodeTagsTag["Key"].isNull())
|
||||
tagObject.key = dataNodeTagsTag["Key"].asString();
|
||||
if(!dataNodeTagsTag["Value"].isNull())
|
||||
tagObject.value = dataNodeTagsTag["Value"].asString();
|
||||
data_.tags.push_back(tagObject);
|
||||
}
|
||||
auto allEnvTypes = dataNode["EnvTypes"]["EnvTypes"];
|
||||
for (auto value : allEnvTypes)
|
||||
data_.envTypes.push_back(value.asString());
|
||||
|
||||
@@ -122,6 +122,9 @@ void GetRemindResult::parse(const std::string &payload)
|
||||
auto allAlertMethods = dataNode["AlertMethods"]["AlertMethods"];
|
||||
for (auto value : allAlertMethods)
|
||||
data_.alertMethods.push_back(value.asString());
|
||||
auto allWebhooks = dataNode["Webhooks"]["Webhooks"];
|
||||
for (auto value : allWebhooks)
|
||||
data_.webhooks.push_back(value.asString());
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
|
||||
108
dataworks-public/src/model/ListBaselinesRequest.cc
Normal file
108
dataworks-public/src/model/ListBaselinesRequest.cc
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListBaselinesRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::ListBaselinesRequest;
|
||||
|
||||
ListBaselinesRequest::ListBaselinesRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "ListBaselines") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListBaselinesRequest::~ListBaselinesRequest() {}
|
||||
|
||||
std::string ListBaselinesRequest::getOwner() const {
|
||||
return owner_;
|
||||
}
|
||||
|
||||
void ListBaselinesRequest::setOwner(const std::string &owner) {
|
||||
owner_ = owner;
|
||||
setBodyParameter(std::string("Owner"), owner);
|
||||
}
|
||||
|
||||
std::string ListBaselinesRequest::getSearchText() const {
|
||||
return searchText_;
|
||||
}
|
||||
|
||||
void ListBaselinesRequest::setSearchText(const std::string &searchText) {
|
||||
searchText_ = searchText;
|
||||
setBodyParameter(std::string("SearchText"), searchText);
|
||||
}
|
||||
|
||||
std::string ListBaselinesRequest::getProjectEnv() const {
|
||||
return projectEnv_;
|
||||
}
|
||||
|
||||
void ListBaselinesRequest::setProjectEnv(const std::string &projectEnv) {
|
||||
projectEnv_ = projectEnv;
|
||||
setBodyParameter(std::string("ProjectEnv"), projectEnv);
|
||||
}
|
||||
|
||||
std::string ListBaselinesRequest::getPriority() const {
|
||||
return priority_;
|
||||
}
|
||||
|
||||
void ListBaselinesRequest::setPriority(const std::string &priority) {
|
||||
priority_ = priority;
|
||||
setBodyParameter(std::string("Priority"), priority);
|
||||
}
|
||||
|
||||
int ListBaselinesRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListBaselinesRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
bool ListBaselinesRequest::getEnable() const {
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void ListBaselinesRequest::setEnable(bool enable) {
|
||||
enable_ = enable;
|
||||
setBodyParameter(std::string("Enable"), enable ? "true" : "false");
|
||||
}
|
||||
|
||||
int ListBaselinesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListBaselinesRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long ListBaselinesRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void ListBaselinesRequest::setProjectId(long projectId) {
|
||||
projectId_ = projectId;
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string ListBaselinesRequest::getBaselineTypes() const {
|
||||
return baselineTypes_;
|
||||
}
|
||||
|
||||
void ListBaselinesRequest::setBaselineTypes(const std::string &baselineTypes) {
|
||||
baselineTypes_ = baselineTypes;
|
||||
setBodyParameter(std::string("BaselineTypes"), baselineTypes);
|
||||
}
|
||||
|
||||
132
dataworks-public/src/model/ListBaselinesResult.cc
Normal file
132
dataworks-public/src/model/ListBaselinesResult.cc
Normal file
@@ -0,0 +1,132 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/dataworks-public/model/ListBaselinesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
ListBaselinesResult::ListBaselinesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListBaselinesResult::ListBaselinesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListBaselinesResult::~ListBaselinesResult()
|
||||
{}
|
||||
|
||||
void ListBaselinesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = dataNode["PageNumber"].asString();
|
||||
if(!dataNode["PageSize"].isNull())
|
||||
data_.pageSize = dataNode["PageSize"].asString();
|
||||
if(!dataNode["TotalCount"].isNull())
|
||||
data_.totalCount = dataNode["TotalCount"].asString();
|
||||
auto allBaselinesNode = dataNode["Baselines"]["baselinesItem"];
|
||||
for (auto dataNodeBaselinesbaselinesItem : allBaselinesNode)
|
||||
{
|
||||
Data::BaselinesItem baselinesItemObject;
|
||||
if(!dataNodeBaselinesbaselinesItem["BaselineId"].isNull())
|
||||
baselinesItemObject.baselineId = std::stol(dataNodeBaselinesbaselinesItem["BaselineId"].asString());
|
||||
if(!dataNodeBaselinesbaselinesItem["ProjectId"].isNull())
|
||||
baselinesItemObject.projectId = std::stol(dataNodeBaselinesbaselinesItem["ProjectId"].asString());
|
||||
if(!dataNodeBaselinesbaselinesItem["BaselineType"].isNull())
|
||||
baselinesItemObject.baselineType = dataNodeBaselinesbaselinesItem["BaselineType"].asString();
|
||||
if(!dataNodeBaselinesbaselinesItem["Priority"].isNull())
|
||||
baselinesItemObject.priority = std::stoi(dataNodeBaselinesbaselinesItem["Priority"].asString());
|
||||
if(!dataNodeBaselinesbaselinesItem["Owner"].isNull())
|
||||
baselinesItemObject.owner = dataNodeBaselinesbaselinesItem["Owner"].asString();
|
||||
if(!dataNodeBaselinesbaselinesItem["BaselineName"].isNull())
|
||||
baselinesItemObject.baselineName = dataNodeBaselinesbaselinesItem["BaselineName"].asString();
|
||||
if(!dataNodeBaselinesbaselinesItem["Enabled"].isNull())
|
||||
baselinesItemObject.enabled = dataNodeBaselinesbaselinesItem["Enabled"].asString() == "true";
|
||||
if(!dataNodeBaselinesbaselinesItem["AlertEnabled"].isNull())
|
||||
baselinesItemObject.alertEnabled = dataNodeBaselinesbaselinesItem["AlertEnabled"].asString() == "true";
|
||||
if(!dataNodeBaselinesbaselinesItem["AlertMarginThreshold"].isNull())
|
||||
baselinesItemObject.alertMarginThreshold = std::stoi(dataNodeBaselinesbaselinesItem["AlertMarginThreshold"].asString());
|
||||
auto allOverTimeSettingsNode = dataNodeBaselinesbaselinesItem["OverTimeSettings"]["overTimeSettingsItem"];
|
||||
for (auto dataNodeBaselinesbaselinesItemOverTimeSettingsoverTimeSettingsItem : allOverTimeSettingsNode)
|
||||
{
|
||||
Data::BaselinesItem::OverTimeSettingsItem overTimeSettingsObject;
|
||||
if(!dataNodeBaselinesbaselinesItemOverTimeSettingsoverTimeSettingsItem["Cycle"].isNull())
|
||||
overTimeSettingsObject.cycle = std::stoi(dataNodeBaselinesbaselinesItemOverTimeSettingsoverTimeSettingsItem["Cycle"].asString());
|
||||
if(!dataNodeBaselinesbaselinesItemOverTimeSettingsoverTimeSettingsItem["Time"].isNull())
|
||||
overTimeSettingsObject.time = dataNodeBaselinesbaselinesItemOverTimeSettingsoverTimeSettingsItem["Time"].asString();
|
||||
baselinesItemObject.overTimeSettings.push_back(overTimeSettingsObject);
|
||||
}
|
||||
data_.baselines.push_back(baselinesItemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["DynamicErrorCode"].isNull())
|
||||
dynamicErrorCode_ = value["DynamicErrorCode"].asString();
|
||||
if(!value["DynamicErrorMessage"].isNull())
|
||||
dynamicErrorMessage_ = value["DynamicErrorMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListBaselinesResult::getDynamicErrorMessage()const
|
||||
{
|
||||
return dynamicErrorMessage_;
|
||||
}
|
||||
|
||||
int ListBaselinesResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
ListBaselinesResult::Data ListBaselinesResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListBaselinesResult::getDynamicErrorCode()const
|
||||
{
|
||||
return dynamicErrorCode_;
|
||||
}
|
||||
|
||||
std::string ListBaselinesResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ListBaselinesResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListBaselinesResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListCurrentTasksForResourceGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::ListCurrentTasksForResourceGroupRequest;
|
||||
|
||||
ListCurrentTasksForResourceGroupRequest::ListCurrentTasksForResourceGroupRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "ListCurrentTasksForResourceGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListCurrentTasksForResourceGroupRequest::~ListCurrentTasksForResourceGroupRequest() {}
|
||||
|
||||
std::string ListCurrentTasksForResourceGroupRequest::getProjectEnv() const {
|
||||
return projectEnv_;
|
||||
}
|
||||
|
||||
void ListCurrentTasksForResourceGroupRequest::setProjectEnv(const std::string &projectEnv) {
|
||||
projectEnv_ = projectEnv;
|
||||
setBodyParameter(std::string("ProjectEnv"), projectEnv);
|
||||
}
|
||||
|
||||
int ListCurrentTasksForResourceGroupRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListCurrentTasksForResourceGroupRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListCurrentTasksForResourceGroupRequest::getResourceGroupIdentifier() const {
|
||||
return resourceGroupIdentifier_;
|
||||
}
|
||||
|
||||
void ListCurrentTasksForResourceGroupRequest::setResourceGroupIdentifier(const std::string &resourceGroupIdentifier) {
|
||||
resourceGroupIdentifier_ = resourceGroupIdentifier;
|
||||
setBodyParameter(std::string("ResourceGroupIdentifier"), resourceGroupIdentifier);
|
||||
}
|
||||
|
||||
int ListCurrentTasksForResourceGroupRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListCurrentTasksForResourceGroupRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int ListCurrentTasksForResourceGroupRequest::getStatus() const {
|
||||
return status_;
|
||||
}
|
||||
|
||||
void ListCurrentTasksForResourceGroupRequest::setStatus(int status) {
|
||||
status_ = status;
|
||||
setBodyParameter(std::string("Status"), std::to_string(status));
|
||||
}
|
||||
|
||||
@@ -1,104 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListCurrentTasksForResourceGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
ListCurrentTasksForResourceGroupResult::ListCurrentTasksForResourceGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCurrentTasksForResourceGroupResult::ListCurrentTasksForResourceGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCurrentTasksForResourceGroupResult::~ListCurrentTasksForResourceGroupResult()
|
||||
{}
|
||||
|
||||
void ListCurrentTasksForResourceGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["PageNum"].isNull())
|
||||
data_.pageNum = std::stoi(dataNode["PageNum"].asString());
|
||||
if(!dataNode["PageSize"].isNull())
|
||||
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
|
||||
if(!dataNode["TotalNum"].isNull())
|
||||
data_.totalNum = std::stoi(dataNode["TotalNum"].asString());
|
||||
auto allTasksNode = dataNode["Tasks"]["PopTasksForResourceGroupDto"];
|
||||
for (auto dataNodeTasksPopTasksForResourceGroupDto : allTasksNode)
|
||||
{
|
||||
Data::PopTasksForResourceGroupDto popTasksForResourceGroupDtoObject;
|
||||
if(!dataNodeTasksPopTasksForResourceGroupDto["ProjectName"].isNull())
|
||||
popTasksForResourceGroupDtoObject.projectName = dataNodeTasksPopTasksForResourceGroupDto["ProjectName"].asString();
|
||||
if(!dataNodeTasksPopTasksForResourceGroupDto["Status"].isNull())
|
||||
popTasksForResourceGroupDtoObject.status = std::stoi(dataNodeTasksPopTasksForResourceGroupDto["Status"].asString());
|
||||
if(!dataNodeTasksPopTasksForResourceGroupDto["Concurrency"].isNull())
|
||||
popTasksForResourceGroupDtoObject.concurrency = dataNodeTasksPopTasksForResourceGroupDto["Concurrency"].asString();
|
||||
if(!dataNodeTasksPopTasksForResourceGroupDto["TaskName"].isNull())
|
||||
popTasksForResourceGroupDtoObject.taskName = dataNodeTasksPopTasksForResourceGroupDto["TaskName"].asString();
|
||||
if(!dataNodeTasksPopTasksForResourceGroupDto["TaskType"].isNull())
|
||||
popTasksForResourceGroupDtoObject.taskType = std::stoi(dataNodeTasksPopTasksForResourceGroupDto["TaskType"].asString());
|
||||
if(!dataNodeTasksPopTasksForResourceGroupDto["TaskId"].isNull())
|
||||
popTasksForResourceGroupDtoObject.taskId = dataNodeTasksPopTasksForResourceGroupDto["TaskId"].asString();
|
||||
if(!dataNodeTasksPopTasksForResourceGroupDto["TaskSource"].isNull())
|
||||
popTasksForResourceGroupDtoObject.taskSource = dataNodeTasksPopTasksForResourceGroupDto["TaskSource"].asString();
|
||||
data_.tasks.push_back(popTasksForResourceGroupDtoObject);
|
||||
}
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int ListCurrentTasksForResourceGroupResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
ListCurrentTasksForResourceGroupResult::Data ListCurrentTasksForResourceGroupResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListCurrentTasksForResourceGroupResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ListCurrentTasksForResourceGroupResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListCurrentTasksForResourceGroupResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user