Generated 2018-06-01 for dataworks-public.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void AbolishDataServiceApiRequest::setTenantId(long tenantId)
|
||||
{
|
||||
tenantId_ = tenantId;
|
||||
setBodyParameter("TenantId", std::to_string(tenantId));
|
||||
}
|
||||
|
||||
long AbolishDataServiceApiRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void AbolishDataServiceApiRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
long AbolishDataServiceApiRequest::getApiId()const
|
||||
{
|
||||
return apiId_;
|
||||
}
|
||||
|
||||
void AbolishDataServiceApiRequest::setApiId(long apiId)
|
||||
{
|
||||
apiId_ = apiId;
|
||||
setBodyParameter("ApiId", std::to_string(apiId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/AbolishDataServiceApiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
AbolishDataServiceApiResult::AbolishDataServiceApiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AbolishDataServiceApiResult::AbolishDataServiceApiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AbolishDataServiceApiResult::~AbolishDataServiceApiResult()
|
||||
{}
|
||||
|
||||
void AbolishDataServiceApiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "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["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int AbolishDataServiceApiResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool AbolishDataServiceApiResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string AbolishDataServiceApiResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string AbolishDataServiceApiResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool AbolishDataServiceApiResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void AddProjectMemberToRoleRequest::setRoleCode(const std::string& roleCode)
|
||||
{
|
||||
roleCode_ = roleCode;
|
||||
setParameter("RoleCode", roleCode);
|
||||
}
|
||||
|
||||
std::string AddProjectMemberToRoleRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AddProjectMemberToRoleRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
long AddProjectMemberToRoleRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void AddProjectMemberToRoleRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string AddProjectMemberToRoleRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void AddProjectMemberToRoleRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setParameter("UserId", userId);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/AddProjectMemberToRoleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
AddProjectMemberToRoleResult::AddProjectMemberToRoleResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddProjectMemberToRoleResult::AddProjectMemberToRoleResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddProjectMemberToRoleResult::~AddProjectMemberToRoleResult()
|
||||
{}
|
||||
|
||||
void AddProjectMemberToRoleResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void AddToMetaCategoryRequest::setTableGuid(const std::string& tableGuid)
|
||||
{
|
||||
tableGuid_ = tableGuid;
|
||||
setParameter("TableGuid", tableGuid);
|
||||
}
|
||||
|
||||
long AddToMetaCategoryRequest::getCategoryId()const
|
||||
{
|
||||
return categoryId_;
|
||||
}
|
||||
|
||||
void AddToMetaCategoryRequest::setCategoryId(long categoryId)
|
||||
{
|
||||
categoryId_ = categoryId;
|
||||
setParameter("CategoryId", std::to_string(categoryId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/AddToMetaCategoryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
AddToMetaCategoryResult::AddToMetaCategoryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddToMetaCategoryResult::AddToMetaCategoryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddToMetaCategoryResult::~AddToMetaCategoryResult()
|
||||
{}
|
||||
|
||||
void AddToMetaCategoryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].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["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int AddToMetaCategoryResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool AddToMetaCategoryResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string AddToMetaCategoryResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string AddToMetaCategoryResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool AddToMetaCategoryResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -14,27 +14,27 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetTopicRequest.h>
|
||||
#include <alibabacloud/dataworks-public/model/CheckCallbackRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::GetTopicRequest;
|
||||
using AlibabaCloud::Dataworks_public::Model::CheckCallbackRequest;
|
||||
|
||||
GetTopicRequest::GetTopicRequest() :
|
||||
RpcServiceRequest("dataworks-public", "2020-05-18", "GetTopic")
|
||||
CheckCallbackRequest::CheckCallbackRequest() :
|
||||
RpcServiceRequest("dataworks-public", "2018-06-01", "CheckCallback")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTopicRequest::~GetTopicRequest()
|
||||
CheckCallbackRequest::~CheckCallbackRequest()
|
||||
{}
|
||||
|
||||
long GetTopicRequest::getTopicId()const
|
||||
std::string CheckCallbackRequest::getCallbackResultString()const
|
||||
{
|
||||
return topicId_;
|
||||
return callbackResultString_;
|
||||
}
|
||||
|
||||
void GetTopicRequest::setTopicId(long topicId)
|
||||
void CheckCallbackRequest::setCallbackResultString(const std::string& callbackResultString)
|
||||
{
|
||||
topicId_ = topicId;
|
||||
setBodyParameter("TopicId", std::to_string(topicId));
|
||||
callbackResultString_ = callbackResultString;
|
||||
setBodyParameter("CallbackResultString", callbackResultString);
|
||||
}
|
||||
|
||||
@@ -14,38 +14,45 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetOpRiskDataResult.h>
|
||||
#include <alibabacloud/dataworks-public/model/CheckCallbackResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
GetOpRiskDataResult::GetOpRiskDataResult() :
|
||||
CheckCallbackResult::CheckCallbackResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetOpRiskDataResult::GetOpRiskDataResult(const std::string &payload) :
|
||||
CheckCallbackResult::CheckCallbackResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetOpRiskDataResult::~GetOpRiskDataResult()
|
||||
CheckCallbackResult::~CheckCallbackResult()
|
||||
{}
|
||||
|
||||
void GetOpRiskDataResult::parse(const std::string &payload)
|
||||
void CheckCallbackResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["RiskData"].isNull())
|
||||
riskData_ = value["RiskData"].asString();
|
||||
if(!value["ReturnCode"].isNull())
|
||||
returnCode_ = value["ReturnCode"].asString();
|
||||
if(!value["ReturnValue"].isNull())
|
||||
returnValue_ = value["ReturnValue"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string GetOpRiskDataResult::getRiskData()const
|
||||
std::string CheckCallbackResult::getReturnCode()const
|
||||
{
|
||||
return riskData_;
|
||||
return returnCode_;
|
||||
}
|
||||
|
||||
bool CheckCallbackResult::getReturnValue()const
|
||||
{
|
||||
return returnValue_;
|
||||
}
|
||||
|
||||
@@ -1,95 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CheckMetaPartitionRequest::setDataSourceType(const std::string& dataSourceType)
|
||||
{
|
||||
dataSourceType_ = dataSourceType;
|
||||
setParameter("DataSourceType", dataSourceType);
|
||||
}
|
||||
|
||||
std::string CheckMetaPartitionRequest::getPartition()const
|
||||
{
|
||||
return partition_;
|
||||
}
|
||||
|
||||
void CheckMetaPartitionRequest::setPartition(const std::string& partition)
|
||||
{
|
||||
partition_ = partition;
|
||||
setParameter("Partition", partition);
|
||||
}
|
||||
|
||||
std::string CheckMetaPartitionRequest::getTableGuid()const
|
||||
{
|
||||
return tableGuid_;
|
||||
}
|
||||
|
||||
void CheckMetaPartitionRequest::setTableGuid(const std::string& tableGuid)
|
||||
{
|
||||
tableGuid_ = tableGuid;
|
||||
setParameter("TableGuid", tableGuid);
|
||||
}
|
||||
|
||||
std::string CheckMetaPartitionRequest::getDatabaseName()const
|
||||
{
|
||||
return databaseName_;
|
||||
}
|
||||
|
||||
void CheckMetaPartitionRequest::setDatabaseName(const std::string& databaseName)
|
||||
{
|
||||
databaseName_ = databaseName;
|
||||
setParameter("DatabaseName", databaseName);
|
||||
}
|
||||
|
||||
std::string CheckMetaPartitionRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void CheckMetaPartitionRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string CheckMetaPartitionRequest::getTableName()const
|
||||
{
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void CheckMetaPartitionRequest::setTableName(const std::string& tableName)
|
||||
{
|
||||
tableName_ = tableName;
|
||||
setParameter("TableName", tableName);
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CheckMetaPartitionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CheckMetaPartitionResult::CheckMetaPartitionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CheckMetaPartitionResult::CheckMetaPartitionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CheckMetaPartitionResult::~CheckMetaPartitionResult()
|
||||
{}
|
||||
|
||||
void CheckMetaPartitionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].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["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int CheckMetaPartitionResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool CheckMetaPartitionResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CheckMetaPartitionResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CheckMetaPartitionResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CheckMetaPartitionResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CheckMetaTableRequest::setDataSourceType(const std::string& dataSourceType)
|
||||
{
|
||||
dataSourceType_ = dataSourceType;
|
||||
setParameter("DataSourceType", dataSourceType);
|
||||
}
|
||||
|
||||
std::string CheckMetaTableRequest::getTableGuid()const
|
||||
{
|
||||
return tableGuid_;
|
||||
}
|
||||
|
||||
void CheckMetaTableRequest::setTableGuid(const std::string& tableGuid)
|
||||
{
|
||||
tableGuid_ = tableGuid;
|
||||
setParameter("TableGuid", tableGuid);
|
||||
}
|
||||
|
||||
std::string CheckMetaTableRequest::getDatabaseName()const
|
||||
{
|
||||
return databaseName_;
|
||||
}
|
||||
|
||||
void CheckMetaTableRequest::setDatabaseName(const std::string& databaseName)
|
||||
{
|
||||
databaseName_ = databaseName;
|
||||
setParameter("DatabaseName", databaseName);
|
||||
}
|
||||
|
||||
std::string CheckMetaTableRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void CheckMetaTableRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string CheckMetaTableRequest::getTableName()const
|
||||
{
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void CheckMetaTableRequest::setTableName(const std::string& tableName)
|
||||
{
|
||||
tableName_ = tableName;
|
||||
setParameter("TableName", tableName);
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CheckMetaTableResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CheckMetaTableResult::CheckMetaTableResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CheckMetaTableResult::CheckMetaTableResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CheckMetaTableResult::~CheckMetaTableResult()
|
||||
{}
|
||||
|
||||
void CheckMetaTableResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool CheckMetaTableResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -1,95 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateBusinessRequest::setOwner(const std::string& owner)
|
||||
{
|
||||
owner_ = owner;
|
||||
setBodyParameter("Owner", owner);
|
||||
}
|
||||
|
||||
std::string CreateBusinessRequest::getBusinessName()const
|
||||
{
|
||||
return businessName_;
|
||||
}
|
||||
|
||||
void CreateBusinessRequest::setBusinessName(const std::string& businessName)
|
||||
{
|
||||
businessName_ = businessName;
|
||||
setBodyParameter("BusinessName", businessName);
|
||||
}
|
||||
|
||||
std::string CreateBusinessRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateBusinessRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setBodyParameter("Description", description);
|
||||
}
|
||||
|
||||
long CreateBusinessRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateBusinessRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string CreateBusinessRequest::getUseType()const
|
||||
{
|
||||
return useType_;
|
||||
}
|
||||
|
||||
void CreateBusinessRequest::setUseType(const std::string& useType)
|
||||
{
|
||||
useType_ = useType;
|
||||
setBodyParameter("UseType", useType);
|
||||
}
|
||||
|
||||
std::string CreateBusinessRequest::getProjectIdentifier()const
|
||||
{
|
||||
return projectIdentifier_;
|
||||
}
|
||||
|
||||
void CreateBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier)
|
||||
{
|
||||
projectIdentifier_ = projectIdentifier;
|
||||
setBodyParameter("ProjectIdentifier", projectIdentifier);
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateBusinessResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateBusinessResult::CreateBusinessResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateBusinessResult::CreateBusinessResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateBusinessResult::~CreateBusinessResult()
|
||||
{}
|
||||
|
||||
void CreateBusinessResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["BusinessId"].isNull())
|
||||
businessId_ = std::stol(value["BusinessId"].asString());
|
||||
|
||||
}
|
||||
|
||||
int CreateBusinessResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CreateBusinessResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateBusinessResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateBusinessResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
long CreateBusinessResult::getBusinessId()const
|
||||
{
|
||||
return businessId_;
|
||||
}
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateConnectionRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateConnectionRequest::getContent()const
|
||||
{
|
||||
return content_;
|
||||
}
|
||||
|
||||
void CreateConnectionRequest::setContent(const std::string& content)
|
||||
{
|
||||
content_ = content;
|
||||
setParameter("Content", content);
|
||||
}
|
||||
|
||||
std::string CreateConnectionRequest::getSubType()const
|
||||
{
|
||||
return subType_;
|
||||
}
|
||||
|
||||
void CreateConnectionRequest::setSubType(const std::string& subType)
|
||||
{
|
||||
subType_ = subType;
|
||||
setParameter("SubType", subType);
|
||||
}
|
||||
|
||||
std::string CreateConnectionRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateConnectionRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
int CreateConnectionRequest::getEnvType()const
|
||||
{
|
||||
return envType_;
|
||||
}
|
||||
|
||||
void CreateConnectionRequest::setEnvType(int envType)
|
||||
{
|
||||
envType_ = envType;
|
||||
setParameter("EnvType", std::to_string(envType));
|
||||
}
|
||||
|
||||
std::string CreateConnectionRequest::getConnectionType()const
|
||||
{
|
||||
return connectionType_;
|
||||
}
|
||||
|
||||
void CreateConnectionRequest::setConnectionType(const std::string& connectionType)
|
||||
{
|
||||
connectionType_ = connectionType;
|
||||
setParameter("ConnectionType", connectionType);
|
||||
}
|
||||
|
||||
long CreateConnectionRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateConnectionRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateConnectionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateConnectionResult::CreateConnectionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateConnectionResult::CreateConnectionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateConnectionResult::~CreateConnectionResult()
|
||||
{}
|
||||
|
||||
void CreateConnectionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
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());
|
||||
|
||||
}
|
||||
|
||||
std::string CreateConnectionResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
long CreateConnectionResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
bool CreateConnectionResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,150 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateDagComplementRequest::setProjectEnv(const std::string& projectEnv)
|
||||
{
|
||||
projectEnv_ = projectEnv;
|
||||
setBodyParameter("ProjectEnv", projectEnv);
|
||||
}
|
||||
|
||||
std::string CreateDagComplementRequest::getStartBizDate()const
|
||||
{
|
||||
return startBizDate_;
|
||||
}
|
||||
|
||||
void CreateDagComplementRequest::setStartBizDate(const std::string& startBizDate)
|
||||
{
|
||||
startBizDate_ = startBizDate;
|
||||
setBodyParameter("StartBizDate", startBizDate);
|
||||
}
|
||||
|
||||
bool CreateDagComplementRequest::getParallelism()const
|
||||
{
|
||||
return parallelism_;
|
||||
}
|
||||
|
||||
void CreateDagComplementRequest::setParallelism(bool parallelism)
|
||||
{
|
||||
parallelism_ = parallelism;
|
||||
setBodyParameter("Parallelism", parallelism ? "true" : "false");
|
||||
}
|
||||
|
||||
long CreateDagComplementRequest::getRootNodeId()const
|
||||
{
|
||||
return rootNodeId_;
|
||||
}
|
||||
|
||||
void CreateDagComplementRequest::setRootNodeId(long rootNodeId)
|
||||
{
|
||||
rootNodeId_ = rootNodeId;
|
||||
setBodyParameter("RootNodeId", std::to_string(rootNodeId));
|
||||
}
|
||||
|
||||
std::string CreateDagComplementRequest::getBizBeginTime()const
|
||||
{
|
||||
return bizBeginTime_;
|
||||
}
|
||||
|
||||
void CreateDagComplementRequest::setBizBeginTime(const std::string& bizBeginTime)
|
||||
{
|
||||
bizBeginTime_ = bizBeginTime;
|
||||
setBodyParameter("BizBeginTime", bizBeginTime);
|
||||
}
|
||||
|
||||
std::string CreateDagComplementRequest::getEndBizDate()const
|
||||
{
|
||||
return endBizDate_;
|
||||
}
|
||||
|
||||
void CreateDagComplementRequest::setEndBizDate(const std::string& endBizDate)
|
||||
{
|
||||
endBizDate_ = endBizDate;
|
||||
setBodyParameter("EndBizDate", endBizDate);
|
||||
}
|
||||
|
||||
std::string CreateDagComplementRequest::getIncludeNodeIds()const
|
||||
{
|
||||
return includeNodeIds_;
|
||||
}
|
||||
|
||||
void CreateDagComplementRequest::setIncludeNodeIds(const std::string& includeNodeIds)
|
||||
{
|
||||
includeNodeIds_ = includeNodeIds;
|
||||
setBodyParameter("IncludeNodeIds", includeNodeIds);
|
||||
}
|
||||
|
||||
std::string CreateDagComplementRequest::getBizEndTime()const
|
||||
{
|
||||
return bizEndTime_;
|
||||
}
|
||||
|
||||
void CreateDagComplementRequest::setBizEndTime(const std::string& bizEndTime)
|
||||
{
|
||||
bizEndTime_ = bizEndTime;
|
||||
setBodyParameter("BizEndTime", bizEndTime);
|
||||
}
|
||||
|
||||
std::string CreateDagComplementRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateDagComplementRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setBodyParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateDagComplementRequest::getExcludeNodeIds()const
|
||||
{
|
||||
return excludeNodeIds_;
|
||||
}
|
||||
|
||||
void CreateDagComplementRequest::setExcludeNodeIds(const std::string& excludeNodeIds)
|
||||
{
|
||||
excludeNodeIds_ = excludeNodeIds;
|
||||
setBodyParameter("ExcludeNodeIds", excludeNodeIds);
|
||||
}
|
||||
|
||||
std::string CreateDagComplementRequest::getNodeParams()const
|
||||
{
|
||||
return nodeParams_;
|
||||
}
|
||||
|
||||
void CreateDagComplementRequest::setNodeParams(const std::string& nodeParams)
|
||||
{
|
||||
nodeParams_ = nodeParams;
|
||||
setBodyParameter("NodeParams", nodeParams);
|
||||
}
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateDagComplementResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateDagComplementResult::CreateDagComplementResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateDagComplementResult::CreateDagComplementResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateDagComplementResult::~CreateDagComplementResult()
|
||||
{}
|
||||
|
||||
void CreateDagComplementResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["dagId"];
|
||||
for (const auto &item : allData)
|
||||
data_.push_back(item.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["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int CreateDagComplementResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateDagComplementResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateDagComplementResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateDagComplementResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateDagComplementResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateDagTestRequest::setProjectEnv(const std::string& projectEnv)
|
||||
{
|
||||
projectEnv_ = projectEnv;
|
||||
setBodyParameter("ProjectEnv", projectEnv);
|
||||
}
|
||||
|
||||
std::string CreateDagTestRequest::getBizdate()const
|
||||
{
|
||||
return bizdate_;
|
||||
}
|
||||
|
||||
void CreateDagTestRequest::setBizdate(const std::string& bizdate)
|
||||
{
|
||||
bizdate_ = bizdate;
|
||||
setBodyParameter("Bizdate", bizdate);
|
||||
}
|
||||
|
||||
std::string CreateDagTestRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateDagTestRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setBodyParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateDagTestRequest::getNodeParams()const
|
||||
{
|
||||
return nodeParams_;
|
||||
}
|
||||
|
||||
void CreateDagTestRequest::setNodeParams(const std::string& nodeParams)
|
||||
{
|
||||
nodeParams_ = nodeParams;
|
||||
setBodyParameter("NodeParams", nodeParams);
|
||||
}
|
||||
|
||||
long CreateDagTestRequest::getNodeId()const
|
||||
{
|
||||
return nodeId_;
|
||||
}
|
||||
|
||||
void CreateDagTestRequest::setNodeId(long nodeId)
|
||||
{
|
||||
nodeId_ = nodeId;
|
||||
setBodyParameter("NodeId", std::to_string(nodeId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateDagTestResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateDagTestResult::CreateDagTestResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateDagTestResult::CreateDagTestResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateDagTestResult::~CreateDagTestResult()
|
||||
{}
|
||||
|
||||
void CreateDagTestResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].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["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Data"].isNull())
|
||||
data_ = std::stol(value["Data"].asString());
|
||||
|
||||
}
|
||||
|
||||
int CreateDagTestResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
long CreateDagTestResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateDagTestResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateDagTestResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateDagTestResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiAuthorityRequest::setAuthorizedProjectId(long authorizedProjectId)
|
||||
{
|
||||
authorizedProjectId_ = authorizedProjectId;
|
||||
setBodyParameter("AuthorizedProjectId", std::to_string(authorizedProjectId));
|
||||
}
|
||||
|
||||
long CreateDataServiceApiAuthorityRequest::getTenantId()const
|
||||
{
|
||||
return tenantId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiAuthorityRequest::setTenantId(long tenantId)
|
||||
{
|
||||
tenantId_ = tenantId;
|
||||
setBodyParameter("TenantId", std::to_string(tenantId));
|
||||
}
|
||||
|
||||
long CreateDataServiceApiAuthorityRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiAuthorityRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
long CreateDataServiceApiAuthorityRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiAuthorityRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
long CreateDataServiceApiAuthorityRequest::getApiId()const
|
||||
{
|
||||
return apiId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiAuthorityRequest::setApiId(long apiId)
|
||||
{
|
||||
apiId_ = apiId;
|
||||
setBodyParameter("ApiId", std::to_string(apiId));
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateDataServiceApiAuthorityResult::CreateDataServiceApiAuthorityResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateDataServiceApiAuthorityResult::CreateDataServiceApiAuthorityResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateDataServiceApiAuthorityResult::~CreateDataServiceApiAuthorityResult()
|
||||
{}
|
||||
|
||||
void CreateDataServiceApiAuthorityResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool CreateDataServiceApiAuthorityResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,205 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setScriptDetails(const std::string& scriptDetails)
|
||||
{
|
||||
scriptDetails_ = scriptDetails;
|
||||
setBodyParameter("ScriptDetails", scriptDetails);
|
||||
}
|
||||
|
||||
int CreateDataServiceApiRequest::getRequestMethod()const
|
||||
{
|
||||
return requestMethod_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setRequestMethod(int requestMethod)
|
||||
{
|
||||
requestMethod_ = requestMethod;
|
||||
setBodyParameter("RequestMethod", std::to_string(requestMethod));
|
||||
}
|
||||
|
||||
std::string CreateDataServiceApiRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setBodyParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
std::string CreateDataServiceApiRequest::getApiPath()const
|
||||
{
|
||||
return apiPath_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setApiPath(const std::string& apiPath)
|
||||
{
|
||||
apiPath_ = apiPath;
|
||||
setBodyParameter("ApiPath", apiPath);
|
||||
}
|
||||
|
||||
std::string CreateDataServiceApiRequest::getWizardDetails()const
|
||||
{
|
||||
return wizardDetails_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setWizardDetails(const std::string& wizardDetails)
|
||||
{
|
||||
wizardDetails_ = wizardDetails;
|
||||
setBodyParameter("WizardDetails", wizardDetails);
|
||||
}
|
||||
|
||||
int CreateDataServiceApiRequest::getApiMode()const
|
||||
{
|
||||
return apiMode_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setApiMode(int apiMode)
|
||||
{
|
||||
apiMode_ = apiMode;
|
||||
setBodyParameter("ApiMode", std::to_string(apiMode));
|
||||
}
|
||||
|
||||
int CreateDataServiceApiRequest::getVisibleRange()const
|
||||
{
|
||||
return visibleRange_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setVisibleRange(int visibleRange)
|
||||
{
|
||||
visibleRange_ = visibleRange;
|
||||
setBodyParameter("VisibleRange", std::to_string(visibleRange));
|
||||
}
|
||||
|
||||
std::string CreateDataServiceApiRequest::getApiDescription()const
|
||||
{
|
||||
return apiDescription_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setApiDescription(const std::string& apiDescription)
|
||||
{
|
||||
apiDescription_ = apiDescription;
|
||||
setBodyParameter("ApiDescription", apiDescription);
|
||||
}
|
||||
|
||||
int CreateDataServiceApiRequest::getTimeout()const
|
||||
{
|
||||
return timeout_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setTimeout(int timeout)
|
||||
{
|
||||
timeout_ = timeout;
|
||||
setBodyParameter("Timeout", std::to_string(timeout));
|
||||
}
|
||||
|
||||
long CreateDataServiceApiRequest::getFolderId()const
|
||||
{
|
||||
return folderId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setFolderId(long folderId)
|
||||
{
|
||||
folderId_ = folderId;
|
||||
setBodyParameter("FolderId", std::to_string(folderId));
|
||||
}
|
||||
|
||||
std::string CreateDataServiceApiRequest::getRegistrationDetails()const
|
||||
{
|
||||
return registrationDetails_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setRegistrationDetails(const std::string& registrationDetails)
|
||||
{
|
||||
registrationDetails_ = registrationDetails;
|
||||
setBodyParameter("RegistrationDetails", registrationDetails);
|
||||
}
|
||||
|
||||
std::string CreateDataServiceApiRequest::getApiName()const
|
||||
{
|
||||
return apiName_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setApiName(const std::string& apiName)
|
||||
{
|
||||
apiName_ = apiName;
|
||||
setBodyParameter("ApiName", apiName);
|
||||
}
|
||||
|
||||
long CreateDataServiceApiRequest::getTenantId()const
|
||||
{
|
||||
return tenantId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setTenantId(long tenantId)
|
||||
{
|
||||
tenantId_ = tenantId;
|
||||
setBodyParameter("TenantId", std::to_string(tenantId));
|
||||
}
|
||||
|
||||
std::string CreateDataServiceApiRequest::getProtocols()const
|
||||
{
|
||||
return protocols_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setProtocols(const std::string& protocols)
|
||||
{
|
||||
protocols_ = protocols;
|
||||
setBodyParameter("Protocols", protocols);
|
||||
}
|
||||
|
||||
long CreateDataServiceApiRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
int CreateDataServiceApiRequest::getResponseContentType()const
|
||||
{
|
||||
return responseContentType_;
|
||||
}
|
||||
|
||||
void CreateDataServiceApiRequest::setResponseContentType(int responseContentType)
|
||||
{
|
||||
responseContentType_ = responseContentType;
|
||||
setBodyParameter("ResponseContentType", std::to_string(responseContentType));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateDataServiceApiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateDataServiceApiResult::CreateDataServiceApiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateDataServiceApiResult::CreateDataServiceApiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateDataServiceApiResult::~CreateDataServiceApiResult()
|
||||
{}
|
||||
|
||||
void CreateDataServiceApiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
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["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int CreateDataServiceApiResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
long CreateDataServiceApiResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateDataServiceApiResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateDataServiceApiResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateDataServiceApiResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateDataServiceFolderRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setBodyParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
long CreateDataServiceFolderRequest::getTenantId()const
|
||||
{
|
||||
return tenantId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceFolderRequest::setTenantId(long tenantId)
|
||||
{
|
||||
tenantId_ = tenantId;
|
||||
setBodyParameter("TenantId", std::to_string(tenantId));
|
||||
}
|
||||
|
||||
std::string CreateDataServiceFolderRequest::getFolderName()const
|
||||
{
|
||||
return folderName_;
|
||||
}
|
||||
|
||||
void CreateDataServiceFolderRequest::setFolderName(const std::string& folderName)
|
||||
{
|
||||
folderName_ = folderName;
|
||||
setBodyParameter("FolderName", folderName);
|
||||
}
|
||||
|
||||
long CreateDataServiceFolderRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceFolderRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
long CreateDataServiceFolderRequest::getParentId()const
|
||||
{
|
||||
return parentId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceFolderRequest::setParentId(long parentId)
|
||||
{
|
||||
parentId_ = parentId;
|
||||
setBodyParameter("ParentId", std::to_string(parentId));
|
||||
}
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateDataServiceGroupRequest::setApiGatewayGroupId(const std::string& apiGatewayGroupId)
|
||||
{
|
||||
apiGatewayGroupId_ = apiGatewayGroupId;
|
||||
setBodyParameter("ApiGatewayGroupId", apiGatewayGroupId);
|
||||
}
|
||||
|
||||
long CreateDataServiceGroupRequest::getTenantId()const
|
||||
{
|
||||
return tenantId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceGroupRequest::setTenantId(long tenantId)
|
||||
{
|
||||
tenantId_ = tenantId;
|
||||
setBodyParameter("TenantId", std::to_string(tenantId));
|
||||
}
|
||||
|
||||
std::string CreateDataServiceGroupRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateDataServiceGroupRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setBodyParameter("Description", description);
|
||||
}
|
||||
|
||||
long CreateDataServiceGroupRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateDataServiceGroupRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string CreateDataServiceGroupRequest::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
void CreateDataServiceGroupRequest::setGroupName(const std::string& groupName)
|
||||
{
|
||||
groupName_ = groupName;
|
||||
setBodyParameter("GroupName", groupName);
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateDataServiceGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateDataServiceGroupResult::CreateDataServiceGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateDataServiceGroupResult::CreateDataServiceGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateDataServiceGroupResult::~CreateDataServiceGroupResult()
|
||||
{}
|
||||
|
||||
void CreateDataServiceGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["GroupId"].isNull())
|
||||
groupId_ = value["GroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateDataServiceGroupResult::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
@@ -1,282 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setFileType(int fileType)
|
||||
{
|
||||
fileType_ = fileType;
|
||||
setBodyParameter("FileType", std::to_string(fileType));
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getDependentNodeIdList()const
|
||||
{
|
||||
return dependentNodeIdList_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setDependentNodeIdList(const std::string& dependentNodeIdList)
|
||||
{
|
||||
dependentNodeIdList_ = dependentNodeIdList;
|
||||
setBodyParameter("DependentNodeIdList", dependentNodeIdList);
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getContent()const
|
||||
{
|
||||
return content_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setContent(const std::string& content)
|
||||
{
|
||||
content_ = content;
|
||||
setBodyParameter("Content", content);
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getProjectIdentifier()const
|
||||
{
|
||||
return projectIdentifier_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setProjectIdentifier(const std::string& projectIdentifier)
|
||||
{
|
||||
projectIdentifier_ = projectIdentifier;
|
||||
setBodyParameter("ProjectIdentifier", projectIdentifier);
|
||||
}
|
||||
|
||||
long CreateFileRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setResourceGroupId(long resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setBodyParameter("ResourceGroupId", std::to_string(resourceGroupId));
|
||||
}
|
||||
|
||||
long CreateFileRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
long CreateFileRequest::getStartEffectDate()const
|
||||
{
|
||||
return startEffectDate_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setStartEffectDate(long startEffectDate)
|
||||
{
|
||||
startEffectDate_ = startEffectDate;
|
||||
setBodyParameter("StartEffectDate", std::to_string(startEffectDate));
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getCycleType()const
|
||||
{
|
||||
return cycleType_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setCycleType(const std::string& cycleType)
|
||||
{
|
||||
cycleType_ = cycleType;
|
||||
setBodyParameter("CycleType", cycleType);
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getOwner()const
|
||||
{
|
||||
return owner_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setOwner(const std::string& owner)
|
||||
{
|
||||
owner_ = owner;
|
||||
setBodyParameter("Owner", owner);
|
||||
}
|
||||
|
||||
int CreateFileRequest::getAutoRerunIntervalMillis()const
|
||||
{
|
||||
return autoRerunIntervalMillis_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setAutoRerunIntervalMillis(int autoRerunIntervalMillis)
|
||||
{
|
||||
autoRerunIntervalMillis_ = autoRerunIntervalMillis;
|
||||
setBodyParameter("AutoRerunIntervalMillis", std::to_string(autoRerunIntervalMillis));
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getInputList()const
|
||||
{
|
||||
return inputList_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setInputList(const std::string& inputList)
|
||||
{
|
||||
inputList_ = inputList;
|
||||
setBodyParameter("InputList", inputList);
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getRerunMode()const
|
||||
{
|
||||
return rerunMode_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setRerunMode(const std::string& rerunMode)
|
||||
{
|
||||
rerunMode_ = rerunMode;
|
||||
setBodyParameter("RerunMode", rerunMode);
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getConnectionName()const
|
||||
{
|
||||
return connectionName_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setConnectionName(const std::string& connectionName)
|
||||
{
|
||||
connectionName_ = connectionName;
|
||||
setBodyParameter("ConnectionName", connectionName);
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getParaValue()const
|
||||
{
|
||||
return paraValue_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setParaValue(const std::string& paraValue)
|
||||
{
|
||||
paraValue_ = paraValue;
|
||||
setBodyParameter("ParaValue", paraValue);
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getResourceGroupIdentifier()const
|
||||
{
|
||||
return resourceGroupIdentifier_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setResourceGroupIdentifier(const std::string& resourceGroupIdentifier)
|
||||
{
|
||||
resourceGroupIdentifier_ = resourceGroupIdentifier;
|
||||
setBodyParameter("ResourceGroupIdentifier", resourceGroupIdentifier);
|
||||
}
|
||||
|
||||
int CreateFileRequest::getAutoRerunTimes()const
|
||||
{
|
||||
return autoRerunTimes_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setAutoRerunTimes(int autoRerunTimes)
|
||||
{
|
||||
autoRerunTimes_ = autoRerunTimes;
|
||||
setBodyParameter("AutoRerunTimes", std::to_string(autoRerunTimes));
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getCronExpress()const
|
||||
{
|
||||
return cronExpress_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setCronExpress(const std::string& cronExpress)
|
||||
{
|
||||
cronExpress_ = cronExpress;
|
||||
setBodyParameter("CronExpress", cronExpress);
|
||||
}
|
||||
|
||||
long CreateFileRequest::getEndEffectDate()const
|
||||
{
|
||||
return endEffectDate_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setEndEffectDate(long endEffectDate)
|
||||
{
|
||||
endEffectDate_ = endEffectDate;
|
||||
setBodyParameter("EndEffectDate", std::to_string(endEffectDate));
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getFileName()const
|
||||
{
|
||||
return fileName_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setFileName(const std::string& fileName)
|
||||
{
|
||||
fileName_ = fileName;
|
||||
setBodyParameter("FileName", fileName);
|
||||
}
|
||||
|
||||
bool CreateFileRequest::getStop()const
|
||||
{
|
||||
return stop_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setStop(bool stop)
|
||||
{
|
||||
stop_ = stop;
|
||||
setBodyParameter("Stop", stop ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getDependentType()const
|
||||
{
|
||||
return dependentType_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setDependentType(const std::string& dependentType)
|
||||
{
|
||||
dependentType_ = dependentType;
|
||||
setBodyParameter("DependentType", dependentType);
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getFileFolderPath()const
|
||||
{
|
||||
return fileFolderPath_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setFileFolderPath(const std::string& fileFolderPath)
|
||||
{
|
||||
fileFolderPath_ = fileFolderPath;
|
||||
setBodyParameter("FileFolderPath", fileFolderPath);
|
||||
}
|
||||
|
||||
std::string CreateFileRequest::getFileDescription()const
|
||||
{
|
||||
return fileDescription_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setFileDescription(const std::string& fileDescription)
|
||||
{
|
||||
fileDescription_ = fileDescription;
|
||||
setBodyParameter("FileDescription", fileDescription);
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateFileResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateFileResult::CreateFileResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateFileResult::CreateFileResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateFileResult::~CreateFileResult()
|
||||
{}
|
||||
|
||||
void CreateFileResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = std::stol(value["Data"].asString());
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int CreateFileResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
long CreateFileResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateFileResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateFileResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateFileResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateFolderRequest::setFolderPath(const std::string& folderPath)
|
||||
{
|
||||
folderPath_ = folderPath;
|
||||
setBodyParameter("FolderPath", folderPath);
|
||||
}
|
||||
|
||||
long CreateFolderRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateFolderRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string CreateFolderRequest::getProjectIdentifier()const
|
||||
{
|
||||
return projectIdentifier_;
|
||||
}
|
||||
|
||||
void CreateFolderRequest::setProjectIdentifier(const std::string& projectIdentifier)
|
||||
{
|
||||
projectIdentifier_ = projectIdentifier;
|
||||
setBodyParameter("ProjectIdentifier", projectIdentifier);
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateFolderResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateFolderResult::CreateFolderResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateFolderResult::CreateFolderResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateFolderResult::~CreateFolderResult()
|
||||
{}
|
||||
|
||||
void CreateFolderResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int CreateFolderResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CreateFolderResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateFolderResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateFolderResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateFolderResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Dataworks_public::Model::CreateManualDagRequest;
|
||||
|
||||
CreateManualDagRequest::CreateManualDagRequest() :
|
||||
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateManualDag")
|
||||
RpcServiceRequest("dataworks-public", "2018-06-01", "CreateManualDag")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
@@ -27,17 +27,6 @@ CreateManualDagRequest::CreateManualDagRequest() :
|
||||
CreateManualDagRequest::~CreateManualDagRequest()
|
||||
{}
|
||||
|
||||
std::string CreateManualDagRequest::getProjectEnv()const
|
||||
{
|
||||
return projectEnv_;
|
||||
}
|
||||
|
||||
void CreateManualDagRequest::setProjectEnv(const std::string& projectEnv)
|
||||
{
|
||||
projectEnv_ = projectEnv;
|
||||
setBodyParameter("ProjectEnv", projectEnv);
|
||||
}
|
||||
|
||||
std::string CreateManualDagRequest::getProjectName()const
|
||||
{
|
||||
return projectName_;
|
||||
@@ -46,18 +35,18 @@ std::string CreateManualDagRequest::getProjectName()const
|
||||
void CreateManualDagRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setBodyParameter("ProjectName", projectName);
|
||||
setParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
std::string CreateManualDagRequest::getBizDate()const
|
||||
std::string CreateManualDagRequest::getBizdate()const
|
||||
{
|
||||
return bizDate_;
|
||||
return bizdate_;
|
||||
}
|
||||
|
||||
void CreateManualDagRequest::setBizDate(const std::string& bizDate)
|
||||
void CreateManualDagRequest::setBizdate(const std::string& bizdate)
|
||||
{
|
||||
bizDate_ = bizDate;
|
||||
setBodyParameter("BizDate", bizDate);
|
||||
bizdate_ = bizdate;
|
||||
setParameter("Bizdate", bizdate);
|
||||
}
|
||||
|
||||
std::string CreateManualDagRequest::getFlowName()const
|
||||
@@ -68,28 +57,28 @@ std::string CreateManualDagRequest::getFlowName()const
|
||||
void CreateManualDagRequest::setFlowName(const std::string& flowName)
|
||||
{
|
||||
flowName_ = flowName;
|
||||
setBodyParameter("FlowName", flowName);
|
||||
setParameter("FlowName", flowName);
|
||||
}
|
||||
|
||||
std::string CreateManualDagRequest::getDagParameters()const
|
||||
std::string CreateManualDagRequest::getDagPara()const
|
||||
{
|
||||
return dagParameters_;
|
||||
return dagPara_;
|
||||
}
|
||||
|
||||
void CreateManualDagRequest::setDagParameters(const std::string& dagParameters)
|
||||
void CreateManualDagRequest::setDagPara(const std::string& dagPara)
|
||||
{
|
||||
dagParameters_ = dagParameters;
|
||||
setBodyParameter("DagParameters", dagParameters);
|
||||
dagPara_ = dagPara;
|
||||
setParameter("DagPara", dagPara);
|
||||
}
|
||||
|
||||
std::string CreateManualDagRequest::getNodeParameters()const
|
||||
std::string CreateManualDagRequest::getNodePara()const
|
||||
{
|
||||
return nodeParameters_;
|
||||
return nodePara_;
|
||||
}
|
||||
|
||||
void CreateManualDagRequest::setNodeParameters(const std::string& nodeParameters)
|
||||
void CreateManualDagRequest::setNodePara(const std::string& nodePara)
|
||||
{
|
||||
nodeParameters_ = nodeParameters;
|
||||
setBodyParameter("NodeParameters", nodeParameters);
|
||||
nodePara_ = nodePara;
|
||||
setParameter("NodePara", nodePara);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,13 +39,34 @@ void CreateManualDagResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DagId"].isNull())
|
||||
dagId_ = std::stol(value["DagId"].asString());
|
||||
if(!value["ReturnCode"].isNull())
|
||||
returnCode_ = value["ReturnCode"].asString();
|
||||
if(!value["ReturnErrorSolution"].isNull())
|
||||
returnErrorSolution_ = value["ReturnErrorSolution"].asString();
|
||||
if(!value["ReturnMessage"].isNull())
|
||||
returnMessage_ = value["ReturnMessage"].asString();
|
||||
if(!value["ReturnValue"].isNull())
|
||||
returnValue_ = std::stol(value["ReturnValue"].asString());
|
||||
|
||||
}
|
||||
|
||||
long CreateManualDagResult::getDagId()const
|
||||
std::string CreateManualDagResult::getReturnErrorSolution()const
|
||||
{
|
||||
return dagId_;
|
||||
return returnErrorSolution_;
|
||||
}
|
||||
|
||||
std::string CreateManualDagResult::getReturnCode()const
|
||||
{
|
||||
return returnCode_;
|
||||
}
|
||||
|
||||
std::string CreateManualDagResult::getReturnMessage()const
|
||||
{
|
||||
return returnMessage_;
|
||||
}
|
||||
|
||||
long CreateManualDagResult::getReturnValue()const
|
||||
{
|
||||
return returnValue_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateMetaCategoryRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setBodyParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateMetaCategoryRequest::getComment()const
|
||||
{
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateMetaCategoryRequest::setComment(const std::string& comment)
|
||||
{
|
||||
comment_ = comment;
|
||||
setBodyParameter("Comment", comment);
|
||||
}
|
||||
|
||||
long CreateMetaCategoryRequest::getParentId()const
|
||||
{
|
||||
return parentId_;
|
||||
}
|
||||
|
||||
void CreateMetaCategoryRequest::setParentId(long parentId)
|
||||
{
|
||||
parentId_ = parentId;
|
||||
setBodyParameter("ParentId", std::to_string(parentId));
|
||||
}
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateMetaCategoryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateMetaCategoryResult::CreateMetaCategoryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateMetaCategoryResult::CreateMetaCategoryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateMetaCategoryResult::~CreateMetaCategoryResult()
|
||||
{}
|
||||
|
||||
void CreateMetaCategoryResult::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["CategoryId"].isNull())
|
||||
data_.categoryId = std::stol(dataNode["CategoryId"].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["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int CreateMetaCategoryResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
CreateMetaCategoryResult::Data CreateMetaCategoryResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateMetaCategoryResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateMetaCategoryResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateMetaCategoryResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateProjectMemberRequest::setRoleCode(const std::string& roleCode)
|
||||
{
|
||||
roleCode_ = roleCode;
|
||||
setParameter("RoleCode", roleCode);
|
||||
}
|
||||
|
||||
std::string CreateProjectMemberRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateProjectMemberRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
long CreateProjectMemberRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateProjectMemberRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string CreateProjectMemberRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void CreateProjectMemberRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setParameter("UserId", userId);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateProjectMemberResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateProjectMemberResult::CreateProjectMemberResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateProjectMemberResult::CreateProjectMemberResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateProjectMemberResult::~CreateProjectMemberResult()
|
||||
{}
|
||||
|
||||
void CreateProjectMemberResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateQualityEntityRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setBodyParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
int CreateQualityEntityRequest::getEntityLevel()const
|
||||
{
|
||||
return entityLevel_;
|
||||
}
|
||||
|
||||
void CreateQualityEntityRequest::setEntityLevel(int entityLevel)
|
||||
{
|
||||
entityLevel_ = entityLevel;
|
||||
setBodyParameter("EntityLevel", std::to_string(entityLevel));
|
||||
}
|
||||
|
||||
std::string CreateQualityEntityRequest::getMatchExpression()const
|
||||
{
|
||||
return matchExpression_;
|
||||
}
|
||||
|
||||
void CreateQualityEntityRequest::setMatchExpression(const std::string& matchExpression)
|
||||
{
|
||||
matchExpression_ = matchExpression;
|
||||
setBodyParameter("MatchExpression", matchExpression);
|
||||
}
|
||||
|
||||
std::string CreateQualityEntityRequest::getEnvType()const
|
||||
{
|
||||
return envType_;
|
||||
}
|
||||
|
||||
void CreateQualityEntityRequest::setEnvType(const std::string& envType)
|
||||
{
|
||||
envType_ = envType;
|
||||
setBodyParameter("EnvType", envType);
|
||||
}
|
||||
|
||||
std::string CreateQualityEntityRequest::getTableName()const
|
||||
{
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void CreateQualityEntityRequest::setTableName(const std::string& tableName)
|
||||
{
|
||||
tableName_ = tableName;
|
||||
setBodyParameter("TableName", tableName);
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateQualityEntityResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateQualityEntityResult::CreateQualityEntityResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateQualityEntityResult::CreateQualityEntityResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateQualityEntityResult::~CreateQualityEntityResult()
|
||||
{}
|
||||
|
||||
void CreateQualityEntityResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Data"].isNull())
|
||||
data_ = std::stoi(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());
|
||||
|
||||
}
|
||||
|
||||
int CreateQualityEntityResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
int CreateQualityEntityResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateQualityEntityResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateQualityEntityResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateQualityEntityResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateQualityFollowerRequest::setAlarmMode(int alarmMode)
|
||||
{
|
||||
alarmMode_ = alarmMode;
|
||||
setBodyParameter("AlarmMode", std::to_string(alarmMode));
|
||||
}
|
||||
|
||||
std::string CreateQualityFollowerRequest::getProjectName()const
|
||||
{
|
||||
return projectName_;
|
||||
}
|
||||
|
||||
void CreateQualityFollowerRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setBodyParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
std::string CreateQualityFollowerRequest::getFollower()const
|
||||
{
|
||||
return follower_;
|
||||
}
|
||||
|
||||
void CreateQualityFollowerRequest::setFollower(const std::string& follower)
|
||||
{
|
||||
follower_ = follower;
|
||||
setBodyParameter("Follower", follower);
|
||||
}
|
||||
|
||||
long CreateQualityFollowerRequest::getEntityId()const
|
||||
{
|
||||
return entityId_;
|
||||
}
|
||||
|
||||
void CreateQualityFollowerRequest::setEntityId(long entityId)
|
||||
{
|
||||
entityId_ = entityId;
|
||||
setBodyParameter("EntityId", std::to_string(entityId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateQualityFollowerResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateQualityFollowerResult::CreateQualityFollowerResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateQualityFollowerResult::CreateQualityFollowerResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateQualityFollowerResult::~CreateQualityFollowerResult()
|
||||
{}
|
||||
|
||||
void CreateQualityFollowerResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = std::stoi(value["Data"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int CreateQualityFollowerResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
int CreateQualityFollowerResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateQualityFollowerResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateQualityFollowerResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateQualityFollowerResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateQualityRelativeNodeRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setBodyParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
long CreateQualityRelativeNodeRequest::getTargetNodeProjectId()const
|
||||
{
|
||||
return targetNodeProjectId_;
|
||||
}
|
||||
|
||||
void CreateQualityRelativeNodeRequest::setTargetNodeProjectId(long targetNodeProjectId)
|
||||
{
|
||||
targetNodeProjectId_ = targetNodeProjectId;
|
||||
setBodyParameter("TargetNodeProjectId", std::to_string(targetNodeProjectId));
|
||||
}
|
||||
|
||||
std::string CreateQualityRelativeNodeRequest::getMatchExpression()const
|
||||
{
|
||||
return matchExpression_;
|
||||
}
|
||||
|
||||
void CreateQualityRelativeNodeRequest::setMatchExpression(const std::string& matchExpression)
|
||||
{
|
||||
matchExpression_ = matchExpression;
|
||||
setBodyParameter("MatchExpression", matchExpression);
|
||||
}
|
||||
|
||||
std::string CreateQualityRelativeNodeRequest::getEnvType()const
|
||||
{
|
||||
return envType_;
|
||||
}
|
||||
|
||||
void CreateQualityRelativeNodeRequest::setEnvType(const std::string& envType)
|
||||
{
|
||||
envType_ = envType;
|
||||
setBodyParameter("EnvType", envType);
|
||||
}
|
||||
|
||||
std::string CreateQualityRelativeNodeRequest::getTargetNodeProjectName()const
|
||||
{
|
||||
return targetNodeProjectName_;
|
||||
}
|
||||
|
||||
void CreateQualityRelativeNodeRequest::setTargetNodeProjectName(const std::string& targetNodeProjectName)
|
||||
{
|
||||
targetNodeProjectName_ = targetNodeProjectName;
|
||||
setBodyParameter("TargetNodeProjectName", targetNodeProjectName);
|
||||
}
|
||||
|
||||
std::string CreateQualityRelativeNodeRequest::getTableName()const
|
||||
{
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void CreateQualityRelativeNodeRequest::setTableName(const std::string& tableName)
|
||||
{
|
||||
tableName_ = tableName;
|
||||
setBodyParameter("TableName", tableName);
|
||||
}
|
||||
|
||||
long CreateQualityRelativeNodeRequest::getNodeId()const
|
||||
{
|
||||
return nodeId_;
|
||||
}
|
||||
|
||||
void CreateQualityRelativeNodeRequest::setNodeId(long nodeId)
|
||||
{
|
||||
nodeId_ = nodeId;
|
||||
setBodyParameter("NodeId", std::to_string(nodeId));
|
||||
}
|
||||
|
||||
long CreateQualityRelativeNodeRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateQualityRelativeNodeRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateQualityRelativeNodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateQualityRelativeNodeResult::CreateQualityRelativeNodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateQualityRelativeNodeResult::CreateQualityRelativeNodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateQualityRelativeNodeResult::~CreateQualityRelativeNodeResult()
|
||||
{}
|
||||
|
||||
void CreateQualityRelativeNodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int CreateQualityRelativeNodeResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool CreateQualityRelativeNodeResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateQualityRelativeNodeResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateQualityRelativeNodeResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateQualityRelativeNodeResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,227 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setBodyParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getTrend()const
|
||||
{
|
||||
return trend_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setTrend(const std::string& trend)
|
||||
{
|
||||
trend_ = trend;
|
||||
setBodyParameter("Trend", trend);
|
||||
}
|
||||
|
||||
int CreateQualityRuleRequest::getRuleType()const
|
||||
{
|
||||
return ruleType_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setRuleType(int ruleType)
|
||||
{
|
||||
ruleType_ = ruleType;
|
||||
setBodyParameter("RuleType", std::to_string(ruleType));
|
||||
}
|
||||
|
||||
int CreateQualityRuleRequest::getBlockType()const
|
||||
{
|
||||
return blockType_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setBlockType(int blockType)
|
||||
{
|
||||
blockType_ = blockType;
|
||||
setBodyParameter("BlockType", std::to_string(blockType));
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getPropertyType()const
|
||||
{
|
||||
return propertyType_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setPropertyType(const std::string& propertyType)
|
||||
{
|
||||
propertyType_ = propertyType;
|
||||
setBodyParameter("PropertyType", propertyType);
|
||||
}
|
||||
|
||||
long CreateQualityRuleRequest::getEntityId()const
|
||||
{
|
||||
return entityId_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setEntityId(long entityId)
|
||||
{
|
||||
entityId_ = entityId;
|
||||
setBodyParameter("EntityId", std::to_string(entityId));
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getRuleName()const
|
||||
{
|
||||
return ruleName_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setRuleName(const std::string& ruleName)
|
||||
{
|
||||
ruleName_ = ruleName;
|
||||
setBodyParameter("RuleName", ruleName);
|
||||
}
|
||||
|
||||
int CreateQualityRuleRequest::getChecker()const
|
||||
{
|
||||
return checker_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setChecker(int checker)
|
||||
{
|
||||
checker_ = checker;
|
||||
setBodyParameter("Checker", std::to_string(checker));
|
||||
}
|
||||
|
||||
int CreateQualityRuleRequest::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setTemplateId(int templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setBodyParameter("TemplateId", std::to_string(templateId));
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getExpectValue()const
|
||||
{
|
||||
return expectValue_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setExpectValue(const std::string& expectValue)
|
||||
{
|
||||
expectValue_ = expectValue;
|
||||
setBodyParameter("ExpectValue", expectValue);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::get_Operator()const
|
||||
{
|
||||
return _operator_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::set_Operator(const std::string& _operator)
|
||||
{
|
||||
_operator_ = _operator;
|
||||
setBodyParameter("_Operator", _operator);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getWhereCondition()const
|
||||
{
|
||||
return whereCondition_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setWhereCondition(const std::string& whereCondition)
|
||||
{
|
||||
whereCondition_ = whereCondition;
|
||||
setBodyParameter("WhereCondition", whereCondition);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getCriticalThreshold()const
|
||||
{
|
||||
return criticalThreshold_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setCriticalThreshold(const std::string& criticalThreshold)
|
||||
{
|
||||
criticalThreshold_ = criticalThreshold;
|
||||
setBodyParameter("CriticalThreshold", criticalThreshold);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getProperty()const
|
||||
{
|
||||
return property_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setProperty(const std::string& property)
|
||||
{
|
||||
property_ = property;
|
||||
setBodyParameter("Property", property);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getComment()const
|
||||
{
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setComment(const std::string& comment)
|
||||
{
|
||||
comment_ = comment;
|
||||
setBodyParameter("Comment", comment);
|
||||
}
|
||||
|
||||
int CreateQualityRuleRequest::getPredictType()const
|
||||
{
|
||||
return predictType_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setPredictType(int predictType)
|
||||
{
|
||||
predictType_ = predictType;
|
||||
setBodyParameter("PredictType", std::to_string(predictType));
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getWarningThreshold()const
|
||||
{
|
||||
return warningThreshold_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setWarningThreshold(const std::string& warningThreshold)
|
||||
{
|
||||
warningThreshold_ = warningThreshold;
|
||||
setBodyParameter("WarningThreshold", warningThreshold);
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleRequest::getMethodName()const
|
||||
{
|
||||
return methodName_;
|
||||
}
|
||||
|
||||
void CreateQualityRuleRequest::setMethodName(const std::string& methodName)
|
||||
{
|
||||
methodName_ = methodName;
|
||||
setBodyParameter("MethodName", methodName);
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateQualityRuleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateQualityRuleResult::CreateQualityRuleResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateQualityRuleResult::CreateQualityRuleResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateQualityRuleResult::~CreateQualityRuleResult()
|
||||
{}
|
||||
|
||||
void CreateQualityRuleResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int CreateQualityRuleResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateQualityRuleResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateQualityRuleResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
106
dataworks-public/src/model/CreateRealTimeProcessRequest.cc
Normal file
106
dataworks-public/src/model/CreateRealTimeProcessRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateRealTimeProcessRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::CreateRealTimeProcessRequest;
|
||||
|
||||
CreateRealTimeProcessRequest::CreateRealTimeProcessRequest() :
|
||||
RpcServiceRequest("dataworks-public", "2018-06-01", "CreateRealTimeProcess")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateRealTimeProcessRequest::~CreateRealTimeProcessRequest()
|
||||
{}
|
||||
|
||||
std::string CreateRealTimeProcessRequest::getJobConfig()const
|
||||
{
|
||||
return jobConfig_;
|
||||
}
|
||||
|
||||
void CreateRealTimeProcessRequest::setJobConfig(const std::string& jobConfig)
|
||||
{
|
||||
jobConfig_ = jobConfig;
|
||||
setParameter("JobConfig", jobConfig);
|
||||
}
|
||||
|
||||
bool CreateRealTimeProcessRequest::getCreateResGroup()const
|
||||
{
|
||||
return createResGroup_;
|
||||
}
|
||||
|
||||
void CreateRealTimeProcessRequest::setCreateResGroup(bool createResGroup)
|
||||
{
|
||||
createResGroup_ = createResGroup;
|
||||
setParameter("CreateResGroup", createResGroup ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateRealTimeProcessRequest::getDataworksVersion()const
|
||||
{
|
||||
return dataworksVersion_;
|
||||
}
|
||||
|
||||
void CreateRealTimeProcessRequest::setDataworksVersion(const std::string& dataworksVersion)
|
||||
{
|
||||
dataworksVersion_ = dataworksVersion;
|
||||
setParameter("DataworksVersion", dataworksVersion);
|
||||
}
|
||||
|
||||
std::string CreateRealTimeProcessRequest::getResourceSpec()const
|
||||
{
|
||||
return resourceSpec_;
|
||||
}
|
||||
|
||||
void CreateRealTimeProcessRequest::setResourceSpec(const std::string& resourceSpec)
|
||||
{
|
||||
resourceSpec_ = resourceSpec;
|
||||
setParameter("ResourceSpec", resourceSpec);
|
||||
}
|
||||
|
||||
std::string CreateRealTimeProcessRequest::getTableRule()const
|
||||
{
|
||||
return tableRule_;
|
||||
}
|
||||
|
||||
void CreateRealTimeProcessRequest::setTableRule(const std::string& tableRule)
|
||||
{
|
||||
tableRule_ = tableRule;
|
||||
setParameter("TableRule", tableRule);
|
||||
}
|
||||
|
||||
std::string CreateRealTimeProcessRequest::getTables()const
|
||||
{
|
||||
return tables_;
|
||||
}
|
||||
|
||||
void CreateRealTimeProcessRequest::setTables(const std::string& tables)
|
||||
{
|
||||
tables_ = tables;
|
||||
setParameter("Tables", tables);
|
||||
}
|
||||
|
||||
std::string CreateRealTimeProcessRequest::getDataSource()const
|
||||
{
|
||||
return dataSource_;
|
||||
}
|
||||
|
||||
void CreateRealTimeProcessRequest::setDataSource(const std::string& dataSource)
|
||||
{
|
||||
dataSource_ = dataSource;
|
||||
setParameter("DataSource", dataSource);
|
||||
}
|
||||
|
||||
@@ -14,45 +14,53 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetDDLJobStatusResult.h>
|
||||
#include <alibabacloud/dataworks-public/model/CreateRealTimeProcessResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
GetDDLJobStatusResult::GetDDLJobStatusResult() :
|
||||
CreateRealTimeProcessResult::CreateRealTimeProcessResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDDLJobStatusResult::GetDDLJobStatusResult(const std::string &payload) :
|
||||
CreateRealTimeProcessResult::CreateRealTimeProcessResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDDLJobStatusResult::~GetDDLJobStatusResult()
|
||||
CreateRealTimeProcessResult::~CreateRealTimeProcessResult()
|
||||
{}
|
||||
|
||||
void GetDDLJobStatusResult::parse(const std::string &payload)
|
||||
void CreateRealTimeProcessResult::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["NextTaskId"].isNull())
|
||||
data_.nextTaskId = dataNode["NextTaskId"].asString();
|
||||
if(!dataNode["Content"].isNull())
|
||||
data_.content = dataNode["Content"].asString();
|
||||
if(!dataNode["Status"].isNull())
|
||||
data_.status = dataNode["Status"].asString();
|
||||
if(!dataNode["TaskId"].isNull())
|
||||
data_.taskId = dataNode["TaskId"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
|
||||
}
|
||||
|
||||
GetDDLJobStatusResult::Data GetDDLJobStatusResult::getData()const
|
||||
std::string CreateRealTimeProcessResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
CreateRealTimeProcessResult::Data CreateRealTimeProcessResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int CreateRealTimeProcessResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -1,194 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setDndEnd(const std::string& dndEnd)
|
||||
{
|
||||
dndEnd_ = dndEnd;
|
||||
setBodyParameter("DndEnd", dndEnd);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getAlertUnit()const
|
||||
{
|
||||
return alertUnit_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setAlertUnit(const std::string& alertUnit)
|
||||
{
|
||||
alertUnit_ = alertUnit;
|
||||
setBodyParameter("AlertUnit", alertUnit);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getRemindUnit()const
|
||||
{
|
||||
return remindUnit_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setRemindUnit(const std::string& remindUnit)
|
||||
{
|
||||
remindUnit_ = remindUnit;
|
||||
setBodyParameter("RemindUnit", remindUnit);
|
||||
}
|
||||
|
||||
int CreateRemindRequest::getAlertInterval()const
|
||||
{
|
||||
return alertInterval_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setAlertInterval(int alertInterval)
|
||||
{
|
||||
alertInterval_ = alertInterval;
|
||||
setBodyParameter("AlertInterval", std::to_string(alertInterval));
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getAlertMethods()const
|
||||
{
|
||||
return alertMethods_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setAlertMethods(const std::string& alertMethods)
|
||||
{
|
||||
alertMethods_ = alertMethods;
|
||||
setBodyParameter("AlertMethods", alertMethods);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getRobotUrls()const
|
||||
{
|
||||
return robotUrls_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setRobotUrls(const std::string& robotUrls)
|
||||
{
|
||||
robotUrls_ = robotUrls;
|
||||
setBodyParameter("RobotUrls", robotUrls);
|
||||
}
|
||||
|
||||
int CreateRemindRequest::getMaxAlertTimes()const
|
||||
{
|
||||
return maxAlertTimes_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setMaxAlertTimes(int maxAlertTimes)
|
||||
{
|
||||
maxAlertTimes_ = maxAlertTimes;
|
||||
setBodyParameter("MaxAlertTimes", std::to_string(maxAlertTimes));
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getBizProcessIds()const
|
||||
{
|
||||
return bizProcessIds_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setBizProcessIds(const std::string& bizProcessIds)
|
||||
{
|
||||
bizProcessIds_ = bizProcessIds;
|
||||
setBodyParameter("BizProcessIds", bizProcessIds);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getRemindType()const
|
||||
{
|
||||
return remindType_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setRemindType(const std::string& remindType)
|
||||
{
|
||||
remindType_ = remindType;
|
||||
setBodyParameter("RemindType", remindType);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getAlertTargets()const
|
||||
{
|
||||
return alertTargets_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setAlertTargets(const std::string& alertTargets)
|
||||
{
|
||||
alertTargets_ = alertTargets;
|
||||
setBodyParameter("AlertTargets", alertTargets);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getBaselineIds()const
|
||||
{
|
||||
return baselineIds_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setBaselineIds(const std::string& baselineIds)
|
||||
{
|
||||
baselineIds_ = baselineIds;
|
||||
setBodyParameter("BaselineIds", baselineIds);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getDetail()const
|
||||
{
|
||||
return detail_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setDetail(const std::string& detail)
|
||||
{
|
||||
detail_ = detail;
|
||||
setBodyParameter("Detail", detail);
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getRemindName()const
|
||||
{
|
||||
return remindName_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setRemindName(const std::string& remindName)
|
||||
{
|
||||
remindName_ = remindName;
|
||||
setBodyParameter("RemindName", remindName);
|
||||
}
|
||||
|
||||
long CreateRemindRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string CreateRemindRequest::getNodeIds()const
|
||||
{
|
||||
return nodeIds_;
|
||||
}
|
||||
|
||||
void CreateRemindRequest::setNodeIds(const std::string& nodeIds)
|
||||
{
|
||||
nodeIds_ = nodeIds;
|
||||
setBodyParameter("NodeIds", nodeIds);
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateRemindResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateRemindResult::CreateRemindResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateRemindResult::CreateRemindResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateRemindResult::~CreateRemindResult()
|
||||
{}
|
||||
|
||||
void CreateRemindResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = std::stol(value["Data"].asString());
|
||||
|
||||
}
|
||||
|
||||
int CreateRemindResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
long CreateRemindResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateRemindResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateRemindResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateRemindResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateTableLevelRequest::setLevelType(int levelType)
|
||||
{
|
||||
levelType_ = levelType;
|
||||
setParameter("LevelType", std::to_string(levelType));
|
||||
}
|
||||
|
||||
std::string CreateTableLevelRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateTableLevelRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateTableLevelRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateTableLevelRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
long CreateTableLevelRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateTableLevelRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateTableLevelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateTableLevelResult::CreateTableLevelResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateTableLevelResult::CreateTableLevelResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateTableLevelResult::~CreateTableLevelResult()
|
||||
{}
|
||||
|
||||
void CreateTableLevelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].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["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["LevelId"].isNull())
|
||||
levelId_ = std::stol(value["LevelId"].asString());
|
||||
|
||||
}
|
||||
|
||||
int CreateTableLevelResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CreateTableLevelResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateTableLevelResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateTableLevelResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
long CreateTableLevelResult::getLevelId()const
|
||||
{
|
||||
return levelId_;
|
||||
}
|
||||
|
||||
@@ -1,244 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateTableRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::CreateTableRequest;
|
||||
|
||||
CreateTableRequest::CreateTableRequest() :
|
||||
RpcServiceRequest("dataworks-public", "2020-05-18", "CreateTable")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateTableRequest::~CreateTableRequest()
|
||||
{}
|
||||
|
||||
int CreateTableRequest::getVisibility()const
|
||||
{
|
||||
return visibility_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setVisibility(int visibility)
|
||||
{
|
||||
visibility_ = visibility;
|
||||
setParameter("Visibility", std::to_string(visibility));
|
||||
}
|
||||
|
||||
long CreateTableRequest::getPhysicsLevelId()const
|
||||
{
|
||||
return physicsLevelId_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setPhysicsLevelId(long physicsLevelId)
|
||||
{
|
||||
physicsLevelId_ = physicsLevelId;
|
||||
setParameter("PhysicsLevelId", std::to_string(physicsLevelId));
|
||||
}
|
||||
|
||||
std::vector<CreateTableRequest::Columns> CreateTableRequest::getColumns()const
|
||||
{
|
||||
return columns_;
|
||||
}
|
||||
|
||||
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", std::to_string(columnsObj.isPartitionCol));
|
||||
setParameter(columnsObjStr + ".ColumnNameCn", columnsObj.columnNameCn);
|
||||
setParameter(columnsObjStr + ".Length", std::to_string(columnsObj.length));
|
||||
setParameter(columnsObjStr + ".IsNullable", std::to_string(columnsObj.isNullable));
|
||||
setParameter(columnsObjStr + ".Comment", columnsObj.comment);
|
||||
setParameter(columnsObjStr + ".IsPrimaryKey", std::to_string(columnsObj.isPrimaryKey));
|
||||
setParameter(columnsObjStr + ".ColumnName", columnsObj.columnName);
|
||||
setParameter(columnsObjStr + ".ColumnType", columnsObj.columnType);
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateTableRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
int CreateTableRequest::getLifeCycle()const
|
||||
{
|
||||
return lifeCycle_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setLifeCycle(int lifeCycle)
|
||||
{
|
||||
lifeCycle_ = lifeCycle;
|
||||
setParameter("LifeCycle", std::to_string(lifeCycle));
|
||||
}
|
||||
|
||||
std::vector<CreateTableRequest::Themes> CreateTableRequest::getThemes()const
|
||||
{
|
||||
return themes_;
|
||||
}
|
||||
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
||||
long CreateTableRequest::getLogicalLevelId()const
|
||||
{
|
||||
return logicalLevelId_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setLogicalLevelId(long logicalLevelId)
|
||||
{
|
||||
logicalLevelId_ = logicalLevelId;
|
||||
setParameter("LogicalLevelId", std::to_string(logicalLevelId));
|
||||
}
|
||||
|
||||
std::string CreateTableRequest::getEndpoint()const
|
||||
{
|
||||
return endpoint_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setEndpoint(const std::string& endpoint)
|
||||
{
|
||||
endpoint_ = endpoint;
|
||||
setBodyParameter("Endpoint", endpoint);
|
||||
}
|
||||
|
||||
int CreateTableRequest::getIsView()const
|
||||
{
|
||||
return isView_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setIsView(int isView)
|
||||
{
|
||||
isView_ = isView;
|
||||
setParameter("IsView", std::to_string(isView));
|
||||
}
|
||||
|
||||
std::string CreateTableRequest::getExternalTableType()const
|
||||
{
|
||||
return externalTableType_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setExternalTableType(const std::string& externalTableType)
|
||||
{
|
||||
externalTableType_ = externalTableType;
|
||||
setParameter("ExternalTableType", externalTableType);
|
||||
}
|
||||
|
||||
int CreateTableRequest::getEnvType()const
|
||||
{
|
||||
return envType_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setEnvType(int envType)
|
||||
{
|
||||
envType_ = envType;
|
||||
setBodyParameter("EnvType", std::to_string(envType));
|
||||
}
|
||||
|
||||
int CreateTableRequest::getHasPart()const
|
||||
{
|
||||
return hasPart_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setHasPart(int hasPart)
|
||||
{
|
||||
hasPart_ = hasPart;
|
||||
setParameter("HasPart", std::to_string(hasPart));
|
||||
}
|
||||
|
||||
std::string CreateTableRequest::getLocation()const
|
||||
{
|
||||
return location_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setLocation(const std::string& location)
|
||||
{
|
||||
location_ = location;
|
||||
setParameter("Location", location);
|
||||
}
|
||||
|
||||
std::string CreateTableRequest::getComment()const
|
||||
{
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setComment(const std::string& comment)
|
||||
{
|
||||
comment_ = comment;
|
||||
setParameter("Comment", comment);
|
||||
}
|
||||
|
||||
std::string CreateTableRequest::getTableName()const
|
||||
{
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setTableName(const std::string& tableName)
|
||||
{
|
||||
tableName_ = tableName;
|
||||
setParameter("TableName", tableName);
|
||||
}
|
||||
|
||||
std::string CreateTableRequest::getAppGuid()const
|
||||
{
|
||||
return appGuid_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setAppGuid(const std::string& appGuid)
|
||||
{
|
||||
appGuid_ = appGuid;
|
||||
setParameter("AppGuid", appGuid);
|
||||
}
|
||||
|
||||
long CreateTableRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
long CreateTableRequest::getCategoryId()const
|
||||
{
|
||||
return categoryId_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setCategoryId(long categoryId)
|
||||
{
|
||||
categoryId_ = categoryId;
|
||||
setParameter("CategoryId", std::to_string(categoryId));
|
||||
}
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateTableResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateTableResult::CreateTableResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateTableResult::CreateTableResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateTableResult::~CreateTableResult()
|
||||
{}
|
||||
|
||||
void CreateTableResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto taskInfoNode = value["TaskInfo"];
|
||||
if(!taskInfoNode["TaskId"].isNull())
|
||||
taskInfo_.taskId = taskInfoNode["TaskId"].asString();
|
||||
if(!taskInfoNode["Content"].isNull())
|
||||
taskInfo_.content = taskInfoNode["Content"].asString();
|
||||
if(!taskInfoNode["Status"].isNull())
|
||||
taskInfo_.status = taskInfoNode["Status"].asString();
|
||||
if(!taskInfoNode["NextTaskId"].isNull())
|
||||
taskInfo_.nextTaskId = taskInfoNode["NextTaskId"].asString();
|
||||
|
||||
}
|
||||
|
||||
CreateTableResult::TaskInfo CreateTableResult::getTaskInfo()const
|
||||
{
|
||||
return taskInfo_;
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateTableThemeRequest::setLevel(int level)
|
||||
{
|
||||
level_ = level;
|
||||
setParameter("Level", std::to_string(level));
|
||||
}
|
||||
|
||||
std::string CreateTableThemeRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateTableThemeRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
long CreateTableThemeRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateTableThemeRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
long CreateTableThemeRequest::getParentId()const
|
||||
{
|
||||
return parentId_;
|
||||
}
|
||||
|
||||
void CreateTableThemeRequest::setParentId(long parentId)
|
||||
{
|
||||
parentId_ = parentId;
|
||||
setParameter("ParentId", std::to_string(parentId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateTableThemeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateTableThemeResult::CreateTableThemeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateTableThemeResult::CreateTableThemeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateTableThemeResult::~CreateTableThemeResult()
|
||||
{}
|
||||
|
||||
void CreateTableThemeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].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["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ThemeId"].isNull())
|
||||
themeId_ = std::stol(value["ThemeId"].asString());
|
||||
|
||||
}
|
||||
|
||||
long CreateTableThemeResult::getThemeId()const
|
||||
{
|
||||
return themeId_;
|
||||
}
|
||||
|
||||
int CreateTableThemeResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CreateTableThemeResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateTableThemeResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateTableThemeResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,161 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void CreateUdfFileRequest::setReturnValue(const std::string& returnValue)
|
||||
{
|
||||
returnValue_ = returnValue;
|
||||
setBodyParameter("ReturnValue", returnValue);
|
||||
}
|
||||
|
||||
std::string CreateUdfFileRequest::getResources()const
|
||||
{
|
||||
return resources_;
|
||||
}
|
||||
|
||||
void CreateUdfFileRequest::setResources(const std::string& resources)
|
||||
{
|
||||
resources_ = resources;
|
||||
setBodyParameter("Resources", resources);
|
||||
}
|
||||
|
||||
std::string CreateUdfFileRequest::getFunctionType()const
|
||||
{
|
||||
return functionType_;
|
||||
}
|
||||
|
||||
void CreateUdfFileRequest::setFunctionType(const std::string& functionType)
|
||||
{
|
||||
functionType_ = functionType;
|
||||
setBodyParameter("FunctionType", functionType);
|
||||
}
|
||||
|
||||
std::string CreateUdfFileRequest::getCmdDescription()const
|
||||
{
|
||||
return cmdDescription_;
|
||||
}
|
||||
|
||||
void CreateUdfFileRequest::setCmdDescription(const std::string& cmdDescription)
|
||||
{
|
||||
cmdDescription_ = cmdDescription;
|
||||
setBodyParameter("CmdDescription", cmdDescription);
|
||||
}
|
||||
|
||||
std::string CreateUdfFileRequest::getUdfDescription()const
|
||||
{
|
||||
return udfDescription_;
|
||||
}
|
||||
|
||||
void CreateUdfFileRequest::setUdfDescription(const std::string& udfDescription)
|
||||
{
|
||||
udfDescription_ = udfDescription;
|
||||
setBodyParameter("UdfDescription", udfDescription);
|
||||
}
|
||||
|
||||
std::string CreateUdfFileRequest::getParameterDescription()const
|
||||
{
|
||||
return parameterDescription_;
|
||||
}
|
||||
|
||||
void CreateUdfFileRequest::setParameterDescription(const std::string& parameterDescription)
|
||||
{
|
||||
parameterDescription_ = parameterDescription;
|
||||
setBodyParameter("ParameterDescription", parameterDescription);
|
||||
}
|
||||
|
||||
std::string CreateUdfFileRequest::getProjectIdentifier()const
|
||||
{
|
||||
return projectIdentifier_;
|
||||
}
|
||||
|
||||
void CreateUdfFileRequest::setProjectIdentifier(const std::string& projectIdentifier)
|
||||
{
|
||||
projectIdentifier_ = projectIdentifier;
|
||||
setBodyParameter("ProjectIdentifier", projectIdentifier);
|
||||
}
|
||||
|
||||
std::string CreateUdfFileRequest::getExample()const
|
||||
{
|
||||
return example_;
|
||||
}
|
||||
|
||||
void CreateUdfFileRequest::setExample(const std::string& example)
|
||||
{
|
||||
example_ = example;
|
||||
setBodyParameter("Example", example);
|
||||
}
|
||||
|
||||
std::string CreateUdfFileRequest::getFileName()const
|
||||
{
|
||||
return fileName_;
|
||||
}
|
||||
|
||||
void CreateUdfFileRequest::setFileName(const std::string& fileName)
|
||||
{
|
||||
fileName_ = fileName;
|
||||
setBodyParameter("FileName", fileName);
|
||||
}
|
||||
|
||||
std::string CreateUdfFileRequest::getClassName()const
|
||||
{
|
||||
return className_;
|
||||
}
|
||||
|
||||
void CreateUdfFileRequest::setClassName(const std::string& className)
|
||||
{
|
||||
className_ = className;
|
||||
setBodyParameter("ClassName", className);
|
||||
}
|
||||
|
||||
std::string CreateUdfFileRequest::getFileFolderPath()const
|
||||
{
|
||||
return fileFolderPath_;
|
||||
}
|
||||
|
||||
void CreateUdfFileRequest::setFileFolderPath(const std::string& fileFolderPath)
|
||||
{
|
||||
fileFolderPath_ = fileFolderPath;
|
||||
setBodyParameter("FileFolderPath", fileFolderPath);
|
||||
}
|
||||
|
||||
long CreateUdfFileRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateUdfFileRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/CreateUdfFileResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
CreateUdfFileResult::CreateUdfFileResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateUdfFileResult::CreateUdfFileResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateUdfFileResult::~CreateUdfFileResult()
|
||||
{}
|
||||
|
||||
void CreateUdfFileResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = std::stol(value["Data"].asString());
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int CreateUdfFileResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
long CreateUdfFileResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateUdfFileResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string CreateUdfFileResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool CreateUdfFileResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void DeleteBusinessRequest::setBusinessId(long businessId)
|
||||
{
|
||||
businessId_ = businessId;
|
||||
setBodyParameter("BusinessId", std::to_string(businessId));
|
||||
}
|
||||
|
||||
long DeleteBusinessRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void DeleteBusinessRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string DeleteBusinessRequest::getProjectIdentifier()const
|
||||
{
|
||||
return projectIdentifier_;
|
||||
}
|
||||
|
||||
void DeleteBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier)
|
||||
{
|
||||
projectIdentifier_ = projectIdentifier;
|
||||
setBodyParameter("ProjectIdentifier", projectIdentifier);
|
||||
}
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteBusinessResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteBusinessResult::DeleteBusinessResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteBusinessResult::DeleteBusinessResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteBusinessResult::~DeleteBusinessResult()
|
||||
{}
|
||||
|
||||
void DeleteBusinessResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DeleteBusinessResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string DeleteBusinessResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteBusinessResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteBusinessResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteConnectionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteConnectionResult::DeleteConnectionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteConnectionResult::DeleteConnectionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteConnectionResult::~DeleteConnectionResult()
|
||||
{}
|
||||
|
||||
void DeleteConnectionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
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";
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteConnectionResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool DeleteConnectionResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
bool DeleteConnectionResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void DeleteDataServiceApiAuthorityRequest::setAuthorizedProjectId(long authorizedProjectId)
|
||||
{
|
||||
authorizedProjectId_ = authorizedProjectId;
|
||||
setBodyParameter("AuthorizedProjectId", std::to_string(authorizedProjectId));
|
||||
}
|
||||
|
||||
long DeleteDataServiceApiAuthorityRequest::getTenantId()const
|
||||
{
|
||||
return tenantId_;
|
||||
}
|
||||
|
||||
void DeleteDataServiceApiAuthorityRequest::setTenantId(long tenantId)
|
||||
{
|
||||
tenantId_ = tenantId;
|
||||
setBodyParameter("TenantId", std::to_string(tenantId));
|
||||
}
|
||||
|
||||
long DeleteDataServiceApiAuthorityRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void DeleteDataServiceApiAuthorityRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
long DeleteDataServiceApiAuthorityRequest::getApiId()const
|
||||
{
|
||||
return apiId_;
|
||||
}
|
||||
|
||||
void DeleteDataServiceApiAuthorityRequest::setApiId(long apiId)
|
||||
{
|
||||
apiId_ = apiId;
|
||||
setBodyParameter("ApiId", std::to_string(apiId));
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteDataServiceApiAuthorityResult::DeleteDataServiceApiAuthorityResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteDataServiceApiAuthorityResult::DeleteDataServiceApiAuthorityResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteDataServiceApiAuthorityResult::~DeleteDataServiceApiAuthorityResult()
|
||||
{}
|
||||
|
||||
void DeleteDataServiceApiAuthorityResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool DeleteDataServiceApiAuthorityResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void DeleteDataServiceApiRequest::setTenantId(long tenantId)
|
||||
{
|
||||
tenantId_ = tenantId;
|
||||
setBodyParameter("TenantId", std::to_string(tenantId));
|
||||
}
|
||||
|
||||
long DeleteDataServiceApiRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void DeleteDataServiceApiRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
long DeleteDataServiceApiRequest::getApiId()const
|
||||
{
|
||||
return apiId_;
|
||||
}
|
||||
|
||||
void DeleteDataServiceApiRequest::setApiId(long apiId)
|
||||
{
|
||||
apiId_ = apiId;
|
||||
setBodyParameter("ApiId", std::to_string(apiId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteDataServiceApiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteDataServiceApiResult::DeleteDataServiceApiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteDataServiceApiResult::DeleteDataServiceApiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteDataServiceApiResult::~DeleteDataServiceApiResult()
|
||||
{}
|
||||
|
||||
void DeleteDataServiceApiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "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["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int DeleteDataServiceApiResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool DeleteDataServiceApiResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DeleteDataServiceApiResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteDataServiceApiResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteDataServiceApiResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Dataworks_public::Model::DeleteFileRequest;
|
||||
|
||||
DeleteFileRequest::DeleteFileRequest() :
|
||||
RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFile")
|
||||
RpcServiceRequest("dataworks-public", "2018-06-01", "DeleteFile")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void DeleteFolderRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string DeleteFolderRequest::getProjectIdentifier()const
|
||||
{
|
||||
return projectIdentifier_;
|
||||
}
|
||||
|
||||
void DeleteFolderRequest::setProjectIdentifier(const std::string& projectIdentifier)
|
||||
{
|
||||
projectIdentifier_ = projectIdentifier;
|
||||
setBodyParameter("ProjectIdentifier", projectIdentifier);
|
||||
}
|
||||
|
||||
std::string DeleteFolderRequest::getFolderId()const
|
||||
{
|
||||
return folderId_;
|
||||
}
|
||||
|
||||
void DeleteFolderRequest::setFolderId(const std::string& folderId)
|
||||
{
|
||||
folderId_ = folderId;
|
||||
setBodyParameter("FolderId", folderId);
|
||||
}
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteFolderResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteFolderResult::DeleteFolderResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteFolderResult::DeleteFolderResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteFolderResult::~DeleteFolderResult()
|
||||
{}
|
||||
|
||||
void DeleteFolderResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DeleteFolderResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string DeleteFolderResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteFolderResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteFolderResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void DeleteFromMetaCategoryRequest::setTableGuid(const std::string& tableGuid)
|
||||
{
|
||||
tableGuid_ = tableGuid;
|
||||
setParameter("TableGuid", tableGuid);
|
||||
}
|
||||
|
||||
long DeleteFromMetaCategoryRequest::getCategoryId()const
|
||||
{
|
||||
return categoryId_;
|
||||
}
|
||||
|
||||
void DeleteFromMetaCategoryRequest::setCategoryId(long categoryId)
|
||||
{
|
||||
categoryId_ = categoryId;
|
||||
setParameter("CategoryId", std::to_string(categoryId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteFromMetaCategoryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteFromMetaCategoryResult::DeleteFromMetaCategoryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteFromMetaCategoryResult::DeleteFromMetaCategoryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteFromMetaCategoryResult::~DeleteFromMetaCategoryResult()
|
||||
{}
|
||||
|
||||
void DeleteFromMetaCategoryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].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["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int DeleteFromMetaCategoryResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool DeleteFromMetaCategoryResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DeleteFromMetaCategoryResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteFromMetaCategoryResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteFromMetaCategoryResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void DeleteMetaCategoryRequest::setCategoryId(long categoryId)
|
||||
{
|
||||
categoryId_ = categoryId;
|
||||
setParameter("CategoryId", std::to_string(categoryId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteMetaCategoryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteMetaCategoryResult::DeleteMetaCategoryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteMetaCategoryResult::DeleteMetaCategoryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteMetaCategoryResult::~DeleteMetaCategoryResult()
|
||||
{}
|
||||
|
||||
void DeleteMetaCategoryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].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["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int DeleteMetaCategoryResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool DeleteMetaCategoryResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DeleteMetaCategoryResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteMetaCategoryResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteMetaCategoryResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void DeleteProjectMemberRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string DeleteProjectMemberRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void DeleteProjectMemberRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setParameter("UserId", userId);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteProjectMemberResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteProjectMemberResult::DeleteProjectMemberResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteProjectMemberResult::DeleteProjectMemberResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteProjectMemberResult::~DeleteProjectMemberResult()
|
||||
{}
|
||||
|
||||
void DeleteProjectMemberResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void DeleteQualityEntityRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setBodyParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
std::string DeleteQualityEntityRequest::getEnvType()const
|
||||
{
|
||||
return envType_;
|
||||
}
|
||||
|
||||
void DeleteQualityEntityRequest::setEnvType(const std::string& envType)
|
||||
{
|
||||
envType_ = envType;
|
||||
setBodyParameter("EnvType", envType);
|
||||
}
|
||||
|
||||
long DeleteQualityEntityRequest::getEntityId()const
|
||||
{
|
||||
return entityId_;
|
||||
}
|
||||
|
||||
void DeleteQualityEntityRequest::setEntityId(long entityId)
|
||||
{
|
||||
entityId_ = entityId;
|
||||
setBodyParameter("EntityId", std::to_string(entityId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteQualityEntityResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteQualityEntityResult::DeleteQualityEntityResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteQualityEntityResult::DeleteQualityEntityResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteQualityEntityResult::~DeleteQualityEntityResult()
|
||||
{}
|
||||
|
||||
void DeleteQualityEntityResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int DeleteQualityEntityResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool DeleteQualityEntityResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DeleteQualityEntityResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteQualityEntityResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteQualityEntityResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void DeleteQualityFollowerRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setBodyParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
long DeleteQualityFollowerRequest::getFollowerId()const
|
||||
{
|
||||
return followerId_;
|
||||
}
|
||||
|
||||
void DeleteQualityFollowerRequest::setFollowerId(long followerId)
|
||||
{
|
||||
followerId_ = followerId;
|
||||
setBodyParameter("FollowerId", std::to_string(followerId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteQualityFollowerResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteQualityFollowerResult::DeleteQualityFollowerResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteQualityFollowerResult::DeleteQualityFollowerResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteQualityFollowerResult::~DeleteQualityFollowerResult()
|
||||
{}
|
||||
|
||||
void DeleteQualityFollowerResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DeleteQualityFollowerResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool DeleteQualityFollowerResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DeleteQualityFollowerResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteQualityFollowerResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteQualityFollowerResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void DeleteQualityRelativeNodeRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setBodyParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
long DeleteQualityRelativeNodeRequest::getTargetNodeProjectId()const
|
||||
{
|
||||
return targetNodeProjectId_;
|
||||
}
|
||||
|
||||
void DeleteQualityRelativeNodeRequest::setTargetNodeProjectId(long targetNodeProjectId)
|
||||
{
|
||||
targetNodeProjectId_ = targetNodeProjectId;
|
||||
setBodyParameter("TargetNodeProjectId", std::to_string(targetNodeProjectId));
|
||||
}
|
||||
|
||||
std::string DeleteQualityRelativeNodeRequest::getMatchExpression()const
|
||||
{
|
||||
return matchExpression_;
|
||||
}
|
||||
|
||||
void DeleteQualityRelativeNodeRequest::setMatchExpression(const std::string& matchExpression)
|
||||
{
|
||||
matchExpression_ = matchExpression;
|
||||
setBodyParameter("MatchExpression", matchExpression);
|
||||
}
|
||||
|
||||
std::string DeleteQualityRelativeNodeRequest::getEnvType()const
|
||||
{
|
||||
return envType_;
|
||||
}
|
||||
|
||||
void DeleteQualityRelativeNodeRequest::setEnvType(const std::string& envType)
|
||||
{
|
||||
envType_ = envType;
|
||||
setBodyParameter("EnvType", envType);
|
||||
}
|
||||
|
||||
std::string DeleteQualityRelativeNodeRequest::getTargetNodeProjectName()const
|
||||
{
|
||||
return targetNodeProjectName_;
|
||||
}
|
||||
|
||||
void DeleteQualityRelativeNodeRequest::setTargetNodeProjectName(const std::string& targetNodeProjectName)
|
||||
{
|
||||
targetNodeProjectName_ = targetNodeProjectName;
|
||||
setBodyParameter("TargetNodeProjectName", targetNodeProjectName);
|
||||
}
|
||||
|
||||
std::string DeleteQualityRelativeNodeRequest::getTableName()const
|
||||
{
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void DeleteQualityRelativeNodeRequest::setTableName(const std::string& tableName)
|
||||
{
|
||||
tableName_ = tableName;
|
||||
setBodyParameter("TableName", tableName);
|
||||
}
|
||||
|
||||
long DeleteQualityRelativeNodeRequest::getNodeId()const
|
||||
{
|
||||
return nodeId_;
|
||||
}
|
||||
|
||||
void DeleteQualityRelativeNodeRequest::setNodeId(long nodeId)
|
||||
{
|
||||
nodeId_ = nodeId;
|
||||
setBodyParameter("NodeId", std::to_string(nodeId));
|
||||
}
|
||||
|
||||
long DeleteQualityRelativeNodeRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void DeleteQualityRelativeNodeRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteQualityRelativeNodeResult::DeleteQualityRelativeNodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteQualityRelativeNodeResult::DeleteQualityRelativeNodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteQualityRelativeNodeResult::~DeleteQualityRelativeNodeResult()
|
||||
{}
|
||||
|
||||
void DeleteQualityRelativeNodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int DeleteQualityRelativeNodeResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool DeleteQualityRelativeNodeResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DeleteQualityRelativeNodeResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteQualityRelativeNodeResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteQualityRelativeNodeResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void DeleteQualityRuleRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setBodyParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
long DeleteQualityRuleRequest::getRuleId()const
|
||||
{
|
||||
return ruleId_;
|
||||
}
|
||||
|
||||
void DeleteQualityRuleRequest::setRuleId(long ruleId)
|
||||
{
|
||||
ruleId_ = ruleId;
|
||||
setBodyParameter("RuleId", std::to_string(ruleId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteQualityRuleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteQualityRuleResult::DeleteQualityRuleResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteQualityRuleResult::DeleteQualityRuleResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteQualityRuleResult::~DeleteQualityRuleResult()
|
||||
{}
|
||||
|
||||
void DeleteQualityRuleResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DeleteQualityRuleResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool DeleteQualityRuleResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DeleteQualityRuleResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteQualityRuleResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteQualityRuleResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteRemindResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteRemindResult::DeleteRemindResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteRemindResult::DeleteRemindResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteRemindResult::~DeleteRemindResult()
|
||||
{}
|
||||
|
||||
void DeleteRemindResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int DeleteRemindResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
bool DeleteRemindResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DeleteRemindResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteRemindResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteRemindResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void DeleteTableLevelRequest::setLevelId(long levelId)
|
||||
{
|
||||
levelId_ = levelId;
|
||||
setParameter("LevelId", std::to_string(levelId));
|
||||
}
|
||||
|
||||
long DeleteTableLevelRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void DeleteTableLevelRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteTableLevelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteTableLevelResult::DeleteTableLevelResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteTableLevelResult::DeleteTableLevelResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteTableLevelResult::~DeleteTableLevelResult()
|
||||
{}
|
||||
|
||||
void DeleteTableLevelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DeleteResult"].isNull())
|
||||
deleteResult_ = value["DeleteResult"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool DeleteTableLevelResult::getDeleteResult()const
|
||||
{
|
||||
return deleteResult_;
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void DeleteTableRequest::setEnvType(int envType)
|
||||
{
|
||||
envType_ = envType;
|
||||
setParameter("EnvType", std::to_string(envType));
|
||||
}
|
||||
|
||||
std::string DeleteTableRequest::getTableName()const
|
||||
{
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void DeleteTableRequest::setTableName(const std::string& tableName)
|
||||
{
|
||||
tableName_ = tableName;
|
||||
setParameter("TableName", tableName);
|
||||
}
|
||||
|
||||
std::string DeleteTableRequest::getAppGuid()const
|
||||
{
|
||||
return appGuid_;
|
||||
}
|
||||
|
||||
void DeleteTableRequest::setAppGuid(const std::string& appGuid)
|
||||
{
|
||||
appGuid_ = appGuid;
|
||||
setParameter("AppGuid", appGuid);
|
||||
}
|
||||
|
||||
long DeleteTableRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void DeleteTableRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteTableResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteTableResult::DeleteTableResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteTableResult::DeleteTableResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteTableResult::~DeleteTableResult()
|
||||
{}
|
||||
|
||||
void DeleteTableResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto taskInfoNode = value["TaskInfo"];
|
||||
if(!taskInfoNode["TaskId"].isNull())
|
||||
taskInfo_.taskId = taskInfoNode["TaskId"].asString();
|
||||
if(!taskInfoNode["Content"].isNull())
|
||||
taskInfo_.content = taskInfoNode["Content"].asString();
|
||||
if(!taskInfoNode["Status"].isNull())
|
||||
taskInfo_.status = taskInfoNode["Status"].asString();
|
||||
if(!taskInfoNode["NextTaskId"].isNull())
|
||||
taskInfo_.nextTaskId = taskInfoNode["NextTaskId"].asString();
|
||||
|
||||
}
|
||||
|
||||
DeleteTableResult::TaskInfo DeleteTableResult::getTaskInfo()const
|
||||
{
|
||||
return taskInfo_;
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void DeleteTableThemeRequest::setThemeId(long themeId)
|
||||
{
|
||||
themeId_ = themeId;
|
||||
setParameter("ThemeId", std::to_string(themeId));
|
||||
}
|
||||
|
||||
long DeleteTableThemeRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void DeleteTableThemeRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeleteTableThemeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeleteTableThemeResult::DeleteTableThemeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteTableThemeResult::DeleteTableThemeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteTableThemeResult::~DeleteTableThemeResult()
|
||||
{}
|
||||
|
||||
void DeleteTableThemeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].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["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["DeleteResult"].isNull())
|
||||
deleteResult_ = value["DeleteResult"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int DeleteTableThemeResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string DeleteTableThemeResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteTableThemeResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteTableThemeResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
bool DeleteTableThemeResult::getDeleteResult()const
|
||||
{
|
||||
return deleteResult_;
|
||||
}
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void DeployFileRequest::setComment(const std::string& comment)
|
||||
{
|
||||
comment_ = comment;
|
||||
setBodyParameter("Comment", comment);
|
||||
}
|
||||
|
||||
long DeployFileRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void DeployFileRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
long DeployFileRequest::getNodeId()const
|
||||
{
|
||||
return nodeId_;
|
||||
}
|
||||
|
||||
void DeployFileRequest::setNodeId(long nodeId)
|
||||
{
|
||||
nodeId_ = nodeId;
|
||||
setBodyParameter("NodeId", std::to_string(nodeId));
|
||||
}
|
||||
|
||||
std::string DeployFileRequest::getProjectIdentifier()const
|
||||
{
|
||||
return projectIdentifier_;
|
||||
}
|
||||
|
||||
void DeployFileRequest::setProjectIdentifier(const std::string& projectIdentifier)
|
||||
{
|
||||
projectIdentifier_ = projectIdentifier;
|
||||
setBodyParameter("ProjectIdentifier", projectIdentifier);
|
||||
}
|
||||
|
||||
long DeployFileRequest::getFileId()const
|
||||
{
|
||||
return fileId_;
|
||||
}
|
||||
|
||||
void DeployFileRequest::setFileId(long fileId)
|
||||
{
|
||||
fileId_ = fileId;
|
||||
setBodyParameter("FileId", std::to_string(fileId));
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DeployFileResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DeployFileResult::DeployFileResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeployFileResult::DeployFileResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeployFileResult::~DeployFileResult()
|
||||
{}
|
||||
|
||||
void DeployFileResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = std::stol(value["Data"].asString());
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DeployFileResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
long DeployFileResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DeployFileResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeployFileResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeployFileResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
62
dataworks-public/src/model/DescribeEmrHiveTableRequest.cc
Normal file
62
dataworks-public/src/model/DescribeEmrHiveTableRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DescribeEmrHiveTableRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::DescribeEmrHiveTableRequest;
|
||||
|
||||
DescribeEmrHiveTableRequest::DescribeEmrHiveTableRequest() :
|
||||
RpcServiceRequest("dataworks-public", "2018-06-01", "DescribeEmrHiveTable")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeEmrHiveTableRequest::~DescribeEmrHiveTableRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeEmrHiveTableRequest::getDatabaseName()const
|
||||
{
|
||||
return databaseName_;
|
||||
}
|
||||
|
||||
void DescribeEmrHiveTableRequest::setDatabaseName(const std::string& databaseName)
|
||||
{
|
||||
databaseName_ = databaseName;
|
||||
setParameter("DatabaseName", databaseName);
|
||||
}
|
||||
|
||||
std::string DescribeEmrHiveTableRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeEmrHiveTableRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DescribeEmrHiveTableRequest::getTableName()const
|
||||
{
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void DescribeEmrHiveTableRequest::setTableName(const std::string& tableName)
|
||||
{
|
||||
tableName_ = tableName;
|
||||
setParameter("TableName", tableName);
|
||||
}
|
||||
|
||||
130
dataworks-public/src/model/DescribeEmrHiveTableResult.cc
Normal file
130
dataworks-public/src/model/DescribeEmrHiveTableResult.cc
Normal file
@@ -0,0 +1,130 @@
|
||||
/*
|
||||
* 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/DescribeEmrHiveTableResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DescribeEmrHiveTableResult::DescribeEmrHiveTableResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeEmrHiveTableResult::DescribeEmrHiveTableResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeEmrHiveTableResult::~DescribeEmrHiveTableResult()
|
||||
{}
|
||||
|
||||
void DescribeEmrHiveTableResult::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["ClusterBizId"].isNull())
|
||||
data_.clusterBizId = dataNode["ClusterBizId"].asString();
|
||||
if(!dataNode["TableName"].isNull())
|
||||
data_.tableName = dataNode["TableName"].asString();
|
||||
if(!dataNode["TableType"].isNull())
|
||||
data_.tableType = dataNode["TableType"].asString();
|
||||
if(!dataNode["Owner"].isNull())
|
||||
data_.owner = dataNode["Owner"].asString();
|
||||
if(!dataNode["OwnerType"].isNull())
|
||||
data_.ownerType = dataNode["OwnerType"].asString();
|
||||
if(!dataNode["IsTemporary"].isNull())
|
||||
data_.isTemporary = dataNode["IsTemporary"].asString() == "true";
|
||||
if(!dataNode["SerializationLib"].isNull())
|
||||
data_.serializationLib = dataNode["SerializationLib"].asString();
|
||||
if(!dataNode["InputFormat"].isNull())
|
||||
data_.inputFormat = dataNode["InputFormat"].asString();
|
||||
if(!dataNode["OutputFormat"].isNull())
|
||||
data_.outputFormat = dataNode["OutputFormat"].asString();
|
||||
if(!dataNode["Location"].isNull())
|
||||
data_.location = dataNode["Location"].asString();
|
||||
if(!dataNode["LastAccessTime"].isNull())
|
||||
data_.lastAccessTime = dataNode["LastAccessTime"].asString();
|
||||
if(!dataNode["GmtCreate"].isNull())
|
||||
data_.gmtCreate = dataNode["GmtCreate"].asString();
|
||||
if(!dataNode["GmtModified"].isNull())
|
||||
data_.gmtModified = dataNode["GmtModified"].asString();
|
||||
if(!dataNode["TableComment"].isNull())
|
||||
data_.tableComment = dataNode["TableComment"].asString();
|
||||
if(!dataNode["TableParameters"].isNull())
|
||||
data_.tableParameters = dataNode["TableParameters"].asString();
|
||||
if(!dataNode["PartitionKeys"].isNull())
|
||||
data_.partitionKeys = dataNode["PartitionKeys"].asString();
|
||||
if(!dataNode["IsCompressed"].isNull())
|
||||
data_.isCompressed = dataNode["IsCompressed"].asString() == "true";
|
||||
if(!dataNode["ClusterBizName"].isNull())
|
||||
data_.clusterBizName = dataNode["ClusterBizName"].asString();
|
||||
if(!dataNode["DatabaseName"].isNull())
|
||||
data_.databaseName = dataNode["DatabaseName"].asString();
|
||||
if(!dataNode["OwnerId"].isNull())
|
||||
data_.ownerId = dataNode["OwnerId"].asString();
|
||||
if(!dataNode["TableDesc"].isNull())
|
||||
data_.tableDesc = dataNode["TableDesc"].asString();
|
||||
if(!dataNode["LastModifyTime"].isNull())
|
||||
data_.lastModifyTime = dataNode["LastModifyTime"].asString();
|
||||
if(!dataNode["TableSize"].isNull())
|
||||
data_.tableSize = std::stol(dataNode["TableSize"].asString());
|
||||
auto allColumnsNode = dataNode["Columns"]["TableColumn"];
|
||||
for (auto dataNodeColumnsTableColumn : allColumnsNode)
|
||||
{
|
||||
Data::TableColumn tableColumnObject;
|
||||
if(!dataNodeColumnsTableColumn["ColumnPosition"].isNull())
|
||||
tableColumnObject.columnPosition = std::stoi(dataNodeColumnsTableColumn["ColumnPosition"].asString());
|
||||
if(!dataNodeColumnsTableColumn["ColumnName"].isNull())
|
||||
tableColumnObject.columnName = dataNodeColumnsTableColumn["ColumnName"].asString();
|
||||
if(!dataNodeColumnsTableColumn["ColumnType"].isNull())
|
||||
tableColumnObject.columnType = dataNodeColumnsTableColumn["ColumnType"].asString();
|
||||
if(!dataNodeColumnsTableColumn["ColumnComment"].isNull())
|
||||
tableColumnObject.columnComment = dataNodeColumnsTableColumn["ColumnComment"].asString();
|
||||
if(!dataNodeColumnsTableColumn["GmtCreate"].isNull())
|
||||
tableColumnObject.gmtCreate = dataNodeColumnsTableColumn["GmtCreate"].asString();
|
||||
if(!dataNodeColumnsTableColumn["GmtModified"].isNull())
|
||||
tableColumnObject.gmtModified = dataNodeColumnsTableColumn["GmtModified"].asString();
|
||||
if(!dataNodeColumnsTableColumn["Comment"].isNull())
|
||||
tableColumnObject.comment = dataNodeColumnsTableColumn["Comment"].asString();
|
||||
data_.columns.push_back(tableColumnObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
DescribeEmrHiveTableResult::Data DescribeEmrHiveTableResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DescribeEmrHiveTableResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DescribeEmrHiveTableResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void DesensitizeDataRequest::setSceneCode(const std::string& sceneCode)
|
||||
{
|
||||
sceneCode_ = sceneCode;
|
||||
setBodyParameter("SceneCode", sceneCode);
|
||||
}
|
||||
|
||||
std::string DesensitizeDataRequest::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
void DesensitizeDataRequest::setData(const std::string& data)
|
||||
{
|
||||
data_ = data;
|
||||
setBodyParameter("Data", data);
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/DesensitizeDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
DesensitizeDataResult::DesensitizeDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DesensitizeDataResult::DesensitizeDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DesensitizeDataResult::~DesensitizeDataResult()
|
||||
{}
|
||||
|
||||
void DesensitizeDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DesensitizeData"].isNull())
|
||||
desensitizeData_ = value["DesensitizeData"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DesensitizeDataResult::getDesensitizeData()const
|
||||
{
|
||||
return desensitizeData_;
|
||||
}
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void EstablishRelationTableToBusinessRequest::setTableGuid(const std::string& tableGuid)
|
||||
{
|
||||
tableGuid_ = tableGuid;
|
||||
setBodyParameter("TableGuid", tableGuid);
|
||||
}
|
||||
|
||||
std::string EstablishRelationTableToBusinessRequest::getBusinessId()const
|
||||
{
|
||||
return businessId_;
|
||||
}
|
||||
|
||||
void EstablishRelationTableToBusinessRequest::setBusinessId(const std::string& businessId)
|
||||
{
|
||||
businessId_ = businessId;
|
||||
setBodyParameter("BusinessId", businessId);
|
||||
}
|
||||
|
||||
long EstablishRelationTableToBusinessRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void EstablishRelationTableToBusinessRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string EstablishRelationTableToBusinessRequest::getProjectIdentifier()const
|
||||
{
|
||||
return projectIdentifier_;
|
||||
}
|
||||
|
||||
void EstablishRelationTableToBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier)
|
||||
{
|
||||
projectIdentifier_ = projectIdentifier;
|
||||
setBodyParameter("ProjectIdentifier", projectIdentifier);
|
||||
}
|
||||
|
||||
std::string EstablishRelationTableToBusinessRequest::getFolderId()const
|
||||
{
|
||||
return folderId_;
|
||||
}
|
||||
|
||||
void EstablishRelationTableToBusinessRequest::setFolderId(const std::string& folderId)
|
||||
{
|
||||
folderId_ = folderId;
|
||||
setBodyParameter("FolderId", folderId);
|
||||
}
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
EstablishRelationTableToBusinessResult::EstablishRelationTableToBusinessResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
EstablishRelationTableToBusinessResult::EstablishRelationTableToBusinessResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
EstablishRelationTableToBusinessResult::~EstablishRelationTableToBusinessResult()
|
||||
{}
|
||||
|
||||
void EstablishRelationTableToBusinessResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int EstablishRelationTableToBusinessResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string EstablishRelationTableToBusinessResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string EstablishRelationTableToBusinessResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool EstablishRelationTableToBusinessResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void GetBaselineConfigRequest::setBaselineId(long baselineId)
|
||||
{
|
||||
baselineId_ = baselineId;
|
||||
setBodyParameter("BaselineId", std::to_string(baselineId));
|
||||
}
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetBaselineConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
GetBaselineConfigResult::GetBaselineConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetBaselineConfigResult::GetBaselineConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetBaselineConfigResult::~GetBaselineConfigResult()
|
||||
{}
|
||||
|
||||
void GetBaselineConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["BaselineId"].isNull())
|
||||
data_.baselineId = std::stol(dataNode["BaselineId"].asString());
|
||||
if(!dataNode["Priority"].isNull())
|
||||
data_.priority = std::stoi(dataNode["Priority"].asString());
|
||||
if(!dataNode["BaselineName"].isNull())
|
||||
data_.baselineName = dataNode["BaselineName"].asString();
|
||||
if(!dataNode["Owner"].isNull())
|
||||
data_.owner = dataNode["Owner"].asString();
|
||||
if(!dataNode["ProjectId"].isNull())
|
||||
data_.projectId = std::stol(dataNode["ProjectId"].asString());
|
||||
if(!dataNode["UseFlag"].isNull())
|
||||
data_.useFlag = dataNode["UseFlag"].asString() == "true";
|
||||
if(!dataNode["BaselineType"].isNull())
|
||||
data_.baselineType = dataNode["BaselineType"].asString();
|
||||
if(!dataNode["ExpHour"].isNull())
|
||||
data_.expHour = std::stoi(dataNode["ExpHour"].asString());
|
||||
if(!dataNode["ExpMinu"].isNull())
|
||||
data_.expMinu = std::stoi(dataNode["ExpMinu"].asString());
|
||||
if(!dataNode["SlaHour"].isNull())
|
||||
data_.slaHour = std::stoi(dataNode["SlaHour"].asString());
|
||||
if(!dataNode["SlaMinu"].isNull())
|
||||
data_.slaMinu = std::stoi(dataNode["SlaMinu"].asString());
|
||||
if(!dataNode["HourExpDetail"].isNull())
|
||||
data_.hourExpDetail = dataNode["HourExpDetail"].asString();
|
||||
if(!dataNode["HourSlaDetail"].isNull())
|
||||
data_.hourSlaDetail = dataNode["HourSlaDetail"].asString();
|
||||
if(!dataNode["IsDefault"].isNull())
|
||||
data_.isDefault = dataNode["IsDefault"].asString() == "true";
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int GetBaselineConfigResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
GetBaselineConfigResult::Data GetBaselineConfigResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string GetBaselineConfigResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string GetBaselineConfigResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool GetBaselineConfigResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/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_;
|
||||
}
|
||||
|
||||
void GetBaselineKeyPathRequest::setBizdate(const std::string& bizdate)
|
||||
{
|
||||
bizdate_ = bizdate;
|
||||
setBodyParameter("Bizdate", bizdate);
|
||||
}
|
||||
|
||||
int GetBaselineKeyPathRequest::getInGroupId()const
|
||||
{
|
||||
return inGroupId_;
|
||||
}
|
||||
|
||||
void GetBaselineKeyPathRequest::setInGroupId(int inGroupId)
|
||||
{
|
||||
inGroupId_ = inGroupId;
|
||||
setBodyParameter("InGroupId", std::to_string(inGroupId));
|
||||
}
|
||||
|
||||
long GetBaselineKeyPathRequest::getBaselineId()const
|
||||
{
|
||||
return baselineId_;
|
||||
}
|
||||
|
||||
void GetBaselineKeyPathRequest::setBaselineId(long baselineId)
|
||||
{
|
||||
baselineId_ = baselineId;
|
||||
setBodyParameter("BaselineId", std::to_string(baselineId));
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user