Generated 2020-05-18 for dataworks-public.
This commit is contained in:
@@ -375,6 +375,8 @@ set(dataworks-public_public_header_model
|
||||
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/ListCheckProcessesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListCheckProcessesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListClusterConfigsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListClusterConfigsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListClustersRequest.h
|
||||
@@ -495,8 +497,6 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/ListTablesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListTopicsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListTopicsResult.h
|
||||
include/alibabacloud/dataworks-public/model/MountDirectoryRequest.h
|
||||
include/alibabacloud/dataworks-public/model/MountDirectoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/OfflineNodeRequest.h
|
||||
include/alibabacloud/dataworks-public/model/OfflineNodeResult.h
|
||||
include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h
|
||||
@@ -529,8 +529,6 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/RestartInstanceResult.h
|
||||
include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ResumeInstanceResult.h
|
||||
include/alibabacloud/dataworks-public/model/RevokeColumnPermissionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/RevokeColumnPermissionResult.h
|
||||
include/alibabacloud/dataworks-public/model/RevokeTablePermissionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/RevokeTablePermissionResult.h
|
||||
include/alibabacloud/dataworks-public/model/RunCycleDagNodesRequest.h
|
||||
@@ -583,8 +581,6 @@ 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/UmountDirectoryRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UmountDirectoryResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateBaselineRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateBaselineResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h
|
||||
@@ -1000,6 +996,8 @@ set(dataworks-public_src
|
||||
src/model/ListBusinessResult.cc
|
||||
src/model/ListCalcEnginesRequest.cc
|
||||
src/model/ListCalcEnginesResult.cc
|
||||
src/model/ListCheckProcessesRequest.cc
|
||||
src/model/ListCheckProcessesResult.cc
|
||||
src/model/ListClusterConfigsRequest.cc
|
||||
src/model/ListClusterConfigsResult.cc
|
||||
src/model/ListClustersRequest.cc
|
||||
@@ -1120,8 +1118,6 @@ set(dataworks-public_src
|
||||
src/model/ListTablesResult.cc
|
||||
src/model/ListTopicsRequest.cc
|
||||
src/model/ListTopicsResult.cc
|
||||
src/model/MountDirectoryRequest.cc
|
||||
src/model/MountDirectoryResult.cc
|
||||
src/model/OfflineNodeRequest.cc
|
||||
src/model/OfflineNodeResult.cc
|
||||
src/model/PublishDataServiceApiRequest.cc
|
||||
@@ -1154,8 +1150,6 @@ set(dataworks-public_src
|
||||
src/model/RestartInstanceResult.cc
|
||||
src/model/ResumeInstanceRequest.cc
|
||||
src/model/ResumeInstanceResult.cc
|
||||
src/model/RevokeColumnPermissionRequest.cc
|
||||
src/model/RevokeColumnPermissionResult.cc
|
||||
src/model/RevokeTablePermissionRequest.cc
|
||||
src/model/RevokeTablePermissionResult.cc
|
||||
src/model/RunCycleDagNodesRequest.cc
|
||||
@@ -1208,8 +1202,6 @@ set(dataworks-public_src
|
||||
src/model/TopTenElapsedTimeInstanceResult.cc
|
||||
src/model/TopTenErrorTimesInstanceRequest.cc
|
||||
src/model/TopTenErrorTimesInstanceResult.cc
|
||||
src/model/UmountDirectoryRequest.cc
|
||||
src/model/UmountDirectoryResult.cc
|
||||
src/model/UpdateBaselineRequest.cc
|
||||
src/model/UpdateBaselineResult.cc
|
||||
src/model/UpdateBusinessRequest.cc
|
||||
|
||||
@@ -376,6 +376,8 @@
|
||||
#include "model/ListBusinessResult.h"
|
||||
#include "model/ListCalcEnginesRequest.h"
|
||||
#include "model/ListCalcEnginesResult.h"
|
||||
#include "model/ListCheckProcessesRequest.h"
|
||||
#include "model/ListCheckProcessesResult.h"
|
||||
#include "model/ListClusterConfigsRequest.h"
|
||||
#include "model/ListClusterConfigsResult.h"
|
||||
#include "model/ListClustersRequest.h"
|
||||
@@ -496,8 +498,6 @@
|
||||
#include "model/ListTablesResult.h"
|
||||
#include "model/ListTopicsRequest.h"
|
||||
#include "model/ListTopicsResult.h"
|
||||
#include "model/MountDirectoryRequest.h"
|
||||
#include "model/MountDirectoryResult.h"
|
||||
#include "model/OfflineNodeRequest.h"
|
||||
#include "model/OfflineNodeResult.h"
|
||||
#include "model/PublishDataServiceApiRequest.h"
|
||||
@@ -530,8 +530,6 @@
|
||||
#include "model/RestartInstanceResult.h"
|
||||
#include "model/ResumeInstanceRequest.h"
|
||||
#include "model/ResumeInstanceResult.h"
|
||||
#include "model/RevokeColumnPermissionRequest.h"
|
||||
#include "model/RevokeColumnPermissionResult.h"
|
||||
#include "model/RevokeTablePermissionRequest.h"
|
||||
#include "model/RevokeTablePermissionResult.h"
|
||||
#include "model/RunCycleDagNodesRequest.h"
|
||||
@@ -584,8 +582,6 @@
|
||||
#include "model/TopTenElapsedTimeInstanceResult.h"
|
||||
#include "model/TopTenErrorTimesInstanceRequest.h"
|
||||
#include "model/TopTenErrorTimesInstanceResult.h"
|
||||
#include "model/UmountDirectoryRequest.h"
|
||||
#include "model/UmountDirectoryResult.h"
|
||||
#include "model/UpdateBaselineRequest.h"
|
||||
#include "model/UpdateBaselineResult.h"
|
||||
#include "model/UpdateBusinessRequest.h"
|
||||
@@ -1184,6 +1180,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListCalcEnginesResult> ListCalcEnginesOutcome;
|
||||
typedef std::future<ListCalcEnginesOutcome> ListCalcEnginesOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListCalcEnginesRequest&, const ListCalcEnginesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCalcEnginesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCheckProcessesResult> ListCheckProcessesOutcome;
|
||||
typedef std::future<ListCheckProcessesOutcome> ListCheckProcessesOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListCheckProcessesRequest&, const ListCheckProcessesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCheckProcessesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListClusterConfigsResult> ListClusterConfigsOutcome;
|
||||
typedef std::future<ListClusterConfigsOutcome> ListClusterConfigsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListClusterConfigsRequest&, const ListClusterConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListClusterConfigsAsyncHandler;
|
||||
@@ -1364,9 +1363,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::MountDirectoryResult> MountDirectoryOutcome;
|
||||
typedef std::future<MountDirectoryOutcome> MountDirectoryOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::MountDirectoryRequest&, const MountDirectoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MountDirectoryAsyncHandler;
|
||||
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;
|
||||
@@ -1415,9 +1411,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ResumeInstanceResult> ResumeInstanceOutcome;
|
||||
typedef std::future<ResumeInstanceOutcome> ResumeInstanceOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ResumeInstanceRequest&, const ResumeInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::RevokeColumnPermissionResult> RevokeColumnPermissionOutcome;
|
||||
typedef std::future<RevokeColumnPermissionOutcome> RevokeColumnPermissionOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::RevokeColumnPermissionRequest&, const RevokeColumnPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RevokeColumnPermissionAsyncHandler;
|
||||
typedef Outcome<Error, Model::RevokeTablePermissionResult> RevokeTablePermissionOutcome;
|
||||
typedef std::future<RevokeTablePermissionOutcome> RevokeTablePermissionOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::RevokeTablePermissionRequest&, const RevokeTablePermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RevokeTablePermissionAsyncHandler;
|
||||
@@ -1496,9 +1489,6 @@ 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::UmountDirectoryResult> UmountDirectoryOutcome;
|
||||
typedef std::future<UmountDirectoryOutcome> UmountDirectoryOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::UmountDirectoryRequest&, const UmountDirectoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UmountDirectoryAsyncHandler;
|
||||
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;
|
||||
@@ -2122,6 +2112,9 @@ namespace AlibabaCloud
|
||||
ListCalcEnginesOutcome listCalcEngines(const Model::ListCalcEnginesRequest &request)const;
|
||||
void listCalcEnginesAsync(const Model::ListCalcEnginesRequest& request, const ListCalcEnginesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCalcEnginesOutcomeCallable listCalcEnginesCallable(const Model::ListCalcEnginesRequest& request) const;
|
||||
ListCheckProcessesOutcome listCheckProcesses(const Model::ListCheckProcessesRequest &request)const;
|
||||
void listCheckProcessesAsync(const Model::ListCheckProcessesRequest& request, const ListCheckProcessesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCheckProcessesOutcomeCallable listCheckProcessesCallable(const Model::ListCheckProcessesRequest& request) const;
|
||||
ListClusterConfigsOutcome listClusterConfigs(const Model::ListClusterConfigsRequest &request)const;
|
||||
void listClusterConfigsAsync(const Model::ListClusterConfigsRequest& request, const ListClusterConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListClusterConfigsOutcomeCallable listClusterConfigsCallable(const Model::ListClusterConfigsRequest& request) const;
|
||||
@@ -2302,9 +2295,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;
|
||||
MountDirectoryOutcome mountDirectory(const Model::MountDirectoryRequest &request)const;
|
||||
void mountDirectoryAsync(const Model::MountDirectoryRequest& request, const MountDirectoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MountDirectoryOutcomeCallable mountDirectoryCallable(const Model::MountDirectoryRequest& 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;
|
||||
@@ -2353,9 +2343,6 @@ namespace AlibabaCloud
|
||||
ResumeInstanceOutcome resumeInstance(const Model::ResumeInstanceRequest &request)const;
|
||||
void resumeInstanceAsync(const Model::ResumeInstanceRequest& request, const ResumeInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResumeInstanceOutcomeCallable resumeInstanceCallable(const Model::ResumeInstanceRequest& request) const;
|
||||
RevokeColumnPermissionOutcome revokeColumnPermission(const Model::RevokeColumnPermissionRequest &request)const;
|
||||
void revokeColumnPermissionAsync(const Model::RevokeColumnPermissionRequest& request, const RevokeColumnPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RevokeColumnPermissionOutcomeCallable revokeColumnPermissionCallable(const Model::RevokeColumnPermissionRequest& request) const;
|
||||
RevokeTablePermissionOutcome revokeTablePermission(const Model::RevokeTablePermissionRequest &request)const;
|
||||
void revokeTablePermissionAsync(const Model::RevokeTablePermissionRequest& request, const RevokeTablePermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RevokeTablePermissionOutcomeCallable revokeTablePermissionCallable(const Model::RevokeTablePermissionRequest& request) const;
|
||||
@@ -2434,9 +2421,6 @@ 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;
|
||||
UmountDirectoryOutcome umountDirectory(const Model::UmountDirectoryRequest &request)const;
|
||||
void umountDirectoryAsync(const Model::UmountDirectoryRequest& request, const UmountDirectoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UmountDirectoryOutcomeCallable umountDirectoryCallable(const Model::UmountDirectoryRequest& 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;
|
||||
|
||||
@@ -32,12 +32,16 @@ public:
|
||||
~CreateFileRequest();
|
||||
int getFileType() const;
|
||||
void setFileType(int fileType);
|
||||
std::string getImageId() const;
|
||||
void setImageId(const std::string &imageId);
|
||||
std::string getDependentNodeIdList() const;
|
||||
void setDependentNodeIdList(const std::string &dependentNodeIdList);
|
||||
std::string getContent() const;
|
||||
void setContent(const std::string &content);
|
||||
std::string getProjectIdentifier() const;
|
||||
void setProjectIdentifier(const std::string &projectIdentifier);
|
||||
int getTimeout() const;
|
||||
void setTimeout(int timeout);
|
||||
long getResourceGroupId() const;
|
||||
void setResourceGroupId(long resourceGroupId);
|
||||
bool getStartImmediately() const;
|
||||
@@ -97,9 +101,11 @@ public:
|
||||
|
||||
private:
|
||||
int fileType_;
|
||||
std::string imageId_;
|
||||
std::string dependentNodeIdList_;
|
||||
std::string content_;
|
||||
std::string projectIdentifier_;
|
||||
int timeout_;
|
||||
long resourceGroupId_;
|
||||
bool startImmediately_;
|
||||
long projectId_;
|
||||
|
||||
@@ -31,6 +31,7 @@ public:
|
||||
struct ApplyObject {
|
||||
struct ColumnMetaList {
|
||||
std::string name;
|
||||
std::string actions;
|
||||
};
|
||||
std::vector<ColumnMetaList> columnMetaList;
|
||||
std::string name;
|
||||
@@ -38,32 +39,38 @@ public:
|
||||
};
|
||||
CreatePermissionApplyOrderRequest();
|
||||
~CreatePermissionApplyOrderRequest();
|
||||
std::string getApplyUserIds() const;
|
||||
void setApplyUserIds(const std::string &applyUserIds);
|
||||
long getDeadline() const;
|
||||
void setDeadline(long deadline);
|
||||
std::string getEngineType() const;
|
||||
void setEngineType(const std::string &engineType);
|
||||
std::string getApplyReason() const;
|
||||
void setApplyReason(const std::string &applyReason);
|
||||
std::string getMaxComputeProjectName() const;
|
||||
void setMaxComputeProjectName(const std::string &maxComputeProjectName);
|
||||
std::vector<ApplyObject> getApplyObject() const;
|
||||
void setApplyObject(const std::vector<ApplyObject> &applyObject);
|
||||
std::string getApplyUserIds() const;
|
||||
void setApplyUserIds(const std::string &applyUserIds);
|
||||
long getDeadline() const;
|
||||
void setDeadline(long deadline);
|
||||
std::string getCatalogName() const;
|
||||
void setCatalogName(const std::string &catalogName);
|
||||
std::string getApplyType() const;
|
||||
void setApplyType(const std::string &applyType);
|
||||
int getWorkspaceId() const;
|
||||
void setWorkspaceId(int workspaceId);
|
||||
int getOrderType() const;
|
||||
void setOrderType(int orderType);
|
||||
std::string getEngineType() const;
|
||||
void setEngineType(const std::string &engineType);
|
||||
|
||||
private:
|
||||
std::string applyUserIds_;
|
||||
long deadline_;
|
||||
std::string engineType_;
|
||||
std::string applyReason_;
|
||||
std::string maxComputeProjectName_;
|
||||
std::vector<ApplyObject> applyObject_;
|
||||
std::string applyUserIds_;
|
||||
long deadline_;
|
||||
std::string catalogName_;
|
||||
std::string applyType_;
|
||||
int workspaceId_;
|
||||
int orderType_;
|
||||
std::string engineType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -48,8 +48,33 @@ namespace AlibabaCloud
|
||||
std::string processExtra;
|
||||
std::string name;
|
||||
};
|
||||
struct AlarmListItem
|
||||
{
|
||||
struct NotifyRule
|
||||
{
|
||||
std::vector<std::string> warning;
|
||||
std::vector<std::string> critical;
|
||||
long interval;
|
||||
};
|
||||
struct AlarmRuleListItem
|
||||
{
|
||||
std::string aggregator;
|
||||
std::string level;
|
||||
long duration;
|
||||
std::string comparator;
|
||||
long threshold;
|
||||
};
|
||||
std::string description;
|
||||
NotifyRule notifyRule;
|
||||
std::vector<AlarmListItem::AlarmRuleListItem> alarmRuleList;
|
||||
bool enabled;
|
||||
std::string metric;
|
||||
long id;
|
||||
std::string ruleName;
|
||||
};
|
||||
std::string status;
|
||||
std::string message;
|
||||
std::vector<AlarmListItem> alarmList;
|
||||
SolutionDetail solutionDetail;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
@@ -88,6 +88,7 @@ namespace AlibabaCloud
|
||||
std::vector<NodeInputOutput> inputList;
|
||||
long resourceGroupId;
|
||||
bool stop;
|
||||
int timeout;
|
||||
std::string dependentType;
|
||||
std::string schedulerType;
|
||||
bool startImmediately;
|
||||
@@ -98,11 +99,13 @@ namespace AlibabaCloud
|
||||
int autoRerunIntervalMillis;
|
||||
long startEffectDate;
|
||||
int autoRerunTimes;
|
||||
std::string imageId;
|
||||
std::string rerunMode;
|
||||
std::string paraValue;
|
||||
std::string applyScheduleImmediately;
|
||||
std::vector<NodeInputOutput1> outputList;
|
||||
std::vector<InputContextParameter> inputParameters;
|
||||
std::string ignoreParentSkipRunningProperty;
|
||||
};
|
||||
struct ResourceDownloadLink
|
||||
{
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
long baselineId;
|
||||
long modifyTime;
|
||||
std::string owner;
|
||||
std::string dagType;
|
||||
std::string nodeName;
|
||||
std::string paramValues;
|
||||
@@ -45,6 +46,7 @@ namespace AlibabaCloud
|
||||
long finishTime;
|
||||
std::string taskType;
|
||||
std::string dqcDescription;
|
||||
int periodNumber;
|
||||
long businessId;
|
||||
std::string status;
|
||||
int taskRerunTime;
|
||||
|
||||
@@ -45,8 +45,10 @@ namespace AlibabaCloud
|
||||
std::string columnName;
|
||||
std::string securityLevel;
|
||||
std::string columnComment;
|
||||
std::vector<std::string> columnActions;
|
||||
};
|
||||
std::vector<ObjectMetaListItem::ColumnMetaListItem> columnMetaList;
|
||||
std::vector<std::string> actions;
|
||||
std::string objectName;
|
||||
};
|
||||
std::string maxComputeProjectName;
|
||||
|
||||
@@ -47,6 +47,7 @@ namespace AlibabaCloud
|
||||
long bizdate;
|
||||
long expTime;
|
||||
long finishTime;
|
||||
std::string baselineType;
|
||||
std::string baselineName;
|
||||
long slaTime;
|
||||
long endCast;
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCHECKPROCESSESREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCHECKPROCESSESREQUEST_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 ListCheckProcessesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListCheckProcessesRequest();
|
||||
~ListCheckProcessesRequest();
|
||||
std::string getMessageId() const;
|
||||
void setMessageId(const std::string &messageId);
|
||||
std::string get_Operator() const;
|
||||
void set_Operator(const std::string &_operator);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getEventCode() const;
|
||||
void setEventCode(const std::string &eventCode);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::string messageId_;
|
||||
std::string _operator_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
long projectId_;
|
||||
std::string eventCode_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCHECKPROCESSESREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UMOUNTDIRECTORYRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UMOUNTDIRECTORYRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCHECKPROCESSESRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCHECKPROCESSESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,31 +29,42 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UmountDirectoryResult : public ServiceResult
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListCheckProcessesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PagingInfo
|
||||
{
|
||||
struct CheckProcessesItem
|
||||
{
|
||||
std::string status;
|
||||
std::string processName;
|
||||
long projectId;
|
||||
std::string eventNameEn;
|
||||
std::string _operator;
|
||||
std::string eventName;
|
||||
std::string processId;
|
||||
std::string eventCode;
|
||||
std::string messageId;
|
||||
};
|
||||
int totalCount;
|
||||
std::vector<CheckProcessesItem> checkProcesses;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
};
|
||||
|
||||
|
||||
UmountDirectoryResult();
|
||||
explicit UmountDirectoryResult(const std::string &payload);
|
||||
~UmountDirectoryResult();
|
||||
int getHttpStatusCode()const;
|
||||
int getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
ListCheckProcessesResult();
|
||||
explicit ListCheckProcessesResult(const std::string &payload);
|
||||
~ListCheckProcessesResult();
|
||||
PagingInfo getPagingInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
int data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
PagingInfo pagingInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UMOUNTDIRECTORYRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCHECKPROCESSESRESULT_H_
|
||||
@@ -44,6 +44,8 @@ public:
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getFileIdIn() const;
|
||||
void setFileIdIn(const std::string &fileIdIn);
|
||||
std::string getLastEditUser() const;
|
||||
void setLastEditUser(const std::string &lastEditUser);
|
||||
std::string getFileFolderPath() const;
|
||||
void setFileFolderPath(const std::string &fileFolderPath);
|
||||
int getPageSize() const;
|
||||
@@ -67,6 +69,7 @@ private:
|
||||
std::string projectIdentifier_;
|
||||
int pageNumber_;
|
||||
std::string fileIdIn_;
|
||||
std::string lastEditUser_;
|
||||
std::string fileFolderPath_;
|
||||
int pageSize_;
|
||||
std::string exactFileName_;
|
||||
|
||||
@@ -43,6 +43,7 @@ namespace AlibabaCloud
|
||||
std::string paramValues;
|
||||
long deployDate;
|
||||
std::string cronExpress;
|
||||
int repeatMode;
|
||||
std::string ownerId;
|
||||
std::string dqcDescription;
|
||||
int fileVersion;
|
||||
|
||||
@@ -44,10 +44,14 @@ public:
|
||||
void setEngineType(const std::string &engineType);
|
||||
std::string getMaxComputeProjectName() const;
|
||||
void setMaxComputeProjectName(const std::string &maxComputeProjectName);
|
||||
std::string getCatalogName() const;
|
||||
void setCatalogName(const std::string &catalogName);
|
||||
long getEndTime() const;
|
||||
void setEndTime(long endTime);
|
||||
int getFlowStatus() const;
|
||||
void setFlowStatus(int flowStatus);
|
||||
std::string getApplyType() const;
|
||||
void setApplyType(const std::string &applyType);
|
||||
int getWorkspaceId() const;
|
||||
void setWorkspaceId(int workspaceId);
|
||||
int getOrderType() const;
|
||||
@@ -61,8 +65,10 @@ private:
|
||||
int queryType_;
|
||||
std::string engineType_;
|
||||
std::string maxComputeProjectName_;
|
||||
std::string catalogName_;
|
||||
long endTime_;
|
||||
int flowStatus_;
|
||||
std::string applyType_;
|
||||
int workspaceId_;
|
||||
int orderType_;
|
||||
};
|
||||
|
||||
@@ -1,48 +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_MOUNTDIRECTORYREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_MOUNTDIRECTORYREQUEST_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 MountDirectoryRequest : public RpcServiceRequest {
|
||||
public:
|
||||
MountDirectoryRequest();
|
||||
~MountDirectoryRequest();
|
||||
std::string getTargetType() const;
|
||||
void setTargetType(const std::string &targetType);
|
||||
std::string getTargetId() const;
|
||||
void setTargetId(const std::string &targetId);
|
||||
std::string getTargetUserId() const;
|
||||
void setTargetUserId(const std::string &targetUserId);
|
||||
|
||||
private:
|
||||
std::string targetType_;
|
||||
std::string targetId_;
|
||||
std::string targetUserId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_MOUNTDIRECTORYREQUEST_H_
|
||||
@@ -1,59 +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_MOUNTDIRECTORYRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_MOUNTDIRECTORYRESULT_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 MountDirectoryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MountDirectoryResult();
|
||||
explicit MountDirectoryResult(const std::string &payload);
|
||||
~MountDirectoryResult();
|
||||
int getHttpStatusCode()const;
|
||||
int getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
int data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_MOUNTDIRECTORYRESULT_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_REVOKECOLUMNPERMISSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKECOLUMNPERMISSIONREQUEST_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 RevokeColumnPermissionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
RevokeColumnPermissionRequest();
|
||||
~RevokeColumnPermissionRequest();
|
||||
std::string getRevokeUserName() const;
|
||||
void setRevokeUserName(const std::string &revokeUserName);
|
||||
std::string getMaxComputeProjectName() const;
|
||||
void setMaxComputeProjectName(const std::string &maxComputeProjectName);
|
||||
std::string getColumns() const;
|
||||
void setColumns(const std::string &columns);
|
||||
std::string getRevokeUserId() const;
|
||||
void setRevokeUserId(const std::string &revokeUserId);
|
||||
std::string getTableName() const;
|
||||
void setTableName(const std::string &tableName);
|
||||
long getWorkspaceId() const;
|
||||
void setWorkspaceId(long workspaceId);
|
||||
|
||||
private:
|
||||
std::string revokeUserName_;
|
||||
std::string maxComputeProjectName_;
|
||||
std::string columns_;
|
||||
std::string revokeUserId_;
|
||||
std::string tableName_;
|
||||
long workspaceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKECOLUMNPERMISSIONREQUEST_H_
|
||||
@@ -1,51 +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_REVOKECOLUMNPERMISSIONRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKECOLUMNPERMISSIONRESULT_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 RevokeColumnPermissionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RevokeColumnPermissionResult();
|
||||
explicit RevokeColumnPermissionResult(const std::string &payload);
|
||||
~RevokeColumnPermissionResult();
|
||||
bool getRevokeSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool revokeSuccess_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKECOLUMNPERMISSIONRESULT_H_
|
||||
@@ -1,48 +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_UMOUNTDIRECTORYREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UMOUNTDIRECTORYREQUEST_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 UmountDirectoryRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UmountDirectoryRequest();
|
||||
~UmountDirectoryRequest();
|
||||
std::string getTargetType() const;
|
||||
void setTargetType(const std::string &targetType);
|
||||
std::string getTargetId() const;
|
||||
void setTargetId(const std::string &targetId);
|
||||
std::string getTargetUserId() const;
|
||||
void setTargetUserId(const std::string &targetUserId);
|
||||
|
||||
private:
|
||||
std::string targetType_;
|
||||
std::string targetId_;
|
||||
std::string targetUserId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UMOUNTDIRECTORYREQUEST_H_
|
||||
@@ -32,12 +32,16 @@ public:
|
||||
~UpdateFileRequest();
|
||||
std::string getOutputList() const;
|
||||
void setOutputList(const std::string &outputList);
|
||||
std::string getImageId() const;
|
||||
void setImageId(const std::string &imageId);
|
||||
std::string getDependentNodeIdList() const;
|
||||
void setDependentNodeIdList(const std::string &dependentNodeIdList);
|
||||
std::string getContent() const;
|
||||
void setContent(const std::string &content);
|
||||
std::string getProjectIdentifier() const;
|
||||
void setProjectIdentifier(const std::string &projectIdentifier);
|
||||
int getTimeout() const;
|
||||
void setTimeout(int timeout);
|
||||
bool getStartImmediately() const;
|
||||
void setStartImmediately(bool startImmediately);
|
||||
long getProjectId() const;
|
||||
@@ -95,9 +99,11 @@ public:
|
||||
|
||||
private:
|
||||
std::string outputList_;
|
||||
std::string imageId_;
|
||||
std::string dependentNodeIdList_;
|
||||
std::string content_;
|
||||
std::string projectIdentifier_;
|
||||
int timeout_;
|
||||
bool startImmediately_;
|
||||
long projectId_;
|
||||
std::string advancedSettings_;
|
||||
|
||||
@@ -6423,6 +6423,42 @@ Dataworks_publicClient::ListCalcEnginesOutcomeCallable Dataworks_publicClient::l
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListCheckProcessesOutcome Dataworks_publicClient::listCheckProcesses(const ListCheckProcessesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListCheckProcessesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListCheckProcessesOutcome(ListCheckProcessesResult(outcome.result()));
|
||||
else
|
||||
return ListCheckProcessesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listCheckProcessesAsync(const ListCheckProcessesRequest& request, const ListCheckProcessesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listCheckProcesses(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListCheckProcessesOutcomeCallable Dataworks_publicClient::listCheckProcessesCallable(const ListCheckProcessesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListCheckProcessesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listCheckProcesses(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListClusterConfigsOutcome Dataworks_publicClient::listClusterConfigs(const ListClusterConfigsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -8583,42 +8619,6 @@ Dataworks_publicClient::ListTopicsOutcomeCallable Dataworks_publicClient::listTo
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::MountDirectoryOutcome Dataworks_publicClient::mountDirectory(const MountDirectoryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return MountDirectoryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return MountDirectoryOutcome(MountDirectoryResult(outcome.result()));
|
||||
else
|
||||
return MountDirectoryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::mountDirectoryAsync(const MountDirectoryRequest& request, const MountDirectoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, mountDirectory(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::MountDirectoryOutcomeCallable Dataworks_publicClient::mountDirectoryCallable(const MountDirectoryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<MountDirectoryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->mountDirectory(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::OfflineNodeOutcome Dataworks_publicClient::offlineNode(const OfflineNodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -9195,42 +9195,6 @@ Dataworks_publicClient::ResumeInstanceOutcomeCallable Dataworks_publicClient::re
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::RevokeColumnPermissionOutcome Dataworks_publicClient::revokeColumnPermission(const RevokeColumnPermissionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RevokeColumnPermissionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RevokeColumnPermissionOutcome(RevokeColumnPermissionResult(outcome.result()));
|
||||
else
|
||||
return RevokeColumnPermissionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::revokeColumnPermissionAsync(const RevokeColumnPermissionRequest& request, const RevokeColumnPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, revokeColumnPermission(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::RevokeColumnPermissionOutcomeCallable Dataworks_publicClient::revokeColumnPermissionCallable(const RevokeColumnPermissionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RevokeColumnPermissionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->revokeColumnPermission(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::RevokeTablePermissionOutcome Dataworks_publicClient::revokeTablePermission(const RevokeTablePermissionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -10167,42 +10131,6 @@ Dataworks_publicClient::TopTenErrorTimesInstanceOutcomeCallable Dataworks_public
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UmountDirectoryOutcome Dataworks_publicClient::umountDirectory(const UmountDirectoryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UmountDirectoryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UmountDirectoryOutcome(UmountDirectoryResult(outcome.result()));
|
||||
else
|
||||
return UmountDirectoryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::umountDirectoryAsync(const UmountDirectoryRequest& request, const UmountDirectoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, umountDirectory(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UmountDirectoryOutcomeCallable Dataworks_publicClient::umountDirectoryCallable(const UmountDirectoryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UmountDirectoryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->umountDirectory(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateBaselineOutcome Dataworks_publicClient::updateBaseline(const UpdateBaselineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -34,6 +34,15 @@ void CreateFileRequest::setFileType(int fileType) {
|
||||
setBodyParameter(std::string("FileType"), std::to_string(fileType));
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getImageId() const {
|
||||
return imageId_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setImageId(const std::string &imageId) {
|
||||
imageId_ = imageId;
|
||||
setBodyParameter(std::string("ImageId"), imageId);
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getDependentNodeIdList() const {
|
||||
return dependentNodeIdList_;
|
||||
}
|
||||
@@ -61,6 +70,15 @@ void CreateFileRequest::setProjectIdentifier(const std::string &projectIdentifie
|
||||
setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
|
||||
}
|
||||
|
||||
int CreateFileRequest::getTimeout() const {
|
||||
return timeout_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setTimeout(int timeout) {
|
||||
timeout_ = timeout;
|
||||
setBodyParameter(std::string("Timeout"), std::to_string(timeout));
|
||||
}
|
||||
|
||||
long CreateFileRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,33 @@ CreatePermissionApplyOrderRequest::CreatePermissionApplyOrderRequest()
|
||||
|
||||
CreatePermissionApplyOrderRequest::~CreatePermissionApplyOrderRequest() {}
|
||||
|
||||
std::string CreatePermissionApplyOrderRequest::getApplyUserIds() const {
|
||||
return applyUserIds_;
|
||||
}
|
||||
|
||||
void CreatePermissionApplyOrderRequest::setApplyUserIds(const std::string &applyUserIds) {
|
||||
applyUserIds_ = applyUserIds;
|
||||
setParameter(std::string("ApplyUserIds"), applyUserIds);
|
||||
}
|
||||
|
||||
long CreatePermissionApplyOrderRequest::getDeadline() const {
|
||||
return deadline_;
|
||||
}
|
||||
|
||||
void CreatePermissionApplyOrderRequest::setDeadline(long deadline) {
|
||||
deadline_ = deadline;
|
||||
setParameter(std::string("Deadline"), std::to_string(deadline));
|
||||
}
|
||||
|
||||
std::string CreatePermissionApplyOrderRequest::getEngineType() const {
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
void CreatePermissionApplyOrderRequest::setEngineType(const std::string &engineType) {
|
||||
engineType_ = engineType;
|
||||
setParameter(std::string("EngineType"), engineType);
|
||||
}
|
||||
|
||||
std::string CreatePermissionApplyOrderRequest::getApplyReason() const {
|
||||
return applyReason_;
|
||||
}
|
||||
@@ -56,28 +83,29 @@ void CreatePermissionApplyOrderRequest::setApplyObject(const std::vector<CreateP
|
||||
auto columnMetaListObj = applyObjectObj.columnMetaList.at(dep2);
|
||||
std::string columnMetaListObjStr = applyObjectObjStr + ".ColumnMetaList" + "." + std::to_string(dep2 + 1);
|
||||
setParameter(columnMetaListObjStr + ".Name", columnMetaListObj.name);
|
||||
setParameter(columnMetaListObjStr + ".Actions", columnMetaListObj.actions);
|
||||
}
|
||||
setParameter(applyObjectObjStr + ".Name", applyObjectObj.name);
|
||||
setParameter(applyObjectObjStr + ".Actions", applyObjectObj.actions);
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreatePermissionApplyOrderRequest::getApplyUserIds() const {
|
||||
return applyUserIds_;
|
||||
std::string CreatePermissionApplyOrderRequest::getCatalogName() const {
|
||||
return catalogName_;
|
||||
}
|
||||
|
||||
void CreatePermissionApplyOrderRequest::setApplyUserIds(const std::string &applyUserIds) {
|
||||
applyUserIds_ = applyUserIds;
|
||||
setParameter(std::string("ApplyUserIds"), applyUserIds);
|
||||
void CreatePermissionApplyOrderRequest::setCatalogName(const std::string &catalogName) {
|
||||
catalogName_ = catalogName;
|
||||
setParameter(std::string("CatalogName"), catalogName);
|
||||
}
|
||||
|
||||
long CreatePermissionApplyOrderRequest::getDeadline() const {
|
||||
return deadline_;
|
||||
std::string CreatePermissionApplyOrderRequest::getApplyType() const {
|
||||
return applyType_;
|
||||
}
|
||||
|
||||
void CreatePermissionApplyOrderRequest::setDeadline(long deadline) {
|
||||
deadline_ = deadline;
|
||||
setParameter(std::string("Deadline"), std::to_string(deadline));
|
||||
void CreatePermissionApplyOrderRequest::setApplyType(const std::string &applyType) {
|
||||
applyType_ = applyType;
|
||||
setParameter(std::string("ApplyType"), applyType);
|
||||
}
|
||||
|
||||
int CreatePermissionApplyOrderRequest::getWorkspaceId() const {
|
||||
@@ -98,12 +126,3 @@ void CreatePermissionApplyOrderRequest::setOrderType(int orderType) {
|
||||
setParameter(std::string("OrderType"), std::to_string(orderType));
|
||||
}
|
||||
|
||||
std::string CreatePermissionApplyOrderRequest::getEngineType() const {
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
void CreatePermissionApplyOrderRequest::setEngineType(const std::string &engineType) {
|
||||
engineType_ = engineType;
|
||||
setParameter(std::string("EngineType"), engineType);
|
||||
}
|
||||
|
||||
|
||||
@@ -46,6 +46,47 @@ void GetDISyncTaskResult::parse(const std::string &payload)
|
||||
data_.status = dataNode["Status"].asString();
|
||||
if(!dataNode["Message"].isNull())
|
||||
data_.message = dataNode["Message"].asString();
|
||||
auto allAlarmListNode = dataNode["AlarmList"]["alarmListItem"];
|
||||
for (auto dataNodeAlarmListalarmListItem : allAlarmListNode)
|
||||
{
|
||||
Data::AlarmListItem alarmListItemObject;
|
||||
if(!dataNodeAlarmListalarmListItem["Id"].isNull())
|
||||
alarmListItemObject.id = std::stol(dataNodeAlarmListalarmListItem["Id"].asString());
|
||||
if(!dataNodeAlarmListalarmListItem["Enabled"].isNull())
|
||||
alarmListItemObject.enabled = dataNodeAlarmListalarmListItem["Enabled"].asString() == "true";
|
||||
if(!dataNodeAlarmListalarmListItem["RuleName"].isNull())
|
||||
alarmListItemObject.ruleName = dataNodeAlarmListalarmListItem["RuleName"].asString();
|
||||
if(!dataNodeAlarmListalarmListItem["Metric"].isNull())
|
||||
alarmListItemObject.metric = dataNodeAlarmListalarmListItem["Metric"].asString();
|
||||
if(!dataNodeAlarmListalarmListItem["Description"].isNull())
|
||||
alarmListItemObject.description = dataNodeAlarmListalarmListItem["Description"].asString();
|
||||
auto allAlarmRuleListNode = dataNodeAlarmListalarmListItem["AlarmRuleList"]["alarmRuleListItem"];
|
||||
for (auto dataNodeAlarmListalarmListItemAlarmRuleListalarmRuleListItem : allAlarmRuleListNode)
|
||||
{
|
||||
Data::AlarmListItem::AlarmRuleListItem alarmRuleListObject;
|
||||
if(!dataNodeAlarmListalarmListItemAlarmRuleListalarmRuleListItem["Level"].isNull())
|
||||
alarmRuleListObject.level = dataNodeAlarmListalarmListItemAlarmRuleListalarmRuleListItem["Level"].asString();
|
||||
if(!dataNodeAlarmListalarmListItemAlarmRuleListalarmRuleListItem["Comparator"].isNull())
|
||||
alarmRuleListObject.comparator = dataNodeAlarmListalarmListItemAlarmRuleListalarmRuleListItem["Comparator"].asString();
|
||||
if(!dataNodeAlarmListalarmListItemAlarmRuleListalarmRuleListItem["Threshold"].isNull())
|
||||
alarmRuleListObject.threshold = std::stol(dataNodeAlarmListalarmListItemAlarmRuleListalarmRuleListItem["Threshold"].asString());
|
||||
if(!dataNodeAlarmListalarmListItemAlarmRuleListalarmRuleListItem["Duration"].isNull())
|
||||
alarmRuleListObject.duration = std::stol(dataNodeAlarmListalarmListItemAlarmRuleListalarmRuleListItem["Duration"].asString());
|
||||
if(!dataNodeAlarmListalarmListItemAlarmRuleListalarmRuleListItem["Aggregator"].isNull())
|
||||
alarmRuleListObject.aggregator = dataNodeAlarmListalarmListItemAlarmRuleListalarmRuleListItem["Aggregator"].asString();
|
||||
alarmListItemObject.alarmRuleList.push_back(alarmRuleListObject);
|
||||
}
|
||||
auto notifyRuleNode = value["NotifyRule"];
|
||||
if(!notifyRuleNode["Interval"].isNull())
|
||||
alarmListItemObject.notifyRule.interval = std::stol(notifyRuleNode["Interval"].asString());
|
||||
auto allWarning = notifyRuleNode["Warning"]["warning"];
|
||||
for (auto value : allWarning)
|
||||
alarmListItemObject.notifyRule.warning.push_back(value.asString());
|
||||
auto allCritical = notifyRuleNode["Critical"]["critical"];
|
||||
for (auto value : allCritical)
|
||||
alarmListItemObject.notifyRule.critical.push_back(value.asString());
|
||||
data_.alarmList.push_back(alarmListItemObject);
|
||||
}
|
||||
auto solutionDetailNode = dataNode["SolutionDetail"];
|
||||
if(!solutionDetailNode["Status"].isNull())
|
||||
data_.solutionDetail.status = solutionDetailNode["Status"].asString();
|
||||
|
||||
@@ -118,6 +118,12 @@ void GetFileResult::parse(const std::string &payload)
|
||||
data_.nodeConfiguration.startImmediately = nodeConfigurationNode["StartImmediately"].asString() == "true";
|
||||
if(!nodeConfigurationNode["ApplyScheduleImmediately"].isNull())
|
||||
data_.nodeConfiguration.applyScheduleImmediately = nodeConfigurationNode["ApplyScheduleImmediately"].asString();
|
||||
if(!nodeConfigurationNode["IgnoreParentSkipRunningProperty"].isNull())
|
||||
data_.nodeConfiguration.ignoreParentSkipRunningProperty = nodeConfigurationNode["IgnoreParentSkipRunningProperty"].asString();
|
||||
if(!nodeConfigurationNode["Timeout"].isNull())
|
||||
data_.nodeConfiguration.timeout = std::stoi(nodeConfigurationNode["Timeout"].asString());
|
||||
if(!nodeConfigurationNode["ImageId"].isNull())
|
||||
data_.nodeConfiguration.imageId = nodeConfigurationNode["ImageId"].asString();
|
||||
auto allInputListNode = nodeConfigurationNode["InputList"]["NodeInputOutput"];
|
||||
for (auto nodeConfigurationNodeInputListNodeInputOutput : allInputListNode)
|
||||
{
|
||||
|
||||
@@ -72,6 +72,8 @@ void GetInstanceResult::parse(const std::string &payload)
|
||||
data_.businessId = std::stol(dataNode["BusinessId"].asString());
|
||||
if(!dataNode["TaskRerunTime"].isNull())
|
||||
data_.taskRerunTime = std::stoi(dataNode["TaskRerunTime"].asString());
|
||||
if(!dataNode["PeriodNumber"].isNull())
|
||||
data_.periodNumber = std::stoi(dataNode["PeriodNumber"].asString());
|
||||
if(!dataNode["ModifyTime"].isNull())
|
||||
data_.modifyTime = std::stol(dataNode["ModifyTime"].asString());
|
||||
if(!dataNode["Repeatability"].isNull())
|
||||
@@ -96,6 +98,8 @@ void GetInstanceResult::parse(const std::string &payload)
|
||||
data_.nodeId = std::stol(dataNode["NodeId"].asString());
|
||||
if(!dataNode["CreateUser"].isNull())
|
||||
data_.createUser = dataNode["CreateUser"].asString();
|
||||
if(!dataNode["Owner"].isNull())
|
||||
data_.owner = dataNode["Owner"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
|
||||
@@ -98,8 +98,14 @@ void GetPermissionApplyOrderDetailResult::parse(const std::string &payload)
|
||||
columnMetaListObject.columnComment = projectMetaNodeObjectMetaListObjectMetaListItemColumnMetaListColumnMetaListItem["ColumnComment"].asString();
|
||||
if(!projectMetaNodeObjectMetaListObjectMetaListItemColumnMetaListColumnMetaListItem["SecurityLevel"].isNull())
|
||||
columnMetaListObject.securityLevel = projectMetaNodeObjectMetaListObjectMetaListItemColumnMetaListColumnMetaListItem["SecurityLevel"].asString();
|
||||
auto allColumnActions = value["ColumnActions"]["ColumnActions"];
|
||||
for (auto value : allColumnActions)
|
||||
columnMetaListObject.columnActions.push_back(value.asString());
|
||||
objectMetaListItemObject.columnMetaList.push_back(columnMetaListObject);
|
||||
}
|
||||
auto allActions = value["Actions"]["Actions"];
|
||||
for (auto value : allActions)
|
||||
objectMetaListItemObject.actions.push_back(value.asString());
|
||||
applyOrderDetail_.approveContent.projectMeta.objectMetaList.push_back(objectMetaListItemObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -78,6 +78,8 @@ void ListBaselineStatusesResult::parse(const std::string &payload)
|
||||
baselineStatusesItemObject.slaTime = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["SlaTime"].asString());
|
||||
if(!dataNodeBaselineStatusesBaselineStatusesItem["ExpTime"].isNull())
|
||||
baselineStatusesItemObject.expTime = std::stol(dataNodeBaselineStatusesBaselineStatusesItem["ExpTime"].asString());
|
||||
if(!dataNodeBaselineStatusesBaselineStatusesItem["BaselineType"].isNull())
|
||||
baselineStatusesItemObject.baselineType = dataNodeBaselineStatusesBaselineStatusesItem["BaselineType"].asString();
|
||||
data_.baselineStatuses.push_back(baselineStatusesItemObject);
|
||||
}
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
|
||||
90
dataworks-public/src/model/ListCheckProcessesRequest.cc
Normal file
90
dataworks-public/src/model/ListCheckProcessesRequest.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListCheckProcessesRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::ListCheckProcessesRequest;
|
||||
|
||||
ListCheckProcessesRequest::ListCheckProcessesRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "ListCheckProcesses") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListCheckProcessesRequest::~ListCheckProcessesRequest() {}
|
||||
|
||||
std::string ListCheckProcessesRequest::getMessageId() const {
|
||||
return messageId_;
|
||||
}
|
||||
|
||||
void ListCheckProcessesRequest::setMessageId(const std::string &messageId) {
|
||||
messageId_ = messageId;
|
||||
setBodyParameter(std::string("MessageId"), messageId);
|
||||
}
|
||||
|
||||
std::string ListCheckProcessesRequest::get_Operator() const {
|
||||
return _operator_;
|
||||
}
|
||||
|
||||
void ListCheckProcessesRequest::set_Operator(const std::string &_operator) {
|
||||
_operator_ = _operator;
|
||||
setBodyParameter(std::string("Operator"), _operator);
|
||||
}
|
||||
|
||||
int ListCheckProcessesRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListCheckProcessesRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int ListCheckProcessesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListCheckProcessesRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long ListCheckProcessesRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void ListCheckProcessesRequest::setProjectId(long projectId) {
|
||||
projectId_ = projectId;
|
||||
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string ListCheckProcessesRequest::getEventCode() const {
|
||||
return eventCode_;
|
||||
}
|
||||
|
||||
void ListCheckProcessesRequest::setEventCode(const std::string &eventCode) {
|
||||
eventCode_ = eventCode;
|
||||
setBodyParameter(std::string("EventCode"), eventCode);
|
||||
}
|
||||
|
||||
std::string ListCheckProcessesRequest::getStatus() const {
|
||||
return status_;
|
||||
}
|
||||
|
||||
void ListCheckProcessesRequest::setStatus(const std::string &status) {
|
||||
status_ = status;
|
||||
setBodyParameter(std::string("Status"), status);
|
||||
}
|
||||
|
||||
80
dataworks-public/src/model/ListCheckProcessesResult.cc
Normal file
80
dataworks-public/src/model/ListCheckProcessesResult.cc
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListCheckProcessesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
ListCheckProcessesResult::ListCheckProcessesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCheckProcessesResult::ListCheckProcessesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCheckProcessesResult::~ListCheckProcessesResult()
|
||||
{}
|
||||
|
||||
void ListCheckProcessesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto pagingInfoNode = value["PagingInfo"];
|
||||
if(!pagingInfoNode["PageNumber"].isNull())
|
||||
pagingInfo_.pageNumber = std::stoi(pagingInfoNode["PageNumber"].asString());
|
||||
if(!pagingInfoNode["PageSize"].isNull())
|
||||
pagingInfo_.pageSize = std::stoi(pagingInfoNode["PageSize"].asString());
|
||||
if(!pagingInfoNode["TotalCount"].isNull())
|
||||
pagingInfo_.totalCount = std::stoi(pagingInfoNode["TotalCount"].asString());
|
||||
auto allCheckProcessesNode = pagingInfoNode["CheckProcesses"]["CheckProcessesItem"];
|
||||
for (auto pagingInfoNodeCheckProcessesCheckProcessesItem : allCheckProcessesNode)
|
||||
{
|
||||
PagingInfo::CheckProcessesItem checkProcessesItemObject;
|
||||
if(!pagingInfoNodeCheckProcessesCheckProcessesItem["ProjectId"].isNull())
|
||||
checkProcessesItemObject.projectId = std::stol(pagingInfoNodeCheckProcessesCheckProcessesItem["ProjectId"].asString());
|
||||
if(!pagingInfoNodeCheckProcessesCheckProcessesItem["Status"].isNull())
|
||||
checkProcessesItemObject.status = pagingInfoNodeCheckProcessesCheckProcessesItem["Status"].asString();
|
||||
if(!pagingInfoNodeCheckProcessesCheckProcessesItem["EventCode"].isNull())
|
||||
checkProcessesItemObject.eventCode = pagingInfoNodeCheckProcessesCheckProcessesItem["EventCode"].asString();
|
||||
if(!pagingInfoNodeCheckProcessesCheckProcessesItem["EventName"].isNull())
|
||||
checkProcessesItemObject.eventName = pagingInfoNodeCheckProcessesCheckProcessesItem["EventName"].asString();
|
||||
if(!pagingInfoNodeCheckProcessesCheckProcessesItem["EventNameEn"].isNull())
|
||||
checkProcessesItemObject.eventNameEn = pagingInfoNodeCheckProcessesCheckProcessesItem["EventNameEn"].asString();
|
||||
if(!pagingInfoNodeCheckProcessesCheckProcessesItem["ProcessName"].isNull())
|
||||
checkProcessesItemObject.processName = pagingInfoNodeCheckProcessesCheckProcessesItem["ProcessName"].asString();
|
||||
if(!pagingInfoNodeCheckProcessesCheckProcessesItem["MessageId"].isNull())
|
||||
checkProcessesItemObject.messageId = pagingInfoNodeCheckProcessesCheckProcessesItem["MessageId"].asString();
|
||||
if(!pagingInfoNodeCheckProcessesCheckProcessesItem["ProcessId"].isNull())
|
||||
checkProcessesItemObject.processId = pagingInfoNodeCheckProcessesCheckProcessesItem["ProcessId"].asString();
|
||||
if(!pagingInfoNodeCheckProcessesCheckProcessesItem["Operator"].isNull())
|
||||
checkProcessesItemObject._operator = pagingInfoNodeCheckProcessesCheckProcessesItem["Operator"].asString();
|
||||
pagingInfo_.checkProcesses.push_back(checkProcessesItemObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
ListCheckProcessesResult::PagingInfo ListCheckProcessesResult::getPagingInfo()const
|
||||
{
|
||||
return pagingInfo_;
|
||||
}
|
||||
|
||||
@@ -88,6 +88,15 @@ void ListFilesRequest::setFileIdIn(const std::string &fileIdIn) {
|
||||
setBodyParameter(std::string("FileIdIn"), fileIdIn);
|
||||
}
|
||||
|
||||
std::string ListFilesRequest::getLastEditUser() const {
|
||||
return lastEditUser_;
|
||||
}
|
||||
|
||||
void ListFilesRequest::setLastEditUser(const std::string &lastEditUser) {
|
||||
lastEditUser_ = lastEditUser;
|
||||
setBodyParameter(std::string("LastEditUser"), lastEditUser);
|
||||
}
|
||||
|
||||
std::string ListFilesRequest::getFileFolderPath() const {
|
||||
return fileFolderPath_;
|
||||
}
|
||||
|
||||
@@ -56,6 +56,8 @@ void ListNodesResult::parse(const std::string &payload)
|
||||
nodesItemObject.repeatInterval = std::stol(dataNodeNodesNodesItem["RepeatInterval"].asString());
|
||||
if(!dataNodeNodesNodesItem["Repeatability"].isNull())
|
||||
nodesItemObject.repeatability = dataNodeNodesNodesItem["Repeatability"].asString() == "true";
|
||||
if(!dataNodeNodesNodesItem["RepeatMode"].isNull())
|
||||
nodesItemObject.repeatMode = std::stoi(dataNodeNodesNodesItem["RepeatMode"].asString());
|
||||
if(!dataNodeNodesNodesItem["ProjectId"].isNull())
|
||||
nodesItemObject.projectId = std::stol(dataNodeNodesNodesItem["ProjectId"].asString());
|
||||
if(!dataNodeNodesNodesItem["ProgramType"].isNull())
|
||||
|
||||
@@ -88,6 +88,15 @@ void ListPermissionApplyOrdersRequest::setMaxComputeProjectName(const std::strin
|
||||
setParameter(std::string("MaxComputeProjectName"), maxComputeProjectName);
|
||||
}
|
||||
|
||||
std::string ListPermissionApplyOrdersRequest::getCatalogName() const {
|
||||
return catalogName_;
|
||||
}
|
||||
|
||||
void ListPermissionApplyOrdersRequest::setCatalogName(const std::string &catalogName) {
|
||||
catalogName_ = catalogName;
|
||||
setParameter(std::string("CatalogName"), catalogName);
|
||||
}
|
||||
|
||||
long ListPermissionApplyOrdersRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
@@ -106,6 +115,15 @@ void ListPermissionApplyOrdersRequest::setFlowStatus(int flowStatus) {
|
||||
setParameter(std::string("FlowStatus"), std::to_string(flowStatus));
|
||||
}
|
||||
|
||||
std::string ListPermissionApplyOrdersRequest::getApplyType() const {
|
||||
return applyType_;
|
||||
}
|
||||
|
||||
void ListPermissionApplyOrdersRequest::setApplyType(const std::string &applyType) {
|
||||
applyType_ = applyType;
|
||||
setParameter(std::string("ApplyType"), applyType);
|
||||
}
|
||||
|
||||
int ListPermissionApplyOrdersRequest::getWorkspaceId() const {
|
||||
return workspaceId_;
|
||||
}
|
||||
|
||||
@@ -1,54 +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/MountDirectoryRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::MountDirectoryRequest;
|
||||
|
||||
MountDirectoryRequest::MountDirectoryRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "MountDirectory") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
MountDirectoryRequest::~MountDirectoryRequest() {}
|
||||
|
||||
std::string MountDirectoryRequest::getTargetType() const {
|
||||
return targetType_;
|
||||
}
|
||||
|
||||
void MountDirectoryRequest::setTargetType(const std::string &targetType) {
|
||||
targetType_ = targetType;
|
||||
setBodyParameter(std::string("TargetType"), targetType);
|
||||
}
|
||||
|
||||
std::string MountDirectoryRequest::getTargetId() const {
|
||||
return targetId_;
|
||||
}
|
||||
|
||||
void MountDirectoryRequest::setTargetId(const std::string &targetId) {
|
||||
targetId_ = targetId;
|
||||
setBodyParameter(std::string("TargetId"), targetId);
|
||||
}
|
||||
|
||||
std::string MountDirectoryRequest::getTargetUserId() const {
|
||||
return targetUserId_;
|
||||
}
|
||||
|
||||
void MountDirectoryRequest::setTargetUserId(const std::string &targetUserId) {
|
||||
targetUserId_ = targetUserId;
|
||||
setBodyParameter(std::string("TargetUserId"), targetUserId);
|
||||
}
|
||||
|
||||
@@ -1,79 +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/MountDirectoryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
MountDirectoryResult::MountDirectoryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
MountDirectoryResult::MountDirectoryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
MountDirectoryResult::~MountDirectoryResult()
|
||||
{}
|
||||
|
||||
void MountDirectoryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = std::stoi(value["Data"].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();
|
||||
|
||||
}
|
||||
|
||||
int MountDirectoryResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
int MountDirectoryResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string MountDirectoryResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string MountDirectoryResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool MountDirectoryResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,81 +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/RevokeColumnPermissionRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::RevokeColumnPermissionRequest;
|
||||
|
||||
RevokeColumnPermissionRequest::RevokeColumnPermissionRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "RevokeColumnPermission") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RevokeColumnPermissionRequest::~RevokeColumnPermissionRequest() {}
|
||||
|
||||
std::string RevokeColumnPermissionRequest::getRevokeUserName() const {
|
||||
return revokeUserName_;
|
||||
}
|
||||
|
||||
void RevokeColumnPermissionRequest::setRevokeUserName(const std::string &revokeUserName) {
|
||||
revokeUserName_ = revokeUserName;
|
||||
setParameter(std::string("RevokeUserName"), revokeUserName);
|
||||
}
|
||||
|
||||
std::string RevokeColumnPermissionRequest::getMaxComputeProjectName() const {
|
||||
return maxComputeProjectName_;
|
||||
}
|
||||
|
||||
void RevokeColumnPermissionRequest::setMaxComputeProjectName(const std::string &maxComputeProjectName) {
|
||||
maxComputeProjectName_ = maxComputeProjectName;
|
||||
setParameter(std::string("MaxComputeProjectName"), maxComputeProjectName);
|
||||
}
|
||||
|
||||
std::string RevokeColumnPermissionRequest::getColumns() const {
|
||||
return columns_;
|
||||
}
|
||||
|
||||
void RevokeColumnPermissionRequest::setColumns(const std::string &columns) {
|
||||
columns_ = columns;
|
||||
setParameter(std::string("Columns"), columns);
|
||||
}
|
||||
|
||||
std::string RevokeColumnPermissionRequest::getRevokeUserId() const {
|
||||
return revokeUserId_;
|
||||
}
|
||||
|
||||
void RevokeColumnPermissionRequest::setRevokeUserId(const std::string &revokeUserId) {
|
||||
revokeUserId_ = revokeUserId;
|
||||
setParameter(std::string("RevokeUserId"), revokeUserId);
|
||||
}
|
||||
|
||||
std::string RevokeColumnPermissionRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void RevokeColumnPermissionRequest::setTableName(const std::string &tableName) {
|
||||
tableName_ = tableName;
|
||||
setParameter(std::string("TableName"), tableName);
|
||||
}
|
||||
|
||||
long RevokeColumnPermissionRequest::getWorkspaceId() const {
|
||||
return workspaceId_;
|
||||
}
|
||||
|
||||
void RevokeColumnPermissionRequest::setWorkspaceId(long workspaceId) {
|
||||
workspaceId_ = workspaceId;
|
||||
setParameter(std::string("WorkspaceId"), std::to_string(workspaceId));
|
||||
}
|
||||
|
||||
@@ -1,51 +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/RevokeColumnPermissionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
RevokeColumnPermissionResult::RevokeColumnPermissionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RevokeColumnPermissionResult::RevokeColumnPermissionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RevokeColumnPermissionResult::~RevokeColumnPermissionResult()
|
||||
{}
|
||||
|
||||
void RevokeColumnPermissionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["RevokeSuccess"].isNull())
|
||||
revokeSuccess_ = value["RevokeSuccess"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool RevokeColumnPermissionResult::getRevokeSuccess()const
|
||||
{
|
||||
return revokeSuccess_;
|
||||
}
|
||||
|
||||
@@ -1,54 +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/UmountDirectoryRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::UmountDirectoryRequest;
|
||||
|
||||
UmountDirectoryRequest::UmountDirectoryRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "UmountDirectory") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UmountDirectoryRequest::~UmountDirectoryRequest() {}
|
||||
|
||||
std::string UmountDirectoryRequest::getTargetType() const {
|
||||
return targetType_;
|
||||
}
|
||||
|
||||
void UmountDirectoryRequest::setTargetType(const std::string &targetType) {
|
||||
targetType_ = targetType;
|
||||
setBodyParameter(std::string("TargetType"), targetType);
|
||||
}
|
||||
|
||||
std::string UmountDirectoryRequest::getTargetId() const {
|
||||
return targetId_;
|
||||
}
|
||||
|
||||
void UmountDirectoryRequest::setTargetId(const std::string &targetId) {
|
||||
targetId_ = targetId;
|
||||
setBodyParameter(std::string("TargetId"), targetId);
|
||||
}
|
||||
|
||||
std::string UmountDirectoryRequest::getTargetUserId() const {
|
||||
return targetUserId_;
|
||||
}
|
||||
|
||||
void UmountDirectoryRequest::setTargetUserId(const std::string &targetUserId) {
|
||||
targetUserId_ = targetUserId;
|
||||
setBodyParameter(std::string("TargetUserId"), targetUserId);
|
||||
}
|
||||
|
||||
@@ -1,79 +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/UmountDirectoryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
UmountDirectoryResult::UmountDirectoryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UmountDirectoryResult::UmountDirectoryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UmountDirectoryResult::~UmountDirectoryResult()
|
||||
{}
|
||||
|
||||
void UmountDirectoryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = std::stoi(value["Data"].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();
|
||||
|
||||
}
|
||||
|
||||
int UmountDirectoryResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
int UmountDirectoryResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string UmountDirectoryResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string UmountDirectoryResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool UmountDirectoryResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,15 @@ void UpdateFileRequest::setOutputList(const std::string &outputList) {
|
||||
setBodyParameter(std::string("OutputList"), outputList);
|
||||
}
|
||||
|
||||
std::string UpdateFileRequest::getImageId() const {
|
||||
return imageId_;
|
||||
}
|
||||
|
||||
void UpdateFileRequest::setImageId(const std::string &imageId) {
|
||||
imageId_ = imageId;
|
||||
setBodyParameter(std::string("ImageId"), imageId);
|
||||
}
|
||||
|
||||
std::string UpdateFileRequest::getDependentNodeIdList() const {
|
||||
return dependentNodeIdList_;
|
||||
}
|
||||
@@ -61,6 +70,15 @@ void UpdateFileRequest::setProjectIdentifier(const std::string &projectIdentifie
|
||||
setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
|
||||
}
|
||||
|
||||
int UpdateFileRequest::getTimeout() const {
|
||||
return timeout_;
|
||||
}
|
||||
|
||||
void UpdateFileRequest::setTimeout(int timeout) {
|
||||
timeout_ = timeout;
|
||||
setBodyParameter(std::string("Timeout"), std::to_string(timeout));
|
||||
}
|
||||
|
||||
bool UpdateFileRequest::getStartImmediately() const {
|
||||
return startImmediately_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user