Generated 2020-05-18 for dataworks-public.

This commit is contained in:
sdk-team
2023-01-05 07:54:43 +00:00
parent 1b91dcfc91
commit 35aa024193
20 changed files with 637 additions and 85 deletions

View File

@@ -410,6 +410,8 @@
#include "model/ListTableThemeResult.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"
@@ -468,6 +470,8 @@
#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"
@@ -1111,6 +1115,9 @@ 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;
@@ -1198,6 +1205,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::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;
@@ -1863,6 +1873,9 @@ 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;
@@ -1950,6 +1963,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;
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;

View File

@@ -42,24 +42,24 @@ public:
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);
std::string getNodeIds() const;
void setNodeIds(const std::string &nodeIds);
private:
std::string owner_;
int alertMarginThreshold_;
std::vector<OvertimeSettings> overtimeSettings_;
int priority_;
std::string taskIds_;
std::string baselineType_;
std::string baselineName_;
long projectId_;
std::string nodeIds_;
};
} // namespace Model
} // namespace Dataworks_public

View File

@@ -32,24 +32,24 @@ public:
~CreateBusinessRequest();
std::string getOwner() const;
void setOwner(const std::string &owner);
std::string getBusinessName() const;
void setBusinessName(const std::string &businessName);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getProjectIdentifier() const;
void setProjectIdentifier(const std::string &projectIdentifier);
std::string getBusinessName() const;
void setBusinessName(const std::string &businessName);
long getProjectId() const;
void setProjectId(long projectId);
std::string getUseType() const;
void setUseType(const std::string &useType);
std::string getProjectIdentifier() const;
void setProjectIdentifier(const std::string &projectIdentifier);
private:
std::string owner_;
std::string businessName_;
std::string description_;
std::string projectIdentifier_;
std::string businessName_;
long projectId_;
std::string useType_;
std::string projectIdentifier_;
};
} // namespace Model
} // namespace Dataworks_public

View 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.
*/
#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);
private:
std::string targetType_;
std::string targetId_;
};
} // namespace Model
} // namespace Dataworks_public
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_MOUNTDIRECTORYREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View 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.
*/
#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);
private:
std::string targetType_;
std::string targetId_;
};
} // namespace Model
} // namespace Dataworks_public
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UMOUNTDIRECTORYREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UMOUNTDIRECTORYRESULT_H_
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UMOUNTDIRECTORYRESULT_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 UmountDirectoryResult : public ServiceResult
{
public:
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;
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_UMOUNTDIRECTORYRESULT_H_

View File

@@ -58,16 +58,14 @@ public:
~UpdateBaselineRequest();
std::string getOwner() const;
void setOwner(const std::string &owner);
std::string getRemoveNodeIds() const;
void setRemoveNodeIds(const std::string &removeNodeIds);
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;
@@ -82,14 +80,15 @@ public:
void setBaselineName(const std::string &baselineName);
long getProjectId() const;
void setProjectId(long projectId);
std::string getNodeIds() const;
void setNodeIds(const std::string &nodeIds);
private:
std::string owner_;
std::string removeNodeIds_;
int alertMarginThreshold_;
std::string removeTaskIds_;
std::vector<OvertimeSettings> overtimeSettings_;
int priority_;
std::string taskIds_;
long baselineId_;
bool enabled_;
std::string baselineType_;
@@ -97,6 +96,7 @@ private:
std::vector<AlertSettings> alertSettings_;
std::string baselineName_;
long projectId_;
std::string nodeIds_;
};
} // namespace Model
} // namespace Dataworks_public

View File

@@ -34,22 +34,22 @@ public:
void setOwner(const std::string &owner);
long getBusinessId() const;
void setBusinessId(long businessId);
std::string getBusinessName() const;
void setBusinessName(const std::string &businessName);
std::string getDescription() const;
void setDescription(const std::string &description);
long getProjectId() const;
void setProjectId(long projectId);
std::string getProjectIdentifier() const;
void setProjectIdentifier(const std::string &projectIdentifier);
std::string getBusinessName() const;
void setBusinessName(const std::string &businessName);
long getProjectId() const;
void setProjectId(long projectId);
private:
std::string owner_;
long businessId_;
std::string businessName_;
std::string description_;
long projectId_;
std::string projectIdentifier_;
std::string businessName_;
long projectId_;
};
} // namespace Model
} // namespace Dataworks_public