Compare commits

...

6 Commits

Author SHA1 Message Date
sdk-team
c3c8160946 Add ListDevopsProjects. 2021-06-15 06:35:33 +00:00
sdk-team
052e0fa723 Supported EncryptNewTables for ModifyDBClusterTDE. 2021-06-15 02:46:51 +00:00
sdk-team
ff9366ef41 Support API for Trail. 2021-06-15 02:40:00 +00:00
sdk-team
ac11b7e23d Add CreateSshKey OpenAPI. 2021-06-11 02:11:54 +00:00
sdk-team
5599b4ad14 Support SQLReview Order API. 2021-06-10 14:06:49 +00:00
sdk-team
b4b0cb593d Generated 2016-11-01 for live. 2021-06-10 07:33:20 +00:00
357 changed files with 11076 additions and 9308 deletions

View File

@@ -1,3 +1,22 @@
2021-06-15 Version: 1.36.786
- Add ListDevopsProjects.
2021-06-15 Version: 1.36.785
- Supported EncryptNewTables for ModifyDBClusterTDE.
- Supported SSLAutoRotate for ModifyDBClusterSSL.
2021-06-15 Version: 1.36.784
- Support API for Trail.
2021-06-11 Version: 1.36.783
- Add CreateSshKey OpenAPI.
2021-06-10 Version: 1.36.782
- Support SQLReview Order API.
2021-06-10 Version: 1.36.781
- Generated 2016-11-01 for `live`.
2021-06-10 Version: 1.36.780
- DiskEncryption.

View File

@@ -1 +1 @@
1.36.780
1.36.786

View File

@@ -37,18 +37,14 @@ namespace AlibabaCloud
std::string getSlsProjectArn()const;
void setSlsProjectArn(const std::string& slsProjectArn);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSlsWriteRoleArn()const;
void setSlsWriteRoleArn(const std::string& slsWriteRoleArn);
bool getIsOrganizationTrail()const;
void setIsOrganizationTrail(bool isOrganizationTrail);
std::string getOssKeyPrefix()const;
void setOssKeyPrefix(const std::string& ossKeyPrefix);
std::string getMnsTopicArn()const;
void setMnsTopicArn(const std::string& mnsTopicArn);
std::string getRoleName()const;
void setRoleName(const std::string& roleName);
std::string getOssWriteRoleArn()const;
void setOssWriteRoleArn(const std::string& ossWriteRoleArn);
std::string getEventRW()const;
void setEventRW(const std::string& eventRW);
std::string getName()const;
@@ -60,12 +56,10 @@ namespace AlibabaCloud
private:
std::string slsProjectArn_;
std::string accessKeyId_;
std::string slsWriteRoleArn_;
bool isOrganizationTrail_;
std::string ossKeyPrefix_;
std::string mnsTopicArn_;
std::string roleName_;
std::string ossWriteRoleArn_;
std::string eventRW_;
std::string name_;
std::string ossBucketName_;

View File

@@ -38,13 +38,12 @@ namespace AlibabaCloud
explicit CreateTrailResult(const std::string &payload);
~CreateTrailResult();
std::string getSlsProjectArn()const;
std::string getMnsTopicArn()const;
std::string getRoleName()const;
std::string getEventRW()const;
std::string getHomeRegion()const;
std::string getOssKeyPrefix()const;
std::string getOssBucketName()const;
std::string getSlsWriteRoleArn()const;
std::string getOssWriteRoleArn()const;
std::string getTrailRegion()const;
std::string getName()const;
@@ -52,13 +51,12 @@ namespace AlibabaCloud
void parse(const std::string &payload);
private:
std::string slsProjectArn_;
std::string mnsTopicArn_;
std::string roleName_;
std::string eventRW_;
std::string homeRegion_;
std::string ossKeyPrefix_;
std::string ossBucketName_;
std::string slsWriteRoleArn_;
std::string ossWriteRoleArn_;
std::string trailRegion_;
std::string name_;

View File

@@ -35,13 +35,10 @@ namespace AlibabaCloud
DeleteTrailRequest();
~DeleteTrailRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string accessKeyId_;
std::string name_;
};

View File

@@ -35,11 +35,11 @@ namespace AlibabaCloud
DescribeRegionsRequest();
~DescribeRegionsRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAcceptLanguage()const;
void setAcceptLanguage(const std::string& acceptLanguage);
private:
std::string accessKeyId_;
std::string acceptLanguage_;
};
}

View File

@@ -32,25 +32,23 @@ namespace AlibabaCloud
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DescribeRegionsResult : public ServiceResult
{
public:
struct Regions
struct Region
{
struct RegionItem
{
std::string regionId;
};
std::vector<RegionItem> region;
std::string regionId;
std::string regionEndpoint;
std::string localName;
};
DescribeRegionsResult();
explicit DescribeRegionsResult(const std::string &payload);
~DescribeRegionsResult();
Regions getRegions()const;
std::vector<Region> getRegions()const;
protected:
void parse(const std::string &payload);
private:
Regions regions_;
std::vector<Region> regions_;
};
}

View File

@@ -35,16 +35,16 @@ namespace AlibabaCloud
DescribeTrailsRequest();
~DescribeTrailsRequest();
bool getIncludeOrganizationTrail()const;
void setIncludeOrganizationTrail(bool includeOrganizationTrail);
bool getIncludeShadowTrails()const;
void setIncludeShadowTrails(bool includeShadowTrails);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getNameList()const;
void setNameList(const std::string& nameList);
private:
bool includeOrganizationTrail_;
bool includeShadowTrails_;
std::string accessKeyId_;
std::string nameList_;
};

View File

@@ -32,36 +32,39 @@ namespace AlibabaCloud
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DescribeTrailsResult : public ServiceResult
{
public:
struct TrailListItem
struct Trail
{
std::string status;
std::string mnsTopicArn;
std::string homeRegion;
std::string createTime;
std::string startLoggingTime;
std::string createTime;
std::string stopLoggingTime;
std::string organizationId;
std::string slsWriteRoleArn;
std::string ossBucketLocation;
std::string trailRegion;
std::string name;
bool isOrganizationTrail;
std::string slsProjectArn;
std::string roleName;
std::string eventRW;
std::string ossKeyPrefix;
std::string updateTime;
std::string region;
std::string ossBucketName;
std::string ossWriteRoleArn;
long isShadowTrail;
};
DescribeTrailsResult();
explicit DescribeTrailsResult(const std::string &payload);
~DescribeTrailsResult();
std::vector<TrailListItem> getTrailList()const;
std::vector<Trail> getTrailList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<TrailListItem> trailList_;
std::vector<Trail> trailList_;
};
}

View File

@@ -35,15 +35,12 @@ namespace AlibabaCloud
GetTrailStatusRequest();
~GetTrailStatusRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getName()const;
void setName(const std::string& name);
bool getIsOrganizationTrail()const;
void setIsOrganizationTrail(bool isOrganizationTrail);
private:
std::string accessKeyId_;
std::string name_;
bool isOrganizationTrail_;

View File

@@ -37,20 +37,28 @@ namespace AlibabaCloud
GetTrailStatusResult();
explicit GetTrailStatusResult(const std::string &payload);
~GetTrailStatusResult();
std::string getLatestDeliveryLogServiceTime()const;
std::string getLatestDeliveryLogServiceError()const;
std::string getStartLoggingTime()const;
bool getOssBucketStatus()const;
std::string getLatestDeliveryError()const;
std::string getStopLoggingTime()const;
bool getIsLogging()const;
bool getSlsLogStoreStatus()const;
std::string getLatestDeliveryTime()const;
bool getIsLogging()const;
protected:
void parse(const std::string &payload);
private:
std::string latestDeliveryLogServiceTime_;
std::string latestDeliveryLogServiceError_;
std::string startLoggingTime_;
bool ossBucketStatus_;
std::string latestDeliveryError_;
std::string stopLoggingTime_;
bool isLogging_;
bool slsLogStoreStatus_;
std::string latestDeliveryTime_;
bool isLogging_;
};
}

View File

@@ -30,58 +30,37 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_ACTIONTRAIL_EXPORT LookupEventsRequest : public RpcServiceRequest
{
public:
struct LookupAttribute
{
std::string value;
std::string key;
};
public:
LookupEventsRequest();
~LookupEventsRequest();
std::string getRequest()const;
void setRequest(const std::string& request);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getEventName()const;
void setEventName(const std::string& eventName);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
std::string getEvent()const;
void setEvent(const std::string& event);
std::string getEventAccessKeyId()const;
void setEventAccessKeyId(const std::string& eventAccessKeyId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getEventRW()const;
void setEventRW(const std::string& eventRW);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::vector<LookupAttribute> getLookupAttribute()const;
void setLookupAttribute(const std::vector<LookupAttribute>& lookupAttribute);
std::string getMaxResults()const;
void setMaxResults(const std::string& maxResults);
std::string getEventType()const;
void setEventType(const std::string& eventType);
std::string getResourceName()const;
void setResourceName(const std::string& resourceName);
std::string getUser()const;
void setUser(const std::string& user);
std::string getDirection()const;
void setDirection(const std::string& direction);
private:
std::string request_;
std::string startTime_;
std::string eventName_;
std::string accessKeyId_;
std::string nextToken_;
std::string serviceName_;
std::string event_;
std::string eventAccessKeyId_;
std::string endTime_;
std::string eventRW_;
std::string resourceType_;
std::string startTime_;
std::string nextToken_;
std::vector<LookupAttribute> lookupAttribute_;
std::string maxResults_;
std::string eventType_;
std::string resourceName_;
std::string user_;
std::string direction_;
};
}

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
LookupEventsResult();
explicit LookupEventsResult(const std::string &payload);
~LookupEventsResult();
std::string getNextToken()const;
std::string getEndTime()const;
std::string getNextToken()const;
std::vector<std::string> getEvents()const;
std::string getStartTime()const;
protected:
void parse(const std::string &payload);
private:
std::string nextToken_;
std::string endTime_;
std::string nextToken_;
std::vector<std::string> events_;
std::string startTime_;

View File

@@ -35,13 +35,10 @@ namespace AlibabaCloud
StartLoggingRequest();
~StartLoggingRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string accessKeyId_;
std::string name_;
};

View File

@@ -37,14 +37,10 @@ namespace AlibabaCloud
StartLoggingResult();
explicit StartLoggingResult(const std::string &payload);
~StartLoggingResult();
std::string getParam()const;
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string param_;
std::string result_;
};
}

View File

@@ -35,13 +35,10 @@ namespace AlibabaCloud
StopLoggingRequest();
~StopLoggingRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string accessKeyId_;
std::string name_;
};

View File

@@ -37,16 +37,12 @@ namespace AlibabaCloud
std::string getSlsProjectArn()const;
void setSlsProjectArn(const std::string& slsProjectArn);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSlsWriteRoleArn()const;
void setSlsWriteRoleArn(const std::string& slsWriteRoleArn);
std::string getOssKeyPrefix()const;
void setOssKeyPrefix(const std::string& ossKeyPrefix);
std::string getMnsTopicArn()const;
void setMnsTopicArn(const std::string& mnsTopicArn);
std::string getRoleName()const;
void setRoleName(const std::string& roleName);
std::string getOssWriteRoleArn()const;
void setOssWriteRoleArn(const std::string& ossWriteRoleArn);
std::string getEventRW()const;
void setEventRW(const std::string& eventRW);
std::string getName()const;
@@ -58,11 +54,9 @@ namespace AlibabaCloud
private:
std::string slsProjectArn_;
std::string accessKeyId_;
std::string slsWriteRoleArn_;
std::string ossKeyPrefix_;
std::string mnsTopicArn_;
std::string roleName_;
std::string ossWriteRoleArn_;
std::string eventRW_;
std::string name_;
std::string ossBucketName_;

View File

@@ -38,13 +38,12 @@ namespace AlibabaCloud
explicit UpdateTrailResult(const std::string &payload);
~UpdateTrailResult();
std::string getSlsProjectArn()const;
std::string getMnsTopicArn()const;
std::string getRoleName()const;
std::string getEventRW()const;
std::string getHomeRegion()const;
std::string getOssKeyPrefix()const;
std::string getOssBucketName()const;
std::string getSlsWriteRoleArn()const;
std::string getOssWriteRoleArn()const;
std::string getTrailRegion()const;
std::string getName()const;
@@ -52,13 +51,12 @@ namespace AlibabaCloud
void parse(const std::string &payload);
private:
std::string slsProjectArn_;
std::string mnsTopicArn_;
std::string roleName_;
std::string eventRW_;
std::string homeRegion_;
std::string ossKeyPrefix_;
std::string ossBucketName_;
std::string slsWriteRoleArn_;
std::string ossWriteRoleArn_;
std::string trailRegion_;
std::string name_;

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Actiontrail::Model::CreateTrailRequest;
CreateTrailRequest::CreateTrailRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "CreateTrail")
RpcServiceRequest("actiontrail", "2020-07-06", "CreateTrail")
{
setMethod(HttpRequest::Method::Post);
}
@@ -38,17 +38,6 @@ void CreateTrailRequest::setSlsProjectArn(const std::string& slsProjectArn)
setParameter("SlsProjectArn", slsProjectArn);
}
std::string CreateTrailRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateTrailRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string CreateTrailRequest::getSlsWriteRoleArn()const
{
return slsWriteRoleArn_;
@@ -82,26 +71,15 @@ void CreateTrailRequest::setOssKeyPrefix(const std::string& ossKeyPrefix)
setParameter("OssKeyPrefix", ossKeyPrefix);
}
std::string CreateTrailRequest::getMnsTopicArn()const
std::string CreateTrailRequest::getOssWriteRoleArn()const
{
return mnsTopicArn_;
return ossWriteRoleArn_;
}
void CreateTrailRequest::setMnsTopicArn(const std::string& mnsTopicArn)
void CreateTrailRequest::setOssWriteRoleArn(const std::string& ossWriteRoleArn)
{
mnsTopicArn_ = mnsTopicArn;
setParameter("MnsTopicArn", mnsTopicArn);
}
std::string CreateTrailRequest::getRoleName()const
{
return roleName_;
}
void CreateTrailRequest::setRoleName(const std::string& roleName)
{
roleName_ = roleName;
setParameter("RoleName", roleName);
ossWriteRoleArn_ = ossWriteRoleArn;
setParameter("OssWriteRoleArn", ossWriteRoleArn);
}
std::string CreateTrailRequest::getEventRW()const

View File

