Skip to content

Commit 18687c9

Browse files
committed
Supported Pageable of ListDataLakeDatabase API.
1 parent 5416b57 commit 18687c9

File tree

156 files changed

+10683
-60
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+10683
-60
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.36.2027
1+
1.36.2028

dms-enterprise/CMakeLists.txt

+128
Large diffs are not rendered by default.

dms-enterprise/include/alibabacloud/dms-enterprise/Dms_enterpriseClient.h

+256
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDAUTHORITYTEMPLATEITEMSREQUEST_H_
18+
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDAUTHORITYTEMPLATEITEMSREQUEST_H_
19+
20+
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace Dms_enterprise {
28+
namespace Model {
29+
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT AddAuthorityTemplateItemsRequest : public RpcServiceRequest {
30+
public:
31+
struct Items {
32+
int instanceId;
33+
int dbId;
34+
std::string string;
35+
std::vector<std::string> permissionTypes;
36+
std::string tableName;
37+
std::string resourceType;
38+
};
39+
AddAuthorityTemplateItemsRequest();
40+
~AddAuthorityTemplateItemsRequest();
41+
long getTid() const;
42+
void setTid(long tid);
43+
long getTemplateId() const;
44+
void setTemplateId(long templateId);
45+
std::vector<Items> getItems() const;
46+
void setItems(const std::vector<Items> &items);
47+
48+
private:
49+
long tid_;
50+
long templateId_;
51+
std::vector<Items> items_;
52+
};
53+
} // namespace Model
54+
} // namespace Dms_enterprise
55+
} // namespace AlibabaCloud
56+
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDAUTHORITYTEMPLATEITEMSREQUEST_H_
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDAUTHORITYTEMPLATEITEMSRESULT_H_
18+
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDAUTHORITYTEMPLATEITEMSRESULT_H_
19+
20+
#include <string>
21+
#include <vector>
22+
#include <utility>
23+
#include <alibabacloud/core/ServiceResult.h>
24+
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
25+
26+
namespace AlibabaCloud
27+
{
28+
namespace Dms_enterprise
29+
{
30+
namespace Model
31+
{
32+
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT AddAuthorityTemplateItemsResult : public ServiceResult
33+
{
34+
public:
35+
36+
37+
AddAuthorityTemplateItemsResult();
38+
explicit AddAuthorityTemplateItemsResult(const std::string &payload);
39+
~AddAuthorityTemplateItemsResult();
40+
bool getData()const;
41+
std::string getErrorCode()const;
42+
std::string getErrorMessage()const;
43+
bool getSuccess()const;
44+
45+
protected:
46+
void parse(const std::string &payload);
47+
private:
48+
bool data_;
49+
std::string errorCode_;
50+
std::string errorMessage_;
51+
bool success_;
52+
53+
};
54+
}
55+
}
56+
}
57+
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDAUTHORITYTEMPLATEITEMSRESULT_H_
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDINSTANCEREQUEST_H_
18+
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDINSTANCEREQUEST_H_
19+
20+
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace Dms_enterprise {
28+
namespace Model {
29+
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT AddInstanceRequest : public RpcServiceRequest {
30+
public:
31+
AddInstanceRequest();
32+
~AddInstanceRequest();
33+
std::string getEcsRegion() const;
34+
void setEcsRegion(const std::string &ecsRegion);
35+
std::string getNetworkType() const;
36+
void setNetworkType(const std::string &networkType);
37+
long getTid() const;
38+
void setTid(long tid);
39+
int getUseSsl() const;
40+
void setUseSsl(int useSsl);
41+
std::string getEnableSellCommon() const;
42+
void setEnableSellCommon(const std::string &enableSellCommon);
43+
std::string getEnableSellSitd() const;
44+
void setEnableSellSitd(const std::string &enableSellSitd);
45+
std::string getInstanceSource() const;
46+
void setInstanceSource(const std::string &instanceSource);
47+
std::string getEnvType() const;
48+
void setEnvType(const std::string &envType);
49+
std::string getHost() const;
50+
void setHost(const std::string &host);
51+
int getQueryTimeout() const;
52+
void setQueryTimeout(int queryTimeout);
53+
std::string getEcsInstanceId() const;
54+
void setEcsInstanceId(const std::string &ecsInstanceId);
55+
int getExportTimeout() const;
56+
void setExportTimeout(int exportTimeout);
57+
long getTemplateId() const;
58+
void setTemplateId(long templateId);
59+
std::string getEnableSellTrust() const;
60+
void setEnableSellTrust(const std::string &enableSellTrust);
61+
int getPort() const;
62+
void setPort(int port);
63+
std::string getSafeRule() const;
64+
void setSafeRule(const std::string &safeRule);
65+
int getDdlOnline() const;
66+
void setDdlOnline(int ddlOnline);
67+
int getUseDsql() const;
68+
void setUseDsql(int useDsql);
69+
std::string getEnableSellStable() const;
70+
void setEnableSellStable(const std::string &enableSellStable);
71+
std::string getSid() const;
72+
void setSid(const std::string &sid);
73+
long getDbaId() const;
74+
void setDbaId(long dbaId);
75+
std::string getDataLinkName() const;
76+
void setDataLinkName(const std::string &dataLinkName);
77+
std::string getTemplateType() const;
78+
void setTemplateType(const std::string &templateType);
79+
std::string getInstanceType() const;
80+
void setInstanceType(const std::string &instanceType);
81+
std::string getDatabasePassword() const;
82+
void setDatabasePassword(const std::string &databasePassword);
83+
std::string getInstanceAlias() const;
84+
void setInstanceAlias(const std::string &instanceAlias);
85+
std::string getDatabaseUser() const;
86+
void setDatabaseUser(const std::string &databaseUser);
87+
std::string getVpcId() const;
88+
void setVpcId(const std::string &vpcId);
89+
bool getSkipTest() const;
90+
void setSkipTest(bool skipTest);
91+
92+
private:
93+
std::string ecsRegion_;
94+
std::string networkType_;
95+
long tid_;
96+
int useSsl_;
97+
std::string enableSellCommon_;
98+
std::string enableSellSitd_;
99+
std::string instanceSource_;
100+
std::string envType_;
101+
std::string host_;
102+
int queryTimeout_;
103+
std::string ecsInstanceId_;
104+
int exportTimeout_;
105+
long templateId_;
106+
std::string enableSellTrust_;
107+
int port_;
108+
std::string safeRule_;
109+
int ddlOnline_;
110+
int useDsql_;
111+
std::string enableSellStable_;
112+
std::string sid_;
113+
long dbaId_;
114+
std::string dataLinkName_;
115+
std::string templateType_;
116+
std::string instanceType_;
117+
std::string databasePassword_;
118+
std::string instanceAlias_;
119+
std::string databaseUser_;
120+
std::string vpcId_;
121+
bool skipTest_;
122+
};
123+
} // namespace Model
124+
} // namespace Dms_enterprise
125+
} // namespace AlibabaCloud
126+
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDINSTANCEREQUEST_H_
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDINSTANCERESULT_H_
18+
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDINSTANCERESULT_H_
19+
20+
#include <string>
21+
#include <vector>
22+
#include <utility>
23+
#include <alibabacloud/core/ServiceResult.h>
24+
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
25+
26+
namespace AlibabaCloud
27+
{
28+
namespace Dms_enterprise
29+
{
30+
namespace Model
31+
{
32+
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT AddInstanceResult : public ServiceResult
33+
{
34+
public:
35+
36+
37+
AddInstanceResult();
38+
explicit AddInstanceResult(const std::string &payload);
39+
~AddInstanceResult();
40+
std::string getErrorCode()const;
41+
std::string getErrorMessage()const;
42+
bool getSuccess()const;
43+
44+
protected:
45+
void parse(const std::string &payload);
46+
private:
47+
std::string errorCode_;
48+
std::string errorMessage_;
49+
bool success_;
50+
51+
};
52+
}
53+
}
54+
}
55+
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_ADDINSTANCERESULT_H_

