Generated 2020-05-18 for dataworks-public.

This commit is contained in:
sdk-team
2022-05-30 03:39:18 +00:00
parent 168f87689b
commit ac8fcb80f0
555 changed files with 23168 additions and 23174 deletions

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h>
using AlibabaCloud::Dataworks_public::Model::AbolishDataServiceApiRequest;
AbolishDataServiceApiRequest::AbolishDataServiceApiRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "AbolishDataServiceApi")
{
setMethod(HttpRequest::Method::Post);
}
AbolishDataServiceApiRequest::~AbolishDataServiceApiRequest()
{}
long AbolishDataServiceApiRequest::getTenantId()const
{
return tenantId_;
*/
#include <alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h>
using AlibabaCloud::Dataworks_public::Model::AbolishDataServiceApiRequest;
AbolishDataServiceApiRequest::AbolishDataServiceApiRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "AbolishDataServiceApi") {
setMethod(HttpRequest::Method::Post);
}
void AbolishDataServiceApiRequest::setTenantId(long tenantId)
{
tenantId_ = tenantId;
setBodyParameter("TenantId", std::to_string(tenantId));
AbolishDataServiceApiRequest::~AbolishDataServiceApiRequest() {}
long AbolishDataServiceApiRequest::getTenantId() const {
return tenantId_;
}
long AbolishDataServiceApiRequest::getProjectId()const
{
return projectId_;
void AbolishDataServiceApiRequest::setTenantId(long tenantId) {
tenantId_ = tenantId;
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
}
void AbolishDataServiceApiRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long AbolishDataServiceApiRequest::getProjectId() const {
return projectId_;
}
long AbolishDataServiceApiRequest::getApiId()const
{
return apiId_;
void AbolishDataServiceApiRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void AbolishDataServiceApiRequest::setApiId(long apiId)
{
apiId_ = apiId;
setBodyParameter("ApiId", std::to_string(apiId));
long AbolishDataServiceApiRequest::getApiId() const {
return apiId_;
}
void AbolishDataServiceApiRequest::setApiId(long apiId) {
apiId_ = apiId;
setBodyParameter(std::string("ApiId"), std::to_string(apiId));
}

View File

@@ -39,14 +39,14 @@ void AbolishDataServiceApiResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString() == "true";
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString() == "true";
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";

View File

@@ -1,73 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h>
using AlibabaCloud::Dataworks_public::Model::AddProjectMemberToRoleRequest;
AddProjectMemberToRoleRequest::AddProjectMemberToRoleRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "AddProjectMemberToRole")
{
setMethod(HttpRequest::Method::Post);
}
AddProjectMemberToRoleRequest::~AddProjectMemberToRoleRequest()
{}
std::string AddProjectMemberToRoleRequest::getRoleCode()const
{
return roleCode_;
*/
#include <alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h>
using AlibabaCloud::Dataworks_public::Model::AddProjectMemberToRoleRequest;
AddProjectMemberToRoleRequest::AddProjectMemberToRoleRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "AddProjectMemberToRole") {
setMethod(HttpRequest::Method::Post);
}
void AddProjectMemberToRoleRequest::setRoleCode(const std::string& roleCode)
{
roleCode_ = roleCode;
setParameter("RoleCode", roleCode);
AddProjectMemberToRoleRequest::~AddProjectMemberToRoleRequest() {}
std::string AddProjectMemberToRoleRequest::getRoleCode() const {
return roleCode_;
}
std::string AddProjectMemberToRoleRequest::getClientToken()const
{
return clientToken_;
void AddProjectMemberToRoleRequest::setRoleCode(const std::string &roleCode) {
roleCode_ = roleCode;
setParameter(std::string("RoleCode"), roleCode);
}
void AddProjectMemberToRoleRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
std::string AddProjectMemberToRoleRequest::getClientToken() const {
return clientToken_;
}
long AddProjectMemberToRoleRequest::getProjectId()const
{
return projectId_;
void AddProjectMemberToRoleRequest::setClientToken(const std::string &clientToken) {
clientToken_ = clientToken;
setParameter(std::string("ClientToken"), clientToken);
}
void AddProjectMemberToRoleRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long AddProjectMemberToRoleRequest::getProjectId() const {
return projectId_;
}
std::string AddProjectMemberToRoleRequest::getUserId()const
{
return userId_;
void AddProjectMemberToRoleRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}
void AddProjectMemberToRoleRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setParameter("UserId", userId);
std::string AddProjectMemberToRoleRequest::getUserId() const {
return userId_;
}
void AddProjectMemberToRoleRequest::setUserId(const std::string &userId) {
userId_ = userId;
setParameter(std::string("UserId"), userId);
}

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h>
using AlibabaCloud::Dataworks_public::Model::AddToMetaCategoryRequest;
AddToMetaCategoryRequest::AddToMetaCategoryRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "AddToMetaCategory")
{
setMethod(HttpRequest::Method::Post);
}
AddToMetaCategoryRequest::~AddToMetaCategoryRequest()
{}
std::string AddToMetaCategoryRequest::getTableGuid()const
{
return tableGuid_;
*/
#include <alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h>
using AlibabaCloud::Dataworks_public::Model::AddToMetaCategoryRequest;
AddToMetaCategoryRequest::AddToMetaCategoryRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "AddToMetaCategory") {
setMethod(HttpRequest::Method::Post);
}
void AddToMetaCategoryRequest::setTableGuid(const std::string& tableGuid)
{
tableGuid_ = tableGuid;
setParameter("TableGuid", tableGuid);
AddToMetaCategoryRequest::~AddToMetaCategoryRequest() {}
std::string AddToMetaCategoryRequest::getTableGuid() const {
return tableGuid_;
}
long AddToMetaCategoryRequest::getCategoryId()const
{
return categoryId_;
void AddToMetaCategoryRequest::setTableGuid(const std::string &tableGuid) {
tableGuid_ = tableGuid;
setParameter(std::string("TableGuid"), tableGuid);
}
void AddToMetaCategoryRequest::setCategoryId(long categoryId)
{
categoryId_ = categoryId;
setParameter("CategoryId", std::to_string(categoryId));
long AddToMetaCategoryRequest::getCategoryId() const {
return categoryId_;
}
void AddToMetaCategoryRequest::setCategoryId(long categoryId) {
categoryId_ = categoryId;
setParameter(std::string("CategoryId"), std::to_string(categoryId));
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderRequest.h>
using AlibabaCloud::Dataworks_public::Model::ApprovePermissionApplyOrderRequest;
ApprovePermissionApplyOrderRequest::ApprovePermissionApplyOrderRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "ApprovePermissionApplyOrder")
{
setMethod(HttpRequest::Method::Post);
}
ApprovePermissionApplyOrderRequest::~ApprovePermissionApplyOrderRequest()
{}
std::string ApprovePermissionApplyOrderRequest::getFlowId()const
{
return flowId_;
*/
#include <alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderRequest.h>
using AlibabaCloud::Dataworks_public::Model::ApprovePermissionApplyOrderRequest;
ApprovePermissionApplyOrderRequest::ApprovePermissionApplyOrderRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "ApprovePermissionApplyOrder") {
setMethod(HttpRequest::Method::Post);
}
void ApprovePermissionApplyOrderRequest::setFlowId(const std::string& flowId)
{
flowId_ = flowId;
setParameter("FlowId", flowId);
ApprovePermissionApplyOrderRequest::~ApprovePermissionApplyOrderRequest() {}
std::string ApprovePermissionApplyOrderRequest::getFlowId() const {
return flowId_;
}
std::string ApprovePermissionApplyOrderRequest::getApproveComment()const
{
return approveComment_;
void ApprovePermissionApplyOrderRequest::setFlowId(const std::string &flowId) {
flowId_ = flowId;
setParameter(std::string("FlowId"), flowId);
}
void ApprovePermissionApplyOrderRequest::setApproveComment(const std::string& approveComment)
{
approveComment_ = approveComment;
setParameter("ApproveComment", approveComment);
std::string ApprovePermissionApplyOrderRequest::getApproveComment() const {
return approveComment_;
}
int ApprovePermissionApplyOrderRequest::getApproveAction()const
{
return approveAction_;
void ApprovePermissionApplyOrderRequest::setApproveComment(const std::string &approveComment) {
approveComment_ = approveComment;
setParameter(std::string("ApproveComment"), approveComment);
}
void ApprovePermissionApplyOrderRequest::setApproveAction(int approveAction)
{
approveAction_ = approveAction;
setParameter("ApproveAction", std::to_string(approveAction));
int ApprovePermissionApplyOrderRequest::getApproveAction() const {
return approveAction_;
}
void ApprovePermissionApplyOrderRequest::setApproveAction(int approveAction) {
approveAction_ = approveAction;
setParameter(std::string("ApproveAction"), std::to_string(approveAction));
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CheckFileDeploymentRequest.h>
using AlibabaCloud::Dataworks_public::Model::CheckFileDeploymentRequest;
CheckFileDeploymentRequest::CheckFileDeploymentRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CheckFileDeployment")
{
setMethod(HttpRequest::Method::Post);
}
CheckFileDeploymentRequest::~CheckFileDeploymentRequest()
{}
std::string CheckFileDeploymentRequest::getCheckDetailUrl()const
{
return checkDetailUrl_;
*/
#include <alibabacloud/dataworks-public/model/CheckFileDeploymentRequest.h>
using AlibabaCloud::Dataworks_public::Model::CheckFileDeploymentRequest;
CheckFileDeploymentRequest::CheckFileDeploymentRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CheckFileDeployment") {
setMethod(HttpRequest::Method::Post);
}
void CheckFileDeploymentRequest::setCheckDetailUrl(const std::string& checkDetailUrl)
{
checkDetailUrl_ = checkDetailUrl;
setBodyParameter("CheckDetailUrl", checkDetailUrl);
CheckFileDeploymentRequest::~CheckFileDeploymentRequest() {}
std::string CheckFileDeploymentRequest::getCheckDetailUrl() const {
return checkDetailUrl_;
}
std::string CheckFileDeploymentRequest::getCheckerInstanceId()const
{
return checkerInstanceId_;
void CheckFileDeploymentRequest::setCheckDetailUrl(const std::string &checkDetailUrl) {
checkDetailUrl_ = checkDetailUrl;
setBodyParameter(std::string("CheckDetailUrl"), checkDetailUrl);
}
void CheckFileDeploymentRequest::setCheckerInstanceId(const std::string& checkerInstanceId)
{
checkerInstanceId_ = checkerInstanceId;
setBodyParameter("CheckerInstanceId", checkerInstanceId);
std::string CheckFileDeploymentRequest::getCheckerInstanceId() const {
return checkerInstanceId_;
}
std::string CheckFileDeploymentRequest::getStatus()const
{
return status_;
void CheckFileDeploymentRequest::setCheckerInstanceId(const std::string &checkerInstanceId) {
checkerInstanceId_ = checkerInstanceId;
setBodyParameter(std::string("CheckerInstanceId"), checkerInstanceId);
}
void CheckFileDeploymentRequest::setStatus(const std::string& status)
{
status_ = status;
setBodyParameter("Status", status);
std::string CheckFileDeploymentRequest::getStatus() const {
return status_;
}
void CheckFileDeploymentRequest::setStatus(const std::string &status) {
status_ = status;
setBodyParameter(std::string("Status"), status);
}

View File

@@ -1,95 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h>
using AlibabaCloud::Dataworks_public::Model::CheckMetaPartitionRequest;
CheckMetaPartitionRequest::CheckMetaPartitionRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CheckMetaPartition")
{
setMethod(HttpRequest::Method::Post);
}
CheckMetaPartitionRequest::~CheckMetaPartitionRequest()
{}
std::string CheckMetaPartitionRequest::getDataSourceType()const
{
return dataSourceType_;
*/
#include <alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h>
using AlibabaCloud::Dataworks_public::Model::CheckMetaPartitionRequest;
CheckMetaPartitionRequest::CheckMetaPartitionRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CheckMetaPartition") {
setMethod(HttpRequest::Method::Post);
}
void CheckMetaPartitionRequest::setDataSourceType(const std::string& dataSourceType)
{
dataSourceType_ = dataSourceType;
setParameter("DataSourceType", dataSourceType);
CheckMetaPartitionRequest::~CheckMetaPartitionRequest() {}
std::string CheckMetaPartitionRequest::getDataSourceType() const {
return dataSourceType_;
}
std::string CheckMetaPartitionRequest::getPartition()const
{
return partition_;
void CheckMetaPartitionRequest::setDataSourceType(const std::string &dataSourceType) {
dataSourceType_ = dataSourceType;
setParameter(std::string("DataSourceType"), dataSourceType);
}
void CheckMetaPartitionRequest::setPartition(const std::string& partition)
{
partition_ = partition;
setParameter("Partition", partition);
std::string CheckMetaPartitionRequest::getPartition() const {
return partition_;
}
std::string CheckMetaPartitionRequest::getTableGuid()const
{
return tableGuid_;
void CheckMetaPartitionRequest::setPartition(const std::string &partition) {
partition_ = partition;
setParameter(std::string("Partition"), partition);
}
void CheckMetaPartitionRequest::setTableGuid(const std::string& tableGuid)
{
tableGuid_ = tableGuid;
setParameter("TableGuid", tableGuid);
std::string CheckMetaPartitionRequest::getTableGuid() const {
return tableGuid_;
}
std::string CheckMetaPartitionRequest::getDatabaseName()const
{
return databaseName_;
void CheckMetaPartitionRequest::setTableGuid(const std::string &tableGuid) {
tableGuid_ = tableGuid;
setParameter(std::string("TableGuid"), tableGuid);
}
void CheckMetaPartitionRequest::setDatabaseName(const std::string& databaseName)
{
databaseName_ = databaseName;
setParameter("DatabaseName", databaseName);
std::string CheckMetaPartitionRequest::getDatabaseName() const {
return databaseName_;
}
std::string CheckMetaPartitionRequest::getClusterId()const
{
return clusterId_;
void CheckMetaPartitionRequest::setDatabaseName(const std::string &databaseName) {
databaseName_ = databaseName;
setParameter(std::string("DatabaseName"), databaseName);
}
void CheckMetaPartitionRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
std::string CheckMetaPartitionRequest::getClusterId() const {
return clusterId_;
}
std::string CheckMetaPartitionRequest::getTableName()const
{
return tableName_;
void CheckMetaPartitionRequest::setClusterId(const std::string &clusterId) {
clusterId_ = clusterId;
setParameter(std::string("ClusterId"), clusterId);
}
void CheckMetaPartitionRequest::setTableName(const std::string& tableName)
{
tableName_ = tableName;
setParameter("TableName", tableName);
std::string CheckMetaPartitionRequest::getTableName() const {
return tableName_;
}
void CheckMetaPartitionRequest::setTableName(const std::string &tableName) {
tableName_ = tableName;
setParameter(std::string("TableName"), tableName);
}

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CheckMetaTableRequest.h>
using AlibabaCloud::Dataworks_public::Model::CheckMetaTableRequest;
CheckMetaTableRequest::CheckMetaTableRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CheckMetaTable")
{
setMethod(HttpRequest::Method::Post);
}
CheckMetaTableRequest::~CheckMetaTableRequest()
{}
std::string CheckMetaTableRequest::getDataSourceType()const
{
return dataSourceType_;
*/
#include <alibabacloud/dataworks-public/model/CheckMetaTableRequest.h>
using AlibabaCloud::Dataworks_public::Model::CheckMetaTableRequest;
CheckMetaTableRequest::CheckMetaTableRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CheckMetaTable") {
setMethod(HttpRequest::Method::Post);
}
void CheckMetaTableRequest::setDataSourceType(const std::string& dataSourceType)
{
dataSourceType_ = dataSourceType;
setParameter("DataSourceType", dataSourceType);
CheckMetaTableRequest::~CheckMetaTableRequest() {}
std::string CheckMetaTableRequest::getDataSourceType() const {
return dataSourceType_;
}
std::string CheckMetaTableRequest::getTableGuid()const
{
return tableGuid_;
void CheckMetaTableRequest::setDataSourceType(const std::string &dataSourceType) {
dataSourceType_ = dataSourceType;
setParameter(std::string("DataSourceType"), dataSourceType);
}
void CheckMetaTableRequest::setTableGuid(const std::string& tableGuid)
{
tableGuid_ = tableGuid;
setParameter("TableGuid", tableGuid);
std::string CheckMetaTableRequest::getTableGuid() const {
return tableGuid_;
}
std::string CheckMetaTableRequest::getDatabaseName()const
{
return databaseName_;
void CheckMetaTableRequest::setTableGuid(const std::string &tableGuid) {
tableGuid_ = tableGuid;
setParameter(std::string("TableGuid"), tableGuid);
}
void CheckMetaTableRequest::setDatabaseName(const std::string& databaseName)
{
databaseName_ = databaseName;
setParameter("DatabaseName", databaseName);
std::string CheckMetaTableRequest::getDatabaseName() const {
return databaseName_;
}
std::string CheckMetaTableRequest::getClusterId()const
{
return clusterId_;
void CheckMetaTableRequest::setDatabaseName(const std::string &databaseName) {
databaseName_ = databaseName;
setParameter(std::string("DatabaseName"), databaseName);
}
void CheckMetaTableRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
std::string CheckMetaTableRequest::getClusterId() const {
return clusterId_;
}
std::string CheckMetaTableRequest::getTableName()const
{
return tableName_;
void CheckMetaTableRequest::setClusterId(const std::string &clusterId) {
clusterId_ = clusterId;
setParameter(std::string("ClusterId"), clusterId);
}
void CheckMetaTableRequest::setTableName(const std::string& tableName)
{
tableName_ = tableName;
setParameter("TableName", tableName);
std::string CheckMetaTableRequest::getTableName() const {
return tableName_;
}
void CheckMetaTableRequest::setTableName(const std::string &tableName) {
tableName_ = tableName;
setParameter(std::string("TableName"), tableName);
}

View File

@@ -1,95 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateBusinessRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateBusinessRequest;
CreateBusinessRequest::CreateBusinessRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateBusiness")
{
setMethod(HttpRequest::Method::Post);
}
CreateBusinessRequest::~CreateBusinessRequest()
{}
std::string CreateBusinessRequest::getOwner()const
{
return owner_;
*/
#include <alibabacloud/dataworks-public/model/CreateBusinessRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateBusinessRequest;
CreateBusinessRequest::CreateBusinessRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateBusiness") {
setMethod(HttpRequest::Method::Post);
}
void CreateBusinessRequest::setOwner(const std::string& owner)
{
owner_ = owner;
setBodyParameter("Owner", owner);
CreateBusinessRequest::~CreateBusinessRequest() {}
std::string CreateBusinessRequest::getOwner() const {
return owner_;
}
std::string CreateBusinessRequest::getBusinessName()const
{
return businessName_;
void CreateBusinessRequest::setOwner(const std::string &owner) {
owner_ = owner;
setBodyParameter(std::string("Owner"), owner);
}
void CreateBusinessRequest::setBusinessName(const std::string& businessName)
{
businessName_ = businessName;
setBodyParameter("BusinessName", businessName);
std::string CreateBusinessRequest::getBusinessName() const {
return businessName_;
}
std::string CreateBusinessRequest::getDescription()const
{
return description_;
void CreateBusinessRequest::setBusinessName(const std::string &businessName) {
businessName_ = businessName;
setBodyParameter(std::string("BusinessName"), businessName);
}
void CreateBusinessRequest::setDescription(const std::string& description)
{
description_ = description;
setBodyParameter("Description", description);
std::string CreateBusinessRequest::getDescription() const {
return description_;
}
long CreateBusinessRequest::getProjectId()const
{
return projectId_;
void CreateBusinessRequest::setDescription(const std::string &description) {
description_ = description;
setBodyParameter(std::string("Description"), description);
}
void CreateBusinessRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long CreateBusinessRequest::getProjectId() const {
return projectId_;
}
std::string CreateBusinessRequest::getUseType()const
{
return useType_;
void CreateBusinessRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void CreateBusinessRequest::setUseType(const std::string& useType)
{
useType_ = useType;
setBodyParameter("UseType", useType);
std::string CreateBusinessRequest::getUseType() const {
return useType_;
}
std::string CreateBusinessRequest::getProjectIdentifier()const
{
return projectIdentifier_;
void CreateBusinessRequest::setUseType(const std::string &useType) {
useType_ = useType;
setBodyParameter(std::string("UseType"), useType);
}
void CreateBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier)
{
projectIdentifier_ = projectIdentifier;
setBodyParameter("ProjectIdentifier", projectIdentifier);
std::string CreateBusinessRequest::getProjectIdentifier() const {
return projectIdentifier_;
}
void CreateBusinessRequest::setProjectIdentifier(const std::string &projectIdentifier) {
projectIdentifier_ = projectIdentifier;
setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
}

View File

@@ -1,106 +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/CreateConnectionRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateConnectionRequest;
CreateConnectionRequest::CreateConnectionRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateConnection")
{
setMethod(HttpRequest::Method::Post);
}
CreateConnectionRequest::~CreateConnectionRequest()
{}
std::string CreateConnectionRequest::getDescription()const
{
return description_;
*/
#include <alibabacloud/dataworks-public/model/CreateConnectionRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateConnectionRequest;
CreateConnectionRequest::CreateConnectionRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateConnection") {
setMethod(HttpRequest::Method::Post);
}
void CreateConnectionRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
CreateConnectionRequest::~CreateConnectionRequest() {}
std::string CreateConnectionRequest::getDescription() const {
return description_;
}
std::string CreateConnectionRequest::getContent()const
{
return content_;
void CreateConnectionRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
void CreateConnectionRequest::setContent(const std::string& content)
{
content_ = content;
setParameter("Content", content);
std::string CreateConnectionRequest::getContent() const {
return content_;
}
std::string CreateConnectionRequest::getSubType()const
{
return subType_;
void CreateConnectionRequest::setContent(const std::string &content) {
content_ = content;
setParameter(std::string("Content"), content);
}
void CreateConnectionRequest::setSubType(const std::string& subType)
{
subType_ = subType;
setParameter("SubType", subType);
std::string CreateConnectionRequest::getSubType() const {
return subType_;
}
std::string CreateConnectionRequest::getName()const
{
return name_;
void CreateConnectionRequest::setSubType(const std::string &subType) {
subType_ = subType;
setParameter(std::string("SubType"), subType);
}
void CreateConnectionRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
std::string CreateConnectionRequest::getName() const {
return name_;
}
int CreateConnectionRequest::getEnvType()const
{
return envType_;
void CreateConnectionRequest::setName(const std::string &name) {
name_ = name;
setParameter(std::string("Name"), name);
}
void CreateConnectionRequest::setEnvType(int envType)
{
envType_ = envType;
setParameter("EnvType", std::to_string(envType));
int CreateConnectionRequest::getEnvType() const {
return envType_;
}
std::string CreateConnectionRequest::getConnectionType()const
{
return connectionType_;
void CreateConnectionRequest::setEnvType(int envType) {
envType_ = envType;
setParameter(std::string("EnvType"), std::to_string(envType));
}
void CreateConnectionRequest::setConnectionType(const std::string& connectionType)
{
connectionType_ = connectionType;
setParameter("ConnectionType", connectionType);
std::string CreateConnectionRequest::getConnectionType() const {
return connectionType_;
}
long CreateConnectionRequest::getProjectId()const
{
return projectId_;
void CreateConnectionRequest::setConnectionType(const std::string &connectionType) {
connectionType_ = connectionType;
setParameter(std::string("ConnectionType"), connectionType);
}
void CreateConnectionRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long CreateConnectionRequest::getProjectId() const {
return projectId_;
}
void CreateConnectionRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -1,95 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateDISyncTaskRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateDISyncTaskRequest;
CreateDISyncTaskRequest::CreateDISyncTaskRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDISyncTask")
{
setMethod(HttpRequest::Method::Post);
}
CreateDISyncTaskRequest::~CreateDISyncTaskRequest()
{}
std::string CreateDISyncTaskRequest::getTaskType()const
{
return taskType_;
*/
#include <alibabacloud/dataworks-public/model/CreateDISyncTaskRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateDISyncTaskRequest;
CreateDISyncTaskRequest::CreateDISyncTaskRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDISyncTask") {
setMethod(HttpRequest::Method::Post);
}
void CreateDISyncTaskRequest::setTaskType(const std::string& taskType)
{
taskType_ = taskType;
setParameter("TaskType", taskType);
CreateDISyncTaskRequest::~CreateDISyncTaskRequest() {}
std::string CreateDISyncTaskRequest::getTaskType() const {
return taskType_;
}
std::string CreateDISyncTaskRequest::getClientToken()const
{
return clientToken_;
void CreateDISyncTaskRequest::setTaskType(const std::string &taskType) {
taskType_ = taskType;
setParameter(std::string("TaskType"), taskType);
}
void CreateDISyncTaskRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
std::string CreateDISyncTaskRequest::getClientToken() const {
return clientToken_;
}
std::string CreateDISyncTaskRequest::getTaskParam()const
{
return taskParam_;
void CreateDISyncTaskRequest::setClientToken(const std::string &clientToken) {
clientToken_ = clientToken;
setParameter(std::string("ClientToken"), clientToken);
}
void CreateDISyncTaskRequest::setTaskParam(const std::string& taskParam)
{
taskParam_ = taskParam;
setParameter("TaskParam", taskParam);
std::string CreateDISyncTaskRequest::getTaskParam() const {
return taskParam_;
}
std::string CreateDISyncTaskRequest::getTaskName()const
{
return taskName_;
void CreateDISyncTaskRequest::setTaskParam(const std::string &taskParam) {
taskParam_ = taskParam;
setParameter(std::string("TaskParam"), taskParam);
}
void CreateDISyncTaskRequest::setTaskName(const std::string& taskName)
{
taskName_ = taskName;
setParameter("TaskName", taskName);
std::string CreateDISyncTaskRequest::getTaskName() const {
return taskName_;
}
std::string CreateDISyncTaskRequest::getTaskContent()const
{
return taskContent_;
void CreateDISyncTaskRequest::setTaskName(const std::string &taskName) {
taskName_ = taskName;
setParameter(std::string("TaskName"), taskName);
}
void CreateDISyncTaskRequest::setTaskContent(const std::string& taskContent)
{
taskContent_ = taskContent;
setParameter("TaskContent", taskContent);
std::string CreateDISyncTaskRequest::getTaskContent() const {
return taskContent_;
}
long CreateDISyncTaskRequest::getProjectId()const
{
return projectId_;
void CreateDISyncTaskRequest::setTaskContent(const std::string &taskContent) {
taskContent_ = taskContent;
setParameter(std::string("TaskContent"), taskContent);
}
void CreateDISyncTaskRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long CreateDISyncTaskRequest::getProjectId() const {
return projectId_;
}
void CreateDISyncTaskRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -1,150 +1,126 @@
/*
* 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/CreateDagComplementRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateDagComplementRequest;
CreateDagComplementRequest::CreateDagComplementRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDagComplement")
{
setMethod(HttpRequest::Method::Post);
}
CreateDagComplementRequest::~CreateDagComplementRequest()
{}
std::string CreateDagComplementRequest::getProjectEnv()const
{
return projectEnv_;
*/
#include <alibabacloud/dataworks-public/model/CreateDagComplementRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateDagComplementRequest;
CreateDagComplementRequest::CreateDagComplementRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDagComplement") {
setMethod(HttpRequest::Method::Post);
}
void CreateDagComplementRequest::setProjectEnv(const std::string& projectEnv)
{
projectEnv_ = projectEnv;
setBodyParameter("ProjectEnv", projectEnv);
CreateDagComplementRequest::~CreateDagComplementRequest() {}
std::string CreateDagComplementRequest::getProjectEnv() const {
return projectEnv_;
}
std::string CreateDagComplementRequest::getStartBizDate()const
{
return startBizDate_;
void CreateDagComplementRequest::setProjectEnv(const std::string &projectEnv) {
projectEnv_ = projectEnv;
setBodyParameter(std::string("ProjectEnv"), projectEnv);
}
void CreateDagComplementRequest::setStartBizDate(const std::string& startBizDate)
{
startBizDate_ = startBizDate;
setBodyParameter("StartBizDate", startBizDate);
std::string CreateDagComplementRequest::getStartBizDate() const {
return startBizDate_;
}
bool CreateDagComplementRequest::getParallelism()const
{
return parallelism_;
void CreateDagComplementRequest::setStartBizDate(const std::string &startBizDate) {
startBizDate_ = startBizDate;
setBodyParameter(std::string("StartBizDate"), startBizDate);
}
void CreateDagComplementRequest::setParallelism(bool parallelism)
{
parallelism_ = parallelism;
setBodyParameter("Parallelism", parallelism ? "true" : "false");
bool CreateDagComplementRequest::getParallelism() const {
return parallelism_;
}
long CreateDagComplementRequest::getRootNodeId()const
{
return rootNodeId_;
void CreateDagComplementRequest::setParallelism(bool parallelism) {
parallelism_ = parallelism;
setBodyParameter(std::string("Parallelism"), parallelism ? "true" : "false");
}
void CreateDagComplementRequest::setRootNodeId(long rootNodeId)
{
rootNodeId_ = rootNodeId;
setBodyParameter("RootNodeId", std::to_string(rootNodeId));
long CreateDagComplementRequest::getRootNodeId() const {
return rootNodeId_;
}
std::string CreateDagComplementRequest::getBizBeginTime()const
{
return bizBeginTime_;
void CreateDagComplementRequest::setRootNodeId(long rootNodeId) {
rootNodeId_ = rootNodeId;
setBodyParameter(std::string("RootNodeId"), std::to_string(rootNodeId));
}
void CreateDagComplementRequest::setBizBeginTime(const std::string& bizBeginTime)
{
bizBeginTime_ = bizBeginTime;
setBodyParameter("BizBeginTime", bizBeginTime);
std::string CreateDagComplementRequest::getBizBeginTime() const {
return bizBeginTime_;
}
std::string CreateDagComplementRequest::getEndBizDate()const
{
return endBizDate_;
void CreateDagComplementRequest::setBizBeginTime(const std::string &bizBeginTime) {
bizBeginTime_ = bizBeginTime;
setBodyParameter(std::string("BizBeginTime"), bizBeginTime);
}
void CreateDagComplementRequest::setEndBizDate(const std::string& endBizDate)
{
endBizDate_ = endBizDate;
setBodyParameter("EndBizDate", endBizDate);
std::string CreateDagComplementRequest::getEndBizDate() const {
return endBizDate_;
}
std::string CreateDagComplementRequest::getIncludeNodeIds()const
{
return includeNodeIds_;
void CreateDagComplementRequest::setEndBizDate(const std::string &endBizDate) {
endBizDate_ = endBizDate;
setBodyParameter(std::string("EndBizDate"), endBizDate);
}
void CreateDagComplementRequest::setIncludeNodeIds(const std::string& includeNodeIds)
{
includeNodeIds_ = includeNodeIds;
setBodyParameter("IncludeNodeIds", includeNodeIds);
std::string CreateDagComplementRequest::getIncludeNodeIds() const {
return includeNodeIds_;
}
std::string CreateDagComplementRequest::getBizEndTime()const
{
return bizEndTime_;
void CreateDagComplementRequest::setIncludeNodeIds(const std::string &includeNodeIds) {
includeNodeIds_ = includeNodeIds;
setBodyParameter(std::string("IncludeNodeIds"), includeNodeIds);
}
void CreateDagComplementRequest::setBizEndTime(const std::string& bizEndTime)
{
bizEndTime_ = bizEndTime;
setBodyParameter("BizEndTime", bizEndTime);
std::string CreateDagComplementRequest::getBizEndTime() const {
return bizEndTime_;
}
std::string CreateDagComplementRequest::getName()const
{
return name_;
void CreateDagComplementRequest::setBizEndTime(const std::string &bizEndTime) {
bizEndTime_ = bizEndTime;
setBodyParameter(std::string("BizEndTime"), bizEndTime);
}
void CreateDagComplementRequest::setName(const std::string& name)
{
name_ = name;
setBodyParameter("Name", name);
std::string CreateDagComplementRequest::getName() const {
return name_;
}
std::string CreateDagComplementRequest::getExcludeNodeIds()const
{
return excludeNodeIds_;
void CreateDagComplementRequest::setName(const std::string &name) {
name_ = name;
setBodyParameter(std::string("Name"), name);
}
void CreateDagComplementRequest::setExcludeNodeIds(const std::string& excludeNodeIds)
{
excludeNodeIds_ = excludeNodeIds;
setBodyParameter("ExcludeNodeIds", excludeNodeIds);
std::string CreateDagComplementRequest::getExcludeNodeIds() const {
return excludeNodeIds_;
}
std::string CreateDagComplementRequest::getNodeParams()const
{
return nodeParams_;
void CreateDagComplementRequest::setExcludeNodeIds(const std::string &excludeNodeIds) {
excludeNodeIds_ = excludeNodeIds;
setBodyParameter(std::string("ExcludeNodeIds"), excludeNodeIds);
}
void CreateDagComplementRequest::setNodeParams(const std::string& nodeParams)
{
nodeParams_ = nodeParams;
setBodyParameter("NodeParams", nodeParams);
std::string CreateDagComplementRequest::getNodeParams() const {
return nodeParams_;
}
void CreateDagComplementRequest::setNodeParams(const std::string &nodeParams) {
nodeParams_ = nodeParams;
setBodyParameter(std::string("NodeParams"), nodeParams);
}

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateDagTestRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateDagTestRequest;
CreateDagTestRequest::CreateDagTestRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDagTest")
{
setMethod(HttpRequest::Method::Post);
}
CreateDagTestRequest::~CreateDagTestRequest()
{}
std::string CreateDagTestRequest::getProjectEnv()const
{
return projectEnv_;
*/
#include <alibabacloud/dataworks-public/model/CreateDagTestRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateDagTestRequest;
CreateDagTestRequest::CreateDagTestRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDagTest") {
setMethod(HttpRequest::Method::Post);
}
void CreateDagTestRequest::setProjectEnv(const std::string& projectEnv)
{
projectEnv_ = projectEnv;
setBodyParameter("ProjectEnv", projectEnv);
CreateDagTestRequest::~CreateDagTestRequest() {}
std::string CreateDagTestRequest::getProjectEnv() const {
return projectEnv_;
}
std::string CreateDagTestRequest::getBizdate()const
{
return bizdate_;
void CreateDagTestRequest::setProjectEnv(const std::string &projectEnv) {
projectEnv_ = projectEnv;
setBodyParameter(std::string("ProjectEnv"), projectEnv);
}
void CreateDagTestRequest::setBizdate(const std::string& bizdate)
{
bizdate_ = bizdate;
setBodyParameter("Bizdate", bizdate);
std::string CreateDagTestRequest::getBizdate() const {
return bizdate_;
}
std::string CreateDagTestRequest::getName()const
{
return name_;
void CreateDagTestRequest::setBizdate(const std::string &bizdate) {
bizdate_ = bizdate;
setBodyParameter(std::string("Bizdate"), bizdate);
}
void CreateDagTestRequest::setName(const std::string& name)
{
name_ = name;
setBodyParameter("Name", name);
std::string CreateDagTestRequest::getName() const {
return name_;
}
std::string CreateDagTestRequest::getNodeParams()const
{
return nodeParams_;
void CreateDagTestRequest::setName(const std::string &name) {
name_ = name;
setBodyParameter(std::string("Name"), name);
}
void CreateDagTestRequest::setNodeParams(const std::string& nodeParams)
{
nodeParams_ = nodeParams;
setBodyParameter("NodeParams", nodeParams);
std::string CreateDagTestRequest::getNodeParams() const {
return nodeParams_;
}
long CreateDagTestRequest::getNodeId()const
{
return nodeId_;
void CreateDagTestRequest::setNodeParams(const std::string &nodeParams) {
nodeParams_ = nodeParams;
setBodyParameter(std::string("NodeParams"), nodeParams);
}
void CreateDagTestRequest::setNodeId(long nodeId)
{
nodeId_ = nodeId;
setBodyParameter("NodeId", std::to_string(nodeId));
long CreateDagTestRequest::getNodeId() const {
return nodeId_;
}
void CreateDagTestRequest::setNodeId(long nodeId) {
nodeId_ = nodeId;
setBodyParameter(std::string("NodeId"), std::to_string(nodeId));
}

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateDataServiceApiAuthorityRequest;
CreateDataServiceApiAuthorityRequest::CreateDataServiceApiAuthorityRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceApiAuthority")
{
setMethod(HttpRequest::Method::Post);
}
CreateDataServiceApiAuthorityRequest::~CreateDataServiceApiAuthorityRequest()
{}
long CreateDataServiceApiAuthorityRequest::getAuthorizedProjectId()const
{
return authorizedProjectId_;
*/
#include <alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateDataServiceApiAuthorityRequest;
CreateDataServiceApiAuthorityRequest::CreateDataServiceApiAuthorityRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceApiAuthority") {
setMethod(HttpRequest::Method::Post);
}
void CreateDataServiceApiAuthorityRequest::setAuthorizedProjectId(long authorizedProjectId)
{
authorizedProjectId_ = authorizedProjectId;
setBodyParameter("AuthorizedProjectId", std::to_string(authorizedProjectId));
CreateDataServiceApiAuthorityRequest::~CreateDataServiceApiAuthorityRequest() {}
long CreateDataServiceApiAuthorityRequest::getAuthorizedProjectId() const {
return authorizedProjectId_;
}
long CreateDataServiceApiAuthorityRequest::getTenantId()const
{
return tenantId_;
void CreateDataServiceApiAuthorityRequest::setAuthorizedProjectId(long authorizedProjectId) {
authorizedProjectId_ = authorizedProjectId;
setBodyParameter(std::string("AuthorizedProjectId"), std::to_string(authorizedProjectId));
}
void CreateDataServiceApiAuthorityRequest::setTenantId(long tenantId)
{
tenantId_ = tenantId;
setBodyParameter("TenantId", std::to_string(tenantId));
long CreateDataServiceApiAuthorityRequest::getTenantId() const {
return tenantId_;
}
long CreateDataServiceApiAuthorityRequest::getEndTime()const
{
return endTime_;
void CreateDataServiceApiAuthorityRequest::setTenantId(long tenantId) {
tenantId_ = tenantId;
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
}
void CreateDataServiceApiAuthorityRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", std::to_string(endTime));
long CreateDataServiceApiAuthorityRequest::getEndTime() const {
return endTime_;
}
long CreateDataServiceApiAuthorityRequest::getProjectId()const
{
return projectId_;
void CreateDataServiceApiAuthorityRequest::setEndTime(long endTime) {
endTime_ = endTime;
setBodyParameter(std::string("EndTime"), std::to_string(endTime));
}
void CreateDataServiceApiAuthorityRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long CreateDataServiceApiAuthorityRequest::getProjectId() const {
return projectId_;
}
long CreateDataServiceApiAuthorityRequest::getApiId()const
{
return apiId_;
void CreateDataServiceApiAuthorityRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void CreateDataServiceApiAuthorityRequest::setApiId(long apiId)
{
apiId_ = apiId;
setBodyParameter("ApiId", std::to_string(apiId));
long CreateDataServiceApiAuthorityRequest::getApiId() const {
return apiId_;
}
void CreateDataServiceApiAuthorityRequest::setApiId(long apiId) {
apiId_ = apiId;
setBodyParameter(std::string("ApiId"), std::to_string(apiId));
}

View File

@@ -1,205 +1,171 @@
/*
* 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/CreateDataServiceApiRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateDataServiceApiRequest;
CreateDataServiceApiRequest::CreateDataServiceApiRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceApi")
{
setMethod(HttpRequest::Method::Post);
}
CreateDataServiceApiRequest::~CreateDataServiceApiRequest()
{}
std::string CreateDataServiceApiRequest::getScriptDetails()const
{
return scriptDetails_;
*/
#include <alibabacloud/dataworks-public/model/CreateDataServiceApiRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateDataServiceApiRequest;
CreateDataServiceApiRequest::CreateDataServiceApiRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceApi") {
setMethod(HttpRequest::Method::Post);
}
void CreateDataServiceApiRequest::setScriptDetails(const std::string& scriptDetails)
{
scriptDetails_ = scriptDetails;
setBodyParameter("ScriptDetails", scriptDetails);
CreateDataServiceApiRequest::~CreateDataServiceApiRequest() {}
std::string CreateDataServiceApiRequest::getScriptDetails() const {
return scriptDetails_;
}
int CreateDataServiceApiRequest::getRequestMethod()const
{
return requestMethod_;
void CreateDataServiceApiRequest::setScriptDetails(const std::string &scriptDetails) {
scriptDetails_ = scriptDetails;
setBodyParameter(std::string("ScriptDetails"), scriptDetails);
}
void CreateDataServiceApiRequest::setRequestMethod(int requestMethod)
{
requestMethod_ = requestMethod;
setBodyParameter("RequestMethod", std::to_string(requestMethod));
int CreateDataServiceApiRequest::getRequestMethod() const {
return requestMethod_;
}
std::string CreateDataServiceApiRequest::getGroupId()const
{
return groupId_;
void CreateDataServiceApiRequest::setRequestMethod(int requestMethod) {
requestMethod_ = requestMethod;
setBodyParameter(std::string("RequestMethod"), std::to_string(requestMethod));
}
void CreateDataServiceApiRequest::setGroupId(const std::string& groupId)
{
groupId_ = groupId;
setBodyParameter("GroupId", groupId);
std::string CreateDataServiceApiRequest::getGroupId() const {
return groupId_;
}
std::string CreateDataServiceApiRequest::getApiPath()const
{
return apiPath_;
void CreateDataServiceApiRequest::setGroupId(const std::string &groupId) {
groupId_ = groupId;
setBodyParameter(std::string("GroupId"), groupId);
}
void CreateDataServiceApiRequest::setApiPath(const std::string& apiPath)
{
apiPath_ = apiPath;
setBodyParameter("ApiPath", apiPath);
std::string CreateDataServiceApiRequest::getApiPath() const {
return apiPath_;
}
std::string CreateDataServiceApiRequest::getWizardDetails()const
{
return wizardDetails_;
void CreateDataServiceApiRequest::setApiPath(const std::string &apiPath) {
apiPath_ = apiPath;
setBodyParameter(std::string("ApiPath"), apiPath);
}
void CreateDataServiceApiRequest::setWizardDetails(const std::string& wizardDetails)
{
wizardDetails_ = wizardDetails;
setBodyParameter("WizardDetails", wizardDetails);
std::string CreateDataServiceApiRequest::getWizardDetails() const {
return wizardDetails_;
}
int CreateDataServiceApiRequest::getApiMode()const
{
return apiMode_;
void CreateDataServiceApiRequest::setWizardDetails(const std::string &wizardDetails) {
wizardDetails_ = wizardDetails;
setBodyParameter(std::string("WizardDetails"), wizardDetails);
}
void CreateDataServiceApiRequest::setApiMode(int apiMode)
{
apiMode_ = apiMode;
setBodyParameter("ApiMode", std::to_string(apiMode));
int CreateDataServiceApiRequest::getApiMode() const {
return apiMode_;
}
int CreateDataServiceApiRequest::getVisibleRange()const
{
return visibleRange_;
void CreateDataServiceApiRequest::setApiMode(int apiMode) {
apiMode_ = apiMode;
setBodyParameter(std::string("ApiMode"), std::to_string(apiMode));
}
void CreateDataServiceApiRequest::setVisibleRange(int visibleRange)
{
visibleRange_ = visibleRange;
setBodyParameter("VisibleRange", std::to_string(visibleRange));
int CreateDataServiceApiRequest::getVisibleRange() const {
return visibleRange_;
}
std::string CreateDataServiceApiRequest::getApiDescription()const
{
return apiDescription_;
void CreateDataServiceApiRequest::setVisibleRange(int visibleRange) {
visibleRange_ = visibleRange;
setBodyParameter(std::string("VisibleRange"), std::to_string(visibleRange));
}
void CreateDataServiceApiRequest::setApiDescription(const std::string& apiDescription)
{
apiDescription_ = apiDescription;
setBodyParameter("ApiDescription", apiDescription);
std::string CreateDataServiceApiRequest::getApiDescription() const {
return apiDescription_;
}
int CreateDataServiceApiRequest::getTimeout()const
{
return timeout_;
void CreateDataServiceApiRequest::setApiDescription(const std::string &apiDescription) {
apiDescription_ = apiDescription;
setBodyParameter(std::string("ApiDescription"), apiDescription);
}
void CreateDataServiceApiRequest::setTimeout(int timeout)
{
timeout_ = timeout;
setBodyParameter("Timeout", std::to_string(timeout));
int CreateDataServiceApiRequest::getTimeout() const {
return timeout_;
}
long CreateDataServiceApiRequest::getFolderId()const
{
return folderId_;
void CreateDataServiceApiRequest::setTimeout(int timeout) {
timeout_ = timeout;
setBodyParameter(std::string("Timeout"), std::to_string(timeout));
}
void CreateDataServiceApiRequest::setFolderId(long folderId)
{
folderId_ = folderId;
setBodyParameter("FolderId", std::to_string(folderId));
long CreateDataServiceApiRequest::getFolderId() const {
return folderId_;
}
std::string CreateDataServiceApiRequest::getRegistrationDetails()const
{
return registrationDetails_;
void CreateDataServiceApiRequest::setFolderId(long folderId) {
folderId_ = folderId;
setBodyParameter(std::string("FolderId"), std::to_string(folderId));
}
void CreateDataServiceApiRequest::setRegistrationDetails(const std::string& registrationDetails)
{
registrationDetails_ = registrationDetails;
setBodyParameter("RegistrationDetails", registrationDetails);
std::string CreateDataServiceApiRequest::getRegistrationDetails() const {
return registrationDetails_;
}
std::string CreateDataServiceApiRequest::getApiName()const
{
return apiName_;
void CreateDataServiceApiRequest::setRegistrationDetails(const std::string &registrationDetails) {
registrationDetails_ = registrationDetails;
setBodyParameter(std::string("RegistrationDetails"), registrationDetails);
}
void CreateDataServiceApiRequest::setApiName(const std::string& apiName)
{
apiName_ = apiName;
setBodyParameter("ApiName", apiName);
std::string CreateDataServiceApiRequest::getApiName() const {
return apiName_;
}
long CreateDataServiceApiRequest::getTenantId()const
{
return tenantId_;
void CreateDataServiceApiRequest::setApiName(const std::string &apiName) {
apiName_ = apiName;
setBodyParameter(std::string("ApiName"), apiName);
}
void CreateDataServiceApiRequest::setTenantId(long tenantId)
{
tenantId_ = tenantId;
setBodyParameter("TenantId", std::to_string(tenantId));
long CreateDataServiceApiRequest::getTenantId() const {
return tenantId_;
}
std::string CreateDataServiceApiRequest::getProtocols()const
{
return protocols_;
void CreateDataServiceApiRequest::setTenantId(long tenantId) {
tenantId_ = tenantId;
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
}
void CreateDataServiceApiRequest::setProtocols(const std::string& protocols)
{
protocols_ = protocols;
setBodyParameter("Protocols", protocols);
std::string CreateDataServiceApiRequest::getProtocols() const {
return protocols_;
}
long CreateDataServiceApiRequest::getProjectId()const
{
return projectId_;
void CreateDataServiceApiRequest::setProtocols(const std::string &protocols) {
protocols_ = protocols;
setBodyParameter(std::string("Protocols"), protocols);
}
void CreateDataServiceApiRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long CreateDataServiceApiRequest::getProjectId() const {
return projectId_;
}
int CreateDataServiceApiRequest::getResponseContentType()const
{
return responseContentType_;
void CreateDataServiceApiRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void CreateDataServiceApiRequest::setResponseContentType(int responseContentType)
{
responseContentType_ = responseContentType;
setBodyParameter("ResponseContentType", std::to_string(responseContentType));
int CreateDataServiceApiRequest::getResponseContentType() const {
return responseContentType_;
}
void CreateDataServiceApiRequest::setResponseContentType(int responseContentType) {
responseContentType_ = responseContentType;
setBodyParameter(std::string("ResponseContentType"), std::to_string(responseContentType));
}

View File

@@ -39,14 +39,14 @@ void CreateDataServiceApiResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = std::stol(value["Data"].asString());
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["Data"].isNull())
data_ = std::stol(value["Data"].asString());
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateDataServiceFolderRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateDataServiceFolderRequest;
CreateDataServiceFolderRequest::CreateDataServiceFolderRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceFolder")
{
setMethod(HttpRequest::Method::Post);
}
CreateDataServiceFolderRequest::~CreateDataServiceFolderRequest()
{}
std::string CreateDataServiceFolderRequest::getGroupId()const
{
return groupId_;
*/
#include <alibabacloud/dataworks-public/model/CreateDataServiceFolderRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateDataServiceFolderRequest;
CreateDataServiceFolderRequest::CreateDataServiceFolderRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceFolder") {
setMethod(HttpRequest::Method::Post);
}
void CreateDataServiceFolderRequest::setGroupId(const std::string& groupId)
{
groupId_ = groupId;
setBodyParameter("GroupId", groupId);
CreateDataServiceFolderRequest::~CreateDataServiceFolderRequest() {}
std::string CreateDataServiceFolderRequest::getGroupId() const {
return groupId_;
}
long CreateDataServiceFolderRequest::getTenantId()const
{
return tenantId_;
void CreateDataServiceFolderRequest::setGroupId(const std::string &groupId) {
groupId_ = groupId;
setBodyParameter(std::string("GroupId"), groupId);
}
void CreateDataServiceFolderRequest::setTenantId(long tenantId)
{
tenantId_ = tenantId;
setBodyParameter("TenantId", std::to_string(tenantId));
long CreateDataServiceFolderRequest::getTenantId() const {
return tenantId_;
}
std::string CreateDataServiceFolderRequest::getFolderName()const
{
return folderName_;
void CreateDataServiceFolderRequest::setTenantId(long tenantId) {
tenantId_ = tenantId;
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
}
void CreateDataServiceFolderRequest::setFolderName(const std::string& folderName)
{
folderName_ = folderName;
setBodyParameter("FolderName", folderName);
std::string CreateDataServiceFolderRequest::getFolderName() const {
return folderName_;
}
long CreateDataServiceFolderRequest::getProjectId()const
{
return projectId_;
void CreateDataServiceFolderRequest::setFolderName(const std::string &folderName) {
folderName_ = folderName;
setBodyParameter(std::string("FolderName"), folderName);
}
void CreateDataServiceFolderRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long CreateDataServiceFolderRequest::getProjectId() const {
return projectId_;
}
long CreateDataServiceFolderRequest::getParentId()const
{
return parentId_;
void CreateDataServiceFolderRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void CreateDataServiceFolderRequest::setParentId(long parentId)
{
parentId_ = parentId;
setBodyParameter("ParentId", std::to_string(parentId));
long CreateDataServiceFolderRequest::getParentId() const {
return parentId_;
}
void CreateDataServiceFolderRequest::setParentId(long parentId) {
parentId_ = parentId;
setBodyParameter(std::string("ParentId"), std::to_string(parentId));
}

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateDataServiceGroupRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateDataServiceGroupRequest;
CreateDataServiceGroupRequest::CreateDataServiceGroupRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceGroup")
{
setMethod(HttpRequest::Method::Post);
}
CreateDataServiceGroupRequest::~CreateDataServiceGroupRequest()
{}
std::string CreateDataServiceGroupRequest::getApiGatewayGroupId()const
{
return apiGatewayGroupId_;
*/
#include <alibabacloud/dataworks-public/model/CreateDataServiceGroupRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateDataServiceGroupRequest;
CreateDataServiceGroupRequest::CreateDataServiceGroupRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceGroup") {
setMethod(HttpRequest::Method::Post);
}
void CreateDataServiceGroupRequest::setApiGatewayGroupId(const std::string& apiGatewayGroupId)
{
apiGatewayGroupId_ = apiGatewayGroupId;
setBodyParameter("ApiGatewayGroupId", apiGatewayGroupId);
CreateDataServiceGroupRequest::~CreateDataServiceGroupRequest() {}
std::string CreateDataServiceGroupRequest::getApiGatewayGroupId() const {
return apiGatewayGroupId_;
}
long CreateDataServiceGroupRequest::getTenantId()const
{
return tenantId_;
void CreateDataServiceGroupRequest::setApiGatewayGroupId(const std::string &apiGatewayGroupId) {
apiGatewayGroupId_ = apiGatewayGroupId;
setBodyParameter(std::string("ApiGatewayGroupId"), apiGatewayGroupId);
}
void CreateDataServiceGroupRequest::setTenantId(long tenantId)
{
tenantId_ = tenantId;
setBodyParameter("TenantId", std::to_string(tenantId));
long CreateDataServiceGroupRequest::getTenantId() const {
return tenantId_;
}
std::string CreateDataServiceGroupRequest::getDescription()const
{
return description_;
void CreateDataServiceGroupRequest::setTenantId(long tenantId) {
tenantId_ = tenantId;
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
}
void CreateDataServiceGroupRequest::setDescription(const std::string& description)
{
description_ = description;
setBodyParameter("Description", description);
std::string CreateDataServiceGroupRequest::getDescription() const {
return description_;
}
long CreateDataServiceGroupRequest::getProjectId()const
{
return projectId_;
void CreateDataServiceGroupRequest::setDescription(const std::string &description) {
description_ = description;
setBodyParameter(std::string("Description"), description);
}
void CreateDataServiceGroupRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long CreateDataServiceGroupRequest::getProjectId() const {
return projectId_;
}
std::string CreateDataServiceGroupRequest::getGroupName()const
{
return groupName_;
void CreateDataServiceGroupRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void CreateDataServiceGroupRequest::setGroupName(const std::string& groupName)
{
groupName_ = groupName;
setBodyParameter("GroupName", groupName);
std::string CreateDataServiceGroupRequest::getGroupName() const {
return groupName_;
}
void CreateDataServiceGroupRequest::setGroupName(const std::string &groupName) {
groupName_ = groupName;
setBodyParameter(std::string("GroupName"), groupName);
}

View File

@@ -1,106 +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/CreateDataSourceRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateDataSourceRequest;
CreateDataSourceRequest::CreateDataSourceRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataSource")
{
setMethod(HttpRequest::Method::Post);
}
CreateDataSourceRequest::~CreateDataSourceRequest()
{}
std::string CreateDataSourceRequest::getDataSourceType()const
{
return dataSourceType_;
*/
#include <alibabacloud/dataworks-public/model/CreateDataSourceRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateDataSourceRequest;
CreateDataSourceRequest::CreateDataSourceRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataSource") {
setMethod(HttpRequest::Method::Post);
}
void CreateDataSourceRequest::setDataSourceType(const std::string& dataSourceType)
{
dataSourceType_ = dataSourceType;
setParameter("DataSourceType", dataSourceType);
CreateDataSourceRequest::~CreateDataSourceRequest() {}
std::string CreateDataSourceRequest::getDataSourceType() const {
return dataSourceType_;
}
std::string CreateDataSourceRequest::getDescription()const
{
return description_;
void CreateDataSourceRequest::setDataSourceType(const std::string &dataSourceType) {
dataSourceType_ = dataSourceType;
setParameter(std::string("DataSourceType"), dataSourceType);
}
void CreateDataSourceRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
std::string CreateDataSourceRequest::getDescription() const {
return description_;
}
std::string CreateDataSourceRequest::getContent()const
{
return content_;
void CreateDataSourceRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
void CreateDataSourceRequest::setContent(const std::string& content)
{
content_ = content;
setParameter("Content", content);
std::string CreateDataSourceRequest::getContent() const {
return content_;
}
std::string CreateDataSourceRequest::getSubType()const
{
return subType_;
void CreateDataSourceRequest::setContent(const std::string &content) {
content_ = content;
setParameter(std::string("Content"), content);
}
void CreateDataSourceRequest::setSubType(const std::string& subType)
{
subType_ = subType;
setParameter("SubType", subType);
std::string CreateDataSourceRequest::getSubType() const {
return subType_;
}
std::string CreateDataSourceRequest::getName()const
{
return name_;
void CreateDataSourceRequest::setSubType(const std::string &subType) {
subType_ = subType;
setParameter(std::string("SubType"), subType);
}
void CreateDataSourceRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
std::string CreateDataSourceRequest::getName() const {
return name_;
}
int CreateDataSourceRequest::getEnvType()const
{
return envType_;
void CreateDataSourceRequest::setName(const std::string &name) {
name_ = name;
setParameter(std::string("Name"), name);
}
void CreateDataSourceRequest::setEnvType(int envType)
{
envType_ = envType;
setParameter("EnvType", std::to_string(envType));
int CreateDataSourceRequest::getEnvType() const {
return envType_;
}
long CreateDataSourceRequest::getProjectId()const
{
return projectId_;
void CreateDataSourceRequest::setEnvType(int envType) {
envType_ = envType;
setParameter(std::string("EnvType"), std::to_string(envType));
}
void CreateDataSourceRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long CreateDataSourceRequest::getProjectId() const {
return projectId_;
}
void CreateDataSourceRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -39,12 +39,12 @@ void CreateDataSourceResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = value["HttpStatusCode"].asString();
if(!value["Data"].isNull())
data_ = std::stol(value["Data"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}

View File

@@ -1,95 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateExportMigrationRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateExportMigrationRequest;
CreateExportMigrationRequest::CreateExportMigrationRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateExportMigration")
{
setMethod(HttpRequest::Method::Post);
}
CreateExportMigrationRequest::~CreateExportMigrationRequest()
{}
std::string CreateExportMigrationRequest::getExportObjectStatus()const
{
return exportObjectStatus_;
*/
#include <alibabacloud/dataworks-public/model/CreateExportMigrationRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateExportMigrationRequest;
CreateExportMigrationRequest::CreateExportMigrationRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateExportMigration") {
setMethod(HttpRequest::Method::Post);
}
void CreateExportMigrationRequest::setExportObjectStatus(const std::string& exportObjectStatus)
{
exportObjectStatus_ = exportObjectStatus;
setBodyParameter("ExportObjectStatus", exportObjectStatus);
CreateExportMigrationRequest::~CreateExportMigrationRequest() {}
std::string CreateExportMigrationRequest::getExportObjectStatus() const {
return exportObjectStatus_;
}
std::string CreateExportMigrationRequest::getExportMode()const
{
return exportMode_;
void CreateExportMigrationRequest::setExportObjectStatus(const std::string &exportObjectStatus) {
exportObjectStatus_ = exportObjectStatus;
setBodyParameter(std::string("ExportObjectStatus"), exportObjectStatus);
}
void CreateExportMigrationRequest::setExportMode(const std::string& exportMode)
{
exportMode_ = exportMode;
setBodyParameter("ExportMode", exportMode);
std::string CreateExportMigrationRequest::getExportMode() const {
return exportMode_;
}
long CreateExportMigrationRequest::getIncrementalSince()const
{
return incrementalSince_;
void CreateExportMigrationRequest::setExportMode(const std::string &exportMode) {
exportMode_ = exportMode;
setBodyParameter(std::string("ExportMode"), exportMode);
}
void CreateExportMigrationRequest::setIncrementalSince(long incrementalSince)
{
incrementalSince_ = incrementalSince;
setBodyParameter("IncrementalSince", std::to_string(incrementalSince));
long CreateExportMigrationRequest::getIncrementalSince() const {
return incrementalSince_;
}
std::string CreateExportMigrationRequest::getName()const
{
return name_;
void CreateExportMigrationRequest::setIncrementalSince(long incrementalSince) {
incrementalSince_ = incrementalSince;
setBodyParameter(std::string("IncrementalSince"), std::to_string(incrementalSince));
}
void CreateExportMigrationRequest::setName(const std::string& name)
{
name_ = name;
setBodyParameter("Name", name);
std::string CreateExportMigrationRequest::getName() const {
return name_;
}
std::string CreateExportMigrationRequest::getDescription()const
{
return description_;
void CreateExportMigrationRequest::setName(const std::string &name) {
name_ = name;
setBodyParameter(std::string("Name"), name);
}
void CreateExportMigrationRequest::setDescription(const std::string& description)
{
description_ = description;
setBodyParameter("Description", description);
std::string CreateExportMigrationRequest::getDescription() const {
return description_;
}
long CreateExportMigrationRequest::getProjectId()const
{
return projectId_;
void CreateExportMigrationRequest::setDescription(const std::string &description) {
description_ = description;
setBodyParameter(std::string("Description"), description);
}
void CreateExportMigrationRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long CreateExportMigrationRequest::getProjectId() const {
return projectId_;
}
void CreateExportMigrationRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -1,348 +1,288 @@
/*
* 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/CreateFileRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateFileRequest;
CreateFileRequest::CreateFileRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateFile")
{
setMethod(HttpRequest::Method::Post);
}
CreateFileRequest::~CreateFileRequest()
{}
int CreateFileRequest::getFileType()const
{
return fileType_;
*/
#include <alibabacloud/dataworks-public/model/CreateFileRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateFileRequest;
CreateFileRequest::CreateFileRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateFile") {
setMethod(HttpRequest::Method::Post);
}
void CreateFileRequest::setFileType(int fileType)
{
fileType_ = fileType;
setBodyParameter("FileType", std::to_string(fileType));
CreateFileRequest::~CreateFileRequest() {}
int CreateFileRequest::getFileType() const {
return fileType_;
}
std::string CreateFileRequest::getDependentNodeIdList()const
{
return dependentNodeIdList_;
void CreateFileRequest::setFileType(int fileType) {
fileType_ = fileType;
setBodyParameter(std::string("FileType"), std::to_string(fileType));
}
void CreateFileRequest::setDependentNodeIdList(const std::string& dependentNodeIdList)
{
dependentNodeIdList_ = dependentNodeIdList;
setBodyParameter("DependentNodeIdList", dependentNodeIdList);
std::string CreateFileRequest::getDependentNodeIdList() const {
return dependentNodeIdList_;
}
std::string CreateFileRequest::getContent()const
{
return content_;
void CreateFileRequest::setDependentNodeIdList(const std::string &dependentNodeIdList) {
dependentNodeIdList_ = dependentNodeIdList;
setBodyParameter(std::string("DependentNodeIdList"), dependentNodeIdList);
}
void CreateFileRequest::setContent(const std::string& content)
{
content_ = content;
setBodyParameter("Content", content);
std::string CreateFileRequest::getContent() const {
return content_;
}
std::string CreateFileRequest::getProjectIdentifier()const
{
return projectIdentifier_;
void CreateFileRequest::setContent(const std::string &content) {
content_ = content;
setBodyParameter(std::string("Content"), content);
}
void CreateFileRequest::setProjectIdentifier(const std::string& projectIdentifier)
{
projectIdentifier_ = projectIdentifier;
setBodyParameter("ProjectIdentifier", projectIdentifier);
std::string CreateFileRequest::getProjectIdentifier() const {
return projectIdentifier_;
}
long CreateFileRequest::getResourceGroupId()const
{
return resourceGroupId_;
void CreateFileRequest::setProjectIdentifier(const std::string &projectIdentifier) {
projectIdentifier_ = projectIdentifier;
setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
}
void CreateFileRequest::setResourceGroupId(long resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setBodyParameter("ResourceGroupId", std::to_string(resourceGroupId));
long CreateFileRequest::getResourceGroupId() const {
return resourceGroupId_;
}
bool CreateFileRequest::getStartImmediately()const
{
return startImmediately_;
void CreateFileRequest::setResourceGroupId(long resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setBodyParameter(std::string("ResourceGroupId"), std::to_string(resourceGroupId));
}
void CreateFileRequest::setStartImmediately(bool startImmediately)
{
startImmediately_ = startImmediately;
setBodyParameter("StartImmediately", startImmediately ? "true" : "false");
bool CreateFileRequest::getStartImmediately() const {
return startImmediately_;
}
long CreateFileRequest::getProjectId()const
{
return projectId_;
void CreateFileRequest::setStartImmediately(bool startImmediately) {
startImmediately_ = startImmediately;
setBodyParameter(std::string("StartImmediately"), startImmediately ? "true" : "false");
}
void CreateFileRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long CreateFileRequest::getProjectId() const {
return projectId_;
}
std::string CreateFileRequest::getAdvancedSettings()const
{
return advancedSettings_;
void CreateFileRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void CreateFileRequest::setAdvancedSettings(const std::string& advancedSettings)
{
advancedSettings_ = advancedSettings;
setBodyParameter("AdvancedSettings", advancedSettings);
std::string CreateFileRequest::getAdvancedSettings() const {
return advancedSettings_;
}
long CreateFileRequest::getStartEffectDate()const
{
return startEffectDate_;
void CreateFileRequest::setAdvancedSettings(const std::string &advancedSettings) {
advancedSettings_ = advancedSettings;
setBodyParameter(std::string("AdvancedSettings"), advancedSettings);
}
void CreateFileRequest::setStartEffectDate(long startEffectDate)
{
startEffectDate_ = startEffectDate;
setBodyParameter("StartEffectDate", std::to_string(startEffectDate));
long CreateFileRequest::getStartEffectDate() const {
return startEffectDate_;
}
std::string CreateFileRequest::getCycleType()const
{
return cycleType_;
void CreateFileRequest::setStartEffectDate(long startEffectDate) {
startEffectDate_ = startEffectDate;
setBodyParameter(std::string("StartEffectDate"), std::to_string(startEffectDate));
}
void CreateFileRequest::setCycleType(const std::string& cycleType)
{
cycleType_ = cycleType;
setBodyParameter("CycleType", cycleType);
std::string CreateFileRequest::getCycleType() const {
return cycleType_;
}
std::string CreateFileRequest::getOwner()const
{
return owner_;
void CreateFileRequest::setCycleType(const std::string &cycleType) {
cycleType_ = cycleType;
setBodyParameter(std::string("CycleType"), cycleType);
}
void CreateFileRequest::setOwner(const std::string& owner)
{
owner_ = owner;
setBodyParameter("Owner", owner);
std::string CreateFileRequest::getOwner() const {
return owner_;
}
int CreateFileRequest::getAutoRerunIntervalMillis()const
{
return autoRerunIntervalMillis_;
void CreateFileRequest::setOwner(const std::string &owner) {
owner_ = owner;
setBodyParameter(std::string("Owner"), owner);
}
void CreateFileRequest::setAutoRerunIntervalMillis(int autoRerunIntervalMillis)
{
autoRerunIntervalMillis_ = autoRerunIntervalMillis;
setBodyParameter("AutoRerunIntervalMillis", std::to_string(autoRerunIntervalMillis));
int CreateFileRequest::getAutoRerunIntervalMillis() const {
return autoRerunIntervalMillis_;
}
std::string CreateFileRequest::getInputList()const
{
return inputList_;
void CreateFileRequest::setAutoRerunIntervalMillis(int autoRerunIntervalMillis) {
autoRerunIntervalMillis_ = autoRerunIntervalMillis;
setBodyParameter(std::string("AutoRerunIntervalMillis"), std::to_string(autoRerunIntervalMillis));
}
void CreateFileRequest::setInputList(const std::string& inputList)
{
inputList_ = inputList;
setBodyParameter("InputList", inputList);
std::string CreateFileRequest::getInputList() const {
return inputList_;
}
std::string CreateFileRequest::getRerunMode()const
{
return rerunMode_;
void CreateFileRequest::setInputList(const std::string &inputList) {
inputList_ = inputList;
setBodyParameter(std::string("InputList"), inputList);
}
void CreateFileRequest::setRerunMode(const std::string& rerunMode)
{
rerunMode_ = rerunMode;
setBodyParameter("RerunMode", rerunMode);
std::string CreateFileRequest::getRerunMode() const {
return rerunMode_;
}
std::string CreateFileRequest::getConnectionName()const
{
return connectionName_;
void CreateFileRequest::setRerunMode(const std::string &rerunMode) {
rerunMode_ = rerunMode;
setBodyParameter(std::string("RerunMode"), rerunMode);
}
void CreateFileRequest::setConnectionName(const std::string& connectionName)
{
connectionName_ = connectionName;
setBodyParameter("ConnectionName", connectionName);
std::string CreateFileRequest::getConnectionName() const {
return connectionName_;
}
std::string CreateFileRequest::getOutputParameters()const
{
return outputParameters_;
void CreateFileRequest::setConnectionName(const std::string &connectionName) {
connectionName_ = connectionName;
setBodyParameter(std::string("ConnectionName"), connectionName);
}
void CreateFileRequest::setOutputParameters(const std::string& outputParameters)
{
outputParameters_ = outputParameters;
setBodyParameter("OutputParameters", outputParameters);
std::string CreateFileRequest::getOutputParameters() const {
return outputParameters_;
}
std::string CreateFileRequest::getParaValue()const
{
return paraValue_;
void CreateFileRequest::setOutputParameters(const std::string &outputParameters) {
outputParameters_ = outputParameters;
setBodyParameter(std::string("OutputParameters"), outputParameters);
}
void CreateFileRequest::setParaValue(const std::string& paraValue)
{
paraValue_ = paraValue;
setBodyParameter("ParaValue", paraValue);
std::string CreateFileRequest::getParaValue() const {
return paraValue_;
}
std::string CreateFileRequest::getResourceGroupIdentifier()const
{
return resourceGroupIdentifier_;
void CreateFileRequest::setParaValue(const std::string &paraValue) {
paraValue_ = paraValue;
setBodyParameter(std::string("ParaValue"), paraValue);
}
void CreateFileRequest::setResourceGroupIdentifier(const std::string& resourceGroupIdentifier)
{
resourceGroupIdentifier_ = resourceGroupIdentifier;
setBodyParameter("ResourceGroupIdentifier", resourceGroupIdentifier);
std::string CreateFileRequest::getResourceGroupIdentifier() const {
return resourceGroupIdentifier_;
}
int CreateFileRequest::getAutoRerunTimes()const
{
return autoRerunTimes_;
void CreateFileRequest::setResourceGroupIdentifier(const std::string &resourceGroupIdentifier) {
resourceGroupIdentifier_ = resourceGroupIdentifier;
setBodyParameter(std::string("ResourceGroupIdentifier"), resourceGroupIdentifier);
}
void CreateFileRequest::setAutoRerunTimes(int autoRerunTimes)
{
autoRerunTimes_ = autoRerunTimes;
setBodyParameter("AutoRerunTimes", std::to_string(autoRerunTimes));
int CreateFileRequest::getAutoRerunTimes() const {
return autoRerunTimes_;
}
std::string CreateFileRequest::getCronExpress()const
{
return cronExpress_;
void CreateFileRequest::setAutoRerunTimes(int autoRerunTimes) {
autoRerunTimes_ = autoRerunTimes;
setBodyParameter(std::string("AutoRerunTimes"), std::to_string(autoRerunTimes));
}
void CreateFileRequest::setCronExpress(const std::string& cronExpress)
{
cronExpress_ = cronExpress;
setBodyParameter("CronExpress", cronExpress);
std::string CreateFileRequest::getCronExpress() const {
return cronExpress_;
}
long CreateFileRequest::getEndEffectDate()const
{
return endEffectDate_;
void CreateFileRequest::setCronExpress(const std::string &cronExpress) {
cronExpress_ = cronExpress;
setBodyParameter(std::string("CronExpress"), cronExpress);
}
void CreateFileRequest::setEndEffectDate(long endEffectDate)
{
endEffectDate_ = endEffectDate;
setBodyParameter("EndEffectDate", std::to_string(endEffectDate));
long CreateFileRequest::getEndEffectDate() const {
return endEffectDate_;
}
std::string CreateFileRequest::getFileName()const
{
return fileName_;
void CreateFileRequest::setEndEffectDate(long endEffectDate) {
endEffectDate_ = endEffectDate;
setBodyParameter(std::string("EndEffectDate"), std::to_string(endEffectDate));
}
void CreateFileRequest::setFileName(const std::string& fileName)
{
fileName_ = fileName;
setBodyParameter("FileName", fileName);
std::string CreateFileRequest::getFileName() const {
return fileName_;
}
std::string CreateFileRequest::getInputParameters()const
{
return inputParameters_;
void CreateFileRequest::setFileName(const std::string &fileName) {
fileName_ = fileName;
setBodyParameter(std::string("FileName"), fileName);
}
void CreateFileRequest::setInputParameters(const std::string& inputParameters)
{
inputParameters_ = inputParameters;
setBodyParameter("InputParameters", inputParameters);
std::string CreateFileRequest::getInputParameters() const {
return inputParameters_;
}
bool CreateFileRequest::getStop()const
{
return stop_;
void CreateFileRequest::setInputParameters(const std::string &inputParameters) {
inputParameters_ = inputParameters;
setBodyParameter(std::string("InputParameters"), inputParameters);
}
void CreateFileRequest::setStop(bool stop)
{
stop_ = stop;
setBodyParameter("Stop", stop ? "true" : "false");
bool CreateFileRequest::getStop() const {
return stop_;
}
std::string CreateFileRequest::getDependentType()const
{
return dependentType_;
void CreateFileRequest::setStop(bool stop) {
stop_ = stop;
setBodyParameter(std::string("Stop"), stop ? "true" : "false");
}
void CreateFileRequest::setDependentType(const std::string& dependentType)
{
dependentType_ = dependentType;
setBodyParameter("DependentType", dependentType);
std::string CreateFileRequest::getDependentType() const {
return dependentType_;
}
std::string CreateFileRequest::getFileFolderPath()const
{
return fileFolderPath_;
void CreateFileRequest::setDependentType(const std::string &dependentType) {
dependentType_ = dependentType;
setBodyParameter(std::string("DependentType"), dependentType);
}
void CreateFileRequest::setFileFolderPath(const std::string& fileFolderPath)
{
fileFolderPath_ = fileFolderPath;
setBodyParameter("FileFolderPath", fileFolderPath);
std::string CreateFileRequest::getFileFolderPath() const {
return fileFolderPath_;
}
std::string CreateFileRequest::getFileDescription()const
{
return fileDescription_;
void CreateFileRequest::setFileFolderPath(const std::string &fileFolderPath) {
fileFolderPath_ = fileFolderPath;
setBodyParameter(std::string("FileFolderPath"), fileFolderPath);
}
void CreateFileRequest::setFileDescription(const std::string& fileDescription)
{
fileDescription_ = fileDescription;
setBodyParameter("FileDescription", fileDescription);
std::string CreateFileRequest::getFileDescription() const {
return fileDescription_;
}
bool CreateFileRequest::getAutoParsing()const
{
return autoParsing_;
void CreateFileRequest::setFileDescription(const std::string &fileDescription) {
fileDescription_ = fileDescription;
setBodyParameter(std::string("FileDescription"), fileDescription);
}
void CreateFileRequest::setAutoParsing(bool autoParsing)
{
autoParsing_ = autoParsing;
setBodyParameter("AutoParsing", autoParsing ? "true" : "false");
bool CreateFileRequest::getAutoParsing() const {
return autoParsing_;
}
std::string CreateFileRequest::getSchedulerType()const
{
return schedulerType_;
void CreateFileRequest::setAutoParsing(bool autoParsing) {
autoParsing_ = autoParsing;
setBodyParameter(std::string("AutoParsing"), autoParsing ? "true" : "false");
}
void CreateFileRequest::setSchedulerType(const std::string& schedulerType)
{
schedulerType_ = schedulerType;
setBodyParameter("SchedulerType", schedulerType);
std::string CreateFileRequest::getSchedulerType() const {
return schedulerType_;
}
void CreateFileRequest::setSchedulerType(const std::string &schedulerType) {
schedulerType_ = schedulerType;
setBodyParameter(std::string("SchedulerType"), schedulerType);
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateFolderRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateFolderRequest;
CreateFolderRequest::CreateFolderRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateFolder")
{
setMethod(HttpRequest::Method::Post);
}
CreateFolderRequest::~CreateFolderRequest()
{}
std::string CreateFolderRequest::getFolderPath()const
{
return folderPath_;
*/
#include <alibabacloud/dataworks-public/model/CreateFolderRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateFolderRequest;
CreateFolderRequest::CreateFolderRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateFolder") {
setMethod(HttpRequest::Method::Post);
}
void CreateFolderRequest::setFolderPath(const std::string& folderPath)
{
folderPath_ = folderPath;
setBodyParameter("FolderPath", folderPath);
CreateFolderRequest::~CreateFolderRequest() {}
std::string CreateFolderRequest::getFolderPath() const {
return folderPath_;
}
long CreateFolderRequest::getProjectId()const
{
return projectId_;
void CreateFolderRequest::setFolderPath(const std::string &folderPath) {
folderPath_ = folderPath;
setBodyParameter(std::string("FolderPath"), folderPath);
}
void CreateFolderRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long CreateFolderRequest::getProjectId() const {
return projectId_;
}
std::string CreateFolderRequest::getProjectIdentifier()const
{
return projectIdentifier_;
void CreateFolderRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void CreateFolderRequest::setProjectIdentifier(const std::string& projectIdentifier)
{
projectIdentifier_ = projectIdentifier;
setBodyParameter("ProjectIdentifier", projectIdentifier);
std::string CreateFolderRequest::getProjectIdentifier() const {
return projectIdentifier_;
}
void CreateFolderRequest::setProjectIdentifier(const std::string &projectIdentifier) {
projectIdentifier_ = projectIdentifier;
setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
}

View File

@@ -1,128 +1,108 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateImportMigrationRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateImportMigrationRequest;
CreateImportMigrationRequest::CreateImportMigrationRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateImportMigration")
{
setMethod(HttpRequest::Method::Post);
}
CreateImportMigrationRequest::~CreateImportMigrationRequest()
{}
std::string CreateImportMigrationRequest::getDescription()const
{
return description_;
*/
#include <alibabacloud/dataworks-public/model/CreateImportMigrationRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateImportMigrationRequest;
CreateImportMigrationRequest::CreateImportMigrationRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateImportMigration") {
setMethod(HttpRequest::Method::Post);
}
void CreateImportMigrationRequest::setDescription(const std::string& description)
{
description_ = description;
setBodyParameter("Description", description);
CreateImportMigrationRequest::~CreateImportMigrationRequest() {}
std::string CreateImportMigrationRequest::getDescription() const {
return description_;
}
std::string CreateImportMigrationRequest::getCommitRule()const
{
return commitRule_;
void CreateImportMigrationRequest::setDescription(const std::string &description) {
description_ = description;
setBodyParameter(std::string("Description"), description);
}
void CreateImportMigrationRequest::setCommitRule(const std::string& commitRule)
{
commitRule_ = commitRule;
setBodyParameter("CommitRule", commitRule);
std::string CreateImportMigrationRequest::getCommitRule() const {
return commitRule_;
}
std::string CreateImportMigrationRequest::getWorkspaceMap()const
{
return workspaceMap_;
void CreateImportMigrationRequest::setCommitRule(const std::string &commitRule) {
commitRule_ = commitRule;
setBodyParameter(std::string("CommitRule"), commitRule);
}
void CreateImportMigrationRequest::setWorkspaceMap(const std::string& workspaceMap)
{
workspaceMap_ = workspaceMap;
setBodyParameter("WorkspaceMap", workspaceMap);
std::string CreateImportMigrationRequest::getWorkspaceMap() const {
return workspaceMap_;
}
std::string CreateImportMigrationRequest::getCalculateEngineMap()const
{
return calculateEngineMap_;
void CreateImportMigrationRequest::setWorkspaceMap(const std::string &workspaceMap) {
workspaceMap_ = workspaceMap;
setBodyParameter(std::string("WorkspaceMap"), workspaceMap);
}
void CreateImportMigrationRequest::setCalculateEngineMap(const std::string& calculateEngineMap)
{
calculateEngineMap_ = calculateEngineMap;
setBodyParameter("CalculateEngineMap", calculateEngineMap);
std::string CreateImportMigrationRequest::getCalculateEngineMap() const {
return calculateEngineMap_;
}
std::string CreateImportMigrationRequest::getPackageFile()const
{
return packageFile_;
void CreateImportMigrationRequest::setCalculateEngineMap(const std::string &calculateEngineMap) {
calculateEngineMap_ = calculateEngineMap;
setBodyParameter(std::string("CalculateEngineMap"), calculateEngineMap);
}
void CreateImportMigrationRequest::setPackageFile(const std::string& packageFile)
{
packageFile_ = packageFile;
setBodyParameter("PackageFile", packageFile);
std::string CreateImportMigrationRequest::getPackageFile() const {
return packageFile_;
}
std::string CreateImportMigrationRequest::getName()const
{
return name_;
void CreateImportMigrationRequest::setPackageFile(const std::string &packageFile) {
packageFile_ = packageFile;
setBodyParameter(std::string("PackageFile"), packageFile);
}
void CreateImportMigrationRequest::setName(const std::string& name)
{
name_ = name;
setBodyParameter("Name", name);
std::string CreateImportMigrationRequest::getName() const {
return name_;
}
std::string CreateImportMigrationRequest::getPackageType()const
{
return packageType_;
void CreateImportMigrationRequest::setName(const std::string &name) {
name_ = name;
setBodyParameter(std::string("Name"), name);
}
void CreateImportMigrationRequest::setPackageType(const std::string& packageType)
{
packageType_ = packageType;
setBodyParameter("PackageType", packageType);
std::string CreateImportMigrationRequest::getPackageType() const {
return packageType_;
}
long CreateImportMigrationRequest::getProjectId()const
{
return projectId_;
void CreateImportMigrationRequest::setPackageType(const std::string &packageType) {
packageType_ = packageType;
setBodyParameter(std::string("PackageType"), packageType);
}
void CreateImportMigrationRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long CreateImportMigrationRequest::getProjectId() const {
return projectId_;
}
std::string CreateImportMigrationRequest::getResourceGroupMap()const
{
return resourceGroupMap_;
void CreateImportMigrationRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void CreateImportMigrationRequest::setResourceGroupMap(const std::string& resourceGroupMap)
{
resourceGroupMap_ = resourceGroupMap;
setBodyParameter("ResourceGroupMap", resourceGroupMap);
std::string CreateImportMigrationRequest::getResourceGroupMap() const {
return resourceGroupMap_;
}
void CreateImportMigrationRequest::setResourceGroupMap(const std::string &resourceGroupMap) {
resourceGroupMap_ = resourceGroupMap;
setBodyParameter(std::string("ResourceGroupMap"), resourceGroupMap);
}

View File

@@ -1,117 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateManualDagRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateManualDagRequest;
CreateManualDagRequest::CreateManualDagRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateManualDag")
{
setMethod(HttpRequest::Method::Post);
}
CreateManualDagRequest::~CreateManualDagRequest()
{}
std::string CreateManualDagRequest::getProjectEnv()const
{
return projectEnv_;
*/
#include <alibabacloud/dataworks-public/model/CreateManualDagRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateManualDagRequest;
CreateManualDagRequest::CreateManualDagRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateManualDag") {
setMethod(HttpRequest::Method::Post);
}
void CreateManualDagRequest::setProjectEnv(const std::string& projectEnv)
{
projectEnv_ = projectEnv;
setBodyParameter("ProjectEnv", projectEnv);
CreateManualDagRequest::~CreateManualDagRequest() {}
std::string CreateManualDagRequest::getProjectEnv() const {
return projectEnv_;
}
std::string CreateManualDagRequest::getProjectName()const
{
return projectName_;
void CreateManualDagRequest::setProjectEnv(const std::string &projectEnv) {
projectEnv_ = projectEnv;
setBodyParameter(std::string("ProjectEnv"), projectEnv);
}
void CreateManualDagRequest::setProjectName(const std::string& projectName)
{
projectName_ = projectName;
setBodyParameter("ProjectName", projectName);
std::string CreateManualDagRequest::getProjectName() const {
return projectName_;
}
std::string CreateManualDagRequest::getDagParameters()const
{
return dagParameters_;
void CreateManualDagRequest::setProjectName(const std::string &projectName) {
projectName_ = projectName;
setBodyParameter(std::string("ProjectName"), projectName);
}
void CreateManualDagRequest::setDagParameters(const std::string& dagParameters)
{
dagParameters_ = dagParameters;
setBodyParameter("DagParameters", dagParameters);
std::string CreateManualDagRequest::getDagParameters() const {
return dagParameters_;
}
std::string CreateManualDagRequest::getIncludeNodeIds()const
{
return includeNodeIds_;
void CreateManualDagRequest::setDagParameters(const std::string &dagParameters) {
dagParameters_ = dagParameters;
setBodyParameter(std::string("DagParameters"), dagParameters);
}
void CreateManualDagRequest::setIncludeNodeIds(const std::string& includeNodeIds)
{
includeNodeIds_ = includeNodeIds;
setBodyParameter("IncludeNodeIds", includeNodeIds);
std::string CreateManualDagRequest::getIncludeNodeIds() const {
return includeNodeIds_;
}
std::string CreateManualDagRequest::getBizDate()const
{
return bizDate_;
void CreateManualDagRequest::setIncludeNodeIds(const std::string &includeNodeIds) {
includeNodeIds_ = includeNodeIds;
setBodyParameter(std::string("IncludeNodeIds"), includeNodeIds);
}
void CreateManualDagRequest::setBizDate(const std::string& bizDate)
{
bizDate_ = bizDate;
setBodyParameter("BizDate", bizDate);
std::string CreateManualDagRequest::getBizDate() const {
return bizDate_;
}
std::string CreateManualDagRequest::getExcludeNodeIds()const
{
return excludeNodeIds_;
void CreateManualDagRequest::setBizDate(const std::string &bizDate) {
bizDate_ = bizDate;
setBodyParameter(std::string("BizDate"), bizDate);
}
void CreateManualDagRequest::setExcludeNodeIds(const std::string& excludeNodeIds)
{
excludeNodeIds_ = excludeNodeIds;
setBodyParameter("ExcludeNodeIds", excludeNodeIds);
std::string CreateManualDagRequest::getExcludeNodeIds() const {
return excludeNodeIds_;
}
std::string CreateManualDagRequest::getFlowName()const
{
return flowName_;
void CreateManualDagRequest::setExcludeNodeIds(const std::string &excludeNodeIds) {
excludeNodeIds_ = excludeNodeIds;
setBodyParameter(std::string("ExcludeNodeIds"), excludeNodeIds);
}
void CreateManualDagRequest::setFlowName(const std::string& flowName)
{
flowName_ = flowName;
setBodyParameter("FlowName", flowName);
std::string CreateManualDagRequest::getFlowName() const {
return flowName_;
}
std::string CreateManualDagRequest::getNodeParameters()const
{
return nodeParameters_;
void CreateManualDagRequest::setFlowName(const std::string &flowName) {
flowName_ = flowName;
setBodyParameter(std::string("FlowName"), flowName);
}
void CreateManualDagRequest::setNodeParameters(const std::string& nodeParameters)
{
nodeParameters_ = nodeParameters;
setBodyParameter("NodeParameters", nodeParameters);
std::string CreateManualDagRequest::getNodeParameters() const {
return nodeParameters_;
}
void CreateManualDagRequest::setNodeParameters(const std::string &nodeParameters) {
nodeParameters_ = nodeParameters;
setBodyParameter(std::string("NodeParameters"), nodeParameters);
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateMetaCategoryRequest;
CreateMetaCategoryRequest::CreateMetaCategoryRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateMetaCategory")
{
setMethod(HttpRequest::Method::Post);
}
CreateMetaCategoryRequest::~CreateMetaCategoryRequest()
{}
std::string CreateMetaCategoryRequest::getName()const
{
return name_;
*/
#include <alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateMetaCategoryRequest;
CreateMetaCategoryRequest::CreateMetaCategoryRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateMetaCategory") {
setMethod(HttpRequest::Method::Post);
}
void CreateMetaCategoryRequest::setName(const std::string& name)
{
name_ = name;
setBodyParameter("Name", name);
CreateMetaCategoryRequest::~CreateMetaCategoryRequest() {}
std::string CreateMetaCategoryRequest::getName() const {
return name_;
}
std::string CreateMetaCategoryRequest::getComment()const
{
return comment_;
void CreateMetaCategoryRequest::setName(const std::string &name) {
name_ = name;
setBodyParameter(std::string("Name"), name);
}
void CreateMetaCategoryRequest::setComment(const std::string& comment)
{
comment_ = comment;
setBodyParameter("Comment", comment);
std::string CreateMetaCategoryRequest::getComment() const {
return comment_;
}
long CreateMetaCategoryRequest::getParentId()const
{
return parentId_;
void CreateMetaCategoryRequest::setComment(const std::string &comment) {
comment_ = comment;
setBodyParameter(std::string("Comment"), comment);
}
void CreateMetaCategoryRequest::setParentId(long parentId)
{
parentId_ = parentId;
setBodyParameter("ParentId", std::to_string(parentId));
long CreateMetaCategoryRequest::getParentId() const {
return parentId_;
}
void CreateMetaCategoryRequest::setParentId(long parentId) {
parentId_ = parentId;
setBodyParameter(std::string("ParentId"), std::to_string(parentId));
}

View File

@@ -1,127 +1,109 @@
/*
* 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/CreatePermissionApplyOrderRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreatePermissionApplyOrderRequest;
CreatePermissionApplyOrderRequest::CreatePermissionApplyOrderRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreatePermissionApplyOrder")
{
setMethod(HttpRequest::Method::Post);
}
CreatePermissionApplyOrderRequest::~CreatePermissionApplyOrderRequest()
{}
std::string CreatePermissionApplyOrderRequest::getApplyReason()const
{
return applyReason_;
*/
#include <alibabacloud/dataworks-public/model/CreatePermissionApplyOrderRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreatePermissionApplyOrderRequest;
CreatePermissionApplyOrderRequest::CreatePermissionApplyOrderRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreatePermissionApplyOrder") {
setMethod(HttpRequest::Method::Post);
}
void CreatePermissionApplyOrderRequest::setApplyReason(const std::string& applyReason)
{
applyReason_ = applyReason;
setParameter("ApplyReason", applyReason);
CreatePermissionApplyOrderRequest::~CreatePermissionApplyOrderRequest() {}
std::string CreatePermissionApplyOrderRequest::getApplyReason() const {
return applyReason_;
}
std::string CreatePermissionApplyOrderRequest::getMaxComputeProjectName()const
{
return maxComputeProjectName_;
void CreatePermissionApplyOrderRequest::setApplyReason(const std::string &applyReason) {
applyReason_ = applyReason;
setParameter(std::string("ApplyReason"), applyReason);
}
void CreatePermissionApplyOrderRequest::setMaxComputeProjectName(const std::string& maxComputeProjectName)
{
maxComputeProjectName_ = maxComputeProjectName;
setParameter("MaxComputeProjectName", maxComputeProjectName);
std::string CreatePermissionApplyOrderRequest::getMaxComputeProjectName() const {
return maxComputeProjectName_;
}
std::vector<CreatePermissionApplyOrderRequest::ApplyObject> CreatePermissionApplyOrderRequest::getApplyObject()const
{
return applyObject_;
void CreatePermissionApplyOrderRequest::setMaxComputeProjectName(const std::string &maxComputeProjectName) {
maxComputeProjectName_ = maxComputeProjectName;
setParameter(std::string("MaxComputeProjectName"), maxComputeProjectName);
}
void CreatePermissionApplyOrderRequest::setApplyObject(const std::vector<ApplyObject>& applyObject)
{
applyObject_ = applyObject;
for(int dep1 = 0; dep1!= applyObject.size(); dep1++) {
auto applyObjectObj = applyObject.at(dep1);
std::string applyObjectObjStr = "ApplyObject." + std::to_string(dep1 + 1);
for(int dep2 = 0; dep2!= applyObjectObj.columnMetaList.size(); dep2++) {
auto columnMetaListObj = applyObjectObj.columnMetaList.at(dep2);
std::string columnMetaListObjStr = applyObjectObjStr + "ColumnMetaList." + std::to_string(dep2 + 1);
setParameter(columnMetaListObjStr + ".Name", columnMetaListObj.name);
}
setParameter(applyObjectObjStr + ".Name", applyObjectObj.name);
setParameter(applyObjectObjStr + ".Actions", applyObjectObj.actions);
}
std::vector<CreatePermissionApplyOrderRequest::ApplyObject> CreatePermissionApplyOrderRequest::getApplyObject() const {
return applyObject_;
}
std::string CreatePermissionApplyOrderRequest::getApplyUserIds()const
{
return applyUserIds_;
void CreatePermissionApplyOrderRequest::setApplyObject(const std::vector<CreatePermissionApplyOrderRequest::ApplyObject> &applyObject) {
applyObject_ = applyObject;
for(int dep1 = 0; dep1 != applyObject.size(); dep1++) {
auto applyObjectObj = applyObject.at(dep1);
std::string applyObjectObjStr = std::string("ApplyObject") + "." + std::to_string(dep1 + 1);
for(int dep2 = 0; dep2 != applyObjectObj.columnMetaList.size(); dep2++) {
auto columnMetaListObj = applyObjectObj.columnMetaList.at(dep2);
std::string columnMetaListObjStr = applyObjectObjStr + ".ColumnMetaList" + "." + std::to_string(dep2 + 1);
setParameter(columnMetaListObjStr + ".Name", columnMetaListObj.name);
}
setParameter(applyObjectObjStr + ".Name", applyObjectObj.name);
setParameter(applyObjectObjStr + ".Actions", applyObjectObj.actions);
}
}
void CreatePermissionApplyOrderRequest::setApplyUserIds(const std::string& applyUserIds)
{
applyUserIds_ = applyUserIds;
setParameter("ApplyUserIds", applyUserIds);
std::string CreatePermissionApplyOrderRequest::getApplyUserIds() const {
return applyUserIds_;
}
long CreatePermissionApplyOrderRequest::getDeadline()const
{
return deadline_;
void CreatePermissionApplyOrderRequest::setApplyUserIds(const std::string &applyUserIds) {
applyUserIds_ = applyUserIds;
setParameter(std::string("ApplyUserIds"), applyUserIds);
}
void CreatePermissionApplyOrderRequest::setDeadline(long deadline)
{
deadline_ = deadline;
setParameter("Deadline", std::to_string(deadline));
long CreatePermissionApplyOrderRequest::getDeadline() const {
return deadline_;
}
int CreatePermissionApplyOrderRequest::getWorkspaceId()const
{
return workspaceId_;
void CreatePermissionApplyOrderRequest::setDeadline(long deadline) {
deadline_ = deadline;
setParameter(std::string("Deadline"), std::to_string(deadline));
}
void CreatePermissionApplyOrderRequest::setWorkspaceId(int workspaceId)
{
workspaceId_ = workspaceId;
setParameter("WorkspaceId", std::to_string(workspaceId));
int CreatePermissionApplyOrderRequest::getWorkspaceId() const {
return workspaceId_;
}
int CreatePermissionApplyOrderRequest::getOrderType()const
{
return orderType_;
void CreatePermissionApplyOrderRequest::setWorkspaceId(int workspaceId) {
workspaceId_ = workspaceId;
setParameter(std::string("WorkspaceId"), std::to_string(workspaceId));
}
void CreatePermissionApplyOrderRequest::setOrderType(int orderType)
{
orderType_ = orderType;
setParameter("OrderType", std::to_string(orderType));
int CreatePermissionApplyOrderRequest::getOrderType() const {
return orderType_;
}
std::string CreatePermissionApplyOrderRequest::getEngineType()const
{
return engineType_;
void CreatePermissionApplyOrderRequest::setOrderType(int orderType) {
orderType_ = orderType;
setParameter(std::string("OrderType"), std::to_string(orderType));
}
void CreatePermissionApplyOrderRequest::setEngineType(const std::string& engineType)
{
engineType_ = engineType;
setParameter("EngineType", engineType);
std::string CreatePermissionApplyOrderRequest::getEngineType() const {
return engineType_;
}
void CreatePermissionApplyOrderRequest::setEngineType(const std::string &engineType) {
engineType_ = engineType;
setParameter(std::string("EngineType"), engineType);
}

View File

@@ -1,73 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateProjectMemberRequest;
CreateProjectMemberRequest::CreateProjectMemberRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateProjectMember")
{
setMethod(HttpRequest::Method::Post);
}
CreateProjectMemberRequest::~CreateProjectMemberRequest()
{}
std::string CreateProjectMemberRequest::getRoleCode()const
{
return roleCode_;
*/
#include <alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateProjectMemberRequest;
CreateProjectMemberRequest::CreateProjectMemberRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateProjectMember") {
setMethod(HttpRequest::Method::Post);
}
void CreateProjectMemberRequest::setRoleCode(const std::string& roleCode)
{
roleCode_ = roleCode;
setParameter("RoleCode", roleCode);
CreateProjectMemberRequest::~CreateProjectMemberRequest() {}
std::string CreateProjectMemberRequest::getRoleCode() const {
return roleCode_;
}
std::string CreateProjectMemberRequest::getClientToken()const
{
return clientToken_;
void CreateProjectMemberRequest::setRoleCode(const std::string &roleCode) {
roleCode_ = roleCode;
setParameter(std::string("RoleCode"), roleCode);
}
void CreateProjectMemberRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
std::string CreateProjectMemberRequest::getClientToken() const {
return clientToken_;
}
long CreateProjectMemberRequest::getProjectId()const
{
return projectId_;
void CreateProjectMemberRequest::setClientToken(const std::string &clientToken) {
clientToken_ = clientToken;
setParameter(std::string("ClientToken"), clientToken);
}
void CreateProjectMemberRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long CreateProjectMemberRequest::getProjectId() const {
return projectId_;
}
std::string CreateProjectMemberRequest::getUserId()const
{
return userId_;
void CreateProjectMemberRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}
void CreateProjectMemberRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setParameter("UserId", userId);
std::string CreateProjectMemberRequest::getUserId() const {
return userId_;
}
void CreateProjectMemberRequest::setUserId(const std::string &userId) {
userId_ = userId;
setParameter(std::string("UserId"), userId);
}

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateQualityEntityRequest;
CreateQualityEntityRequest::CreateQualityEntityRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityEntity")
{
setMethod(HttpRequest::Method::Post);
}
CreateQualityEntityRequest::~CreateQualityEntityRequest()
{}
std::string CreateQualityEntityRequest::getProjectName()const
{
return projectName_;
*/
#include <alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateQualityEntityRequest;
CreateQualityEntityRequest::CreateQualityEntityRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityEntity") {
setMethod(HttpRequest::Method::Post);
}
void CreateQualityEntityRequest::setProjectName(const std::string& projectName)
{
projectName_ = projectName;
setBodyParameter("ProjectName", projectName);
CreateQualityEntityRequest::~CreateQualityEntityRequest() {}
std::string CreateQualityEntityRequest::getProjectName() const {
return projectName_;
}
int CreateQualityEntityRequest::getEntityLevel()const
{
return entityLevel_;
void CreateQualityEntityRequest::setProjectName(const std::string &projectName) {
projectName_ = projectName;
setBodyParameter(std::string("ProjectName"), projectName);
}
void CreateQualityEntityRequest::setEntityLevel(int entityLevel)
{
entityLevel_ = entityLevel;
setBodyParameter("EntityLevel", std::to_string(entityLevel));
int CreateQualityEntityRequest::getEntityLevel() const {
return entityLevel_;
}
std::string CreateQualityEntityRequest::getMatchExpression()const
{
return matchExpression_;
void CreateQualityEntityRequest::setEntityLevel(int entityLevel) {
entityLevel_ = entityLevel;
setBodyParameter(std::string("EntityLevel"), std::to_string(entityLevel));
}
void CreateQualityEntityRequest::setMatchExpression(const std::string& matchExpression)
{
matchExpression_ = matchExpression;
setBodyParameter("MatchExpression", matchExpression);
std::string CreateQualityEntityRequest::getMatchExpression() const {
return matchExpression_;
}
std::string CreateQualityEntityRequest::getEnvType()const
{
return envType_;
void CreateQualityEntityRequest::setMatchExpression(const std::string &matchExpression) {
matchExpression_ = matchExpression;
setBodyParameter(std::string("MatchExpression"), matchExpression);
}
void CreateQualityEntityRequest::setEnvType(const std::string& envType)
{
envType_ = envType;
setBodyParameter("EnvType", envType);
std::string CreateQualityEntityRequest::getEnvType() const {
return envType_;
}
std::string CreateQualityEntityRequest::getTableName()const
{
return tableName_;
void CreateQualityEntityRequest::setEnvType(const std::string &envType) {
envType_ = envType;
setBodyParameter(std::string("EnvType"), envType);
}
void CreateQualityEntityRequest::setTableName(const std::string& tableName)
{
tableName_ = tableName;
setBodyParameter("TableName", tableName);
std::string CreateQualityEntityRequest::getTableName() const {
return tableName_;
}
void CreateQualityEntityRequest::setTableName(const std::string &tableName) {
tableName_ = tableName;
setBodyParameter(std::string("TableName"), tableName);
}

View File

@@ -1,73 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateQualityFollowerRequest;
CreateQualityFollowerRequest::CreateQualityFollowerRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityFollower")
{
setMethod(HttpRequest::Method::Post);
}
CreateQualityFollowerRequest::~CreateQualityFollowerRequest()
{}
int CreateQualityFollowerRequest::getAlarmMode()const
{
return alarmMode_;
*/
#include <alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateQualityFollowerRequest;
CreateQualityFollowerRequest::CreateQualityFollowerRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityFollower") {
setMethod(HttpRequest::Method::Post);
}
void CreateQualityFollowerRequest::setAlarmMode(int alarmMode)
{
alarmMode_ = alarmMode;
setBodyParameter("AlarmMode", std::to_string(alarmMode));
CreateQualityFollowerRequest::~CreateQualityFollowerRequest() {}
int CreateQualityFollowerRequest::getAlarmMode() const {
return alarmMode_;
}
std::string CreateQualityFollowerRequest::getProjectName()const
{
return projectName_;
void CreateQualityFollowerRequest::setAlarmMode(int alarmMode) {
alarmMode_ = alarmMode;
setBodyParameter(std::string("AlarmMode"), std::to_string(alarmMode));
}
void CreateQualityFollowerRequest::setProjectName(const std::string& projectName)
{
projectName_ = projectName;
setBodyParameter("ProjectName", projectName);
std::string CreateQualityFollowerRequest::getProjectName() const {
return projectName_;
}
std::string CreateQualityFollowerRequest::getFollower()const
{
return follower_;
void CreateQualityFollowerRequest::setProjectName(const std::string &projectName) {
projectName_ = projectName;
setBodyParameter(std::string("ProjectName"), projectName);
}
void CreateQualityFollowerRequest::setFollower(const std::string& follower)
{
follower_ = follower;
setBodyParameter("Follower", follower);
std::string CreateQualityFollowerRequest::getFollower() const {
return follower_;
}
long CreateQualityFollowerRequest::getEntityId()const
{
return entityId_;
void CreateQualityFollowerRequest::setFollower(const std::string &follower) {
follower_ = follower;
setBodyParameter(std::string("Follower"), follower);
}
void CreateQualityFollowerRequest::setEntityId(long entityId)
{
entityId_ = entityId;
setBodyParameter("EntityId", std::to_string(entityId));
long CreateQualityFollowerRequest::getEntityId() const {
return entityId_;
}
void CreateQualityFollowerRequest::setEntityId(long entityId) {
entityId_ = entityId;
setBodyParameter(std::string("EntityId"), std::to_string(entityId));
}

View File

@@ -1,117 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateQualityRelativeNodeRequest;
CreateQualityRelativeNodeRequest::CreateQualityRelativeNodeRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityRelativeNode")
{
setMethod(HttpRequest::Method::Post);
}
CreateQualityRelativeNodeRequest::~CreateQualityRelativeNodeRequest()
{}
std::string CreateQualityRelativeNodeRequest::getProjectName()const
{
return projectName_;
*/
#include <alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateQualityRelativeNodeRequest;
CreateQualityRelativeNodeRequest::CreateQualityRelativeNodeRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityRelativeNode") {
setMethod(HttpRequest::Method::Post);
}
void CreateQualityRelativeNodeRequest::setProjectName(const std::string& projectName)
{
projectName_ = projectName;
setBodyParameter("ProjectName", projectName);
CreateQualityRelativeNodeRequest::~CreateQualityRelativeNodeRequest() {}
std::string CreateQualityRelativeNodeRequest::getProjectName() const {
return projectName_;
}
long CreateQualityRelativeNodeRequest::getTargetNodeProjectId()const
{
return targetNodeProjectId_;
void CreateQualityRelativeNodeRequest::setProjectName(const std::string &projectName) {
projectName_ = projectName;
setBodyParameter(std::string("ProjectName"), projectName);
}
void CreateQualityRelativeNodeRequest::setTargetNodeProjectId(long targetNodeProjectId)
{
targetNodeProjectId_ = targetNodeProjectId;
setBodyParameter("TargetNodeProjectId", std::to_string(targetNodeProjectId));
long CreateQualityRelativeNodeRequest::getTargetNodeProjectId() const {
return targetNodeProjectId_;
}
std::string CreateQualityRelativeNodeRequest::getMatchExpression()const
{
return matchExpression_;
void CreateQualityRelativeNodeRequest::setTargetNodeProjectId(long targetNodeProjectId) {
targetNodeProjectId_ = targetNodeProjectId;
setBodyParameter(std::string("TargetNodeProjectId"), std::to_string(targetNodeProjectId));
}
void CreateQualityRelativeNodeRequest::setMatchExpression(const std::string& matchExpression)
{
matchExpression_ = matchExpression;
setBodyParameter("MatchExpression", matchExpression);
std::string CreateQualityRelativeNodeRequest::getMatchExpression() const {
return matchExpression_;
}
std::string CreateQualityRelativeNodeRequest::getEnvType()const
{
return envType_;
void CreateQualityRelativeNodeRequest::setMatchExpression(const std::string &matchExpression) {
matchExpression_ = matchExpression;
setBodyParameter(std::string("MatchExpression"), matchExpression);
}
void CreateQualityRelativeNodeRequest::setEnvType(const std::string& envType)
{
envType_ = envType;
setBodyParameter("EnvType", envType);
std::string CreateQualityRelativeNodeRequest::getEnvType() const {
return envType_;
}
std::string CreateQualityRelativeNodeRequest::getTargetNodeProjectName()const
{
return targetNodeProjectName_;
void CreateQualityRelativeNodeRequest::setEnvType(const std::string &envType) {
envType_ = envType;
setBodyParameter(std::string("EnvType"), envType);
}
void CreateQualityRelativeNodeRequest::setTargetNodeProjectName(const std::string& targetNodeProjectName)
{
targetNodeProjectName_ = targetNodeProjectName;
setBodyParameter("TargetNodeProjectName", targetNodeProjectName);
std::string CreateQualityRelativeNodeRequest::getTargetNodeProjectName() const {
return targetNodeProjectName_;
}
std::string CreateQualityRelativeNodeRequest::getTableName()const
{
return tableName_;
void CreateQualityRelativeNodeRequest::setTargetNodeProjectName(const std::string &targetNodeProjectName) {
targetNodeProjectName_ = targetNodeProjectName;
setBodyParameter(std::string("TargetNodeProjectName"), targetNodeProjectName);
}
void CreateQualityRelativeNodeRequest::setTableName(const std::string& tableName)
{
tableName_ = tableName;
setBodyParameter("TableName", tableName);
std::string CreateQualityRelativeNodeRequest::getTableName() const {
return tableName_;
}
long CreateQualityRelativeNodeRequest::getNodeId()const
{
return nodeId_;
void CreateQualityRelativeNodeRequest::setTableName(const std::string &tableName) {
tableName_ = tableName;
setBodyParameter(std::string("TableName"), tableName);
}
void CreateQualityRelativeNodeRequest::setNodeId(long nodeId)
{
nodeId_ = nodeId;
setBodyParameter("NodeId", std::to_string(nodeId));
long CreateQualityRelativeNodeRequest::getNodeId() const {
return nodeId_;
}
long CreateQualityRelativeNodeRequest::getProjectId()const
{
return projectId_;
void CreateQualityRelativeNodeRequest::setNodeId(long nodeId) {
nodeId_ = nodeId;
setBodyParameter(std::string("NodeId"), std::to_string(nodeId));
}
void CreateQualityRelativeNodeRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long CreateQualityRelativeNodeRequest::getProjectId() const {
return projectId_;
}
void CreateQualityRelativeNodeRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -1,227 +1,189 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateQualityRuleRequest;
CreateQualityRuleRequest::CreateQualityRuleRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityRule")
{
setMethod(HttpRequest::Method::Post);
}
CreateQualityRuleRequest::~CreateQualityRuleRequest()
{}
std::string CreateQualityRuleRequest::getProjectName()const
{
return projectName_;
*/
#include <alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateQualityRuleRequest;
CreateQualityRuleRequest::CreateQualityRuleRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityRule") {
setMethod(HttpRequest::Method::Post);
}
void CreateQualityRuleRequest::setProjectName(const std::string& projectName)
{
projectName_ = projectName;
setBodyParameter("ProjectName", projectName);
CreateQualityRuleRequest::~CreateQualityRuleRequest() {}
std::string CreateQualityRuleRequest::getProjectName() const {
return projectName_;
}
std::string CreateQualityRuleRequest::getTrend()const
{
return trend_;
void CreateQualityRuleRequest::setProjectName(const std::string &projectName) {
projectName_ = projectName;
setBodyParameter(std::string("ProjectName"), projectName);
}
void CreateQualityRuleRequest::setTrend(const std::string& trend)
{
trend_ = trend;
setBodyParameter("Trend", trend);
std::string CreateQualityRuleRequest::getTrend() const {
return trend_;
}
int CreateQualityRuleRequest::getRuleType()const
{
return ruleType_;
void CreateQualityRuleRequest::setTrend(const std::string &trend) {
trend_ = trend;
setBodyParameter(std::string("Trend"), trend);
}
void CreateQualityRuleRequest::setRuleType(int ruleType)
{
ruleType_ = ruleType;
setBodyParameter("RuleType", std::to_string(ruleType));
int CreateQualityRuleRequest::getRuleType() const {
return ruleType_;
}
int CreateQualityRuleRequest::getBlockType()const
{
return blockType_;
void CreateQualityRuleRequest::setRuleType(int ruleType) {
ruleType_ = ruleType;
setBodyParameter(std::string("RuleType"), std::to_string(ruleType));
}
void CreateQualityRuleRequest::setBlockType(int blockType)
{
blockType_ = blockType;
setBodyParameter("BlockType", std::to_string(blockType));
int CreateQualityRuleRequest::getBlockType() const {
return blockType_;
}
std::string CreateQualityRuleRequest::getPropertyType()const
{
return propertyType_;
void CreateQualityRuleRequest::setBlockType(int blockType) {
blockType_ = blockType;
setBodyParameter(std::string("BlockType"), std::to_string(blockType));
}
void CreateQualityRuleRequest::setPropertyType(const std::string& propertyType)
{
propertyType_ = propertyType;
setBodyParameter("PropertyType", propertyType);
std::string CreateQualityRuleRequest::getPropertyType() const {
return propertyType_;
}
long CreateQualityRuleRequest::getEntityId()const
{
return entityId_;
void CreateQualityRuleRequest::setPropertyType(const std::string &propertyType) {
propertyType_ = propertyType;
setBodyParameter(std::string("PropertyType"), propertyType);
}
void CreateQualityRuleRequest::setEntityId(long entityId)
{
entityId_ = entityId;
setBodyParameter("EntityId", std::to_string(entityId));
long CreateQualityRuleRequest::getEntityId() const {
return entityId_;
}
std::string CreateQualityRuleRequest::getRuleName()const
{
return ruleName_;
void CreateQualityRuleRequest::setEntityId(long entityId) {
entityId_ = entityId;
setBodyParameter(std::string("EntityId"), std::to_string(entityId));
}
void CreateQualityRuleRequest::setRuleName(const std::string& ruleName)
{
ruleName_ = ruleName;
setBodyParameter("RuleName", ruleName);
std::string CreateQualityRuleRequest::getRuleName() const {
return ruleName_;
}
int CreateQualityRuleRequest::getChecker()const
{
return checker_;
void CreateQualityRuleRequest::setRuleName(const std::string &ruleName) {
ruleName_ = ruleName;
setBodyParameter(std::string("RuleName"), ruleName);
}
void CreateQualityRuleRequest::setChecker(int checker)
{
checker_ = checker;
setBodyParameter("Checker", std::to_string(checker));
int CreateQualityRuleRequest::getChecker() const {
return checker_;
}
int CreateQualityRuleRequest::getTemplateId()const
{
return templateId_;
void CreateQualityRuleRequest::setChecker(int checker) {
checker_ = checker;
setBodyParameter(std::string("Checker"), std::to_string(checker));
}
void CreateQualityRuleRequest::setTemplateId(int templateId)
{
templateId_ = templateId;
setBodyParameter("TemplateId", std::to_string(templateId));
int CreateQualityRuleRequest::getTemplateId() const {
return templateId_;
}
std::string CreateQualityRuleRequest::getExpectValue()const
{
return expectValue_;
void CreateQualityRuleRequest::setTemplateId(int templateId) {
templateId_ = templateId;
setBodyParameter(std::string("TemplateId"), std::to_string(templateId));
}
void CreateQualityRuleRequest::setExpectValue(const std::string& expectValue)
{
expectValue_ = expectValue;
setBodyParameter("ExpectValue", expectValue);
std::string CreateQualityRuleRequest::getExpectValue() const {
return expectValue_;
}
std::string CreateQualityRuleRequest::get_Operator()const
{
return _operator_;
void CreateQualityRuleRequest::setExpectValue(const std::string &expectValue) {
expectValue_ = expectValue;
setBodyParameter(std::string("ExpectValue"), expectValue);
}
void CreateQualityRuleRequest::set_Operator(const std::string& _operator)
{
_operator_ = _operator;
setBodyParameter("_Operator", _operator);
std::string CreateQualityRuleRequest::get_Operator() const {
return _operator_;
}
std::string CreateQualityRuleRequest::getWhereCondition()const
{
return whereCondition_;
void CreateQualityRuleRequest::set_Operator(const std::string &_operator) {
_operator_ = _operator;
setBodyParameter(std::string("Operator"), _operator);
}
void CreateQualityRuleRequest::setWhereCondition(const std::string& whereCondition)
{
whereCondition_ = whereCondition;
setBodyParameter("WhereCondition", whereCondition);
std::string CreateQualityRuleRequest::getWhereCondition() const {
return whereCondition_;
}
std::string CreateQualityRuleRequest::getCriticalThreshold()const
{
return criticalThreshold_;
void CreateQualityRuleRequest::setWhereCondition(const std::string &whereCondition) {
whereCondition_ = whereCondition;
setBodyParameter(std::string("WhereCondition"), whereCondition);
}
void CreateQualityRuleRequest::setCriticalThreshold(const std::string& criticalThreshold)
{
criticalThreshold_ = criticalThreshold;
setBodyParameter("CriticalThreshold", criticalThreshold);
std::string CreateQualityRuleRequest::getCriticalThreshold() const {
return criticalThreshold_;
}
std::string CreateQualityRuleRequest::getProperty()const
{
return property_;
void CreateQualityRuleRequest::setCriticalThreshold(const std::string &criticalThreshold) {
criticalThreshold_ = criticalThreshold;
setBodyParameter(std::string("CriticalThreshold"), criticalThreshold);
}
void CreateQualityRuleRequest::setProperty(const std::string& property)
{
property_ = property;
setBodyParameter("Property", property);
std::string CreateQualityRuleRequest::getProperty() const {
return property_;
}
std::string CreateQualityRuleRequest::getComment()const
{
return comment_;
void CreateQualityRuleRequest::setProperty(const std::string &property) {
property_ = property;
setBodyParameter(std::string("Property"), property);
}
void CreateQualityRuleRequest::setComment(const std::string& comment)
{
comment_ = comment;
setBodyParameter("Comment", comment);
std::string CreateQualityRuleRequest::getComment() const {
return comment_;
}
int CreateQualityRuleRequest::getPredictType()const
{
return predictType_;
void CreateQualityRuleRequest::setComment(const std::string &comment) {
comment_ = comment;
setBodyParameter(std::string("Comment"), comment);
}
void CreateQualityRuleRequest::setPredictType(int predictType)
{
predictType_ = predictType;
setBodyParameter("PredictType", std::to_string(predictType));
int CreateQualityRuleRequest::getPredictType() const {
return predictType_;
}
std::string CreateQualityRuleRequest::getWarningThreshold()const
{
return warningThreshold_;
void CreateQualityRuleRequest::setPredictType(int predictType) {
predictType_ = predictType;
setBodyParameter(std::string("PredictType"), std::to_string(predictType));
}
void CreateQualityRuleRequest::setWarningThreshold(const std::string& warningThreshold)
{
warningThreshold_ = warningThreshold;
setBodyParameter("WarningThreshold", warningThreshold);
std::string CreateQualityRuleRequest::getWarningThreshold() const {
return warningThreshold_;
}
std::string CreateQualityRuleRequest::getMethodName()const
{
return methodName_;
void CreateQualityRuleRequest::setWarningThreshold(const std::string &warningThreshold) {
warningThreshold_ = warningThreshold;
setBodyParameter(std::string("WarningThreshold"), warningThreshold);
}
void CreateQualityRuleRequest::setMethodName(const std::string& methodName)
{
methodName_ = methodName;
setBodyParameter("MethodName", methodName);
std::string CreateQualityRuleRequest::getMethodName() const {
return methodName_;
}
void CreateQualityRuleRequest::setMethodName(const std::string &methodName) {
methodName_ = methodName;
setBodyParameter(std::string("MethodName"), methodName);
}

View File

@@ -1,194 +1,162 @@
/*
* 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/CreateRemindRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateRemindRequest;
CreateRemindRequest::CreateRemindRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateRemind")
{
setMethod(HttpRequest::Method::Post);
}
CreateRemindRequest::~CreateRemindRequest()
{}
std::string CreateRemindRequest::getDndEnd()const
{
return dndEnd_;
*/
#include <alibabacloud/dataworks-public/model/CreateRemindRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateRemindRequest;
CreateRemindRequest::CreateRemindRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateRemind") {
setMethod(HttpRequest::Method::Post);
}
void CreateRemindRequest::setDndEnd(const std::string& dndEnd)
{
dndEnd_ = dndEnd;
setBodyParameter("DndEnd", dndEnd);
CreateRemindRequest::~CreateRemindRequest() {}
std::string CreateRemindRequest::getDndEnd() const {
return dndEnd_;
}
std::string CreateRemindRequest::getAlertUnit()const
{
return alertUnit_;
void CreateRemindRequest::setDndEnd(const std::string &dndEnd) {
dndEnd_ = dndEnd;
setBodyParameter(std::string("DndEnd"), dndEnd);
}
void CreateRemindRequest::setAlertUnit(const std::string& alertUnit)
{
alertUnit_ = alertUnit;
setBodyParameter("AlertUnit", alertUnit);
std::string CreateRemindRequest::getAlertUnit() const {
return alertUnit_;
}
std::string CreateRemindRequest::getRemindUnit()const
{
return remindUnit_;
void CreateRemindRequest::setAlertUnit(const std::string &alertUnit) {
alertUnit_ = alertUnit;
setBodyParameter(std::string("AlertUnit"), alertUnit);
}
void CreateRemindRequest::setRemindUnit(const std::string& remindUnit)
{
remindUnit_ = remindUnit;
setBodyParameter("RemindUnit", remindUnit);
std::string CreateRemindRequest::getRemindUnit() const {
return remindUnit_;
}
int CreateRemindRequest::getAlertInterval()const
{
return alertInterval_;
void CreateRemindRequest::setRemindUnit(const std::string &remindUnit) {
remindUnit_ = remindUnit;
setBodyParameter(std::string("RemindUnit"), remindUnit);
}
void CreateRemindRequest::setAlertInterval(int alertInterval)
{
alertInterval_ = alertInterval;
setBodyParameter("AlertInterval", std::to_string(alertInterval));
int CreateRemindRequest::getAlertInterval() const {
return alertInterval_;
}
std::string CreateRemindRequest::getAlertMethods()const
{
return alertMethods_;
void CreateRemindRequest::setAlertInterval(int alertInterval) {
alertInterval_ = alertInterval;
setBodyParameter(std::string("AlertInterval"), std::to_string(alertInterval));
}
void CreateRemindRequest::setAlertMethods(const std::string& alertMethods)
{
alertMethods_ = alertMethods;
setBodyParameter("AlertMethods", alertMethods);
std::string CreateRemindRequest::getAlertMethods() const {
return alertMethods_;
}
std::string CreateRemindRequest::getRobotUrls()const
{
return robotUrls_;
void CreateRemindRequest::setAlertMethods(const std::string &alertMethods) {
alertMethods_ = alertMethods;
setBodyParameter(std::string("AlertMethods"), alertMethods);
}
void CreateRemindRequest::setRobotUrls(const std::string& robotUrls)
{
robotUrls_ = robotUrls;
setBodyParameter("RobotUrls", robotUrls);
std::string CreateRemindRequest::getRobotUrls() const {
return robotUrls_;
}
int CreateRemindRequest::getMaxAlertTimes()const
{
return maxAlertTimes_;
void CreateRemindRequest::setRobotUrls(const std::string &robotUrls) {
robotUrls_ = robotUrls;
setBodyParameter(std::string("RobotUrls"), robotUrls);
}
void CreateRemindRequest::setMaxAlertTimes(int maxAlertTimes)
{
maxAlertTimes_ = maxAlertTimes;
setBodyParameter("MaxAlertTimes", std::to_string(maxAlertTimes));
int CreateRemindRequest::getMaxAlertTimes() const {
return maxAlertTimes_;
}
std::string CreateRemindRequest::getBizProcessIds()const
{
return bizProcessIds_;
void CreateRemindRequest::setMaxAlertTimes(int maxAlertTimes) {
maxAlertTimes_ = maxAlertTimes;
setBodyParameter(std::string("MaxAlertTimes"), std::to_string(maxAlertTimes));
}
void CreateRemindRequest::setBizProcessIds(const std::string& bizProcessIds)
{
bizProcessIds_ = bizProcessIds;
setBodyParameter("BizProcessIds", bizProcessIds);
std::string CreateRemindRequest::getBizProcessIds() const {
return bizProcessIds_;
}
std::string CreateRemindRequest::getRemindType()const
{
return remindType_;
void CreateRemindRequest::setBizProcessIds(const std::string &bizProcessIds) {
bizProcessIds_ = bizProcessIds;
setBodyParameter(std::string("BizProcessIds"), bizProcessIds);
}
void CreateRemindRequest::setRemindType(const std::string& remindType)
{
remindType_ = remindType;
setBodyParameter("RemindType", remindType);
std::string CreateRemindRequest::getRemindType() const {
return remindType_;
}
std::string CreateRemindRequest::getAlertTargets()const
{
return alertTargets_;
void CreateRemindRequest::setRemindType(const std::string &remindType) {
remindType_ = remindType;
setBodyParameter(std::string("RemindType"), remindType);
}
void CreateRemindRequest::setAlertTargets(const std::string& alertTargets)
{
alertTargets_ = alertTargets;
setBodyParameter("AlertTargets", alertTargets);
std::string CreateRemindRequest::getAlertTargets() const {
return alertTargets_;
}
std::string CreateRemindRequest::getBaselineIds()const
{
return baselineIds_;
void CreateRemindRequest::setAlertTargets(const std::string &alertTargets) {
alertTargets_ = alertTargets;
setBodyParameter(std::string("AlertTargets"), alertTargets);
}
void CreateRemindRequest::setBaselineIds(const std::string& baselineIds)
{
baselineIds_ = baselineIds;
setBodyParameter("BaselineIds", baselineIds);
std::string CreateRemindRequest::getBaselineIds() const {
return baselineIds_;
}
std::string CreateRemindRequest::getDetail()const
{
return detail_;
void CreateRemindRequest::setBaselineIds(const std::string &baselineIds) {
baselineIds_ = baselineIds;
setBodyParameter(std::string("BaselineIds"), baselineIds);
}
void CreateRemindRequest::setDetail(const std::string& detail)
{
detail_ = detail;
setBodyParameter("Detail", detail);
std::string CreateRemindRequest::getDetail() const {
return detail_;
}
std::string CreateRemindRequest::getRemindName()const
{
return remindName_;
void CreateRemindRequest::setDetail(const std::string &detail) {
detail_ = detail;
setBodyParameter(std::string("Detail"), detail);
}
void CreateRemindRequest::setRemindName(const std::string& remindName)
{
remindName_ = remindName;
setBodyParameter("RemindName", remindName);
std::string CreateRemindRequest::getRemindName() const {
return remindName_;
}
long CreateRemindRequest::getProjectId()const
{
return projectId_;
void CreateRemindRequest::setRemindName(const std::string &remindName) {
remindName_ = remindName;
setBodyParameter(std::string("RemindName"), remindName);
}
void CreateRemindRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long CreateRemindRequest::getProjectId() const {
return projectId_;
}
std::string CreateRemindRequest::getNodeIds()const
{
return nodeIds_;
void CreateRemindRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void CreateRemindRequest::setNodeIds(const std::string& nodeIds)
{
nodeIds_ = nodeIds;
setBodyParameter("NodeIds", nodeIds);
std::string CreateRemindRequest::getNodeIds() const {
return nodeIds_;
}
void CreateRemindRequest::setNodeIds(const std::string &nodeIds) {
nodeIds_ = nodeIds;
setBodyParameter(std::string("NodeIds"), nodeIds);
}

View File

@@ -1,73 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateTableLevelRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateTableLevelRequest;
CreateTableLevelRequest::CreateTableLevelRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateTableLevel")
{
setMethod(HttpRequest::Method::Post);
}
CreateTableLevelRequest::~CreateTableLevelRequest()
{}
int CreateTableLevelRequest::getLevelType()const
{
return levelType_;
*/
#include <alibabacloud/dataworks-public/model/CreateTableLevelRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateTableLevelRequest;
CreateTableLevelRequest::CreateTableLevelRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateTableLevel") {
setMethod(HttpRequest::Method::Post);
}
void CreateTableLevelRequest::setLevelType(int levelType)
{
levelType_ = levelType;
setParameter("LevelType", std::to_string(levelType));
CreateTableLevelRequest::~CreateTableLevelRequest() {}
int CreateTableLevelRequest::getLevelType() const {
return levelType_;
}
std::string CreateTableLevelRequest::getName()const
{
return name_;
void CreateTableLevelRequest::setLevelType(int levelType) {
levelType_ = levelType;
setParameter(std::string("LevelType"), std::to_string(levelType));
}
void CreateTableLevelRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
std::string CreateTableLevelRequest::getName() const {
return name_;
}
std::string CreateTableLevelRequest::getDescription()const
{
return description_;
void CreateTableLevelRequest::setName(const std::string &name) {
name_ = name;
setParameter(std::string("Name"), name);
}
void CreateTableLevelRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
std::string CreateTableLevelRequest::getDescription() const {
return description_;
}
long CreateTableLevelRequest::getProjectId()const
{
return projectId_;
void CreateTableLevelRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
void CreateTableLevelRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long CreateTableLevelRequest::getProjectId() const {
return projectId_;
}
void CreateTableLevelRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -1,253 +1,213 @@
/*
* 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/CreateTableRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateTableRequest;
CreateTableRequest::CreateTableRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateTable")
{
setMethod(HttpRequest::Method::Post);
}
CreateTableRequest::~CreateTableRequest()
{}
std::string CreateTableRequest::getClientToken()const
{
return clientToken_;
*/
#include <alibabacloud/dataworks-public/model/CreateTableRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateTableRequest;
CreateTableRequest::CreateTableRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateTable") {
setMethod(HttpRequest::Method::Post);
}
void CreateTableRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
CreateTableRequest::~CreateTableRequest() {}
std::string CreateTableRequest::getClientToken() const {
return clientToken_;
}
std::vector<CreateTableRequest::Columns> CreateTableRequest::getColumns()const
{
return columns_;
void CreateTableRequest::setClientToken(const std::string &clientToken) {
clientToken_ = clientToken;
setParameter(std::string("ClientToken"), clientToken);
}
void CreateTableRequest::setColumns(const std::vector<Columns>& columns)
{
columns_ = columns;
for(int dep1 = 0; dep1!= columns.size(); dep1++) {
auto columnsObj = columns.at(dep1);
std::string columnsObjStr = "Columns." + std::to_string(dep1 + 1);
setParameter(columnsObjStr + ".SeqNumber", std::to_string(columnsObj.seqNumber));
setParameter(columnsObjStr + ".IsPartitionCol", columnsObj.isPartitionCol ? "true" : "false");
setParameter(columnsObjStr + ".ColumnNameCn", columnsObj.columnNameCn);
setParameter(columnsObjStr + ".Length", std::to_string(columnsObj.length));
setParameter(columnsObjStr + ".Comment", columnsObj.comment);
setParameter(columnsObjStr + ".ColumnName", columnsObj.columnName);
setParameter(columnsObjStr + ".ColumnType", columnsObj.columnType);
}
std::vector<CreateTableRequest::Columns> CreateTableRequest::getColumns() const {
return columns_;
}
int CreateTableRequest::getLifeCycle()const
{
return lifeCycle_;
void CreateTableRequest::setColumns(const std::vector<CreateTableRequest::Columns> &columns) {
columns_ = columns;
for(int dep1 = 0; dep1 != columns.size(); dep1++) {
auto columnsObj = columns.at(dep1);
std::string columnsObjStr = std::string("Columns") + "." + std::to_string(dep1 + 1);
setBodyParameter(columnsObjStr + ".SeqNumber", std::to_string(columnsObj.seqNumber));
setBodyParameter(columnsObjStr + ".IsPartitionCol", columnsObj.isPartitionCol ? "true" : "false");
setBodyParameter(columnsObjStr + ".ColumnNameCn", columnsObj.columnNameCn);
setBodyParameter(columnsObjStr + ".Length", std::to_string(columnsObj.length));
setBodyParameter(columnsObjStr + ".Comment", columnsObj.comment);
setBodyParameter(columnsObjStr + ".ColumnName", columnsObj.columnName);
setBodyParameter(columnsObjStr + ".ColumnType", columnsObj.columnType);
}
}
void CreateTableRequest::setLifeCycle(int lifeCycle)
{
lifeCycle_ = lifeCycle;
setParameter("LifeCycle", std::to_string(lifeCycle));
int CreateTableRequest::getLifeCycle() const {
return lifeCycle_;
}
std::vector<CreateTableRequest::Themes> CreateTableRequest::getThemes()const
{
return themes_;
void CreateTableRequest::setLifeCycle(int lifeCycle) {
lifeCycle_ = lifeCycle;
setParameter(std::string("LifeCycle"), std::to_string(lifeCycle));
}
void CreateTableRequest::setThemes(const std::vector<Themes>& themes)
{
themes_ = themes;
for(int dep1 = 0; dep1!= themes.size(); dep1++) {
auto themesObj = themes.at(dep1);
std::string themesObjStr = "Themes." + std::to_string(dep1 + 1);
setParameter(themesObjStr + ".ThemeLevel", std::to_string(themesObj.themeLevel));
setParameter(themesObjStr + ".ThemeId", std::to_string(themesObj.themeId));
}
std::vector<CreateTableRequest::Themes> CreateTableRequest::getThemes() const {
return themes_;
}
long CreateTableRequest::getLogicalLevelId()const
{
return logicalLevelId_;
void CreateTableRequest::setThemes(const std::vector<CreateTableRequest::Themes> &themes) {
themes_ = themes;
for(int dep1 = 0; dep1 != themes.size(); dep1++) {
auto themesObj = themes.at(dep1);
std::string themesObjStr = std::string("Themes") + "." + std::to_string(dep1 + 1);
setBodyParameter(themesObjStr + ".ThemeLevel", std::to_string(themesObj.themeLevel));
setBodyParameter(themesObjStr + ".ThemeId", std::to_string(themesObj.themeId));
}
}
void CreateTableRequest::setLogicalLevelId(long logicalLevelId)
{
logicalLevelId_ = logicalLevelId;
setParameter("LogicalLevelId", std::to_string(logicalLevelId));
long CreateTableRequest::getLogicalLevelId() const {
return logicalLevelId_;
}
std::string CreateTableRequest::getEndpoint()const
{
return endpoint_;
void CreateTableRequest::setLogicalLevelId(long logicalLevelId) {
logicalLevelId_ = logicalLevelId;
setParameter(std::string("LogicalLevelId"), std::to_string(logicalLevelId));
}
void CreateTableRequest::setEndpoint(const std::string& endpoint)
{
endpoint_ = endpoint;
setBodyParameter("Endpoint", endpoint);
std::string CreateTableRequest::getEndpoint() const {
return endpoint_;
}
int CreateTableRequest::getEnvType()const
{
return envType_;
void CreateTableRequest::setEndpoint(const std::string &endpoint) {
endpoint_ = endpoint;
setBodyParameter(std::string("Endpoint"), endpoint);
}
void CreateTableRequest::setEnvType(int envType)
{
envType_ = envType;
setBodyParameter("EnvType", std::to_string(envType));
int CreateTableRequest::getEnvType() const {
return envType_;
}
int CreateTableRequest::getHasPart()const
{
return hasPart_;
void CreateTableRequest::setEnvType(int envType) {
envType_ = envType;
setBodyParameter(std::string("EnvType"), std::to_string(envType));
}
void CreateTableRequest::setHasPart(int hasPart)
{
hasPart_ = hasPart;
setParameter("HasPart", std::to_string(hasPart));
int CreateTableRequest::getHasPart() const {
return hasPart_;
}
std::string CreateTableRequest::getTableName()const
{
return tableName_;
void CreateTableRequest::setHasPart(int hasPart) {
hasPart_ = hasPart;
setParameter(std::string("HasPart"), std::to_string(hasPart));
}
void CreateTableRequest::setTableName(const std::string& tableName)
{
tableName_ = tableName;
setParameter("TableName", tableName);
std::string CreateTableRequest::getTableName() const {
return tableName_;
}
std::string CreateTableRequest::getAppGuid()const
{
return appGuid_;
void CreateTableRequest::setTableName(const std::string &tableName) {
tableName_ = tableName;
setParameter(std::string("TableName"), tableName);
}
void CreateTableRequest::setAppGuid(const std::string& appGuid)
{
appGuid_ = appGuid;
setParameter("AppGuid", appGuid);
std::string CreateTableRequest::getAppGuid() const {
return appGuid_;
}
long CreateTableRequest::getProjectId()const
{
return projectId_;
void CreateTableRequest::setAppGuid(const std::string &appGuid) {
appGuid_ = appGuid;
setParameter(std::string("AppGuid"), appGuid);
}
void CreateTableRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long CreateTableRequest::getProjectId() const {
return projectId_;
}
long CreateTableRequest::getCategoryId()const
{
return categoryId_;
void CreateTableRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}
void CreateTableRequest::setCategoryId(long categoryId)
{
categoryId_ = categoryId;
setParameter("CategoryId", std::to_string(categoryId));
long CreateTableRequest::getCategoryId() const {
return categoryId_;
}
int CreateTableRequest::getVisibility()const
{
return visibility_;
void CreateTableRequest::setCategoryId(long categoryId) {
categoryId_ = categoryId;
setParameter(std::string("CategoryId"), std::to_string(categoryId));
}
void CreateTableRequest::setVisibility(int visibility)
{
visibility_ = visibility;
setParameter("Visibility", std::to_string(visibility));
int CreateTableRequest::getVisibility() const {
return visibility_;
}
long CreateTableRequest::getPhysicsLevelId()const
{
return physicsLevelId_;
void CreateTableRequest::setVisibility(int visibility) {
visibility_ = visibility;
setParameter(std::string("Visibility"), std::to_string(visibility));
}
void CreateTableRequest::setPhysicsLevelId(long physicsLevelId)
{
physicsLevelId_ = physicsLevelId;
setParameter("PhysicsLevelId", std::to_string(physicsLevelId));
long CreateTableRequest::getPhysicsLevelId() const {
return physicsLevelId_;
}
std::string CreateTableRequest::getOwnerId()const
{
return ownerId_;
void CreateTableRequest::setPhysicsLevelId(long physicsLevelId) {
physicsLevelId_ = physicsLevelId;
setParameter(std::string("PhysicsLevelId"), std::to_string(physicsLevelId));
}
void CreateTableRequest::setOwnerId(const std::string& ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", ownerId);
std::string CreateTableRequest::getOwnerId() const {
return ownerId_;
}
int CreateTableRequest::getIsView()const
{
return isView_;
void CreateTableRequest::setOwnerId(const std::string &ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), ownerId);
}
void CreateTableRequest::setIsView(int isView)
{
isView_ = isView;
setParameter("IsView", std::to_string(isView));
int CreateTableRequest::getIsView() const {
return isView_;
}
std::string CreateTableRequest::getExternalTableType()const
{
return externalTableType_;
void CreateTableRequest::setIsView(int isView) {
isView_ = isView;
setParameter(std::string("IsView"), std::to_string(isView));
}
void CreateTableRequest::setExternalTableType(const std::string& externalTableType)
{
externalTableType_ = externalTableType;
setParameter("ExternalTableType", externalTableType);
std::string CreateTableRequest::getExternalTableType() const {
return externalTableType_;
}
std::string CreateTableRequest::getLocation()const
{
return location_;
void CreateTableRequest::setExternalTableType(const std::string &externalTableType) {
externalTableType_ = externalTableType;
setParameter(std::string("ExternalTableType"), externalTableType);
}
void CreateTableRequest::setLocation(const std::string& location)
{
location_ = location;
setParameter("Location", location);
std::string CreateTableRequest::getLocation() const {
return location_;
}
std::string CreateTableRequest::getComment()const
{
return comment_;
void CreateTableRequest::setLocation(const std::string &location) {
location_ = location;
setParameter(std::string("Location"), location);
}
void CreateTableRequest::setComment(const std::string& comment)
{
comment_ = comment;
setParameter("Comment", comment);
std::string CreateTableRequest::getComment() const {
return comment_;
}
void CreateTableRequest::setComment(const std::string &comment) {
comment_ = comment;
setParameter(std::string("Comment"), comment);
}

View File

@@ -1,73 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/CreateTableThemeRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateTableThemeRequest;
CreateTableThemeRequest::CreateTableThemeRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateTableTheme")
{
setMethod(HttpRequest::Method::Post);
}
CreateTableThemeRequest::~CreateTableThemeRequest()
{}
int CreateTableThemeRequest::getLevel()const
{
return level_;
*/
#include <alibabacloud/dataworks-public/model/CreateTableThemeRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateTableThemeRequest;
CreateTableThemeRequest::CreateTableThemeRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateTableTheme") {
setMethod(HttpRequest::Method::Post);
}
void CreateTableThemeRequest::setLevel(int level)
{
level_ = level;
setParameter("Level", std::to_string(level));
CreateTableThemeRequest::~CreateTableThemeRequest() {}
int CreateTableThemeRequest::getLevel() const {
return level_;
}
std::string CreateTableThemeRequest::getName()const
{
return name_;
void CreateTableThemeRequest::setLevel(int level) {
level_ = level;
setParameter(std::string("Level"), std::to_string(level));
}
void CreateTableThemeRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
std::string CreateTableThemeRequest::getName() const {
return name_;
}
long CreateTableThemeRequest::getProjectId()const
{
return projectId_;
void CreateTableThemeRequest::setName(const std::string &name) {
name_ = name;
setParameter(std::string("Name"), name);
}
void CreateTableThemeRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long CreateTableThemeRequest::getProjectId() const {
return projectId_;
}
long CreateTableThemeRequest::getParentId()const
{
return parentId_;
void CreateTableThemeRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}
void CreateTableThemeRequest::setParentId(long parentId)
{
parentId_ = parentId;
setParameter("ParentId", std::to_string(parentId));
long CreateTableThemeRequest::getParentId() const {
return parentId_;
}
void CreateTableThemeRequest::setParentId(long parentId) {
parentId_ = parentId;
setParameter(std::string("ParentId"), std::to_string(parentId));
}

View File

@@ -1,161 +1,135 @@
/*
* 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/CreateUdfFileRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateUdfFileRequest;
CreateUdfFileRequest::CreateUdfFileRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateUdfFile")
{
setMethod(HttpRequest::Method::Post);
}
CreateUdfFileRequest::~CreateUdfFileRequest()
{}
std::string CreateUdfFileRequest::getReturnValue()const
{
return returnValue_;
*/
#include <alibabacloud/dataworks-public/model/CreateUdfFileRequest.h>
using AlibabaCloud::Dataworks_public::Model::CreateUdfFileRequest;
CreateUdfFileRequest::CreateUdfFileRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "CreateUdfFile") {
setMethod(HttpRequest::Method::Post);
}
void CreateUdfFileRequest::setReturnValue(const std::string& returnValue)
{
returnValue_ = returnValue;
setBodyParameter("ReturnValue", returnValue);
CreateUdfFileRequest::~CreateUdfFileRequest() {}
std::string CreateUdfFileRequest::getReturnValue() const {
return returnValue_;
}
std::string CreateUdfFileRequest::getResources()const
{
return resources_;
void CreateUdfFileRequest::setReturnValue(const std::string &returnValue) {
returnValue_ = returnValue;
setBodyParameter(std::string("ReturnValue"), returnValue);
}
void CreateUdfFileRequest::setResources(const std::string& resources)
{
resources_ = resources;
setBodyParameter("Resources", resources);
std::string CreateUdfFileRequest::getResources() const {
return resources_;
}
std::string CreateUdfFileRequest::getFunctionType()const
{
return functionType_;
void CreateUdfFileRequest::setResources(const std::string &resources) {
resources_ = resources;
setBodyParameter(std::string("Resources"), resources);
}
void CreateUdfFileRequest::setFunctionType(const std::string& functionType)
{
functionType_ = functionType;
setBodyParameter("FunctionType", functionType);
std::string CreateUdfFileRequest::getFunctionType() const {
return functionType_;
}
std::string CreateUdfFileRequest::getCmdDescription()const
{
return cmdDescription_;
void CreateUdfFileRequest::setFunctionType(const std::string &functionType) {
functionType_ = functionType;
setBodyParameter(std::string("FunctionType"), functionType);
}
void CreateUdfFileRequest::setCmdDescription(const std::string& cmdDescription)
{
cmdDescription_ = cmdDescription;
setBodyParameter("CmdDescription", cmdDescription);
std::string CreateUdfFileRequest::getCmdDescription() const {
return cmdDescription_;
}
std::string CreateUdfFileRequest::getUdfDescription()const
{
return udfDescription_;
void CreateUdfFileRequest::setCmdDescription(const std::string &cmdDescription) {
cmdDescription_ = cmdDescription;
setBodyParameter(std::string("CmdDescription"), cmdDescription);
}
void CreateUdfFileRequest::setUdfDescription(const std::string& udfDescription)
{
udfDescription_ = udfDescription;
setBodyParameter("UdfDescription", udfDescription);
std::string CreateUdfFileRequest::getUdfDescription() const {
return udfDescription_;
}
std::string CreateUdfFileRequest::getParameterDescription()const
{
return parameterDescription_;
void CreateUdfFileRequest::setUdfDescription(const std::string &udfDescription) {
udfDescription_ = udfDescription;
setBodyParameter(std::string("UdfDescription"), udfDescription);
}
void CreateUdfFileRequest::setParameterDescription(const std::string& parameterDescription)
{
parameterDescription_ = parameterDescription;
setBodyParameter("ParameterDescription", parameterDescription);
std::string CreateUdfFileRequest::getParameterDescription() const {
return parameterDescription_;
}
std::string CreateUdfFileRequest::getProjectIdentifier()const
{
return projectIdentifier_;
void CreateUdfFileRequest::setParameterDescription(const std::string &parameterDescription) {
parameterDescription_ = parameterDescription;
setBodyParameter(std::string("ParameterDescription"), parameterDescription);
}
void CreateUdfFileRequest::setProjectIdentifier(const std::string& projectIdentifier)
{
projectIdentifier_ = projectIdentifier;
setBodyParameter("ProjectIdentifier", projectIdentifier);
std::string CreateUdfFileRequest::getProjectIdentifier() const {
return projectIdentifier_;
}
std::string CreateUdfFileRequest::getExample()const
{
return example_;
void CreateUdfFileRequest::setProjectIdentifier(const std::string &projectIdentifier) {
projectIdentifier_ = projectIdentifier;
setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
}
void CreateUdfFileRequest::setExample(const std::string& example)
{
example_ = example;
setBodyParameter("Example", example);
std::string CreateUdfFileRequest::getExample() const {
return example_;
}
std::string CreateUdfFileRequest::getFileName()const
{
return fileName_;
void CreateUdfFileRequest::setExample(const std::string &example) {
example_ = example;
setBodyParameter(std::string("Example"), example);
}
void CreateUdfFileRequest::setFileName(const std::string& fileName)
{
fileName_ = fileName;
setBodyParameter("FileName", fileName);
std::string CreateUdfFileRequest::getFileName() const {
return fileName_;
}
std::string CreateUdfFileRequest::getClassName()const
{
return className_;
void CreateUdfFileRequest::setFileName(const std::string &fileName) {
fileName_ = fileName;
setBodyParameter(std::string("FileName"), fileName);
}
void CreateUdfFileRequest::setClassName(const std::string& className)
{
className_ = className;
setBodyParameter("ClassName", className);
std::string CreateUdfFileRequest::getClassName() const {
return className_;
}
std::string CreateUdfFileRequest::getFileFolderPath()const
{
return fileFolderPath_;
void CreateUdfFileRequest::setClassName(const std::string &className) {
className_ = className;
setBodyParameter(std::string("ClassName"), className);
}
void CreateUdfFileRequest::setFileFolderPath(const std::string& fileFolderPath)
{
fileFolderPath_ = fileFolderPath;
setBodyParameter("FileFolderPath", fileFolderPath);
std::string CreateUdfFileRequest::getFileFolderPath() const {
return fileFolderPath_;
}
long CreateUdfFileRequest::getProjectId()const
{
return projectId_;
void CreateUdfFileRequest::setFileFolderPath(const std::string &fileFolderPath) {
fileFolderPath_ = fileFolderPath;
setBodyParameter(std::string("FileFolderPath"), fileFolderPath);
}
void CreateUdfFileRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long CreateUdfFileRequest::getProjectId() const {
return projectId_;
}
void CreateUdfFileRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeleteBusinessRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteBusinessRequest;
DeleteBusinessRequest::DeleteBusinessRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteBusiness")
{
setMethod(HttpRequest::Method::Post);
}
DeleteBusinessRequest::~DeleteBusinessRequest()
{}
long DeleteBusinessRequest::getBusinessId()const
{
return businessId_;
*/
#include <alibabacloud/dataworks-public/model/DeleteBusinessRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteBusinessRequest;
DeleteBusinessRequest::DeleteBusinessRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteBusiness") {
setMethod(HttpRequest::Method::Post);
}
void DeleteBusinessRequest::setBusinessId(long businessId)
{
businessId_ = businessId;
setBodyParameter("BusinessId", std::to_string(businessId));
DeleteBusinessRequest::~DeleteBusinessRequest() {}
long DeleteBusinessRequest::getBusinessId() const {
return businessId_;
}
long DeleteBusinessRequest::getProjectId()const
{
return projectId_;
void DeleteBusinessRequest::setBusinessId(long businessId) {
businessId_ = businessId;
setBodyParameter(std::string("BusinessId"), std::to_string(businessId));
}
void DeleteBusinessRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long DeleteBusinessRequest::getProjectId() const {
return projectId_;
}
std::string DeleteBusinessRequest::getProjectIdentifier()const
{
return projectIdentifier_;
void DeleteBusinessRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void DeleteBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier)
{
projectIdentifier_ = projectIdentifier;
setBodyParameter("ProjectIdentifier", projectIdentifier);
std::string DeleteBusinessRequest::getProjectIdentifier() const {
return projectIdentifier_;
}
void DeleteBusinessRequest::setProjectIdentifier(const std::string &projectIdentifier) {
projectIdentifier_ = projectIdentifier;
setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
}

View File

@@ -1,40 +1,36 @@
/*
* 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/DeleteConnectionRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteConnectionRequest;
DeleteConnectionRequest::DeleteConnectionRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteConnection")
{
setMethod(HttpRequest::Method::Post);
}
DeleteConnectionRequest::~DeleteConnectionRequest()
{}
long DeleteConnectionRequest::getConnectionId()const
{
return connectionId_;
*/
#include <alibabacloud/dataworks-public/model/DeleteConnectionRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteConnectionRequest;
DeleteConnectionRequest::DeleteConnectionRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteConnection") {
setMethod(HttpRequest::Method::Post);
}
void DeleteConnectionRequest::setConnectionId(long connectionId)
{
connectionId_ = connectionId;
setParameter("ConnectionId", std::to_string(connectionId));
DeleteConnectionRequest::~DeleteConnectionRequest() {}
long DeleteConnectionRequest::getConnectionId() const {
return connectionId_;
}
void DeleteConnectionRequest::setConnectionId(long connectionId) {
connectionId_ = connectionId;
setParameter(std::string("ConnectionId"), std::to_string(connectionId));
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeleteDISyncTaskRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteDISyncTaskRequest;
DeleteDISyncTaskRequest::DeleteDISyncTaskRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDISyncTask")
{
setMethod(HttpRequest::Method::Post);
}
DeleteDISyncTaskRequest::~DeleteDISyncTaskRequest()
{}
std::string DeleteDISyncTaskRequest::getTaskType()const
{
return taskType_;
*/
#include <alibabacloud/dataworks-public/model/DeleteDISyncTaskRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteDISyncTaskRequest;
DeleteDISyncTaskRequest::DeleteDISyncTaskRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDISyncTask") {
setMethod(HttpRequest::Method::Post);
}
void DeleteDISyncTaskRequest::setTaskType(const std::string& taskType)
{
taskType_ = taskType;
setParameter("TaskType", taskType);
DeleteDISyncTaskRequest::~DeleteDISyncTaskRequest() {}
std::string DeleteDISyncTaskRequest::getTaskType() const {
return taskType_;
}
long DeleteDISyncTaskRequest::getProjectId()const
{
return projectId_;
void DeleteDISyncTaskRequest::setTaskType(const std::string &taskType) {
taskType_ = taskType;
setParameter(std::string("TaskType"), taskType);
}
void DeleteDISyncTaskRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long DeleteDISyncTaskRequest::getProjectId() const {
return projectId_;
}
long DeleteDISyncTaskRequest::getFileId()const
{
return fileId_;
void DeleteDISyncTaskRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}
void DeleteDISyncTaskRequest::setFileId(long fileId)
{
fileId_ = fileId;
setParameter("FileId", std::to_string(fileId));
long DeleteDISyncTaskRequest::getFileId() const {
return fileId_;
}
void DeleteDISyncTaskRequest::setFileId(long fileId) {
fileId_ = fileId;
setParameter(std::string("FileId"), std::to_string(fileId));
}

View File

@@ -1,73 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteDataServiceApiAuthorityRequest;
DeleteDataServiceApiAuthorityRequest::DeleteDataServiceApiAuthorityRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDataServiceApiAuthority")
{
setMethod(HttpRequest::Method::Post);
}
DeleteDataServiceApiAuthorityRequest::~DeleteDataServiceApiAuthorityRequest()
{}
long DeleteDataServiceApiAuthorityRequest::getAuthorizedProjectId()const
{
return authorizedProjectId_;
*/
#include <alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteDataServiceApiAuthorityRequest;
DeleteDataServiceApiAuthorityRequest::DeleteDataServiceApiAuthorityRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDataServiceApiAuthority") {
setMethod(HttpRequest::Method::Post);
}
void DeleteDataServiceApiAuthorityRequest::setAuthorizedProjectId(long authorizedProjectId)
{
authorizedProjectId_ = authorizedProjectId;
setBodyParameter("AuthorizedProjectId", std::to_string(authorizedProjectId));
DeleteDataServiceApiAuthorityRequest::~DeleteDataServiceApiAuthorityRequest() {}
long DeleteDataServiceApiAuthorityRequest::getAuthorizedProjectId() const {
return authorizedProjectId_;
}
long DeleteDataServiceApiAuthorityRequest::getTenantId()const
{
return tenantId_;
void DeleteDataServiceApiAuthorityRequest::setAuthorizedProjectId(long authorizedProjectId) {
authorizedProjectId_ = authorizedProjectId;
setBodyParameter(std::string("AuthorizedProjectId"), std::to_string(authorizedProjectId));
}
void DeleteDataServiceApiAuthorityRequest::setTenantId(long tenantId)
{
tenantId_ = tenantId;
setBodyParameter("TenantId", std::to_string(tenantId));
long DeleteDataServiceApiAuthorityRequest::getTenantId() const {
return tenantId_;
}
long DeleteDataServiceApiAuthorityRequest::getProjectId()const
{
return projectId_;
void DeleteDataServiceApiAuthorityRequest::setTenantId(long tenantId) {
tenantId_ = tenantId;
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
}
void DeleteDataServiceApiAuthorityRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long DeleteDataServiceApiAuthorityRequest::getProjectId() const {
return projectId_;
}
long DeleteDataServiceApiAuthorityRequest::getApiId()const
{
return apiId_;
void DeleteDataServiceApiAuthorityRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void DeleteDataServiceApiAuthorityRequest::setApiId(long apiId)
{
apiId_ = apiId;
setBodyParameter("ApiId", std::to_string(apiId));
long DeleteDataServiceApiAuthorityRequest::getApiId() const {
return apiId_;
}
void DeleteDataServiceApiAuthorityRequest::setApiId(long apiId) {
apiId_ = apiId;
setBodyParameter(std::string("ApiId"), std::to_string(apiId));
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteDataServiceApiRequest;
DeleteDataServiceApiRequest::DeleteDataServiceApiRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDataServiceApi")
{
setMethod(HttpRequest::Method::Post);
}
DeleteDataServiceApiRequest::~DeleteDataServiceApiRequest()
{}
long DeleteDataServiceApiRequest::getTenantId()const
{
return tenantId_;
*/
#include <alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteDataServiceApiRequest;
DeleteDataServiceApiRequest::DeleteDataServiceApiRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDataServiceApi") {
setMethod(HttpRequest::Method::Post);
}
void DeleteDataServiceApiRequest::setTenantId(long tenantId)
{
tenantId_ = tenantId;
setBodyParameter("TenantId", std::to_string(tenantId));
DeleteDataServiceApiRequest::~DeleteDataServiceApiRequest() {}
long DeleteDataServiceApiRequest::getTenantId() const {
return tenantId_;
}
long DeleteDataServiceApiRequest::getProjectId()const
{
return projectId_;
void DeleteDataServiceApiRequest::setTenantId(long tenantId) {
tenantId_ = tenantId;
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
}
void DeleteDataServiceApiRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long DeleteDataServiceApiRequest::getProjectId() const {
return projectId_;
}
long DeleteDataServiceApiRequest::getApiId()const
{
return apiId_;
void DeleteDataServiceApiRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void DeleteDataServiceApiRequest::setApiId(long apiId)
{
apiId_ = apiId;
setBodyParameter("ApiId", std::to_string(apiId));
long DeleteDataServiceApiRequest::getApiId() const {
return apiId_;
}
void DeleteDataServiceApiRequest::setApiId(long apiId) {
apiId_ = apiId;
setBodyParameter(std::string("ApiId"), std::to_string(apiId));
}

View File

@@ -39,14 +39,14 @@ void DeleteDataServiceApiResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString() == "true";
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString() == "true";
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";

View File

@@ -1,40 +1,36 @@
/*
* 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/DeleteDataSourceRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteDataSourceRequest;
DeleteDataSourceRequest::DeleteDataSourceRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDataSource")
{
setMethod(HttpRequest::Method::Post);
}
DeleteDataSourceRequest::~DeleteDataSourceRequest()
{}
long DeleteDataSourceRequest::getDataSourceId()const
{
return dataSourceId_;
*/
#include <alibabacloud/dataworks-public/model/DeleteDataSourceRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteDataSourceRequest;
DeleteDataSourceRequest::DeleteDataSourceRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDataSource") {
setMethod(HttpRequest::Method::Post);
}
void DeleteDataSourceRequest::setDataSourceId(long dataSourceId)
{
dataSourceId_ = dataSourceId;
setParameter("DataSourceId", std::to_string(dataSourceId));
DeleteDataSourceRequest::~DeleteDataSourceRequest() {}
long DeleteDataSourceRequest::getDataSourceId() const {
return dataSourceId_;
}
void DeleteDataSourceRequest::setDataSourceId(long dataSourceId) {
dataSourceId_ = dataSourceId;
setParameter(std::string("DataSourceId"), std::to_string(dataSourceId));
}

View File

@@ -39,12 +39,12 @@ void DeleteDataSourceResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = value["HttpStatusCode"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString() == "true";
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeleteFileRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteFileRequest;
DeleteFileRequest::DeleteFileRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFile")
{
setMethod(HttpRequest::Method::Post);
}
DeleteFileRequest::~DeleteFileRequest()
{}
long DeleteFileRequest::getProjectId()const
{
return projectId_;
*/
#include <alibabacloud/dataworks-public/model/DeleteFileRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteFileRequest;
DeleteFileRequest::DeleteFileRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFile") {
setMethod(HttpRequest::Method::Post);
}
void DeleteFileRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
DeleteFileRequest::~DeleteFileRequest() {}
long DeleteFileRequest::getProjectId() const {
return projectId_;
}
std::string DeleteFileRequest::getProjectIdentifier()const
{
return projectIdentifier_;
void DeleteFileRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void DeleteFileRequest::setProjectIdentifier(const std::string& projectIdentifier)
{
projectIdentifier_ = projectIdentifier;
setBodyParameter("ProjectIdentifier", projectIdentifier);
std::string DeleteFileRequest::getProjectIdentifier() const {
return projectIdentifier_;
}
long DeleteFileRequest::getFileId()const
{
return fileId_;
void DeleteFileRequest::setProjectIdentifier(const std::string &projectIdentifier) {
projectIdentifier_ = projectIdentifier;
setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
}
void DeleteFileRequest::setFileId(long fileId)
{
fileId_ = fileId;
setBodyParameter("FileId", std::to_string(fileId));
long DeleteFileRequest::getFileId() const {
return fileId_;
}
void DeleteFileRequest::setFileId(long fileId) {
fileId_ = fileId;
setBodyParameter(std::string("FileId"), std::to_string(fileId));
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeleteFolderRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteFolderRequest;
DeleteFolderRequest::DeleteFolderRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFolder")
{
setMethod(HttpRequest::Method::Post);
}
DeleteFolderRequest::~DeleteFolderRequest()
{}
long DeleteFolderRequest::getProjectId()const
{
return projectId_;
*/
#include <alibabacloud/dataworks-public/model/DeleteFolderRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteFolderRequest;
DeleteFolderRequest::DeleteFolderRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFolder") {
setMethod(HttpRequest::Method::Post);
}
void DeleteFolderRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
DeleteFolderRequest::~DeleteFolderRequest() {}
long DeleteFolderRequest::getProjectId() const {
return projectId_;
}
std::string DeleteFolderRequest::getProjectIdentifier()const
{
return projectIdentifier_;
void DeleteFolderRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void DeleteFolderRequest::setProjectIdentifier(const std::string& projectIdentifier)
{
projectIdentifier_ = projectIdentifier;
setBodyParameter("ProjectIdentifier", projectIdentifier);
std::string DeleteFolderRequest::getProjectIdentifier() const {
return projectIdentifier_;
}
std::string DeleteFolderRequest::getFolderId()const
{
return folderId_;
void DeleteFolderRequest::setProjectIdentifier(const std::string &projectIdentifier) {
projectIdentifier_ = projectIdentifier;
setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
}
void DeleteFolderRequest::setFolderId(const std::string& folderId)
{
folderId_ = folderId;
setBodyParameter("FolderId", folderId);
std::string DeleteFolderRequest::getFolderId() const {
return folderId_;
}
void DeleteFolderRequest::setFolderId(const std::string &folderId) {
folderId_ = folderId;
setBodyParameter(std::string("FolderId"), folderId);
}

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteFromMetaCategoryRequest;
DeleteFromMetaCategoryRequest::DeleteFromMetaCategoryRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFromMetaCategory")
{
setMethod(HttpRequest::Method::Post);
}
DeleteFromMetaCategoryRequest::~DeleteFromMetaCategoryRequest()
{}
std::string DeleteFromMetaCategoryRequest::getTableGuid()const
{
return tableGuid_;
*/
#include <alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteFromMetaCategoryRequest;
DeleteFromMetaCategoryRequest::DeleteFromMetaCategoryRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFromMetaCategory") {
setMethod(HttpRequest::Method::Post);
}
void DeleteFromMetaCategoryRequest::setTableGuid(const std::string& tableGuid)
{
tableGuid_ = tableGuid;
setParameter("TableGuid", tableGuid);
DeleteFromMetaCategoryRequest::~DeleteFromMetaCategoryRequest() {}
std::string DeleteFromMetaCategoryRequest::getTableGuid() const {
return tableGuid_;
}
long DeleteFromMetaCategoryRequest::getCategoryId()const
{
return categoryId_;
void DeleteFromMetaCategoryRequest::setTableGuid(const std::string &tableGuid) {
tableGuid_ = tableGuid;
setParameter(std::string("TableGuid"), tableGuid);
}
void DeleteFromMetaCategoryRequest::setCategoryId(long categoryId)
{
categoryId_ = categoryId;
setParameter("CategoryId", std::to_string(categoryId));
long DeleteFromMetaCategoryRequest::getCategoryId() const {
return categoryId_;
}
void DeleteFromMetaCategoryRequest::setCategoryId(long categoryId) {
categoryId_ = categoryId;
setParameter(std::string("CategoryId"), std::to_string(categoryId));
}

View File

@@ -1,40 +1,36 @@
/*
* 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/DeleteMetaCategoryRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteMetaCategoryRequest;
DeleteMetaCategoryRequest::DeleteMetaCategoryRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteMetaCategory")
{
setMethod(HttpRequest::Method::Get);
}
DeleteMetaCategoryRequest::~DeleteMetaCategoryRequest()
{}
long DeleteMetaCategoryRequest::getCategoryId()const
{
return categoryId_;
*/
#include <alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteMetaCategoryRequest;
DeleteMetaCategoryRequest::DeleteMetaCategoryRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteMetaCategory") {
setMethod(HttpRequest::Method::Get);
}
void DeleteMetaCategoryRequest::setCategoryId(long categoryId)
{
categoryId_ = categoryId;
setParameter("CategoryId", std::to_string(categoryId));
DeleteMetaCategoryRequest::~DeleteMetaCategoryRequest() {}
long DeleteMetaCategoryRequest::getCategoryId() const {
return categoryId_;
}
void DeleteMetaCategoryRequest::setCategoryId(long categoryId) {
categoryId_ = categoryId;
setParameter(std::string("CategoryId"), std::to_string(categoryId));
}

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteProjectMemberRequest;
DeleteProjectMemberRequest::DeleteProjectMemberRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteProjectMember")
{
setMethod(HttpRequest::Method::Post);
}
DeleteProjectMemberRequest::~DeleteProjectMemberRequest()
{}
long DeleteProjectMemberRequest::getProjectId()const
{
return projectId_;
*/
#include <alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteProjectMemberRequest;
DeleteProjectMemberRequest::DeleteProjectMemberRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteProjectMember") {
setMethod(HttpRequest::Method::Post);
}
void DeleteProjectMemberRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
DeleteProjectMemberRequest::~DeleteProjectMemberRequest() {}
long DeleteProjectMemberRequest::getProjectId() const {
return projectId_;
}
std::string DeleteProjectMemberRequest::getUserId()const
{
return userId_;
void DeleteProjectMemberRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}
void DeleteProjectMemberRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setParameter("UserId", userId);
std::string DeleteProjectMemberRequest::getUserId() const {
return userId_;
}
void DeleteProjectMemberRequest::setUserId(const std::string &userId) {
userId_ = userId;
setParameter(std::string("UserId"), userId);
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteQualityEntityRequest;
DeleteQualityEntityRequest::DeleteQualityEntityRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityEntity")
{
setMethod(HttpRequest::Method::Post);
}
DeleteQualityEntityRequest::~DeleteQualityEntityRequest()
{}
std::string DeleteQualityEntityRequest::getProjectName()const
{
return projectName_;
*/
#include <alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteQualityEntityRequest;
DeleteQualityEntityRequest::DeleteQualityEntityRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityEntity") {
setMethod(HttpRequest::Method::Post);
}
void DeleteQualityEntityRequest::setProjectName(const std::string& projectName)
{
projectName_ = projectName;
setBodyParameter("ProjectName", projectName);
DeleteQualityEntityRequest::~DeleteQualityEntityRequest() {}
std::string DeleteQualityEntityRequest::getProjectName() const {
return projectName_;
}
std::string DeleteQualityEntityRequest::getEnvType()const
{
return envType_;
void DeleteQualityEntityRequest::setProjectName(const std::string &projectName) {
projectName_ = projectName;
setBodyParameter(std::string("ProjectName"), projectName);
}
void DeleteQualityEntityRequest::setEnvType(const std::string& envType)
{
envType_ = envType;
setBodyParameter("EnvType", envType);
std::string DeleteQualityEntityRequest::getEnvType() const {
return envType_;
}
long DeleteQualityEntityRequest::getEntityId()const
{
return entityId_;
void DeleteQualityEntityRequest::setEnvType(const std::string &envType) {
envType_ = envType;
setBodyParameter(std::string("EnvType"), envType);
}
void DeleteQualityEntityRequest::setEntityId(long entityId)
{
entityId_ = entityId;
setBodyParameter("EntityId", std::to_string(entityId));
long DeleteQualityEntityRequest::getEntityId() const {
return entityId_;
}
void DeleteQualityEntityRequest::setEntityId(long entityId) {
entityId_ = entityId;
setBodyParameter(std::string("EntityId"), std::to_string(entityId));
}

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteQualityFollowerRequest;
DeleteQualityFollowerRequest::DeleteQualityFollowerRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityFollower")
{
setMethod(HttpRequest::Method::Post);
}
DeleteQualityFollowerRequest::~DeleteQualityFollowerRequest()
{}
std::string DeleteQualityFollowerRequest::getProjectName()const
{
return projectName_;
*/
#include <alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteQualityFollowerRequest;
DeleteQualityFollowerRequest::DeleteQualityFollowerRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityFollower") {
setMethod(HttpRequest::Method::Post);
}
void DeleteQualityFollowerRequest::setProjectName(const std::string& projectName)
{
projectName_ = projectName;
setBodyParameter("ProjectName", projectName);
DeleteQualityFollowerRequest::~DeleteQualityFollowerRequest() {}
std::string DeleteQualityFollowerRequest::getProjectName() const {
return projectName_;
}
long DeleteQualityFollowerRequest::getFollowerId()const
{
return followerId_;
void DeleteQualityFollowerRequest::setProjectName(const std::string &projectName) {
projectName_ = projectName;
setBodyParameter(std::string("ProjectName"), projectName);
}
void DeleteQualityFollowerRequest::setFollowerId(long followerId)
{
followerId_ = followerId;
setBodyParameter("FollowerId", std::to_string(followerId));
long DeleteQualityFollowerRequest::getFollowerId() const {
return followerId_;
}
void DeleteQualityFollowerRequest::setFollowerId(long followerId) {
followerId_ = followerId;
setBodyParameter(std::string("FollowerId"), std::to_string(followerId));
}

View File

@@ -1,117 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteQualityRelativeNodeRequest;
DeleteQualityRelativeNodeRequest::DeleteQualityRelativeNodeRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityRelativeNode")
{
setMethod(HttpRequest::Method::Post);
}
DeleteQualityRelativeNodeRequest::~DeleteQualityRelativeNodeRequest()
{}
std::string DeleteQualityRelativeNodeRequest::getProjectName()const
{
return projectName_;
*/
#include <alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteQualityRelativeNodeRequest;
DeleteQualityRelativeNodeRequest::DeleteQualityRelativeNodeRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityRelativeNode") {
setMethod(HttpRequest::Method::Post);
}
void DeleteQualityRelativeNodeRequest::setProjectName(const std::string& projectName)
{
projectName_ = projectName;
setBodyParameter("ProjectName", projectName);
DeleteQualityRelativeNodeRequest::~DeleteQualityRelativeNodeRequest() {}
std::string DeleteQualityRelativeNodeRequest::getProjectName() const {
return projectName_;
}
long DeleteQualityRelativeNodeRequest::getTargetNodeProjectId()const
{
return targetNodeProjectId_;
void DeleteQualityRelativeNodeRequest::setProjectName(const std::string &projectName) {
projectName_ = projectName;
setBodyParameter(std::string("ProjectName"), projectName);
}
void DeleteQualityRelativeNodeRequest::setTargetNodeProjectId(long targetNodeProjectId)
{
targetNodeProjectId_ = targetNodeProjectId;
setBodyParameter("TargetNodeProjectId", std::to_string(targetNodeProjectId));
long DeleteQualityRelativeNodeRequest::getTargetNodeProjectId() const {
return targetNodeProjectId_;
}
std::string DeleteQualityRelativeNodeRequest::getMatchExpression()const
{
return matchExpression_;
void DeleteQualityRelativeNodeRequest::setTargetNodeProjectId(long targetNodeProjectId) {
targetNodeProjectId_ = targetNodeProjectId;
setBodyParameter(std::string("TargetNodeProjectId"), std::to_string(targetNodeProjectId));
}
void DeleteQualityRelativeNodeRequest::setMatchExpression(const std::string& matchExpression)
{
matchExpression_ = matchExpression;
setBodyParameter("MatchExpression", matchExpression);
std::string DeleteQualityRelativeNodeRequest::getMatchExpression() const {
return matchExpression_;
}
std::string DeleteQualityRelativeNodeRequest::getEnvType()const
{
return envType_;
void DeleteQualityRelativeNodeRequest::setMatchExpression(const std::string &matchExpression) {
matchExpression_ = matchExpression;
setBodyParameter(std::string("MatchExpression"), matchExpression);
}
void DeleteQualityRelativeNodeRequest::setEnvType(const std::string& envType)
{
envType_ = envType;
setBodyParameter("EnvType", envType);
std::string DeleteQualityRelativeNodeRequest::getEnvType() const {
return envType_;
}
std::string DeleteQualityRelativeNodeRequest::getTargetNodeProjectName()const
{
return targetNodeProjectName_;
void DeleteQualityRelativeNodeRequest::setEnvType(const std::string &envType) {
envType_ = envType;
setBodyParameter(std::string("EnvType"), envType);
}
void DeleteQualityRelativeNodeRequest::setTargetNodeProjectName(const std::string& targetNodeProjectName)
{
targetNodeProjectName_ = targetNodeProjectName;
setBodyParameter("TargetNodeProjectName", targetNodeProjectName);
std::string DeleteQualityRelativeNodeRequest::getTargetNodeProjectName() const {
return targetNodeProjectName_;
}
std::string DeleteQualityRelativeNodeRequest::getTableName()const
{
return tableName_;
void DeleteQualityRelativeNodeRequest::setTargetNodeProjectName(const std::string &targetNodeProjectName) {
targetNodeProjectName_ = targetNodeProjectName;
setBodyParameter(std::string("TargetNodeProjectName"), targetNodeProjectName);
}
void DeleteQualityRelativeNodeRequest::setTableName(const std::string& tableName)
{
tableName_ = tableName;
setBodyParameter("TableName", tableName);
std::string DeleteQualityRelativeNodeRequest::getTableName() const {
return tableName_;
}
long DeleteQualityRelativeNodeRequest::getNodeId()const
{
return nodeId_;
void DeleteQualityRelativeNodeRequest::setTableName(const std::string &tableName) {
tableName_ = tableName;
setBodyParameter(std::string("TableName"), tableName);
}
void DeleteQualityRelativeNodeRequest::setNodeId(long nodeId)
{
nodeId_ = nodeId;
setBodyParameter("NodeId", std::to_string(nodeId));
long DeleteQualityRelativeNodeRequest::getNodeId() const {
return nodeId_;
}
long DeleteQualityRelativeNodeRequest::getProjectId()const
{
return projectId_;
void DeleteQualityRelativeNodeRequest::setNodeId(long nodeId) {
nodeId_ = nodeId;
setBodyParameter(std::string("NodeId"), std::to_string(nodeId));
}
void DeleteQualityRelativeNodeRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long DeleteQualityRelativeNodeRequest::getProjectId() const {
return projectId_;
}
void DeleteQualityRelativeNodeRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteQualityRuleRequest;
DeleteQualityRuleRequest::DeleteQualityRuleRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityRule")
{
setMethod(HttpRequest::Method::Post);
}
DeleteQualityRuleRequest::~DeleteQualityRuleRequest()
{}
std::string DeleteQualityRuleRequest::getProjectName()const
{
return projectName_;
*/
#include <alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteQualityRuleRequest;
DeleteQualityRuleRequest::DeleteQualityRuleRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityRule") {
setMethod(HttpRequest::Method::Post);
}
void DeleteQualityRuleRequest::setProjectName(const std::string& projectName)
{
projectName_ = projectName;
setBodyParameter("ProjectName", projectName);
DeleteQualityRuleRequest::~DeleteQualityRuleRequest() {}
std::string DeleteQualityRuleRequest::getProjectName() const {
return projectName_;
}
long DeleteQualityRuleRequest::getRuleId()const
{
return ruleId_;
void DeleteQualityRuleRequest::setProjectName(const std::string &projectName) {
projectName_ = projectName;
setBodyParameter(std::string("ProjectName"), projectName);
}
void DeleteQualityRuleRequest::setRuleId(long ruleId)
{
ruleId_ = ruleId;
setBodyParameter("RuleId", std::to_string(ruleId));
long DeleteQualityRuleRequest::getRuleId() const {
return ruleId_;
}
void DeleteQualityRuleRequest::setRuleId(long ruleId) {
ruleId_ = ruleId;
setBodyParameter(std::string("RuleId"), std::to_string(ruleId));
}

View File

@@ -1,40 +1,36 @@
/*
* 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/DeleteRemindRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteRemindRequest;
DeleteRemindRequest::DeleteRemindRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteRemind")
{
setMethod(HttpRequest::Method::Post);
}
DeleteRemindRequest::~DeleteRemindRequest()
{}
long DeleteRemindRequest::getRemindId()const
{
return remindId_;
*/
#include <alibabacloud/dataworks-public/model/DeleteRemindRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteRemindRequest;
DeleteRemindRequest::DeleteRemindRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteRemind") {
setMethod(HttpRequest::Method::Post);
}
void DeleteRemindRequest::setRemindId(long remindId)
{
remindId_ = remindId;
setBodyParameter("RemindId", std::to_string(remindId));
DeleteRemindRequest::~DeleteRemindRequest() {}
long DeleteRemindRequest::getRemindId() const {
return remindId_;
}
void DeleteRemindRequest::setRemindId(long remindId) {
remindId_ = remindId;
setBodyParameter(std::string("RemindId"), std::to_string(remindId));
}

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeleteTableLevelRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteTableLevelRequest;
DeleteTableLevelRequest::DeleteTableLevelRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteTableLevel")
{
setMethod(HttpRequest::Method::Post);
}
DeleteTableLevelRequest::~DeleteTableLevelRequest()
{}
long DeleteTableLevelRequest::getLevelId()const
{
return levelId_;
*/
#include <alibabacloud/dataworks-public/model/DeleteTableLevelRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteTableLevelRequest;
DeleteTableLevelRequest::DeleteTableLevelRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteTableLevel") {
setMethod(HttpRequest::Method::Post);
}
void DeleteTableLevelRequest::setLevelId(long levelId)
{
levelId_ = levelId;
setParameter("LevelId", std::to_string(levelId));
DeleteTableLevelRequest::~DeleteTableLevelRequest() {}
long DeleteTableLevelRequest::getLevelId() const {
return levelId_;
}
long DeleteTableLevelRequest::getProjectId()const
{
return projectId_;
void DeleteTableLevelRequest::setLevelId(long levelId) {
levelId_ = levelId;
setParameter(std::string("LevelId"), std::to_string(levelId));
}
void DeleteTableLevelRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long DeleteTableLevelRequest::getProjectId() const {
return projectId_;
}
void DeleteTableLevelRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -1,73 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeleteTableRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteTableRequest;
DeleteTableRequest::DeleteTableRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteTable")
{
setMethod(HttpRequest::Method::Post);
}
DeleteTableRequest::~DeleteTableRequest()
{}
int DeleteTableRequest::getEnvType()const
{
return envType_;
*/
#include <alibabacloud/dataworks-public/model/DeleteTableRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteTableRequest;
DeleteTableRequest::DeleteTableRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteTable") {
setMethod(HttpRequest::Method::Post);
}
void DeleteTableRequest::setEnvType(int envType)
{
envType_ = envType;
setParameter("EnvType", std::to_string(envType));
DeleteTableRequest::~DeleteTableRequest() {}
int DeleteTableRequest::getEnvType() const {
return envType_;
}
std::string DeleteTableRequest::getTableName()const
{
return tableName_;
void DeleteTableRequest::setEnvType(int envType) {
envType_ = envType;
setParameter(std::string("EnvType"), std::to_string(envType));
}
void DeleteTableRequest::setTableName(const std::string& tableName)
{
tableName_ = tableName;
setParameter("TableName", tableName);
std::string DeleteTableRequest::getTableName() const {
return tableName_;
}
std::string DeleteTableRequest::getAppGuid()const
{
return appGuid_;
void DeleteTableRequest::setTableName(const std::string &tableName) {
tableName_ = tableName;
setParameter(std::string("TableName"), tableName);
}
void DeleteTableRequest::setAppGuid(const std::string& appGuid)
{
appGuid_ = appGuid;
setParameter("AppGuid", appGuid);
std::string DeleteTableRequest::getAppGuid() const {
return appGuid_;
}
long DeleteTableRequest::getProjectId()const
{
return projectId_;
void DeleteTableRequest::setAppGuid(const std::string &appGuid) {
appGuid_ = appGuid;
setParameter(std::string("AppGuid"), appGuid);
}
void DeleteTableRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long DeleteTableRequest::getProjectId() const {
return projectId_;
}
void DeleteTableRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeleteTableThemeRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteTableThemeRequest;
DeleteTableThemeRequest::DeleteTableThemeRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteTableTheme")
{
setMethod(HttpRequest::Method::Post);
}
DeleteTableThemeRequest::~DeleteTableThemeRequest()
{}
long DeleteTableThemeRequest::getThemeId()const
{
return themeId_;
*/
#include <alibabacloud/dataworks-public/model/DeleteTableThemeRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeleteTableThemeRequest;
DeleteTableThemeRequest::DeleteTableThemeRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteTableTheme") {
setMethod(HttpRequest::Method::Post);
}
void DeleteTableThemeRequest::setThemeId(long themeId)
{
themeId_ = themeId;
setParameter("ThemeId", std::to_string(themeId));
DeleteTableThemeRequest::~DeleteTableThemeRequest() {}
long DeleteTableThemeRequest::getThemeId() const {
return themeId_;
}
long DeleteTableThemeRequest::getProjectId()const
{
return projectId_;
void DeleteTableThemeRequest::setThemeId(long themeId) {
themeId_ = themeId;
setParameter(std::string("ThemeId"), std::to_string(themeId));
}
void DeleteTableThemeRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long DeleteTableThemeRequest::getProjectId() const {
return projectId_;
}
void DeleteTableThemeRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeployDISyncTaskRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeployDISyncTaskRequest;
DeployDISyncTaskRequest::DeployDISyncTaskRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeployDISyncTask")
{
setMethod(HttpRequest::Method::Post);
}
DeployDISyncTaskRequest::~DeployDISyncTaskRequest()
{}
std::string DeployDISyncTaskRequest::getTaskType()const
{
return taskType_;
*/
#include <alibabacloud/dataworks-public/model/DeployDISyncTaskRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeployDISyncTaskRequest;
DeployDISyncTaskRequest::DeployDISyncTaskRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeployDISyncTask") {
setMethod(HttpRequest::Method::Post);
}
void DeployDISyncTaskRequest::setTaskType(const std::string& taskType)
{
taskType_ = taskType;
setParameter("TaskType", taskType);
DeployDISyncTaskRequest::~DeployDISyncTaskRequest() {}
std::string DeployDISyncTaskRequest::getTaskType() const {
return taskType_;
}
long DeployDISyncTaskRequest::getProjectId()const
{
return projectId_;
void DeployDISyncTaskRequest::setTaskType(const std::string &taskType) {
taskType_ = taskType;
setParameter(std::string("TaskType"), taskType);
}
void DeployDISyncTaskRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long DeployDISyncTaskRequest::getProjectId() const {
return projectId_;
}
long DeployDISyncTaskRequest::getFileId()const
{
return fileId_;
void DeployDISyncTaskRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}
void DeployDISyncTaskRequest::setFileId(long fileId)
{
fileId_ = fileId;
setParameter("FileId", std::to_string(fileId));
long DeployDISyncTaskRequest::getFileId() const {
return fileId_;
}
void DeployDISyncTaskRequest::setFileId(long fileId) {
fileId_ = fileId;
setParameter(std::string("FileId"), std::to_string(fileId));
}

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DeployFileRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeployFileRequest;
DeployFileRequest::DeployFileRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DeployFile")
{
setMethod(HttpRequest::Method::Post);
}
DeployFileRequest::~DeployFileRequest()
{}
std::string DeployFileRequest::getComment()const
{
return comment_;
*/
#include <alibabacloud/dataworks-public/model/DeployFileRequest.h>
using AlibabaCloud::Dataworks_public::Model::DeployFileRequest;
DeployFileRequest::DeployFileRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DeployFile") {
setMethod(HttpRequest::Method::Post);
}
void DeployFileRequest::setComment(const std::string& comment)
{
comment_ = comment;
setBodyParameter("Comment", comment);
DeployFileRequest::~DeployFileRequest() {}
std::string DeployFileRequest::getComment() const {
return comment_;
}
long DeployFileRequest::getProjectId()const
{
return projectId_;
void DeployFileRequest::setComment(const std::string &comment) {
comment_ = comment;
setBodyParameter(std::string("Comment"), comment);
}
void DeployFileRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long DeployFileRequest::getProjectId() const {
return projectId_;
}
long DeployFileRequest::getNodeId()const
{
return nodeId_;
void DeployFileRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void DeployFileRequest::setNodeId(long nodeId)
{
nodeId_ = nodeId;
setBodyParameter("NodeId", std::to_string(nodeId));
long DeployFileRequest::getNodeId() const {
return nodeId_;
}
std::string DeployFileRequest::getProjectIdentifier()const
{
return projectIdentifier_;
void DeployFileRequest::setNodeId(long nodeId) {
nodeId_ = nodeId;
setBodyParameter(std::string("NodeId"), std::to_string(nodeId));
}
void DeployFileRequest::setProjectIdentifier(const std::string& projectIdentifier)
{
projectIdentifier_ = projectIdentifier;
setBodyParameter("ProjectIdentifier", projectIdentifier);
std::string DeployFileRequest::getProjectIdentifier() const {
return projectIdentifier_;
}
long DeployFileRequest::getFileId()const
{
return fileId_;
void DeployFileRequest::setProjectIdentifier(const std::string &projectIdentifier) {
projectIdentifier_ = projectIdentifier;
setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
}
void DeployFileRequest::setFileId(long fileId)
{
fileId_ = fileId;
setBodyParameter("FileId", std::to_string(fileId));
long DeployFileRequest::getFileId() const {
return fileId_;
}
void DeployFileRequest::setFileId(long fileId) {
fileId_ = fileId;
setBodyParameter(std::string("FileId"), std::to_string(fileId));
}

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/DesensitizeDataRequest.h>
using AlibabaCloud::Dataworks_public::Model::DesensitizeDataRequest;
DesensitizeDataRequest::DesensitizeDataRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "DesensitizeData")
{
setMethod(HttpRequest::Method::Get);
}
DesensitizeDataRequest::~DesensitizeDataRequest()
{}
std::string DesensitizeDataRequest::getSceneCode()const
{
return sceneCode_;
*/
#include <alibabacloud/dataworks-public/model/DesensitizeDataRequest.h>
using AlibabaCloud::Dataworks_public::Model::DesensitizeDataRequest;
DesensitizeDataRequest::DesensitizeDataRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "DesensitizeData") {
setMethod(HttpRequest::Method::Get);
}
void DesensitizeDataRequest::setSceneCode(const std::string& sceneCode)
{
sceneCode_ = sceneCode;
setBodyParameter("SceneCode", sceneCode);
DesensitizeDataRequest::~DesensitizeDataRequest() {}
std::string DesensitizeDataRequest::getSceneCode() const {
return sceneCode_;
}
std::string DesensitizeDataRequest::getData()const
{
return data_;
void DesensitizeDataRequest::setSceneCode(const std::string &sceneCode) {
sceneCode_ = sceneCode;
setBodyParameter(std::string("SceneCode"), sceneCode);
}
void DesensitizeDataRequest::setData(const std::string& data)
{
data_ = data;
setBodyParameter("Data", data);
std::string DesensitizeDataRequest::getData() const {
return data_;
}
void DesensitizeDataRequest::setData(const std::string &data) {
data_ = data;
setBodyParameter(std::string("Data"), data);
}

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h>
using AlibabaCloud::Dataworks_public::Model::EstablishRelationTableToBusinessRequest;
EstablishRelationTableToBusinessRequest::EstablishRelationTableToBusinessRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "EstablishRelationTableToBusiness")
{
setMethod(HttpRequest::Method::Post);
}
EstablishRelationTableToBusinessRequest::~EstablishRelationTableToBusinessRequest()
{}
std::string EstablishRelationTableToBusinessRequest::getTableGuid()const
{
return tableGuid_;
*/
#include <alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h>
using AlibabaCloud::Dataworks_public::Model::EstablishRelationTableToBusinessRequest;
EstablishRelationTableToBusinessRequest::EstablishRelationTableToBusinessRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "EstablishRelationTableToBusiness") {
setMethod(HttpRequest::Method::Post);
}
void EstablishRelationTableToBusinessRequest::setTableGuid(const std::string& tableGuid)
{
tableGuid_ = tableGuid;
setBodyParameter("TableGuid", tableGuid);
EstablishRelationTableToBusinessRequest::~EstablishRelationTableToBusinessRequest() {}
std::string EstablishRelationTableToBusinessRequest::getTableGuid() const {
return tableGuid_;
}
std::string EstablishRelationTableToBusinessRequest::getBusinessId()const
{
return businessId_;
void EstablishRelationTableToBusinessRequest::setTableGuid(const std::string &tableGuid) {
tableGuid_ = tableGuid;
setBodyParameter(std::string("TableGuid"), tableGuid);
}
void EstablishRelationTableToBusinessRequest::setBusinessId(const std::string& businessId)
{
businessId_ = businessId;
setBodyParameter("BusinessId", businessId);
std::string EstablishRelationTableToBusinessRequest::getBusinessId() const {
return businessId_;
}
long EstablishRelationTableToBusinessRequest::getProjectId()const
{
return projectId_;
void EstablishRelationTableToBusinessRequest::setBusinessId(const std::string &businessId) {
businessId_ = businessId;
setBodyParameter(std::string("BusinessId"), businessId);
}
void EstablishRelationTableToBusinessRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long EstablishRelationTableToBusinessRequest::getProjectId() const {
return projectId_;
}
std::string EstablishRelationTableToBusinessRequest::getProjectIdentifier()const
{
return projectIdentifier_;
void EstablishRelationTableToBusinessRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void EstablishRelationTableToBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier)
{
projectIdentifier_ = projectIdentifier;
setBodyParameter("ProjectIdentifier", projectIdentifier);
std::string EstablishRelationTableToBusinessRequest::getProjectIdentifier() const {
return projectIdentifier_;
}
std::string EstablishRelationTableToBusinessRequest::getFolderId()const
{
return folderId_;
void EstablishRelationTableToBusinessRequest::setProjectIdentifier(const std::string &projectIdentifier) {
projectIdentifier_ = projectIdentifier;
setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
}
void EstablishRelationTableToBusinessRequest::setFolderId(const std::string& folderId)
{
folderId_ = folderId;
setBodyParameter("FolderId", folderId);
std::string EstablishRelationTableToBusinessRequest::getFolderId() const {
return folderId_;
}
void EstablishRelationTableToBusinessRequest::setFolderId(const std::string &folderId) {
folderId_ = folderId;
setBodyParameter(std::string("FolderId"), folderId);
}

View File

@@ -1,106 +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/ExportDataSourcesRequest.h>
using AlibabaCloud::Dataworks_public::Model::ExportDataSourcesRequest;
ExportDataSourcesRequest::ExportDataSourcesRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "ExportDataSources")
{
setMethod(HttpRequest::Method::Get);
}
ExportDataSourcesRequest::~ExportDataSourcesRequest()
{}
std::string ExportDataSourcesRequest::getDataSourceType()const
{
return dataSourceType_;
*/
#include <alibabacloud/dataworks-public/model/ExportDataSourcesRequest.h>
using AlibabaCloud::Dataworks_public::Model::ExportDataSourcesRequest;
ExportDataSourcesRequest::ExportDataSourcesRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "ExportDataSources") {
setMethod(HttpRequest::Method::Get);
}
void ExportDataSourcesRequest::setDataSourceType(const std::string& dataSourceType)
{
dataSourceType_ = dataSourceType;
setParameter("DataSourceType", dataSourceType);
ExportDataSourcesRequest::~ExportDataSourcesRequest() {}
std::string ExportDataSourcesRequest::getDataSourceType() const {
return dataSourceType_;
}
int ExportDataSourcesRequest::getPageNumber()const
{
return pageNumber_;
void ExportDataSourcesRequest::setDataSourceType(const std::string &dataSourceType) {
dataSourceType_ = dataSourceType;
setParameter(std::string("DataSourceType"), dataSourceType);
}
void ExportDataSourcesRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
int ExportDataSourcesRequest::getPageNumber() const {
return pageNumber_;
}
std::string ExportDataSourcesRequest::getSubType()const
{
return subType_;
void ExportDataSourcesRequest::setPageNumber(int pageNumber) {
pageNumber_ = pageNumber;
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
}
void ExportDataSourcesRequest::setSubType(const std::string& subType)
{
subType_ = subType;
setParameter("SubType", subType);
std::string ExportDataSourcesRequest::getSubType() const {
return subType_;
}
std::string ExportDataSourcesRequest::getName()const
{
return name_;
void ExportDataSourcesRequest::setSubType(const std::string &subType) {
subType_ = subType;
setParameter(std::string("SubType"), subType);
}
void ExportDataSourcesRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
std::string ExportDataSourcesRequest::getName() const {
return name_;
}
int ExportDataSourcesRequest::getEnvType()const
{
return envType_;
void ExportDataSourcesRequest::setName(const std::string &name) {
name_ = name;
setParameter(std::string("Name"), name);
}
void ExportDataSourcesRequest::setEnvType(int envType)
{
envType_ = envType;
setParameter("EnvType", std::to_string(envType));
int ExportDataSourcesRequest::getEnvType() const {
return envType_;
}
int ExportDataSourcesRequest::getPageSize()const
{
return pageSize_;
void ExportDataSourcesRequest::setEnvType(int envType) {
envType_ = envType;
setParameter(std::string("EnvType"), std::to_string(envType));
}
void ExportDataSourcesRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
int ExportDataSourcesRequest::getPageSize() const {
return pageSize_;
}
long ExportDataSourcesRequest::getProjectId()const
{
return projectId_;
void ExportDataSourcesRequest::setPageSize(int pageSize) {
pageSize_ = pageSize;
setParameter(std::string("PageSize"), std::to_string(pageSize));
}
void ExportDataSourcesRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long ExportDataSourcesRequest::getProjectId() const {
return projectId_;
}
void ExportDataSourcesRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -1,73 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GenerateDISyncTaskConfigForCreatingRequest.h>
using AlibabaCloud::Dataworks_public::Model::GenerateDISyncTaskConfigForCreatingRequest;
GenerateDISyncTaskConfigForCreatingRequest::GenerateDISyncTaskConfigForCreatingRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GenerateDISyncTaskConfigForCreating")
{
setMethod(HttpRequest::Method::Post);
}
GenerateDISyncTaskConfigForCreatingRequest::~GenerateDISyncTaskConfigForCreatingRequest()
{}
std::string GenerateDISyncTaskConfigForCreatingRequest::getTaskType()const
{
return taskType_;
*/
#include <alibabacloud/dataworks-public/model/GenerateDISyncTaskConfigForCreatingRequest.h>
using AlibabaCloud::Dataworks_public::Model::GenerateDISyncTaskConfigForCreatingRequest;
GenerateDISyncTaskConfigForCreatingRequest::GenerateDISyncTaskConfigForCreatingRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GenerateDISyncTaskConfigForCreating") {
setMethod(HttpRequest::Method::Post);
}
void GenerateDISyncTaskConfigForCreatingRequest::setTaskType(const std::string& taskType)
{
taskType_ = taskType;
setParameter("TaskType", taskType);
GenerateDISyncTaskConfigForCreatingRequest::~GenerateDISyncTaskConfigForCreatingRequest() {}
std::string GenerateDISyncTaskConfigForCreatingRequest::getTaskType() const {
return taskType_;
}
std::string GenerateDISyncTaskConfigForCreatingRequest::getClientToken()const
{
return clientToken_;
void GenerateDISyncTaskConfigForCreatingRequest::setTaskType(const std::string &taskType) {
taskType_ = taskType;
setParameter(std::string("TaskType"), taskType);
}
void GenerateDISyncTaskConfigForCreatingRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
std::string GenerateDISyncTaskConfigForCreatingRequest::getClientToken() const {
return clientToken_;
}
std::string GenerateDISyncTaskConfigForCreatingRequest::getTaskParam()const
{
return taskParam_;
void GenerateDISyncTaskConfigForCreatingRequest::setClientToken(const std::string &clientToken) {
clientToken_ = clientToken;
setParameter(std::string("ClientToken"), clientToken);
}
void GenerateDISyncTaskConfigForCreatingRequest::setTaskParam(const std::string& taskParam)
{
taskParam_ = taskParam;
setParameter("TaskParam", taskParam);
std::string GenerateDISyncTaskConfigForCreatingRequest::getTaskParam() const {
return taskParam_;
}
long GenerateDISyncTaskConfigForCreatingRequest::getProjectId()const
{
return projectId_;
void GenerateDISyncTaskConfigForCreatingRequest::setTaskParam(const std::string &taskParam) {
taskParam_ = taskParam;
setParameter(std::string("TaskParam"), taskParam);
}
void GenerateDISyncTaskConfigForCreatingRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long GenerateDISyncTaskConfigForCreatingRequest::getProjectId() const {
return projectId_;
}
void GenerateDISyncTaskConfigForCreatingRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GenerateDISyncTaskConfigForUpdatingRequest.h>
using AlibabaCloud::Dataworks_public::Model::GenerateDISyncTaskConfigForUpdatingRequest;
GenerateDISyncTaskConfigForUpdatingRequest::GenerateDISyncTaskConfigForUpdatingRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GenerateDISyncTaskConfigForUpdating")
{
setMethod(HttpRequest::Method::Post);
}
GenerateDISyncTaskConfigForUpdatingRequest::~GenerateDISyncTaskConfigForUpdatingRequest()
{}
std::string GenerateDISyncTaskConfigForUpdatingRequest::getTaskType()const
{
return taskType_;
*/
#include <alibabacloud/dataworks-public/model/GenerateDISyncTaskConfigForUpdatingRequest.h>
using AlibabaCloud::Dataworks_public::Model::GenerateDISyncTaskConfigForUpdatingRequest;
GenerateDISyncTaskConfigForUpdatingRequest::GenerateDISyncTaskConfigForUpdatingRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GenerateDISyncTaskConfigForUpdating") {
setMethod(HttpRequest::Method::Post);
}
void GenerateDISyncTaskConfigForUpdatingRequest::setTaskType(const std::string& taskType)
{
taskType_ = taskType;
setParameter("TaskType", taskType);
GenerateDISyncTaskConfigForUpdatingRequest::~GenerateDISyncTaskConfigForUpdatingRequest() {}
std::string GenerateDISyncTaskConfigForUpdatingRequest::getTaskType() const {
return taskType_;
}
std::string GenerateDISyncTaskConfigForUpdatingRequest::getClientToken()const
{
return clientToken_;
void GenerateDISyncTaskConfigForUpdatingRequest::setTaskType(const std::string &taskType) {
taskType_ = taskType;
setParameter(std::string("TaskType"), taskType);
}
void GenerateDISyncTaskConfigForUpdatingRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
std::string GenerateDISyncTaskConfigForUpdatingRequest::getClientToken() const {
return clientToken_;
}
std::string GenerateDISyncTaskConfigForUpdatingRequest::getTaskParam()const
{
return taskParam_;
void GenerateDISyncTaskConfigForUpdatingRequest::setClientToken(const std::string &clientToken) {
clientToken_ = clientToken;
setParameter(std::string("ClientToken"), clientToken);
}
void GenerateDISyncTaskConfigForUpdatingRequest::setTaskParam(const std::string& taskParam)
{
taskParam_ = taskParam;
setParameter("TaskParam", taskParam);
std::string GenerateDISyncTaskConfigForUpdatingRequest::getTaskParam() const {
return taskParam_;
}
long GenerateDISyncTaskConfigForUpdatingRequest::getProjectId()const
{
return projectId_;
void GenerateDISyncTaskConfigForUpdatingRequest::setTaskParam(const std::string &taskParam) {
taskParam_ = taskParam;
setParameter(std::string("TaskParam"), taskParam);
}
void GenerateDISyncTaskConfigForUpdatingRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long GenerateDISyncTaskConfigForUpdatingRequest::getProjectId() const {
return projectId_;
}
long GenerateDISyncTaskConfigForUpdatingRequest::getTaskId()const
{
return taskId_;
void GenerateDISyncTaskConfigForUpdatingRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}
void GenerateDISyncTaskConfigForUpdatingRequest::setTaskId(long taskId)
{
taskId_ = taskId;
setParameter("TaskId", std::to_string(taskId));
long GenerateDISyncTaskConfigForUpdatingRequest::getTaskId() const {
return taskId_;
}
void GenerateDISyncTaskConfigForUpdatingRequest::setTaskId(long taskId) {
taskId_ = taskId;
setParameter(std::string("TaskId"), std::to_string(taskId));
}

View File

@@ -1,40 +1,36 @@
/*
* 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/GetBaselineConfigRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetBaselineConfigRequest;
GetBaselineConfigRequest::GetBaselineConfigRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetBaselineConfig")
{
setMethod(HttpRequest::Method::Post);
}
GetBaselineConfigRequest::~GetBaselineConfigRequest()
{}
long GetBaselineConfigRequest::getBaselineId()const
{
return baselineId_;
*/
#include <alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetBaselineConfigRequest;
GetBaselineConfigRequest::GetBaselineConfigRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetBaselineConfig") {
setMethod(HttpRequest::Method::Post);
}
void GetBaselineConfigRequest::setBaselineId(long baselineId)
{
baselineId_ = baselineId;
setBodyParameter("BaselineId", std::to_string(baselineId));
GetBaselineConfigRequest::~GetBaselineConfigRequest() {}
long GetBaselineConfigRequest::getBaselineId() const {
return baselineId_;
}
void GetBaselineConfigRequest::setBaselineId(long baselineId) {
baselineId_ = baselineId;
setBodyParameter(std::string("BaselineId"), std::to_string(baselineId));
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetBaselineKeyPathRequest;
GetBaselineKeyPathRequest::GetBaselineKeyPathRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetBaselineKeyPath")
{
setMethod(HttpRequest::Method::Post);
}
GetBaselineKeyPathRequest::~GetBaselineKeyPathRequest()
{}
std::string GetBaselineKeyPathRequest::getBizdate()const
{
return bizdate_;
*/
#include <alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetBaselineKeyPathRequest;
GetBaselineKeyPathRequest::GetBaselineKeyPathRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetBaselineKeyPath") {
setMethod(HttpRequest::Method::Post);
}
void GetBaselineKeyPathRequest::setBizdate(const std::string& bizdate)
{
bizdate_ = bizdate;
setBodyParameter("Bizdate", bizdate);
GetBaselineKeyPathRequest::~GetBaselineKeyPathRequest() {}
std::string GetBaselineKeyPathRequest::getBizdate() const {
return bizdate_;
}
int GetBaselineKeyPathRequest::getInGroupId()const
{
return inGroupId_;
void GetBaselineKeyPathRequest::setBizdate(const std::string &bizdate) {
bizdate_ = bizdate;
setBodyParameter(std::string("Bizdate"), bizdate);
}
void GetBaselineKeyPathRequest::setInGroupId(int inGroupId)
{
inGroupId_ = inGroupId;
setBodyParameter("InGroupId", std::to_string(inGroupId));
int GetBaselineKeyPathRequest::getInGroupId() const {
return inGroupId_;
}
long GetBaselineKeyPathRequest::getBaselineId()const
{
return baselineId_;
void GetBaselineKeyPathRequest::setInGroupId(int inGroupId) {
inGroupId_ = inGroupId;
setBodyParameter(std::string("InGroupId"), std::to_string(inGroupId));
}
void GetBaselineKeyPathRequest::setBaselineId(long baselineId)
{
baselineId_ = baselineId;
setBodyParameter("BaselineId", std::to_string(baselineId));
long GetBaselineKeyPathRequest::getBaselineId() const {
return baselineId_;
}
void GetBaselineKeyPathRequest::setBaselineId(long baselineId) {
baselineId_ = baselineId;
setBodyParameter(std::string("BaselineId"), std::to_string(baselineId));
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetBaselineStatusRequest;
GetBaselineStatusRequest::GetBaselineStatusRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetBaselineStatus")
{
setMethod(HttpRequest::Method::Post);
}
GetBaselineStatusRequest::~GetBaselineStatusRequest()
{}
std::string GetBaselineStatusRequest::getBizdate()const
{
return bizdate_;
*/
#include <alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetBaselineStatusRequest;
GetBaselineStatusRequest::GetBaselineStatusRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetBaselineStatus") {
setMethod(HttpRequest::Method::Post);
}
void GetBaselineStatusRequest::setBizdate(const std::string& bizdate)
{
bizdate_ = bizdate;
setBodyParameter("Bizdate", bizdate);
GetBaselineStatusRequest::~GetBaselineStatusRequest() {}
std::string GetBaselineStatusRequest::getBizdate() const {
return bizdate_;
}
int GetBaselineStatusRequest::getInGroupId()const
{
return inGroupId_;
void GetBaselineStatusRequest::setBizdate(const std::string &bizdate) {
bizdate_ = bizdate;
setBodyParameter(std::string("Bizdate"), bizdate);
}
void GetBaselineStatusRequest::setInGroupId(int inGroupId)
{
inGroupId_ = inGroupId;
setBodyParameter("InGroupId", std::to_string(inGroupId));
int GetBaselineStatusRequest::getInGroupId() const {
return inGroupId_;
}
long GetBaselineStatusRequest::getBaselineId()const
{
return baselineId_;
void GetBaselineStatusRequest::setInGroupId(int inGroupId) {
inGroupId_ = inGroupId;
setBodyParameter(std::string("InGroupId"), std::to_string(inGroupId));
}
void GetBaselineStatusRequest::setBaselineId(long baselineId)
{
baselineId_ = baselineId;
setBodyParameter("BaselineId", std::to_string(baselineId));
long GetBaselineStatusRequest::getBaselineId() const {
return baselineId_;
}
void GetBaselineStatusRequest::setBaselineId(long baselineId) {
baselineId_ = baselineId;
setBodyParameter(std::string("BaselineId"), std::to_string(baselineId));
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetBusinessRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetBusinessRequest;
GetBusinessRequest::GetBusinessRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetBusiness")
{
setMethod(HttpRequest::Method::Post);
}
GetBusinessRequest::~GetBusinessRequest()
{}
long GetBusinessRequest::getBusinessId()const
{
return businessId_;
*/
#include <alibabacloud/dataworks-public/model/GetBusinessRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetBusinessRequest;
GetBusinessRequest::GetBusinessRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetBusiness") {
setMethod(HttpRequest::Method::Post);
}
void GetBusinessRequest::setBusinessId(long businessId)
{
businessId_ = businessId;
setBodyParameter("BusinessId", std::to_string(businessId));
GetBusinessRequest::~GetBusinessRequest() {}
long GetBusinessRequest::getBusinessId() const {
return businessId_;
}
long GetBusinessRequest::getProjectId()const
{
return projectId_;
void GetBusinessRequest::setBusinessId(long businessId) {
businessId_ = businessId;
setBodyParameter(std::string("BusinessId"), std::to_string(businessId));
}
void GetBusinessRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long GetBusinessRequest::getProjectId() const {
return projectId_;
}
std::string GetBusinessRequest::getProjectIdentifier()const
{
return projectIdentifier_;
void GetBusinessRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void GetBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier)
{
projectIdentifier_ = projectIdentifier;
setBodyParameter("ProjectIdentifier", projectIdentifier);
std::string GetBusinessRequest::getProjectIdentifier() const {
return projectIdentifier_;
}
void GetBusinessRequest::setProjectIdentifier(const std::string &projectIdentifier) {
projectIdentifier_ = projectIdentifier;
setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
}

View File

@@ -1,40 +1,36 @@
/*
* 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/GetDDLJobStatusRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDDLJobStatusRequest;
GetDDLJobStatusRequest::GetDDLJobStatusRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetDDLJobStatus")
{
setMethod(HttpRequest::Method::Get);
}
GetDDLJobStatusRequest::~GetDDLJobStatusRequest()
{}
std::string GetDDLJobStatusRequest::getTaskId()const
{
return taskId_;
*/
#include <alibabacloud/dataworks-public/model/GetDDLJobStatusRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDDLJobStatusRequest;
GetDDLJobStatusRequest::GetDDLJobStatusRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDDLJobStatus") {
setMethod(HttpRequest::Method::Get);
}
void GetDDLJobStatusRequest::setTaskId(const std::string& taskId)
{
taskId_ = taskId;
setParameter("TaskId", taskId);
GetDDLJobStatusRequest::~GetDDLJobStatusRequest() {}
std::string GetDDLJobStatusRequest::getTaskId() const {
return taskId_;
}
void GetDDLJobStatusRequest::setTaskId(const std::string &taskId) {
taskId_ = taskId;
setParameter(std::string("TaskId"), taskId);
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetDISyncInstanceInfoRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDISyncInstanceInfoRequest;
GetDISyncInstanceInfoRequest::GetDISyncInstanceInfoRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetDISyncInstanceInfo")
{
setMethod(HttpRequest::Method::Post);
}
GetDISyncInstanceInfoRequest::~GetDISyncInstanceInfoRequest()
{}
std::string GetDISyncInstanceInfoRequest::getTaskType()const
{
return taskType_;
*/
#include <alibabacloud/dataworks-public/model/GetDISyncInstanceInfoRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDISyncInstanceInfoRequest;
GetDISyncInstanceInfoRequest::GetDISyncInstanceInfoRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDISyncInstanceInfo") {
setMethod(HttpRequest::Method::Post);
}
void GetDISyncInstanceInfoRequest::setTaskType(const std::string& taskType)
{
taskType_ = taskType;
setParameter("TaskType", taskType);
GetDISyncInstanceInfoRequest::~GetDISyncInstanceInfoRequest() {}
std::string GetDISyncInstanceInfoRequest::getTaskType() const {
return taskType_;
}
long GetDISyncInstanceInfoRequest::getProjectId()const
{
return projectId_;
void GetDISyncInstanceInfoRequest::setTaskType(const std::string &taskType) {
taskType_ = taskType;
setParameter(std::string("TaskType"), taskType);
}
void GetDISyncInstanceInfoRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long GetDISyncInstanceInfoRequest::getProjectId() const {
return projectId_;
}
long GetDISyncInstanceInfoRequest::getFileId()const
{
return fileId_;
void GetDISyncInstanceInfoRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}
void GetDISyncInstanceInfoRequest::setFileId(long fileId)
{
fileId_ = fileId;
setParameter("FileId", std::to_string(fileId));
long GetDISyncInstanceInfoRequest::getFileId() const {
return fileId_;
}
void GetDISyncInstanceInfoRequest::setFileId(long fileId) {
fileId_ = fileId;
setParameter(std::string("FileId"), std::to_string(fileId));
}

View File

@@ -1,73 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetDISyncTaskMetricInfoRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDISyncTaskMetricInfoRequest;
GetDISyncTaskMetricInfoRequest::GetDISyncTaskMetricInfoRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetDISyncTaskMetricInfo")
{
setMethod(HttpRequest::Method::Get);
}
GetDISyncTaskMetricInfoRequest::~GetDISyncTaskMetricInfoRequest()
{}
long GetDISyncTaskMetricInfoRequest::getEndDate()const
{
return endDate_;
*/
#include <alibabacloud/dataworks-public/model/GetDISyncTaskMetricInfoRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDISyncTaskMetricInfoRequest;
GetDISyncTaskMetricInfoRequest::GetDISyncTaskMetricInfoRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDISyncTaskMetricInfo") {
setMethod(HttpRequest::Method::Get);
}
void GetDISyncTaskMetricInfoRequest::setEndDate(long endDate)
{
endDate_ = endDate;
setParameter("EndDate", std::to_string(endDate));
GetDISyncTaskMetricInfoRequest::~GetDISyncTaskMetricInfoRequest() {}
long GetDISyncTaskMetricInfoRequest::getEndDate() const {
return endDate_;
}
long GetDISyncTaskMetricInfoRequest::getStartDate()const
{
return startDate_;
void GetDISyncTaskMetricInfoRequest::setEndDate(long endDate) {
endDate_ = endDate;
setParameter(std::string("EndDate"), std::to_string(endDate));
}
void GetDISyncTaskMetricInfoRequest::setStartDate(long startDate)
{
startDate_ = startDate;
setParameter("StartDate", std::to_string(startDate));
long GetDISyncTaskMetricInfoRequest::getStartDate() const {
return startDate_;
}
long GetDISyncTaskMetricInfoRequest::getProjectId()const
{
return projectId_;
void GetDISyncTaskMetricInfoRequest::setStartDate(long startDate) {
startDate_ = startDate;
setParameter(std::string("StartDate"), std::to_string(startDate));
}
void GetDISyncTaskMetricInfoRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long GetDISyncTaskMetricInfoRequest::getProjectId() const {
return projectId_;
}
long GetDISyncTaskMetricInfoRequest::getFileId()const
{
return fileId_;
void GetDISyncTaskMetricInfoRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}
void GetDISyncTaskMetricInfoRequest::setFileId(long fileId)
{
fileId_ = fileId;
setParameter("FileId", std::to_string(fileId));
long GetDISyncTaskMetricInfoRequest::getFileId() const {
return fileId_;
}
void GetDISyncTaskMetricInfoRequest::setFileId(long fileId) {
fileId_ = fileId;
setParameter(std::string("FileId"), std::to_string(fileId));
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetDISyncTaskRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDISyncTaskRequest;
GetDISyncTaskRequest::GetDISyncTaskRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetDISyncTask")
{
setMethod(HttpRequest::Method::Post);
}
GetDISyncTaskRequest::~GetDISyncTaskRequest()
{}
std::string GetDISyncTaskRequest::getTaskType()const
{
return taskType_;
*/
#include <alibabacloud/dataworks-public/model/GetDISyncTaskRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDISyncTaskRequest;
GetDISyncTaskRequest::GetDISyncTaskRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDISyncTask") {
setMethod(HttpRequest::Method::Post);
}
void GetDISyncTaskRequest::setTaskType(const std::string& taskType)
{
taskType_ = taskType;
setParameter("TaskType", taskType);
GetDISyncTaskRequest::~GetDISyncTaskRequest() {}
std::string GetDISyncTaskRequest::getTaskType() const {
return taskType_;
}
long GetDISyncTaskRequest::getProjectId()const
{
return projectId_;
void GetDISyncTaskRequest::setTaskType(const std::string &taskType) {
taskType_ = taskType;
setParameter(std::string("TaskType"), taskType);
}
void GetDISyncTaskRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long GetDISyncTaskRequest::getProjectId() const {
return projectId_;
}
long GetDISyncTaskRequest::getFileId()const
{
return fileId_;
void GetDISyncTaskRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}
void GetDISyncTaskRequest::setFileId(long fileId)
{
fileId_ = fileId;
setParameter("FileId", std::to_string(fileId));
long GetDISyncTaskRequest::getFileId() const {
return fileId_;
}
void GetDISyncTaskRequest::setFileId(long fileId) {
fileId_ = fileId;
setParameter(std::string("FileId"), std::to_string(fileId));
}

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetDagRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDagRequest;
GetDagRequest::GetDagRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetDag")
{
setMethod(HttpRequest::Method::Post);
}
GetDagRequest::~GetDagRequest()
{}
std::string GetDagRequest::getProjectEnv()const
{
return projectEnv_;
*/
#include <alibabacloud/dataworks-public/model/GetDagRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDagRequest;
GetDagRequest::GetDagRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDag") {
setMethod(HttpRequest::Method::Post);
}
void GetDagRequest::setProjectEnv(const std::string& projectEnv)
{
projectEnv_ = projectEnv;
setBodyParameter("ProjectEnv", projectEnv);
GetDagRequest::~GetDagRequest() {}
std::string GetDagRequest::getProjectEnv() const {
return projectEnv_;
}
long GetDagRequest::getDagId()const
{
return dagId_;
void GetDagRequest::setProjectEnv(const std::string &projectEnv) {
projectEnv_ = projectEnv;
setBodyParameter(std::string("ProjectEnv"), projectEnv);
}
void GetDagRequest::setDagId(long dagId)
{
dagId_ = dagId;
setBodyParameter("DagId", std::to_string(dagId));
long GetDagRequest::getDagId() const {
return dagId_;
}
void GetDagRequest::setDagId(long dagId) {
dagId_ = dagId;
setBodyParameter(std::string("DagId"), std::to_string(dagId));
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDataServiceApiRequest;
GetDataServiceApiRequest::GetDataServiceApiRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceApi")
{
setMethod(HttpRequest::Method::Post);
}
GetDataServiceApiRequest::~GetDataServiceApiRequest()
{}
long GetDataServiceApiRequest::getTenantId()const
{
return tenantId_;
*/
#include <alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDataServiceApiRequest;
GetDataServiceApiRequest::GetDataServiceApiRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceApi") {
setMethod(HttpRequest::Method::Post);
}
void GetDataServiceApiRequest::setTenantId(long tenantId)
{
tenantId_ = tenantId;
setBodyParameter("TenantId", std::to_string(tenantId));
GetDataServiceApiRequest::~GetDataServiceApiRequest() {}
long GetDataServiceApiRequest::getTenantId() const {
return tenantId_;
}
long GetDataServiceApiRequest::getProjectId()const
{
return projectId_;
void GetDataServiceApiRequest::setTenantId(long tenantId) {
tenantId_ = tenantId;
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
}
void GetDataServiceApiRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long GetDataServiceApiRequest::getProjectId() const {
return projectId_;
}
long GetDataServiceApiRequest::getApiId()const
{
return apiId_;
void GetDataServiceApiRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void GetDataServiceApiRequest::setApiId(long apiId)
{
apiId_ = apiId;
setBodyParameter("ApiId", std::to_string(apiId));
long GetDataServiceApiRequest::getApiId() const {
return apiId_;
}
void GetDataServiceApiRequest::setApiId(long apiId) {
apiId_ = apiId;
setBodyParameter(std::string("ApiId"), std::to_string(apiId));
}

View File

@@ -40,63 +40,63 @@ void GetDataServiceApiResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["Timeout"].isNull())
data_.timeout = std::stoi(dataNode["Timeout"].asString());
if(!dataNode["Status"].isNull())
data_.status = std::stoi(dataNode["Status"].asString());
if(!dataNode["ApiId"].isNull())
data_.apiId = std::stol(dataNode["ApiId"].asString());
if(!dataNode["ApiMode"].isNull())
data_.apiMode = std::stoi(dataNode["ApiMode"].asString());
if(!dataNode["ApiName"].isNull())
data_.apiName = dataNode["ApiName"].asString();
if(!dataNode["ApiPath"].isNull())
data_.apiPath = dataNode["ApiPath"].asString();
if(!dataNode["CreatedTime"].isNull())
data_.createdTime = dataNode["CreatedTime"].asString();
if(!dataNode["ProjectId"].isNull())
data_.projectId = std::stol(dataNode["ProjectId"].asString());
if(!dataNode["ResponseContentType"].isNull())
data_.responseContentType = std::stoi(dataNode["ResponseContentType"].asString());
if(!dataNode["CreatorId"].isNull())
data_.creatorId = dataNode["CreatorId"].asString();
if(!dataNode["Description"].isNull())
data_.description = dataNode["Description"].asString();
if(!dataNode["GroupId"].isNull())
data_.groupId = dataNode["GroupId"].asString();
if(!dataNode["VisibleRange"].isNull())
data_.visibleRange = std::stoi(dataNode["VisibleRange"].asString());
if(!dataNode["ModifiedTime"].isNull())
data_.modifiedTime = dataNode["ModifiedTime"].asString();
if(!dataNode["OperatorId"].isNull())
data_.operatorId = dataNode["OperatorId"].asString();
if(!dataNode["ProjectId"].isNull())
data_.projectId = std::stol(dataNode["ProjectId"].asString());
if(!dataNode["RequestMethod"].isNull())
data_.requestMethod = std::stoi(dataNode["RequestMethod"].asString());
if(!dataNode["ResponseContentType"].isNull())
data_.responseContentType = std::stoi(dataNode["ResponseContentType"].asString());
if(!dataNode["Status"].isNull())
data_.status = std::stoi(dataNode["Status"].asString());
if(!dataNode["TenantId"].isNull())
data_.tenantId = std::stol(dataNode["TenantId"].asString());
if(!dataNode["Timeout"].isNull())
data_.timeout = std::stoi(dataNode["Timeout"].asString());
if(!dataNode["VisibleRange"].isNull())
data_.visibleRange = std::stoi(dataNode["VisibleRange"].asString());
if(!dataNode["GroupId"].isNull())
data_.groupId = dataNode["GroupId"].asString();
if(!dataNode["Description"].isNull())
data_.description = dataNode["Description"].asString();
if(!dataNode["FolderId"].isNull())
data_.folderId = std::stol(dataNode["FolderId"].asString());
if(!dataNode["RequestMethod"].isNull())
data_.requestMethod = std::stoi(dataNode["RequestMethod"].asString());
if(!dataNode["CreatedTime"].isNull())
data_.createdTime = dataNode["CreatedTime"].asString();
if(!dataNode["ApiName"].isNull())
data_.apiName = dataNode["ApiName"].asString();
if(!dataNode["TenantId"].isNull())
data_.tenantId = std::stol(dataNode["TenantId"].asString());
if(!dataNode["ApiPath"].isNull())
data_.apiPath = dataNode["ApiPath"].asString();
auto registrationDetailsNode = dataNode["RegistrationDetails"];
if(!registrationDetailsNode["FailedResultSample"].isNull())
data_.registrationDetails.failedResultSample = registrationDetailsNode["FailedResultSample"].asString();
if(!registrationDetailsNode["ServiceContentType"].isNull())
data_.registrationDetails.serviceContentType = std::stoi(registrationDetailsNode["ServiceContentType"].asString());
if(!registrationDetailsNode["ServiceHost"].isNull())
data_.registrationDetails.serviceHost = registrationDetailsNode["ServiceHost"].asString();
if(!registrationDetailsNode["ServiceContentType"].isNull())
data_.registrationDetails.serviceContentType = std::stoi(registrationDetailsNode["ServiceContentType"].asString());
if(!registrationDetailsNode["ServicePath"].isNull())
data_.registrationDetails.servicePath = registrationDetailsNode["ServicePath"].asString();
if(!registrationDetailsNode["ServiceRequestBodyDescription"].isNull())
data_.registrationDetails.serviceRequestBodyDescription = registrationDetailsNode["ServiceRequestBodyDescription"].asString();
if(!registrationDetailsNode["SuccessfulResultSample"].isNull())
data_.registrationDetails.successfulResultSample = registrationDetailsNode["SuccessfulResultSample"].asString();
if(!registrationDetailsNode["FailedResultSample"].isNull())
data_.registrationDetails.failedResultSample = registrationDetailsNode["FailedResultSample"].asString();
if(!registrationDetailsNode["ServiceRequestBodyDescription"].isNull())
data_.registrationDetails.serviceRequestBodyDescription = registrationDetailsNode["ServiceRequestBodyDescription"].asString();
auto allRegistrationErrorCodesNode = registrationDetailsNode["RegistrationErrorCodes"]["RegistrationErrorCode"];
for (auto registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode : allRegistrationErrorCodesNode)
{
Data::RegistrationDetails::RegistrationErrorCode registrationErrorCodeObject;
if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].isNull())
registrationErrorCodeObject.errorCode = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].asString();
if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].isNull())
registrationErrorCodeObject.errorMessage = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].asString();
if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].isNull())
registrationErrorCodeObject.errorCode = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].asString();
if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].isNull())
registrationErrorCodeObject.errorSolution = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].asString();
data_.registrationDetails.registrationErrorCodes.push_back(registrationErrorCodeObject);
@@ -107,74 +107,74 @@ void GetDataServiceApiResult::parse(const std::string &payload)
Data::RegistrationDetails::RegistrationRequestParameter registrationRequestParameterObject;
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ColumnName"].isNull())
registrationRequestParameterObject.columnName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ColumnName"].asString();
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].isNull())
registrationRequestParameterObject.parameterName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].asString();
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].isNull())
registrationRequestParameterObject.parameterPosition = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].asString());
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].isNull())
registrationRequestParameterObject.parameterDescription = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].asString();
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].isNull())
registrationRequestParameterObject.defaultValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].asString();
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].isNull())
registrationRequestParameterObject.parameterOperator = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].asString());
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].isNull())
registrationRequestParameterObject.parameterDataType = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].asString());
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].isNull())
registrationRequestParameterObject.exampleValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].asString();
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].isNull())
registrationRequestParameterObject.isRequiredParameter = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].asString() == "true";
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].isNull())
registrationRequestParameterObject.parameterDataType = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].asString());
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].isNull())
registrationRequestParameterObject.parameterDescription = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].asString();
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].isNull())
registrationRequestParameterObject.parameterName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].asString();
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].isNull())
registrationRequestParameterObject.parameterOperator = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].asString());
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].isNull())
registrationRequestParameterObject.parameterPosition = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].asString());
data_.registrationDetails.registrationRequestParameters.push_back(registrationRequestParameterObject);
}
auto scriptDetailsNode = dataNode["ScriptDetails"];
if(!scriptDetailsNode["IsPagedResponse"].isNull())
data_.scriptDetails.isPagedResponse = scriptDetailsNode["IsPagedResponse"].asString() == "true";
if(!scriptDetailsNode["Script"].isNull())
data_.scriptDetails.script = scriptDetailsNode["Script"].asString();
if(!scriptDetailsNode["IsPagedResponse"].isNull())
data_.scriptDetails.isPagedResponse = scriptDetailsNode["IsPagedResponse"].asString() == "true";
auto allScriptRequestParametersNode = scriptDetailsNode["ScriptRequestParameters"]["ScriptRequestParameter"];
for (auto scriptDetailsNodeScriptRequestParametersScriptRequestParameter : allScriptRequestParametersNode)
{
Data::ScriptDetails::ScriptRequestParameter scriptRequestParameterObject;
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ColumnName"].isNull())
scriptRequestParameterObject.columnName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ColumnName"].asString();
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].isNull())
scriptRequestParameterObject.parameterName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].asString();
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].isNull())
scriptRequestParameterObject.parameterPosition = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].asString());
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].isNull())
scriptRequestParameterObject.parameterDescription = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].asString();
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].isNull())
scriptRequestParameterObject.defaultValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].asString();
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].isNull())
scriptRequestParameterObject.parameterOperator = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].asString());
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].isNull())
scriptRequestParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].asString());
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].isNull())
scriptRequestParameterObject.exampleValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].asString();
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].isNull())
scriptRequestParameterObject.isRequiredParameter = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].asString() == "true";
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].isNull())
scriptRequestParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].asString());
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].isNull())
scriptRequestParameterObject.parameterDescription = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].asString();
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].isNull())
scriptRequestParameterObject.parameterName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].asString();
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].isNull())
scriptRequestParameterObject.parameterOperator = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].asString());
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].isNull())
scriptRequestParameterObject.parameterPosition = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].asString());
data_.scriptDetails.scriptRequestParameters.push_back(scriptRequestParameterObject);
}
auto allScriptResponseParametersNode = scriptDetailsNode["ScriptResponseParameters"]["ScriptResponseParameter"];
for (auto scriptDetailsNodeScriptResponseParametersScriptResponseParameter : allScriptResponseParametersNode)
{
Data::ScriptDetails::ScriptResponseParameter scriptResponseParameterObject;
if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ColumnName"].isNull())
scriptResponseParameterObject.columnName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ColumnName"].asString();
if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].isNull())
scriptResponseParameterObject.exampleValue = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].asString();
if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].isNull())
scriptResponseParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].asString());
if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].isNull())
scriptResponseParameterObject.parameterDescription = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].asString();
if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ColumnName"].isNull())
scriptResponseParameterObject.columnName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ColumnName"].asString();
if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].isNull())
scriptResponseParameterObject.parameterName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].asString();
if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].isNull())
scriptResponseParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].asString());
if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].isNull())
scriptResponseParameterObject.exampleValue = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].asString();
data_.scriptDetails.scriptResponseParameters.push_back(scriptResponseParameterObject);
}
auto scriptConnectionNode = scriptDetailsNode["ScriptConnection"];
if(!scriptConnectionNode["ConnectionId"].isNull())
data_.scriptDetails.scriptConnection.connectionId = std::stol(scriptConnectionNode["ConnectionId"].asString());
if(!scriptConnectionNode["TableName"].isNull())
data_.scriptDetails.scriptConnection.tableName = scriptConnectionNode["TableName"].asString();
if(!scriptConnectionNode["ConnectionId"].isNull())
data_.scriptDetails.scriptConnection.connectionId = std::stol(scriptConnectionNode["ConnectionId"].asString());
auto wizardDetailsNode = dataNode["WizardDetails"];
if(!wizardDetailsNode["IsPagedResponse"].isNull())
data_.wizardDetails.isPagedResponse = wizardDetailsNode["IsPagedResponse"].asString() == "true";
@@ -184,56 +184,56 @@ void GetDataServiceApiResult::parse(const std::string &payload)
Data::WizardDetails::WizardRequestParameter wizardRequestParameterObject;
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ColumnName"].isNull())
wizardRequestParameterObject.columnName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ColumnName"].asString();
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].isNull())
wizardRequestParameterObject.parameterName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].asString();
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].isNull())
wizardRequestParameterObject.parameterPosition = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].asString());
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].isNull())
wizardRequestParameterObject.parameterDescription = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].asString();
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].isNull())
wizardRequestParameterObject.defaultValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].asString();
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].isNull())
wizardRequestParameterObject.parameterOperator = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].asString());
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].isNull())
wizardRequestParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].asString());
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].isNull())
wizardRequestParameterObject.exampleValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].asString();
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].isNull())
wizardRequestParameterObject.isRequiredParameter = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].asString() == "true";
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].isNull())
wizardRequestParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].asString());
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].isNull())
wizardRequestParameterObject.parameterDescription = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].asString();
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].isNull())
wizardRequestParameterObject.parameterName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].asString();
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].isNull())
wizardRequestParameterObject.parameterOperator = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].asString());
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].isNull())
wizardRequestParameterObject.parameterPosition = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].asString());
data_.wizardDetails.wizardRequestParameters.push_back(wizardRequestParameterObject);
}
auto allWizardResponseParametersNode = wizardDetailsNode["WizardResponseParameters"]["WizardResponseParameter"];
for (auto wizardDetailsNodeWizardResponseParametersWizardResponseParameter : allWizardResponseParametersNode)
{
Data::WizardDetails::WizardResponseParameter wizardResponseParameterObject;
if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ColumnName"].isNull())
wizardResponseParameterObject.columnName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ColumnName"].asString();
if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].isNull())
wizardResponseParameterObject.exampleValue = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].asString();
if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].isNull())
wizardResponseParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].asString());
if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].isNull())
wizardResponseParameterObject.parameterDescription = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].asString();
if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ColumnName"].isNull())
wizardResponseParameterObject.columnName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ColumnName"].asString();
if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].isNull())
wizardResponseParameterObject.parameterName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].asString();
if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].isNull())
wizardResponseParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].asString());
if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].isNull())
wizardResponseParameterObject.exampleValue = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].asString();
data_.wizardDetails.wizardResponseParameters.push_back(wizardResponseParameterObject);
}
auto wizardConnectionNode = wizardDetailsNode["WizardConnection"];
if(!wizardConnectionNode["ConnectionId"].isNull())
data_.wizardDetails.wizardConnection.connectionId = std::stol(wizardConnectionNode["ConnectionId"].asString());
if(!wizardConnectionNode["TableName"].isNull())
data_.wizardDetails.wizardConnection.tableName = wizardConnectionNode["TableName"].asString();
if(!wizardConnectionNode["ConnectionId"].isNull())
data_.wizardDetails.wizardConnection.connectionId = std::stol(wizardConnectionNode["ConnectionId"].asString());
auto allProtocols = dataNode["Protocols"]["Protocol"];
for (auto value : allProtocols)
data_.protocols.push_back(value.asString());
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
}

View File

@@ -0,0 +1,36 @@
/*
* 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/GetDataServiceApiTestRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDataServiceApiTestRequest;
GetDataServiceApiTestRequest::GetDataServiceApiTestRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceApiTest") {
setMethod(HttpRequest::Method::Get);
}
GetDataServiceApiTestRequest::~GetDataServiceApiTestRequest() {}
long GetDataServiceApiTestRequest::getTestId() const {
return testId_;
}
void GetDataServiceApiTestRequest::setTestId(long testId) {
testId_ = testId;
setParameter(std::string("TestId"), std::to_string(testId));
}

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetDataServiceApiTestResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dataworks_public;
using namespace AlibabaCloud::Dataworks_public::Model;
GetDataServiceApiTestResult::GetDataServiceApiTestResult() :
ServiceResult()
{}
GetDataServiceApiTestResult::GetDataServiceApiTestResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetDataServiceApiTestResult::~GetDataServiceApiTestResult()
{}
void GetDataServiceApiTestResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["ApiId"].isNull())
data_.apiId = std::stol(dataNode["ApiId"].asString());
if(!dataNode["ParamMap"].isNull())
data_.paramMap = dataNode["ParamMap"].asString();
if(!dataNode["RetCode"].isNull())
data_.retCode = std::stol(dataNode["RetCode"].asString());
if(!dataNode["RetResult"].isNull())
data_.retResult = dataNode["RetResult"].asString();
if(!dataNode["DebugInfo"].isNull())
data_.debugInfo = dataNode["DebugInfo"].asString();
if(!dataNode["CostTime"].isNull())
data_.costTime = dataNode["CostTime"].asString();
if(!dataNode["NodesDebugInfo"].isNull())
data_.nodesDebugInfo = dataNode["NodesDebugInfo"].asString();
if(!dataNode["Status"].isNull())
data_.status = dataNode["Status"].asString();
}
GetDataServiceApiTestResult::Data GetDataServiceApiTestResult::getData()const
{
return data_;
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetDataServiceApplicationRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDataServiceApplicationRequest;
GetDataServiceApplicationRequest::GetDataServiceApplicationRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceApplication")
{
setMethod(HttpRequest::Method::Post);
}
GetDataServiceApplicationRequest::~GetDataServiceApplicationRequest()
{}
long GetDataServiceApplicationRequest::getTenantId()const
{
return tenantId_;
*/
#include <alibabacloud/dataworks-public/model/GetDataServiceApplicationRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDataServiceApplicationRequest;
GetDataServiceApplicationRequest::GetDataServiceApplicationRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceApplication") {
setMethod(HttpRequest::Method::Post);
}
void GetDataServiceApplicationRequest::setTenantId(long tenantId)
{
tenantId_ = tenantId;
setBodyParameter("TenantId", std::to_string(tenantId));
GetDataServiceApplicationRequest::~GetDataServiceApplicationRequest() {}
long GetDataServiceApplicationRequest::getTenantId() const {
return tenantId_;
}
long GetDataServiceApplicationRequest::getApplicationId()const
{
return applicationId_;
void GetDataServiceApplicationRequest::setTenantId(long tenantId) {
tenantId_ = tenantId;
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
}
void GetDataServiceApplicationRequest::setApplicationId(long applicationId)
{
applicationId_ = applicationId;
setBodyParameter("ApplicationId", std::to_string(applicationId));
long GetDataServiceApplicationRequest::getApplicationId() const {
return applicationId_;
}
long GetDataServiceApplicationRequest::getProjectId()const
{
return projectId_;
void GetDataServiceApplicationRequest::setApplicationId(long applicationId) {
applicationId_ = applicationId;
setBodyParameter(std::string("ApplicationId"), std::to_string(applicationId));
}
void GetDataServiceApplicationRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long GetDataServiceApplicationRequest::getProjectId() const {
return projectId_;
}
void GetDataServiceApplicationRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -42,24 +42,24 @@ void GetDataServiceApplicationResult::parse(const std::string &payload)
auto dataNode = value["Data"];
if(!dataNode["ApplicationCode"].isNull())
data_.applicationCode = dataNode["ApplicationCode"].asString();
if(!dataNode["ApplicationId"].isNull())
data_.applicationId = std::stol(dataNode["ApplicationId"].asString());
if(!dataNode["ApplicationKey"].isNull())
data_.applicationKey = dataNode["ApplicationKey"].asString();
if(!dataNode["ApplicationName"].isNull())
data_.applicationName = dataNode["ApplicationName"].asString();
if(!dataNode["ApplicationSecret"].isNull())
data_.applicationSecret = dataNode["ApplicationSecret"].asString();
if(!dataNode["ProjectId"].isNull())
data_.projectId = std::stol(dataNode["ProjectId"].asString());
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!dataNode["ApplicationName"].isNull())
data_.applicationName = dataNode["ApplicationName"].asString();
if(!dataNode["ApplicationId"].isNull())
data_.applicationId = std::stol(dataNode["ApplicationId"].asString());
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetDataServiceFolderRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDataServiceFolderRequest;
GetDataServiceFolderRequest::GetDataServiceFolderRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceFolder")
{
setMethod(HttpRequest::Method::Post);
}
GetDataServiceFolderRequest::~GetDataServiceFolderRequest()
{}
long GetDataServiceFolderRequest::getTenantId()const
{
return tenantId_;
*/
#include <alibabacloud/dataworks-public/model/GetDataServiceFolderRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDataServiceFolderRequest;
GetDataServiceFolderRequest::GetDataServiceFolderRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceFolder") {
setMethod(HttpRequest::Method::Post);
}
void GetDataServiceFolderRequest::setTenantId(long tenantId)
{
tenantId_ = tenantId;
setBodyParameter("TenantId", std::to_string(tenantId));
GetDataServiceFolderRequest::~GetDataServiceFolderRequest() {}
long GetDataServiceFolderRequest::getTenantId() const {
return tenantId_;
}
long GetDataServiceFolderRequest::getProjectId()const
{
return projectId_;
void GetDataServiceFolderRequest::setTenantId(long tenantId) {
tenantId_ = tenantId;
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
}
void GetDataServiceFolderRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long GetDataServiceFolderRequest::getProjectId() const {
return projectId_;
}
long GetDataServiceFolderRequest::getFolderId()const
{
return folderId_;
void GetDataServiceFolderRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void GetDataServiceFolderRequest::setFolderId(long folderId)
{
folderId_ = folderId;
setBodyParameter("FolderId", std::to_string(folderId));
long GetDataServiceFolderRequest::getFolderId() const {
return folderId_;
}
void GetDataServiceFolderRequest::setFolderId(long folderId) {
folderId_ = folderId;
setBodyParameter(std::string("FolderId"), std::to_string(folderId));
}

View File

@@ -40,22 +40,22 @@ void GetDataServiceFolderResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto folderNode = value["Folder"];
if(!folderNode["TenantId"].isNull())
folder_.tenantId = std::stol(folderNode["TenantId"].asString());
if(!folderNode["ProjectId"].isNull())
folder_.projectId = std::stol(folderNode["ProjectId"].asString());
if(!folderNode["FolderId"].isNull())
folder_.folderId = std::stol(folderNode["FolderId"].asString());
if(!folderNode["FolderName"].isNull())
folder_.folderName = folderNode["FolderName"].asString();
if(!folderNode["CreatedTime"].isNull())
folder_.createdTime = folderNode["CreatedTime"].asString();
if(!folderNode["ParentId"].isNull())
folder_.parentId = std::stol(folderNode["ParentId"].asString());
if(!folderNode["ModifiedTime"].isNull())
folder_.modifiedTime = folderNode["ModifiedTime"].asString();
if(!folderNode["GroupId"].isNull())
folder_.groupId = folderNode["GroupId"].asString();
if(!folderNode["ParentId"].isNull())
folder_.parentId = std::stol(folderNode["ParentId"].asString());
if(!folderNode["FolderId"].isNull())
folder_.folderId = std::stol(folderNode["FolderId"].asString());
if(!folderNode["ProjectId"].isNull())
folder_.projectId = std::stol(folderNode["ProjectId"].asString());
if(!folderNode["FolderName"].isNull())
folder_.folderName = folderNode["FolderName"].asString();
if(!folderNode["CreatedTime"].isNull())
folder_.createdTime = folderNode["CreatedTime"].asString();
if(!folderNode["TenantId"].isNull())
folder_.tenantId = std::stol(folderNode["TenantId"].asString());
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetDataServiceGroupRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDataServiceGroupRequest;
GetDataServiceGroupRequest::GetDataServiceGroupRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceGroup")
{
setMethod(HttpRequest::Method::Post);
}
GetDataServiceGroupRequest::~GetDataServiceGroupRequest()
{}
std::string GetDataServiceGroupRequest::getGroupId()const
{
return groupId_;
*/
#include <alibabacloud/dataworks-public/model/GetDataServiceGroupRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDataServiceGroupRequest;
GetDataServiceGroupRequest::GetDataServiceGroupRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceGroup") {
setMethod(HttpRequest::Method::Post);
}
void GetDataServiceGroupRequest::setGroupId(const std::string& groupId)
{
groupId_ = groupId;
setBodyParameter("GroupId", groupId);
GetDataServiceGroupRequest::~GetDataServiceGroupRequest() {}
std::string GetDataServiceGroupRequest::getGroupId() const {
return groupId_;
}
long GetDataServiceGroupRequest::getTenantId()const
{
return tenantId_;
void GetDataServiceGroupRequest::setGroupId(const std::string &groupId) {
groupId_ = groupId;
setBodyParameter(std::string("GroupId"), groupId);
}
void GetDataServiceGroupRequest::setTenantId(long tenantId)
{
tenantId_ = tenantId;
setBodyParameter("TenantId", std::to_string(tenantId));
long GetDataServiceGroupRequest::getTenantId() const {
return tenantId_;
}
long GetDataServiceGroupRequest::getProjectId()const
{
return projectId_;
void GetDataServiceGroupRequest::setTenantId(long tenantId) {
tenantId_ = tenantId;
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
}
void GetDataServiceGroupRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long GetDataServiceGroupRequest::getProjectId() const {
return projectId_;
}
void GetDataServiceGroupRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -40,24 +40,24 @@ void GetDataServiceGroupResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto groupNode = value["Group"];
if(!groupNode["TenantId"].isNull())
group_.tenantId = std::stol(groupNode["TenantId"].asString());
if(!groupNode["ProjectId"].isNull())
group_.projectId = std::stol(groupNode["ProjectId"].asString());
if(!groupNode["GroupId"].isNull())
group_.groupId = groupNode["GroupId"].asString();
if(!groupNode["ApiGatewayGroupId"].isNull())
group_.apiGatewayGroupId = groupNode["ApiGatewayGroupId"].asString();
if(!groupNode["GroupName"].isNull())
group_.groupName = groupNode["GroupName"].asString();
if(!groupNode["Description"].isNull())
group_.description = groupNode["Description"].asString();
if(!groupNode["CreatedTime"].isNull())
group_.createdTime = groupNode["CreatedTime"].asString();
if(!groupNode["ModifiedTime"].isNull())
group_.modifiedTime = groupNode["ModifiedTime"].asString();
if(!groupNode["Description"].isNull())
group_.description = groupNode["Description"].asString();
if(!groupNode["GroupName"].isNull())
group_.groupName = groupNode["GroupName"].asString();
if(!groupNode["GroupId"].isNull())
group_.groupId = groupNode["GroupId"].asString();
if(!groupNode["ProjectId"].isNull())
group_.projectId = std::stol(groupNode["ProjectId"].asString());
if(!groupNode["ApiGatewayGroupId"].isNull())
group_.apiGatewayGroupId = groupNode["ApiGatewayGroupId"].asString();
if(!groupNode["CreatorId"].isNull())
group_.creatorId = groupNode["CreatorId"].asString();
if(!groupNode["CreatedTime"].isNull())
group_.createdTime = groupNode["CreatedTime"].asString();
if(!groupNode["TenantId"].isNull())
group_.tenantId = std::stol(groupNode["TenantId"].asString());
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDataServicePublishedApiRequest;
GetDataServicePublishedApiRequest::GetDataServicePublishedApiRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServicePublishedApi")
{
setMethod(HttpRequest::Method::Post);
}
GetDataServicePublishedApiRequest::~GetDataServicePublishedApiRequest()
{}
long GetDataServicePublishedApiRequest::getTenantId()const
{
return tenantId_;
*/
#include <alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDataServicePublishedApiRequest;
GetDataServicePublishedApiRequest::GetDataServicePublishedApiRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServicePublishedApi") {
setMethod(HttpRequest::Method::Post);
}
void GetDataServicePublishedApiRequest::setTenantId(long tenantId)
{
tenantId_ = tenantId;
setBodyParameter("TenantId", std::to_string(tenantId));
GetDataServicePublishedApiRequest::~GetDataServicePublishedApiRequest() {}
long GetDataServicePublishedApiRequest::getTenantId() const {
return tenantId_;
}
long GetDataServicePublishedApiRequest::getProjectId()const
{
return projectId_;
void GetDataServicePublishedApiRequest::setTenantId(long tenantId) {
tenantId_ = tenantId;
setBodyParameter(std::string("TenantId"), std::to_string(tenantId));
}
void GetDataServicePublishedApiRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long GetDataServicePublishedApiRequest::getProjectId() const {
return projectId_;
}
long GetDataServicePublishedApiRequest::getApiId()const
{
return apiId_;
void GetDataServicePublishedApiRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void GetDataServicePublishedApiRequest::setApiId(long apiId)
{
apiId_ = apiId;
setBodyParameter("ApiId", std::to_string(apiId));
long GetDataServicePublishedApiRequest::getApiId() const {
return apiId_;
}
void GetDataServicePublishedApiRequest::setApiId(long apiId) {
apiId_ = apiId;
setBodyParameter(std::string("ApiId"), std::to_string(apiId));
}

View File

@@ -40,61 +40,61 @@ void GetDataServicePublishedApiResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["Timeout"].isNull())
data_.timeout = std::stoi(dataNode["Timeout"].asString());
if(!dataNode["Status"].isNull())
data_.status = std::stoi(dataNode["Status"].asString());
if(!dataNode["ApiId"].isNull())
data_.apiId = std::stol(dataNode["ApiId"].asString());
if(!dataNode["ApiMode"].isNull())
data_.apiMode = std::stoi(dataNode["ApiMode"].asString());
if(!dataNode["ApiName"].isNull())
data_.apiName = dataNode["ApiName"].asString();
if(!dataNode["ApiPath"].isNull())
data_.apiPath = dataNode["ApiPath"].asString();
if(!dataNode["CreatedTime"].isNull())
data_.createdTime = dataNode["CreatedTime"].asString();
if(!dataNode["ProjectId"].isNull())
data_.projectId = std::stol(dataNode["ProjectId"].asString());
if(!dataNode["ResponseContentType"].isNull())
data_.responseContentType = std::stoi(dataNode["ResponseContentType"].asString());
if(!dataNode["CreatorId"].isNull())
data_.creatorId = dataNode["CreatorId"].asString();
if(!dataNode["Description"].isNull())
data_.description = dataNode["Description"].asString();
if(!dataNode["GroupId"].isNull())
data_.groupId = dataNode["GroupId"].asString();
if(!dataNode["VisibleRange"].isNull())
data_.visibleRange = std::stoi(dataNode["VisibleRange"].asString());
if(!dataNode["ModifiedTime"].isNull())
data_.modifiedTime = dataNode["ModifiedTime"].asString();
if(!dataNode["OperatorId"].isNull())
data_.operatorId = dataNode["OperatorId"].asString();
if(!dataNode["ProjectId"].isNull())
data_.projectId = std::stol(dataNode["ProjectId"].asString());
if(!dataNode["GroupId"].isNull())
data_.groupId = dataNode["GroupId"].asString();
if(!dataNode["Description"].isNull())
data_.description = dataNode["Description"].asString();
if(!dataNode["RequestMethod"].isNull())
data_.requestMethod = std::stoi(dataNode["RequestMethod"].asString());
if(!dataNode["ResponseContentType"].isNull())
data_.responseContentType = std::stoi(dataNode["ResponseContentType"].asString());
if(!dataNode["Status"].isNull())
data_.status = std::stoi(dataNode["Status"].asString());
if(!dataNode["CreatedTime"].isNull())
data_.createdTime = dataNode["CreatedTime"].asString();
if(!dataNode["ApiName"].isNull())
data_.apiName = dataNode["ApiName"].asString();
if(!dataNode["TenantId"].isNull())
data_.tenantId = std::stol(dataNode["TenantId"].asString());
if(!dataNode["Timeout"].isNull())
data_.timeout = std::stoi(dataNode["Timeout"].asString());
if(!dataNode["VisibleRange"].isNull())
data_.visibleRange = std::stoi(dataNode["VisibleRange"].asString());
if(!dataNode["ApiPath"].isNull())
data_.apiPath = dataNode["ApiPath"].asString();
auto registrationDetailsNode = dataNode["RegistrationDetails"];
if(!registrationDetailsNode["FailedResultSample"].isNull())
data_.registrationDetails.failedResultSample = registrationDetailsNode["FailedResultSample"].asString();
if(!registrationDetailsNode["ServiceContentType"].isNull())
data_.registrationDetails.serviceContentType = std::stoi(registrationDetailsNode["ServiceContentType"].asString());
if(!registrationDetailsNode["ServiceHost"].isNull())
data_.registrationDetails.serviceHost = registrationDetailsNode["ServiceHost"].asString();
if(!registrationDetailsNode["ServiceContentType"].isNull())
data_.registrationDetails.serviceContentType = std::stoi(registrationDetailsNode["ServiceContentType"].asString());
if(!registrationDetailsNode["ServicePath"].isNull())
data_.registrationDetails.servicePath = registrationDetailsNode["ServicePath"].asString();
if(!registrationDetailsNode["ServiceRequestBodyDescription"].isNull())
data_.registrationDetails.serviceRequestBodyDescription = registrationDetailsNode["ServiceRequestBodyDescription"].asString();
if(!registrationDetailsNode["SuccessfulResultSample"].isNull())
data_.registrationDetails.successfulResultSample = registrationDetailsNode["SuccessfulResultSample"].asString();
if(!registrationDetailsNode["FailedResultSample"].isNull())
data_.registrationDetails.failedResultSample = registrationDetailsNode["FailedResultSample"].asString();
if(!registrationDetailsNode["ServiceRequestBodyDescription"].isNull())
data_.registrationDetails.serviceRequestBodyDescription = registrationDetailsNode["ServiceRequestBodyDescription"].asString();
auto allRegistrationErrorCodesNode = registrationDetailsNode["RegistrationErrorCodes"]["RegistrationErrorCode"];
for (auto registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode : allRegistrationErrorCodesNode)
{
Data::RegistrationDetails::RegistrationErrorCode registrationErrorCodeObject;
if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].isNull())
registrationErrorCodeObject.errorCode = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].asString();
if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].isNull())
registrationErrorCodeObject.errorMessage = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorMessage"].asString();
if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].isNull())
registrationErrorCodeObject.errorCode = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].asString();
if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].isNull())
registrationErrorCodeObject.errorSolution = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].asString();
data_.registrationDetails.registrationErrorCodes.push_back(registrationErrorCodeObject);
@@ -103,41 +103,41 @@ void GetDataServicePublishedApiResult::parse(const std::string &payload)
for (auto registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter : allRegistrationRequestParametersNode)
{
Data::RegistrationDetails::RegistrationRequestParameter registrationRequestParameterObject;
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].isNull())
registrationRequestParameterObject.defaultValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].asString();
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].isNull())
registrationRequestParameterObject.exampleValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].asString();
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].isNull())
registrationRequestParameterObject.isRequiredParameter = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].asString() == "true";
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].isNull())
registrationRequestParameterObject.parameterDataType = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].asString());
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].isNull())
registrationRequestParameterObject.parameterDescription = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].asString();
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].isNull())
registrationRequestParameterObject.parameterName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].asString();
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].isNull())
registrationRequestParameterObject.parameterOperator = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].asString());
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].isNull())
registrationRequestParameterObject.parameterPosition = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].asString());
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].isNull())
registrationRequestParameterObject.parameterDescription = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].asString();
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].isNull())
registrationRequestParameterObject.defaultValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].asString();
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].isNull())
registrationRequestParameterObject.parameterOperator = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].asString());
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].isNull())
registrationRequestParameterObject.exampleValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].asString();
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].isNull())
registrationRequestParameterObject.parameterDataType = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].asString());
if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].isNull())
registrationRequestParameterObject.isRequiredParameter = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].asString() == "true";
data_.registrationDetails.registrationRequestParameters.push_back(registrationRequestParameterObject);
}
auto scriptDetailsNode = dataNode["ScriptDetails"];
if(!scriptDetailsNode["FailedResultSample"].isNull())
data_.scriptDetails.failedResultSample = scriptDetailsNode["FailedResultSample"].asString();
if(!scriptDetailsNode["IsPagedResponse"].isNull())
data_.scriptDetails.isPagedResponse = scriptDetailsNode["IsPagedResponse"].asString() == "true";
if(!scriptDetailsNode["Script"].isNull())
data_.scriptDetails.script = scriptDetailsNode["Script"].asString();
if(!scriptDetailsNode["SuccessfulResultSample"].isNull())
data_.scriptDetails.successfulResultSample = scriptDetailsNode["SuccessfulResultSample"].asString();
if(!scriptDetailsNode["FailedResultSample"].isNull())
data_.scriptDetails.failedResultSample = scriptDetailsNode["FailedResultSample"].asString();
if(!scriptDetailsNode["Script"].isNull())
data_.scriptDetails.script = scriptDetailsNode["Script"].asString();
auto allScriptErrorCodesNode = scriptDetailsNode["ScriptErrorCodes"]["ScriptErrorCode"];
for (auto scriptDetailsNodeScriptErrorCodesScriptErrorCode : allScriptErrorCodesNode)
{
Data::ScriptDetails::ScriptErrorCode scriptErrorCodeObject;
if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorCode"].isNull())
scriptErrorCodeObject.errorCode = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorCode"].asString();
if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorMessage"].isNull())
scriptErrorCodeObject.errorMessage = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorMessage"].asString();
if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorCode"].isNull())
scriptErrorCodeObject.errorCode = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorCode"].asString();
if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorSolution"].isNull())
scriptErrorCodeObject.errorSolution = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorSolution"].asString();
data_.scriptDetails.scriptErrorCodes.push_back(scriptErrorCodeObject);
@@ -146,58 +146,58 @@ void GetDataServicePublishedApiResult::parse(const std::string &payload)
for (auto scriptDetailsNodeScriptRequestParametersScriptRequestParameter : allScriptRequestParametersNode)
{
Data::ScriptDetails::ScriptRequestParameter scriptRequestParameterObject;
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].isNull())
scriptRequestParameterObject.defaultValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].asString();
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].isNull())
scriptRequestParameterObject.exampleValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].asString();
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].isNull())
scriptRequestParameterObject.isRequiredParameter = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].asString() == "true";
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].isNull())
scriptRequestParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].asString());
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].isNull())
scriptRequestParameterObject.parameterDescription = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].asString();
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].isNull())
scriptRequestParameterObject.parameterName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].asString();
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].isNull())
scriptRequestParameterObject.parameterOperator = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].asString());
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].isNull())
scriptRequestParameterObject.parameterPosition = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].asString());
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].isNull())
scriptRequestParameterObject.parameterDescription = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].asString();
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].isNull())
scriptRequestParameterObject.defaultValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].asString();
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].isNull())
scriptRequestParameterObject.parameterOperator = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].asString());
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].isNull())
scriptRequestParameterObject.exampleValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].asString();
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].isNull())
scriptRequestParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].asString());
if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].isNull())
scriptRequestParameterObject.isRequiredParameter = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].asString() == "true";
data_.scriptDetails.scriptRequestParameters.push_back(scriptRequestParameterObject);
}
auto allScriptResponseParametersNode = scriptDetailsNode["ScriptResponseParameters"]["ScriptResponseParameter"];
for (auto scriptDetailsNodeScriptResponseParametersScriptResponseParameter : allScriptResponseParametersNode)
{
Data::ScriptDetails::ScriptResponseParameter scriptResponseParameterObject;
if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].isNull())
scriptResponseParameterObject.exampleValue = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].asString();
if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].isNull())
scriptResponseParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].asString());
if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].isNull())
scriptResponseParameterObject.parameterDescription = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDescription"].asString();
if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].isNull())
scriptResponseParameterObject.parameterName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].asString();
if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].isNull())
scriptResponseParameterObject.exampleValue = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].asString();
if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].isNull())
scriptResponseParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].asString());
data_.scriptDetails.scriptResponseParameters.push_back(scriptResponseParameterObject);
}
auto scriptConnectionNode = scriptDetailsNode["ScriptConnection"];
if(!scriptConnectionNode["ConnectionId"].isNull())
data_.scriptDetails.scriptConnection.connectionId = std::stol(scriptConnectionNode["ConnectionId"].asString());
if(!scriptConnectionNode["TableName"].isNull())
data_.scriptDetails.scriptConnection.tableName = scriptConnectionNode["TableName"].asString();
if(!scriptConnectionNode["ConnectionId"].isNull())
data_.scriptDetails.scriptConnection.connectionId = std::stol(scriptConnectionNode["ConnectionId"].asString());
auto wizardDetailsNode = dataNode["WizardDetails"];
if(!wizardDetailsNode["FailedResultSample"].isNull())
data_.wizardDetails.failedResultSample = wizardDetailsNode["FailedResultSample"].asString();
if(!wizardDetailsNode["IsPagedResponse"].isNull())
data_.wizardDetails.isPagedResponse = wizardDetailsNode["IsPagedResponse"].asString() == "true";
if(!wizardDetailsNode["SuccessfulResultSample"].isNull())
data_.wizardDetails.successfulResultSample = wizardDetailsNode["SuccessfulResultSample"].asString();
if(!wizardDetailsNode["FailedResultSample"].isNull())
data_.wizardDetails.failedResultSample = wizardDetailsNode["FailedResultSample"].asString();
auto allWizardErrorCodesNode = wizardDetailsNode["WizardErrorCodes"]["WizardErrorCode"];
for (auto wizardDetailsNodeWizardErrorCodesWizardErrorCode : allWizardErrorCodesNode)
{
Data::WizardDetails::WizardErrorCode wizardErrorCodeObject;
if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorCode"].isNull())
wizardErrorCodeObject.errorCode = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorCode"].asString();
if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorMessage"].isNull())
wizardErrorCodeObject.errorMessage = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorMessage"].asString();
if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorCode"].isNull())
wizardErrorCodeObject.errorCode = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorCode"].asString();
if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorSolution"].isNull())
wizardErrorCodeObject.errorSolution = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorSolution"].asString();
data_.wizardDetails.wizardErrorCodes.push_back(wizardErrorCodeObject);
@@ -206,54 +206,54 @@ void GetDataServicePublishedApiResult::parse(const std::string &payload)
for (auto wizardDetailsNodeWizardRequestParametersWizardRequestParameter : allWizardRequestParametersNode)
{
Data::WizardDetails::WizardRequestParameter wizardRequestParameterObject;
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].isNull())
wizardRequestParameterObject.defaultValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].asString();
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].isNull())
wizardRequestParameterObject.exampleValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].asString();
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].isNull())
wizardRequestParameterObject.isRequiredParameter = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].asString() == "true";
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].isNull())
wizardRequestParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].asString());
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].isNull())
wizardRequestParameterObject.parameterDescription = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].asString();
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].isNull())
wizardRequestParameterObject.parameterName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].asString();
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].isNull())
wizardRequestParameterObject.parameterOperator = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].asString());
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].isNull())
wizardRequestParameterObject.parameterPosition = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].asString());
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].isNull())
wizardRequestParameterObject.parameterDescription = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].asString();
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].isNull())
wizardRequestParameterObject.defaultValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].asString();
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].isNull())
wizardRequestParameterObject.parameterOperator = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].asString());
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].isNull())
wizardRequestParameterObject.exampleValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].asString();
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].isNull())
wizardRequestParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].asString());
if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].isNull())
wizardRequestParameterObject.isRequiredParameter = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].asString() == "true";
data_.wizardDetails.wizardRequestParameters.push_back(wizardRequestParameterObject);
}
auto allWizardResponseParametersNode = wizardDetailsNode["WizardResponseParameters"]["WizardResponseParameter"];
for (auto wizardDetailsNodeWizardResponseParametersWizardResponseParameter : allWizardResponseParametersNode)
{
Data::WizardDetails::WizardResponseParameter wizardResponseParameterObject;
if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].isNull())
wizardResponseParameterObject.exampleValue = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].asString();
if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].isNull())
wizardResponseParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].asString());
if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].isNull())
wizardResponseParameterObject.parameterDescription = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDescription"].asString();
if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].isNull())
wizardResponseParameterObject.parameterName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].asString();
if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].isNull())
wizardResponseParameterObject.exampleValue = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].asString();
if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].isNull())
wizardResponseParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].asString());
data_.wizardDetails.wizardResponseParameters.push_back(wizardResponseParameterObject);
}
auto wizardConnectionNode = wizardDetailsNode["WizardConnection"];
if(!wizardConnectionNode["ConnectionId"].isNull())
data_.wizardDetails.wizardConnection.connectionId = std::stol(wizardConnectionNode["ConnectionId"].asString());
if(!wizardConnectionNode["TableName"].isNull())
data_.wizardDetails.wizardConnection.tableName = wizardConnectionNode["TableName"].asString();
if(!wizardConnectionNode["ConnectionId"].isNull())
data_.wizardDetails.wizardConnection.connectionId = std::stol(wizardConnectionNode["ConnectionId"].asString());
auto allProtocols = dataNode["Protocols"]["Protocol"];
for (auto value : allProtocols)
data_.protocols.push_back(value.asString());
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
}

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetDataSourceMetaRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDataSourceMetaRequest;
GetDataSourceMetaRequest::GetDataSourceMetaRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataSourceMeta")
{
setMethod(HttpRequest::Method::Post);
}
GetDataSourceMetaRequest::~GetDataSourceMetaRequest()
{}
std::string GetDataSourceMetaRequest::getDatasourceName()const
{
return datasourceName_;
*/
#include <alibabacloud/dataworks-public/model/GetDataSourceMetaRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDataSourceMetaRequest;
GetDataSourceMetaRequest::GetDataSourceMetaRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataSourceMeta") {
setMethod(HttpRequest::Method::Post);
}
void GetDataSourceMetaRequest::setDatasourceName(const std::string& datasourceName)
{
datasourceName_ = datasourceName;
setParameter("DatasourceName", datasourceName);
GetDataSourceMetaRequest::~GetDataSourceMetaRequest() {}
std::string GetDataSourceMetaRequest::getDatasourceName() const {
return datasourceName_;
}
long GetDataSourceMetaRequest::getPageNumber()const
{
return pageNumber_;
void GetDataSourceMetaRequest::setDatasourceName(const std::string &datasourceName) {
datasourceName_ = datasourceName;
setParameter(std::string("DatasourceName"), datasourceName);
}
void GetDataSourceMetaRequest::setPageNumber(long pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
long GetDataSourceMetaRequest::getPageNumber() const {
return pageNumber_;
}
long GetDataSourceMetaRequest::getPageSize()const
{
return pageSize_;
void GetDataSourceMetaRequest::setPageNumber(long pageNumber) {
pageNumber_ = pageNumber;
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
}
void GetDataSourceMetaRequest::setPageSize(long pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
long GetDataSourceMetaRequest::getPageSize() const {
return pageSize_;
}
std::string GetDataSourceMetaRequest::getEnvType()const
{
return envType_;
void GetDataSourceMetaRequest::setPageSize(long pageSize) {
pageSize_ = pageSize;
setParameter(std::string("PageSize"), std::to_string(pageSize));
}
void GetDataSourceMetaRequest::setEnvType(const std::string& envType)
{
envType_ = envType;
setParameter("EnvType", envType);
std::string GetDataSourceMetaRequest::getEnvType() const {
return envType_;
}
long GetDataSourceMetaRequest::getProjectId()const
{
return projectId_;
void GetDataSourceMetaRequest::setEnvType(const std::string &envType) {
envType_ = envType;
setParameter(std::string("EnvType"), envType);
}
void GetDataSourceMetaRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setParameter("ProjectId", std::to_string(projectId));
long GetDataSourceMetaRequest::getProjectId() const {
return projectId_;
}
void GetDataSourceMetaRequest::setProjectId(long projectId) {
projectId_ = projectId;
setParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetDeploymentRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDeploymentRequest;
GetDeploymentRequest::GetDeploymentRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetDeployment")
{
setMethod(HttpRequest::Method::Post);
}
GetDeploymentRequest::~GetDeploymentRequest()
{}
long GetDeploymentRequest::getDeploymentId()const
{
return deploymentId_;
*/
#include <alibabacloud/dataworks-public/model/GetDeploymentRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDeploymentRequest;
GetDeploymentRequest::GetDeploymentRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDeployment") {
setMethod(HttpRequest::Method::Post);
}
void GetDeploymentRequest::setDeploymentId(long deploymentId)
{
deploymentId_ = deploymentId;
setBodyParameter("DeploymentId", std::to_string(deploymentId));
GetDeploymentRequest::~GetDeploymentRequest() {}
long GetDeploymentRequest::getDeploymentId() const {
return deploymentId_;
}
long GetDeploymentRequest::getProjectId()const
{
return projectId_;
void GetDeploymentRequest::setDeploymentId(long deploymentId) {
deploymentId_ = deploymentId;
setBodyParameter(std::string("DeploymentId"), std::to_string(deploymentId));
}
void GetDeploymentRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long GetDeploymentRequest::getProjectId() const {
return projectId_;
}
std::string GetDeploymentRequest::getProjectIdentifier()const
{
return projectIdentifier_;
void GetDeploymentRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void GetDeploymentRequest::setProjectIdentifier(const std::string& projectIdentifier)
{
projectIdentifier_ = projectIdentifier;
setBodyParameter("ProjectIdentifier", projectIdentifier);
std::string GetDeploymentRequest::getProjectIdentifier() const {
return projectIdentifier_;
}
void GetDeploymentRequest::setProjectIdentifier(const std::string &projectIdentifier) {
projectIdentifier_ = projectIdentifier;
setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetDutyRosterRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetDutyRosterRequest;
GetDutyRosterRequest::GetDutyRosterRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDutyRoster") {
setMethod(HttpRequest::Method::Post);
}
GetDutyRosterRequest::~GetDutyRosterRequest() {}
std::string GetDutyRosterRequest::getDutyRosterIdentifier() const {
return dutyRosterIdentifier_;
}
void GetDutyRosterRequest::setDutyRosterIdentifier(const std::string &dutyRosterIdentifier) {
dutyRosterIdentifier_ = dutyRosterIdentifier;
setBodyParameter(std::string("DutyRosterIdentifier"), dutyRosterIdentifier);
}
std::string GetDutyRosterRequest::getWatchkeeper() const {
return watchkeeper_;
}
void GetDutyRosterRequest::setWatchkeeper(const std::string &watchkeeper) {
watchkeeper_ = watchkeeper;
setBodyParameter(std::string("Watchkeeper"), watchkeeper);
}
std::string GetDutyRosterRequest::getUserType() const {
return userType_;
}
void GetDutyRosterRequest::setUserType(const std::string &userType) {
userType_ = userType;
setBodyParameter(std::string("UserType"), userType);
}
long GetDutyRosterRequest::getEndTime() const {
return endTime_;
}
void GetDutyRosterRequest::setEndTime(long endTime) {
endTime_ = endTime;
setBodyParameter(std::string("EndTime"), std::to_string(endTime));
}
long GetDutyRosterRequest::getBeginTime() const {
return beginTime_;
}
void GetDutyRosterRequest::setBeginTime(long beginTime) {
beginTime_ = beginTime;
setBodyParameter(std::string("BeginTime"), std::to_string(beginTime));
}

View File

@@ -0,0 +1,70 @@
/*
* 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/GetDutyRosterResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dataworks_public;
using namespace AlibabaCloud::Dataworks_public::Model;
GetDutyRosterResult::GetDutyRosterResult() :
ServiceResult()
{}
GetDutyRosterResult::GetDutyRosterResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetDutyRosterResult::~GetDutyRosterResult()
{}
void GetDutyRosterResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto pagingNode = value["Paging"];
if(!pagingNode["PageNumber"].isNull())
paging_.pageNumber = std::stoi(pagingNode["PageNumber"].asString());
if(!pagingNode["PageSize"].isNull())
paging_.pageSize = std::stoi(pagingNode["PageSize"].asString());
if(!pagingNode["TotalCount"].isNull())
paging_.totalCount = std::stoi(pagingNode["TotalCount"].asString());
auto allDutyRosterNode = pagingNode["DutyRoster"]["DutyRosterItem"];
for (auto pagingNodeDutyRosterDutyRosterItem : allDutyRosterNode)
{
Paging::DutyRosterItem dutyRosterItemObject;
if(!pagingNodeDutyRosterDutyRosterItem["Watchkeeper"].isNull())
dutyRosterItemObject.watchkeeper = pagingNodeDutyRosterDutyRosterItem["Watchkeeper"].asString();
if(!pagingNodeDutyRosterDutyRosterItem["WatchkeeperName"].isNull())
dutyRosterItemObject.watchkeeperName = pagingNodeDutyRosterDutyRosterItem["WatchkeeperName"].asString();
if(!pagingNodeDutyRosterDutyRosterItem["StartLong"].isNull())
dutyRosterItemObject.startLong = std::stol(pagingNodeDutyRosterDutyRosterItem["StartLong"].asString());
if(!pagingNodeDutyRosterDutyRosterItem["EndLong"].isNull())
dutyRosterItemObject.endLong = std::stol(pagingNodeDutyRosterDutyRosterItem["EndLong"].asString());
paging_.dutyRoster.push_back(dutyRosterItemObject);
}
}
GetDutyRosterResult::Paging GetDutyRosterResult::getPaging()const
{
return paging_;
}

View File

@@ -0,0 +1,36 @@
/*
* 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/GetExtensionRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetExtensionRequest;
GetExtensionRequest::GetExtensionRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetExtension") {
setMethod(HttpRequest::Method::Post);
}
GetExtensionRequest::~GetExtensionRequest() {}
std::string GetExtensionRequest::getExtensionCode() const {
return extensionCode_;
}
void GetExtensionRequest::setExtensionCode(const std::string &extensionCode) {
extensionCode_ = extensionCode;
setParameter(std::string("ExtensionCode"), extensionCode);
}

View File

@@ -0,0 +1,88 @@
/*
* 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/GetExtensionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dataworks_public;
using namespace AlibabaCloud::Dataworks_public::Model;
GetExtensionResult::GetExtensionResult() :
ServiceResult()
{}
GetExtensionResult::GetExtensionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetExtensionResult::~GetExtensionResult()
{}
void GetExtensionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto extensionNode = value["Extension"];
if(!extensionNode["ExtensionCode"].isNull())
extension_.extensionCode = extensionNode["ExtensionCode"].asString();
if(!extensionNode["ExtensionName"].isNull())
extension_.extensionName = extensionNode["ExtensionName"].asString();
if(!extensionNode["ExtensionDesc"].isNull())
extension_.extensionDesc = extensionNode["ExtensionDesc"].asString();
if(!extensionNode["HelpDocUrl"].isNull())
extension_.helpDocUrl = extensionNode["HelpDocUrl"].asString();
if(!extensionNode["Status"].isNull())
extension_.status = std::stoi(extensionNode["Status"].asString());
if(!extensionNode["ProjectTesting"].isNull())
extension_.projectTesting = std::stol(extensionNode["ProjectTesting"].asString());
if(!extensionNode["DetailUrl"].isNull())
extension_.detailUrl = extensionNode["DetailUrl"].asString();
if(!extensionNode["ParameterSetting"].isNull())
extension_.parameterSetting = extensionNode["ParameterSetting"].asString();
if(!extensionNode["OptionSetting"].isNull())
extension_.optionSetting = extensionNode["OptionSetting"].asString();
auto allBindEventListNode = extensionNode["BindEventList"]["BindEventListItem"];
for (auto extensionNodeBindEventListBindEventListItem : allBindEventListNode)
{
Extension::BindEventListItem bindEventListItemObject;
if(!extensionNodeBindEventListBindEventListItem["EventCode"].isNull())
bindEventListItemObject.eventCode = extensionNodeBindEventListBindEventListItem["EventCode"].asString();
if(!extensionNodeBindEventListBindEventListItem["EventName"].isNull())
bindEventListItemObject.eventName = extensionNodeBindEventListBindEventListItem["EventName"].asString();
extension_.bindEventList.push_back(bindEventListItemObject);
}
auto allEventCategoryListNode = extensionNode["EventCategoryList"]["EventCategoryListItem"];
for (auto extensionNodeEventCategoryListEventCategoryListItem : allEventCategoryListNode)
{
Extension::EventCategoryListItem eventCategoryListItemObject;
if(!extensionNodeEventCategoryListEventCategoryListItem["CategoryCode"].isNull())
eventCategoryListItemObject.categoryCode = extensionNodeEventCategoryListEventCategoryListItem["CategoryCode"].asString();
if(!extensionNodeEventCategoryListEventCategoryListItem["CategoryName"].isNull())
eventCategoryListItemObject.categoryName = extensionNodeEventCategoryListEventCategoryListItem["CategoryName"].asString();
extension_.eventCategoryList.push_back(eventCategoryListItemObject);
}
}
GetExtensionResult::Extension GetExtensionResult::getExtension()const
{
return extension_;
}

View File

@@ -1,73 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetFileRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetFileRequest;
GetFileRequest::GetFileRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetFile")
{
setMethod(HttpRequest::Method::Post);
}
GetFileRequest::~GetFileRequest()
{}
long GetFileRequest::getProjectId()const
{
return projectId_;
*/
#include <alibabacloud/dataworks-public/model/GetFileRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetFileRequest;
GetFileRequest::GetFileRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetFile") {
setMethod(HttpRequest::Method::Post);
}
void GetFileRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
GetFileRequest::~GetFileRequest() {}
long GetFileRequest::getProjectId() const {
return projectId_;
}
long GetFileRequest::getNodeId()const
{
return nodeId_;
void GetFileRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void GetFileRequest::setNodeId(long nodeId)
{
nodeId_ = nodeId;
setBodyParameter("NodeId", std::to_string(nodeId));
long GetFileRequest::getNodeId() const {
return nodeId_;
}
std::string GetFileRequest::getProjectIdentifier()const
{
return projectIdentifier_;
void GetFileRequest::setNodeId(long nodeId) {
nodeId_ = nodeId;
setBodyParameter(std::string("NodeId"), std::to_string(nodeId));
}
void GetFileRequest::setProjectIdentifier(const std::string& projectIdentifier)
{
projectIdentifier_ = projectIdentifier;
setBodyParameter("ProjectIdentifier", projectIdentifier);
std::string GetFileRequest::getProjectIdentifier() const {
return projectIdentifier_;
}
long GetFileRequest::getFileId()const
{
return fileId_;
void GetFileRequest::setProjectIdentifier(const std::string &projectIdentifier) {
projectIdentifier_ = projectIdentifier;
setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
}
void GetFileRequest::setFileId(long fileId)
{
fileId_ = fileId;
setBodyParameter("FileId", std::to_string(fileId));
long GetFileRequest::getFileId() const {
return fileId_;
}
void GetFileRequest::setFileId(long fileId) {
fileId_ = fileId;
setBodyParameter(std::string("FileId"), std::to_string(fileId));
}

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetFileTypeStatisticRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetFileTypeStatisticRequest;
GetFileTypeStatisticRequest::GetFileTypeStatisticRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetFileTypeStatistic")
{
setMethod(HttpRequest::Method::Post);
}
GetFileTypeStatisticRequest::~GetFileTypeStatisticRequest()
{}
std::string GetFileTypeStatisticRequest::getProjectEnv()const
{
return projectEnv_;
*/
#include <alibabacloud/dataworks-public/model/GetFileTypeStatisticRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetFileTypeStatisticRequest;
GetFileTypeStatisticRequest::GetFileTypeStatisticRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetFileTypeStatistic") {
setMethod(HttpRequest::Method::Post);
}
void GetFileTypeStatisticRequest::setProjectEnv(const std::string& projectEnv)
{
projectEnv_ = projectEnv;
setBodyParameter("ProjectEnv", projectEnv);
GetFileTypeStatisticRequest::~GetFileTypeStatisticRequest() {}
std::string GetFileTypeStatisticRequest::getProjectEnv() const {
return projectEnv_;
}
long GetFileTypeStatisticRequest::getProjectId()const
{
return projectId_;
void GetFileTypeStatisticRequest::setProjectEnv(const std::string &projectEnv) {
projectEnv_ = projectEnv;
setBodyParameter(std::string("ProjectEnv"), projectEnv);
}
void GetFileTypeStatisticRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long GetFileTypeStatisticRequest::getProjectId() const {
return projectId_;
}
void GetFileTypeStatisticRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -43,10 +43,10 @@ void GetFileTypeStatisticResult::parse(const std::string &payload)
for (auto valueProgramTypeAndCountsProgramTypeAndCount : allProgramTypeAndCountsNode)
{
ProgramTypeAndCount programTypeAndCountsObject;
if(!valueProgramTypeAndCountsProgramTypeAndCount["ProgramType"].isNull())
programTypeAndCountsObject.programType = valueProgramTypeAndCountsProgramTypeAndCount["ProgramType"].asString();
if(!valueProgramTypeAndCountsProgramTypeAndCount["Count"].isNull())
programTypeAndCountsObject.count = std::stoi(valueProgramTypeAndCountsProgramTypeAndCount["Count"].asString());
if(!valueProgramTypeAndCountsProgramTypeAndCount["ProgramType"].isNull())
programTypeAndCountsObject.programType = valueProgramTypeAndCountsProgramTypeAndCount["ProgramType"].asString();
programTypeAndCounts_.push_back(programTypeAndCountsObject);
}

View File

@@ -1,73 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetFileVersionRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetFileVersionRequest;
GetFileVersionRequest::GetFileVersionRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetFileVersion")
{
setMethod(HttpRequest::Method::Post);
}
GetFileVersionRequest::~GetFileVersionRequest()
{}
int GetFileVersionRequest::getFileVersion()const
{
return fileVersion_;
*/
#include <alibabacloud/dataworks-public/model/GetFileVersionRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetFileVersionRequest;
GetFileVersionRequest::GetFileVersionRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetFileVersion") {
setMethod(HttpRequest::Method::Post);
}
void GetFileVersionRequest::setFileVersion(int fileVersion)
{
fileVersion_ = fileVersion;
setBodyParameter("FileVersion", std::to_string(fileVersion));
GetFileVersionRequest::~GetFileVersionRequest() {}
int GetFileVersionRequest::getFileVersion() const {
return fileVersion_;
}
long GetFileVersionRequest::getProjectId()const
{
return projectId_;
void GetFileVersionRequest::setFileVersion(int fileVersion) {
fileVersion_ = fileVersion;
setBodyParameter(std::string("FileVersion"), std::to_string(fileVersion));
}
void GetFileVersionRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long GetFileVersionRequest::getProjectId() const {
return projectId_;
}
std::string GetFileVersionRequest::getProjectIdentifier()const
{
return projectIdentifier_;
void GetFileVersionRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void GetFileVersionRequest::setProjectIdentifier(const std::string& projectIdentifier)
{
projectIdentifier_ = projectIdentifier;
setBodyParameter("ProjectIdentifier", projectIdentifier);
std::string GetFileVersionRequest::getProjectIdentifier() const {
return projectIdentifier_;
}
long GetFileVersionRequest::getFileId()const
{
return fileId_;
void GetFileVersionRequest::setProjectIdentifier(const std::string &projectIdentifier) {
projectIdentifier_ = projectIdentifier;
setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
}
void GetFileVersionRequest::setFileId(long fileId)
{
fileId_ = fileId;
setBodyParameter("FileId", std::to_string(fileId));
long GetFileVersionRequest::getFileId() const {
return fileId_;
}
void GetFileVersionRequest::setFileId(long fileId) {
fileId_ = fileId;
setBodyParameter(std::string("FileId"), std::to_string(fileId));
}

View File

@@ -1,73 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetFolderRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetFolderRequest;
GetFolderRequest::GetFolderRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetFolder")
{
setMethod(HttpRequest::Method::Post);
}
GetFolderRequest::~GetFolderRequest()
{}
std::string GetFolderRequest::getFolderPath()const
{
return folderPath_;
*/
#include <alibabacloud/dataworks-public/model/GetFolderRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetFolderRequest;
GetFolderRequest::GetFolderRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetFolder") {
setMethod(HttpRequest::Method::Post);
}
void GetFolderRequest::setFolderPath(const std::string& folderPath)
{
folderPath_ = folderPath;
setBodyParameter("FolderPath", folderPath);
GetFolderRequest::~GetFolderRequest() {}
std::string GetFolderRequest::getFolderPath() const {
return folderPath_;
}
long GetFolderRequest::getProjectId()const
{
return projectId_;
void GetFolderRequest::setFolderPath(const std::string &folderPath) {
folderPath_ = folderPath;
setBodyParameter(std::string("FolderPath"), folderPath);
}
void GetFolderRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long GetFolderRequest::getProjectId() const {
return projectId_;
}
std::string GetFolderRequest::getProjectIdentifier()const
{
return projectIdentifier_;
void GetFolderRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}
void GetFolderRequest::setProjectIdentifier(const std::string& projectIdentifier)
{
projectIdentifier_ = projectIdentifier;
setBodyParameter("ProjectIdentifier", projectIdentifier);
std::string GetFolderRequest::getProjectIdentifier() const {
return projectIdentifier_;
}
std::string GetFolderRequest::getFolderId()const
{
return folderId_;
void GetFolderRequest::setProjectIdentifier(const std::string &projectIdentifier) {
projectIdentifier_ = projectIdentifier;
setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
}
void GetFolderRequest::setFolderId(const std::string& folderId)
{
folderId_ = folderId;
setBodyParameter("FolderId", folderId);
std::string GetFolderRequest::getFolderId() const {
return folderId_;
}
void GetFolderRequest::setFolderId(const std::string &folderId) {
folderId_ = folderId;
setBodyParameter(std::string("FolderId"), folderId);
}

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetIDEEventDetailRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetIDEEventDetailRequest;
GetIDEEventDetailRequest::GetIDEEventDetailRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetIDEEventDetail")
{
setMethod(HttpRequest::Method::Post);
}
GetIDEEventDetailRequest::~GetIDEEventDetailRequest()
{}
std::string GetIDEEventDetailRequest::getMessageId()const
{
return messageId_;
*/
#include <alibabacloud/dataworks-public/model/GetIDEEventDetailRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetIDEEventDetailRequest;
GetIDEEventDetailRequest::GetIDEEventDetailRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetIDEEventDetail") {
setMethod(HttpRequest::Method::Post);
}
void GetIDEEventDetailRequest::setMessageId(const std::string& messageId)
{
messageId_ = messageId;
setBodyParameter("MessageId", messageId);
GetIDEEventDetailRequest::~GetIDEEventDetailRequest() {}
std::string GetIDEEventDetailRequest::getMessageId() const {
return messageId_;
}
long GetIDEEventDetailRequest::getProjectId()const
{
return projectId_;
void GetIDEEventDetailRequest::setMessageId(const std::string &messageId) {
messageId_ = messageId;
setBodyParameter(std::string("MessageId"), messageId);
}
void GetIDEEventDetailRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long GetIDEEventDetailRequest::getProjectId() const {
return projectId_;
}
void GetIDEEventDetailRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetInstanceConsumeTimeRankRequest;
GetInstanceConsumeTimeRankRequest::GetInstanceConsumeTimeRankRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceConsumeTimeRank")
{
setMethod(HttpRequest::Method::Post);
}
GetInstanceConsumeTimeRankRequest::~GetInstanceConsumeTimeRankRequest()
{}
std::string GetInstanceConsumeTimeRankRequest::getBizdate()const
{
return bizdate_;
*/
#include <alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetInstanceConsumeTimeRankRequest;
GetInstanceConsumeTimeRankRequest::GetInstanceConsumeTimeRankRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceConsumeTimeRank") {
setMethod(HttpRequest::Method::Post);
}
void GetInstanceConsumeTimeRankRequest::setBizdate(const std::string& bizdate)
{
bizdate_ = bizdate;
setBodyParameter("Bizdate", bizdate);
GetInstanceConsumeTimeRankRequest::~GetInstanceConsumeTimeRankRequest() {}
std::string GetInstanceConsumeTimeRankRequest::getBizdate() const {
return bizdate_;
}
long GetInstanceConsumeTimeRankRequest::getProjectId()const
{
return projectId_;
void GetInstanceConsumeTimeRankRequest::setBizdate(const std::string &bizdate) {
bizdate_ = bizdate;
setBodyParameter(std::string("Bizdate"), bizdate);
}
void GetInstanceConsumeTimeRankRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long GetInstanceConsumeTimeRankRequest::getProjectId() const {
return projectId_;
}
void GetInstanceConsumeTimeRankRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}

View File

@@ -1,62 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dataworks-public/model/GetInstanceCountTrendRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetInstanceCountTrendRequest;
GetInstanceCountTrendRequest::GetInstanceCountTrendRequest() :
RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceCountTrend")
{
setMethod(HttpRequest::Method::Post);
}
GetInstanceCountTrendRequest::~GetInstanceCountTrendRequest()
{}
std::string GetInstanceCountTrendRequest::getBeginDate()const
{
return beginDate_;
*/
#include <alibabacloud/dataworks-public/model/GetInstanceCountTrendRequest.h>
using AlibabaCloud::Dataworks_public::Model::GetInstanceCountTrendRequest;
GetInstanceCountTrendRequest::GetInstanceCountTrendRequest()
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceCountTrend") {
setMethod(HttpRequest::Method::Post);
}
void GetInstanceCountTrendRequest::setBeginDate(const std::string& beginDate)
{
beginDate_ = beginDate;
setBodyParameter("BeginDate", beginDate);
GetInstanceCountTrendRequest::~GetInstanceCountTrendRequest() {}
std::string GetInstanceCountTrendRequest::getBeginDate() const {
return beginDate_;
}
std::string GetInstanceCountTrendRequest::getEndDate()const
{
return endDate_;
void GetInstanceCountTrendRequest::setBeginDate(const std::string &beginDate) {
beginDate_ = beginDate;
setBodyParameter(std::string("BeginDate"), beginDate);
}
void GetInstanceCountTrendRequest::setEndDate(const std::string& endDate)
{
endDate_ = endDate;
setBodyParameter("EndDate", endDate);
std::string GetInstanceCountTrendRequest::getEndDate() const {
return endDate_;
}
long GetInstanceCountTrendRequest::getProjectId()const
{
return projectId_;
void GetInstanceCountTrendRequest::setEndDate(const std::string &endDate) {
endDate_ = endDate;
setBodyParameter(std::string("EndDate"), endDate);
}
void GetInstanceCountTrendRequest::setProjectId(long projectId)
{
projectId_ = projectId;
setBodyParameter("ProjectId", std::to_string(projectId));
long GetInstanceCountTrendRequest::getProjectId() const {
return projectId_;
}
void GetInstanceCountTrendRequest::setProjectId(long projectId) {
projectId_ = projectId;
setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
}

Some files were not shown because too many files have changed in this diff Show More