@@ -39,26 +39,24 @@ void CreateTrailResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Name"].isNull())
name_ = value["Name"].asString();
if(!value["HomeRegion"].isNull())
homeRegion_ = value["HomeRegion"].asString();
if(!value["OssBucketName"].isNull())
ossBucketName_ = value["OssBucketName"].asString();
if(!value["OssKeyPrefix"].isNull())
ossKeyPrefix_ = value["OssKeyPrefix"].asString();
if(!value["RoleName"].isNull())
roleName_ = value["RoleName"].asString();
if(!value["SlsProjectArn"].isNull())
slsProjectArn_ = value["SlsProjectArn"].asString();
if(!value["SlsWriteRoleArn"].isNull())
slsWriteRoleArn_ = value["SlsWriteRoleArn"].asString();
if(!value["EventRW"].isNull())
eventRW_ = value["EventRW"].asString();
if(!value["HomeRegion"].isNull())
homeRegion_ = value["HomeRegion"].asString();
if(!value["OssKeyPrefix"].isNull())
ossKeyPrefix_ = value["OssKeyPrefix"].asString();
if(!value["OssBucketName"].isNull())
ossBucketName_ = value["OssBucketName"].asString();
if(!value["SlsWriteRoleArn"].isNull())
slsWriteRoleArn_ = value["SlsWriteRoleArn"].asString();
if(!value["OssWriteRoleArn"].isNull())
ossWriteRoleArn_ = value["OssWriteRoleArn"].asString();
if(!value["TrailRegion"].isNull())
trailRegion_ = value["TrailRegion"].asString();
if(!value["MnsTopicArn"].isNull())
mnsTopicArn_ = value["MnsTopicArn"].asString();
if(!value["Name"].isNull())
name_ = value["Name"].asString();
}
@@ -67,16 +65,6 @@ std::string CreateTrailResult::getSlsProjectArn()const
return slsProjectArn_;
}
std::string CreateTrailResult::getMnsTopicArn()const
{
return mnsTopicArn_;
}
std::string CreateTrailResult::getRoleName()const
{
return roleName_;
}
std::string CreateTrailResult::getEventRW()const
{
return eventRW_;
@@ -102,6 +90,11 @@ std::string CreateTrailResult::getSlsWriteRoleArn()const
return slsWriteRoleArn_;
}
std::string CreateTrailResult::getOssWriteRoleArn()const
{
return ossWriteRoleArn_;
}
std::string CreateTrailResult::getTrailRegion()const
{
return trailRegion_;

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Actiontrail::Model::DeleteTrailRequest;
DeleteTrailRequest::DeleteTrailRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "DeleteTrail")
RpcServiceRequest("actiontrail", "2020-07-06", "DeleteTrail")
{
setMethod(HttpRequest::Method::Post);
}
@@ -27,17 +27,6 @@ DeleteTrailRequest::DeleteTrailRequest() :
DeleteTrailRequest::~DeleteTrailRequest()
{}
std::string DeleteTrailRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DeleteTrailRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DeleteTrailRequest::getName()const
{
return name_;

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Actiontrail::Model::DescribeRegionsRequest;
DescribeRegionsRequest::DescribeRegionsRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "DescribeRegions")
RpcServiceRequest("actiontrail", "2020-07-06", "DescribeRegions")
{
setMethod(HttpRequest::Method::Post);
}
@@ -27,14 +27,14 @@ DescribeRegionsRequest::DescribeRegionsRequest() :
DescribeRegionsRequest::~DescribeRegionsRequest()
{}
std::string DescribeRegionsRequest::getAccessKeyId()const
std::string DescribeRegionsRequest::getAcceptLanguage()const
{
return accessKeyId_;
return acceptLanguage_;
}
void DescribeRegionsRequest::setAccessKeyId(const std::string& accessKeyId)
void DescribeRegionsRequest::setAcceptLanguage(const std::string& acceptLanguage)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
acceptLanguage_ = acceptLanguage;
setParameter("AcceptLanguage", acceptLanguage);
}

View File

@@ -39,19 +39,22 @@ void DescribeRegionsResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto regionsNode = value["Regions"];
auto allRegionNode = regionsNode["Region"]["RegionItem"];
for (auto regionsNodeRegionRegionItem : allRegionNode)
auto allRegionsNode = value["Regions"]["Region"];
for (auto valueRegionsRegion : allRegionsNode)
{
Regions::RegionItem regionItemObject;
if(!regionsNodeRegionRegionItem["RegionId"].isNull())
regionItemObject.regionId = regionsNodeRegionRegionItem["RegionId"].asString();
regions_.region.push_back(regionItemObject);
Region regionsObject;
if(!valueRegionsRegion["RegionId"].isNull())
regionsObject.regionId = valueRegionsRegion["RegionId"].asString();
if(!valueRegionsRegion["RegionEndpoint"].isNull())
regionsObject.regionEndpoint = valueRegionsRegion["RegionEndpoint"].asString();
if(!valueRegionsRegion["LocalName"].isNull())
regionsObject.localName = valueRegionsRegion["LocalName"].asString();
regions_.push_back(regionsObject);
}
}
DescribeRegionsResult::Regions DescribeRegionsResult::getRegions()const
std::vector<DescribeRegionsResult::Region> DescribeRegionsResult::getRegions()const
{
return regions_;
}

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Actiontrail::Model::DescribeTrailsRequest;
DescribeTrailsRequest::DescribeTrailsRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "DescribeTrails")
RpcServiceRequest("actiontrail", "2020-07-06", "DescribeTrails")
{
setMethod(HttpRequest::Method::Post);
}
@@ -27,6 +27,17 @@ DescribeTrailsRequest::DescribeTrailsRequest() :
DescribeTrailsRequest::~DescribeTrailsRequest()
{}
bool DescribeTrailsRequest::getIncludeOrganizationTrail()const
{
return includeOrganizationTrail_;
}
void DescribeTrailsRequest::setIncludeOrganizationTrail(bool includeOrganizationTrail)
{
includeOrganizationTrail_ = includeOrganizationTrail;
setParameter("IncludeOrganizationTrail", includeOrganizationTrail ? "true" : "false");
}
bool DescribeTrailsRequest::getIncludeShadowTrails()const
{
return includeShadowTrails_;
@@ -38,17 +49,6 @@ void DescribeTrailsRequest::setIncludeShadowTrails(bool includeShadowTrails)
setParameter("IncludeShadowTrails", includeShadowTrails ? "true" : "false");
}
std::string DescribeTrailsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeTrailsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DescribeTrailsRequest::getNameList()const
{
return nameList_;

View File

@@ -39,48 +39,54 @@ void DescribeTrailsResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allTrailListNode = value["TrailList"]["TrailListItem"];
for (auto valueTrailListTrailListItem : allTrailListNode)
auto allTrailListNode = value["TrailList"]["Trail"];
for (auto valueTrailListTrail : allTrailListNode)
{
TrailListItem trailListObject;
if(!valueTrailListTrailListItem["Name"].isNull())
trailListObject.name = valueTrailListTrailListItem["Name"].asString();
if(!valueTrailListTrailListItem["HomeRegion"].isNull())
trailListObject.homeRegion = valueTrailListTrailListItem["HomeRegion"].asString();
if(!valueTrailListTrailListItem["RoleName"].isNull())
trailListObject.roleName = valueTrailListTrailListItem["RoleName"].asString();
if(!valueTrailListTrailListItem["OssBucketName"].isNull())
trailListObject.ossBucketName = valueTrailListTrailListItem["OssBucketName"].asString();
if(!valueTrailListTrailListItem["OssKeyPrefix"].isNull())
trailListObject.ossKeyPrefix = valueTrailListTrailListItem["OssKeyPrefix"].asString();
if(!valueTrailListTrailListItem["EventRW"].isNull())
trailListObject.eventRW = valueTrailListTrailListItem["EventRW"].asString();
if(!valueTrailListTrailListItem["SlsWriteRoleArn"].isNull())
trailListObject.slsWriteRoleArn = valueTrailListTrailListItem["SlsWriteRoleArn"].asString();
if(!valueTrailListTrailListItem["SlsProjectArn"].isNull())
trailListObject.slsProjectArn = valueTrailListTrailListItem["SlsProjectArn"].asString();
if(!valueTrailListTrailListItem["Status"].isNull())
trailListObject.status = valueTrailListTrailListItem["Status"].asString();
if(!valueTrailListTrailListItem["TrailRegion"].isNull())
trailListObject.trailRegion = valueTrailListTrailListItem["TrailRegion"].asString();
if(!valueTrailListTrailListItem["CreateTime"].isNull())
trailListObject.createTime = valueTrailListTrailListItem["CreateTime"].asString();
if(!valueTrailListTrailListItem["UpdateTime"].isNull())
trailListObject.updateTime = valueTrailListTrailListItem["UpdateTime"].asString();
if(!valueTrailListTrailListItem["StartLoggingTime"].isNull())
trailListObject.startLoggingTime = valueTrailListTrailListItem["StartLoggingTime"].asString();
if(!valueTrailListTrailListItem["StopLoggingTime"].isNull())
trailListObject.stopLoggingTime = valueTrailListTrailListItem["StopLoggingTime"].asString();
if(!valueTrailListTrailListItem["MnsTopicArn"].isNull())
trailListObject.mnsTopicArn = valueTrailListTrailListItem["MnsTopicArn"].asString();
if(!valueTrailListTrailListItem["IsOrganizationTrail"].isNull())
trailListObject.isOrganizationTrail = valueTrailListTrailListItem["IsOrganizationTrail"].asString() == "true";
Trail trailListObject;
if(!valueTrailListTrail["Status"].isNull())
trailListObject.status = valueTrailListTrail["Status"].asString();
if(!valueTrailListTrail["HomeRegion"].isNull())
trailListObject.homeRegion = valueTrailListTrail["HomeRegion"].asString();
if(!valueTrailListTrail["StartLoggingTime"].isNull())
trailListObject.startLoggingTime = valueTrailListTrail["StartLoggingTime"].asString();
if(!valueTrailListTrail["CreateTime"].isNull())
trailListObject.createTime = valueTrailListTrail["CreateTime"].asString();
if(!valueTrailListTrail["StopLoggingTime"].isNull())
trailListObject.stopLoggingTime = valueTrailListTrail["StopLoggingTime"].asString();
if(!valueTrailListTrail["OrganizationId"].isNull())
trailListObject.organizationId = valueTrailListTrail["OrganizationId"].asString();
if(!valueTrailListTrail["SlsWriteRoleArn"].isNull())
trailListObject.slsWriteRoleArn = valueTrailListTrail["SlsWriteRoleArn"].asString();
if(!valueTrailListTrail["OssBucketLocation"].isNull())
trailListObject.ossBucketLocation = valueTrailListTrail["OssBucketLocation"].asString();
if(!valueTrailListTrail["TrailRegion"].isNull())
trailListObject.trailRegion = valueTrailListTrail["TrailRegion"].asString();
if(!valueTrailListTrail["Name"].isNull())
trailListObject.name = valueTrailListTrail["Name"].asString();
if(!valueTrailListTrail["IsOrganizationTrail"].isNull())
trailListObject.isOrganizationTrail = valueTrailListTrail["IsOrganizationTrail"].asString() == "true";
if(!valueTrailListTrail["SlsProjectArn"].isNull())
trailListObject.slsProjectArn = valueTrailListTrail["SlsProjectArn"].asString();
if(!valueTrailListTrail["EventRW"].isNull())
trailListObject.eventRW = valueTrailListTrail["EventRW"].asString();
if(!valueTrailListTrail["OssKeyPrefix"].isNull())
trailListObject.ossKeyPrefix = valueTrailListTrail["OssKeyPrefix"].asString();
if(!valueTrailListTrail["UpdateTime"].isNull())
trailListObject.updateTime = valueTrailListTrail["UpdateTime"].asString();
if(!valueTrailListTrail["Region"].isNull())
trailListObject.region = valueTrailListTrail["Region"].asString();
if(!valueTrailListTrail["OssBucketName"].isNull())
trailListObject.ossBucketName = valueTrailListTrail["OssBucketName"].asString();
if(!valueTrailListTrail["OssWriteRoleArn"].isNull())
trailListObject.ossWriteRoleArn = valueTrailListTrail["OssWriteRoleArn"].asString();
if(!valueTrailListTrail["IsShadowTrail"].isNull())
trailListObject.isShadowTrail = std::stol(valueTrailListTrail["IsShadowTrail"].asString());
trailList_.push_back(trailListObject);
}
}
std::vector<DescribeTrailsResult::TrailListItem> DescribeTrailsResult::getTrailList()const
std::vector<DescribeTrailsResult::Trail> DescribeTrailsResult::getTrailList()const
{
return trailList_;
}

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Actiontrail::Model::GetTrailStatusRequest;
GetTrailStatusRequest::GetTrailStatusRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "GetTrailStatus")
RpcServiceRequest("actiontrail", "2020-07-06", "GetTrailStatus")
{
setMethod(HttpRequest::Method::Post);
}
@@ -27,17 +27,6 @@ GetTrailStatusRequest::GetTrailStatusRequest() :
GetTrailStatusRequest::~GetTrailStatusRequest()
{}
std::string GetTrailStatusRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetTrailStatusRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string GetTrailStatusRequest::getName()const
{
return name_;

View File

@@ -39,24 +39,47 @@ void GetTrailStatusResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["IsLogging"].isNull())
isLogging_ = value["IsLogging"].asString() == "true";
if(!value["LatestDeliveryError"].isNull())
latestDeliveryError_ = value["LatestDeliveryError"].asString();
if(!value["LatestDeliveryTime"].isNull())
latestDeliveryTime_ = value["LatestDeliveryTime"].asString();
if(!value["LatestDeliveryLogServiceTime"].isNull())
latestDeliveryLogServiceTime_ = value["LatestDeliveryLogServiceTime"].asString();
if(!value["LatestDeliveryLogServiceError"].isNull())
latestDeliveryLogServiceError_ = value["LatestDeliveryLogServiceError"].asString();
if(!value["StartLoggingTime"].isNull())
startLoggingTime_ = value["StartLoggingTime"].asString();
if(!value["OssBucketStatus"].isNull())
ossBucketStatus_ = value["OssBucketStatus"].asString() == "true";
if(!value["LatestDeliveryError"].isNull())
latestDeliveryError_ = value["LatestDeliveryError"].asString();
if(!value["StopLoggingTime"].isNull())
stopLoggingTime_ = value["StopLoggingTime"].asString();
if(!value["SlsLogStoreStatus"].isNull())
slsLogStoreStatus_ = value["SlsLogStoreStatus"].asString() == "true";
if(!value["LatestDeliveryTime"].isNull())
latestDeliveryTime_ = value["LatestDeliveryTime"].asString();
if(!value["IsLogging"].isNull())
isLogging_ = value["IsLogging"].asString() == "true";
}
std::string GetTrailStatusResult::getLatestDeliveryLogServiceTime()const
{
return latestDeliveryLogServiceTime_;
}
std::string GetTrailStatusResult::getLatestDeliveryLogServiceError()const
{
return latestDeliveryLogServiceError_;
}
std::string GetTrailStatusResult::getStartLoggingTime()const
{
return startLoggingTime_;
}
bool GetTrailStatusResult::getOssBucketStatus()const
{
return ossBucketStatus_;
}
std::string GetTrailStatusResult::getLatestDeliveryError()const
{
return latestDeliveryError_;
@@ -67,9 +90,9 @@ std::string GetTrailStatusResult::getStopLoggingTime()const
return stopLoggingTime_;
}
bool GetTrailStatusResult::getIsLogging()const
bool GetTrailStatusResult::getSlsLogStoreStatus()const
{
return isLogging_;
return slsLogStoreStatus_;
}
std::string GetTrailStatusResult::getLatestDeliveryTime()const
@@ -77,3 +100,8 @@ std::string GetTrailStatusResult::getLatestDeliveryTime()const
return latestDeliveryTime_;
}
bool GetTrailStatusResult::getIsLogging()const
{
return isLogging_;
}

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Actiontrail::Model::LookupEventsRequest;
LookupEventsRequest::LookupEventsRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "LookupEvents")
RpcServiceRequest("actiontrail", "2020-07-06", "LookupEvents")
{
setMethod(HttpRequest::Method::Post);
}
@@ -27,15 +27,15 @@ LookupEventsRequest::LookupEventsRequest() :
LookupEventsRequest::~LookupEventsRequest()
{}
std::string LookupEventsRequest::getRequest()const
std::string LookupEventsRequest::getEndTime()const
{
return request_;
return endTime_;
}
void LookupEventsRequest::setRequest(const std::string& request)
void LookupEventsRequest::setEndTime(const std::string& endTime)
{
request_ = request;
setParameter("Request", request);
endTime_ = endTime;
setParameter("EndTime", endTime);
}
std::string LookupEventsRequest::getStartTime()const
@@ -49,28 +49,6 @@ void LookupEventsRequest::setStartTime(const std::string& startTime)
setParameter("StartTime", startTime);
}
std::string LookupEventsRequest::getEventName()const
{
return eventName_;
}
void LookupEventsRequest::setEventName(const std::string& eventName)
{
eventName_ = eventName;
setParameter("EventName", eventName);
}
std::string LookupEventsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void LookupEventsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string LookupEventsRequest::getNextToken()const
{
return nextToken_;
@@ -82,70 +60,20 @@ void LookupEventsRequest::setNextToken(const std::string& nextToken)
setParameter("NextToken", nextToken);
}
std::string LookupEventsRequest::getServiceName()const
std::vector<LookupEventsRequest::LookupAttribute> LookupEventsRequest::getLookupAttribute()const
{
return serviceName_;
return lookupAttribute_;
}
void LookupEventsRequest::setServiceName(const std::string& serviceName)
void LookupEventsRequest::setLookupAttribute(const std::vector<LookupAttribute>& lookupAttribute)
{
serviceName_ = serviceName;
setParameter("ServiceName", serviceName);
}
std::string LookupEventsRequest::getEvent()const
{
return event_;
}
void LookupEventsRequest::setEvent(const std::string& event)
{
event_ = event;
setParameter("Event", event);
}
std::string LookupEventsRequest::getEventAccessKeyId()const
{
return eventAccessKeyId_;
}
void LookupEventsRequest::setEventAccessKeyId(const std::string& eventAccessKeyId)
{
eventAccessKeyId_ = eventAccessKeyId;
setParameter("EventAccessKeyId", eventAccessKeyId);
}
std::string LookupEventsRequest::getEndTime()const
{
return endTime_;
}
void LookupEventsRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
std::string LookupEventsRequest::getEventRW()const
{
return eventRW_;
}
void LookupEventsRequest::setEventRW(const std::string& eventRW)
{
eventRW_ = eventRW;
setParameter("EventRW", eventRW);
}
std::string LookupEventsRequest::getResourceType()const
{
return resourceType_;
}
void LookupEventsRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setParameter("ResourceType", resourceType);
lookupAttribute_ = lookupAttribute;
for(int dep1 = 0; dep1!= lookupAttribute.size(); dep1++) {
auto lookupAttributeObj = lookupAttribute.at(dep1);
std::string lookupAttributeObjStr = "LookupAttribute." + std::to_string(dep1 + 1);
setParameter(lookupAttributeObjStr + ".Value", lookupAttributeObj.value);
setParameter(lookupAttributeObjStr + ".Key", lookupAttributeObj.key);
}
}
std::string LookupEventsRequest::getMaxResults()const
@@ -159,36 +87,14 @@ void LookupEventsRequest::setMaxResults(const std::string& maxResults)
setParameter("MaxResults", maxResults);
}
std::string LookupEventsRequest::getEventType()const
std::string LookupEventsRequest::getDirection()const
{
return eventType_;
return direction_;
}
void LookupEventsRequest::setEventType(const std::string& eventType)
void LookupEventsRequest::setDirection(const std::string& direction)
{
eventType_ = eventType;
setParameter("EventType", eventType);
}
std::string LookupEventsRequest::getResourceName()const
{
return resourceName_;
}
void LookupEventsRequest::setResourceName(const std::string& resourceName)
{
resourceName_ = resourceName;
setParameter("ResourceName", resourceName);
}
std::string LookupEventsRequest::getUser()const
{
return user_;
}
void LookupEventsRequest::setUser(const std::string& user)
{
user_ = user;
setParameter("User", user);
direction_ = direction;
setParameter("Direction", direction);
}