dms-enterprise/include/alibabacloud/dms-enterprise/model/ApproveOrderRequest.h

+6
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,14 @@ class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ApproveOrderRequest : public RpcService
4242
void setApprovalNodeId(long approvalNodeId);
4343
long getOldApprover() const;
4444
void setOldApprover(long oldApprover);
45+
std::string getRealLoginUserUid() const;
46+
void setRealLoginUserUid(const std::string &realLoginUserUid);
4547
std::string getComment() const;
4648
void setComment(const std::string &comment);
4749
std::string getApprovalNodePos() const;
4850
void setApprovalNodePos(const std::string &approvalNodePos);
51+
std::string getNewApproverList() const;
52+
void setNewApproverList(const std::string &newApproverList);
4953

5054
private:
5155
long tid_;
@@ -54,8 +58,10 @@ class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT ApproveOrderRequest : public RpcService
5458
long newApprover_;
5559
long approvalNodeId_;
5660
long oldApprover_;
61+
std::string realLoginUserUid_;
5762
std::string comment_;
5863
std::string approvalNodePos_;
64+
std::string newApproverList_;
5965
};
6066
} // namespace Model
6167
} // namespace Dms_enterprise
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEABACAUTHORIZATIONREQUEST_H_
18+
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEABACAUTHORIZATIONREQUEST_H_
19+
20+
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace Dms_enterprise {
28+
namespace Model {
29+
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CreateAbacAuthorizationRequest : public RpcServiceRequest {
30+
public:
31+
CreateAbacAuthorizationRequest();
32+
~CreateAbacAuthorizationRequest();
33+
long getRoleId() const;
34+
void setRoleId(long roleId);
35+
long getUserId() const;
36+
void setUserId(long userId);
37+
long getTid() const;
38+
void setTid(long tid);
39+
long getPolicyId() const;
40+
void setPolicyId(long policyId);
41+
std::string getIdentityType() const;
42+
void setIdentityType(const std::string &identityType);
43+
44+
private:
45+
long roleId_;
46+
long userId_;
47+
long tid_;
48+
long policyId_;
49+
std::string identityType_;
50+
};
51+
} // namespace Model
52+
} // namespace Dms_enterprise
53+
} // namespace AlibabaCloud
54+
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CREATEABACAUTHORIZATIONREQUEST_H_

0 commit comments

Comments
 (0)