Supported GetDataCronClearConfig,GetDataCorrectRollbackFile,GetOrderAttachmentFile API.
This commit is contained in:
@@ -1923,6 +1923,42 @@ Dms_enterpriseClient::GetDataCorrectOrderDetailOutcomeCallable Dms_enterpriseCli
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::GetDataCorrectRollbackFileOutcome Dms_enterpriseClient::getDataCorrectRollbackFile(const GetDataCorrectRollbackFileRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetDataCorrectRollbackFileOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetDataCorrectRollbackFileOutcome(GetDataCorrectRollbackFileResult(outcome.result()));
|
||||
else
|
||||
return GetDataCorrectRollbackFileOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dms_enterpriseClient::getDataCorrectRollbackFileAsync(const GetDataCorrectRollbackFileRequest& request, const GetDataCorrectRollbackFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getDataCorrectRollbackFile(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::GetDataCorrectRollbackFileOutcomeCallable Dms_enterpriseClient::getDataCorrectRollbackFileCallable(const GetDataCorrectRollbackFileRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetDataCorrectRollbackFileOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getDataCorrectRollbackFile(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::GetDataCorrectSQLFileOutcome Dms_enterpriseClient::getDataCorrectSQLFile(const GetDataCorrectSQLFileRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1995,6 +2031,42 @@ Dms_enterpriseClient::GetDataCorrectTaskDetailOutcomeCallable Dms_enterpriseClie
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::GetDataCronClearConfigOutcome Dms_enterpriseClient::getDataCronClearConfig(const GetDataCronClearConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetDataCronClearConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetDataCronClearConfigOutcome(GetDataCronClearConfigResult(outcome.result()));
|
||||
else
|
||||
return GetDataCronClearConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dms_enterpriseClient::getDataCronClearConfigAsync(const GetDataCronClearConfigRequest& request, const GetDataCronClearConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getDataCronClearConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::GetDataCronClearConfigOutcomeCallable Dms_enterpriseClient::getDataCronClearConfigCallable(const GetDataCronClearConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetDataCronClearConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getDataCronClearConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::GetDataCronClearTaskDetailListOutcome Dms_enterpriseClient::getDataCronClearTaskDetailList(const GetDataCronClearTaskDetailListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2391,6 +2463,42 @@ Dms_enterpriseClient::GetOpLogOutcomeCallable Dms_enterpriseClient::getOpLogCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::GetOrderAttachmentFileOutcome Dms_enterpriseClient::getOrderAttachmentFile(const GetOrderAttachmentFileRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetOrderAttachmentFileOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetOrderAttachmentFileOutcome(GetOrderAttachmentFileResult(outcome.result()));
|
||||
else
|
||||
return GetOrderAttachmentFileOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dms_enterpriseClient::getOrderAttachmentFileAsync(const GetOrderAttachmentFileRequest& request, const GetOrderAttachmentFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getOrderAttachmentFile(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::GetOrderAttachmentFileOutcomeCallable Dms_enterpriseClient::getOrderAttachmentFileCallable(const GetOrderAttachmentFileRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetOrderAttachmentFileOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getOrderAttachmentFile(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::GetOrderBaseInfoOutcome Dms_enterpriseClient::getOrderBaseInfo(const GetOrderBaseInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -25,15 +25,6 @@ AddDesensitizationRuleRequest::AddDesensitizationRuleRequest()
|
||||
|
||||
AddDesensitizationRuleRequest::~AddDesensitizationRuleRequest() {}
|
||||
|
||||
std::string AddDesensitizationRuleRequest::getRuleDescription() const {
|
||||
return ruleDescription_;
|
||||
}
|
||||
|
||||
void AddDesensitizationRuleRequest::setRuleDescription(const std::string &ruleDescription) {
|
||||
ruleDescription_ = ruleDescription;
|
||||
setParameter(std::string("RuleDescription"), ruleDescription);
|
||||
}
|
||||
|
||||
std::vector<AddDesensitizationRuleRequest::std::map<std::string, std::string>> AddDesensitizationRuleRequest::getFunctionParams() const {
|
||||
return functionParams_;
|
||||
}
|
||||
@@ -47,15 +38,6 @@ void AddDesensitizationRuleRequest::setFunctionParams(const std::vector<AddDesen
|
||||
}
|
||||
}
|
||||
|
||||
std::string AddDesensitizationRuleRequest::getRuleType() const {
|
||||
return ruleType_;
|
||||
}
|
||||
|
||||
void AddDesensitizationRuleRequest::setRuleType(const std::string &ruleType) {
|
||||
ruleType_ = ruleType;
|
||||
setParameter(std::string("RuleType"), ruleType);
|
||||
}
|
||||
|
||||
std::string AddDesensitizationRuleRequest::getRuleName() const {
|
||||
return ruleName_;
|
||||
}
|
||||
@@ -65,15 +47,6 @@ void AddDesensitizationRuleRequest::setRuleName(const std::string &ruleName) {
|
||||
setParameter(std::string("RuleName"), ruleName);
|
||||
}
|
||||
|
||||
std::string AddDesensitizationRuleRequest::getFunctionType() const {
|
||||
return functionType_;
|
||||
}
|
||||
|
||||
void AddDesensitizationRuleRequest::setFunctionType(const std::string &functionType) {
|
||||
functionType_ = functionType;
|
||||
setParameter(std::string("FunctionType"), functionType);
|
||||
}
|
||||
|
||||
long AddDesensitizationRuleRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -83,3 +56,30 @@ void AddDesensitizationRuleRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string AddDesensitizationRuleRequest::getRuleDescription() const {
|
||||
return ruleDescription_;
|
||||
}
|
||||
|
||||
void AddDesensitizationRuleRequest::setRuleDescription(const std::string &ruleDescription) {
|
||||
ruleDescription_ = ruleDescription;
|
||||
setParameter(std::string("RuleDescription"), ruleDescription);
|
||||
}
|
||||
|
||||
std::string AddDesensitizationRuleRequest::getRuleType() const {
|
||||
return ruleType_;
|
||||
}
|
||||
|
||||
void AddDesensitizationRuleRequest::setRuleType(const std::string &ruleType) {
|
||||
ruleType_ = ruleType;
|
||||
setParameter(std::string("RuleType"), ruleType);
|
||||
}
|
||||
|
||||
std::string AddDesensitizationRuleRequest::getFunctionType() const {
|
||||
return functionType_;
|
||||
}
|
||||
|
||||
void AddDesensitizationRuleRequest::setFunctionType(const std::string &functionType) {
|
||||
functionType_ = functionType;
|
||||
setParameter(std::string("FunctionType"), functionType);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ AddLogicTableRouteConfigRequest::AddLogicTableRouteConfigRequest()
|
||||
|
||||
AddLogicTableRouteConfigRequest::~AddLogicTableRouteConfigRequest() {}
|
||||
|
||||
std::string AddLogicTableRouteConfigRequest::getRouteKey() const {
|
||||
return routeKey_;
|
||||
}
|
||||
|
||||
void AddLogicTableRouteConfigRequest::setRouteKey(const std::string &routeKey) {
|
||||
routeKey_ = routeKey;
|
||||
setParameter(std::string("RouteKey"), routeKey);
|
||||
}
|
||||
|
||||
long AddLogicTableRouteConfigRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,15 +34,6 @@ void AddLogicTableRouteConfigRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string AddLogicTableRouteConfigRequest::getRouteExpr() const {
|
||||
return routeExpr_;
|
||||
}
|
||||
|
||||
void AddLogicTableRouteConfigRequest::setRouteExpr(const std::string &routeExpr) {
|
||||
routeExpr_ = routeExpr;
|
||||
setParameter(std::string("RouteExpr"), routeExpr);
|
||||
}
|
||||
|
||||
long AddLogicTableRouteConfigRequest::getTableId() const {
|
||||
return tableId_;
|
||||
}
|
||||
@@ -61,3 +43,21 @@ void AddLogicTableRouteConfigRequest::setTableId(long tableId) {
|
||||
setParameter(std::string("TableId"), std::to_string(tableId));
|
||||
}
|
||||
|
||||
std::string AddLogicTableRouteConfigRequest::getRouteKey() const {
|
||||
return routeKey_;
|
||||
}
|
||||
|
||||
void AddLogicTableRouteConfigRequest::setRouteKey(const std::string &routeKey) {
|
||||
routeKey_ = routeKey;
|
||||
setParameter(std::string("RouteKey"), routeKey);
|
||||
}
|
||||
|
||||
std::string AddLogicTableRouteConfigRequest::getRouteExpr() const {
|
||||
return routeExpr_;
|
||||
}
|
||||
|
||||
void AddLogicTableRouteConfigRequest::setRouteExpr(const std::string &routeExpr) {
|
||||
routeExpr_ = routeExpr;
|
||||
setParameter(std::string("RouteExpr"), routeExpr);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,18 +25,6 @@ AddTaskFlowEdgesRequest::AddTaskFlowEdgesRequest()
|
||||
|
||||
AddTaskFlowEdgesRequest::~AddTaskFlowEdgesRequest() {}
|
||||
|
||||
std::vector<AddTaskFlowEdgesRequest::Edges> AddTaskFlowEdgesRequest::getEdges() const {
|
||||
return edges_;
|
||||
}
|
||||
|
||||
void AddTaskFlowEdgesRequest::setEdges(const std::vector<AddTaskFlowEdgesRequest::Edges> &edges) {
|
||||
edges_ = edges;
|
||||
for(int dep1 = 0; dep1 != edges.size(); dep1++) {
|
||||
setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".NodeEnd", std::to_string(edges[dep1].nodeEnd));
|
||||
setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".NodeFrom", std::to_string(edges[dep1].nodeFrom));
|
||||
}
|
||||
}
|
||||
|
||||
long AddTaskFlowEdgesRequest::getDagId() const {
|
||||
return dagId_;
|
||||
}
|
||||
@@ -55,3 +43,15 @@ void AddTaskFlowEdgesRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::vector<AddTaskFlowEdgesRequest::Edges> AddTaskFlowEdgesRequest::getEdges() const {
|
||||
return edges_;
|
||||
}
|
||||
|
||||
void AddTaskFlowEdgesRequest::setEdges(const std::vector<AddTaskFlowEdgesRequest::Edges> &edges) {
|
||||
edges_ = edges;
|
||||
for(int dep1 = 0; dep1 != edges.size(); dep1++) {
|
||||
setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".NodeEnd", std::to_string(edges[dep1].nodeEnd));
|
||||
setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".NodeFrom", std::to_string(edges[dep1].nodeFrom));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -25,24 +25,6 @@ BackFillRequest::BackFillRequest()
|
||||
|
||||
BackFillRequest::~BackFillRequest() {}
|
||||
|
||||
std::string BackFillRequest::getBackFillDateBegin() const {
|
||||
return backFillDateBegin_;
|
||||
}
|
||||
|
||||
void BackFillRequest::setBackFillDateBegin(const std::string &backFillDateBegin) {
|
||||
backFillDateBegin_ = backFillDateBegin;
|
||||
setParameter(std::string("BackFillDateBegin"), backFillDateBegin);
|
||||
}
|
||||
|
||||
std::string BackFillRequest::getBackFillDate() const {
|
||||
return backFillDate_;
|
||||
}
|
||||
|
||||
void BackFillRequest::setBackFillDate(const std::string &backFillDate) {
|
||||
backFillDate_ = backFillDate;
|
||||
setParameter(std::string("BackFillDate"), backFillDate);
|
||||
}
|
||||
|
||||
long BackFillRequest::getDagId() const {
|
||||
return dagId_;
|
||||
}
|
||||
@@ -70,15 +52,6 @@ void BackFillRequest::setIsTriggerSubTree(bool isTriggerSubTree) {
|
||||
setParameter(std::string("IsTriggerSubTree"), isTriggerSubTree ? "true" : "false");
|
||||
}
|
||||
|
||||
bool BackFillRequest::getAsc() const {
|
||||
return asc_;
|
||||
}
|
||||
|
||||
void BackFillRequest::setAsc(bool asc) {
|
||||
asc_ = asc;
|
||||
setParameter(std::string("Asc"), asc ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string BackFillRequest::getBackFillDateEnd() const {
|
||||
return backFillDateEnd_;
|
||||
}
|
||||
@@ -88,15 +61,6 @@ void BackFillRequest::setBackFillDateEnd(const std::string &backFillDateEnd) {
|
||||
setParameter(std::string("BackFillDateEnd"), backFillDateEnd);
|
||||
}
|
||||
|
||||
int BackFillRequest::getInterval() const {
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void BackFillRequest::setInterval(int interval) {
|
||||
interval_ = interval;
|
||||
setParameter(std::string("Interval"), std::to_string(interval));
|
||||
}
|
||||
|
||||
long BackFillRequest::getHistoryDagId() const {
|
||||
return historyDagId_;
|
||||
}
|
||||
@@ -117,3 +81,39 @@ void BackFillRequest::setStartNodeIds(const std::vector<BackFillRequest::long> &
|
||||
}
|
||||
}
|
||||
|
||||
std::string BackFillRequest::getBackFillDateBegin() const {
|
||||
return backFillDateBegin_;
|
||||
}
|
||||
|
||||
void BackFillRequest::setBackFillDateBegin(const std::string &backFillDateBegin) {
|
||||
backFillDateBegin_ = backFillDateBegin;
|
||||
setParameter(std::string("BackFillDateBegin"), backFillDateBegin);
|
||||
}
|
||||
|
||||
std::string BackFillRequest::getBackFillDate() const {
|
||||
return backFillDate_;
|
||||
}
|
||||
|
||||
void BackFillRequest::setBackFillDate(const std::string &backFillDate) {
|
||||
backFillDate_ = backFillDate;
|
||||
setParameter(std::string("BackFillDate"), backFillDate);
|
||||
}
|
||||
|
||||
bool BackFillRequest::getAsc() const {
|
||||
return asc_;
|
||||
}
|
||||
|
||||
void BackFillRequest::setAsc(bool asc) {
|
||||
asc_ = asc;
|
||||
setParameter(std::string("Asc"), asc ? "true" : "false");
|
||||
}
|
||||
|
||||
int BackFillRequest::getInterval() const {
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void BackFillRequest::setInterval(int interval) {
|
||||
interval_ = interval;
|
||||
setParameter(std::string("Interval"), std::to_string(interval));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ BuyPayAsYouGoOrderRequest::BuyPayAsYouGoOrderRequest()
|
||||
|
||||
BuyPayAsYouGoOrderRequest::~BuyPayAsYouGoOrderRequest() {}
|
||||
|
||||
int BuyPayAsYouGoOrderRequest::getInsNum() const {
|
||||
return insNum_;
|
||||
}
|
||||
|
||||
void BuyPayAsYouGoOrderRequest::setInsNum(int insNum) {
|
||||
insNum_ = insNum;
|
||||
setParameter(std::string("InsNum"), std::to_string(insNum));
|
||||
}
|
||||
|
||||
long BuyPayAsYouGoOrderRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,15 +34,6 @@ void BuyPayAsYouGoOrderRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string BuyPayAsYouGoOrderRequest::getVersionType() const {
|
||||
return versionType_;
|
||||
}
|
||||
|
||||
void BuyPayAsYouGoOrderRequest::setVersionType(const std::string &versionType) {
|
||||
versionType_ = versionType;
|
||||
setParameter(std::string("VersionType"), versionType);
|
||||
}
|
||||
|
||||
std::string BuyPayAsYouGoOrderRequest::getCommodityType() const {
|
||||
return commodityType_;
|
||||
}
|
||||
@@ -61,3 +43,21 @@ void BuyPayAsYouGoOrderRequest::setCommodityType(const std::string &commodityTyp
|
||||
setParameter(std::string("CommodityType"), commodityType);
|
||||
}
|
||||
|
||||
int BuyPayAsYouGoOrderRequest::getInsNum() const {
|
||||
return insNum_;
|
||||
}
|
||||
|
||||
void BuyPayAsYouGoOrderRequest::setInsNum(int insNum) {
|
||||
insNum_ = insNum;
|
||||
setParameter(std::string("InsNum"), std::to_string(insNum));
|
||||
}
|
||||
|
||||
std::string BuyPayAsYouGoOrderRequest::getVersionType() const {
|
||||
return versionType_;
|
||||
}
|
||||
|
||||
void BuyPayAsYouGoOrderRequest::setVersionType(const std::string &versionType) {
|
||||
versionType_ = versionType;
|
||||
setParameter(std::string("VersionType"), versionType);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,24 @@ ChangeColumnSecLevelRequest::ChangeColumnSecLevelRequest()
|
||||
|
||||
ChangeColumnSecLevelRequest::~ChangeColumnSecLevelRequest() {}
|
||||
|
||||
long ChangeColumnSecLevelRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void ChangeColumnSecLevelRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string ChangeColumnSecLevelRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void ChangeColumnSecLevelRequest::setTableName(const std::string &tableName) {
|
||||
tableName_ = tableName;
|
||||
setParameter(std::string("TableName"), tableName);
|
||||
}
|
||||
|
||||
std::string ChangeColumnSecLevelRequest::getSchemaName() const {
|
||||
return schemaName_;
|
||||
}
|
||||
@@ -61,15 +79,6 @@ void ChangeColumnSecLevelRequest::setColumnName(const std::string &columnName) {
|
||||
setParameter(std::string("ColumnName"), columnName);
|
||||
}
|
||||
|
||||
long ChangeColumnSecLevelRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void ChangeColumnSecLevelRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long ChangeColumnSecLevelRequest::getDbId() const {
|
||||
return dbId_;
|
||||
}
|
||||
@@ -79,12 +88,3 @@ void ChangeColumnSecLevelRequest::setDbId(long dbId) {
|
||||
setParameter(std::string("DbId"), std::to_string(dbId));
|
||||
}
|
||||
|
||||
std::string ChangeColumnSecLevelRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void ChangeColumnSecLevelRequest::setTableName(const std::string &tableName) {
|
||||
tableName_ = tableName;
|
||||
setParameter(std::string("TableName"), tableName);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ ChangeLhDagOwnerRequest::ChangeLhDagOwnerRequest()
|
||||
|
||||
ChangeLhDagOwnerRequest::~ChangeLhDagOwnerRequest() {}
|
||||
|
||||
long ChangeLhDagOwnerRequest::getOwnerUserId() const {
|
||||
return ownerUserId_;
|
||||
}
|
||||
|
||||
void ChangeLhDagOwnerRequest::setOwnerUserId(long ownerUserId) {
|
||||
ownerUserId_ = ownerUserId;
|
||||
setParameter(std::string("OwnerUserId"), std::to_string(ownerUserId));
|
||||
}
|
||||
|
||||
long ChangeLhDagOwnerRequest::getDagId() const {
|
||||
return dagId_;
|
||||
}
|
||||
@@ -52,3 +43,12 @@ void ChangeLhDagOwnerRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long ChangeLhDagOwnerRequest::getOwnerUserId() const {
|
||||
return ownerUserId_;
|
||||
}
|
||||
|
||||
void ChangeLhDagOwnerRequest::setOwnerUserId(long ownerUserId) {
|
||||
ownerUserId_ = ownerUserId;
|
||||
setParameter(std::string("OwnerUserId"), std::to_string(ownerUserId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,15 @@ CloseOrderRequest::CloseOrderRequest()
|
||||
|
||||
CloseOrderRequest::~CloseOrderRequest() {}
|
||||
|
||||
long CloseOrderRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void CloseOrderRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long CloseOrderRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
@@ -43,12 +52,3 @@ void CloseOrderRequest::setCloseReason(const std::string &closeReason) {
|
||||
setParameter(std::string("CloseReason"), closeReason);
|
||||
}
|
||||
|
||||
long CloseOrderRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void CloseOrderRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
|
||||
@@ -34,15 +34,6 @@ void CreateDataCorrectOrderRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string CreateDataCorrectOrderRequest::getAttachmentKey() const {
|
||||
return attachmentKey_;
|
||||
}
|
||||
|
||||
void CreateDataCorrectOrderRequest::setAttachmentKey(const std::string &attachmentKey) {
|
||||
attachmentKey_ = attachmentKey;
|
||||
setParameter(std::string("AttachmentKey"), attachmentKey);
|
||||
}
|
||||
|
||||
CreateDataCorrectOrderRequest::Param CreateDataCorrectOrderRequest::getParam() const {
|
||||
return param_;
|
||||
}
|
||||
@@ -64,15 +55,6 @@ void CreateDataCorrectOrderRequest::setParam(const CreateDataCorrectOrderRequest
|
||||
setParameter(std::string("Param") + ".AttachmentName", param.attachmentName);
|
||||
}
|
||||
|
||||
std::string CreateDataCorrectOrderRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateDataCorrectOrderRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
std::vector<CreateDataCorrectOrderRequest::long> CreateDataCorrectOrderRequest::getRelatedUserList() const {
|
||||
return relatedUserList_;
|
||||
}
|
||||
@@ -84,3 +66,21 @@ void CreateDataCorrectOrderRequest::setRelatedUserList(const std::vector<CreateD
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateDataCorrectOrderRequest::getAttachmentKey() const {
|
||||
return attachmentKey_;
|
||||
}
|
||||
|
||||
void CreateDataCorrectOrderRequest::setAttachmentKey(const std::string &attachmentKey) {
|
||||
attachmentKey_ = attachmentKey;
|
||||
setParameter(std::string("AttachmentKey"), attachmentKey);
|
||||
}
|
||||
|
||||
std::string CreateDataCorrectOrderRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateDataCorrectOrderRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,15 +34,6 @@ void CreateDataCronClearOrderRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string CreateDataCronClearOrderRequest::getAttachmentKey() const {
|
||||
return attachmentKey_;
|
||||
}
|
||||
|
||||
void CreateDataCronClearOrderRequest::setAttachmentKey(const std::string &attachmentKey) {
|
||||
attachmentKey_ = attachmentKey;
|
||||
setParameter(std::string("AttachmentKey"), attachmentKey);
|
||||
}
|
||||
|
||||
CreateDataCronClearOrderRequest::Param CreateDataCronClearOrderRequest::getParam() const {
|
||||
return param_;
|
||||
}
|
||||
@@ -66,15 +57,6 @@ void CreateDataCronClearOrderRequest::setParam(const CreateDataCronClearOrderReq
|
||||
setParameter(std::string("Param") + ".specifyDuration", param.specifyDuration ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateDataCronClearOrderRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateDataCronClearOrderRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
std::vector<CreateDataCronClearOrderRequest::long> CreateDataCronClearOrderRequest::getRelatedUserList() const {
|
||||
return relatedUserList_;
|
||||
}
|
||||
@@ -86,3 +68,21 @@ void CreateDataCronClearOrderRequest::setRelatedUserList(const std::vector<Creat
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateDataCronClearOrderRequest::getAttachmentKey() const {
|
||||
return attachmentKey_;
|
||||
}
|
||||
|
||||
void CreateDataCronClearOrderRequest::setAttachmentKey(const std::string &attachmentKey) {
|
||||
attachmentKey_ = attachmentKey;
|
||||
setParameter(std::string("AttachmentKey"), attachmentKey);
|
||||
}
|
||||
|
||||
std::string CreateDataCronClearOrderRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateDataCronClearOrderRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,15 +34,6 @@ void CreateDataImportOrderRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string CreateDataImportOrderRequest::getAttachmentKey() const {
|
||||
return attachmentKey_;
|
||||
}
|
||||
|
||||
void CreateDataImportOrderRequest::setAttachmentKey(const std::string &attachmentKey) {
|
||||
attachmentKey_ = attachmentKey;
|
||||
setParameter(std::string("AttachmentKey"), attachmentKey);
|
||||
}
|
||||
|
||||
CreateDataImportOrderRequest::Param CreateDataImportOrderRequest::getParam() const {
|
||||
return param_;
|
||||
}
|
||||
@@ -67,15 +58,6 @@ void CreateDataImportOrderRequest::setParam(const CreateDataImportOrderRequest::
|
||||
setParameter(std::string("Param") + ".IgnoreError", param.ignoreError ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateDataImportOrderRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateDataImportOrderRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
std::vector<CreateDataImportOrderRequest::long> CreateDataImportOrderRequest::getRelatedUserList() const {
|
||||
return relatedUserList_;
|
||||
}
|
||||
@@ -87,3 +69,21 @@ void CreateDataImportOrderRequest::setRelatedUserList(const std::vector<CreateDa
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateDataImportOrderRequest::getAttachmentKey() const {
|
||||
return attachmentKey_;
|
||||
}
|
||||
|
||||
void CreateDataImportOrderRequest::setAttachmentKey(const std::string &attachmentKey) {
|
||||
attachmentKey_ = attachmentKey;
|
||||
setParameter(std::string("AttachmentKey"), attachmentKey);
|
||||
}
|
||||
|
||||
std::string CreateDataImportOrderRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateDataImportOrderRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,15 +34,6 @@ void CreateFreeLockCorrectOrderRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string CreateFreeLockCorrectOrderRequest::getAttachmentKey() const {
|
||||
return attachmentKey_;
|
||||
}
|
||||
|
||||
void CreateFreeLockCorrectOrderRequest::setAttachmentKey(const std::string &attachmentKey) {
|
||||
attachmentKey_ = attachmentKey;
|
||||
setParameter(std::string("AttachmentKey"), attachmentKey);
|
||||
}
|
||||
|
||||
CreateFreeLockCorrectOrderRequest::Param CreateFreeLockCorrectOrderRequest::getParam() const {
|
||||
return param_;
|
||||
}
|
||||
@@ -63,15 +54,6 @@ void CreateFreeLockCorrectOrderRequest::setParam(const CreateFreeLockCorrectOrde
|
||||
setParameter(std::string("Param") + ".AttachmentName", param.attachmentName);
|
||||
}
|
||||
|
||||
std::string CreateFreeLockCorrectOrderRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateFreeLockCorrectOrderRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
std::vector<CreateFreeLockCorrectOrderRequest::long> CreateFreeLockCorrectOrderRequest::getRelatedUserList() const {
|
||||
return relatedUserList_;
|
||||
}
|
||||
@@ -83,3 +65,21 @@ void CreateFreeLockCorrectOrderRequest::setRelatedUserList(const std::vector<Cre
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateFreeLockCorrectOrderRequest::getAttachmentKey() const {
|
||||
return attachmentKey_;
|
||||
}
|
||||
|
||||
void CreateFreeLockCorrectOrderRequest::setAttachmentKey(const std::string &attachmentKey) {
|
||||
attachmentKey_ = attachmentKey;
|
||||
setParameter(std::string("AttachmentKey"), attachmentKey);
|
||||
}
|
||||
|
||||
std::string CreateFreeLockCorrectOrderRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateFreeLockCorrectOrderRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ CreateLakeHouseSpaceRequest::CreateLakeHouseSpaceRequest()
|
||||
|
||||
CreateLakeHouseSpaceRequest::~CreateLakeHouseSpaceRequest() {}
|
||||
|
||||
std::string CreateLakeHouseSpaceRequest::getSpaceName() const {
|
||||
return spaceName_;
|
||||
}
|
||||
|
||||
void CreateLakeHouseSpaceRequest::setSpaceName(const std::string &spaceName) {
|
||||
spaceName_ = spaceName;
|
||||
setParameter(std::string("SpaceName"), spaceName);
|
||||
}
|
||||
|
||||
std::string CreateLakeHouseSpaceRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
@@ -61,15 +52,6 @@ void CreateLakeHouseSpaceRequest::setMode(const std::string &mode) {
|
||||
setParameter(std::string("Mode"), mode);
|
||||
}
|
||||
|
||||
std::string CreateLakeHouseSpaceRequest::getDwDbType() const {
|
||||
return dwDbType_;
|
||||
}
|
||||
|
||||
void CreateLakeHouseSpaceRequest::setDwDbType(const std::string &dwDbType) {
|
||||
dwDbType_ = dwDbType;
|
||||
setParameter(std::string("DwDbType"), dwDbType);
|
||||
}
|
||||
|
||||
std::string CreateLakeHouseSpaceRequest::getProdDbId() const {
|
||||
return prodDbId_;
|
||||
}
|
||||
@@ -88,6 +70,24 @@ void CreateLakeHouseSpaceRequest::setDevDbId(const std::string &devDbId) {
|
||||
setParameter(std::string("DevDbId"), devDbId);
|
||||
}
|
||||
|
||||
std::string CreateLakeHouseSpaceRequest::getSpaceName() const {
|
||||
return spaceName_;
|
||||
}
|
||||
|
||||
void CreateLakeHouseSpaceRequest::setSpaceName(const std::string &spaceName) {
|
||||
spaceName_ = spaceName;
|
||||
setParameter(std::string("SpaceName"), spaceName);
|
||||
}
|
||||
|
||||
std::string CreateLakeHouseSpaceRequest::getDwDbType() const {
|
||||
return dwDbType_;
|
||||
}
|
||||
|
||||
void CreateLakeHouseSpaceRequest::setDwDbType(const std::string &dwDbType) {
|
||||
dwDbType_ = dwDbType;
|
||||
setParameter(std::string("DwDbType"), dwDbType);
|
||||
}
|
||||
|
||||
std::string CreateLakeHouseSpaceRequest::getSpaceConfig() const {
|
||||
return spaceConfig_;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,15 @@ void CreateLogicDatabaseRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string CreateLogicDatabaseRequest::getAlias() const {
|
||||
return alias_;
|
||||
}
|
||||
|
||||
void CreateLogicDatabaseRequest::setAlias(const std::string &alias) {
|
||||
alias_ = alias;
|
||||
setParameter(std::string("Alias"), alias);
|
||||
}
|
||||
|
||||
std::vector<CreateLogicDatabaseRequest::long> CreateLogicDatabaseRequest::getDatabaseIds() const {
|
||||
return databaseIds_;
|
||||
}
|
||||
@@ -45,12 +54,3 @@ void CreateLogicDatabaseRequest::setDatabaseIds(const std::vector<CreateLogicDat
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateLogicDatabaseRequest::getAlias() const {
|
||||
return alias_;
|
||||
}
|
||||
|
||||
void CreateLogicDatabaseRequest::setAlias(const std::string &alias) {
|
||||
alias_ = alias;
|
||||
setParameter(std::string("Alias"), alias);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,24 +43,6 @@ void CreateOrderRequest::setPluginType(const std::string &pluginType) {
|
||||
setParameter(std::string("PluginType"), pluginType);
|
||||
}
|
||||
|
||||
std::string CreateOrderRequest::getAttachmentKey() const {
|
||||
return attachmentKey_;
|
||||
}
|
||||
|
||||
void CreateOrderRequest::setAttachmentKey(const std::string &attachmentKey) {
|
||||
attachmentKey_ = attachmentKey;
|
||||
setParameter(std::string("AttachmentKey"), attachmentKey);
|
||||
}
|
||||
|
||||
std::string CreateOrderRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateOrderRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
std::map<std::string, std::string> CreateOrderRequest::getPluginParam() const {
|
||||
return pluginParam_;
|
||||
}
|
||||
@@ -79,3 +61,21 @@ void CreateOrderRequest::setRelatedUserList(const std::string &relatedUserList)
|
||||
setParameter(std::string("RelatedUserList"), relatedUserList);
|
||||
}
|
||||
|
||||
std::string CreateOrderRequest::getAttachmentKey() const {
|
||||
return attachmentKey_;
|
||||
}
|
||||
|
||||
void CreateOrderRequest::setAttachmentKey(const std::string &attachmentKey) {
|
||||
attachmentKey_ = attachmentKey;
|
||||
setParameter(std::string("AttachmentKey"), attachmentKey);
|
||||
}
|
||||
|
||||
std::string CreateOrderRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateOrderRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
|
||||
@@ -52,15 +52,6 @@ void CreateProxyAccessRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string CreateProxyAccessRequest::getIndepPassword() const {
|
||||
return indepPassword_;
|
||||
}
|
||||
|
||||
void CreateProxyAccessRequest::setIndepPassword(const std::string &indepPassword) {
|
||||
indepPassword_ = indepPassword;
|
||||
setParameter(std::string("IndepPassword"), indepPassword);
|
||||
}
|
||||
|
||||
long CreateProxyAccessRequest::getProxyId() const {
|
||||
return proxyId_;
|
||||
}
|
||||
@@ -70,3 +61,12 @@ void CreateProxyAccessRequest::setProxyId(long proxyId) {
|
||||
setParameter(std::string("ProxyId"), std::to_string(proxyId));
|
||||
}
|
||||
|
||||
std::string CreateProxyAccessRequest::getIndepPassword() const {
|
||||
return indepPassword_;
|
||||
}
|
||||
|
||||
void CreateProxyAccessRequest::setIndepPassword(const std::string &indepPassword) {
|
||||
indepPassword_ = indepPassword;
|
||||
setParameter(std::string("IndepPassword"), indepPassword);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ CreatePublishGroupTaskRequest::CreatePublishGroupTaskRequest()
|
||||
|
||||
CreatePublishGroupTaskRequest::~CreatePublishGroupTaskRequest() {}
|
||||
|
||||
long CreatePublishGroupTaskRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void CreatePublishGroupTaskRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long CreatePublishGroupTaskRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,15 +34,6 @@ void CreatePublishGroupTaskRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
int CreatePublishGroupTaskRequest::getDbId() const {
|
||||
return dbId_;
|
||||
}
|
||||
|
||||
void CreatePublishGroupTaskRequest::setDbId(int dbId) {
|
||||
dbId_ = dbId;
|
||||
setParameter(std::string("DbId"), std::to_string(dbId));
|
||||
}
|
||||
|
||||
std::string CreatePublishGroupTaskRequest::getPlanTime() const {
|
||||
return planTime_;
|
||||
}
|
||||
@@ -61,15 +43,6 @@ void CreatePublishGroupTaskRequest::setPlanTime(const std::string &planTime) {
|
||||
setParameter(std::string("PlanTime"), planTime);
|
||||
}
|
||||
|
||||
bool CreatePublishGroupTaskRequest::getLogic() const {
|
||||
return logic_;
|
||||
}
|
||||
|
||||
void CreatePublishGroupTaskRequest::setLogic(bool logic) {
|
||||
logic_ = logic;
|
||||
setParameter(std::string("Logic"), logic ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreatePublishGroupTaskRequest::getPublishStrategy() const {
|
||||
return publishStrategy_;
|
||||
}
|
||||
@@ -79,3 +52,30 @@ void CreatePublishGroupTaskRequest::setPublishStrategy(const std::string &publis
|
||||
setParameter(std::string("PublishStrategy"), publishStrategy);
|
||||
}
|
||||
|
||||
long CreatePublishGroupTaskRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void CreatePublishGroupTaskRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
int CreatePublishGroupTaskRequest::getDbId() const {
|
||||
return dbId_;
|
||||
}
|
||||
|
||||
void CreatePublishGroupTaskRequest::setDbId(int dbId) {
|
||||
dbId_ = dbId;
|
||||
setParameter(std::string("DbId"), std::to_string(dbId));
|
||||
}
|
||||
|
||||
bool CreatePublishGroupTaskRequest::getLogic() const {
|
||||
return logic_;
|
||||
}
|
||||
|
||||
void CreatePublishGroupTaskRequest::setLogic(bool logic) {
|
||||
logic_ = logic;
|
||||
setParameter(std::string("Logic"), logic ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -47,15 +47,6 @@ void CreateSQLReviewOrderRequest::setParam(const CreateSQLReviewOrderRequest::Pa
|
||||
setParameter(std::string("Param") + ".DbId", std::to_string(param.dbId));
|
||||
}
|
||||
|
||||
std::string CreateSQLReviewOrderRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateSQLReviewOrderRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
std::vector<CreateSQLReviewOrderRequest::long> CreateSQLReviewOrderRequest::getRelatedUserList() const {
|
||||
return relatedUserList_;
|
||||
}
|
||||
@@ -67,3 +58,12 @@ void CreateSQLReviewOrderRequest::setRelatedUserList(const std::vector<CreateSQL
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateSQLReviewOrderRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateSQLReviewOrderRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,15 +34,6 @@ void CreateStandardGroupRequest::setDescription(const std::string &description)
|
||||
setParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
std::string CreateStandardGroupRequest::getGroupName() const {
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
void CreateStandardGroupRequest::setGroupName(const std::string &groupName) {
|
||||
groupName_ = groupName;
|
||||
setParameter(std::string("GroupName"), groupName);
|
||||
}
|
||||
|
||||
long CreateStandardGroupRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -52,6 +43,15 @@ void CreateStandardGroupRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string CreateStandardGroupRequest::getGroupName() const {
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
void CreateStandardGroupRequest::setGroupName(const std::string &groupName) {
|
||||
groupName_ = groupName;
|
||||
setParameter(std::string("GroupName"), groupName);
|
||||
}
|
||||
|
||||
std::string CreateStandardGroupRequest::getDbType() const {
|
||||
return dbType_;
|
||||
}
|
||||
|
||||
@@ -34,15 +34,6 @@ void CreateStructSyncOrderRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string CreateStructSyncOrderRequest::getAttachmentKey() const {
|
||||
return attachmentKey_;
|
||||
}
|
||||
|
||||
void CreateStructSyncOrderRequest::setAttachmentKey(const std::string &attachmentKey) {
|
||||
attachmentKey_ = attachmentKey;
|
||||
setParameter(std::string("AttachmentKey"), attachmentKey);
|
||||
}
|
||||
|
||||
CreateStructSyncOrderRequest::Param CreateStructSyncOrderRequest::getParam() const {
|
||||
return param_;
|
||||
}
|
||||
@@ -65,15 +56,6 @@ void CreateStructSyncOrderRequest::setParam(const CreateStructSyncOrderRequest::
|
||||
setParameter(std::string("Param") + ".Target.Logic", param.target.logic ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateStructSyncOrderRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateStructSyncOrderRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
std::vector<CreateStructSyncOrderRequest::long> CreateStructSyncOrderRequest::getRelatedUserList() const {
|
||||
return relatedUserList_;
|
||||
}
|
||||
@@ -85,3 +67,21 @@ void CreateStructSyncOrderRequest::setRelatedUserList(const std::vector<CreateSt
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateStructSyncOrderRequest::getAttachmentKey() const {
|
||||
return attachmentKey_;
|
||||
}
|
||||
|
||||
void CreateStructSyncOrderRequest::setAttachmentKey(const std::string &attachmentKey) {
|
||||
attachmentKey_ = attachmentKey;
|
||||
setParameter(std::string("AttachmentKey"), attachmentKey);
|
||||
}
|
||||
|
||||
std::string CreateStructSyncOrderRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
void CreateStructSyncOrderRequest::setComment(const std::string &comment) {
|
||||
comment_ = comment;
|
||||
setParameter(std::string("Comment"), comment);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ CreateTaskRequest::CreateTaskRequest()
|
||||
|
||||
CreateTaskRequest::~CreateTaskRequest() {}
|
||||
|
||||
std::string CreateTaskRequest::getTimeVariables() const {
|
||||
return timeVariables_;
|
||||
}
|
||||
|
||||
void CreateTaskRequest::setTimeVariables(const std::string &timeVariables) {
|
||||
timeVariables_ = timeVariables;
|
||||
setParameter(std::string("TimeVariables"), timeVariables);
|
||||
}
|
||||
|
||||
std::string CreateTaskRequest::getNodeType() const {
|
||||
return nodeType_;
|
||||
}
|
||||
@@ -61,15 +52,6 @@ void CreateTaskRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string CreateTaskRequest::getNodeName() const {
|
||||
return nodeName_;
|
||||
}
|
||||
|
||||
void CreateTaskRequest::setNodeName(const std::string &nodeName) {
|
||||
nodeName_ = nodeName;
|
||||
setParameter(std::string("NodeName"), nodeName);
|
||||
}
|
||||
|
||||
std::string CreateTaskRequest::getNodeContent() const {
|
||||
return nodeContent_;
|
||||
}
|
||||
@@ -97,3 +79,21 @@ void CreateTaskRequest::setGraphParam(const std::string &graphParam) {
|
||||
setParameter(std::string("GraphParam"), graphParam);
|
||||
}
|
||||
|
||||
std::string CreateTaskRequest::getTimeVariables() const {
|
||||
return timeVariables_;
|
||||
}
|
||||
|
||||
void CreateTaskRequest::setTimeVariables(const std::string &timeVariables) {
|
||||
timeVariables_ = timeVariables;
|
||||
setParameter(std::string("TimeVariables"), timeVariables);
|
||||
}
|
||||
|
||||
std::string CreateTaskRequest::getNodeName() const {
|
||||
return nodeName_;
|
||||
}
|
||||
|
||||
void CreateTaskRequest::setNodeName(const std::string &nodeName) {
|
||||
nodeName_ = nodeName;
|
||||
setParameter(std::string("NodeName"), nodeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,24 @@ CreateUploadFileJobRequest::CreateUploadFileJobRequest()
|
||||
|
||||
CreateUploadFileJobRequest::~CreateUploadFileJobRequest() {}
|
||||
|
||||
long CreateUploadFileJobRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void CreateUploadFileJobRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string CreateUploadFileJobRequest::getUploadURL() const {
|
||||
return uploadURL_;
|
||||
}
|
||||
|
||||
void CreateUploadFileJobRequest::setUploadURL(const std::string &uploadURL) {
|
||||
uploadURL_ = uploadURL;
|
||||
setParameter(std::string("UploadURL"), uploadURL);
|
||||
}
|
||||
|
||||
std::string CreateUploadFileJobRequest::getUploadType() const {
|
||||
return uploadType_;
|
||||
}
|
||||
@@ -43,15 +61,6 @@ void CreateUploadFileJobRequest::setFileSource(const std::string &fileSource) {
|
||||
setParameter(std::string("FileSource"), fileSource);
|
||||
}
|
||||
|
||||
long CreateUploadFileJobRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void CreateUploadFileJobRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string CreateUploadFileJobRequest::getFileName() const {
|
||||
return fileName_;
|
||||
}
|
||||
@@ -61,12 +70,3 @@ void CreateUploadFileJobRequest::setFileName(const std::string &fileName) {
|
||||
setParameter(std::string("FileName"), fileName);
|
||||
}
|
||||
|
||||
std::string CreateUploadFileJobRequest::getUploadURL() const {
|
||||
return uploadURL_;
|
||||
}
|
||||
|
||||
void CreateUploadFileJobRequest::setUploadURL(const std::string &uploadURL) {
|
||||
uploadURL_ = uploadURL;
|
||||
setParameter(std::string("UploadURL"), uploadURL);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,15 @@ CreateUploadOSSFileJobRequest::CreateUploadOSSFileJobRequest()
|
||||
|
||||
CreateUploadOSSFileJobRequest::~CreateUploadOSSFileJobRequest() {}
|
||||
|
||||
long CreateUploadOSSFileJobRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void CreateUploadOSSFileJobRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string CreateUploadOSSFileJobRequest::getUploadType() const {
|
||||
return uploadType_;
|
||||
}
|
||||
@@ -43,15 +52,6 @@ void CreateUploadOSSFileJobRequest::setFileSource(const std::string &fileSource)
|
||||
setParameter(std::string("FileSource"), fileSource);
|
||||
}
|
||||
|
||||
long CreateUploadOSSFileJobRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void CreateUploadOSSFileJobRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string CreateUploadOSSFileJobRequest::getFileName() const {
|
||||
return fileName_;
|
||||
}
|
||||
|
||||
@@ -43,15 +43,6 @@ void DeleteInstanceRequest::setSid(const std::string &sid) {
|
||||
setParameter(std::string("Sid"), sid);
|
||||
}
|
||||
|
||||
int DeleteInstanceRequest::getPort() const {
|
||||
return port_;
|
||||
}
|
||||
|
||||
void DeleteInstanceRequest::setPort(int port) {
|
||||
port_ = port;
|
||||
setParameter(std::string("Port"), std::to_string(port));
|
||||
}
|
||||
|
||||
std::string DeleteInstanceRequest::getHost() const {
|
||||
return host_;
|
||||
}
|
||||
@@ -61,3 +52,12 @@ void DeleteInstanceRequest::setHost(const std::string &host) {
|
||||
setParameter(std::string("Host"), host);
|
||||
}
|
||||
|
||||
int DeleteInstanceRequest::getPort() const {
|
||||
return port_;
|
||||
}
|
||||
|
||||
void DeleteInstanceRequest::setPort(int port) {
|
||||
port_ = port;
|
||||
setParameter(std::string("Port"), std::to_string(port));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,15 +43,6 @@ void DeleteLhMembersRequest::setObjectType(int objectType) {
|
||||
setParameter(std::string("ObjectType"), std::to_string(objectType));
|
||||
}
|
||||
|
||||
long DeleteLhMembersRequest::getObjectId() const {
|
||||
return objectId_;
|
||||
}
|
||||
|
||||
void DeleteLhMembersRequest::setObjectId(long objectId) {
|
||||
objectId_ = objectId;
|
||||
setParameter(std::string("ObjectId"), std::to_string(objectId));
|
||||
}
|
||||
|
||||
std::vector<DeleteLhMembersRequest::int> DeleteLhMembersRequest::getMemberIds() const {
|
||||
return memberIds_;
|
||||
}
|
||||
@@ -63,3 +54,12 @@ void DeleteLhMembersRequest::setMemberIds(const std::vector<DeleteLhMembersReque
|
||||
}
|
||||
}
|
||||
|
||||
long DeleteLhMembersRequest::getObjectId() const {
|
||||
return objectId_;
|
||||
}
|
||||
|
||||
void DeleteLhMembersRequest::setObjectId(long objectId) {
|
||||
objectId_ = objectId;
|
||||
setParameter(std::string("ObjectId"), std::to_string(objectId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ DeleteLogicTableRouteConfigRequest::DeleteLogicTableRouteConfigRequest()
|
||||
|
||||
DeleteLogicTableRouteConfigRequest::~DeleteLogicTableRouteConfigRequest() {}
|
||||
|
||||
std::string DeleteLogicTableRouteConfigRequest::getRouteKey() const {
|
||||
return routeKey_;
|
||||
}
|
||||
|
||||
void DeleteLogicTableRouteConfigRequest::setRouteKey(const std::string &routeKey) {
|
||||
routeKey_ = routeKey;
|
||||
setParameter(std::string("RouteKey"), routeKey);
|
||||
}
|
||||
|
||||
long DeleteLogicTableRouteConfigRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -52,3 +43,12 @@ void DeleteLogicTableRouteConfigRequest::setTableId(long tableId) {
|
||||
setParameter(std::string("TableId"), std::to_string(tableId));
|
||||
}
|
||||
|
||||
std::string DeleteLogicTableRouteConfigRequest::getRouteKey() const {
|
||||
return routeKey_;
|
||||
}
|
||||
|
||||
void DeleteLogicTableRouteConfigRequest::setRouteKey(const std::string &routeKey) {
|
||||
routeKey_ = routeKey;
|
||||
setParameter(std::string("RouteKey"), routeKey);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,6 +43,15 @@ void EditLogicDatabaseRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string EditLogicDatabaseRequest::getAlias() const {
|
||||
return alias_;
|
||||
}
|
||||
|
||||
void EditLogicDatabaseRequest::setAlias(const std::string &alias) {
|
||||
alias_ = alias;
|
||||
setParameter(std::string("Alias"), alias);
|
||||
}
|
||||
|
||||
std::vector<EditLogicDatabaseRequest::long> EditLogicDatabaseRequest::getDatabaseIds() const {
|
||||
return databaseIds_;
|
||||
}
|
||||
@@ -54,12 +63,3 @@ void EditLogicDatabaseRequest::setDatabaseIds(const std::vector<EditLogicDatabas
|
||||
}
|
||||
}
|
||||
|
||||
std::string EditLogicDatabaseRequest::getAlias() const {
|
||||
return alias_;
|
||||
}
|
||||
|
||||
void EditLogicDatabaseRequest::setAlias(const std::string &alias) {
|
||||
alias_ = alias;
|
||||
setParameter(std::string("Alias"), alias);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,24 +25,6 @@ ExecuteDataCorrectRequest::ExecuteDataCorrectRequest()
|
||||
|
||||
ExecuteDataCorrectRequest::~ExecuteDataCorrectRequest() {}
|
||||
|
||||
long ExecuteDataCorrectRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void ExecuteDataCorrectRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
std::string ExecuteDataCorrectRequest::getActionName() const {
|
||||
return actionName_;
|
||||
}
|
||||
|
||||
void ExecuteDataCorrectRequest::setActionName(const std::string &actionName) {
|
||||
actionName_ = actionName;
|
||||
setParameter(std::string("ActionName"), actionName);
|
||||
}
|
||||
|
||||
std::string ExecuteDataCorrectRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -61,3 +43,21 @@ void ExecuteDataCorrectRequest::setActionDetail(std::map<std::string, std::strin
|
||||
setParameter(std::string("ActionDetail"), actionDetail);
|
||||
}
|
||||
|
||||
long ExecuteDataCorrectRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void ExecuteDataCorrectRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
std::string ExecuteDataCorrectRequest::getActionName() const {
|
||||
return actionName_;
|
||||
}
|
||||
|
||||
void ExecuteDataCorrectRequest::setActionName(const std::string &actionName) {
|
||||
actionName_ = actionName;
|
||||
setParameter(std::string("ActionName"), actionName);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,24 +25,6 @@ ExecuteDataExportRequest::ExecuteDataExportRequest()
|
||||
|
||||
ExecuteDataExportRequest::~ExecuteDataExportRequest() {}
|
||||
|
||||
long ExecuteDataExportRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void ExecuteDataExportRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
std::string ExecuteDataExportRequest::getActionName() const {
|
||||
return actionName_;
|
||||
}
|
||||
|
||||
void ExecuteDataExportRequest::setActionName(const std::string &actionName) {
|
||||
actionName_ = actionName;
|
||||
setParameter(std::string("ActionName"), actionName);
|
||||
}
|
||||
|
||||
long ExecuteDataExportRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -61,3 +43,21 @@ void ExecuteDataExportRequest::setActionDetail(std::map<std::string, std::string
|
||||
setParameter(std::string("ActionDetail"), actionDetail);
|
||||
}
|
||||
|
||||
long ExecuteDataExportRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void ExecuteDataExportRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
std::string ExecuteDataExportRequest::getActionName() const {
|
||||
return actionName_;
|
||||
}
|
||||
|
||||
void ExecuteDataExportRequest::setActionName(const std::string &actionName) {
|
||||
actionName_ = actionName;
|
||||
setParameter(std::string("ActionName"), actionName);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ ExecuteScriptRequest::ExecuteScriptRequest()
|
||||
|
||||
ExecuteScriptRequest::~ExecuteScriptRequest() {}
|
||||
|
||||
std::string ExecuteScriptRequest::getScript() const {
|
||||
return script_;
|
||||
}
|
||||
|
||||
void ExecuteScriptRequest::setScript(const std::string &script) {
|
||||
script_ = script;
|
||||
setParameter(std::string("Script"), script);
|
||||
}
|
||||
|
||||
long ExecuteScriptRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,6 +34,15 @@ void ExecuteScriptRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string ExecuteScriptRequest::getScript() const {
|
||||
return script_;
|
||||
}
|
||||
|
||||
void ExecuteScriptRequest::setScript(const std::string &script) {
|
||||
script_ = script;
|
||||
setParameter(std::string("Script"), script);
|
||||
}
|
||||
|
||||
int ExecuteScriptRequest::getDbId() const {
|
||||
return dbId_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ ExecuteStructSyncRequest::ExecuteStructSyncRequest()
|
||||
|
||||
ExecuteStructSyncRequest::~ExecuteStructSyncRequest() {}
|
||||
|
||||
long ExecuteStructSyncRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void ExecuteStructSyncRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long ExecuteStructSyncRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,3 +34,12 @@ void ExecuteStructSyncRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long ExecuteStructSyncRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void ExecuteStructSyncRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,24 +25,6 @@ GetDataCorrectBackupFilesRequest::GetDataCorrectBackupFilesRequest()
|
||||
|
||||
GetDataCorrectBackupFilesRequest::~GetDataCorrectBackupFilesRequest() {}
|
||||
|
||||
long GetDataCorrectBackupFilesRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetDataCorrectBackupFilesRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
std::string GetDataCorrectBackupFilesRequest::getActionName() const {
|
||||
return actionName_;
|
||||
}
|
||||
|
||||
void GetDataCorrectBackupFilesRequest::setActionName(const std::string &actionName) {
|
||||
actionName_ = actionName;
|
||||
setParameter(std::string("ActionName"), actionName);
|
||||
}
|
||||
|
||||
long GetDataCorrectBackupFilesRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -61,3 +43,21 @@ void GetDataCorrectBackupFilesRequest::setActionDetail(std::map<std::string, std
|
||||
setParameter(std::string("ActionDetail"), actionDetail);
|
||||
}
|
||||
|
||||
long GetDataCorrectBackupFilesRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetDataCorrectBackupFilesRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
std::string GetDataCorrectBackupFilesRequest::getActionName() const {
|
||||
return actionName_;
|
||||
}
|
||||
|
||||
void GetDataCorrectBackupFilesRequest::setActionName(const std::string &actionName) {
|
||||
actionName_ = actionName;
|
||||
setParameter(std::string("ActionName"), actionName);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ GetDataCorrectOrderDetailRequest::GetDataCorrectOrderDetailRequest()
|
||||
|
||||
GetDataCorrectOrderDetailRequest::~GetDataCorrectOrderDetailRequest() {}
|
||||
|
||||
long GetDataCorrectOrderDetailRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetDataCorrectOrderDetailRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long GetDataCorrectOrderDetailRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,3 +34,12 @@ void GetDataCorrectOrderDetailRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long GetDataCorrectOrderDetailRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetDataCorrectOrderDetailRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dms-enterprise/model/GetDataCorrectRollbackFileRequest.h>
|
||||
|
||||
using AlibabaCloud::Dms_enterprise::Model::GetDataCorrectRollbackFileRequest;
|
||||
|
||||
GetDataCorrectRollbackFileRequest::GetDataCorrectRollbackFileRequest()
|
||||
: RpcServiceRequest("dms-enterprise", "2018-11-01", "GetDataCorrectRollbackFile") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDataCorrectRollbackFileRequest::~GetDataCorrectRollbackFileRequest() {}
|
||||
|
||||
long GetDataCorrectRollbackFileRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void GetDataCorrectRollbackFileRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long GetDataCorrectRollbackFileRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetDataCorrectRollbackFileRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
72
dms-enterprise/src/model/GetDataCorrectRollbackFileResult.cc
Normal file
72
dms-enterprise/src/model/GetDataCorrectRollbackFileResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dms-enterprise/model/GetDataCorrectRollbackFileResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dms_enterprise;
|
||||
using namespace AlibabaCloud::Dms_enterprise::Model;
|
||||
|
||||
GetDataCorrectRollbackFileResult::GetDataCorrectRollbackFileResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDataCorrectRollbackFileResult::GetDataCorrectRollbackFileResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDataCorrectRollbackFileResult::~GetDataCorrectRollbackFileResult()
|
||||
{}
|
||||
|
||||
void GetDataCorrectRollbackFileResult::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["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["FileUrl"].isNull())
|
||||
fileUrl_ = value["FileUrl"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetDataCorrectRollbackFileResult::getFileUrl()const
|
||||
{
|
||||
return fileUrl_;
|
||||
}
|
||||
|
||||
std::string GetDataCorrectRollbackFileResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string GetDataCorrectRollbackFileResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool GetDataCorrectRollbackFileResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ GetDataCorrectSQLFileRequest::GetDataCorrectSQLFileRequest()
|
||||
|
||||
GetDataCorrectSQLFileRequest::~GetDataCorrectSQLFileRequest() {}
|
||||
|
||||
long GetDataCorrectSQLFileRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetDataCorrectSQLFileRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long GetDataCorrectSQLFileRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,6 +34,15 @@ void GetDataCorrectSQLFileRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long GetDataCorrectSQLFileRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetDataCorrectSQLFileRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
std::string GetDataCorrectSQLFileRequest::getOrderActionName() const {
|
||||
return orderActionName_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ GetDataCorrectTaskDetailRequest::GetDataCorrectTaskDetailRequest()
|
||||
|
||||
GetDataCorrectTaskDetailRequest::~GetDataCorrectTaskDetailRequest() {}
|
||||
|
||||
long GetDataCorrectTaskDetailRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetDataCorrectTaskDetailRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long GetDataCorrectTaskDetailRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,3 +34,12 @@ void GetDataCorrectTaskDetailRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long GetDataCorrectTaskDetailRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetDataCorrectTaskDetailRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
45
dms-enterprise/src/model/GetDataCronClearConfigRequest.cc
Normal file
45
dms-enterprise/src/model/GetDataCronClearConfigRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dms-enterprise/model/GetDataCronClearConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Dms_enterprise::Model::GetDataCronClearConfigRequest;
|
||||
|
||||
GetDataCronClearConfigRequest::GetDataCronClearConfigRequest()
|
||||
: RpcServiceRequest("dms-enterprise", "2018-11-01", "GetDataCronClearConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDataCronClearConfigRequest::~GetDataCronClearConfigRequest() {}
|
||||
|
||||
long GetDataCronClearConfigRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void GetDataCronClearConfigRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long GetDataCronClearConfigRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetDataCronClearConfigRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
87
dms-enterprise/src/model/GetDataCronClearConfigResult.cc
Normal file
87
dms-enterprise/src/model/GetDataCronClearConfigResult.cc
Normal file
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* 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/dms-enterprise/model/GetDataCronClearConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dms_enterprise;
|
||||
using namespace AlibabaCloud::Dms_enterprise::Model;
|
||||
|
||||
GetDataCronClearConfigResult::GetDataCronClearConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDataCronClearConfigResult::GetDataCronClearConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDataCronClearConfigResult::~GetDataCronClearConfigResult()
|
||||
{}
|
||||
|
||||
void GetDataCronClearConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataCronClearConfigNode = value["DataCronClearConfig"];
|
||||
if(!dataCronClearConfigNode["CronFormat"].isNull())
|
||||
dataCronClearConfig_.cronFormat = dataCronClearConfigNode["CronFormat"].asString();
|
||||
if(!dataCronClearConfigNode["Duration"].isNull())
|
||||
dataCronClearConfig_.duration = dataCronClearConfigNode["Duration"].asString();
|
||||
if(!dataCronClearConfigNode["CronStatus"].isNull())
|
||||
dataCronClearConfig_.cronStatus = dataCronClearConfigNode["CronStatus"].asString();
|
||||
if(!dataCronClearConfigNode["CronCallTimes"].isNull())
|
||||
dataCronClearConfig_.cronCallTimes = dataCronClearConfigNode["CronCallTimes"].asString();
|
||||
if(!dataCronClearConfigNode["CronLastCallStartTime"].isNull())
|
||||
dataCronClearConfig_.cronLastCallStartTime = dataCronClearConfigNode["CronLastCallStartTime"].asString();
|
||||
if(!dataCronClearConfigNode["CronNextCallTime"].isNull())
|
||||
dataCronClearConfig_.cronNextCallTime = dataCronClearConfigNode["CronNextCallTime"].asString();
|
||||
if(!dataCronClearConfigNode["OptimizeTableAfterEveryClearTimes"].isNull())
|
||||
dataCronClearConfig_.optimizeTableAfterEveryClearTimes = std::stol(dataCronClearConfigNode["OptimizeTableAfterEveryClearTimes"].asString());
|
||||
if(!dataCronClearConfigNode["CurrentClearTaskCount"].isNull())
|
||||
dataCronClearConfig_.currentClearTaskCount = std::stol(dataCronClearConfigNode["CurrentClearTaskCount"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
GetDataCronClearConfigResult::DataCronClearConfig GetDataCronClearConfigResult::getDataCronClearConfig()const
|
||||
{
|
||||
return dataCronClearConfig_;
|
||||
}
|
||||
|
||||
std::string GetDataCronClearConfigResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string GetDataCronClearConfigResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool GetDataCronClearConfigResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ GetDataCronClearTaskDetailListRequest::GetDataCronClearTaskDetailListRequest()
|
||||
|
||||
GetDataCronClearTaskDetailListRequest::~GetDataCronClearTaskDetailListRequest() {}
|
||||
|
||||
long GetDataCronClearTaskDetailListRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetDataCronClearTaskDetailListRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long GetDataCronClearTaskDetailListRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
@@ -61,3 +52,12 @@ void GetDataCronClearTaskDetailListRequest::setPageSize(long pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long GetDataCronClearTaskDetailListRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetDataCronClearTaskDetailListRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,15 @@ GetDataExportDownloadURLRequest::GetDataExportDownloadURLRequest()
|
||||
|
||||
GetDataExportDownloadURLRequest::~GetDataExportDownloadURLRequest() {}
|
||||
|
||||
long GetDataExportDownloadURLRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void GetDataExportDownloadURLRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long GetDataExportDownloadURLRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
@@ -43,12 +52,3 @@ void GetDataExportDownloadURLRequest::setActionName(const std::string &actionNam
|
||||
setParameter(std::string("ActionName"), actionName);
|
||||
}
|
||||
|
||||
long GetDataExportDownloadURLRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void GetDataExportDownloadURLRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ GetDataExportOrderDetailRequest::GetDataExportOrderDetailRequest()
|
||||
|
||||
GetDataExportOrderDetailRequest::~GetDataExportOrderDetailRequest() {}
|
||||
|
||||
long GetDataExportOrderDetailRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetDataExportOrderDetailRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setBodyParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long GetDataExportOrderDetailRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,3 +34,12 @@ void GetDataExportOrderDetailRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long GetDataExportOrderDetailRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetDataExportOrderDetailRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setBodyParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ GetDatabaseRequest::GetDatabaseRequest()
|
||||
|
||||
GetDatabaseRequest::~GetDatabaseRequest() {}
|
||||
|
||||
std::string GetDatabaseRequest::getSchemaName() const {
|
||||
return schemaName_;
|
||||
}
|
||||
|
||||
void GetDatabaseRequest::setSchemaName(const std::string &schemaName) {
|
||||
schemaName_ = schemaName;
|
||||
setParameter(std::string("SchemaName"), schemaName);
|
||||
}
|
||||
|
||||
long GetDatabaseRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -52,15 +43,6 @@ void GetDatabaseRequest::setSid(const std::string &sid) {
|
||||
setParameter(std::string("Sid"), sid);
|
||||
}
|
||||
|
||||
int GetDatabaseRequest::getPort() const {
|
||||
return port_;
|
||||
}
|
||||
|
||||
void GetDatabaseRequest::setPort(int port) {
|
||||
port_ = port;
|
||||
setParameter(std::string("Port"), std::to_string(port));
|
||||
}
|
||||
|
||||
std::string GetDatabaseRequest::getHost() const {
|
||||
return host_;
|
||||
}
|
||||
@@ -70,3 +52,21 @@ void GetDatabaseRequest::setHost(const std::string &host) {
|
||||
setParameter(std::string("Host"), host);
|
||||
}
|
||||
|
||||
std::string GetDatabaseRequest::getSchemaName() const {
|
||||
return schemaName_;
|
||||
}
|
||||
|
||||
void GetDatabaseRequest::setSchemaName(const std::string &schemaName) {
|
||||
schemaName_ = schemaName;
|
||||
setParameter(std::string("SchemaName"), schemaName);
|
||||
}
|
||||
|
||||
int GetDatabaseRequest::getPort() const {
|
||||
return port_;
|
||||
}
|
||||
|
||||
void GetDatabaseRequest::setPort(int port) {
|
||||
port_ = port;
|
||||
setParameter(std::string("Port"), std::to_string(port));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,15 +43,6 @@ void GetInstanceRequest::setSid(const std::string &sid) {
|
||||
setParameter(std::string("Sid"), sid);
|
||||
}
|
||||
|
||||
int GetInstanceRequest::getPort() const {
|
||||
return port_;
|
||||
}
|
||||
|
||||
void GetInstanceRequest::setPort(int port) {
|
||||
port_ = port;
|
||||
setParameter(std::string("Port"), std::to_string(port));
|
||||
}
|
||||
|
||||
std::string GetInstanceRequest::getHost() const {
|
||||
return host_;
|
||||
}
|
||||
@@ -61,3 +52,12 @@ void GetInstanceRequest::setHost(const std::string &host) {
|
||||
setParameter(std::string("Host"), host);
|
||||
}
|
||||
|
||||
int GetInstanceRequest::getPort() const {
|
||||
return port_;
|
||||
}
|
||||
|
||||
void GetInstanceRequest::setPort(int port) {
|
||||
port_ = port;
|
||||
setParameter(std::string("Port"), std::to_string(port));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ GetLhSpaceByNameRequest::GetLhSpaceByNameRequest()
|
||||
|
||||
GetLhSpaceByNameRequest::~GetLhSpaceByNameRequest() {}
|
||||
|
||||
std::string GetLhSpaceByNameRequest::getSpaceName() const {
|
||||
return spaceName_;
|
||||
}
|
||||
|
||||
void GetLhSpaceByNameRequest::setSpaceName(const std::string &spaceName) {
|
||||
spaceName_ = spaceName;
|
||||
setParameter(std::string("SpaceName"), spaceName);
|
||||
}
|
||||
|
||||
long GetLhSpaceByNameRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,3 +34,12 @@ void GetLhSpaceByNameRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string GetLhSpaceByNameRequest::getSpaceName() const {
|
||||
return spaceName_;
|
||||
}
|
||||
|
||||
void GetLhSpaceByNameRequest::setSpaceName(const std::string &spaceName) {
|
||||
spaceName_ = spaceName;
|
||||
setParameter(std::string("SpaceName"), spaceName);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,24 +25,6 @@ GetOpLogRequest::GetOpLogRequest()
|
||||
|
||||
GetOpLogRequest::~GetOpLogRequest() {}
|
||||
|
||||
std::string GetOpLogRequest::getModule() const {
|
||||
return module_;
|
||||
}
|
||||
|
||||
void GetOpLogRequest::setModule(const std::string &module) {
|
||||
module_ = module;
|
||||
setParameter(std::string("Module"), module);
|
||||
}
|
||||
|
||||
std::string GetOpLogRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void GetOpLogRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
std::string GetOpLogRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
@@ -79,3 +61,21 @@ void GetOpLogRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string GetOpLogRequest::getModule() const {
|
||||
return module_;
|
||||
}
|
||||
|
||||
void GetOpLogRequest::setModule(const std::string &module) {
|
||||
module_ = module;
|
||||
setParameter(std::string("Module"), module);
|
||||
}
|
||||
|
||||
std::string GetOpLogRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void GetOpLogRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
|
||||
45
dms-enterprise/src/model/GetOrderAttachmentFileRequest.cc
Normal file
45
dms-enterprise/src/model/GetOrderAttachmentFileRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dms-enterprise/model/GetOrderAttachmentFileRequest.h>
|
||||
|
||||
using AlibabaCloud::Dms_enterprise::Model::GetOrderAttachmentFileRequest;
|
||||
|
||||
GetOrderAttachmentFileRequest::GetOrderAttachmentFileRequest()
|
||||
: RpcServiceRequest("dms-enterprise", "2018-11-01", "GetOrderAttachmentFile") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetOrderAttachmentFileRequest::~GetOrderAttachmentFileRequest() {}
|
||||
|
||||
long GetOrderAttachmentFileRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void GetOrderAttachmentFileRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long GetOrderAttachmentFileRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetOrderAttachmentFileRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
72
dms-enterprise/src/model/GetOrderAttachmentFileResult.cc
Normal file
72
dms-enterprise/src/model/GetOrderAttachmentFileResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dms-enterprise/model/GetOrderAttachmentFileResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dms_enterprise;
|
||||
using namespace AlibabaCloud::Dms_enterprise::Model;
|
||||
|
||||
GetOrderAttachmentFileResult::GetOrderAttachmentFileResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetOrderAttachmentFileResult::GetOrderAttachmentFileResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetOrderAttachmentFileResult::~GetOrderAttachmentFileResult()
|
||||
{}
|
||||
|
||||
void GetOrderAttachmentFileResult::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["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["FileUrl"].isNull())
|
||||
fileUrl_ = value["FileUrl"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetOrderAttachmentFileResult::getFileUrl()const
|
||||
{
|
||||
return fileUrl_;
|
||||
}
|
||||
|
||||
std::string GetOrderAttachmentFileResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string GetOrderAttachmentFileResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool GetOrderAttachmentFileResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ GetOrderBaseInfoRequest::GetOrderBaseInfoRequest()
|
||||
|
||||
GetOrderBaseInfoRequest::~GetOrderBaseInfoRequest() {}
|
||||
|
||||
long GetOrderBaseInfoRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetOrderBaseInfoRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long GetOrderBaseInfoRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,3 +34,12 @@ void GetOrderBaseInfoRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long GetOrderBaseInfoRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetOrderBaseInfoRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ GetOwnerApplyOrderDetailRequest::GetOwnerApplyOrderDetailRequest()
|
||||
|
||||
GetOwnerApplyOrderDetailRequest::~GetOwnerApplyOrderDetailRequest() {}
|
||||
|
||||
long GetOwnerApplyOrderDetailRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetOwnerApplyOrderDetailRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long GetOwnerApplyOrderDetailRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,3 +34,12 @@ void GetOwnerApplyOrderDetailRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long GetOwnerApplyOrderDetailRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetOwnerApplyOrderDetailRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ GetPermApplyOrderDetailRequest::GetPermApplyOrderDetailRequest()
|
||||
|
||||
GetPermApplyOrderDetailRequest::~GetPermApplyOrderDetailRequest() {}
|
||||
|
||||
long GetPermApplyOrderDetailRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetPermApplyOrderDetailRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long GetPermApplyOrderDetailRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,3 +34,12 @@ void GetPermApplyOrderDetailRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long GetPermApplyOrderDetailRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetPermApplyOrderDetailRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -34,15 +34,6 @@ void GetProxyRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long GetProxyRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetProxyRequest::setInstanceId(long instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), std::to_string(instanceId));
|
||||
}
|
||||
|
||||
long GetProxyRequest::getProxyId() const {
|
||||
return proxyId_;
|
||||
}
|
||||
@@ -52,3 +43,12 @@ void GetProxyRequest::setProxyId(long proxyId) {
|
||||
setParameter(std::string("ProxyId"), std::to_string(proxyId));
|
||||
}
|
||||
|
||||
long GetProxyRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetProxyRequest::setInstanceId(long instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), std::to_string(instanceId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ GetSQLReviewCheckResultStatusRequest::GetSQLReviewCheckResultStatusRequest()
|
||||
|
||||
GetSQLReviewCheckResultStatusRequest::~GetSQLReviewCheckResultStatusRequest() {}
|
||||
|
||||
long GetSQLReviewCheckResultStatusRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetSQLReviewCheckResultStatusRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long GetSQLReviewCheckResultStatusRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,6 +34,15 @@ void GetSQLReviewCheckResultStatusRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long GetSQLReviewCheckResultStatusRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetSQLReviewCheckResultStatusRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
std::string GetSQLReviewCheckResultStatusRequest::getOrderActionName() const {
|
||||
return orderActionName_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ GetStructSyncExecSqlDetailRequest::GetStructSyncExecSqlDetailRequest()
|
||||
|
||||
GetStructSyncExecSqlDetailRequest::~GetStructSyncExecSqlDetailRequest() {}
|
||||
|
||||
long GetStructSyncExecSqlDetailRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetStructSyncExecSqlDetailRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long GetStructSyncExecSqlDetailRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
@@ -61,3 +52,12 @@ void GetStructSyncExecSqlDetailRequest::setPageSize(long pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long GetStructSyncExecSqlDetailRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetStructSyncExecSqlDetailRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,24 +25,6 @@ GetStructSyncJobAnalyzeResultRequest::GetStructSyncJobAnalyzeResultRequest()
|
||||
|
||||
GetStructSyncJobAnalyzeResultRequest::~GetStructSyncJobAnalyzeResultRequest() {}
|
||||
|
||||
long GetStructSyncJobAnalyzeResultRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetStructSyncJobAnalyzeResultRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
std::string GetStructSyncJobAnalyzeResultRequest::getCompareType() const {
|
||||
return compareType_;
|
||||
}
|
||||
|
||||
void GetStructSyncJobAnalyzeResultRequest::setCompareType(const std::string &compareType) {
|
||||
compareType_ = compareType;
|
||||
setParameter(std::string("CompareType"), compareType);
|
||||
}
|
||||
|
||||
long GetStructSyncJobAnalyzeResultRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
@@ -70,3 +52,21 @@ void GetStructSyncJobAnalyzeResultRequest::setPageSize(long pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long GetStructSyncJobAnalyzeResultRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetStructSyncJobAnalyzeResultRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
std::string GetStructSyncJobAnalyzeResultRequest::getCompareType() const {
|
||||
return compareType_;
|
||||
}
|
||||
|
||||
void GetStructSyncJobAnalyzeResultRequest::setCompareType(const std::string &compareType) {
|
||||
compareType_ = compareType;
|
||||
setParameter(std::string("CompareType"), compareType);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ GetStructSyncJobDetailRequest::GetStructSyncJobDetailRequest()
|
||||
|
||||
GetStructSyncJobDetailRequest::~GetStructSyncJobDetailRequest() {}
|
||||
|
||||
long GetStructSyncJobDetailRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetStructSyncJobDetailRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long GetStructSyncJobDetailRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,3 +34,12 @@ void GetStructSyncJobDetailRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long GetStructSyncJobDetailRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetStructSyncJobDetailRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ GetStructSyncOrderDetailRequest::GetStructSyncOrderDetailRequest()
|
||||
|
||||
GetStructSyncOrderDetailRequest::~GetStructSyncOrderDetailRequest() {}
|
||||
|
||||
long GetStructSyncOrderDetailRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetStructSyncOrderDetailRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long GetStructSyncOrderDetailRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,3 +34,12 @@ void GetStructSyncOrderDetailRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long GetStructSyncOrderDetailRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetStructSyncOrderDetailRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ GetUserUploadFileJobRequest::GetUserUploadFileJobRequest()
|
||||
|
||||
GetUserUploadFileJobRequest::~GetUserUploadFileJobRequest() {}
|
||||
|
||||
std::string GetUserUploadFileJobRequest::getJobKey() const {
|
||||
return jobKey_;
|
||||
}
|
||||
|
||||
void GetUserUploadFileJobRequest::setJobKey(const std::string &jobKey) {
|
||||
jobKey_ = jobKey;
|
||||
setParameter(std::string("JobKey"), jobKey);
|
||||
}
|
||||
|
||||
long GetUserUploadFileJobRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,3 +34,12 @@ void GetUserUploadFileJobRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string GetUserUploadFileJobRequest::getJobKey() const {
|
||||
return jobKey_;
|
||||
}
|
||||
|
||||
void GetUserUploadFileJobRequest::setJobKey(const std::string &jobKey) {
|
||||
jobKey_ = jobKey;
|
||||
setParameter(std::string("JobKey"), jobKey);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,24 +25,6 @@ GrantUserPermissionRequest::GrantUserPermissionRequest()
|
||||
|
||||
GrantUserPermissionRequest::~GrantUserPermissionRequest() {}
|
||||
|
||||
std::string GrantUserPermissionRequest::getPermTypes() const {
|
||||
return permTypes_;
|
||||
}
|
||||
|
||||
void GrantUserPermissionRequest::setPermTypes(const std::string &permTypes) {
|
||||
permTypes_ = permTypes;
|
||||
setParameter(std::string("PermTypes"), permTypes);
|
||||
}
|
||||
|
||||
std::string GrantUserPermissionRequest::getDsType() const {
|
||||
return dsType_;
|
||||
}
|
||||
|
||||
void GrantUserPermissionRequest::setDsType(const std::string &dsType) {
|
||||
dsType_ = dsType;
|
||||
setParameter(std::string("DsType"), dsType);
|
||||
}
|
||||
|
||||
std::string GrantUserPermissionRequest::getExpireDate() const {
|
||||
return expireDate_;
|
||||
}
|
||||
@@ -70,6 +52,42 @@ void GrantUserPermissionRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string GrantUserPermissionRequest::getTableId() const {
|
||||
return tableId_;
|
||||
}
|
||||
|
||||
void GrantUserPermissionRequest::setTableId(const std::string &tableId) {
|
||||
tableId_ = tableId;
|
||||
setParameter(std::string("TableId"), tableId);
|
||||
}
|
||||
|
||||
std::string GrantUserPermissionRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void GrantUserPermissionRequest::setTableName(const std::string &tableName) {
|
||||
tableName_ = tableName;
|
||||
setParameter(std::string("TableName"), tableName);
|
||||
}
|
||||
|
||||
std::string GrantUserPermissionRequest::getPermTypes() const {
|
||||
return permTypes_;
|
||||
}
|
||||
|
||||
void GrantUserPermissionRequest::setPermTypes(const std::string &permTypes) {
|
||||
permTypes_ = permTypes;
|
||||
setParameter(std::string("PermTypes"), permTypes);
|
||||
}
|
||||
|
||||
std::string GrantUserPermissionRequest::getDsType() const {
|
||||
return dsType_;
|
||||
}
|
||||
|
||||
void GrantUserPermissionRequest::setDsType(const std::string &dsType) {
|
||||
dsType_ = dsType;
|
||||
setParameter(std::string("DsType"), dsType);
|
||||
}
|
||||
|
||||
long GrantUserPermissionRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
@@ -88,15 +106,6 @@ void GrantUserPermissionRequest::setDbId(const std::string &dbId) {
|
||||
setParameter(std::string("DbId"), dbId);
|
||||
}
|
||||
|
||||
std::string GrantUserPermissionRequest::getTableId() const {
|
||||
return tableId_;
|
||||
}
|
||||
|
||||
void GrantUserPermissionRequest::setTableId(const std::string &tableId) {
|
||||
tableId_ = tableId;
|
||||
setParameter(std::string("TableId"), tableId);
|
||||
}
|
||||
|
||||
bool GrantUserPermissionRequest::getLogic() const {
|
||||
return logic_;
|
||||
}
|
||||
@@ -106,12 +115,3 @@ void GrantUserPermissionRequest::setLogic(bool logic) {
|
||||
setParameter(std::string("Logic"), logic ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GrantUserPermissionRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void GrantUserPermissionRequest::setTableName(const std::string &tableName) {
|
||||
tableName_ = tableName;
|
||||
setParameter(std::string("TableName"), tableName);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ ListDDLPublishRecordsRequest::ListDDLPublishRecordsRequest()
|
||||
|
||||
ListDDLPublishRecordsRequest::~ListDDLPublishRecordsRequest() {}
|
||||
|
||||
long ListDDLPublishRecordsRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void ListDDLPublishRecordsRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long ListDDLPublishRecordsRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,3 +34,12 @@ void ListDDLPublishRecordsRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long ListDDLPublishRecordsRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void ListDDLPublishRecordsRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ ListDataCorrectPreCheckDBRequest::ListDataCorrectPreCheckDBRequest()
|
||||
|
||||
ListDataCorrectPreCheckDBRequest::~ListDataCorrectPreCheckDBRequest() {}
|
||||
|
||||
long ListDataCorrectPreCheckDBRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void ListDataCorrectPreCheckDBRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long ListDataCorrectPreCheckDBRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
@@ -61,3 +52,12 @@ void ListDataCorrectPreCheckDBRequest::setPageSize(long pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long ListDataCorrectPreCheckDBRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void ListDataCorrectPreCheckDBRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ ListDataCorrectPreCheckSQLRequest::ListDataCorrectPreCheckSQLRequest()
|
||||
|
||||
ListDataCorrectPreCheckSQLRequest::~ListDataCorrectPreCheckSQLRequest() {}
|
||||
|
||||
long ListDataCorrectPreCheckSQLRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void ListDataCorrectPreCheckSQLRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long ListDataCorrectPreCheckSQLRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
@@ -52,15 +43,6 @@ void ListDataCorrectPreCheckSQLRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long ListDataCorrectPreCheckSQLRequest::getDbId() const {
|
||||
return dbId_;
|
||||
}
|
||||
|
||||
void ListDataCorrectPreCheckSQLRequest::setDbId(long dbId) {
|
||||
dbId_ = dbId;
|
||||
setParameter(std::string("DbId"), std::to_string(dbId));
|
||||
}
|
||||
|
||||
long ListDataCorrectPreCheckSQLRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -70,3 +52,21 @@ void ListDataCorrectPreCheckSQLRequest::setPageSize(long pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long ListDataCorrectPreCheckSQLRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void ListDataCorrectPreCheckSQLRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long ListDataCorrectPreCheckSQLRequest::getDbId() const {
|
||||
return dbId_;
|
||||
}
|
||||
|
||||
void ListDataCorrectPreCheckSQLRequest::setDbId(long dbId) {
|
||||
dbId_ = dbId;
|
||||
setParameter(std::string("DbId"), std::to_string(dbId));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,6 +43,15 @@ void ListDatabaseUserPermssionsRequest::setPageNumber(int pageNumber) {
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int ListDatabaseUserPermssionsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListDatabaseUserPermssionsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListDatabaseUserPermssionsRequest::getPermType() const {
|
||||
return permType_;
|
||||
}
|
||||
@@ -61,15 +70,6 @@ void ListDatabaseUserPermssionsRequest::setDbId(const std::string &dbId) {
|
||||
setParameter(std::string("DbId"), dbId);
|
||||
}
|
||||
|
||||
int ListDatabaseUserPermssionsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListDatabaseUserPermssionsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
bool ListDatabaseUserPermssionsRequest::getLogic() const {
|
||||
return logic_;
|
||||
}
|
||||
|
||||
@@ -43,15 +43,6 @@ void ListDatabasesRequest::setPageNumber(int pageNumber) {
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListDatabasesRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListDatabasesRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
int ListDatabasesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -61,3 +52,12 @@ void ListDatabasesRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListDatabasesRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListDatabasesRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ ListDesensitizationRuleRequest::ListDesensitizationRuleRequest()
|
||||
|
||||
ListDesensitizationRuleRequest::~ListDesensitizationRuleRequest() {}
|
||||
|
||||
std::string ListDesensitizationRuleRequest::getRuleType() const {
|
||||
return ruleType_;
|
||||
}
|
||||
|
||||
void ListDesensitizationRuleRequest::setRuleType(const std::string &ruleType) {
|
||||
ruleType_ = ruleType;
|
||||
setParameter(std::string("RuleType"), ruleType);
|
||||
}
|
||||
|
||||
std::string ListDesensitizationRuleRequest::getRuleName() const {
|
||||
return ruleName_;
|
||||
}
|
||||
@@ -61,15 +52,6 @@ void ListDesensitizationRuleRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string ListDesensitizationRuleRequest::getFuncType() const {
|
||||
return funcType_;
|
||||
}
|
||||
|
||||
void ListDesensitizationRuleRequest::setFuncType(const std::string &funcType) {
|
||||
funcType_ = funcType;
|
||||
setParameter(std::string("FuncType"), funcType);
|
||||
}
|
||||
|
||||
int ListDesensitizationRuleRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -79,6 +61,24 @@ void ListDesensitizationRuleRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListDesensitizationRuleRequest::getRuleType() const {
|
||||
return ruleType_;
|
||||
}
|
||||
|
||||
void ListDesensitizationRuleRequest::setRuleType(const std::string &ruleType) {
|
||||
ruleType_ = ruleType;
|
||||
setParameter(std::string("RuleType"), ruleType);
|
||||
}
|
||||
|
||||
std::string ListDesensitizationRuleRequest::getFuncType() const {
|
||||
return funcType_;
|
||||
}
|
||||
|
||||
void ListDesensitizationRuleRequest::setFuncType(const std::string &funcType) {
|
||||
funcType_ = funcType;
|
||||
setParameter(std::string("FuncType"), funcType);
|
||||
}
|
||||
|
||||
int ListDesensitizationRuleRequest::getRuleId() const {
|
||||
return ruleId_;
|
||||
}
|
||||
|
||||
@@ -43,15 +43,6 @@ void ListInstanceLoginAuditLogRequest::setOpUserName(const std::string &opUserNa
|
||||
setParameter(std::string("OpUserName"), opUserName);
|
||||
}
|
||||
|
||||
std::string ListInstanceLoginAuditLogRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListInstanceLoginAuditLogRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
std::string ListInstanceLoginAuditLogRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
@@ -88,3 +79,12 @@ void ListInstanceLoginAuditLogRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListInstanceLoginAuditLogRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListInstanceLoginAuditLogRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,15 +43,6 @@ void ListInstanceUserPermissionsRequest::setPageNumber(int pageNumber) {
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListInstanceUserPermissionsRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListInstanceUserPermissionsRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
int ListInstanceUserPermissionsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -61,6 +52,15 @@ void ListInstanceUserPermissionsRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListInstanceUserPermissionsRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListInstanceUserPermissionsRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
std::string ListInstanceUserPermissionsRequest::getUserName() const {
|
||||
return userName_;
|
||||
}
|
||||
|
||||
@@ -43,15 +43,6 @@ void ListInstancesRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string ListInstancesRequest::getInstanceState() const {
|
||||
return instanceState_;
|
||||
}
|
||||
|
||||
void ListInstancesRequest::setInstanceState(const std::string &instanceState) {
|
||||
instanceState_ = instanceState;
|
||||
setParameter(std::string("InstanceState"), instanceState);
|
||||
}
|
||||
|
||||
int ListInstancesRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
@@ -61,24 +52,6 @@ void ListInstancesRequest::setPageNumber(int pageNumber) {
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListInstancesRequest::getNetType() const {
|
||||
return netType_;
|
||||
}
|
||||
|
||||
void ListInstancesRequest::setNetType(const std::string &netType) {
|
||||
netType_ = netType;
|
||||
setParameter(std::string("NetType"), netType);
|
||||
}
|
||||
|
||||
std::string ListInstancesRequest::getDbType() const {
|
||||
return dbType_;
|
||||
}
|
||||
|
||||
void ListInstancesRequest::setDbType(const std::string &dbType) {
|
||||
dbType_ = dbType;
|
||||
setParameter(std::string("DbType"), dbType);
|
||||
}
|
||||
|
||||
std::string ListInstancesRequest::getEnvType() const {
|
||||
return envType_;
|
||||
}
|
||||
@@ -106,3 +79,30 @@ void ListInstancesRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListInstancesRequest::getInstanceState() const {
|
||||
return instanceState_;
|
||||
}
|
||||
|
||||
void ListInstancesRequest::setInstanceState(const std::string &instanceState) {
|
||||
instanceState_ = instanceState;
|
||||
setParameter(std::string("InstanceState"), instanceState);
|
||||
}
|
||||
|
||||
std::string ListInstancesRequest::getNetType() const {
|
||||
return netType_;
|
||||
}
|
||||
|
||||
void ListInstancesRequest::setNetType(const std::string &netType) {
|
||||
netType_ = netType;
|
||||
setParameter(std::string("NetType"), netType);
|
||||
}
|
||||
|
||||
std::string ListInstancesRequest::getDbType() const {
|
||||
return dbType_;
|
||||
}
|
||||
|
||||
void ListInstancesRequest::setDbType(const std::string &dbType) {
|
||||
dbType_ = dbType;
|
||||
setParameter(std::string("DbType"), dbType);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,15 +34,6 @@ void ListOrdersRequest::setOrderStatus(const std::string &orderStatus) {
|
||||
setParameter(std::string("OrderStatus"), orderStatus);
|
||||
}
|
||||
|
||||
std::string ListOrdersRequest::getSearchContent() const {
|
||||
return searchContent_;
|
||||
}
|
||||
|
||||
void ListOrdersRequest::setSearchContent(const std::string &searchContent) {
|
||||
searchContent_ = searchContent;
|
||||
setParameter(std::string("SearchContent"), searchContent);
|
||||
}
|
||||
|
||||
std::string ListOrdersRequest::getSearchDateType() const {
|
||||
return searchDateType_;
|
||||
}
|
||||
@@ -52,15 +43,6 @@ void ListOrdersRequest::setSearchDateType(const std::string &searchDateType) {
|
||||
setParameter(std::string("SearchDateType"), searchDateType);
|
||||
}
|
||||
|
||||
std::string ListOrdersRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListOrdersRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
std::string ListOrdersRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
@@ -115,3 +97,21 @@ void ListOrdersRequest::setOrderResultType(const std::string &orderResultType) {
|
||||
setParameter(std::string("OrderResultType"), orderResultType);
|
||||
}
|
||||
|
||||
std::string ListOrdersRequest::getSearchContent() const {
|
||||
return searchContent_;
|
||||
}
|
||||
|
||||
void ListOrdersRequest::setSearchContent(const std::string &searchContent) {
|
||||
searchContent_ = searchContent;
|
||||
setParameter(std::string("SearchContent"), searchContent);
|
||||
}
|
||||
|
||||
std::string ListOrdersRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListOrdersRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ ListProxySQLExecAuditLogRequest::ListProxySQLExecAuditLogRequest()
|
||||
|
||||
ListProxySQLExecAuditLogRequest::~ListProxySQLExecAuditLogRequest() {}
|
||||
|
||||
std::string ListProxySQLExecAuditLogRequest::getSQLType() const {
|
||||
return sQLType_;
|
||||
}
|
||||
|
||||
void ListProxySQLExecAuditLogRequest::setSQLType(const std::string &sQLType) {
|
||||
sQLType_ = sQLType;
|
||||
setParameter(std::string("SQLType"), sQLType);
|
||||
}
|
||||
|
||||
std::string ListProxySQLExecAuditLogRequest::getSearchName() const {
|
||||
return searchName_;
|
||||
}
|
||||
@@ -52,15 +43,6 @@ void ListProxySQLExecAuditLogRequest::setOpUserName(const std::string &opUserNam
|
||||
setParameter(std::string("OpUserName"), opUserName);
|
||||
}
|
||||
|
||||
long ListProxySQLExecAuditLogRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListProxySQLExecAuditLogRequest::setEndTime(long endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), std::to_string(endTime));
|
||||
}
|
||||
|
||||
long ListProxySQLExecAuditLogRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
@@ -97,6 +79,24 @@ void ListProxySQLExecAuditLogRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListProxySQLExecAuditLogRequest::getSQLType() const {
|
||||
return sQLType_;
|
||||
}
|
||||
|
||||
void ListProxySQLExecAuditLogRequest::setSQLType(const std::string &sQLType) {
|
||||
sQLType_ = sQLType;
|
||||
setParameter(std::string("SQLType"), sQLType);
|
||||
}
|
||||
|
||||
long ListProxySQLExecAuditLogRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListProxySQLExecAuditLogRequest::setEndTime(long endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string ListProxySQLExecAuditLogRequest::getExecState() const {
|
||||
return execState_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ ListSQLExecAuditLogRequest::ListSQLExecAuditLogRequest()
|
||||
|
||||
ListSQLExecAuditLogRequest::~ListSQLExecAuditLogRequest() {}
|
||||
|
||||
std::string ListSQLExecAuditLogRequest::getSqlType() const {
|
||||
return sqlType_;
|
||||
}
|
||||
|
||||
void ListSQLExecAuditLogRequest::setSqlType(const std::string &sqlType) {
|
||||
sqlType_ = sqlType;
|
||||
setParameter(std::string("SqlType"), sqlType);
|
||||
}
|
||||
|
||||
std::string ListSQLExecAuditLogRequest::getSearchName() const {
|
||||
return searchName_;
|
||||
}
|
||||
@@ -52,15 +43,6 @@ void ListSQLExecAuditLogRequest::setOpUserName(const std::string &opUserName) {
|
||||
setParameter(std::string("OpUserName"), opUserName);
|
||||
}
|
||||
|
||||
std::string ListSQLExecAuditLogRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListSQLExecAuditLogRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
std::string ListSQLExecAuditLogRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
@@ -97,6 +79,24 @@ void ListSQLExecAuditLogRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListSQLExecAuditLogRequest::getSqlType() const {
|
||||
return sqlType_;
|
||||
}
|
||||
|
||||
void ListSQLExecAuditLogRequest::setSqlType(const std::string &sqlType) {
|
||||
sqlType_ = sqlType;
|
||||
setParameter(std::string("SqlType"), sqlType);
|
||||
}
|
||||
|
||||
std::string ListSQLExecAuditLogRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListSQLExecAuditLogRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
std::string ListSQLExecAuditLogRequest::getExecState() const {
|
||||
return execState_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ ListSQLReviewOriginSQLRequest::ListSQLReviewOriginSQLRequest()
|
||||
|
||||
ListSQLReviewOriginSQLRequest::~ListSQLReviewOriginSQLRequest() {}
|
||||
|
||||
long ListSQLReviewOriginSQLRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void ListSQLReviewOriginSQLRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long ListSQLReviewOriginSQLRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
@@ -47,15 +56,6 @@ void ListSQLReviewOriginSQLRequest::setOrderActionDetail(const ListSQLReviewOrig
|
||||
setParameter(std::string("OrderActionDetail") + ".FileId", std::to_string(orderActionDetail.fileId));
|
||||
}
|
||||
|
||||
long ListSQLReviewOriginSQLRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void ListSQLReviewOriginSQLRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string ListSQLReviewOriginSQLRequest::getOrderActionName() const {
|
||||
return orderActionName_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,24 @@ ListSensitiveColumnsDetailRequest::ListSensitiveColumnsDetailRequest()
|
||||
|
||||
ListSensitiveColumnsDetailRequest::~ListSensitiveColumnsDetailRequest() {}
|
||||
|
||||
long ListSensitiveColumnsDetailRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void ListSensitiveColumnsDetailRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string ListSensitiveColumnsDetailRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void ListSensitiveColumnsDetailRequest::setTableName(const std::string &tableName) {
|
||||
tableName_ = tableName;
|
||||
setParameter(std::string("TableName"), tableName);
|
||||
}
|
||||
|
||||
std::string ListSensitiveColumnsDetailRequest::getSchemaName() const {
|
||||
return schemaName_;
|
||||
}
|
||||
@@ -43,15 +61,6 @@ void ListSensitiveColumnsDetailRequest::setColumnName(const std::string &columnN
|
||||
setParameter(std::string("ColumnName"), columnName);
|
||||
}
|
||||
|
||||
long ListSensitiveColumnsDetailRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void ListSensitiveColumnsDetailRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long ListSensitiveColumnsDetailRequest::getDbId() const {
|
||||
return dbId_;
|
||||
}
|
||||
@@ -70,12 +79,3 @@ void ListSensitiveColumnsDetailRequest::setLogic(bool logic) {
|
||||
setParameter(std::string("Logic"), logic ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ListSensitiveColumnsDetailRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void ListSensitiveColumnsDetailRequest::setTableName(const std::string &tableName) {
|
||||
tableName_ = tableName;
|
||||
setParameter(std::string("TableName"), tableName);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,24 +25,6 @@ ListSensitiveColumnsRequest::ListSensitiveColumnsRequest()
|
||||
|
||||
ListSensitiveColumnsRequest::~ListSensitiveColumnsRequest() {}
|
||||
|
||||
std::string ListSensitiveColumnsRequest::getSchemaName() const {
|
||||
return schemaName_;
|
||||
}
|
||||
|
||||
void ListSensitiveColumnsRequest::setSchemaName(const std::string &schemaName) {
|
||||
schemaName_ = schemaName;
|
||||
setParameter(std::string("SchemaName"), schemaName);
|
||||
}
|
||||
|
||||
std::string ListSensitiveColumnsRequest::getColumnName() const {
|
||||
return columnName_;
|
||||
}
|
||||
|
||||
void ListSensitiveColumnsRequest::setColumnName(const std::string &columnName) {
|
||||
columnName_ = columnName;
|
||||
setParameter(std::string("ColumnName"), columnName);
|
||||
}
|
||||
|
||||
long ListSensitiveColumnsRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -61,6 +43,42 @@ void ListSensitiveColumnsRequest::setPageNumber(int pageNumber) {
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int ListSensitiveColumnsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListSensitiveColumnsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListSensitiveColumnsRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void ListSensitiveColumnsRequest::setTableName(const std::string &tableName) {
|
||||
tableName_ = tableName;
|
||||
setParameter(std::string("TableName"), tableName);
|
||||
}
|
||||
|
||||
std::string ListSensitiveColumnsRequest::getSchemaName() const {
|
||||
return schemaName_;
|
||||
}
|
||||
|
||||
void ListSensitiveColumnsRequest::setSchemaName(const std::string &schemaName) {
|
||||
schemaName_ = schemaName;
|
||||
setParameter(std::string("SchemaName"), schemaName);
|
||||
}
|
||||
|
||||
std::string ListSensitiveColumnsRequest::getColumnName() const {
|
||||
return columnName_;
|
||||
}
|
||||
|
||||
void ListSensitiveColumnsRequest::setColumnName(const std::string &columnName) {
|
||||
columnName_ = columnName;
|
||||
setParameter(std::string("ColumnName"), columnName);
|
||||
}
|
||||
|
||||
std::string ListSensitiveColumnsRequest::getSecurityLevel() const {
|
||||
return securityLevel_;
|
||||
}
|
||||
@@ -79,15 +97,6 @@ void ListSensitiveColumnsRequest::setDbId(long dbId) {
|
||||
setParameter(std::string("DbId"), std::to_string(dbId));
|
||||
}
|
||||
|
||||
int ListSensitiveColumnsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListSensitiveColumnsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
bool ListSensitiveColumnsRequest::getLogic() const {
|
||||
return logic_;
|
||||
}
|
||||
@@ -97,12 +106,3 @@ void ListSensitiveColumnsRequest::setLogic(bool logic) {
|
||||
setParameter(std::string("Logic"), logic ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ListSensitiveColumnsRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void ListSensitiveColumnsRequest::setTableName(const std::string &tableName) {
|
||||
tableName_ = tableName;
|
||||
setParameter(std::string("TableName"), tableName);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,15 +34,6 @@ void ListSensitiveDataAuditLogRequest::setOpUserName(const std::string &opUserNa
|
||||
setParameter(std::string("OpUserName"), opUserName);
|
||||
}
|
||||
|
||||
std::string ListSensitiveDataAuditLogRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListSensitiveDataAuditLogRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
std::string ListSensitiveDataAuditLogRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
@@ -52,15 +43,6 @@ void ListSensitiveDataAuditLogRequest::setStartTime(const std::string &startTime
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
std::string ListSensitiveDataAuditLogRequest::getColumnName() const {
|
||||
return columnName_;
|
||||
}
|
||||
|
||||
void ListSensitiveDataAuditLogRequest::setColumnName(const std::string &columnName) {
|
||||
columnName_ = columnName;
|
||||
setParameter(std::string("ColumnName"), columnName);
|
||||
}
|
||||
|
||||
int ListSensitiveDataAuditLogRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
@@ -79,15 +61,6 @@ void ListSensitiveDataAuditLogRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string ListSensitiveDataAuditLogRequest::getDbName() const {
|
||||
return dbName_;
|
||||
}
|
||||
|
||||
void ListSensitiveDataAuditLogRequest::setDbName(const std::string &dbName) {
|
||||
dbName_ = dbName;
|
||||
setParameter(std::string("DbName"), dbName);
|
||||
}
|
||||
|
||||
int ListSensitiveDataAuditLogRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -115,3 +88,30 @@ void ListSensitiveDataAuditLogRequest::setTableName(const std::string &tableName
|
||||
setParameter(std::string("TableName"), tableName);
|
||||
}
|
||||
|
||||
std::string ListSensitiveDataAuditLogRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListSensitiveDataAuditLogRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
std::string ListSensitiveDataAuditLogRequest::getColumnName() const {
|
||||
return columnName_;
|
||||
}
|
||||
|
||||
void ListSensitiveDataAuditLogRequest::setColumnName(const std::string &columnName) {
|
||||
columnName_ = columnName;
|
||||
setParameter(std::string("ColumnName"), columnName);
|
||||
}
|
||||
|
||||
std::string ListSensitiveDataAuditLogRequest::getDbName() const {
|
||||
return dbName_;
|
||||
}
|
||||
|
||||
void ListSensitiveDataAuditLogRequest::setDbName(const std::string &dbName) {
|
||||
dbName_ = dbName;
|
||||
setParameter(std::string("DbName"), dbName);
|
||||
}
|
||||
|
||||
|
||||
@@ -53,6 +53,8 @@ void ListStandardGroupsResult::parse(const std::string &payload)
|
||||
standardGroupListObject.lastMenderId = std::stol(valueStandardGroupListStandardGroupListItem["LastMenderId"].asString());
|
||||
if(!valueStandardGroupListStandardGroupListItem["GroupMode"].isNull())
|
||||
standardGroupListObject.groupMode = valueStandardGroupListStandardGroupListItem["GroupMode"].asString();
|
||||
if(!valueStandardGroupListStandardGroupListItem["GroupId"].isNull())
|
||||
standardGroupListObject.groupId = std::stol(valueStandardGroupListStandardGroupListItem["GroupId"].asString());
|
||||
standardGroupList_.push_back(standardGroupListObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
|
||||
@@ -43,15 +43,6 @@ void ListTaskFlowsByPageRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
bool ListTaskFlowsByPageRequest::getNeedLastDagInstance() const {
|
||||
return needLastDagInstance_;
|
||||
}
|
||||
|
||||
void ListTaskFlowsByPageRequest::setNeedLastDagInstance(bool needLastDagInstance) {
|
||||
needLastDagInstance_ = needLastDagInstance;
|
||||
setParameter(std::string("NeedLastDagInstance"), needLastDagInstance ? "true" : "false");
|
||||
}
|
||||
|
||||
int ListTaskFlowsByPageRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -70,3 +61,12 @@ void ListTaskFlowsByPageRequest::setPageIndex(int pageIndex) {
|
||||
setParameter(std::string("PageIndex"), std::to_string(pageIndex));
|
||||
}
|
||||
|
||||
bool ListTaskFlowsByPageRequest::getNeedLastDagInstance() const {
|
||||
return needLastDagInstance_;
|
||||
}
|
||||
|
||||
void ListTaskFlowsByPageRequest::setNeedLastDagInstance(bool needLastDagInstance) {
|
||||
needLastDagInstance_ = needLastDagInstance;
|
||||
setParameter(std::string("NeedLastDagInstance"), needLastDagInstance ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -61,6 +61,24 @@ void ListUserPermissionsRequest::setPageNumber(int pageNumber) {
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListUserPermissionsRequest::getEnvType() const {
|
||||
return envType_;
|
||||
}
|
||||
|
||||
void ListUserPermissionsRequest::setEnvType(const std::string &envType) {
|
||||
envType_ = envType;
|
||||
setParameter(std::string("EnvType"), envType);
|
||||
}
|
||||
|
||||
int ListUserPermissionsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListUserPermissionsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListUserPermissionsRequest::getPermType() const {
|
||||
return permType_;
|
||||
}
|
||||
@@ -79,15 +97,6 @@ void ListUserPermissionsRequest::setDatabaseName(const std::string &databaseName
|
||||
setParameter(std::string("DatabaseName"), databaseName);
|
||||
}
|
||||
|
||||
std::string ListUserPermissionsRequest::getEnvType() const {
|
||||
return envType_;
|
||||
}
|
||||
|
||||
void ListUserPermissionsRequest::setEnvType(const std::string &envType) {
|
||||
envType_ = envType;
|
||||
setParameter(std::string("EnvType"), envType);
|
||||
}
|
||||
|
||||
std::string ListUserPermissionsRequest::getDbType() const {
|
||||
return dbType_;
|
||||
}
|
||||
@@ -97,15 +106,6 @@ void ListUserPermissionsRequest::setDbType(const std::string &dbType) {
|
||||
setParameter(std::string("DbType"), dbType);
|
||||
}
|
||||
|
||||
int ListUserPermissionsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListUserPermissionsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
bool ListUserPermissionsRequest::getLogic() const {
|
||||
return logic_;
|
||||
}
|
||||
|
||||
@@ -61,15 +61,6 @@ void ListUsersRequest::setPageNumber(int pageNumber) {
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListUsersRequest::getUserState() const {
|
||||
return userState_;
|
||||
}
|
||||
|
||||
void ListUsersRequest::setUserState(const std::string &userState) {
|
||||
userState_ = userState;
|
||||
setParameter(std::string("UserState"), userState);
|
||||
}
|
||||
|
||||
int ListUsersRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
@@ -79,3 +70,12 @@ void ListUsersRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListUsersRequest::getUserState() const {
|
||||
return userState_;
|
||||
}
|
||||
|
||||
void ListUsersRequest::setUserState(const std::string &userState) {
|
||||
userState_ = userState;
|
||||
setParameter(std::string("UserState"), userState);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ ModifyDataCorrectExecSQLRequest::ModifyDataCorrectExecSQLRequest()
|
||||
|
||||
ModifyDataCorrectExecSQLRequest::~ModifyDataCorrectExecSQLRequest() {}
|
||||
|
||||
long ModifyDataCorrectExecSQLRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void ModifyDataCorrectExecSQLRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
std::string ModifyDataCorrectExecSQLRequest::getExecSQL() const {
|
||||
return execSQL_;
|
||||
}
|
||||
@@ -52,3 +43,12 @@ void ModifyDataCorrectExecSQLRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long ModifyDataCorrectExecSQLRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void ModifyDataCorrectExecSQLRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ ModifyDesensitizationStrategyRequest::ModifyDesensitizationStrategyRequest()
|
||||
|
||||
ModifyDesensitizationStrategyRequest::~ModifyDesensitizationStrategyRequest() {}
|
||||
|
||||
std::string ModifyDesensitizationStrategyRequest::getSchemaName() const {
|
||||
return schemaName_;
|
||||
}
|
||||
|
||||
void ModifyDesensitizationStrategyRequest::setSchemaName(const std::string &schemaName) {
|
||||
schemaName_ = schemaName;
|
||||
setParameter(std::string("SchemaName"), schemaName);
|
||||
}
|
||||
|
||||
bool ModifyDesensitizationStrategyRequest::getIsReset() const {
|
||||
return isReset_;
|
||||
}
|
||||
@@ -43,6 +34,33 @@ void ModifyDesensitizationStrategyRequest::setIsReset(bool isReset) {
|
||||
setParameter(std::string("IsReset"), isReset ? "true" : "false");
|
||||
}
|
||||
|
||||
long ModifyDesensitizationStrategyRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void ModifyDesensitizationStrategyRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string ModifyDesensitizationStrategyRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void ModifyDesensitizationStrategyRequest::setTableName(const std::string &tableName) {
|
||||
tableName_ = tableName;
|
||||
setParameter(std::string("TableName"), tableName);
|
||||
}
|
||||
|
||||
std::string ModifyDesensitizationStrategyRequest::getSchemaName() const {
|
||||
return schemaName_;
|
||||
}
|
||||
|
||||
void ModifyDesensitizationStrategyRequest::setSchemaName(const std::string &schemaName) {
|
||||
schemaName_ = schemaName;
|
||||
setParameter(std::string("SchemaName"), schemaName);
|
||||
}
|
||||
|
||||
bool ModifyDesensitizationStrategyRequest::getIsLogic() const {
|
||||
return isLogic_;
|
||||
}
|
||||
@@ -61,15 +79,6 @@ void ModifyDesensitizationStrategyRequest::setColumnName(const std::string &colu
|
||||
setParameter(std::string("ColumnName"), columnName);
|
||||
}
|
||||
|
||||
long ModifyDesensitizationStrategyRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void ModifyDesensitizationStrategyRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
int ModifyDesensitizationStrategyRequest::getDbId() const {
|
||||
return dbId_;
|
||||
}
|
||||
@@ -79,15 +88,6 @@ void ModifyDesensitizationStrategyRequest::setDbId(int dbId) {
|
||||
setParameter(std::string("DbId"), std::to_string(dbId));
|
||||
}
|
||||
|
||||
std::string ModifyDesensitizationStrategyRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void ModifyDesensitizationStrategyRequest::setTableName(const std::string &tableName) {
|
||||
tableName_ = tableName;
|
||||
setParameter(std::string("TableName"), tableName);
|
||||
}
|
||||
|
||||
int ModifyDesensitizationStrategyRequest::getRuleId() const {
|
||||
return ruleId_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ PauseDataCorrectSQLJobRequest::PauseDataCorrectSQLJobRequest()
|
||||
|
||||
PauseDataCorrectSQLJobRequest::~PauseDataCorrectSQLJobRequest() {}
|
||||
|
||||
long PauseDataCorrectSQLJobRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void PauseDataCorrectSQLJobRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
std::string PauseDataCorrectSQLJobRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
@@ -61,3 +52,12 @@ void PauseDataCorrectSQLJobRequest::setJobId(long jobId) {
|
||||
setParameter(std::string("JobId"), std::to_string(jobId));
|
||||
}
|
||||
|
||||
long PauseDataCorrectSQLJobRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void PauseDataCorrectSQLJobRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ PublishAndDeployTaskFlowRequest::PublishAndDeployTaskFlowRequest()
|
||||
|
||||
PublishAndDeployTaskFlowRequest::~PublishAndDeployTaskFlowRequest() {}
|
||||
|
||||
std::string PublishAndDeployTaskFlowRequest::getVersionComments() const {
|
||||
return versionComments_;
|
||||
}
|
||||
|
||||
void PublishAndDeployTaskFlowRequest::setVersionComments(const std::string &versionComments) {
|
||||
versionComments_ = versionComments;
|
||||
setParameter(std::string("VersionComments"), versionComments);
|
||||
}
|
||||
|
||||
long PublishAndDeployTaskFlowRequest::getDagId() const {
|
||||
return dagId_;
|
||||
}
|
||||
@@ -52,3 +43,12 @@ void PublishAndDeployTaskFlowRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string PublishAndDeployTaskFlowRequest::getVersionComments() const {
|
||||
return versionComments_;
|
||||
}
|
||||
|
||||
void PublishAndDeployTaskFlowRequest::setVersionComments(const std::string &versionComments) {
|
||||
versionComments_ = versionComments;
|
||||
setParameter(std::string("VersionComments"), versionComments);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ ReDeployLhDagVersionRequest::ReDeployLhDagVersionRequest()
|
||||
|
||||
ReDeployLhDagVersionRequest::~ReDeployLhDagVersionRequest() {}
|
||||
|
||||
long ReDeployLhDagVersionRequest::getDagVersion() const {
|
||||
return dagVersion_;
|
||||
}
|
||||
|
||||
void ReDeployLhDagVersionRequest::setDagVersion(long dagVersion) {
|
||||
dagVersion_ = dagVersion;
|
||||
setParameter(std::string("DagVersion"), std::to_string(dagVersion));
|
||||
}
|
||||
|
||||
long ReDeployLhDagVersionRequest::getDagId() const {
|
||||
return dagId_;
|
||||
}
|
||||
@@ -52,3 +43,12 @@ void ReDeployLhDagVersionRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long ReDeployLhDagVersionRequest::getDagVersion() const {
|
||||
return dagVersion_;
|
||||
}
|
||||
|
||||
void ReDeployLhDagVersionRequest::setDagVersion(long dagVersion) {
|
||||
dagVersion_ = dagVersion;
|
||||
setParameter(std::string("DagVersion"), std::to_string(dagVersion));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ ReRunTaskFlowInstanceRequest::ReRunTaskFlowInstanceRequest()
|
||||
|
||||
ReRunTaskFlowInstanceRequest::~ReRunTaskFlowInstanceRequest() {}
|
||||
|
||||
std::string ReRunTaskFlowInstanceRequest::getDagVersion() const {
|
||||
return dagVersion_;
|
||||
}
|
||||
|
||||
void ReRunTaskFlowInstanceRequest::setDagVersion(const std::string &dagVersion) {
|
||||
dagVersion_ = dagVersion;
|
||||
setParameter(std::string("DagVersion"), dagVersion);
|
||||
}
|
||||
|
||||
long ReRunTaskFlowInstanceRequest::getDagId() const {
|
||||
return dagId_;
|
||||
}
|
||||
@@ -52,6 +43,15 @@ void ReRunTaskFlowInstanceRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string ReRunTaskFlowInstanceRequest::getDagVersion() const {
|
||||
return dagVersion_;
|
||||
}
|
||||
|
||||
void ReRunTaskFlowInstanceRequest::setDagVersion(const std::string &dagVersion) {
|
||||
dagVersion_ = dagVersion;
|
||||
setParameter(std::string("DagVersion"), dagVersion);
|
||||
}
|
||||
|
||||
long ReRunTaskFlowInstanceRequest::getDagInstanceId() const {
|
||||
return dagInstanceId_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ RefundPayAsYouGoOrderRequest::RefundPayAsYouGoOrderRequest()
|
||||
|
||||
RefundPayAsYouGoOrderRequest::~RefundPayAsYouGoOrderRequest() {}
|
||||
|
||||
std::string RefundPayAsYouGoOrderRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void RefundPayAsYouGoOrderRequest::setOrderId(const std::string &orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), orderId);
|
||||
}
|
||||
|
||||
long RefundPayAsYouGoOrderRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,3 +34,12 @@ void RefundPayAsYouGoOrderRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string RefundPayAsYouGoOrderRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void RefundPayAsYouGoOrderRequest::setOrderId(const std::string &orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), orderId);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,15 +43,6 @@ void RegisterUserRequest::setUserNick(const std::string &userNick) {
|
||||
setParameter(std::string("UserNick"), userNick);
|
||||
}
|
||||
|
||||
std::string RegisterUserRequest::getMobile() const {
|
||||
return mobile_;
|
||||
}
|
||||
|
||||
void RegisterUserRequest::setMobile(const std::string &mobile) {
|
||||
mobile_ = mobile;
|
||||
setParameter(std::string("Mobile"), mobile);
|
||||
}
|
||||
|
||||
long RegisterUserRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -70,3 +61,12 @@ void RegisterUserRequest::setUid(const std::string &uid) {
|
||||
setParameter(std::string("Uid"), uid);
|
||||
}
|
||||
|
||||
std::string RegisterUserRequest::getMobile() const {
|
||||
return mobile_;
|
||||
}
|
||||
|
||||
void RegisterUserRequest::setMobile(const std::string &mobile) {
|
||||
mobile_ = mobile;
|
||||
setParameter(std::string("Mobile"), mobile);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ RestartDataCorrectSQLJobRequest::RestartDataCorrectSQLJobRequest()
|
||||
|
||||
RestartDataCorrectSQLJobRequest::~RestartDataCorrectSQLJobRequest() {}
|
||||
|
||||
long RestartDataCorrectSQLJobRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void RestartDataCorrectSQLJobRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
std::string RestartDataCorrectSQLJobRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
@@ -61,3 +52,12 @@ void RestartDataCorrectSQLJobRequest::setJobId(long jobId) {
|
||||
setParameter(std::string("JobId"), std::to_string(jobId));
|
||||
}
|
||||
|
||||
long RestartDataCorrectSQLJobRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void RestartDataCorrectSQLJobRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ ResumeTaskFlowInstanceRequest::ResumeTaskFlowInstanceRequest()
|
||||
|
||||
ResumeTaskFlowInstanceRequest::~ResumeTaskFlowInstanceRequest() {}
|
||||
|
||||
std::string ResumeTaskFlowInstanceRequest::getDagVersion() const {
|
||||
return dagVersion_;
|
||||
}
|
||||
|
||||
void ResumeTaskFlowInstanceRequest::setDagVersion(const std::string &dagVersion) {
|
||||
dagVersion_ = dagVersion;
|
||||
setParameter(std::string("DagVersion"), dagVersion);
|
||||
}
|
||||
|
||||
long ResumeTaskFlowInstanceRequest::getDagId() const {
|
||||
return dagId_;
|
||||
}
|
||||
@@ -52,6 +43,15 @@ void ResumeTaskFlowInstanceRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string ResumeTaskFlowInstanceRequest::getDagVersion() const {
|
||||
return dagVersion_;
|
||||
}
|
||||
|
||||
void ResumeTaskFlowInstanceRequest::setDagVersion(const std::string &dagVersion) {
|
||||
dagVersion_ = dagVersion;
|
||||
setParameter(std::string("DagVersion"), dagVersion);
|
||||
}
|
||||
|
||||
long ResumeTaskFlowInstanceRequest::getDagInstanceId() const {
|
||||
return dagInstanceId_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ RetryDataCorrectPreCheckRequest::RetryDataCorrectPreCheckRequest()
|
||||
|
||||
RetryDataCorrectPreCheckRequest::~RetryDataCorrectPreCheckRequest() {}
|
||||
|
||||
long RetryDataCorrectPreCheckRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void RetryDataCorrectPreCheckRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long RetryDataCorrectPreCheckRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,3 +34,12 @@ void RetryDataCorrectPreCheckRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long RetryDataCorrectPreCheckRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void RetryDataCorrectPreCheckRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,42 @@ RevokeUserPermissionRequest::RevokeUserPermissionRequest()
|
||||
|
||||
RevokeUserPermissionRequest::~RevokeUserPermissionRequest() {}
|
||||
|
||||
std::string RevokeUserPermissionRequest::getUserId() const {
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void RevokeUserPermissionRequest::setUserId(const std::string &userId) {
|
||||
userId_ = userId;
|
||||
setParameter(std::string("UserId"), userId);
|
||||
}
|
||||
|
||||
long RevokeUserPermissionRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void RevokeUserPermissionRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string RevokeUserPermissionRequest::getTableId() const {
|
||||
return tableId_;
|
||||
}
|
||||
|
||||
void RevokeUserPermissionRequest::setTableId(const std::string &tableId) {
|
||||
tableId_ = tableId;
|
||||
setParameter(std::string("TableId"), tableId);
|
||||
}
|
||||
|
||||
std::string RevokeUserPermissionRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void RevokeUserPermissionRequest::setTableName(const std::string &tableName) {
|
||||
tableName_ = tableName;
|
||||
setParameter(std::string("TableName"), tableName);
|
||||
}
|
||||
|
||||
std::string RevokeUserPermissionRequest::getPermTypes() const {
|
||||
return permTypes_;
|
||||
}
|
||||
@@ -52,24 +88,6 @@ void RevokeUserPermissionRequest::setDsType(const std::string &dsType) {
|
||||
setParameter(std::string("DsType"), dsType);
|
||||
}
|
||||
|
||||
std::string RevokeUserPermissionRequest::getUserId() const {
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void RevokeUserPermissionRequest::setUserId(const std::string &userId) {
|
||||
userId_ = userId;
|
||||
setParameter(std::string("UserId"), userId);
|
||||
}
|
||||
|
||||
long RevokeUserPermissionRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void RevokeUserPermissionRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long RevokeUserPermissionRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
@@ -88,15 +106,6 @@ void RevokeUserPermissionRequest::setDbId(const std::string &dbId) {
|
||||
setParameter(std::string("DbId"), dbId);
|
||||
}
|
||||
|
||||
std::string RevokeUserPermissionRequest::getTableId() const {
|
||||
return tableId_;
|
||||
}
|
||||
|
||||
void RevokeUserPermissionRequest::setTableId(const std::string &tableId) {
|
||||
tableId_ = tableId;
|
||||
setParameter(std::string("TableId"), tableId);
|
||||
}
|
||||
|
||||
bool RevokeUserPermissionRequest::getLogic() const {
|
||||
return logic_;
|
||||
}
|
||||
@@ -106,12 +115,3 @@ void RevokeUserPermissionRequest::setLogic(bool logic) {
|
||||
setParameter(std::string("Logic"), logic ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string RevokeUserPermissionRequest::getTableName() const {
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void RevokeUserPermissionRequest::setTableName(const std::string &tableName) {
|
||||
tableName_ = tableName;
|
||||
setParameter(std::string("TableName"), tableName);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ SetOwnersRequest::SetOwnersRequest()
|
||||
|
||||
SetOwnersRequest::~SetOwnersRequest() {}
|
||||
|
||||
std::string SetOwnersRequest::getResourceId() const {
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void SetOwnersRequest::setResourceId(const std::string &resourceId) {
|
||||
resourceId_ = resourceId;
|
||||
setParameter(std::string("ResourceId"), resourceId);
|
||||
}
|
||||
|
||||
std::string SetOwnersRequest::getOwnerIds() const {
|
||||
return ownerIds_;
|
||||
}
|
||||
@@ -52,6 +43,15 @@ void SetOwnersRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string SetOwnersRequest::getResourceId() const {
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void SetOwnersRequest::setResourceId(const std::string &resourceId) {
|
||||
resourceId_ = resourceId;
|
||||
setParameter(std::string("ResourceId"), resourceId);
|
||||
}
|
||||
|
||||
std::string SetOwnersRequest::getOwnerType() const {
|
||||
return ownerType_;
|
||||
}
|
||||
|
||||
@@ -25,15 +25,6 @@ SubmitOrderApprovalRequest::SubmitOrderApprovalRequest()
|
||||
|
||||
SubmitOrderApprovalRequest::~SubmitOrderApprovalRequest() {}
|
||||
|
||||
long SubmitOrderApprovalRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void SubmitOrderApprovalRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long SubmitOrderApprovalRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,3 +34,12 @@ void SubmitOrderApprovalRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long SubmitOrderApprovalRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void SubmitOrderApprovalRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ SubmitStructSyncOrderApprovalRequest::SubmitStructSyncOrderApprovalRequest()
|
||||
|
||||
SubmitStructSyncOrderApprovalRequest::~SubmitStructSyncOrderApprovalRequest() {}
|
||||
|
||||
long SubmitStructSyncOrderApprovalRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void SubmitStructSyncOrderApprovalRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
long SubmitStructSyncOrderApprovalRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,3 +34,12 @@ void SubmitStructSyncOrderApprovalRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
long SubmitStructSyncOrderApprovalRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void SubmitStructSyncOrderApprovalRequest::setOrderId(long orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), std::to_string(orderId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,15 +25,6 @@ SyncInstanceMetaRequest::SyncInstanceMetaRequest()
|
||||
|
||||
SyncInstanceMetaRequest::~SyncInstanceMetaRequest() {}
|
||||
|
||||
bool SyncInstanceMetaRequest::getIgnoreTable() const {
|
||||
return ignoreTable_;
|
||||
}
|
||||
|
||||
void SyncInstanceMetaRequest::setIgnoreTable(bool ignoreTable) {
|
||||
ignoreTable_ = ignoreTable;
|
||||
setParameter(std::string("IgnoreTable"), ignoreTable ? "true" : "false");
|
||||
}
|
||||
|
||||
long SyncInstanceMetaRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
@@ -43,6 +34,15 @@ void SyncInstanceMetaRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
bool SyncInstanceMetaRequest::getIgnoreTable() const {
|
||||
return ignoreTable_;
|
||||
}
|
||||
|
||||
void SyncInstanceMetaRequest::setIgnoreTable(bool ignoreTable) {
|
||||
ignoreTable_ = ignoreTable;
|
||||
setParameter(std::string("IgnoreTable"), ignoreTable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SyncInstanceMetaRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
@@ -43,15 +43,6 @@ void UpdateScenarioRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::string UpdateScenarioRequest::getScenarioName() const {
|
||||
return scenarioName_;
|
||||
}
|
||||
|
||||
void UpdateScenarioRequest::setScenarioName(const std::string &scenarioName) {
|
||||
scenarioName_ = scenarioName;
|
||||
setParameter(std::string("ScenarioName"), scenarioName);
|
||||
}
|
||||
|
||||
std::string UpdateScenarioRequest::getScenarioId() const {
|
||||
return scenarioId_;
|
||||
}
|
||||
@@ -61,3 +52,12 @@ void UpdateScenarioRequest::setScenarioId(const std::string &scenarioId) {
|
||||
setParameter(std::string("ScenarioId"), scenarioId);
|
||||
}
|
||||
|
||||
std::string UpdateScenarioRequest::getScenarioName() const {
|
||||
return scenarioName_;
|
||||
}
|
||||
|
||||
void UpdateScenarioRequest::setScenarioName(const std::string &scenarioName) {
|
||||
scenarioName_ = scenarioName;
|
||||
setParameter(std::string("ScenarioName"), scenarioName);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,18 +25,6 @@ UpdateTaskFlowConstantsRequest::UpdateTaskFlowConstantsRequest()
|
||||
|
||||
UpdateTaskFlowConstantsRequest::~UpdateTaskFlowConstantsRequest() {}
|
||||
|
||||
std::vector<UpdateTaskFlowConstantsRequest::DagConstants> UpdateTaskFlowConstantsRequest::getDagConstants() const {
|
||||
return dagConstants_;
|
||||
}
|
||||
|
||||
void UpdateTaskFlowConstantsRequest::setDagConstants(const std::vector<UpdateTaskFlowConstantsRequest::DagConstants> &dagConstants) {
|
||||
dagConstants_ = dagConstants;
|
||||
for(int dep1 = 0; dep1 != dagConstants.size(); dep1++) {
|
||||
setParameter(std::string("DagConstants") + "." + std::to_string(dep1 + 1) + ".Value", dagConstants[dep1].value);
|
||||
setParameter(std::string("DagConstants") + "." + std::to_string(dep1 + 1) + ".Key", dagConstants[dep1].key);
|
||||
}
|
||||
}
|
||||
|
||||
long UpdateTaskFlowConstantsRequest::getDagId() const {
|
||||
return dagId_;
|
||||
}
|
||||
@@ -55,3 +43,15 @@ void UpdateTaskFlowConstantsRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::vector<UpdateTaskFlowConstantsRequest::DagConstants> UpdateTaskFlowConstantsRequest::getDagConstants() const {
|
||||
return dagConstants_;
|
||||
}
|
||||
|
||||
void UpdateTaskFlowConstantsRequest::setDagConstants(const std::vector<UpdateTaskFlowConstantsRequest::DagConstants> &dagConstants) {
|
||||
dagConstants_ = dagConstants;
|
||||
for(int dep1 = 0; dep1 != dagConstants.size(); dep1++) {
|
||||
setParameter(std::string("DagConstants") + "." + std::to_string(dep1 + 1) + ".Value", dagConstants[dep1].value);
|
||||
setParameter(std::string("DagConstants") + "." + std::to_string(dep1 + 1) + ".Key", dagConstants[dep1].key);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,15 @@ void UpdateTaskFlowCooperatorsRequest::setDagId(long dagId) {
|
||||
setParameter(std::string("DagId"), std::to_string(dagId));
|
||||
}
|
||||
|
||||
long UpdateTaskFlowCooperatorsRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void UpdateTaskFlowCooperatorsRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::vector<UpdateTaskFlowCooperatorsRequest::std::string> UpdateTaskFlowCooperatorsRequest::getCooperatorIds() const {
|
||||
return cooperatorIds_;
|
||||
}
|
||||
@@ -45,12 +54,3 @@ void UpdateTaskFlowCooperatorsRequest::setCooperatorIds(const std::vector<Update
|
||||
}
|
||||
}
|
||||
|
||||
long UpdateTaskFlowCooperatorsRequest::getTid() const {
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void UpdateTaskFlowCooperatorsRequest::setTid(long tid) {
|
||||
tid_ = tid;
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,19 +25,6 @@ UpdateTaskFlowEdgesRequest::UpdateTaskFlowEdgesRequest()
|
||||
|
||||
UpdateTaskFlowEdgesRequest::~UpdateTaskFlowEdgesRequest() {}
|
||||
|
||||
std::vector<UpdateTaskFlowEdgesRequest::Edges> UpdateTaskFlowEdgesRequest::getEdges() const {
|
||||
return edges_;
|
||||
}
|
||||
|
||||
void UpdateTaskFlowEdgesRequest::setEdges(const std::vector<UpdateTaskFlowEdgesRequest::Edges> &edges) {
|
||||
edges_ = edges;
|
||||
for(int dep1 = 0; dep1 != edges.size(); dep1++) {
|
||||
setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".NodeEnd", std::to_string(edges[dep1].nodeEnd));
|
||||
setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".NodeFrom", std::to_string(edges[dep1].nodeFrom));
|
||||
setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".Id", std::to_string(edges[dep1].id));
|
||||
}
|
||||
}
|
||||
|
||||
long UpdateTaskFlowEdgesRequest::getDagId() const {
|
||||
return dagId_;
|
||||
}
|
||||
@@ -56,3 +43,16 @@ void UpdateTaskFlowEdgesRequest::setTid(long tid) {
|
||||
setParameter(std::string("Tid"), std::to_string(tid));
|
||||
}
|
||||
|
||||
std::vector<UpdateTaskFlowEdgesRequest::Edges> UpdateTaskFlowEdgesRequest::getEdges() const {
|
||||
return edges_;
|
||||
}
|
||||
|
||||
void UpdateTaskFlowEdgesRequest::setEdges(const std::vector<UpdateTaskFlowEdgesRequest::Edges> &edges) {
|
||||
edges_ = edges;
|
||||
for(int dep1 = 0; dep1 != edges.size(); dep1++) {
|
||||
setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".NodeEnd", std::to_string(edges[dep1].nodeEnd));
|
||||
setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".NodeFrom", std::to_string(edges[dep1].nodeFrom));
|
||||
setParameter(std::string("Edges") + "." + std::to_string(dep1 + 1) + ".Id", std::to_string(edges[dep1].id));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user