View File

@@ -42,25 +42,25 @@ void LookupEventsResult::parse(const std::string &payload)
auto allEvents = value["Events"]["Events"];
for (const auto &item : allEvents)
events_.push_back(item.asString());
if(!value["EndTime"].isNull())
endTime_ = value["EndTime"].asString();
if(!value["NextToken"].isNull())
nextToken_ = value["NextToken"].asString();
if(!value["StartTime"].isNull())
startTime_ = value["StartTime"].asString();
if(!value["EndTime"].isNull())
endTime_ = value["EndTime"].asString();
}
std::string LookupEventsResult::getNextToken()const
{
return nextToken_;
}
std::string LookupEventsResult::getEndTime()const
{
return endTime_;
}
std::string LookupEventsResult::getNextToken()const
{
return nextToken_;
}
std::vector<std::string> LookupEventsResult::getEvents()const
{
return events_;

View File

@@ -19,25 +19,14 @@
using AlibabaCloud::Actiontrail::Model::StartLoggingRequest;
StartLoggingRequest::StartLoggingRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "StartLogging")
RpcServiceRequest("actiontrail", "2020-07-06", "StartLogging")
{
setMethod(HttpRequest::Method::Get);
setMethod(HttpRequest::Method::Post);
}
StartLoggingRequest::~StartLoggingRequest()
{}
std::string StartLoggingRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void StartLoggingRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string StartLoggingRequest::getName()const
{
return name_;

View File

@@ -39,20 +39,6 @@ void StartLoggingResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Param"].isNull())
param_ = value["Param"].asString();
if(!value["Result"].isNull())
result_ = value["Result"].asString();
}
std::string StartLoggingResult::getParam()const
{
return param_;
}
std::string StartLoggingResult::getResult()const
{
return result_;
}

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Actiontrail::Model::StopLoggingRequest;
StopLoggingRequest::StopLoggingRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "StopLogging")
RpcServiceRequest("actiontrail", "2020-07-06", "StopLogging")
{
setMethod(HttpRequest::Method::Get);
}
@@ -27,17 +27,6 @@ StopLoggingRequest::StopLoggingRequest() :
StopLoggingRequest::~StopLoggingRequest()
{}
std::string StopLoggingRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void StopLoggingRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string StopLoggingRequest::getName()const
{
return name_;

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Actiontrail::Model::UpdateTrailRequest;
UpdateTrailRequest::UpdateTrailRequest() :
RpcServiceRequest("actiontrail", "2017-12-04", "UpdateTrail")
RpcServiceRequest("actiontrail", "2020-07-06", "UpdateTrail")
{
setMethod(HttpRequest::Method::Post);
}
@@ -38,17 +38,6 @@ void UpdateTrailRequest::setSlsProjectArn(const std::string& slsProjectArn)
setParameter("SlsProjectArn", slsProjectArn);
}
std::string UpdateTrailRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void UpdateTrailRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string UpdateTrailRequest::getSlsWriteRoleArn()const
{
return slsWriteRoleArn_;
@@ -71,26 +60,15 @@ void UpdateTrailRequest::setOssKeyPrefix(const std::string& ossKeyPrefix)
setParameter("OssKeyPrefix", ossKeyPrefix);
}
std::string UpdateTrailRequest::getMnsTopicArn()const
std::string UpdateTrailRequest::getOssWriteRoleArn()const
{
return mnsTopicArn_;
return ossWriteRoleArn_;
}
void UpdateTrailRequest::setMnsTopicArn(const std::string& mnsTopicArn)
void UpdateTrailRequest::setOssWriteRoleArn(const std::string& ossWriteRoleArn)
{
mnsTopicArn_ = mnsTopicArn;
setParameter("MnsTopicArn", mnsTopicArn);
}
std::string UpdateTrailRequest::getRoleName()const
{
return roleName_;
}
void UpdateTrailRequest::setRoleName(const std::string& roleName)
{
roleName_ = roleName;
setParameter("RoleName", roleName);
ossWriteRoleArn_ = ossWriteRoleArn;
setParameter("OssWriteRoleArn", ossWriteRoleArn);
}
std::string UpdateTrailRequest::getEventRW()const

View File

