Generated 2020-05-18 for dataworks-public.
This commit is contained in:
@@ -37,10 +37,8 @@ namespace AlibabaCloud
|
||||
CreateBaselineResult();
|
||||
explicit CreateBaselineResult(const std::string &payload);
|
||||
~CreateBaselineResult();
|
||||
std::string getDynamicErrorMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
long getData()const;
|
||||
std::string getDynamicErrorCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
@@ -48,10 +46,8 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dynamicErrorMessage_;
|
||||
int httpStatusCode_;
|
||||
long data_;
|
||||
std::string dynamicErrorCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
@@ -70,6 +70,8 @@ public:
|
||||
void setAutoRerunTimes(int autoRerunTimes);
|
||||
std::string getCronExpress() const;
|
||||
void setCronExpress(const std::string &cronExpress);
|
||||
bool getIgnoreParentSkipRunningProperty() const;
|
||||
void setIgnoreParentSkipRunningProperty(bool ignoreParentSkipRunningProperty);
|
||||
long getEndEffectDate() const;
|
||||
void setEndEffectDate(long endEffectDate);
|
||||
std::string getFileName() const;
|
||||
@@ -110,6 +112,7 @@ private:
|
||||
std::string resourceGroupIdentifier_;
|
||||
int autoRerunTimes_;
|
||||
std::string cronExpress_;
|
||||
bool ignoreParentSkipRunningProperty_;
|
||||
long endEffectDate_;
|
||||
std::string fileName_;
|
||||
std::string inputParameters_;
|
||||
|
||||
@@ -37,10 +37,8 @@ namespace AlibabaCloud
|
||||
DeleteBaselineResult();
|
||||
explicit DeleteBaselineResult(const std::string &payload);
|
||||
~DeleteBaselineResult();
|
||||
std::string getDynamicErrorMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
bool getData()const;
|
||||
std::string getDynamicErrorCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
@@ -48,10 +46,8 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dynamicErrorMessage_;
|
||||
int httpStatusCode_;
|
||||
bool data_;
|
||||
std::string dynamicErrorCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
@@ -62,8 +62,8 @@ namespace AlibabaCloud
|
||||
long baselineId;
|
||||
std::string owner;
|
||||
std::string baselineType;
|
||||
std::vector<std::string> taskIds;
|
||||
int priority;
|
||||
std::vector<std::string> nodeIds;
|
||||
std::string baselineName;
|
||||
long projectId;
|
||||
bool enabled;
|
||||
@@ -77,10 +77,8 @@ namespace AlibabaCloud
|
||||
GetBaselineResult();
|
||||
explicit GetBaselineResult(const std::string &payload);
|
||||
~GetBaselineResult();
|
||||
std::string getDynamicErrorMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getDynamicErrorCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
@@ -88,10 +86,8 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dynamicErrorMessage_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string dynamicErrorCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
@@ -62,10 +62,8 @@ namespace AlibabaCloud
|
||||
ListBaselinesResult();
|
||||
explicit ListBaselinesResult(const std::string &payload);
|
||||
~ListBaselinesResult();
|
||||
std::string getDynamicErrorMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getDynamicErrorCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
@@ -73,10 +71,8 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dynamicErrorMessage_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string dynamicErrorCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace AlibabaCloud
|
||||
int connectStatus;
|
||||
std::string subType;
|
||||
std::string description;
|
||||
int bindingCalcEngineId;
|
||||
long bindingCalcEngineId;
|
||||
int projectId;
|
||||
std::string gmtModified;
|
||||
std::string _operator;
|
||||
@@ -53,7 +53,7 @@ namespace AlibabaCloud
|
||||
long tenantId;
|
||||
std::string content;
|
||||
std::string dataSourceType;
|
||||
int id;
|
||||
long id;
|
||||
};
|
||||
std::vector<DataSourcesItem> dataSources;
|
||||
int totalCount;
|
||||
|
||||
@@ -34,6 +34,10 @@ public:
|
||||
void setProjectEnv(const std::string &projectEnv);
|
||||
std::string getProjectName() const;
|
||||
void setProjectName(const std::string &projectName);
|
||||
std::string getStartBizDate() const;
|
||||
void setStartBizDate(const std::string &startBizDate);
|
||||
std::string getEndBizDate() const;
|
||||
void setEndBizDate(const std::string &endBizDate);
|
||||
std::string getDagParameters() const;
|
||||
void setDagParameters(const std::string &dagParameters);
|
||||
std::string getIncludeNodeIds() const;
|
||||
@@ -52,6 +56,8 @@ public:
|
||||
private:
|
||||
std::string projectEnv_;
|
||||
std::string projectName_;
|
||||
std::string startBizDate_;
|
||||
std::string endBizDate_;
|
||||
std::string dagParameters_;
|
||||
std::string includeNodeIds_;
|
||||
std::string bizDate_;
|
||||
|
||||
@@ -37,10 +37,8 @@ namespace AlibabaCloud
|
||||
UpdateBaselineResult();
|
||||
explicit UpdateBaselineResult(const std::string &payload);
|
||||
~UpdateBaselineResult();
|
||||
std::string getDynamicErrorMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
bool getData()const;
|
||||
std::string getDynamicErrorCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
@@ -48,10 +46,8 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dynamicErrorMessage_;
|
||||
int httpStatusCode_;
|
||||
bool data_;
|
||||
std::string dynamicErrorCode_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
@@ -70,6 +70,8 @@ public:
|
||||
void setAutoRerunTimes(int autoRerunTimes);
|
||||
std::string getCronExpress() const;
|
||||
void setCronExpress(const std::string &cronExpress);
|
||||
bool getIgnoreParentSkipRunningProperty() const;
|
||||
void setIgnoreParentSkipRunningProperty(bool ignoreParentSkipRunningProperty);
|
||||
long getEndEffectDate() const;
|
||||
void setEndEffectDate(long endEffectDate);
|
||||
std::string getFileName() const;
|
||||
@@ -110,6 +112,7 @@ private:
|
||||
std::string resourceGroupIdentifier_;
|
||||
int autoRerunTimes_;
|
||||
std::string cronExpress_;
|
||||
bool ignoreParentSkipRunningProperty_;
|
||||
long endEffectDate_;
|
||||
std::string fileName_;
|
||||
std::string inputParameters_;
|
||||
|
||||
@@ -49,18 +49,9 @@ void CreateBaselineResult::parse(const std::string &payload)
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = std::stol(value["Data"].asString());
|
||||
if(!value["DynamicErrorCode"].isNull())
|
||||
dynamicErrorCode_ = value["DynamicErrorCode"].asString();
|
||||
if(!value["DynamicErrorMessage"].isNull())
|
||||
dynamicErrorMessage_ = value["DynamicErrorMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateBaselineResult::getDynamicErrorMessage()const
|
||||
{
|
||||
return dynamicErrorMessage_;
|
||||
}
|
||||
|
||||
int CreateBaselineResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
@@ -71,11 +62,6 @@ long CreateBaselineResult::getData()const
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateBaselineResult::getDynamicErrorCode()const
|
||||
{
|
||||
return dynamicErrorCode_;
|
||||
}
|
||||
|
||||
std::string CreateBaselineResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
|
||||
@@ -205,6 +205,15 @@ void CreateFileRequest::setCronExpress(const std::string &cronExpress) {
|
||||
setBodyParameter(std::string("CronExpress"), cronExpress);
|
||||
}
|
||||
|
||||
bool CreateFileRequest::getIgnoreParentSkipRunningProperty() const {
|
||||
return ignoreParentSkipRunningProperty_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setIgnoreParentSkipRunningProperty(bool ignoreParentSkipRunningProperty) {
|
||||
ignoreParentSkipRunningProperty_ = ignoreParentSkipRunningProperty;
|
||||
setBodyParameter(std::string("IgnoreParentSkipRunningProperty"), ignoreParentSkipRunningProperty ? "true" : "false");
|
||||
}
|
||||
|
||||
long CreateFileRequest::getEndEffectDate() const {
|
||||
return endEffectDate_;
|
||||
}
|
||||
|
||||
@@ -49,18 +49,9 @@ void DeleteBaselineResult::parse(const std::string &payload)
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
if(!value["DynamicErrorCode"].isNull())
|
||||
dynamicErrorCode_ = value["DynamicErrorCode"].asString();
|
||||
if(!value["DynamicErrorMessage"].isNull())
|
||||
dynamicErrorMessage_ = value["DynamicErrorMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteBaselineResult::getDynamicErrorMessage()const
|
||||
{
|
||||
return dynamicErrorMessage_;
|
||||
}
|
||||
|
||||
int DeleteBaselineResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
@@ -71,11 +62,6 @@ bool DeleteBaselineResult::getData()const
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DeleteBaselineResult::getDynamicErrorCode()const
|
||||
{
|
||||
return dynamicErrorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteBaselineResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
|
||||
@@ -109,9 +109,9 @@ void GetBaselineResult::parse(const std::string &payload)
|
||||
alertSettingObject.topicTypes.push_back(value.asString());
|
||||
data_.alertSettings.push_back(alertSettingObject);
|
||||
}
|
||||
auto allTaskIds = dataNode["TaskIds"]["TaskId"];
|
||||
for (auto value : allTaskIds)
|
||||
data_.taskIds.push_back(value.asString());
|
||||
auto allNodeIds = dataNode["NodeIds"]["NodeId"];
|
||||
for (auto value : allNodeIds)
|
||||
data_.nodeIds.push_back(value.asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
@@ -120,18 +120,9 @@ void GetBaselineResult::parse(const std::string &payload)
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["DynamicErrorCode"].isNull())
|
||||
dynamicErrorCode_ = value["DynamicErrorCode"].asString();
|
||||
if(!value["DynamicErrorMessage"].isNull())
|
||||
dynamicErrorMessage_ = value["DynamicErrorMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetBaselineResult::getDynamicErrorMessage()const
|
||||
{
|
||||
return dynamicErrorMessage_;
|
||||
}
|
||||
|
||||
int GetBaselineResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
@@ -142,11 +133,6 @@ GetBaselineResult::Data GetBaselineResult::getData()const
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string GetBaselineResult::getDynamicErrorCode()const
|
||||
{
|
||||
return dynamicErrorCode_;
|
||||
}
|
||||
|
||||
std::string GetBaselineResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
|
||||
@@ -88,18 +88,9 @@ void ListBaselinesResult::parse(const std::string &payload)
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["DynamicErrorCode"].isNull())
|
||||
dynamicErrorCode_ = value["DynamicErrorCode"].asString();
|
||||
if(!value["DynamicErrorMessage"].isNull())
|
||||
dynamicErrorMessage_ = value["DynamicErrorMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListBaselinesResult::getDynamicErrorMessage()const
|
||||
{
|
||||
return dynamicErrorMessage_;
|
||||
}
|
||||
|
||||
int ListBaselinesResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
@@ -110,11 +101,6 @@ ListBaselinesResult::Data ListBaselinesResult::getData()const
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListBaselinesResult::getDynamicErrorCode()const
|
||||
{
|
||||
return dynamicErrorCode_;
|
||||
}
|
||||
|
||||
std::string ListBaselinesResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
|
||||
@@ -81,9 +81,9 @@ void ListDataSourcesResult::parse(const std::string &payload)
|
||||
if(!dataNodeDataSourcesDataSourcesItem["Content"].isNull())
|
||||
dataSourcesItemObject.content = dataNodeDataSourcesDataSourcesItem["Content"].asString();
|
||||
if(!dataNodeDataSourcesDataSourcesItem["Id"].isNull())
|
||||
dataSourcesItemObject.id = std::stoi(dataNodeDataSourcesDataSourcesItem["Id"].asString());
|
||||
dataSourcesItemObject.id = std::stol(dataNodeDataSourcesDataSourcesItem["Id"].asString());
|
||||
if(!dataNodeDataSourcesDataSourcesItem["BindingCalcEngineId"].isNull())
|
||||
dataSourcesItemObject.bindingCalcEngineId = std::stoi(dataNodeDataSourcesDataSourcesItem["BindingCalcEngineId"].asString());
|
||||
dataSourcesItemObject.bindingCalcEngineId = std::stol(dataNodeDataSourcesDataSourcesItem["BindingCalcEngineId"].asString());
|
||||
if(!dataNodeDataSourcesDataSourcesItem["TenantId"].isNull())
|
||||
dataSourcesItemObject.tenantId = std::stol(dataNodeDataSourcesDataSourcesItem["TenantId"].asString());
|
||||
data_.dataSources.push_back(dataSourcesItemObject);
|
||||
|
||||
@@ -43,6 +43,24 @@ void RunManualDagNodesRequest::setProjectName(const std::string &projectName) {
|
||||
setBodyParameter(std::string("ProjectName"), projectName);
|
||||
}
|
||||
|
||||
std::string RunManualDagNodesRequest::getStartBizDate() const {
|
||||
return startBizDate_;
|
||||
}
|
||||
|
||||
void RunManualDagNodesRequest::setStartBizDate(const std::string &startBizDate) {
|
||||
startBizDate_ = startBizDate;
|
||||
setBodyParameter(std::string("StartBizDate"), startBizDate);
|
||||
}
|
||||
|
||||
std::string RunManualDagNodesRequest::getEndBizDate() const {
|
||||
return endBizDate_;
|
||||
}
|
||||
|
||||
void RunManualDagNodesRequest::setEndBizDate(const std::string &endBizDate) {
|
||||
endBizDate_ = endBizDate;
|
||||
setBodyParameter(std::string("EndBizDate"), endBizDate);
|
||||
}
|
||||
|
||||
std::string RunManualDagNodesRequest::getDagParameters() const {
|
||||
return dagParameters_;
|
||||
}
|
||||
|
||||
@@ -49,18 +49,9 @@ void UpdateBaselineResult::parse(const std::string &payload)
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
if(!value["DynamicErrorCode"].isNull())
|
||||
dynamicErrorCode_ = value["DynamicErrorCode"].asString();
|
||||
if(!value["DynamicErrorMessage"].isNull())
|
||||
dynamicErrorMessage_ = value["DynamicErrorMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string UpdateBaselineResult::getDynamicErrorMessage()const
|
||||
{
|
||||
return dynamicErrorMessage_;
|
||||
}
|
||||
|
||||
int UpdateBaselineResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
@@ -71,11 +62,6 @@ bool UpdateBaselineResult::getData()const
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string UpdateBaselineResult::getDynamicErrorCode()const
|
||||
{
|
||||
return dynamicErrorCode_;
|
||||
}
|
||||
|
||||
std::string UpdateBaselineResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
|
||||
@@ -205,6 +205,15 @@ void UpdateFileRequest::setCronExpress(const std::string &cronExpress) {
|
||||
setBodyParameter(std::string("CronExpress"), cronExpress);
|
||||
}
|
||||
|
||||
bool UpdateFileRequest::getIgnoreParentSkipRunningProperty() const {
|
||||
return ignoreParentSkipRunningProperty_;
|
||||
}
|
||||
|
||||
void UpdateFileRequest::setIgnoreParentSkipRunningProperty(bool ignoreParentSkipRunningProperty) {
|
||||
ignoreParentSkipRunningProperty_ = ignoreParentSkipRunningProperty;
|
||||
setBodyParameter(std::string("IgnoreParentSkipRunningProperty"), ignoreParentSkipRunningProperty ? "true" : "false");
|
||||
}
|
||||
|
||||
long UpdateFileRequest::getEndEffectDate() const {
|
||||
return endEffectDate_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user