@@ -39,26 +39,24 @@ void UpdateTrailResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Name"].isNull())
name_ = value["Name"].asString();
if(!value["HomeRegion"].isNull())
homeRegion_ = value["HomeRegion"].asString();
if(!value["OssBucketName"].isNull())
ossBucketName_ = value["OssBucketName"].asString();
if(!value["OssKeyPrefix"].isNull())
ossKeyPrefix_ = value["OssKeyPrefix"].asString();
if(!value["RoleName"].isNull())
roleName_ = value["RoleName"].asString();
if(!value["SlsProjectArn"].isNull())
slsProjectArn_ = value["SlsProjectArn"].asString();
if(!value["SlsWriteRoleArn"].isNull())
slsWriteRoleArn_ = value["SlsWriteRoleArn"].asString();
if(!value["EventRW"].isNull())
eventRW_ = value["EventRW"].asString();
if(!value["HomeRegion"].isNull())
homeRegion_ = value["HomeRegion"].asString();
if(!value["OssKeyPrefix"].isNull())
ossKeyPrefix_ = value["OssKeyPrefix"].asString();
if(!value["OssBucketName"].isNull())
ossBucketName_ = value["OssBucketName"].asString();
if(!value["SlsWriteRoleArn"].isNull())
slsWriteRoleArn_ = value["SlsWriteRoleArn"].asString();
if(!value["OssWriteRoleArn"].isNull())
ossWriteRoleArn_ = value["OssWriteRoleArn"].asString();
if(!value["TrailRegion"].isNull())
trailRegion_ = value["TrailRegion"].asString();
if(!value["MnsTopicArn"].isNull())
mnsTopicArn_ = value["MnsTopicArn"].asString();
if(!value["Name"].isNull())
name_ = value["Name"].asString();
}
@@ -67,16 +65,6 @@ std::string UpdateTrailResult::getSlsProjectArn()const
return slsProjectArn_;
}
std::string UpdateTrailResult::getMnsTopicArn()const
{
return mnsTopicArn_;
}
std::string UpdateTrailResult::getRoleName()const
{
return roleName_;
}
std::string UpdateTrailResult::getEventRW()const
{
return eventRW_;
@@ -102,6 +90,11 @@ std::string UpdateTrailResult::getSlsWriteRoleArn()const
return slsWriteRoleArn_;
}
std::string UpdateTrailResult::getOssWriteRoleArn()const
{
return ossWriteRoleArn_;
}
std::string UpdateTrailResult::getTrailRegion()const
{
return trailRegion_;

View File

@@ -45,6 +45,8 @@ set(codeup_public_header_model
include/alibabacloud/codeup/model/CreateRepositoryGroupResult.h
include/alibabacloud/codeup/model/CreateRepositoryProtectedBranchRequest.h
include/alibabacloud/codeup/model/CreateRepositoryProtectedBranchResult.h
include/alibabacloud/codeup/model/CreateSshKeyRequest.h
include/alibabacloud/codeup/model/CreateSshKeyResult.h
include/alibabacloud/codeup/model/CreateTagRequest.h
include/alibabacloud/codeup/model/CreateTagResult.h
include/alibabacloud/codeup/model/DeleteBranchRequest.h
@@ -174,6 +176,8 @@ set(codeup_src
src/model/CreateRepositoryGroupResult.cc
src/model/CreateRepositoryProtectedBranchRequest.cc
src/model/CreateRepositoryProtectedBranchResult.cc
src/model/CreateSshKeyRequest.cc
src/model/CreateSshKeyResult.cc
src/model/CreateTagRequest.cc
src/model/CreateTagResult.cc
src/model/DeleteBranchRequest.cc

View File

@@ -46,6 +46,8 @@
#include "model/CreateRepositoryGroupResult.h"
#include "model/CreateRepositoryProtectedBranchRequest.h"
#include "model/CreateRepositoryProtectedBranchResult.h"
#include "model/CreateSshKeyRequest.h"
#include "model/CreateSshKeyResult.h"
#include "model/CreateTagRequest.h"
#include "model/CreateTagResult.h"
#include "model/DeleteBranchRequest.h"
@@ -193,6 +195,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateRepositoryProtectedBranchResult> CreateRepositoryProtectedBranchOutcome;
typedef std::future<CreateRepositoryProtectedBranchOutcome> CreateRepositoryProtectedBranchOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::CreateRepositoryProtectedBranchRequest&, const CreateRepositoryProtectedBranchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRepositoryProtectedBranchAsyncHandler;
typedef Outcome<Error, Model::CreateSshKeyResult> CreateSshKeyOutcome;
typedef std::future<CreateSshKeyOutcome> CreateSshKeyOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::CreateSshKeyRequest&, const CreateSshKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSshKeyAsyncHandler;
typedef Outcome<Error, Model::CreateTagResult> CreateTagOutcome;
typedef std::future<CreateTagOutcome> CreateTagOutcomeCallable;
typedef std::function<void(const CodeupClient*, const Model::CreateTagRequest&, const CreateTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTagAsyncHandler;
@@ -387,6 +392,9 @@ namespace AlibabaCloud
CreateRepositoryProtectedBranchOutcome createRepositoryProtectedBranch(const Model::CreateRepositoryProtectedBranchRequest &request)const;
void createRepositoryProtectedBranchAsync(const Model::CreateRepositoryProtectedBranchRequest& request, const CreateRepositoryProtectedBranchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateRepositoryProtectedBranchOutcomeCallable createRepositoryProtectedBranchCallable(const Model::CreateRepositoryProtectedBranchRequest& request) const;
CreateSshKeyOutcome createSshKey(const Model::CreateSshKeyRequest &request)const;
void createSshKeyAsync(const Model::CreateSshKeyRequest& request, const CreateSshKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSshKeyOutcomeCallable createSshKeyCallable(const Model::CreateSshKeyRequest& request) const;
CreateTagOutcome createTag(const Model::CreateTagRequest &request)const;
void createTagAsync(const Model::CreateTagRequest& request, const CreateTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTagOutcomeCallable createTagCallable(const Model::CreateTagRequest& request) const;

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CODEUP_MODEL_CREATESSHKEYREQUEST_H_
#define ALIBABACLOUD_CODEUP_MODEL_CREATESSHKEYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/codeup/CodeupExport.h>
namespace AlibabaCloud
{
namespace Codeup
{
namespace Model
{
class ALIBABACLOUD_CODEUP_EXPORT CreateSshKeyRequest : public RoaServiceRequest
{
public:
CreateSshKeyRequest();
~CreateSshKeyRequest();
std::string getAccessToken()const;
void setAccessToken(const std::string& accessToken);
private:
std::string accessToken_;
};
}
}
}
#endif // !ALIBABACLOUD_CODEUP_MODEL_CREATESSHKEYREQUEST_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CODEUP_MODEL_CREATESSHKEYRESULT_H_
#define ALIBABACLOUD_CODEUP_MODEL_CREATESSHKEYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/codeup/CodeupExport.h>
namespace AlibabaCloud
{
namespace Codeup
{
namespace Model
{
class ALIBABACLOUD_CODEUP_EXPORT CreateSshKeyResult : public ServiceResult
{
public:
struct Result
{
std::string createdAt;
std::string fingerPrint;
std::string title;
long id;
std::string keyScope;
std::string key;
};
CreateSshKeyResult();
explicit CreateSshKeyResult(const std::string &payload);
~CreateSshKeyResult();
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string errorCode_;
std::string errorMessage_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_CODEUP_MODEL_CREATESSHKEYRESULT_H_

View File

@@ -483,6 +483,42 @@ CodeupClient::CreateRepositoryProtectedBranchOutcomeCallable CodeupClient::creat
return task->get_future();
}
CodeupClient::CreateSshKeyOutcome CodeupClient::createSshKey(const CreateSshKeyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateSshKeyOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateSshKeyOutcome(CreateSshKeyResult(outcome.result()));
else
return CreateSshKeyOutcome(outcome.error());
}
void CodeupClient::createSshKeyAsync(const CreateSshKeyRequest& request, const CreateSshKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createSshKey(request), context);
};
asyncExecute(new Runnable(fn));
}
CodeupClient::CreateSshKeyOutcomeCallable CodeupClient::createSshKeyCallable(const CreateSshKeyRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateSshKeyOutcome()>>(
[this, request]()
{
return this->createSshKey(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CodeupClient::CreateTagOutcome CodeupClient::createTag(const CreateTagRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,41 @@
/*
* 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/codeup/model/CreateSshKeyRequest.h>
using AlibabaCloud::Codeup::Model::CreateSshKeyRequest;
CreateSshKeyRequest::CreateSshKeyRequest() :
RoaServiceRequest("codeup", "2020-04-14")
{
setResourcePath("/api/v3/user/keys");
setMethod(HttpRequest::Method::Post);
}
CreateSshKeyRequest::~CreateSshKeyRequest()
{}
std::string CreateSshKeyRequest::getAccessToken()const
{
return accessToken_;
}
void CreateSshKeyRequest::setAccessToken(const std::string& accessToken)
{
accessToken_ = accessToken;
setParameter("AccessToken", accessToken);
}

View File

@@ -0,0 +1,83 @@
/*
* 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/codeup/model/CreateSshKeyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Codeup;
using namespace AlibabaCloud::Codeup::Model;
CreateSshKeyResult::CreateSshKeyResult() :
ServiceResult()
{}
CreateSshKeyResult::CreateSshKeyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateSshKeyResult::~CreateSshKeyResult()
{}
void CreateSshKeyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto resultNode = value["Result"];
if(!resultNode["CreatedAt"].isNull())
result_.createdAt = resultNode["CreatedAt"].asString();
if(!resultNode["FingerPrint"].isNull())
result_.fingerPrint = resultNode["FingerPrint"].asString();
if(!resultNode["Id"].isNull())
result_.id = std::stol(resultNode["Id"].asString());
if(!resultNode["Key"].isNull())
result_.key = resultNode["Key"].asString();
if(!resultNode["KeyScope"].isNull())
result_.keyScope = resultNode["KeyScope"].asString();
if(!resultNode["Title"].isNull())
result_.title = resultNode["Title"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string CreateSshKeyResult::getErrorCode()const
{
return errorCode_;
}
std::string CreateSshKeyResult::getErrorMessage()const
{
return errorMessage_;
}
bool CreateSshKeyResult::getSuccess()const
{
return success_;
}
CreateSshKeyResult::Result CreateSshKeyResult::getResult()const
{
return result_;
}

View File

@@ -121,6 +121,8 @@ set(devops-rdc_public_header_model
include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskListResult.h
include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksRequest.h
include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksResult.h
include/alibabacloud/devops-rdc/model/ListDevopsProjectsRequest.h
include/alibabacloud/devops-rdc/model/ListDevopsProjectsResult.h
include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigRequest.h
include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigResult.h
include/alibabacloud/devops-rdc/model/ListPipelinesRequest.h
@@ -250,6 +252,8 @@ set(devops-rdc_src
src/model/ListDevopsProjectTaskListResult.cc
src/model/ListDevopsProjectTasksRequest.cc
src/model/ListDevopsProjectTasksResult.cc
src/model/ListDevopsProjectsRequest.cc
src/model/ListDevopsProjectsResult.cc
src/model/ListDevopsScenarioFieldConfigRequest.cc
src/model/ListDevopsScenarioFieldConfigResult.cc
src/model/ListPipelinesRequest.cc

View File

@@ -122,6 +122,8 @@
#include "model/ListDevopsProjectTaskListResult.h"
#include "model/ListDevopsProjectTasksRequest.h"
#include "model/ListDevopsProjectTasksResult.h"
#include "model/ListDevopsProjectsRequest.h"
#include "model/ListDevopsProjectsResult.h"
#include "model/ListDevopsScenarioFieldConfigRequest.h"
#include "model/ListDevopsScenarioFieldConfigResult.h"
#include "model/ListPipelinesRequest.h"
@@ -307,6 +309,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListDevopsProjectTasksResult> ListDevopsProjectTasksOutcome;
typedef std::future<ListDevopsProjectTasksOutcome> ListDevopsProjectTasksOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::ListDevopsProjectTasksRequest&, const ListDevopsProjectTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDevopsProjectTasksAsyncHandler;
typedef Outcome<Error, Model::ListDevopsProjectsResult> ListDevopsProjectsOutcome;
typedef std::future<ListDevopsProjectsOutcome> ListDevopsProjectsOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::ListDevopsProjectsRequest&, const ListDevopsProjectsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDevopsProjectsAsyncHandler;
typedef Outcome<Error, Model::ListDevopsScenarioFieldConfigResult> ListDevopsScenarioFieldConfigOutcome;
typedef std::future<ListDevopsScenarioFieldConfigOutcome> ListDevopsScenarioFieldConfigOutcomeCallable;
typedef std::function<void(const Devops_rdcClient*, const Model::ListDevopsScenarioFieldConfigRequest&, const ListDevopsScenarioFieldConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDevopsScenarioFieldConfigAsyncHandler;
@@ -501,6 +506,9 @@ namespace AlibabaCloud
ListDevopsProjectTasksOutcome listDevopsProjectTasks(const Model::ListDevopsProjectTasksRequest &request)const;
void listDevopsProjectTasksAsync(const Model::ListDevopsProjectTasksRequest& request, const ListDevopsProjectTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDevopsProjectTasksOutcomeCallable listDevopsProjectTasksCallable(const Model::ListDevopsProjectTasksRequest& request) const;
ListDevopsProjectsOutcome listDevopsProjects(const Model::ListDevopsProjectsRequest &request)const;
void listDevopsProjectsAsync(const Model::ListDevopsProjectsRequest& request, const ListDevopsProjectsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDevopsProjectsOutcomeCallable listDevopsProjectsCallable(const Model::ListDevopsProjectsRequest& request) const;
ListDevopsScenarioFieldConfigOutcome listDevopsScenarioFieldConfig(const Model::ListDevopsScenarioFieldConfigRequest &request)const;
void listDevopsScenarioFieldConfigAsync(const Model::ListDevopsScenarioFieldConfigRequest& request, const ListDevopsScenarioFieldConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDevopsScenarioFieldConfigOutcomeCallable listDevopsScenarioFieldConfigCallable(const Model::ListDevopsScenarioFieldConfigRequest& request) const;

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSREQUEST_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
namespace AlibabaCloud
{
namespace Devops_rdc
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectsRequest : public RpcServiceRequest
{
public:
ListDevopsProjectsRequest();
~ListDevopsProjectsRequest();
std::string getSelectBy()const;
void setSelectBy(const std::string& selectBy);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getOrderBy()const;
void setOrderBy(const std::string& orderBy);
std::string getOrgId()const;
void setOrgId(const std::string& orgId);
std::string getPageToken()const;
void setPageToken(const std::string& pageToken);
private:
std::string selectBy_;
int pageSize_;
std::string orderBy_;
std::string orgId_;
std::string pageToken_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSREQUEST_H_

View File

@@ -0,0 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSRESULT_H_
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
namespace AlibabaCloud
{
namespace Devops_rdc
{
namespace Model
{
class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectsResult : public ServiceResult
{
public:
struct Object
{
struct Project
{
bool isTemplate;
std::string description;
std::string updated;
std::string creatorId;
int membersCount;
std::string organizationId;
int tasksCount;
int roleId;
std::string name;
std::string logo;
std::string created;
bool isArchived;
bool isStar;
bool isPublic;
std::string visibility;
std::string id;
};
std::string nextPageToken;
std::vector<Project> result;
};
ListDevopsProjectsResult();
explicit ListDevopsProjectsResult(const std::string &payload);
~ListDevopsProjectsResult();
std::string getErrorMsg()const;
Object getObject()const;
std::string getErrorCode()const;
bool getSuccessful()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMsg_;
Object object_;
std::string errorCode_;
bool successful_;
};
}
}
}
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTSRESULT_H_

View File

@@ -1851,6 +1851,42 @@ Devops_rdcClient::ListDevopsProjectTasksOutcomeCallable Devops_rdcClient::listDe
return task->get_future();
}
Devops_rdcClient::ListDevopsProjectsOutcome Devops_rdcClient::listDevopsProjects(const ListDevopsProjectsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListDevopsProjectsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListDevopsProjectsOutcome(ListDevopsProjectsResult(outcome.result()));
else
return ListDevopsProjectsOutcome(outcome.error());
}
void Devops_rdcClient::listDevopsProjectsAsync(const ListDevopsProjectsRequest& request, const ListDevopsProjectsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listDevopsProjects(request), context);
};
asyncExecute(new Runnable(fn));
}
Devops_rdcClient::ListDevopsProjectsOutcomeCallable Devops_rdcClient::listDevopsProjectsCallable(const ListDevopsProjectsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListDevopsProjectsOutcome()>>(
[this, request]()
{
return this->listDevopsProjects(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Devops_rdcClient::ListDevopsScenarioFieldConfigOutcome Devops_rdcClient::listDevopsScenarioFieldConfig(const ListDevopsScenarioFieldConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,84 @@
/*
* 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/devops-rdc/model/ListDevopsProjectsRequest.h>
using AlibabaCloud::Devops_rdc::Model::ListDevopsProjectsRequest;
ListDevopsProjectsRequest::ListDevopsProjectsRequest() :
RpcServiceRequest("devops-rdc", "2020-03-03", "ListDevopsProjects")
{
setMethod(HttpRequest::Method::Post);
}
ListDevopsProjectsRequest::~ListDevopsProjectsRequest()
{}
std::string ListDevopsProjectsRequest::getSelectBy()const
{
return selectBy_;
}
void ListDevopsProjectsRequest::setSelectBy(const std::string& selectBy)
{
selectBy_ = selectBy;
setBodyParameter("SelectBy", selectBy);
}
int ListDevopsProjectsRequest::getPageSize()const
{
return pageSize_;
}
void ListDevopsProjectsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setBodyParameter("PageSize", std::to_string(pageSize));
}
std::string ListDevopsProjectsRequest::getOrderBy()const
{
return orderBy_;
}
void ListDevopsProjectsRequest::setOrderBy(const std::string& orderBy)
{
orderBy_ = orderBy;
setBodyParameter("OrderBy", orderBy);
}
std::string ListDevopsProjectsRequest::getOrgId()const
{
return orgId_;
}
void ListDevopsProjectsRequest::setOrgId(const std::string& orgId)
{
orgId_ = orgId;
setBodyParameter("OrgId", orgId);
}
std::string ListDevopsProjectsRequest::getPageToken()const
{
return pageToken_;
}
void ListDevopsProjectsRequest::setPageToken(const std::string& pageToken)
{
pageToken_ = pageToken;
setBodyParameter("PageToken", pageToken);
}

View File

@@ -0,0 +1,111 @@
/*
* 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/devops-rdc/model/ListDevopsProjectsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Devops_rdc;
using namespace AlibabaCloud::Devops_rdc::Model;
ListDevopsProjectsResult::ListDevopsProjectsResult() :
ServiceResult()
{}
ListDevopsProjectsResult::ListDevopsProjectsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListDevopsProjectsResult::~ListDevopsProjectsResult()
{}
void ListDevopsProjectsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto objectNode = value["Object"];
if(!objectNode["NextPageToken"].isNull())
object_.nextPageToken = objectNode["NextPageToken"].asString();
auto allResultNode = objectNode["Result"]["Project"];
for (auto objectNodeResultProject : allResultNode)
{
Object::Project projectObject;
if(!objectNodeResultProject["RoleId"].isNull())
projectObject.roleId = std::stoi(objectNodeResultProject["RoleId"].asString());
if(!objectNodeResultProject["OrganizationId"].isNull())
projectObject.organizationId = objectNodeResultProject["OrganizationId"].asString();
if(!objectNodeResultProject["Id"].isNull())
projectObject.id = objectNodeResultProject["Id"].asString();
if(!objectNodeResultProject["CreatorId"].isNull())
projectObject.creatorId = objectNodeResultProject["CreatorId"].asString();
if(!objectNodeResultProject["Visibility"].isNull())
projectObject.visibility = objectNodeResultProject["Visibility"].asString();
if(!objectNodeResultProject["Updated"].isNull())
projectObject.updated = objectNodeResultProject["Updated"].asString();
if(!objectNodeResultProject["TasksCount"].isNull())
projectObject.tasksCount = std::stoi(objectNodeResultProject["TasksCount"].asString());
if(!objectNodeResultProject["Name"].isNull())
projectObject.name = objectNodeResultProject["Name"].asString();
if(!objectNodeResultProject["MembersCount"].isNull())
projectObject.membersCount = std::stoi(objectNodeResultProject["MembersCount"].asString());
if(!objectNodeResultProject["Logo"].isNull())
projectObject.logo = objectNodeResultProject["Logo"].asString();
if(!objectNodeResultProject["IsTemplate"].isNull())
projectObject.isTemplate = objectNodeResultProject["IsTemplate"].asString() == "true";
if(!objectNodeResultProject["IsStar"].isNull())
projectObject.isStar = objectNodeResultProject["IsStar"].asString() == "true";
if(!objectNodeResultProject["IsPublic"].isNull())
projectObject.isPublic = objectNodeResultProject["IsPublic"].asString() == "true";
if(!objectNodeResultProject["IsArchived"].isNull())
projectObject.isArchived = objectNodeResultProject["IsArchived"].asString() == "true";
if(!objectNodeResultProject["Description"].isNull())
projectObject.description = objectNodeResultProject["Description"].asString();
if(!objectNodeResultProject["Created"].isNull())
projectObject.created = objectNodeResultProject["Created"].asString();
object_.result.push_back(projectObject);
}
if(!value["Successful"].isNull())
successful_ = value["Successful"].asString() == "true";
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
std::string ListDevopsProjectsResult::getErrorMsg()const
{
return errorMsg_;
}
ListDevopsProjectsResult::Object ListDevopsProjectsResult::getObject()const
{
return object_;
}
std::string ListDevopsProjectsResult::getErrorCode()const
{
return errorCode_;
}
bool ListDevopsProjectsResult::getSuccessful()const
{
return successful_;
}

View File

@@ -37,6 +37,8 @@ set(dms-enterprise_public_header_model
include/alibabacloud/dms-enterprise/model/CreateOrderResult.h
include/alibabacloud/dms-enterprise/model/CreatePublishGroupTaskRequest.h
include/alibabacloud/dms-enterprise/model/CreatePublishGroupTaskResult.h
include/alibabacloud/dms-enterprise/model/CreateSQLReviewOrderRequest.h
include/alibabacloud/dms-enterprise/model/CreateSQLReviewOrderResult.h
include/alibabacloud/dms-enterprise/model/CreateStructSyncOrderRequest.h
include/alibabacloud/dms-enterprise/model/CreateStructSyncOrderResult.h
include/alibabacloud/dms-enterprise/model/CreateUploadFileJobRequest.h
@@ -97,6 +99,8 @@ set(dms-enterprise_public_header_model
include/alibabacloud/dms-enterprise/model/GetPermApplyOrderDetailResult.h
include/alibabacloud/dms-enterprise/model/GetPhysicalDatabaseRequest.h
include/alibabacloud/dms-enterprise/model/GetPhysicalDatabaseResult.h
include/alibabacloud/dms-enterprise/model/GetSQLReviewCheckResultStatusRequest.h
include/alibabacloud/dms-enterprise/model/GetSQLReviewCheckResultStatusResult.h
include/alibabacloud/dms-enterprise/model/GetStructSyncExecSqlDetailRequest.h
include/alibabacloud/dms-enterprise/model/GetStructSyncExecSqlDetailResult.h
include/alibabacloud/dms-enterprise/model/GetStructSyncJobAnalyzeResultRequest.h
@@ -139,6 +143,8 @@ set(dms-enterprise_public_header_model
include/alibabacloud/dms-enterprise/model/ListLogicTablesResult.h
include/alibabacloud/dms-enterprise/model/ListOrdersRequest.h
include/alibabacloud/dms-enterprise/model/ListOrdersResult.h
include/alibabacloud/dms-enterprise/model/ListSQLReviewOriginSQLRequest.h
include/alibabacloud/dms-enterprise/model/ListSQLReviewOriginSQLResult.h
include/alibabacloud/dms-enterprise/model/ListSensitiveColumnsRequest.h
include/alibabacloud/dms-enterprise/model/ListSensitiveColumnsResult.h
include/alibabacloud/dms-enterprise/model/ListSensitiveColumnsDetailRequest.h
@@ -198,6 +204,8 @@ set(dms-enterprise_src
src/model/CreateOrderResult.cc
src/model/CreatePublishGroupTaskRequest.cc
src/model/CreatePublishGroupTaskResult.cc
src/model/CreateSQLReviewOrderRequest.cc
src/model/CreateSQLReviewOrderResult.cc
src/model/CreateStructSyncOrderRequest.cc
src/model/CreateStructSyncOrderResult.cc
src/model/CreateUploadFileJobRequest.cc
@@ -258,6 +266,8 @@ set(dms-enterprise_src
src/model/GetPermApplyOrderDetailResult.cc
src/model/GetPhysicalDatabaseRequest.cc
src/model/GetPhysicalDatabaseResult.cc
src/model/GetSQLReviewCheckResultStatusRequest.cc
src/model/GetSQLReviewCheckResultStatusResult.cc
src/model/GetStructSyncExecSqlDetailRequest.cc
src/model/GetStructSyncExecSqlDetailResult.cc
src/model/GetStructSyncJobAnalyzeResultRequest.cc
@@ -300,6 +310,8 @@ set(dms-enterprise_src
src/model/ListLogicTablesResult.cc
src/model/ListOrdersRequest.cc
src/model/ListOrdersResult.cc
src/model/ListSQLReviewOriginSQLRequest.cc
src/model/ListSQLReviewOriginSQLResult.cc
src/model/ListSensitiveColumnsRequest.cc
src/model/ListSensitiveColumnsResult.cc
src/model/ListSensitiveColumnsDetailRequest.cc

View File

@@ -38,6 +38,8 @@
#include "model/CreateOrderResult.h"
#include "model/CreatePublishGroupTaskRequest.h"
#include "model/CreatePublishGroupTaskResult.h"
#include "model/CreateSQLReviewOrderRequest.h"
#include "model/CreateSQLReviewOrderResult.h"
#include "model/CreateStructSyncOrderRequest.h"
#include "model/CreateStructSyncOrderResult.h"
#include "model/CreateUploadFileJobRequest.h"
@@ -98,6 +100,8 @@
#include "model/GetPermApplyOrderDetailResult.h"
#include "model/GetPhysicalDatabaseRequest.h"
#include "model/GetPhysicalDatabaseResult.h"
#include "model/GetSQLReviewCheckResultStatusRequest.h"
#include "model/GetSQLReviewCheckResultStatusResult.h"
#include "model/GetStructSyncExecSqlDetailRequest.h"
#include "model/GetStructSyncExecSqlDetailResult.h"
#include "model/GetStructSyncJobAnalyzeResultRequest.h"
@@ -140,6 +144,8 @@
#include "model/ListLogicTablesResult.h"
#include "model/ListOrdersRequest.h"
#include "model/ListOrdersResult.h"
#include "model/ListSQLReviewOriginSQLRequest.h"
#include "model/ListSQLReviewOriginSQLResult.h"
#include "model/ListSensitiveColumnsRequest.h"
#include "model/ListSensitiveColumnsResult.h"
#include "model/ListSensitiveColumnsDetailRequest.h"
@@ -213,6 +219,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreatePublishGroupTaskResult> CreatePublishGroupTaskOutcome;
typedef std::future<CreatePublishGroupTaskOutcome> CreatePublishGroupTaskOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::CreatePublishGroupTaskRequest&, const CreatePublishGroupTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePublishGroupTaskAsyncHandler;
typedef Outcome<Error, Model::CreateSQLReviewOrderResult> CreateSQLReviewOrderOutcome;
typedef std::future<CreateSQLReviewOrderOutcome> CreateSQLReviewOrderOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::CreateSQLReviewOrderRequest&, const CreateSQLReviewOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSQLReviewOrderAsyncHandler;
typedef Outcome<Error, Model::CreateStructSyncOrderResult> CreateStructSyncOrderOutcome;
typedef std::future<CreateStructSyncOrderOutcome> CreateStructSyncOrderOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::CreateStructSyncOrderRequest&, const CreateStructSyncOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateStructSyncOrderAsyncHandler;
@@ -303,6 +312,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetPhysicalDatabaseResult> GetPhysicalDatabaseOutcome;
typedef std::future<GetPhysicalDatabaseOutcome> GetPhysicalDatabaseOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetPhysicalDatabaseRequest&, const GetPhysicalDatabaseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPhysicalDatabaseAsyncHandler;
typedef Outcome<Error, Model::GetSQLReviewCheckResultStatusResult> GetSQLReviewCheckResultStatusOutcome;
typedef std::future<GetSQLReviewCheckResultStatusOutcome> GetSQLReviewCheckResultStatusOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetSQLReviewCheckResultStatusRequest&, const GetSQLReviewCheckResultStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSQLReviewCheckResultStatusAsyncHandler;
typedef Outcome<Error, Model::GetStructSyncExecSqlDetailResult> GetStructSyncExecSqlDetailOutcome;
typedef std::future<GetStructSyncExecSqlDetailOutcome> GetStructSyncExecSqlDetailOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetStructSyncExecSqlDetailRequest&, const GetStructSyncExecSqlDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStructSyncExecSqlDetailAsyncHandler;
@@ -366,6 +378,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListOrdersResult> ListOrdersOutcome;
typedef std::future<ListOrdersOutcome> ListOrdersOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListOrdersRequest&, const ListOrdersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListOrdersAsyncHandler;
typedef Outcome<Error, Model::ListSQLReviewOriginSQLResult> ListSQLReviewOriginSQLOutcome;
typedef std::future<ListSQLReviewOriginSQLOutcome> ListSQLReviewOriginSQLOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListSQLReviewOriginSQLRequest&, const ListSQLReviewOriginSQLOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSQLReviewOriginSQLAsyncHandler;
typedef Outcome<Error, Model::ListSensitiveColumnsResult> ListSensitiveColumnsOutcome;
typedef std::future<ListSensitiveColumnsOutcome> ListSensitiveColumnsOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ListSensitiveColumnsRequest&, const ListSensitiveColumnsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSensitiveColumnsAsyncHandler;
@@ -455,6 +470,9 @@ namespace AlibabaCloud
CreatePublishGroupTaskOutcome createPublishGroupTask(const Model::CreatePublishGroupTaskRequest &request)const;
void createPublishGroupTaskAsync(const Model::CreatePublishGroupTaskRequest& request, const CreatePublishGroupTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreatePublishGroupTaskOutcomeCallable createPublishGroupTaskCallable(const Model::CreatePublishGroupTaskRequest& request) const;
CreateSQLReviewOrderOutcome createSQLReviewOrder(const Model::CreateSQLReviewOrderRequest &request)const;
void createSQLReviewOrderAsync(const Model::CreateSQLReviewOrderRequest& request, const CreateSQLReviewOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSQLReviewOrderOutcomeCallable createSQLReviewOrderCallable(const Model::CreateSQLReviewOrderRequest& request) const;
CreateStructSyncOrderOutcome createStructSyncOrder(const Model::CreateStructSyncOrderRequest &request)const;
void createStructSyncOrderAsync(const Model::CreateStructSyncOrderRequest& request, const CreateStructSyncOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateStructSyncOrderOutcomeCallable createStructSyncOrderCallable(const Model::CreateStructSyncOrderRequest& request) const;
@@ -545,6 +563,9 @@ namespace AlibabaCloud
GetPhysicalDatabaseOutcome getPhysicalDatabase(const Model::GetPhysicalDatabaseRequest &request)const;
void getPhysicalDatabaseAsync(const Model::GetPhysicalDatabaseRequest& request, const GetPhysicalDatabaseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPhysicalDatabaseOutcomeCallable getPhysicalDatabaseCallable(const Model::GetPhysicalDatabaseRequest& request) const;
GetSQLReviewCheckResultStatusOutcome getSQLReviewCheckResultStatus(const Model::GetSQLReviewCheckResultStatusRequest &request)const;
void getSQLReviewCheckResultStatusAsync(const Model::GetSQLReviewCheckResultStatusRequest& request, const GetSQLReviewCheckResultStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSQLReviewCheckResultStatusOutcomeCallable getSQLReviewCheckResultStatusCallable(const Model::GetSQLReviewCheckResultStatusRequest& request) const;
GetStructSyncExecSqlDetailOutcome getStructSyncExecSqlDetail(const Model::GetStructSyncExecSqlDetailRequest &request)const;
void getStructSyncExecSqlDetailAsync(const Model::GetStructSyncExecSqlDetailRequest& request, const GetStructSyncExecSqlDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetStructSyncExecSqlDetailOutcomeCallable getStructSyncExecSqlDetailCallable(const Model::GetStructSyncExecSqlDetailRequest& request) const;
@@ -608,6 +629,9 @@ namespace AlibabaCloud
ListOrdersOutcome listOrders(const Model::ListOrdersRequest &request)const;
void listOrdersAsync(const Model::ListOrdersRequest& request, const ListOrdersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListOrdersOutcomeCallable listOrdersCallable(const Model::ListOrdersRequest& request) const;
ListSQLReviewOriginSQLOutcome listSQLReviewOriginSQL(const Model::ListSQLReviewOriginSQLRequest &request)const;
void listSQLReviewOriginSQLAsync(const Model::ListSQLReviewOriginSQLRequest& request, const ListSQLReviewOriginSQLAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSQLReviewOriginSQLOutcomeCallable listSQLReviewOriginSQLCallable(const Model::ListSQLReviewOriginSQLRequest& request) const;
ListSensitiveColumnsOutcome listSensitiveColumns(const Model::ListSensitiveColumnsRequest &request)const;
void listSensitiveColumnsAsync(const Model::ListSensitiveColumnsRequest& request, const ListSensitiveColumnsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSensitiveColumnsOutcomeCallable listSensitiveColumnsCallable(const Model::ListSensitiveColumnsRequest& request) const;

View File

@@ -1,57 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_APPROVEORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_APPROVEORDERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ApproveOrderRequest : public RpcServiceRequest
{
public:
ApproveOrderRequest();
~ApproveOrderRequest();
long getTid()const;
void setTid(long tid);
long getWorkflowInstanceId()const;
void setWorkflowInstanceId(long workflowInstanceId);
std::string getApprovalType()const;
void setApprovalType(const std::string& approvalType);
std::string getComment()const;
void setComment(const std::string& comment);
private:
long tid_;
long workflowInstanceId_;
std::string approvalType_;
std::string comment_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_APPROVEORDERREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_APPROVEORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_APPROVEORDERREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ApproveOrderRequest : public RpcServiceRequest {
public:
ApproveOrderRequest();
~ApproveOrderRequest();
long getTid() const;
void setTid(long tid);
long getWorkflowInstanceId() const;
void setWorkflowInstanceId(long workflowInstanceId);
std::string getApprovalType() const;
void setApprovalType(const std::string &approvalType);
std::string getComment() const;
void setComment(const std::string &comment);
private:
long tid_;
long workflowInstanceId_;
std::string approvalType_;
std::string comment_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_APPROVEORDERREQUEST_H_

View File

@@ -1,54 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CLOSEORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CLOSEORDERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CloseOrderRequest : public RpcServiceRequest
{
public:
CloseOrderRequest();
~CloseOrderRequest();
long getOrderId()const;
void setOrderId(long orderId);
std::string getCloseReason()const;
void setCloseReason(const std::string& closeReason);
long getTid()const;
void setTid(long tid);
private:
long orderId_;
std::string closeReason_;
long tid_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CLOSEORDERREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CLOSEORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CLOSEORDERREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CloseOrderRequest : public RpcServiceRequest {
public:
CloseOrderRequest();
~CloseOrderRequest();
long getOrderId() const;
void setOrderId(long orderId);
std::string getCloseReason() const;
void setCloseReason(const std::string &closeReason);
long getTid() const;
void setTid(long tid);
private:
long orderId_;
std::string closeReason_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CLOSEORDERREQUEST_H_

View File

@@ -1,60 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATACORRECTORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATACORRECTORDERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateDataCorrectOrderRequest : public RpcServiceRequest
{
public:
CreateDataCorrectOrderRequest();
~CreateDataCorrectOrderRequest();
long getTid()const;
void setTid(long tid);
std::string getAttachmentKey()const;
void setAttachmentKey(const std::string& attachmentKey);
Struct getParam()const;
void setParam(const Struct& param);
std::string getComment()const;
void setComment(const std::string& comment);
Array getRelatedUserList()const;
void setRelatedUserList(const Array& relatedUserList);
private:
long tid_;
std::string attachmentKey_;
Struct param_;
std::string comment_;
Array relatedUserList_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATACORRECTORDERREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATACORRECTORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATACORRECTORDERREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateDataCorrectOrderRequest : public RpcServiceRequest {
public:
struct Param {
std::string sqlType;
std::string classify;
std::string rollbackSQL;
std::string rollbackSqlType;
struct DbItemListItem {
long dbId;
bool logic;
};
DbItemListItem dbItemListItem;
std::vector<DbItemListItem> dbItemList;
std::string execSQL;
long estimateAffectRows;
std::string rollbackAttachmentName;
std::string attachmentName;
};
CreateDataCorrectOrderRequest();
~CreateDataCorrectOrderRequest();
long getTid() const;
void setTid(long tid);
std::string getAttachmentKey() const;
void setAttachmentKey(const std::string &attachmentKey);
Param getParam() const;
void setParam(const Param &param);
std::string getComment() const;
void setComment(const std::string &comment);
std::vector<long> getRelatedUserList() const;
void setRelatedUserList(const std::vector<long> &relatedUserList);
private:
long tid_;
std::string attachmentKey_;
Param param_;
std::string comment_;
std::vector<long> relatedUserList_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATACORRECTORDERREQUEST_H_

View File

@@ -1,60 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATACRONCLEARORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATACRONCLEARORDERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateDataCronClearOrderRequest : public RpcServiceRequest
{
public:
CreateDataCronClearOrderRequest();
~CreateDataCronClearOrderRequest();
long getTid()const;
void setTid(long tid);
std::string getAttachmentKey()const;
void setAttachmentKey(const std::string& attachmentKey);
Struct getParam()const;
void setParam(const Struct& param);
std::string getComment()const;
void setComment(const std::string& comment);
Array getRelatedUserList()const;
void setRelatedUserList(const Array& relatedUserList);
private:
long tid_;
std::string attachmentKey_;
Struct param_;
std::string comment_;
Array relatedUserList_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATACRONCLEARORDERREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATACRONCLEARORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATACRONCLEARORDERREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateDataCronClearOrderRequest : public RpcServiceRequest {
public:
struct Param {
std::string classify;
struct DbItemListItem {
long dbId;
bool logic;
};
DbItemListItem dbItemListItem;
std::vector<DbItemListItem> dbItemList;
struct CronClearItemListItem {
std::string filterSQL;
long remainDays;
std::string tableName;
std::string columnName;
std::string timeUnit;
};
CronClearItemListItem cronClearItemListItem;
std::vector<CronClearItemListItem> cronClearItemList;
long durationHour;
std::string cronFormat;
bool specifyDuration;
};
CreateDataCronClearOrderRequest();
~CreateDataCronClearOrderRequest();
long getTid() const;
void setTid(long tid);
std::string getAttachmentKey() const;
void setAttachmentKey(const std::string &attachmentKey);
Param getParam() const;
void setParam(const Param &param);
std::string getComment() const;
void setComment(const std::string &comment);
std::vector<long> getRelatedUserList() const;
void setRelatedUserList(const std::vector<long> &relatedUserList);
private:
long tid_;
std::string attachmentKey_;
Param param_;
std::string comment_;
std::vector<long> relatedUserList_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATACRONCLEARORDERREQUEST_H_

View File

@@ -1,60 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATAIMPORTORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATAIMPORTORDERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateDataImportOrderRequest : public RpcServiceRequest
{
public:
CreateDataImportOrderRequest();
~CreateDataImportOrderRequest();
long getTid()const;
void setTid(long tid);
std::string getAttachmentKey()const;
void setAttachmentKey(const std::string& attachmentKey);
Struct getParam()const;
void setParam(const Struct& param);
std::string getComment()const;
void setComment(const std::string& comment);
Array getRelatedUserList()const;
void setRelatedUserList(const Array& relatedUserList);
private:
long tid_;
std::string attachmentKey_;
Struct param_;
std::string comment_;
Array relatedUserList_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATAIMPORTORDERREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATAIMPORTORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATAIMPORTORDERREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateDataImportOrderRequest : public RpcServiceRequest {
public:
struct Param {
std::string fileEncoding;
std::string classify;
std::string fileType;
bool csvFirstRowIsColumnDef;
std::string rollbackAttachmentName;
std::string attachmentName;
std::string importMode;
std::string rollbackSQL;
std::string rollbackSqlType;
struct DbItemListItem {
long dbId;
bool logic;
};
DbItemListItem dbItemListItem;
std::vector<DbItemListItem> dbItemList;
std::string insertType;
std::string tableName;
bool ignoreError;
};
CreateDataImportOrderRequest();
~CreateDataImportOrderRequest();
long getTid() const;
void setTid(long tid);
std::string getAttachmentKey() const;
void setAttachmentKey(const std::string &attachmentKey);
Param getParam() const;
void setParam(const Param &param);
std::string getComment() const;
void setComment(const std::string &comment);
std::vector<long> getRelatedUserList() const;
void setRelatedUserList(const std::vector<long> &relatedUserList);
private:
long tid_;
std::string attachmentKey_;
Param param_;
std::string comment_;
std::vector<long> relatedUserList_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEDATAIMPORTORDERREQUEST_H_

View File

@@ -1,60 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEFREELOCKCORRECTORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEFREELOCKCORRECTORDERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateFreeLockCorrectOrderRequest : public RpcServiceRequest
{
public:
CreateFreeLockCorrectOrderRequest();
~CreateFreeLockCorrectOrderRequest();
long getTid()const;
void setTid(long tid);
std::string getAttachmentKey()const;
void setAttachmentKey(const std::string& attachmentKey);
Struct getParam()const;
void setParam(const Struct& param);
std::string getComment()const;
void setComment(const std::string& comment);
Array getRelatedUserList()const;
void setRelatedUserList(const Array& relatedUserList);
private:
long tid_;
std::string attachmentKey_;
Struct param_;
std::string comment_;
Array relatedUserList_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEFREELOCKCORRECTORDERREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEFREELOCKCORRECTORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEFREELOCKCORRECTORDERREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateFreeLockCorrectOrderRequest : public RpcServiceRequest {
public:
struct Param {
std::string sqlType;
std::string classify;
std::string rollbackSQL;
std::string rollbackSqlType;
struct DbItemListItem {
long dbId;
bool logic;
};
DbItemListItem dbItemListItem;
std::vector<DbItemListItem> dbItemList;
std::string execSQL;
std::string rollbackAttachmentName;
std::string attachmentName;
};
CreateFreeLockCorrectOrderRequest();
~CreateFreeLockCorrectOrderRequest();
long getTid() const;
void setTid(long tid);
std::string getAttachmentKey() const;
void setAttachmentKey(const std::string &attachmentKey);
Param getParam() const;
void setParam(const Param &param);
std::string getComment() const;
void setComment(const std::string &comment);
std::vector<long> getRelatedUserList() const;
void setRelatedUserList(const std::vector<long> &relatedUserList);
private:
long tid_;
std::string attachmentKey_;
Param param_;
std::string comment_;
std::vector<long> relatedUserList_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEFREELOCKCORRECTORDERREQUEST_H_

View File

@@ -1,63 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEORDERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateOrderRequest : public RpcServiceRequest
{
public:
CreateOrderRequest();
~CreateOrderRequest();
long getTid()const;
void setTid(long tid);
std::string getPluginType()const;
void setPluginType(const std::string& pluginType);
std::string getAttachmentKey()const;
void setAttachmentKey(const std::string& attachmentKey);
std::string getComment()const;
void setComment(const std::string& comment);
std::map<std::string, std::string> getPluginParam()const;
void setPluginParam(const std::map<std::string, std::string>& pluginParam);
std::string getRelatedUserList()const;
void setRelatedUserList(const std::string& relatedUserList);
private:
long tid_;
std::string pluginType_;
std::string attachmentKey_;
std::string comment_;
std::map<std::string, std::string> pluginParam_;
std::string relatedUserList_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEORDERREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEORDERREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateOrderRequest : public RpcServiceRequest {
public:
CreateOrderRequest();
~CreateOrderRequest();
long getTid() const;
void setTid(long tid);
std::string getPluginType() const;
void setPluginType(const std::string &pluginType);
std::string getAttachmentKey() const;
void setAttachmentKey(const std::string &attachmentKey);
std::string getComment() const;
void setComment(const std::string &comment);
std::map<std::string, std::string> getPluginParam() const;
void setPluginParam(std::map<std::string, std::string> pluginParam);
std::string getRelatedUserList() const;
void setRelatedUserList(const std::string &relatedUserList);
private:
long tid_;
std::string pluginType_;
std::string attachmentKey_;
std::string comment_;
std::map<std::string, std::string> pluginParam_;
std::string relatedUserList_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEORDERREQUEST_H_

View File

@@ -1,63 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEPUBLISHGROUPTASKREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEPUBLISHGROUPTASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreatePublishGroupTaskRequest : public RpcServiceRequest
{
public:
CreatePublishGroupTaskRequest();
~CreatePublishGroupTaskRequest();
long getOrderId()const;
void setOrderId(long orderId);
long getTid()const;
void setTid(long tid);
int getDbId()const;
void setDbId(int dbId);
std::string getPlanTime()const;
void setPlanTime(const std::string& planTime);
bool getLogic()const;
void setLogic(bool logic);
std::string getPublishStrategy()const;
void setPublishStrategy(const std::string& publishStrategy);
private:
long orderId_;
long tid_;
int dbId_;
std::string planTime_;
bool logic_;
std::string publishStrategy_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEPUBLISHGROUPTASKREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEPUBLISHGROUPTASKREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEPUBLISHGROUPTASKREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreatePublishGroupTaskRequest : public RpcServiceRequest {
public:
CreatePublishGroupTaskRequest();
~CreatePublishGroupTaskRequest();
long getOrderId() const;
void setOrderId(long orderId);
long getTid() const;
void setTid(long tid);
int getDbId() const;
void setDbId(int dbId);
std::string getPlanTime() const;
void setPlanTime(const std::string &planTime);
bool getLogic() const;
void setLogic(bool logic);
std::string getPublishStrategy() const;
void setPublishStrategy(const std::string &publishStrategy);
private:
long orderId_;
long tid_;
int dbId_;
std::string planTime_;
bool logic_;
std::string publishStrategy_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEPUBLISHGROUPTASKREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESQLREVIEWORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESQLREVIEWORDERREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateSQLReviewOrderRequest : public RpcServiceRequest {
public:
struct Param {
std::string string;
std::vector<std::string> attachmentKeyList;
std::string projectName;
long dbId;
};
CreateSQLReviewOrderRequest();
~CreateSQLReviewOrderRequest();
long getTid() const;
void setTid(long tid);
Param getParam() const;
void setParam(const Param &param);
std::string getComment() const;
void setComment(const std::string &comment);
std::vector<long> getRelatedUserList() const;
void setRelatedUserList(const std::vector<long> &relatedUserList);
private:
long tid_;
Param param_;
std::string comment_;
std::vector<long> relatedUserList_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESQLREVIEWORDERREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESQLREVIEWORDERRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESQLREVIEWORDERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateSQLReviewOrderResult : public ServiceResult
{
public:
CreateSQLReviewOrderResult();
explicit CreateSQLReviewOrderResult(const std::string &payload);
~CreateSQLReviewOrderResult();
std::vector<std::string> getCreateOrderResult()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> createOrderResult_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESQLREVIEWORDERRESULT_H_

View File

@@ -1,60 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESTRUCTSYNCORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESTRUCTSYNCORDERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateStructSyncOrderRequest : public RpcServiceRequest
{
public:
CreateStructSyncOrderRequest();
~CreateStructSyncOrderRequest();
long getTid()const;
void setTid(long tid);
std::string getAttachmentKey()const;
void setAttachmentKey(const std::string& attachmentKey);
Struct getParam()const;
void setParam(const Struct& param);
std::string getComment()const;
void setComment(const std::string& comment);
Array getRelatedUserList()const;
void setRelatedUserList(const Array& relatedUserList);
private:
long tid_;
std::string attachmentKey_;
Struct param_;
std::string comment_;
Array relatedUserList_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESTRUCTSYNCORDERREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESTRUCTSYNCORDERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESTRUCTSYNCORDERREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateStructSyncOrderRequest : public RpcServiceRequest {
public:
struct Param {
std::string syncType;
struct TableInfoListItem {
std::string sourceTableName;
std::string targetTableName;
};
TableInfoListItem tableInfoListItem;
std::vector<TableInfoListItem> tableInfoList;
struct Source {
std::string dbSearchName;
std::string versionId;
long dbId;
bool logic;
};
Source source;
bool ignoreError;
struct Target {
std::string dbSearchName;
std::string versionId;
long dbId;
bool logic;
};
Target target;
};
CreateStructSyncOrderRequest();
~CreateStructSyncOrderRequest();
long getTid() const;
void setTid(long tid);
std::string getAttachmentKey() const;
void setAttachmentKey(const std::string &attachmentKey);
Param getParam() const;
void setParam(const Param &param);
std::string getComment() const;
void setComment(const std::string &comment);
std::vector<long> getRelatedUserList() const;
void setRelatedUserList(const std::vector<long> &relatedUserList);
private:
long tid_;
std::string attachmentKey_;
Param param_;
std::string comment_;
std::vector<long> relatedUserList_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATESTRUCTSYNCORDERREQUEST_H_

View File

@@ -1,60 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEUPLOADFILEJOBREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEUPLOADFILEJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateUploadFileJobRequest : public RpcServiceRequest
{
public:
CreateUploadFileJobRequest();
~CreateUploadFileJobRequest();
std::string getUploadType()const;
void setUploadType(const std::string& uploadType);
std::string getFileSource()const;
void setFileSource(const std::string& fileSource);
long getTid()const;
void setTid(long tid);
std::string getFileName()const;
void setFileName(const std::string& fileName);
std::string getUploadURL()const;
void setUploadURL(const std::string& uploadURL);
private:
std::string uploadType_;
std::string fileSource_;
long tid_;
std::string fileName_;
std::string uploadURL_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEUPLOADFILEJOBREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEUPLOADFILEJOBREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEUPLOADFILEJOBREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateUploadFileJobRequest : public RpcServiceRequest {
public:
CreateUploadFileJobRequest();
~CreateUploadFileJobRequest();
std::string getUploadType() const;
void setUploadType(const std::string &uploadType);
std::string getFileSource() const;
void setFileSource(const std::string &fileSource);
long getTid() const;
void setTid(long tid);
std::string getFileName() const;
void setFileName(const std::string &fileName);
std::string getUploadURL() const;
void setUploadURL(const std::string &uploadURL);
private:
std::string uploadType_;
std::string fileSource_;
long tid_;
std::string fileName_;
std::string uploadURL_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEUPLOADFILEJOBREQUEST_H_

View File

@@ -1,60 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEUPLOADOSSFILEJOBREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEUPLOADOSSFILEJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateUploadOSSFileJobRequest : public RpcServiceRequest
{
public:
CreateUploadOSSFileJobRequest();
~CreateUploadOSSFileJobRequest();
std::string getUploadType()const;
void setUploadType(const std::string& uploadType);
std::string getFileSource()const;
void setFileSource(const std::string& fileSource);
long getTid()const;
void setTid(long tid);
std::string getFileName()const;
void setFileName(const std::string& fileName);
Struct getUploadTarget()const;
void setUploadTarget(const Struct& uploadTarget);
private:
std::string uploadType_;
std::string fileSource_;
long tid_;
std::string fileName_;
Struct uploadTarget_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEUPLOADOSSFILEJOBREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEUPLOADOSSFILEJOBREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEUPLOADOSSFILEJOBREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateUploadOSSFileJobRequest : public RpcServiceRequest {
public:
struct UploadTarget {
std::string endpoint;
std::string bucketName;
std::string objectName;
};
CreateUploadOSSFileJobRequest();
~CreateUploadOSSFileJobRequest();
std::string getUploadType() const;
void setUploadType(const std::string &uploadType);
std::string getFileSource() const;
void setFileSource(const std::string &fileSource);
long getTid() const;
void setTid(long tid);
std::string getFileName() const;
void setFileName(const std::string &fileName);
UploadTarget getUploadTarget() const;
void setUploadTarget(const UploadTarget &uploadTarget);
private:
std::string uploadType_;
std::string fileSource_;
long tid_;
std::string fileName_;
UploadTarget uploadTarget_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEUPLOADOSSFILEJOBREQUEST_H_

View File

@@ -1,57 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEINSTANCEREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteInstanceRequest : public RpcServiceRequest
{
public:
DeleteInstanceRequest();
~DeleteInstanceRequest();
long getTid()const;
void setTid(long tid);
std::string getSid()const;
void setSid(const std::string& sid);
int getPort()const;
void setPort(int port);
std::string getHost()const;
void setHost(const std::string& host);
private:
long tid_;
std::string sid_;
int port_;
std::string host_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEINSTANCEREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEINSTANCEREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEINSTANCEREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteInstanceRequest : public RpcServiceRequest {
public:
DeleteInstanceRequest();
~DeleteInstanceRequest();
long getTid() const;
void setTid(long tid);
std::string getSid() const;
void setSid(const std::string &sid);
int getPort() const;
void setPort(int port);
std::string getHost() const;
void setHost(const std::string &host);
private:
long tid_;
std::string sid_;
int port_;
std::string host_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEINSTANCEREQUEST_H_

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEUSERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEUSERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteUserRequest : public RpcServiceRequest
{
public:
DeleteUserRequest();
~DeleteUserRequest();
std::string getUid()const;
void setUid(const std::string& uid);
long getTid()const;
void setTid(long tid);
private:
std::string uid_;
long tid_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEUSERREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEUSERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEUSERREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DeleteUserRequest : public RpcServiceRequest {
public:
DeleteUserRequest();
~DeleteUserRequest();
std::string getUid() const;
void setUid(const std::string &uid);
long getTid() const;
void setTid(long tid);
private:
std::string uid_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DELETEUSERREQUEST_H_

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DISABLEUSERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DISABLEUSERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DisableUserRequest : public RpcServiceRequest
{
public:
DisableUserRequest();
~DisableUserRequest();
std::string getUid()const;
void setUid(const std::string& uid);
long getTid()const;
void setTid(long tid);
private:
std::string uid_;
long tid_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DISABLEUSERREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DISABLEUSERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DISABLEUSERREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT DisableUserRequest : public RpcServiceRequest {
public:
DisableUserRequest();
~DisableUserRequest();
std::string getUid() const;
void setUid(const std::string &uid);
long getTid() const;
void setTid(long tid);
private:
std::string uid_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_DISABLEUSERREQUEST_H_

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ENABLEUSERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ENABLEUSERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT EnableUserRequest : public RpcServiceRequest
{
public:
EnableUserRequest();
~EnableUserRequest();
std::string getUid()const;
void setUid(const std::string& uid);
long getTid()const;
void setTid(long tid);
private:
std::string uid_;
long tid_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ENABLEUSERREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ENABLEUSERREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ENABLEUSERREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT EnableUserRequest : public RpcServiceRequest {
public:
EnableUserRequest();
~EnableUserRequest();
std::string getUid() const;
void setUid(const std::string &uid);
long getTid() const;
void setTid(long tid);
private:
std::string uid_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ENABLEUSERREQUEST_H_

View File

@@ -1,57 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTEDATACORRECTREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTEDATACORRECTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ExecuteDataCorrectRequest : public RpcServiceRequest
{
public:
ExecuteDataCorrectRequest();
~ExecuteDataCorrectRequest();
long getOrderId()const;
void setOrderId(long orderId);
std::string getActionName()const;
void setActionName(const std::string& actionName);
std::string getTid()const;
void setTid(const std::string& tid);
std::map<std::string, std::string> getActionDetail()const;
void setActionDetail(const std::map<std::string, std::string>& actionDetail);
private:
long orderId_;
std::string actionName_;
std::string tid_;
std::map<std::string, std::string> actionDetail_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTEDATACORRECTREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTEDATACORRECTREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTEDATACORRECTREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ExecuteDataCorrectRequest : public RpcServiceRequest {
public:
ExecuteDataCorrectRequest();
~ExecuteDataCorrectRequest();
long getOrderId() const;
void setOrderId(long orderId);
std::string getActionName() const;
void setActionName(const std::string &actionName);
std::string getTid() const;
void setTid(const std::string &tid);
std::map<std::string, std::string> getActionDetail() const;
void setActionDetail(std::map<std::string, std::string> actionDetail);
private:
long orderId_;
std::string actionName_;
std::string tid_;
std::map<std::string, std::string> actionDetail_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTEDATACORRECTREQUEST_H_

View File

@@ -1,57 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTEDATAEXPORTREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTEDATAEXPORTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ExecuteDataExportRequest : public RpcServiceRequest
{
public:
ExecuteDataExportRequest();
~ExecuteDataExportRequest();
long getOrderId()const;
void setOrderId(long orderId);
std::string getActionName()const;
void setActionName(const std::string& actionName);
long getTid()const;
void setTid(long tid);
std::map<std::string, std::string> getActionDetail()const;
void setActionDetail(const std::map<std::string, std::string>& actionDetail);
private:
long orderId_;
std::string actionName_;
long tid_;
std::map<std::string, std::string> actionDetail_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTEDATAEXPORTREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTEDATAEXPORTREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTEDATAEXPORTREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ExecuteDataExportRequest : public RpcServiceRequest {
public:
ExecuteDataExportRequest();
~ExecuteDataExportRequest();
long getOrderId() const;
void setOrderId(long orderId);
std::string getActionName() const;
void setActionName(const std::string &actionName);
long getTid() const;
void setTid(long tid);
std::map<std::string, std::string> getActionDetail() const;
void setActionDetail(std::map<std::string, std::string> actionDetail);
private:
long orderId_;
std::string actionName_;
long tid_;
std::map<std::string, std::string> actionDetail_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTEDATAEXPORTREQUEST_H_

View File

@@ -1,57 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTESCRIPTREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTESCRIPTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ExecuteScriptRequest : public RpcServiceRequest
{
public:
ExecuteScriptRequest();
~ExecuteScriptRequest();
std::string getScript()const;
void setScript(const std::string& script);
long getTid()const;
void setTid(long tid);
int getDbId()const;
void setDbId(int dbId);
bool getLogic()const;
void setLogic(bool logic);
private:
std::string script_;
long tid_;
int dbId_;
bool logic_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTESCRIPTREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTESCRIPTREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTESCRIPTREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ExecuteScriptRequest : public RpcServiceRequest {
public:
ExecuteScriptRequest();
~ExecuteScriptRequest();
std::string getScript() const;
void setScript(const std::string &script);
long getTid() const;
void setTid(long tid);
int getDbId() const;
void setDbId(int dbId);
bool getLogic() const;
void setLogic(bool logic);
private:
std::string script_;
long tid_;
int dbId_;
bool logic_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTESCRIPTREQUEST_H_

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTESTRUCTSYNCREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTESTRUCTSYNCREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ExecuteStructSyncRequest : public RpcServiceRequest
{
public:
ExecuteStructSyncRequest();
~ExecuteStructSyncRequest();
long getOrderId()const;
void setOrderId(long orderId);
long getTid()const;
void setTid(long tid);
private:
long orderId_;
long tid_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTESTRUCTSYNCREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTESTRUCTSYNCREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTESTRUCTSYNCREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ExecuteStructSyncRequest : public RpcServiceRequest {
public:
ExecuteStructSyncRequest();
~ExecuteStructSyncRequest();
long getOrderId() const;
void setOrderId(long orderId);
long getTid() const;
void setTid(long tid);
private:
long orderId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_EXECUTESTRUCTSYNCREQUEST_H_

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETAPPROVALDETAILREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETAPPROVALDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetApprovalDetailRequest : public RpcServiceRequest
{
public:
GetApprovalDetailRequest();
~GetApprovalDetailRequest();
long getTid()const;
void setTid(long tid);
long getWorkflowInstanceId()const;
void setWorkflowInstanceId(long workflowInstanceId);
private:
long tid_;
long workflowInstanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETAPPROVALDETAILREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETAPPROVALDETAILREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETAPPROVALDETAILREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetApprovalDetailRequest : public RpcServiceRequest {
public:
GetApprovalDetailRequest();
~GetApprovalDetailRequest();
long getTid() const;
void setTid(long tid);
long getWorkflowInstanceId() const;
void setWorkflowInstanceId(long workflowInstanceId);
private:
long tid_;
long workflowInstanceId_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETAPPROVALDETAILREQUEST_H_

View File

@@ -34,11 +34,6 @@ namespace AlibabaCloud
public:
struct ApprovalDetail
{
struct CurrentHandler
{
long id;
std::string nickName;
};
struct WorkflowNode
{
std::string operateTime;
@@ -48,10 +43,15 @@ namespace AlibabaCloud
long operatorId;
std::vector<std::string> auditUserIdList;
};
struct CurrentHandler
{
long id;
std::string nickName;
};
std::vector<CurrentHandler> currentHandlers;
std::vector<std::string> reasonList;
std::string orderType;
std::string description;
std::string orderType;
std::string workflowInsCode;
long auditId;
std::string title;

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDBTOPOLOGYREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDBTOPOLOGYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDBTopologyRequest : public RpcServiceRequest
{
public:
GetDBTopologyRequest();
~GetDBTopologyRequest();
long getLogicDbId()const;
void setLogicDbId(long logicDbId);
long getTid()const;
void setTid(long tid);
private:
long logicDbId_;
long tid_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDBTOPOLOGYREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDBTOPOLOGYREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDBTOPOLOGYREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDBTopologyRequest : public RpcServiceRequest {
public:
GetDBTopologyRequest();
~GetDBTopologyRequest();
long getLogicDbId() const;
void setLogicDbId(long logicDbId);
long getTid() const;
void setTid(long tid);
private:
long logicDbId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDBTOPOLOGYREQUEST_H_

View File

@@ -36,24 +36,24 @@ namespace AlibabaCloud
{
struct DBTopologyInfo
{
std::string instanceSource;
std::string instanceResourceId;
long instanceId;
std::string instanceSource;
std::string searchName;
long instanceId;
long dbId;
std::string catalogName;
std::string regionId;
std::string envType;
std::string dbType;
std::string schemaName;
std::string dbType;
std::string envType;
};
long logicDbId;
std::string searchName;
std::string alias;
std::string logicDbName;
std::vector<DBTopologyInfo> dBTopologyInfoList;
std::string envType;
std::string dbType;
std::string envType;
};

View File

@@ -1,57 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTBACKUPFILESREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTBACKUPFILESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataCorrectBackupFilesRequest : public RpcServiceRequest
{
public:
GetDataCorrectBackupFilesRequest();
~GetDataCorrectBackupFilesRequest();
long getOrderId()const;
void setOrderId(long orderId);
std::string getActionName()const;
void setActionName(const std::string& actionName);
long getTid()const;
void setTid(long tid);
std::map<std::string, std::string> getActionDetail()const;
void setActionDetail(const std::map<std::string, std::string>& actionDetail);
private:
long orderId_;
std::string actionName_;
long tid_;
std::map<std::string, std::string> actionDetail_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTBACKUPFILESREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTBACKUPFILESREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTBACKUPFILESREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataCorrectBackupFilesRequest : public RpcServiceRequest {
public:
GetDataCorrectBackupFilesRequest();
~GetDataCorrectBackupFilesRequest();
long getOrderId() const;
void setOrderId(long orderId);
std::string getActionName() const;
void setActionName(const std::string &actionName);
long getTid() const;
void setTid(long tid);
std::map<std::string, std::string> getActionDetail() const;
void setActionDetail(std::map<std::string, std::string> actionDetail);
private:
long orderId_;
std::string actionName_;
long tid_;
std::map<std::string, std::string> actionDetail_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTBACKUPFILESREQUEST_H_

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTORDERDETAILREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTORDERDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataCorrectOrderDetailRequest : public RpcServiceRequest
{
public:
GetDataCorrectOrderDetailRequest();
~GetDataCorrectOrderDetailRequest();
long getOrderId()const;
void setOrderId(long orderId);
long getTid()const;
void setTid(long tid);
private:
long orderId_;
long tid_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTORDERDETAILREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTORDERDETAILREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTORDERDETAILREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataCorrectOrderDetailRequest : public RpcServiceRequest {
public:
GetDataCorrectOrderDetailRequest();
~GetDataCorrectOrderDetailRequest();
long getOrderId() const;
void setOrderId(long orderId);
long getTid() const;
void setTid(long tid);
private:
long orderId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTORDERDETAILREQUEST_H_

View File

@@ -38,30 +38,30 @@ namespace AlibabaCloud
{
long estimateAffectRows;
bool ignoreAffectRows;
std::string exeSQL;
std::string classify;
std::string ignoreAffectRowsReason;
std::string exeSQL;
std::string attachmentName;
std::string ignoreAffectRowsReason;
std::string sqlType;
std::string rbSQLType;
long actualAffectRows;
std::string rbAttachmentName;
std::string rbSQL;
};
struct Database
{
std::string searchName;
int dbId;
bool logic;
std::string envType;
std::string dbType;
};
struct TaskCheckDO
{
std::string userTip;
std::string checkStep;
std::string checkStatus;
};
struct Database
{
std::string searchName;
int dbId;
bool logic;
std::string dbType;
std::string envType;
};
OrderDetail orderDetail;
std::string status;
std::vector<Database> databaseList;

View File

@@ -1,54 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTSQLFILEREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTSQLFILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataCorrectSQLFileRequest : public RpcServiceRequest
{
public:
GetDataCorrectSQLFileRequest();
~GetDataCorrectSQLFileRequest();
long getOrderId()const;
void setOrderId(long orderId);
long getTid()const;
void setTid(long tid);
std::string getOrderActionName()const;
void setOrderActionName(const std::string& orderActionName);
private:
long orderId_;
long tid_;
std::string orderActionName_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTSQLFILEREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTSQLFILEREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTSQLFILEREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataCorrectSQLFileRequest : public RpcServiceRequest {
public:
GetDataCorrectSQLFileRequest();
~GetDataCorrectSQLFileRequest();
long getOrderId() const;
void setOrderId(long orderId);
long getTid() const;
void setTid(long tid);
std::string getOrderActionName() const;
void setOrderActionName(const std::string &orderActionName);
private:
long orderId_;
long tid_;
std::string orderActionName_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTSQLFILEREQUEST_H_

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTTASKDETAILREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTTASKDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataCorrectTaskDetailRequest : public RpcServiceRequest
{
public:
GetDataCorrectTaskDetailRequest();
~GetDataCorrectTaskDetailRequest();
long getOrderId()const;
void setOrderId(long orderId);
long getTid()const;
void setTid(long tid);
private:
long orderId_;
long tid_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTTASKDETAILREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTTASKDETAILREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTTASKDETAILREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataCorrectTaskDetailRequest : public RpcServiceRequest {
public:
GetDataCorrectTaskDetailRequest();
~GetDataCorrectTaskDetailRequest();
long getOrderId() const;
void setOrderId(long orderId);
long getTid() const;
void setTid(long tid);
private:
long orderId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACORRECTTASKDETAILREQUEST_H_

View File

@@ -1,57 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACRONCLEARTASKDETAILLISTREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACRONCLEARTASKDETAILLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataCronClearTaskDetailListRequest : public RpcServiceRequest
{
public:
GetDataCronClearTaskDetailListRequest();
~GetDataCronClearTaskDetailListRequest();
long getOrderId()const;
void setOrderId(long orderId);
long getPageNumber()const;
void setPageNumber(long pageNumber);
long getTid()const;
void setTid(long tid);
long getPageSize()const;
void setPageSize(long pageSize);
private:
long orderId_;
long pageNumber_;
long tid_;
long pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACRONCLEARTASKDETAILLISTREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACRONCLEARTASKDETAILLISTREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACRONCLEARTASKDETAILLISTREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataCronClearTaskDetailListRequest : public RpcServiceRequest {
public:
GetDataCronClearTaskDetailListRequest();
~GetDataCronClearTaskDetailListRequest();
long getOrderId() const;
void setOrderId(long orderId);
long getPageNumber() const;
void setPageNumber(long pageNumber);
long getTid() const;
void setTid(long tid);
long getPageSize() const;
void setPageSize(long pageSize);
private:
long orderId_;
long pageNumber_;
long tid_;
long pageSize_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATACRONCLEARTASKDETAILLISTREQUEST_H_

View File

@@ -1,54 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATAEXPORTDOWNLOADURLREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATAEXPORTDOWNLOADURLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataExportDownloadURLRequest : public RpcServiceRequest
{
public:
GetDataExportDownloadURLRequest();
~GetDataExportDownloadURLRequest();
long getOrderId()const;
void setOrderId(long orderId);
std::string getActionName()const;
void setActionName(const std::string& actionName);
long getTid()const;
void setTid(long tid);
private:
long orderId_;
std::string actionName_;
long tid_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATAEXPORTDOWNLOADURLREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATAEXPORTDOWNLOADURLREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATAEXPORTDOWNLOADURLREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataExportDownloadURLRequest : public RpcServiceRequest {
public:
GetDataExportDownloadURLRequest();
~GetDataExportDownloadURLRequest();
long getOrderId() const;
void setOrderId(long orderId);
std::string getActionName() const;
void setActionName(const std::string &actionName);
long getTid() const;
void setTid(long tid);
private:
long orderId_;
std::string actionName_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATAEXPORTDOWNLOADURLREQUEST_H_

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATAEXPORTORDERDETAILREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATAEXPORTORDERDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataExportOrderDetailRequest : public RpcServiceRequest
{
public:
GetDataExportOrderDetailRequest();
~GetDataExportOrderDetailRequest();
long getOrderId()const;
void setOrderId(long orderId);
long getTid()const;
void setTid(long tid);
private:
long orderId_;
long tid_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATAEXPORTORDERDETAILREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATAEXPORTORDERDETAILREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATAEXPORTORDERDETAILREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDataExportOrderDetailRequest : public RpcServiceRequest {
public:
GetDataExportOrderDetailRequest();
~GetDataExportOrderDetailRequest();
long getOrderId() const;
void setOrderId(long orderId);
long getTid() const;
void setTid(long tid);
private:
long orderId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATAEXPORTORDERDETAILREQUEST_H_

View File

@@ -34,23 +34,23 @@ namespace AlibabaCloud
public:
struct DataExportOrderDetail
{
struct OrderDetail
{
bool ignoreAffectRows;
std::string exeSQL;
std::string classify;
std::string ignoreAffectRowsReason;
std::string database;
int dbId;
long actualAffectRows;
bool logic;
std::string envType;
};
struct KeyInfo
{
std::string jobStatus;
long preCheckId;
};
struct OrderDetail
{
bool ignoreAffectRows;
std::string classify;
std::string exeSQL;
std::string ignoreAffectRowsReason;
std::string database;
int dbId;
bool logic;
long actualAffectRows;
std::string envType;
};
OrderDetail orderDetail;
KeyInfo keyInfo;
};

View File

@@ -1,60 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATABASEREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATABASEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDatabaseRequest : public RpcServiceRequest
{
public:
GetDatabaseRequest();
~GetDatabaseRequest();
std::string getSchemaName()const;
void setSchemaName(const std::string& schemaName);
long getTid()const;
void setTid(long tid);
std::string getSid()const;
void setSid(const std::string& sid);
int getPort()const;
void setPort(int port);
std::string getHost()const;
void setHost(const std::string& host);
private:
std::string schemaName_;
long tid_;
std::string sid_;
int port_;
std::string host_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATABASEREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATABASEREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATABASEREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetDatabaseRequest : public RpcServiceRequest {
public:
GetDatabaseRequest();
~GetDatabaseRequest();
std::string getSchemaName() const;
void setSchemaName(const std::string &schemaName);
long getTid() const;
void setTid(long tid);
std::string getSid() const;
void setSid(const std::string &sid);
int getPort() const;
void setPort(int port);
std::string getHost() const;
void setHost(const std::string &host);
private:
std::string schemaName_;
long tid_;
std::string sid_;
int port_;
std::string host_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETDATABASEREQUEST_H_

View File

@@ -34,14 +34,14 @@ namespace AlibabaCloud
public:
struct Database
{
std::string searchName;
std::string instanceId;
std::string searchName;
int port;
std::string encoding;
std::string host;
std::string databaseId;
std::string dbType;
std::string host;
std::string encoding;
std::string envType;
std::string dbType;
std::string sid;
std::string dbaName;
std::string dbaId;

View File

@@ -1,57 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETINSTANCEREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetInstanceRequest : public RpcServiceRequest
{
public:
GetInstanceRequest();
~GetInstanceRequest();
long getTid()const;
void setTid(long tid);
std::string getSid()const;
void setSid(const std::string& sid);
int getPort()const;
void setPort(int port);
std::string getHost()const;
void setHost(const std::string& host);
private:
long tid_;
std::string sid_;
int port_;
std::string host_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETINSTANCEREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETINSTANCEREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETINSTANCEREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetInstanceRequest : public RpcServiceRequest {
public:
GetInstanceRequest();
~GetInstanceRequest();
long getTid() const;
void setTid(long tid);
std::string getSid() const;
void setSid(const std::string &sid);
int getPort() const;
void setPort(int port);
std::string getHost() const;
void setHost(const std::string &host);
private:
long tid_;
std::string sid_;
int port_;
std::string host_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETINSTANCEREQUEST_H_

View File

@@ -36,26 +36,26 @@ namespace AlibabaCloud
{
std::string instanceSource;
std::string instanceId;
std::string databasePassword;
int port;
std::string databasePassword;
std::string host;
int exportTimeout;
int ddlOnline;
std::string envType;
std::string sid;
int useDsql;
std::string sid;
std::string ecsInstanceId;
std::string dbaId;
std::string vpcId;
std::string ecsRegion;
std::string instanceAlias;
std::string state;
std::string instanceAlias;
std::string ecsRegion;
std::string databaseUser;
std::vector<std::string> ownerNameList;
std::string instanceType;
std::string dbaNickName;
std::string dataLinkName;
std::string instanceType;
int queryTimeout;
std::string dataLinkName;
std::vector<std::string> ownerIdList;
std::string safeRuleId;
};

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETLOGICDATABASEREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETLOGICDATABASEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetLogicDatabaseRequest : public RpcServiceRequest
{
public:
GetLogicDatabaseRequest();
~GetLogicDatabaseRequest();
std::string getDbId()const;
void setDbId(const std::string& dbId);
long getTid()const;
void setTid(long tid);
private:
std::string dbId_;
long tid_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETLOGICDATABASEREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETLOGICDATABASEREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETLOGICDATABASEREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetLogicDatabaseRequest : public RpcServiceRequest {
public:
GetLogicDatabaseRequest();
~GetLogicDatabaseRequest();
std::string getDbId() const;
void setDbId(const std::string &dbId);
long getTid() const;
void setTid(long tid);
private:
std::string dbId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETLOGICDATABASEREQUEST_H_

View File

@@ -38,9 +38,9 @@ namespace AlibabaCloud
std::string databaseId;
std::vector<std::string> ownerNameList;
bool logic;
std::string envType;
std::string schemaName;
std::string dbType;
std::string schemaName;
std::string envType;
std::vector<std::string> ownerIdList;
};

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETMETATABLECOLUMNREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETMETATABLECOLUMNREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetMetaTableColumnRequest : public RpcServiceRequest
{
public:
GetMetaTableColumnRequest();
~GetMetaTableColumnRequest();
std::string getTableGuid()const;
void setTableGuid(const std::string& tableGuid);
long getTid()const;
void setTid(long tid);
private:
std::string tableGuid_;
long tid_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETMETATABLECOLUMNREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETMETATABLECOLUMNREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETMETATABLECOLUMNREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetMetaTableColumnRequest : public RpcServiceRequest {
public:
GetMetaTableColumnRequest();
~GetMetaTableColumnRequest();
std::string getTableGuid() const;
void setTableGuid(const std::string &tableGuid);
long getTid() const;
void setTid(long tid);
private:
std::string tableGuid_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETMETATABLECOLUMNREQUEST_H_

View File

@@ -36,15 +36,15 @@ namespace AlibabaCloud
{
std::string columnId;
std::string columnName;
std::string description;
std::string columnType;
std::string description;
int position;
bool autoIncrement;
std::string securityLevel;
long dataLength;
int dataScale;
int dataPrecision;
long dataLength;
std::string primaryKey;
int dataPrecision;
bool nullable;
};

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETMETATABLEDETAILINFOREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETMETATABLEDETAILINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetMetaTableDetailInfoRequest : public RpcServiceRequest
{
public:
GetMetaTableDetailInfoRequest();
~GetMetaTableDetailInfoRequest();
std::string getTableGuid()const;
void setTableGuid(const std::string& tableGuid);
long getTid()const;
void setTid(long tid);
private:
std::string tableGuid_;
long tid_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETMETATABLEDETAILINFOREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETMETATABLEDETAILINFOREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETMETATABLEDETAILINFOREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetMetaTableDetailInfoRequest : public RpcServiceRequest {
public:
GetMetaTableDetailInfoRequest();
~GetMetaTableDetailInfoRequest();
std::string getTableGuid() const;
void setTableGuid(const std::string &tableGuid);
long getTid() const;
void setTid(long tid);
private:
std::string tableGuid_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETMETATABLEDETAILINFOREQUEST_H_

View File

@@ -34,19 +34,6 @@ namespace AlibabaCloud
public:
struct DetailInfo
{
struct Column
{
std::string columnId;
std::string columnName;
std::string columnType;
std::string description;
std::string position;
bool autoIncrement;
long dataLength;
int dataScale;
int dataPrecision;
bool nullable;
};
struct Index
{
std::string indexName;
@@ -55,6 +42,19 @@ namespace AlibabaCloud
bool unique;
std::string indexType;
};
struct Column
{
std::string columnId;
std::string columnName;
std::string description;
std::string columnType;
std::string position;
bool autoIncrement;
int dataScale;
long dataLength;
int dataPrecision;
bool nullable;
};
std::vector<Column> columnList;
std::vector<Index> indexList;
};

View File

@@ -1,63 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETOPLOGREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETOPLOGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetOpLogRequest : public RpcServiceRequest
{
public:
GetOpLogRequest();
~GetOpLogRequest();
std::string getModule()const;
void setModule(const std::string& module);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
long getTid()const;
void setTid(long tid);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string module_;
std::string endTime_;
std::string startTime_;
long tid_;
int pageNumber_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETOPLOGREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETOPLOGREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETOPLOGREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetOpLogRequest : public RpcServiceRequest {
public:
GetOpLogRequest();
~GetOpLogRequest();
std::string getModule() const;
void setModule(const std::string &module);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
long getTid() const;
void setTid(long tid);
int getPageNumber() const;
void setPageNumber(int pageNumber);
int getPageSize() const;
void setPageSize(int pageSize);
private:
std::string module_;
std::string endTime_;
std::string startTime_;
long tid_;
int pageNumber_;
int pageSize_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETOPLOGREQUEST_H_

View File

@@ -38,8 +38,8 @@ namespace AlibabaCloud
std::string database;
std::string opContent;
std::string userNick;
long orderId;
std::string module;
long orderId;
std::string opTime;
};

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETORDERBASEINFOREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETORDERBASEINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetOrderBaseInfoRequest : public RpcServiceRequest
{
public:
GetOrderBaseInfoRequest();
~GetOrderBaseInfoRequest();
long getOrderId()const;
void setOrderId(long orderId);
long getTid()const;
void setTid(long tid);
private:
long orderId_;
long tid_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETORDERBASEINFOREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETORDERBASEINFOREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETORDERBASEINFOREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetOrderBaseInfoRequest : public RpcServiceRequest {
public:
GetOrderBaseInfoRequest();
~GetOrderBaseInfoRequest();
long getOrderId() const;
void setOrderId(long orderId);
long getTid() const;
void setTid(long tid);
private:
long orderId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETORDERBASEINFOREQUEST_H_

View File

@@ -36,14 +36,14 @@ namespace AlibabaCloud
{
std::string comment;
std::string createTime;
long orderId;
std::string lastModifyTime;
std::string pluginType;
std::string statusCode;
long orderId;
long committerId;
std::string statusCode;
std::string pluginType;
std::vector<std::string> relatedUserNickList;
std::string statusDesc;
std::string workflowStatusDesc;
std::string statusDesc;
long workflowInstanceId;
std::string committer;
std::vector<std::string> relatedUserList;

View File

@@ -1,51 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETOWNERAPPLYORDERDETAILREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETOWNERAPPLYORDERDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetOwnerApplyOrderDetailRequest : public RpcServiceRequest
{
public:
GetOwnerApplyOrderDetailRequest();
~GetOwnerApplyOrderDetailRequest();
long getOrderId()const;
void setOrderId(long orderId);
long getTid()const;
void setTid(long tid);
private:
long orderId_;
long tid_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETOWNERAPPLYORDERDETAILREQUEST_H_
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETOWNERAPPLYORDERDETAILREQUEST_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETOWNERAPPLYORDERDETAILREQUEST_H_
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dms_enterprise {
namespace Model {
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetOwnerApplyOrderDetailRequest : public RpcServiceRequest {
public:
GetOwnerApplyOrderDetailRequest();
~GetOwnerApplyOrderDetailRequest();
long getOrderId() const;
void setOrderId(long orderId);
long getTid() const;
void setTid(long tid);
private:
long orderId_;
long tid_;
};
} // namespace Model
} // namespace Dms_enterprise
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETOWNERAPPLYORDERDETAILREQUEST_H_

View File

@@ -41,8 +41,8 @@ namespace AlibabaCloud
std::string tableName;
std::string searchName;
std::vector<std::string> ownerNickNames;
std::string envType;
std::string dbType;
std::string envType;
std::vector<std::string> ownerIds;
};
ResourceDetail resourceDetail;

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