Compare commits
53 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0781ea0be4 | ||
|
|
07fbfc619a | ||
|
|
d9f10d6933 | ||
|
|
34e1a5148b | ||
|
|
e471f55ca6 | ||
|
|
a8e2a1e669 | ||
|
|
76dd650cd7 | ||
|
|
1e36d3c54a | ||
|
|
7e1ad53873 | ||
|
|
2a9964c2e6 | ||
|
|
ead60705b2 | ||
|
|
8d71c5ae93 | ||
|
|
511ff425d7 | ||
|
|
679b7805c4 | ||
|
|
f5e0e639e1 | ||
|
|
06a2eda1da | ||
|
|
6462c32f5f | ||
|
|
3550cece5c | ||
|
|
755c0bdc5d | ||
|
|
175996b239 | ||
|
|
895d40a767 | ||
|
|
3a1833173e | ||
|
|
e8d24adda6 | ||
|
|
9bad4d5db8 | ||
|
|
c94e372ec7 | ||
|
|
90f78851fa | ||
|
|
e73100b250 | ||
|
|
3e1cf87389 | ||
|
|
f76987f991 | ||
|
|
5bdc3d7027 | ||
|
|
099e528d4d | ||
|
|
3da02ee896 | ||
|
|
f16c54ae8c | ||
|
|
5c2cfdcad8 | ||
|
|
5400fc5e09 | ||
|
|
059ea89535 | ||
|
|
55ccde8b7c | ||
|
|
a25fc9202a | ||
|
|
d499a02ffc | ||
|
|
d1a9328f7e | ||
|
|
54d2d73410 | ||
|
|
80e1de8211 | ||
|
|
08230d3328 | ||
|
|
517de0ab21 | ||
|
|
c1cb2b567a | ||
|
|
76073f9272 | ||
|
|
fd462547f3 | ||
|
|
5c65a87e3a | ||
|
|
acd143c294 | ||
|
|
ec00b5d969 | ||
|
|
18e5c75e02 | ||
|
|
0db2a87588 | ||
|
|
973d0d3250 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -12,3 +12,5 @@ test/httpserver/node_modules
|
||||
test/httpserver/package-lock.json
|
||||
test/httpserver/nohup.out
|
||||
.idea
|
||||
build/
|
||||
cmake-build-debug/
|
||||
|
||||
161
CHANGELOG
161
CHANGELOG
@@ -1,3 +1,164 @@
|
||||
2020-01-03 Version 1.36.232
|
||||
- Add GWS serie apis.
|
||||
- Add QueryReport.
|
||||
- Fix ListJobs.
|
||||
- Etc.
|
||||
|
||||
2020-01-03 Version 1.36.231
|
||||
- New API DescribeAvailableResource.
|
||||
|
||||
2020-01-03 Version 1.36.230
|
||||
- ImmediateDelete.
|
||||
- DescribeInstance CreateTimeUTC ExpireTimeUTC.
|
||||
- DescribeInstances CreateTimeUTC ExpireTimeUTC.
|
||||
- DescribeIpWhitelist Groups GroupName.
|
||||
|
||||
2019-12-31 Version 1.36.229
|
||||
- Supported SQL SERVER support delete backup set according to time range.
|
||||
|
||||
2019-12-31 Version 1.36.228
|
||||
- Support asymmetric keys.
|
||||
|
||||
2019-12-31 Version 1.36.227
|
||||
- Add request parameter groupType for OnsGroupCreate.
|
||||
|
||||
2019-12-31 Version 1.36.226
|
||||
- Supported image for process.
|
||||
|
||||
2019-12-31 Version 1.36.225
|
||||
- Generated 2019-09-28 for `reid`.
|
||||
|
||||
2019-12-31 Version 1.36.224
|
||||
- Support DeleteDBCluster.
|
||||
- Support ModifyDBCluster.
|
||||
- Support DescribeAvailableResource.
|
||||
|
||||
2019-12-27 Version 1.36.223
|
||||
- Update DescribeTrails Response.
|
||||
|
||||
2019-12-26 Version 1.36.222
|
||||
- NlpAutoml add async api.
|
||||
|
||||
2019-12-26 Version 1.36.221
|
||||
- Modify CreateRestoreTask.
|
||||
|
||||
2019-12-20 Version 1.36.220
|
||||
- Supported Search stream predict task list use modelId for IVISION.
|
||||
|
||||
2019-12-20 Version 1.36.219
|
||||
- Add result value for OnsConsumerStatus.
|
||||
|
||||
2019-12-19 Version 1.36.218
|
||||
- Add DescribeSlowLogRecords,DescribeSlowLogs for SlowLog.
|
||||
|
||||
2019-12-19 Version 1.36.217
|
||||
- Generated 2019-09-28 for `reid`.
|
||||
|
||||
2019-12-19 Version 1.36.216
|
||||
- DescribeNetworkInterfaces Supports NextToken.
|
||||
|
||||
2019-12-16 Version 1.36.215
|
||||
- DescribeTransferDomains add query param, TargetUserId, FromUserId, DomainName.
|
||||
|
||||
2019-12-14 Version 1.36.214
|
||||
- Generated 2015-01-01 for `R-kvstore`.
|
||||
|
||||
2019-12-14 Version 1.36.213
|
||||
- Update DescribeAvailableResource.
|
||||
|
||||
2019-12-14 Version 1.36.212
|
||||
- Update DescribeAvailableResource.
|
||||
|
||||
2019-12-12 Version 1.36.211
|
||||
- Generated 2019-06-10 for `et-industry-openapi`.
|
||||
|
||||
2019-12-11 Version 1.36.210
|
||||
- Supported Sync predict for Image.
|
||||
- Supported Set Frame Frequency for Stream Predict.
|
||||
- Fixed Errore Code For APIs.
|
||||
|
||||
2019-12-11 Version 1.36.209
|
||||
- Add tag API.
|
||||
- Add group process monitoring API.
|
||||
- Add API for batch setting alarm rules.
|
||||
|
||||
2019-12-05 Version 1.36.208
|
||||
- Add api QueryMetric.
|
||||
|
||||
2019-12-04 Version 1.36.207
|
||||
- Generated 2019-01-01 for `HBase`.
|
||||
|
||||
2019-12-04 Version 1.36.206
|
||||
- Supported ModifyDBInstanceSpec for Direction param.
|
||||
|
||||
2019-12-02 Version 1.36.205
|
||||
- Remove QuerySmsProdStatus OpenAPI.
|
||||
|
||||
2019-11-29 Version 1.36.204
|
||||
- Add RenewInstance.
|
||||
- Add RenewLogstash.
|
||||
- Add UpdateInstanceChargeType.
|
||||
- Add UpdateLogstashChargeType.
|
||||
|
||||
2019-11-28 Version 1.36.203
|
||||
- Supported API GetTxtRecordForVerify.
|
||||
- Supported API RetrieveDomain.
|
||||
|
||||
2019-11-28 Version 1.36.202
|
||||
- Supported dash for compress.
|
||||
|
||||
2019-11-28 Version 1.36.201
|
||||
- Eni Supports Multi-SecurityGroup.
|
||||
|
||||
2019-11-27 Version 1.36.200
|
||||
- CreateReplicationJob API supports the specified instance type.
|
||||
|
||||
2019-11-26 Version 1.36.199
|
||||
- Modify QueryBill, add SubOrderId in item of response.
|
||||
|
||||
2019-11-26 Version 1.36.198
|
||||
- Supported API BindInstanceDomains.
|
||||
- Supported API UnbindInstanceDomains.
|
||||
- Supported API AddCustomLine.
|
||||
- Supported API UpdateCustomLine.
|
||||
- Supported API DeleteCustomLines.
|
||||
- Supported API DescribeCustomLine.
|
||||
- Supported API DescribeCustomLines.
|
||||
|
||||
2019-11-25 Version 1.36.197
|
||||
- Generated 2019-10-30 for `aliyuncvc`.
|
||||
|
||||
2019-11-25 Version 1.36.196
|
||||
- One or more people can be subscribed when creating tasks.
|
||||
|
||||
2019-11-21 Version 1.36.195
|
||||
- Add ConvertPayType.
|
||||
- Add ConvertLogstashPayType.
|
||||
|
||||
2019-11-21 Version 1.36.194
|
||||
- Generated 2017-10-11 for `Chatbot`.
|
||||
|
||||
2019-11-21 Version 1.36.193
|
||||
- Generated 2017-10-11 for `Chatbot`.
|
||||
|
||||
2019-11-21 Version 1.36.192
|
||||
- Generated 2019-10-30 for `aliyuncvc`.
|
||||
|
||||
2019-11-20 Version 1.36.191
|
||||
- Update Nlp Automl SDK.
|
||||
|
||||
2019-11-20 Version 1.36.190
|
||||
- Add new OpenAPI.
|
||||
|
||||
2019-11-20 Version 1.36.189
|
||||
- Add new pop api.
|
||||
|
||||
2019-11-20 Version 1.36.188
|
||||
- Generated 2014-05-26 for `Ecs`.
|
||||
|
||||
2019-11-20 Version 1.36.187
|
||||
- Generated 2018-04-12 for `EHPC`.
|
||||
|
||||
2019-11-20 Version 1.36.186
|
||||
- Supported ecsDemand CreateDemand, ModifyDemand, DeleteDemand API.
|
||||
- Modify ecsDemand DescribesDemands API.
|
||||
|
||||
@@ -65,7 +65,6 @@ add_subdirectory(teslamaxcompute)
|
||||
add_subdirectory(push)
|
||||
add_subdirectory(csb)
|
||||
add_subdirectory(domain)
|
||||
add_subdirectory(green)
|
||||
add_subdirectory(hsm)
|
||||
add_subdirectory(dcdn)
|
||||
add_subdirectory(pvtz)
|
||||
@@ -98,30 +97,30 @@ add_subdirectory(cr)
|
||||
add_subdirectory(openanalytics)
|
||||
add_subdirectory(snsuapi)
|
||||
add_subdirectory(ubsms)
|
||||
add_subdirectory(yundun)
|
||||
add_subdirectory(arms4finance)
|
||||
add_subdirectory(imagesearch)
|
||||
add_subdirectory(cas)
|
||||
add_subdirectory(cloudwf)
|
||||
add_subdirectory(alidns)
|
||||
add_subdirectory(yundun)
|
||||
add_subdirectory(arms4finance)
|
||||
add_subdirectory(imagesearch)
|
||||
add_subdirectory(cas)
|
||||
add_subdirectory(cloudwf)
|
||||
add_subdirectory(alidns)
|
||||
add_subdirectory(httpdns)
|
||||
|
||||
add_subdirectory(crm)
|
||||
add_subdirectory(kms)
|
||||
add_subdirectory(sas-api)
|
||||
add_subdirectory(jarvis-public)
|
||||
add_subdirectory(mts)
|
||||
add_subdirectory(dysmsapi)
|
||||
add_subdirectory(ons)
|
||||
add_subdirectory(ivision)
|
||||
add_subdirectory(imm)
|
||||
|
||||
add_subdirectory(crm)
|
||||
add_subdirectory(kms)
|
||||
add_subdirectory(sas-api)
|
||||
add_subdirectory(jarvis-public)
|
||||
add_subdirectory(mts)
|
||||
add_subdirectory(dysmsapi)
|
||||
add_subdirectory(ons)
|
||||
add_subdirectory(ivision)
|
||||
add_subdirectory(imm)
|
||||
add_subdirectory(bssopenapi)
|
||||
|
||||
|
||||
add_subdirectory(sas)
|
||||
|
||||
add_subdirectory(dbs)
|
||||
add_subdirectory(r-kvstore)
|
||||
add_subdirectory(dds)
|
||||
add_subdirectory(yundun-ds)
|
||||
add_subdirectory(trademark)
|
||||
|
||||
add_subdirectory(dbs)
|
||||
add_subdirectory(r-kvstore)
|
||||
add_subdirectory(dds)
|
||||
add_subdirectory(yundun-ds)
|
||||
add_subdirectory(trademark)
|
||||
add_subdirectory(sddp)
|
||||
132
README-CN.md
132
README-CN.md
@@ -1,6 +1,5 @@
|
||||
[English](./README.md) | 简体中文
|
||||
|
||||
|
||||
<p align="center">
|
||||
<a href="https://www.alibabacloud.com"><img src="https://aliyunsdk-pages.alicdn.com/icons/Aliyun.svg"></a>
|
||||
</p>
|
||||
@@ -12,12 +11,10 @@
|
||||
<a href="https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk"><img src="https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk/branch/master/graph/badge.svg" alt="codecov"></a>
|
||||
</p>
|
||||
|
||||
|
||||
Alibaba Cloud SDK for C++ 让您不用复杂编程即可访问云服务器、负载均衡、云监控等阿里云服务。这里向您介绍如何获取 Alibaba Cloud SDK for C++ 并开始调用。
|
||||
|
||||
如果您在使用的过程中遇到任何问题,欢迎前往[阿里云SDK问答社区](https://yq.aliyun.com/tags/type_ask-tagid_23350)提问,提问前请阅读[提问引导](https://help.aliyun.com/document_detail/93957.html)。亦可在当前 GitHub [提交 Issues](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new)。
|
||||
|
||||
|
||||
## 环境要求
|
||||
|
||||
在使用 Alibaba Cloud SDK for C++ 前,确保您已经:
|
||||
@@ -29,93 +26,89 @@ Alibaba Cloud SDK for C++ 让您不用复杂编程即可访问云服务器、负
|
||||
* 开通了云产品服务。有些云产品如对象存储(OSS)需要先在[阿里云控制台](https://home.console.aliyun.com)开通服务。
|
||||
|
||||
* 安装支持 C++ 11 或更高版本的编译器:
|
||||
* Windows: Visual Studio 2015 或以上版本
|
||||
* Linux: GCC 4.9 或以上版本
|
||||
* Windows: Visual Studio 2015 或以上版本
|
||||
* Linux: GCC 4.9 或以上版本
|
||||
|
||||
* 安装 CMake 3.0 或以上版本
|
||||
* 建议 4G 或以上内存
|
||||
|
||||
## 安装 (从源代码构建)
|
||||
|
||||
1. 从 GitHub 下载或 Git 克隆 [aliyun-openapi-cpp-sdk](https://github.com/aliyun/aliyun-openapi-cpp-sdk)
|
||||
|
||||
* 直接下载 https://github.com/aliyun/aliyun-openapi-cpp-sdk/archive/master.zip
|
||||
* 使用 Git 命令获取
|
||||
|
||||
```
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
|
||||
2. 创建生成必要的构建文件
|
||||
|
||||
```bash
|
||||
cd <path/to/aliyun-openapi-cpp-sdk>
|
||||
mkdir sdk_build
|
||||
cd sdk_build
|
||||
cmake ..
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
要在 Linux 平台进行编译, 您必须安装依赖的外部库文件 libcurl、libopenssl、libuuid、libjsoncpp, 通常情况下,系统的包管理器中的会有提供。
|
||||
1. 要在 Linux 平台进行编译, 您必须安装依赖的外部库文件 libcurl、libopenssl、libuuid、libjsoncpp, 通常情况下,系统的包管理器中的会有提供。
|
||||
|
||||
例如:在基于 Redhat / Fedora 的系统上安装这些软件包
|
||||
* 例如:在基于 Redhat / Fedora 的系统上安装这些软件包
|
||||
|
||||
```bash
|
||||
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
|
||||
```
|
||||
|
||||
在基于 Debian/Ubuntu 的系统
|
||||
* 在基于 Debian/Ubuntu 的系统
|
||||
|
||||
```bash
|
||||
sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev libjsoncpp-dev
|
||||
```
|
||||
|
||||
在安装依赖库后执行以下命令编译并安装:
|
||||
|
||||
手动编译安装
|
||||
```bash
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
mkdir sdk_build
|
||||
cd sdk_build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
make
|
||||
sudo make install
|
||||
```
|
||||
|
||||
或者通过 `easyinstall.sh`一键式安装
|
||||
2. 执行以下命令,从 Github 克隆源码
|
||||
|
||||
```bash
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
sudo sh easyinstall.sh
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
|
||||
**Alibaba Cloud SDK for C++ 将被安装在 `/usr`.**
|
||||
3. 编译安装
|
||||
|
||||
* 手动编译安装
|
||||
|
||||
```bash
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
mkdir sdk_build
|
||||
cd sdk_build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
make
|
||||
sudo make install
|
||||
```
|
||||
|
||||
* 或者通过 `easyinstall.sh`一键式安装
|
||||
|
||||
```bash
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
sudo sh easyinstall.sh
|
||||
```
|
||||
|
||||
**Alibaba Cloud SDK for C++ 将被安装在 `/usr` .**
|
||||
|
||||
### Windows
|
||||
|
||||
通过 cmake 生成 Visual Studio 解决方案:
|
||||
1. 安装 [perl](https://www.perl.org/get.html#win32)
|
||||
|
||||
在 aliyun-openapi-cpp-sdk 下创建 sdk_build 目录
|
||||
2. 使用 git-bash 执行以下命令,从 Github 克隆源码
|
||||
|
||||
打开 cmake-ui 选择源代码目录和构建目录,点击 `配置(configure)` 和 `生成(generate)` 构建 VS 解决方案。
|
||||
```bash
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
|
||||
进入 sdk_build 目录使用 Visual Studio 打开 alibabacloud-sdk.sln 解决方案。
|
||||
3. 使用 Visual Studio 进行编译:
|
||||
|
||||
选择构建 `Release` 输出,并打开配置管理器勾选 `INSTALL`。
|
||||
* 在 aliyun-openapi-cpp-sdk 下创建 `sdk_build` 目录
|
||||
* 打开 cmake-gui , 然后进行以下操作
|
||||
* 选择 `Browse Source` 为 `源代码目录(aliyun-openapi-cpp-sdk)`
|
||||
* 选择 `Browse build` 为 `构建目录(sdk_build)`
|
||||
* 点击 `configure`
|
||||
* 点击 `generate`, 构建 VS 解决方案。
|
||||
|
||||
构建 -> 生成解决方案。
|
||||
4. 编译安装 C++ SDK
|
||||
|
||||
或者您也可以使用 VS 的开发人员命令提示符,执行以下命令编译并安装:
|
||||
|
||||
```
|
||||
msbuild ALL_BUILD.vcxproj
|
||||
msbuild INSTALL.vcxproj
|
||||
```
|
||||
* 进入 sdk_build 目录,使用 Visual Studio 打开 alibabacloud-sdk.sln 解决方案
|
||||
* 选择构建 `Release` 输出
|
||||
* 并打开配置管理器勾选 `INSTALL`
|
||||
* 构建 -> 生成解决方案
|
||||
|
||||
**Alibaba Cloud SDK for C++ 将安装在 `C:\Program File (x86)\alibabacloud-sdk` 目录**
|
||||
|
||||
**注意:请以管理员身份运行 Visual Studio,否则无法安装 SDK**
|
||||
**注意:请以管理员身份运行 Visual Studio 和 cmake-gui,否则无法安装 SDK**
|
||||
|
||||
---
|
||||
|
||||
## 快速使用
|
||||
|
||||
@@ -125,7 +118,7 @@ msbuild INSTALL.vcxproj
|
||||
|
||||
> **说明:** 您需要替换示例中的 your-region-id、your-access-key-id 和 your-access-key-secret 的值。
|
||||
|
||||
```
|
||||
```cpp
|
||||
#include <iostream>
|
||||
#include <alibabacloud/core/AlibabaCloud.h>
|
||||
#include <alibabacloud/ecs/EcsClient.h>
|
||||
@@ -176,23 +169,19 @@ Linux 下
|
||||
|
||||
CPP SDK 使用 libcurl 作为底层 HTTP 传输库。
|
||||
|
||||
- 下面两个参数用来传递超时参数到 libcurl。
|
||||
* 下面两个参数用来传递超时参数到 libcurl。
|
||||
* `connectTimeout`: 连接超时设置。 [参考](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html).
|
||||
* `readTimeout`: 传输超时设置。[参考](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT_MS.html)
|
||||
|
||||
- `connectTimeout`: 连接超时设置。 [参考](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html).
|
||||
* 默认值
|
||||
* connectTimeout: 5000ms
|
||||
* readTimeout: 10000ms
|
||||
|
||||
- `readTimeout`: 传输超时设置。[参考](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT_MS.html)
|
||||
* 可以在创建 Client 或者发 Requst 设置超时参数。
|
||||
|
||||
- 默认值
|
||||
* Requst 设置优先级高于 Client 设置。
|
||||
|
||||
- connectTimeout: 5000ms
|
||||
|
||||
- readTimeout: 10000ms
|
||||
|
||||
- 可以在创建 Client 或者发 Requst 设置超时参数。
|
||||
|
||||
- Requst 设置优先级高于 Client 设置。
|
||||
|
||||
- 输入 0 或者 -1 到 `setConnectTimeout` 和 `setReadTimeout` 可以禁用此功能。
|
||||
* 输入 0 或者 -1 到 `setConnectTimeout` 和 `setReadTimeout` 可以禁用此功能。
|
||||
|
||||
下面代码是设置超时参数的例子,由于 Request 优先级高于 Client,所以最终 `ConnectTimeout` 为 `1000ms`, `readTimeout` 为 `6000ms`。
|
||||
|
||||
@@ -240,19 +229,24 @@ int main(int argc, char** argv) {
|
||||
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
**更多 [例程](https://github.com/aliyun/aliyun-openapi-cpp-sdk/tree/master/examples)**
|
||||
|
||||
## 问题
|
||||
|
||||
[提交 Issue](https://github.com/aliyun/aliyun-openapi-cpp-sdk/issues/new/choose), 不符合指南的问题可能会立即关闭。
|
||||
|
||||
## 发行说明
|
||||
|
||||
每个版本的详细更改记录在[发行说明](CHANGELOG)中。
|
||||
|
||||
## 贡献
|
||||
|
||||
提交 Pull Request 之前请阅读[贡献指南](CONTRIBUTING.md)。
|
||||
|
||||
## 许可证
|
||||
|
||||
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
||||
|
||||
版权所有 1999-2019 阿里巴巴集团
|
||||
|
||||
69
README.md
69
README.md
@@ -1,6 +1,5 @@
|
||||
English | [简体中文](./README-CN.md)
|
||||
|
||||
|
||||
<p align="center">
|
||||
<a href="https://www.alibabacloud.com"><img src="https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg"></a>
|
||||
</p>
|
||||
@@ -12,7 +11,6 @@ English | [简体中文](./README-CN.md)
|
||||
<a href="https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk"><img src="https://codecov.io/gh/aliyun/aliyun-openapi-cpp-sdk/branch/master/graph/badge.svg" alt="codecov"></a>
|
||||
</p>
|
||||
|
||||
|
||||
Alibaba Cloud SDK for C++ allows you to access Alibaba Cloud services such as Elastic Compute Service (ECS), Server Load Balancer (SLB), and CloudMonitor. You can access Alibaba Cloud services without the need to handle API related tasks, such as signing and constructing your requests.
|
||||
|
||||
This document introduces how to obtain and call this SDK.
|
||||
@@ -41,39 +39,43 @@ If you have any problem while using Alibaba Cloud SDK for C++, please submit an
|
||||
|
||||
1. Install third-party libraries on the Linux platform, including `libcurl`, `libopenssl`, `libuuid`, and `libjsoncpp`.
|
||||
|
||||
- Run the following commands on the `Redhat/Fedora` system
|
||||
```
|
||||
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
|
||||
```
|
||||
- Run the following commands on the `Debian/Ubuntu` system
|
||||
```
|
||||
sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev libjsoncpp-dev
|
||||
```
|
||||
- Run the following commands on the `Redhat/Fedora` system
|
||||
|
||||
```bash
|
||||
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
|
||||
```
|
||||
|
||||
- Run the following commands on the `Debian/Ubuntu` system
|
||||
|
||||
```bash
|
||||
sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev libjsoncpp-dev
|
||||
```
|
||||
|
||||
2. Run the following commands to clone source codes from GitHub.
|
||||
|
||||
```bash
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
```bash
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
|
||||
3. Build and install SDK
|
||||
|
||||
- Manually build and install
|
||||
- Manually build and install
|
||||
|
||||
```bash
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
mkdir sdk_build
|
||||
cd sdk_build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
make
|
||||
sudo make install
|
||||
```
|
||||
```bash
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
mkdir sdk_build
|
||||
cd sdk_build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
make
|
||||
sudo make install
|
||||
```
|
||||
|
||||
- Or you may do this with `easyinstall.sh` in the source directory
|
||||
- Or you may do this with `easyinstall.sh` in the source directory
|
||||
|
||||
```shell
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
sudo sh easyinstall.sh
|
||||
```
|
||||
```bash
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
sudo sh easyinstall.sh
|
||||
```
|
||||
|
||||
**The Alibaba Cloud SDK for C++ will be installed to `/usr`.**
|
||||
|
||||
@@ -83,11 +85,11 @@ If you have any problem while using Alibaba Cloud SDK for C++, please submit an
|
||||
|
||||
2. Run the following command to clone code from Github via git-bash:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
```bash
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
|
||||
2. Build Visual Studio solution
|
||||
3. Build Visual Studio solution
|
||||
|
||||
- Change directory to source code and make directory sdk_build
|
||||
|
||||
@@ -95,13 +97,13 @@ If you have any problem while using Alibaba Cloud SDK for C++, please submit an
|
||||
|
||||
- `Browse Source` to open source code directory.
|
||||
|
||||
- `Browse build` to open the created sdk_build directory
|
||||
- `Browse build` to open the created `sdk_build` directory
|
||||
|
||||
- `Configure`
|
||||
|
||||
- `Generate`
|
||||
|
||||
3. Build and Install C++ SDK
|
||||
4. Build and Install C++ SDK
|
||||
|
||||
- Open `aliyun-openapi-cpp-sdk\\sdk_build\\alibabacloud-sdk.sln` with Visual Studio
|
||||
|
||||
@@ -113,6 +115,7 @@ If you have any problem while using Alibaba Cloud SDK for C++, please submit an
|
||||
|
||||
**Alibaba Cloud SDK for C++ will be installed to `C:\Program File (x86)\alibabacloud-sdk`**
|
||||
|
||||
---
|
||||
|
||||
## Quick Examples
|
||||
|
||||
|
||||
@@ -29,14 +29,22 @@ set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/CreateDBClusterResult.h
|
||||
include/alibabacloud/adb/model/DeleteAccountRequest.h
|
||||
include/alibabacloud/adb/model/DeleteAccountResult.h
|
||||
include/alibabacloud/adb/model/DeleteDBClusterRequest.h
|
||||
include/alibabacloud/adb/model/DeleteDBClusterResult.h
|
||||
include/alibabacloud/adb/model/DescribeAccountsRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAccountsResult.h
|
||||
include/alibabacloud/adb/model/DescribeAllDataSourceRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAllDataSourceResult.h
|
||||
include/alibabacloud/adb/model/DescribeAutoRenewAttributeRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAutoRenewAttributeResult.h
|
||||
include/alibabacloud/adb/model/DescribeAvailableResourceRequest.h
|
||||
include/alibabacloud/adb/model/DescribeAvailableResourceResult.h
|
||||
include/alibabacloud/adb/model/DescribeBackupPolicyRequest.h
|
||||
include/alibabacloud/adb/model/DescribeBackupPolicyResult.h
|
||||
include/alibabacloud/adb/model/DescribeBackupsRequest.h
|
||||
include/alibabacloud/adb/model/DescribeBackupsResult.h
|
||||
include/alibabacloud/adb/model/DescribeColumnsRequest.h
|
||||
include/alibabacloud/adb/model/DescribeColumnsResult.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterAccessWhiteListRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterAccessWhiteListResult.h
|
||||
include/alibabacloud/adb/model/DescribeDBClusterAttributeRequest.h
|
||||
@@ -47,28 +55,50 @@ set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/DescribeDBClusterPerformanceResult.h
|
||||
include/alibabacloud/adb/model/DescribeDBClustersRequest.h
|
||||
include/alibabacloud/adb/model/DescribeDBClustersResult.h
|
||||
include/alibabacloud/adb/model/DescribeInclinedTablesRequest.h
|
||||
include/alibabacloud/adb/model/DescribeInclinedTablesResult.h
|
||||
include/alibabacloud/adb/model/DescribeLogStoreKeysRequest.h
|
||||
include/alibabacloud/adb/model/DescribeLogStoreKeysResult.h
|
||||
include/alibabacloud/adb/model/DescribeLoghubDetailRequest.h
|
||||
include/alibabacloud/adb/model/DescribeLoghubDetailResult.h
|
||||
include/alibabacloud/adb/model/DescribeOperatorPermissionRequest.h
|
||||
include/alibabacloud/adb/model/DescribeOperatorPermissionResult.h
|
||||
include/alibabacloud/adb/model/DescribeProcessListRequest.h
|
||||
include/alibabacloud/adb/model/DescribeProcessListResult.h
|
||||
include/alibabacloud/adb/model/DescribeRegionsRequest.h
|
||||
include/alibabacloud/adb/model/DescribeRegionsResult.h
|
||||
include/alibabacloud/adb/model/DescribeSchemasRequest.h
|
||||
include/alibabacloud/adb/model/DescribeSchemasResult.h
|
||||
include/alibabacloud/adb/model/DescribeSlowLogRecordsRequest.h
|
||||
include/alibabacloud/adb/model/DescribeSlowLogRecordsResult.h
|
||||
include/alibabacloud/adb/model/DescribeSlowLogTrendRequest.h
|
||||
include/alibabacloud/adb/model/DescribeSlowLogTrendResult.h
|
||||
include/alibabacloud/adb/model/DescribeTableDetailRequest.h
|
||||
include/alibabacloud/adb/model/DescribeTableDetailResult.h
|
||||
include/alibabacloud/adb/model/DescribeTablesRequest.h
|
||||
include/alibabacloud/adb/model/DescribeTablesResult.h
|
||||
include/alibabacloud/adb/model/GrantOperatorPermissionRequest.h
|
||||
include/alibabacloud/adb/model/GrantOperatorPermissionResult.h
|
||||
include/alibabacloud/adb/model/KillProcessRequest.h
|
||||
include/alibabacloud/adb/model/KillProcessResult.h
|
||||
include/alibabacloud/adb/model/ListTagResourcesRequest.h
|
||||
include/alibabacloud/adb/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/adb/model/ModifyAccountDescriptionRequest.h
|
||||
include/alibabacloud/adb/model/ModifyAccountDescriptionResult.h
|
||||
include/alibabacloud/adb/model/ModifyAutoRenewAttributeRequest.h
|
||||
include/alibabacloud/adb/model/ModifyAutoRenewAttributeResult.h
|
||||
include/alibabacloud/adb/model/ModifyBackupPolicyRequest.h
|
||||
include/alibabacloud/adb/model/ModifyBackupPolicyResult.h
|
||||
include/alibabacloud/adb/model/ModifyDBClusterRequest.h
|
||||
include/alibabacloud/adb/model/ModifyDBClusterResult.h
|
||||
include/alibabacloud/adb/model/ModifyDBClusterAccessWhiteListRequest.h
|
||||
include/alibabacloud/adb/model/ModifyDBClusterAccessWhiteListResult.h
|
||||
include/alibabacloud/adb/model/ModifyDBClusterDescriptionRequest.h
|
||||
include/alibabacloud/adb/model/ModifyDBClusterDescriptionResult.h
|
||||
include/alibabacloud/adb/model/ModifyDBClusterMaintainTimeRequest.h
|
||||
include/alibabacloud/adb/model/ModifyDBClusterMaintainTimeResult.h
|
||||
include/alibabacloud/adb/model/ModifyLogBackupPolicyRequest.h
|
||||
include/alibabacloud/adb/model/ModifyLogBackupPolicyResult.h
|
||||
include/alibabacloud/adb/model/ReleaseClusterPublicConnectionRequest.h
|
||||
include/alibabacloud/adb/model/ReleaseClusterPublicConnectionResult.h
|
||||
include/alibabacloud/adb/model/ResetAccountPasswordRequest.h
|
||||
@@ -90,14 +120,22 @@ set(adb_src
|
||||
src/model/CreateDBClusterResult.cc
|
||||
src/model/DeleteAccountRequest.cc
|
||||
src/model/DeleteAccountResult.cc
|
||||
src/model/DeleteDBClusterRequest.cc
|
||||
src/model/DeleteDBClusterResult.cc
|
||||
src/model/DescribeAccountsRequest.cc
|
||||
src/model/DescribeAccountsResult.cc
|
||||
src/model/DescribeAllDataSourceRequest.cc
|
||||
src/model/DescribeAllDataSourceResult.cc
|
||||
src/model/DescribeAutoRenewAttributeRequest.cc
|
||||
src/model/DescribeAutoRenewAttributeResult.cc
|
||||
src/model/DescribeAvailableResourceRequest.cc
|
||||
src/model/DescribeAvailableResourceResult.cc
|
||||
src/model/DescribeBackupPolicyRequest.cc
|
||||
src/model/DescribeBackupPolicyResult.cc
|
||||
src/model/DescribeBackupsRequest.cc
|
||||
src/model/DescribeBackupsResult.cc
|
||||
src/model/DescribeColumnsRequest.cc
|
||||
src/model/DescribeColumnsResult.cc
|
||||
src/model/DescribeDBClusterAccessWhiteListRequest.cc
|
||||
src/model/DescribeDBClusterAccessWhiteListResult.cc
|
||||
src/model/DescribeDBClusterAttributeRequest.cc
|
||||
@@ -108,28 +146,50 @@ set(adb_src
|
||||
src/model/DescribeDBClusterPerformanceResult.cc
|
||||
src/model/DescribeDBClustersRequest.cc
|
||||
src/model/DescribeDBClustersResult.cc
|
||||
src/model/DescribeInclinedTablesRequest.cc
|
||||
src/model/DescribeInclinedTablesResult.cc
|
||||
src/model/DescribeLogStoreKeysRequest.cc
|
||||
src/model/DescribeLogStoreKeysResult.cc
|
||||
src/model/DescribeLoghubDetailRequest.cc
|
||||
src/model/DescribeLoghubDetailResult.cc
|
||||
src/model/DescribeOperatorPermissionRequest.cc
|
||||
src/model/DescribeOperatorPermissionResult.cc
|
||||
src/model/DescribeProcessListRequest.cc
|
||||
src/model/DescribeProcessListResult.cc
|
||||
src/model/DescribeRegionsRequest.cc
|
||||
src/model/DescribeRegionsResult.cc
|
||||
src/model/DescribeSchemasRequest.cc
|
||||
src/model/DescribeSchemasResult.cc
|
||||
src/model/DescribeSlowLogRecordsRequest.cc
|
||||
src/model/DescribeSlowLogRecordsResult.cc
|
||||
src/model/DescribeSlowLogTrendRequest.cc
|
||||
src/model/DescribeSlowLogTrendResult.cc
|
||||
src/model/DescribeTableDetailRequest.cc
|
||||
src/model/DescribeTableDetailResult.cc
|
||||
src/model/DescribeTablesRequest.cc
|
||||
src/model/DescribeTablesResult.cc
|
||||
src/model/GrantOperatorPermissionRequest.cc
|
||||
src/model/GrantOperatorPermissionResult.cc
|
||||
src/model/KillProcessRequest.cc
|
||||
src/model/KillProcessResult.cc
|
||||
src/model/ListTagResourcesRequest.cc
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/ModifyAccountDescriptionRequest.cc
|
||||
src/model/ModifyAccountDescriptionResult.cc
|
||||
src/model/ModifyAutoRenewAttributeRequest.cc
|
||||
src/model/ModifyAutoRenewAttributeResult.cc
|
||||
src/model/ModifyBackupPolicyRequest.cc
|
||||
src/model/ModifyBackupPolicyResult.cc
|
||||
src/model/ModifyDBClusterRequest.cc
|
||||
src/model/ModifyDBClusterResult.cc
|
||||
src/model/ModifyDBClusterAccessWhiteListRequest.cc
|
||||
src/model/ModifyDBClusterAccessWhiteListResult.cc
|
||||
src/model/ModifyDBClusterDescriptionRequest.cc
|
||||
src/model/ModifyDBClusterDescriptionResult.cc
|
||||
src/model/ModifyDBClusterMaintainTimeRequest.cc
|
||||
src/model/ModifyDBClusterMaintainTimeResult.cc
|
||||
src/model/ModifyLogBackupPolicyRequest.cc
|
||||
src/model/ModifyLogBackupPolicyResult.cc
|
||||
src/model/ReleaseClusterPublicConnectionRequest.cc
|
||||
src/model/ReleaseClusterPublicConnectionResult.cc
|
||||
src/model/ResetAccountPasswordRequest.cc
|
||||
|
||||
@@ -30,14 +30,22 @@
|
||||
#include "model/CreateDBClusterResult.h"
|
||||
#include "model/DeleteAccountRequest.h"
|
||||
#include "model/DeleteAccountResult.h"
|
||||
#include "model/DeleteDBClusterRequest.h"
|
||||
#include "model/DeleteDBClusterResult.h"
|
||||
#include "model/DescribeAccountsRequest.h"
|
||||
#include "model/DescribeAccountsResult.h"
|
||||
#include "model/DescribeAllDataSourceRequest.h"
|
||||
#include "model/DescribeAllDataSourceResult.h"
|
||||
#include "model/DescribeAutoRenewAttributeRequest.h"
|
||||
#include "model/DescribeAutoRenewAttributeResult.h"
|
||||
#include "model/DescribeAvailableResourceRequest.h"
|
||||
#include "model/DescribeAvailableResourceResult.h"
|
||||
#include "model/DescribeBackupPolicyRequest.h"
|
||||
#include "model/DescribeBackupPolicyResult.h"
|
||||
#include "model/DescribeBackupsRequest.h"
|
||||
#include "model/DescribeBackupsResult.h"
|
||||
#include "model/DescribeColumnsRequest.h"
|
||||
#include "model/DescribeColumnsResult.h"
|
||||
#include "model/DescribeDBClusterAccessWhiteListRequest.h"
|
||||
#include "model/DescribeDBClusterAccessWhiteListResult.h"
|
||||
#include "model/DescribeDBClusterAttributeRequest.h"
|
||||
@@ -48,28 +56,50 @@
|
||||
#include "model/DescribeDBClusterPerformanceResult.h"
|
||||
#include "model/DescribeDBClustersRequest.h"
|
||||
#include "model/DescribeDBClustersResult.h"
|
||||
#include "model/DescribeInclinedTablesRequest.h"
|
||||
#include "model/DescribeInclinedTablesResult.h"
|
||||
#include "model/DescribeLogStoreKeysRequest.h"
|
||||
#include "model/DescribeLogStoreKeysResult.h"
|
||||
#include "model/DescribeLoghubDetailRequest.h"
|
||||
#include "model/DescribeLoghubDetailResult.h"
|
||||
#include "model/DescribeOperatorPermissionRequest.h"
|
||||
#include "model/DescribeOperatorPermissionResult.h"
|
||||
#include "model/DescribeProcessListRequest.h"
|
||||
#include "model/DescribeProcessListResult.h"
|
||||
#include "model/DescribeRegionsRequest.h"
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/DescribeSchemasRequest.h"
|
||||
#include "model/DescribeSchemasResult.h"
|
||||
#include "model/DescribeSlowLogRecordsRequest.h"
|
||||
#include "model/DescribeSlowLogRecordsResult.h"
|
||||
#include "model/DescribeSlowLogTrendRequest.h"
|
||||
#include "model/DescribeSlowLogTrendResult.h"
|
||||
#include "model/DescribeTableDetailRequest.h"
|
||||
#include "model/DescribeTableDetailResult.h"
|
||||
#include "model/DescribeTablesRequest.h"
|
||||
#include "model/DescribeTablesResult.h"
|
||||
#include "model/GrantOperatorPermissionRequest.h"
|
||||
#include "model/GrantOperatorPermissionResult.h"
|
||||
#include "model/KillProcessRequest.h"
|
||||
#include "model/KillProcessResult.h"
|
||||
#include "model/ListTagResourcesRequest.h"
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ModifyAccountDescriptionRequest.h"
|
||||
#include "model/ModifyAccountDescriptionResult.h"
|
||||
#include "model/ModifyAutoRenewAttributeRequest.h"
|
||||
#include "model/ModifyAutoRenewAttributeResult.h"
|
||||
#include "model/ModifyBackupPolicyRequest.h"
|
||||
#include "model/ModifyBackupPolicyResult.h"
|
||||
#include "model/ModifyDBClusterRequest.h"
|
||||
#include "model/ModifyDBClusterResult.h"
|
||||
#include "model/ModifyDBClusterAccessWhiteListRequest.h"
|
||||
#include "model/ModifyDBClusterAccessWhiteListResult.h"
|
||||
#include "model/ModifyDBClusterDescriptionRequest.h"
|
||||
#include "model/ModifyDBClusterDescriptionResult.h"
|
||||
#include "model/ModifyDBClusterMaintainTimeRequest.h"
|
||||
#include "model/ModifyDBClusterMaintainTimeResult.h"
|
||||
#include "model/ModifyLogBackupPolicyRequest.h"
|
||||
#include "model/ModifyLogBackupPolicyResult.h"
|
||||
#include "model/ReleaseClusterPublicConnectionRequest.h"
|
||||
#include "model/ReleaseClusterPublicConnectionResult.h"
|
||||
#include "model/ResetAccountPasswordRequest.h"
|
||||
@@ -101,18 +131,30 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteAccountResult> DeleteAccountOutcome;
|
||||
typedef std::future<DeleteAccountOutcome> DeleteAccountOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DeleteAccountRequest&, const DeleteAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDBClusterResult> DeleteDBClusterOutcome;
|
||||
typedef std::future<DeleteDBClusterOutcome> DeleteDBClusterOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DeleteDBClusterRequest&, const DeleteDBClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDBClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAccountsResult> DescribeAccountsOutcome;
|
||||
typedef std::future<DescribeAccountsOutcome> DescribeAccountsOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAccountsRequest&, const DescribeAccountsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccountsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAllDataSourceResult> DescribeAllDataSourceOutcome;
|
||||
typedef std::future<DescribeAllDataSourceOutcome> DescribeAllDataSourceOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAllDataSourceRequest&, const DescribeAllDataSourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAllDataSourceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAutoRenewAttributeResult> DescribeAutoRenewAttributeOutcome;
|
||||
typedef std::future<DescribeAutoRenewAttributeOutcome> DescribeAutoRenewAttributeOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAutoRenewAttributeRequest&, const DescribeAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAutoRenewAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAvailableResourceResult> DescribeAvailableResourceOutcome;
|
||||
typedef std::future<DescribeAvailableResourceOutcome> DescribeAvailableResourceOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeAvailableResourceRequest&, const DescribeAvailableResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAvailableResourceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeBackupPolicyResult> DescribeBackupPolicyOutcome;
|
||||
typedef std::future<DescribeBackupPolicyOutcome> DescribeBackupPolicyOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeBackupPolicyRequest&, const DescribeBackupPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBackupPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeBackupsResult> DescribeBackupsOutcome;
|
||||
typedef std::future<DescribeBackupsOutcome> DescribeBackupsOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeBackupsRequest&, const DescribeBackupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBackupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeColumnsResult> DescribeColumnsOutcome;
|
||||
typedef std::future<DescribeColumnsOutcome> DescribeColumnsOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeColumnsRequest&, const DescribeColumnsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeColumnsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBClusterAccessWhiteListResult> DescribeDBClusterAccessWhiteListOutcome;
|
||||
typedef std::future<DescribeDBClusterAccessWhiteListOutcome> DescribeDBClusterAccessWhiteListOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeDBClusterAccessWhiteListRequest&, const DescribeDBClusterAccessWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterAccessWhiteListAsyncHandler;
|
||||
@@ -128,21 +170,45 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDBClustersResult> DescribeDBClustersOutcome;
|
||||
typedef std::future<DescribeDBClustersOutcome> DescribeDBClustersOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeDBClustersRequest&, const DescribeDBClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClustersAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeInclinedTablesResult> DescribeInclinedTablesOutcome;
|
||||
typedef std::future<DescribeInclinedTablesOutcome> DescribeInclinedTablesOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeInclinedTablesRequest&, const DescribeInclinedTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInclinedTablesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLogStoreKeysResult> DescribeLogStoreKeysOutcome;
|
||||
typedef std::future<DescribeLogStoreKeysOutcome> DescribeLogStoreKeysOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeLogStoreKeysRequest&, const DescribeLogStoreKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLogStoreKeysAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLoghubDetailResult> DescribeLoghubDetailOutcome;
|
||||
typedef std::future<DescribeLoghubDetailOutcome> DescribeLoghubDetailOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeLoghubDetailRequest&, const DescribeLoghubDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLoghubDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeOperatorPermissionResult> DescribeOperatorPermissionOutcome;
|
||||
typedef std::future<DescribeOperatorPermissionOutcome> DescribeOperatorPermissionOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeOperatorPermissionRequest&, const DescribeOperatorPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOperatorPermissionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeProcessListResult> DescribeProcessListOutcome;
|
||||
typedef std::future<DescribeProcessListOutcome> DescribeProcessListOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeProcessListRequest&, const DescribeProcessListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProcessListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
|
||||
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSchemasResult> DescribeSchemasOutcome;
|
||||
typedef std::future<DescribeSchemasOutcome> DescribeSchemasOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeSchemasRequest&, const DescribeSchemasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSchemasAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSlowLogRecordsResult> DescribeSlowLogRecordsOutcome;
|
||||
typedef std::future<DescribeSlowLogRecordsOutcome> DescribeSlowLogRecordsOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeSlowLogRecordsRequest&, const DescribeSlowLogRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSlowLogRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSlowLogTrendResult> DescribeSlowLogTrendOutcome;
|
||||
typedef std::future<DescribeSlowLogTrendOutcome> DescribeSlowLogTrendOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeSlowLogTrendRequest&, const DescribeSlowLogTrendOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSlowLogTrendAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTableDetailResult> DescribeTableDetailOutcome;
|
||||
typedef std::future<DescribeTableDetailOutcome> DescribeTableDetailOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeTableDetailRequest&, const DescribeTableDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTableDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTablesResult> DescribeTablesOutcome;
|
||||
typedef std::future<DescribeTablesOutcome> DescribeTablesOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::DescribeTablesRequest&, const DescribeTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTablesAsyncHandler;
|
||||
typedef Outcome<Error, Model::GrantOperatorPermissionResult> GrantOperatorPermissionOutcome;
|
||||
typedef std::future<GrantOperatorPermissionOutcome> GrantOperatorPermissionOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::GrantOperatorPermissionRequest&, const GrantOperatorPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GrantOperatorPermissionAsyncHandler;
|
||||
typedef Outcome<Error, Model::KillProcessResult> KillProcessOutcome;
|
||||
typedef std::future<KillProcessOutcome> KillProcessOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::KillProcessRequest&, const KillProcessOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> KillProcessAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
||||
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
||||
@@ -152,6 +218,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyAutoRenewAttributeResult> ModifyAutoRenewAttributeOutcome;
|
||||
typedef std::future<ModifyAutoRenewAttributeOutcome> ModifyAutoRenewAttributeOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ModifyAutoRenewAttributeRequest&, const ModifyAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAutoRenewAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyBackupPolicyResult> ModifyBackupPolicyOutcome;
|
||||
typedef std::future<ModifyBackupPolicyOutcome> ModifyBackupPolicyOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ModifyBackupPolicyRequest&, const ModifyBackupPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBackupPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDBClusterResult> ModifyDBClusterOutcome;
|
||||
typedef std::future<ModifyDBClusterOutcome> ModifyDBClusterOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ModifyDBClusterRequest&, const ModifyDBClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDBClusterAccessWhiteListResult> ModifyDBClusterAccessWhiteListOutcome;
|
||||
typedef std::future<ModifyDBClusterAccessWhiteListOutcome> ModifyDBClusterAccessWhiteListOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ModifyDBClusterAccessWhiteListRequest&, const ModifyDBClusterAccessWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBClusterAccessWhiteListAsyncHandler;
|
||||
@@ -161,6 +233,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyDBClusterMaintainTimeResult> ModifyDBClusterMaintainTimeOutcome;
|
||||
typedef std::future<ModifyDBClusterMaintainTimeOutcome> ModifyDBClusterMaintainTimeOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ModifyDBClusterMaintainTimeRequest&, const ModifyDBClusterMaintainTimeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBClusterMaintainTimeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyLogBackupPolicyResult> ModifyLogBackupPolicyOutcome;
|
||||
typedef std::future<ModifyLogBackupPolicyOutcome> ModifyLogBackupPolicyOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ModifyLogBackupPolicyRequest&, const ModifyLogBackupPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyLogBackupPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ReleaseClusterPublicConnectionResult> ReleaseClusterPublicConnectionOutcome;
|
||||
typedef std::future<ReleaseClusterPublicConnectionOutcome> ReleaseClusterPublicConnectionOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ReleaseClusterPublicConnectionRequest&, const ReleaseClusterPublicConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseClusterPublicConnectionAsyncHandler;
|
||||
@@ -193,18 +268,30 @@ namespace AlibabaCloud
|
||||
DeleteAccountOutcome deleteAccount(const Model::DeleteAccountRequest &request)const;
|
||||
void deleteAccountAsync(const Model::DeleteAccountRequest& request, const DeleteAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteAccountOutcomeCallable deleteAccountCallable(const Model::DeleteAccountRequest& request) const;
|
||||
DeleteDBClusterOutcome deleteDBCluster(const Model::DeleteDBClusterRequest &request)const;
|
||||
void deleteDBClusterAsync(const Model::DeleteDBClusterRequest& request, const DeleteDBClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDBClusterOutcomeCallable deleteDBClusterCallable(const Model::DeleteDBClusterRequest& request) const;
|
||||
DescribeAccountsOutcome describeAccounts(const Model::DescribeAccountsRequest &request)const;
|
||||
void describeAccountsAsync(const Model::DescribeAccountsRequest& request, const DescribeAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAccountsOutcomeCallable describeAccountsCallable(const Model::DescribeAccountsRequest& request) const;
|
||||
DescribeAllDataSourceOutcome describeAllDataSource(const Model::DescribeAllDataSourceRequest &request)const;
|
||||
void describeAllDataSourceAsync(const Model::DescribeAllDataSourceRequest& request, const DescribeAllDataSourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAllDataSourceOutcomeCallable describeAllDataSourceCallable(const Model::DescribeAllDataSourceRequest& request) const;
|
||||
DescribeAutoRenewAttributeOutcome describeAutoRenewAttribute(const Model::DescribeAutoRenewAttributeRequest &request)const;
|
||||
void describeAutoRenewAttributeAsync(const Model::DescribeAutoRenewAttributeRequest& request, const DescribeAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAutoRenewAttributeOutcomeCallable describeAutoRenewAttributeCallable(const Model::DescribeAutoRenewAttributeRequest& request) const;
|
||||
DescribeAvailableResourceOutcome describeAvailableResource(const Model::DescribeAvailableResourceRequest &request)const;
|
||||
void describeAvailableResourceAsync(const Model::DescribeAvailableResourceRequest& request, const DescribeAvailableResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAvailableResourceOutcomeCallable describeAvailableResourceCallable(const Model::DescribeAvailableResourceRequest& request) const;
|
||||
DescribeBackupPolicyOutcome describeBackupPolicy(const Model::DescribeBackupPolicyRequest &request)const;
|
||||
void describeBackupPolicyAsync(const Model::DescribeBackupPolicyRequest& request, const DescribeBackupPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeBackupPolicyOutcomeCallable describeBackupPolicyCallable(const Model::DescribeBackupPolicyRequest& request) const;
|
||||
DescribeBackupsOutcome describeBackups(const Model::DescribeBackupsRequest &request)const;
|
||||
void describeBackupsAsync(const Model::DescribeBackupsRequest& request, const DescribeBackupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeBackupsOutcomeCallable describeBackupsCallable(const Model::DescribeBackupsRequest& request) const;
|
||||
DescribeColumnsOutcome describeColumns(const Model::DescribeColumnsRequest &request)const;
|
||||
void describeColumnsAsync(const Model::DescribeColumnsRequest& request, const DescribeColumnsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeColumnsOutcomeCallable describeColumnsCallable(const Model::DescribeColumnsRequest& request) const;
|
||||
DescribeDBClusterAccessWhiteListOutcome describeDBClusterAccessWhiteList(const Model::DescribeDBClusterAccessWhiteListRequest &request)const;
|
||||
void describeDBClusterAccessWhiteListAsync(const Model::DescribeDBClusterAccessWhiteListRequest& request, const DescribeDBClusterAccessWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBClusterAccessWhiteListOutcomeCallable describeDBClusterAccessWhiteListCallable(const Model::DescribeDBClusterAccessWhiteListRequest& request) const;
|
||||
@@ -220,21 +307,45 @@ namespace AlibabaCloud
|
||||
DescribeDBClustersOutcome describeDBClusters(const Model::DescribeDBClustersRequest &request)const;
|
||||
void describeDBClustersAsync(const Model::DescribeDBClustersRequest& request, const DescribeDBClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBClustersOutcomeCallable describeDBClustersCallable(const Model::DescribeDBClustersRequest& request) const;
|
||||
DescribeInclinedTablesOutcome describeInclinedTables(const Model::DescribeInclinedTablesRequest &request)const;
|
||||
void describeInclinedTablesAsync(const Model::DescribeInclinedTablesRequest& request, const DescribeInclinedTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeInclinedTablesOutcomeCallable describeInclinedTablesCallable(const Model::DescribeInclinedTablesRequest& request) const;
|
||||
DescribeLogStoreKeysOutcome describeLogStoreKeys(const Model::DescribeLogStoreKeysRequest &request)const;
|
||||
void describeLogStoreKeysAsync(const Model::DescribeLogStoreKeysRequest& request, const DescribeLogStoreKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLogStoreKeysOutcomeCallable describeLogStoreKeysCallable(const Model::DescribeLogStoreKeysRequest& request) const;
|
||||
DescribeLoghubDetailOutcome describeLoghubDetail(const Model::DescribeLoghubDetailRequest &request)const;
|
||||
void describeLoghubDetailAsync(const Model::DescribeLoghubDetailRequest& request, const DescribeLoghubDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLoghubDetailOutcomeCallable describeLoghubDetailCallable(const Model::DescribeLoghubDetailRequest& request) const;
|
||||
DescribeOperatorPermissionOutcome describeOperatorPermission(const Model::DescribeOperatorPermissionRequest &request)const;
|
||||
void describeOperatorPermissionAsync(const Model::DescribeOperatorPermissionRequest& request, const DescribeOperatorPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeOperatorPermissionOutcomeCallable describeOperatorPermissionCallable(const Model::DescribeOperatorPermissionRequest& request) const;
|
||||
DescribeProcessListOutcome describeProcessList(const Model::DescribeProcessListRequest &request)const;
|
||||
void describeProcessListAsync(const Model::DescribeProcessListRequest& request, const DescribeProcessListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeProcessListOutcomeCallable describeProcessListCallable(const Model::DescribeProcessListRequest& request) const;
|
||||
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
|
||||
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
|
||||
DescribeSchemasOutcome describeSchemas(const Model::DescribeSchemasRequest &request)const;
|
||||
void describeSchemasAsync(const Model::DescribeSchemasRequest& request, const DescribeSchemasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSchemasOutcomeCallable describeSchemasCallable(const Model::DescribeSchemasRequest& request) const;
|
||||
DescribeSlowLogRecordsOutcome describeSlowLogRecords(const Model::DescribeSlowLogRecordsRequest &request)const;
|
||||
void describeSlowLogRecordsAsync(const Model::DescribeSlowLogRecordsRequest& request, const DescribeSlowLogRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSlowLogRecordsOutcomeCallable describeSlowLogRecordsCallable(const Model::DescribeSlowLogRecordsRequest& request) const;
|
||||
DescribeSlowLogTrendOutcome describeSlowLogTrend(const Model::DescribeSlowLogTrendRequest &request)const;
|
||||
void describeSlowLogTrendAsync(const Model::DescribeSlowLogTrendRequest& request, const DescribeSlowLogTrendAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSlowLogTrendOutcomeCallable describeSlowLogTrendCallable(const Model::DescribeSlowLogTrendRequest& request) const;
|
||||
DescribeTableDetailOutcome describeTableDetail(const Model::DescribeTableDetailRequest &request)const;
|
||||
void describeTableDetailAsync(const Model::DescribeTableDetailRequest& request, const DescribeTableDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTableDetailOutcomeCallable describeTableDetailCallable(const Model::DescribeTableDetailRequest& request) const;
|
||||
DescribeTablesOutcome describeTables(const Model::DescribeTablesRequest &request)const;
|
||||
void describeTablesAsync(const Model::DescribeTablesRequest& request, const DescribeTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTablesOutcomeCallable describeTablesCallable(const Model::DescribeTablesRequest& request) const;
|
||||
GrantOperatorPermissionOutcome grantOperatorPermission(const Model::GrantOperatorPermissionRequest &request)const;
|
||||
void grantOperatorPermissionAsync(const Model::GrantOperatorPermissionRequest& request, const GrantOperatorPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GrantOperatorPermissionOutcomeCallable grantOperatorPermissionCallable(const Model::GrantOperatorPermissionRequest& request) const;
|
||||
KillProcessOutcome killProcess(const Model::KillProcessRequest &request)const;
|
||||
void killProcessAsync(const Model::KillProcessRequest& request, const KillProcessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
KillProcessOutcomeCallable killProcessCallable(const Model::KillProcessRequest& request) const;
|
||||
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
|
||||
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
|
||||
@@ -244,6 +355,12 @@ namespace AlibabaCloud
|
||||
ModifyAutoRenewAttributeOutcome modifyAutoRenewAttribute(const Model::ModifyAutoRenewAttributeRequest &request)const;
|
||||
void modifyAutoRenewAttributeAsync(const Model::ModifyAutoRenewAttributeRequest& request, const ModifyAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAutoRenewAttributeOutcomeCallable modifyAutoRenewAttributeCallable(const Model::ModifyAutoRenewAttributeRequest& request) const;
|
||||
ModifyBackupPolicyOutcome modifyBackupPolicy(const Model::ModifyBackupPolicyRequest &request)const;
|
||||
void modifyBackupPolicyAsync(const Model::ModifyBackupPolicyRequest& request, const ModifyBackupPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyBackupPolicyOutcomeCallable modifyBackupPolicyCallable(const Model::ModifyBackupPolicyRequest& request) const;
|
||||
ModifyDBClusterOutcome modifyDBCluster(const Model::ModifyDBClusterRequest &request)const;
|
||||
void modifyDBClusterAsync(const Model::ModifyDBClusterRequest& request, const ModifyDBClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDBClusterOutcomeCallable modifyDBClusterCallable(const Model::ModifyDBClusterRequest& request) const;
|
||||
ModifyDBClusterAccessWhiteListOutcome modifyDBClusterAccessWhiteList(const Model::ModifyDBClusterAccessWhiteListRequest &request)const;
|
||||
void modifyDBClusterAccessWhiteListAsync(const Model::ModifyDBClusterAccessWhiteListRequest& request, const ModifyDBClusterAccessWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDBClusterAccessWhiteListOutcomeCallable modifyDBClusterAccessWhiteListCallable(const Model::ModifyDBClusterAccessWhiteListRequest& request) const;
|
||||
@@ -253,6 +370,9 @@ namespace AlibabaCloud
|
||||
ModifyDBClusterMaintainTimeOutcome modifyDBClusterMaintainTime(const Model::ModifyDBClusterMaintainTimeRequest &request)const;
|
||||
void modifyDBClusterMaintainTimeAsync(const Model::ModifyDBClusterMaintainTimeRequest& request, const ModifyDBClusterMaintainTimeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDBClusterMaintainTimeOutcomeCallable modifyDBClusterMaintainTimeCallable(const Model::ModifyDBClusterMaintainTimeRequest& request) const;
|
||||
ModifyLogBackupPolicyOutcome modifyLogBackupPolicy(const Model::ModifyLogBackupPolicyRequest &request)const;
|
||||
void modifyLogBackupPolicyAsync(const Model::ModifyLogBackupPolicyRequest& request, const ModifyLogBackupPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyLogBackupPolicyOutcomeCallable modifyLogBackupPolicyCallable(const Model::ModifyLogBackupPolicyRequest& request) const;
|
||||
ReleaseClusterPublicConnectionOutcome releaseClusterPublicConnection(const Model::ReleaseClusterPublicConnectionRequest &request)const;
|
||||
void releaseClusterPublicConnectionAsync(const Model::ReleaseClusterPublicConnectionRequest& request, const ReleaseClusterPublicConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReleaseClusterPublicConnectionOutcomeCallable releaseClusterPublicConnectionCallable(const Model::ReleaseClusterPublicConnectionRequest& request) const;
|
||||
|
||||
63
adb/include/alibabacloud/adb/model/DeleteDBClusterRequest.h
Normal file
63
adb/include/alibabacloud/adb/model/DeleteDBClusterRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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_ADB_MODEL_DELETEDBCLUSTERREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DELETEDBCLUSTERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DeleteDBClusterRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDBClusterRequest();
|
||||
~DeleteDBClusterRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DELETEDBCLUSTERREQUEST_H_
|
||||
49
adb/include/alibabacloud/adb/model/DeleteDBClusterResult.h
Normal file
49
adb/include/alibabacloud/adb/model/DeleteDBClusterResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_ADB_MODEL_DELETEDBCLUSTERRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DELETEDBCLUSTERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DeleteDBClusterResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDBClusterResult();
|
||||
explicit DeleteDBClusterResult(const std::string &payload);
|
||||
~DeleteDBClusterResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DELETEDBCLUSTERRESULT_H_
|
||||
@@ -0,0 +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_ADB_MODEL_DESCRIBEALLDATASOURCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEALLDATASOURCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAllDataSourceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAllDataSourceRequest();
|
||||
~DescribeAllDataSourceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTableName()const;
|
||||
void setTableName(const std::string& tableName);
|
||||
std::string getSchemaName()const;
|
||||
void setSchemaName(const std::string& schemaName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string tableName_;
|
||||
std::string schemaName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEALLDATASOURCEREQUEST_H_
|
||||
@@ -0,0 +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_ADB_MODEL_DESCRIBEALLDATASOURCERESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEALLDATASOURCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAllDataSourceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Schema
|
||||
{
|
||||
std::string dBClusterId;
|
||||
std::string schemaName;
|
||||
};
|
||||
struct Table
|
||||
{
|
||||
std::string tableName;
|
||||
std::string dBClusterId;
|
||||
std::string schemaName;
|
||||
};
|
||||
struct Column
|
||||
{
|
||||
std::string tableName;
|
||||
std::string columnName;
|
||||
std::string type;
|
||||
std::string dBClusterId;
|
||||
bool primaryKey;
|
||||
std::string schemaName;
|
||||
};
|
||||
|
||||
|
||||
DescribeAllDataSourceResult();
|
||||
explicit DescribeAllDataSourceResult(const std::string &payload);
|
||||
~DescribeAllDataSourceResult();
|
||||
std::vector<Table> getTables()const;
|
||||
std::vector<Column> getColumns()const;
|
||||
std::vector<Schema> getSchemas()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Table> tables_;
|
||||
std::vector<Column> columns_;
|
||||
std::vector<Schema> schemas_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEALLDATASOURCERESULT_H_
|
||||
@@ -0,0 +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_ADB_MODEL_DESCRIBEAVAILABLERESOURCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAVAILABLERESOURCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAvailableResourceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAvailableResourceRequest();
|
||||
~DescribeAvailableResourceRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getChargeType()const;
|
||||
void setChargeType(const std::string& chargeType);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string zoneId_;
|
||||
std::string chargeType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAVAILABLERESOURCEREQUEST_H_
|
||||
@@ -0,0 +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_ADB_MODEL_DESCRIBEAVAILABLERESOURCERESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEAVAILABLERESOURCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeAvailableResourceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AvailableZone
|
||||
{
|
||||
struct SupportedSerial
|
||||
{
|
||||
struct SupportedInstanceClass
|
||||
{
|
||||
struct SupportedNodeCount
|
||||
{
|
||||
std::string nodeCount;
|
||||
std::vector<std::string> storageSize;
|
||||
};
|
||||
std::string instanceClass;
|
||||
std::vector<SupportedInstanceClass::SupportedNodeCount> supportedNodeCountList;
|
||||
std::string tips;
|
||||
};
|
||||
std::string serial;
|
||||
std::vector<SupportedSerial::SupportedInstanceClass> supportedInstanceClassList;
|
||||
};
|
||||
std::string zoneId;
|
||||
std::vector<AvailableZone::SupportedSerial> supportedSerialList;
|
||||
};
|
||||
|
||||
|
||||
DescribeAvailableResourceResult();
|
||||
explicit DescribeAvailableResourceResult(const std::string &payload);
|
||||
~DescribeAvailableResourceResult();
|
||||
std::string getRegionId()const;
|
||||
std::vector<AvailableZone> getAvailableZoneList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::vector<AvailableZone> availableZoneList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEAVAILABLERESOURCERESULT_H_
|
||||
69
adb/include/alibabacloud/adb/model/DescribeColumnsRequest.h
Normal file
69
adb/include/alibabacloud/adb/model/DescribeColumnsRequest.h
Normal file
@@ -0,0 +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_ADB_MODEL_DESCRIBECOLUMNSREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBECOLUMNSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeColumnsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeColumnsRequest();
|
||||
~DescribeColumnsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTableName()const;
|
||||
void setTableName(const std::string& tableName);
|
||||
std::string getSchemaName()const;
|
||||
void setSchemaName(const std::string& schemaName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string tableName_;
|
||||
std::string schemaName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBECOLUMNSREQUEST_H_
|
||||
60
adb/include/alibabacloud/adb/model/DescribeColumnsResult.h
Normal file
60
adb/include/alibabacloud/adb/model/DescribeColumnsResult.h
Normal 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_ADB_MODEL_DESCRIBECOLUMNSRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBECOLUMNSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeColumnsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Column
|
||||
{
|
||||
std::string tableName;
|
||||
std::string columnName;
|
||||
std::string type;
|
||||
std::string dBClusterId;
|
||||
bool primaryKey;
|
||||
std::string schemaName;
|
||||
};
|
||||
|
||||
|
||||
DescribeColumnsResult();
|
||||
explicit DescribeColumnsResult(const std::string &payload);
|
||||
~DescribeColumnsResult();
|
||||
std::vector<Column> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Column> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBECOLUMNSRESULT_H_
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string key;
|
||||
};
|
||||
long dBNodeStorage;
|
||||
std::string category;
|
||||
std::string dBClusterStatus;
|
||||
std::string createTime;
|
||||
std::string dBClusterId;
|
||||
|
||||
@@ -0,0 +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_ADB_MODEL_DESCRIBEINCLINEDTABLESREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEINCLINEDTABLESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeInclinedTablesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeInclinedTablesRequest();
|
||||
~DescribeInclinedTablesRequest();
|
||||
|
||||
std::string getTableType()const;
|
||||
void setTableType(const std::string& tableType);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getOrder()const;
|
||||
void setOrder(const std::string& order);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string tableType_;
|
||||
long resourceOwnerId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
int pageSize_;
|
||||
std::string order_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEINCLINEDTABLESREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* 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_ADB_MODEL_DESCRIBEINCLINEDTABLESRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEINCLINEDTABLESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeInclinedTablesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Table
|
||||
{
|
||||
std::string type;
|
||||
bool isIncline;
|
||||
long size;
|
||||
std::string schema;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeInclinedTablesResult();
|
||||
explicit DescribeInclinedTablesResult(const std::string &payload);
|
||||
~DescribeInclinedTablesResult();
|
||||
std::string getTotalCount()const;
|
||||
std::string getPageSize()const;
|
||||
std::string getPageNumber()const;
|
||||
std::vector<Table> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string totalCount_;
|
||||
std::string pageSize_;
|
||||
std::string pageNumber_;
|
||||
std::vector<Table> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEINCLINEDTABLESRESULT_H_
|
||||
@@ -0,0 +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_ADB_MODEL_DESCRIBELOGSTOREKEYSREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeLogStoreKeysRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLogStoreKeysRequest();
|
||||
~DescribeLogStoreKeysRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getLogStoreName()const;
|
||||
void setLogStoreName(const std::string& logStoreName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string projectName_;
|
||||
std::string logStoreName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSREQUEST_H_
|
||||
@@ -0,0 +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_ADB_MODEL_DESCRIBELOGSTOREKEYSRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeLogStoreKeysResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeLogStoreKeysResult();
|
||||
explicit DescribeLogStoreKeysResult(const std::string &payload);
|
||||
~DescribeLogStoreKeysResult();
|
||||
std::vector<std::string> getLogStoreKeys()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> logStoreKeys_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOGSTOREKEYSRESULT_H_
|
||||
@@ -0,0 +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_ADB_MODEL_DESCRIBELOGHUBDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeLoghubDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLoghubDetailRequest();
|
||||
~DescribeLoghubDetailRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getExportName()const;
|
||||
void setExportName(const std::string& exportName);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string projectName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string exportName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILREQUEST_H_
|
||||
@@ -0,0 +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_ADB_MODEL_DESCRIBELOGHUBDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeLoghubDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LoghubInfo
|
||||
{
|
||||
struct LogHubStore
|
||||
{
|
||||
std::string type;
|
||||
std::string logKey;
|
||||
std::string fieldKey;
|
||||
};
|
||||
std::string description;
|
||||
std::string userName;
|
||||
std::string zoneId;
|
||||
std::string projectName;
|
||||
std::string deliverName;
|
||||
std::string deliverTime;
|
||||
std::string dBClusterId;
|
||||
std::string dBType;
|
||||
std::string tableName;
|
||||
bool filterDirtyData;
|
||||
std::string accessSecret;
|
||||
std::string logStoreName;
|
||||
std::string domainUrl;
|
||||
std::vector<LogHubStore> logHubStores;
|
||||
std::string regionId;
|
||||
std::string accessKey;
|
||||
std::string schemaName;
|
||||
std::string password;
|
||||
};
|
||||
|
||||
|
||||
DescribeLoghubDetailResult();
|
||||
explicit DescribeLoghubDetailResult(const std::string &payload);
|
||||
~DescribeLoghubDetailResult();
|
||||
LoghubInfo getLoghubInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
LoghubInfo loghubInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOGHUBDETAILRESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEPROCESSLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEPROCESSLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeProcessListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeProcessListRequest();
|
||||
~DescribeProcessListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
bool getShowFull()const;
|
||||
void setShowFull(bool showFull);
|
||||
int getRunningTime()const;
|
||||
void setRunningTime(int runningTime);
|
||||
std::string getKeyword()const;
|
||||
void setKeyword(const std::string& keyword);
|
||||
std::string getOrder()const;
|
||||
void setOrder(const std::string& order);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getUser()const;
|
||||
void setUser(const std::string& user);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
int pageSize_;
|
||||
bool showFull_;
|
||||
int runningTime_;
|
||||
std::string keyword_;
|
||||
std::string order_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string user_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEPROCESSLISTREQUEST_H_
|
||||
@@ -0,0 +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_ADB_MODEL_DESCRIBEPROCESSLISTRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBEPROCESSLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeProcessListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Process
|
||||
{
|
||||
std::string user;
|
||||
std::string command;
|
||||
std::string startTime;
|
||||
std::string host;
|
||||
int time;
|
||||
int id;
|
||||
std::string processId;
|
||||
std::string info;
|
||||
std::string dB;
|
||||
};
|
||||
|
||||
|
||||
DescribeProcessListResult();
|
||||
explicit DescribeProcessListResult(const std::string &payload);
|
||||
~DescribeProcessListResult();
|
||||
std::string getTotalCount()const;
|
||||
std::string getPageSize()const;
|
||||
std::string getPageNumber()const;
|
||||
std::vector<Process> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string totalCount_;
|
||||
std::string pageSize_;
|
||||
std::string pageNumber_;
|
||||
std::vector<Process> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEPROCESSLISTRESULT_H_
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAcceptLanguage()const;
|
||||
void setAcceptLanguage(const std::string& acceptLanguage);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string acceptLanguage_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,9 +38,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
bool vpcEnabled;
|
||||
std::string zoneId;
|
||||
std::string localName;
|
||||
};
|
||||
std::string regionId;
|
||||
std::string regionEndpoint;
|
||||
std::vector<Region::Zone> zones;
|
||||
std::string localName;
|
||||
};
|
||||
|
||||
|
||||
|
||||
63
adb/include/alibabacloud/adb/model/DescribeSchemasRequest.h
Normal file
63
adb/include/alibabacloud/adb/model/DescribeSchemasRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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_ADB_MODEL_DESCRIBESCHEMASREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBESCHEMASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeSchemasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSchemasRequest();
|
||||
~DescribeSchemasRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBESCHEMASREQUEST_H_
|
||||
56
adb/include/alibabacloud/adb/model/DescribeSchemasResult.h
Normal file
56
adb/include/alibabacloud/adb/model/DescribeSchemasResult.h
Normal file
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* 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_ADB_MODEL_DESCRIBESCHEMASRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBESCHEMASRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeSchemasResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Schema
|
||||
{
|
||||
std::string dBClusterId;
|
||||
std::string schemaName;
|
||||
};
|
||||
|
||||
|
||||
DescribeSchemasResult();
|
||||
explicit DescribeSchemasResult(const std::string &payload);
|
||||
~DescribeSchemasResult();
|
||||
std::vector<Schema> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Schema> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBESCHEMASRESULT_H_
|
||||
@@ -0,0 +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_ADB_MODEL_DESCRIBETABLEDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeTableDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTableDetailRequest();
|
||||
~DescribeTableDetailRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTableName()const;
|
||||
void setTableName(const std::string& tableName);
|
||||
std::string getSchemaName()const;
|
||||
void setSchemaName(const std::string& schemaName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string tableName_;
|
||||
std::string schemaName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEDETAILREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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_ADB_MODEL_DESCRIBETABLEDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeTableDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Shard
|
||||
{
|
||||
long size;
|
||||
int id;
|
||||
};
|
||||
|
||||
|
||||
DescribeTableDetailResult();
|
||||
explicit DescribeTableDetailResult(const std::string &payload);
|
||||
~DescribeTableDetailResult();
|
||||
long getAvgSize()const;
|
||||
std::vector<Shard> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long avgSize_;
|
||||
std::vector<Shard> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBETABLEDETAILRESULT_H_
|
||||
66
adb/include/alibabacloud/adb/model/DescribeTablesRequest.h
Normal file
66
adb/include/alibabacloud/adb/model/DescribeTablesRequest.h
Normal 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_ADB_MODEL_DESCRIBETABLESREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBETABLESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeTablesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTablesRequest();
|
||||
~DescribeTablesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSchemaName()const;
|
||||
void setSchemaName(const std::string& schemaName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string schemaName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBETABLESREQUEST_H_
|
||||
57
adb/include/alibabacloud/adb/model/DescribeTablesResult.h
Normal file
57
adb/include/alibabacloud/adb/model/DescribeTablesResult.h
Normal 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_ADB_MODEL_DESCRIBETABLESRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_DESCRIBETABLESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT DescribeTablesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Table
|
||||
{
|
||||
std::string tableName;
|
||||
std::string dBClusterId;
|
||||
std::string schemaName;
|
||||
};
|
||||
|
||||
|
||||
DescribeTablesResult();
|
||||
explicit DescribeTablesResult(const std::string &payload);
|
||||
~DescribeTablesResult();
|
||||
std::vector<Table> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Table> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBETABLESRESULT_H_
|
||||
66
adb/include/alibabacloud/adb/model/KillProcessRequest.h
Normal file
66
adb/include/alibabacloud/adb/model/KillProcessRequest.h
Normal 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_ADB_MODEL_KILLPROCESSREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_KILLPROCESSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT KillProcessRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
KillProcessRequest();
|
||||
~KillProcessRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProcessId()const;
|
||||
void setProcessId(const std::string& processId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string processId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_KILLPROCESSREQUEST_H_
|
||||
49
adb/include/alibabacloud/adb/model/KillProcessResult.h
Normal file
49
adb/include/alibabacloud/adb/model/KillProcessResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_ADB_MODEL_KILLPROCESSRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_KILLPROCESSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT KillProcessResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
KillProcessResult();
|
||||
explicit KillProcessResult(const std::string &payload);
|
||||
~KillProcessResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_KILLPROCESSRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_MODIFYBACKUPPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_MODIFYBACKUPPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT ModifyBackupPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyBackupPolicyRequest();
|
||||
~ModifyBackupPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getPreferredBackupPeriod()const;
|
||||
void setPreferredBackupPeriod(const std::string& preferredBackupPeriod);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPreferredBackupTime()const;
|
||||
void setPreferredBackupTime(const std::string& preferredBackupTime);
|
||||
std::string getBackupRetentionPeriod()const;
|
||||
void setBackupRetentionPeriod(const std::string& backupRetentionPeriod);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string preferredBackupPeriod_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string preferredBackupTime_;
|
||||
std::string backupRetentionPeriod_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYBACKUPPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_ADB_MODEL_MODIFYBACKUPPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_MODIFYBACKUPPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT ModifyBackupPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyBackupPolicyResult();
|
||||
explicit ModifyBackupPolicyResult(const std::string &payload);
|
||||
~ModifyBackupPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYBACKUPPOLICYRESULT_H_
|
||||
75
adb/include/alibabacloud/adb/model/ModifyDBClusterRequest.h
Normal file
75
adb/include/alibabacloud/adb/model/ModifyDBClusterRequest.h
Normal file
@@ -0,0 +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_ADB_MODEL_MODIFYDBCLUSTERREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT ModifyDBClusterRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDBClusterRequest();
|
||||
~ModifyDBClusterRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBNodeClass()const;
|
||||
void setDBNodeClass(const std::string& dBNodeClass);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDBNodeGroupCount()const;
|
||||
void setDBNodeGroupCount(const std::string& dBNodeGroupCount);
|
||||
std::string getDBNodeStorage()const;
|
||||
void setDBNodeStorage(const std::string& dBNodeStorage);
|
||||
std::string getModifyType()const;
|
||||
void setModifyType(const std::string& modifyType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBNodeClass_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string dBNodeGroupCount_;
|
||||
std::string dBNodeStorage_;
|
||||
std::string modifyType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERREQUEST_H_
|
||||
53
adb/include/alibabacloud/adb/model/ModifyDBClusterResult.h
Normal file
53
adb/include/alibabacloud/adb/model/ModifyDBClusterResult.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_ADB_MODEL_MODIFYDBCLUSTERRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT ModifyDBClusterResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDBClusterResult();
|
||||
explicit ModifyDBClusterResult(const std::string &payload);
|
||||
~ModifyDBClusterResult();
|
||||
std::string getDBClusterId()const;
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dBClusterId_;
|
||||
std::string orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERRESULT_H_
|
||||
@@ -0,0 +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_ADB_MODEL_MODIFYLOGBACKUPPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_MODIFYLOGBACKUPPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT ModifyLogBackupPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyLogBackupPolicyRequest();
|
||||
~ModifyLogBackupPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getEnableBackupLog()const;
|
||||
void setEnableBackupLog(const std::string& enableBackupLog);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLogBackupRetentionPeriod()const;
|
||||
void setLogBackupRetentionPeriod(const std::string& logBackupRetentionPeriod);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string enableBackupLog_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string logBackupRetentionPeriod_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYLOGBACKUPPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_ADB_MODEL_MODIFYLOGBACKUPPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_MODIFYLOGBACKUPPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT ModifyLogBackupPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyLogBackupPolicyResult();
|
||||
explicit ModifyLogBackupPolicyResult(const std::string &payload);
|
||||
~ModifyLogBackupPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYLOGBACKUPPOLICYRESULT_H_
|
||||
@@ -195,6 +195,42 @@ AdbClient::DeleteAccountOutcomeCallable AdbClient::deleteAccountCallable(const D
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DeleteDBClusterOutcome AdbClient::deleteDBCluster(const DeleteDBClusterRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteDBClusterOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteDBClusterOutcome(DeleteDBClusterResult(outcome.result()));
|
||||
else
|
||||
return DeleteDBClusterOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::deleteDBClusterAsync(const DeleteDBClusterRequest& request, const DeleteDBClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteDBCluster(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DeleteDBClusterOutcomeCallable AdbClient::deleteDBClusterCallable(const DeleteDBClusterRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteDBClusterOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteDBCluster(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeAccountsOutcome AdbClient::describeAccounts(const DescribeAccountsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -231,6 +267,42 @@ AdbClient::DescribeAccountsOutcomeCallable AdbClient::describeAccountsCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeAllDataSourceOutcome AdbClient::describeAllDataSource(const DescribeAllDataSourceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAllDataSourceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAllDataSourceOutcome(DescribeAllDataSourceResult(outcome.result()));
|
||||
else
|
||||
return DescribeAllDataSourceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeAllDataSourceAsync(const DescribeAllDataSourceRequest& request, const DescribeAllDataSourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAllDataSource(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeAllDataSourceOutcomeCallable AdbClient::describeAllDataSourceCallable(const DescribeAllDataSourceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAllDataSourceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAllDataSource(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeAutoRenewAttributeOutcome AdbClient::describeAutoRenewAttribute(const DescribeAutoRenewAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -267,6 +339,42 @@ AdbClient::DescribeAutoRenewAttributeOutcomeCallable AdbClient::describeAutoRene
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeAvailableResourceOutcome AdbClient::describeAvailableResource(const DescribeAvailableResourceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAvailableResourceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAvailableResourceOutcome(DescribeAvailableResourceResult(outcome.result()));
|
||||
else
|
||||
return DescribeAvailableResourceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeAvailableResourceAsync(const DescribeAvailableResourceRequest& request, const DescribeAvailableResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAvailableResource(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeAvailableResourceOutcomeCallable AdbClient::describeAvailableResourceCallable(const DescribeAvailableResourceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAvailableResourceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAvailableResource(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeBackupPolicyOutcome AdbClient::describeBackupPolicy(const DescribeBackupPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -339,6 +447,42 @@ AdbClient::DescribeBackupsOutcomeCallable AdbClient::describeBackupsCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeColumnsOutcome AdbClient::describeColumns(const DescribeColumnsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeColumnsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeColumnsOutcome(DescribeColumnsResult(outcome.result()));
|
||||
else
|
||||
return DescribeColumnsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeColumnsAsync(const DescribeColumnsRequest& request, const DescribeColumnsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeColumns(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeColumnsOutcomeCallable AdbClient::describeColumnsCallable(const DescribeColumnsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeColumnsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeColumns(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeDBClusterAccessWhiteListOutcome AdbClient::describeDBClusterAccessWhiteList(const DescribeDBClusterAccessWhiteListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -519,6 +663,114 @@ AdbClient::DescribeDBClustersOutcomeCallable AdbClient::describeDBClustersCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeInclinedTablesOutcome AdbClient::describeInclinedTables(const DescribeInclinedTablesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeInclinedTablesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeInclinedTablesOutcome(DescribeInclinedTablesResult(outcome.result()));
|
||||
else
|
||||
return DescribeInclinedTablesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeInclinedTablesAsync(const DescribeInclinedTablesRequest& request, const DescribeInclinedTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeInclinedTables(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeInclinedTablesOutcomeCallable AdbClient::describeInclinedTablesCallable(const DescribeInclinedTablesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeInclinedTablesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeInclinedTables(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeLogStoreKeysOutcome AdbClient::describeLogStoreKeys(const DescribeLogStoreKeysRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLogStoreKeysOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLogStoreKeysOutcome(DescribeLogStoreKeysResult(outcome.result()));
|
||||
else
|
||||
return DescribeLogStoreKeysOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeLogStoreKeysAsync(const DescribeLogStoreKeysRequest& request, const DescribeLogStoreKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLogStoreKeys(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeLogStoreKeysOutcomeCallable AdbClient::describeLogStoreKeysCallable(const DescribeLogStoreKeysRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLogStoreKeysOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLogStoreKeys(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeLoghubDetailOutcome AdbClient::describeLoghubDetail(const DescribeLoghubDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLoghubDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLoghubDetailOutcome(DescribeLoghubDetailResult(outcome.result()));
|
||||
else
|
||||
return DescribeLoghubDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeLoghubDetailAsync(const DescribeLoghubDetailRequest& request, const DescribeLoghubDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLoghubDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeLoghubDetailOutcomeCallable AdbClient::describeLoghubDetailCallable(const DescribeLoghubDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLoghubDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLoghubDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeOperatorPermissionOutcome AdbClient::describeOperatorPermission(const DescribeOperatorPermissionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -555,6 +807,42 @@ AdbClient::DescribeOperatorPermissionOutcomeCallable AdbClient::describeOperator
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeProcessListOutcome AdbClient::describeProcessList(const DescribeProcessListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeProcessListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeProcessListOutcome(DescribeProcessListResult(outcome.result()));
|
||||
else
|
||||
return DescribeProcessListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeProcessListAsync(const DescribeProcessListRequest& request, const DescribeProcessListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeProcessList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeProcessListOutcomeCallable AdbClient::describeProcessListCallable(const DescribeProcessListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeProcessListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeProcessList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeRegionsOutcome AdbClient::describeRegions(const DescribeRegionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -591,6 +879,42 @@ AdbClient::DescribeRegionsOutcomeCallable AdbClient::describeRegionsCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeSchemasOutcome AdbClient::describeSchemas(const DescribeSchemasRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSchemasOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSchemasOutcome(DescribeSchemasResult(outcome.result()));
|
||||
else
|
||||
return DescribeSchemasOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeSchemasAsync(const DescribeSchemasRequest& request, const DescribeSchemasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSchemas(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeSchemasOutcomeCallable AdbClient::describeSchemasCallable(const DescribeSchemasRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSchemasOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSchemas(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeSlowLogRecordsOutcome AdbClient::describeSlowLogRecords(const DescribeSlowLogRecordsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -663,6 +987,78 @@ AdbClient::DescribeSlowLogTrendOutcomeCallable AdbClient::describeSlowLogTrendCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeTableDetailOutcome AdbClient::describeTableDetail(const DescribeTableDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeTableDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeTableDetailOutcome(DescribeTableDetailResult(outcome.result()));
|
||||
else
|
||||
return DescribeTableDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeTableDetailAsync(const DescribeTableDetailRequest& request, const DescribeTableDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeTableDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeTableDetailOutcomeCallable AdbClient::describeTableDetailCallable(const DescribeTableDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeTableDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeTableDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::DescribeTablesOutcome AdbClient::describeTables(const DescribeTablesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeTablesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeTablesOutcome(DescribeTablesResult(outcome.result()));
|
||||
else
|
||||
return DescribeTablesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::describeTablesAsync(const DescribeTablesRequest& request, const DescribeTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeTables(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::DescribeTablesOutcomeCallable AdbClient::describeTablesCallable(const DescribeTablesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeTablesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeTables(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::GrantOperatorPermissionOutcome AdbClient::grantOperatorPermission(const GrantOperatorPermissionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -699,6 +1095,42 @@ AdbClient::GrantOperatorPermissionOutcomeCallable AdbClient::grantOperatorPermis
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::KillProcessOutcome AdbClient::killProcess(const KillProcessRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return KillProcessOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return KillProcessOutcome(KillProcessResult(outcome.result()));
|
||||
else
|
||||
return KillProcessOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::killProcessAsync(const KillProcessRequest& request, const KillProcessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, killProcess(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::KillProcessOutcomeCallable AdbClient::killProcessCallable(const KillProcessRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<KillProcessOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->killProcess(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::ListTagResourcesOutcome AdbClient::listTagResources(const ListTagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -807,6 +1239,78 @@ AdbClient::ModifyAutoRenewAttributeOutcomeCallable AdbClient::modifyAutoRenewAtt
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::ModifyBackupPolicyOutcome AdbClient::modifyBackupPolicy(const ModifyBackupPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyBackupPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyBackupPolicyOutcome(ModifyBackupPolicyResult(outcome.result()));
|
||||
else
|
||||
return ModifyBackupPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::modifyBackupPolicyAsync(const ModifyBackupPolicyRequest& request, const ModifyBackupPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyBackupPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::ModifyBackupPolicyOutcomeCallable AdbClient::modifyBackupPolicyCallable(const ModifyBackupPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyBackupPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyBackupPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::ModifyDBClusterOutcome AdbClient::modifyDBCluster(const ModifyDBClusterRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyDBClusterOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyDBClusterOutcome(ModifyDBClusterResult(outcome.result()));
|
||||
else
|
||||
return ModifyDBClusterOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::modifyDBClusterAsync(const ModifyDBClusterRequest& request, const ModifyDBClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyDBCluster(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::ModifyDBClusterOutcomeCallable AdbClient::modifyDBClusterCallable(const ModifyDBClusterRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyDBClusterOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyDBCluster(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::ModifyDBClusterAccessWhiteListOutcome AdbClient::modifyDBClusterAccessWhiteList(const ModifyDBClusterAccessWhiteListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -915,6 +1419,42 @@ AdbClient::ModifyDBClusterMaintainTimeOutcomeCallable AdbClient::modifyDBCluster
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::ModifyLogBackupPolicyOutcome AdbClient::modifyLogBackupPolicy(const ModifyLogBackupPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyLogBackupPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyLogBackupPolicyOutcome(ModifyLogBackupPolicyResult(outcome.result()));
|
||||
else
|
||||
return ModifyLogBackupPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::modifyLogBackupPolicyAsync(const ModifyLogBackupPolicyRequest& request, const ModifyLogBackupPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyLogBackupPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::ModifyLogBackupPolicyOutcomeCallable AdbClient::modifyLogBackupPolicyCallable(const ModifyLogBackupPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyLogBackupPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyLogBackupPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::ReleaseClusterPublicConnectionOutcome AdbClient::releaseClusterPublicConnection(const ReleaseClusterPublicConnectionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
95
adb/src/model/DeleteDBClusterRequest.cc
Normal file
95
adb/src/model/DeleteDBClusterRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/adb/model/DeleteDBClusterRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DeleteDBClusterRequest;
|
||||
|
||||
DeleteDBClusterRequest::DeleteDBClusterRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DeleteDBCluster")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDBClusterRequest::~DeleteDBClusterRequest()
|
||||
{}
|
||||
|
||||
long DeleteDBClusterRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteDBClusterRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteDBClusterRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteDBClusterRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DeleteDBClusterRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteDBClusterRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteDBClusterRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteDBClusterRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
44
adb/src/model/DeleteDBClusterResult.cc
Normal file
44
adb/src/model/DeleteDBClusterResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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/adb/model/DeleteDBClusterResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DeleteDBClusterResult::DeleteDBClusterResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteDBClusterResult::DeleteDBClusterResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteDBClusterResult::~DeleteDBClusterResult()
|
||||
{}
|
||||
|
||||
void DeleteDBClusterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
117
adb/src/model/DescribeAllDataSourceRequest.cc
Normal file
117
adb/src/model/DescribeAllDataSourceRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeAllDataSourceRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeAllDataSourceRequest;
|
||||
|
||||
DescribeAllDataSourceRequest::DescribeAllDataSourceRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeAllDataSource")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAllDataSourceRequest::~DescribeAllDataSourceRequest()
|
||||
{}
|
||||
|
||||
long DescribeAllDataSourceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeAllDataSourceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeAllDataSourceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeAllDataSourceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeAllDataSourceRequest::getTableName()const
|
||||
{
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void DescribeAllDataSourceRequest::setTableName(const std::string& tableName)
|
||||
{
|
||||
tableName_ = tableName;
|
||||
setCoreParameter("TableName", tableName);
|
||||
}
|
||||
|
||||
std::string DescribeAllDataSourceRequest::getSchemaName()const
|
||||
{
|
||||
return schemaName_;
|
||||
}
|
||||
|
||||
void DescribeAllDataSourceRequest::setSchemaName(const std::string& schemaName)
|
||||
{
|
||||
schemaName_ = schemaName;
|
||||
setCoreParameter("SchemaName", schemaName);
|
||||
}
|
||||
|
||||
std::string DescribeAllDataSourceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAllDataSourceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeAllDataSourceRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeAllDataSourceRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeAllDataSourceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAllDataSourceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeAllDataSourceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeAllDataSourceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
99
adb/src/model/DescribeAllDataSourceResult.cc
Normal file
99
adb/src/model/DescribeAllDataSourceResult.cc
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeAllDataSourceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeAllDataSourceResult::DescribeAllDataSourceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAllDataSourceResult::DescribeAllDataSourceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAllDataSourceResult::~DescribeAllDataSourceResult()
|
||||
{}
|
||||
|
||||
void DescribeAllDataSourceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSchemasNode = value["Schemas"]["Schema"];
|
||||
for (auto valueSchemasSchema : allSchemasNode)
|
||||
{
|
||||
Schema schemasObject;
|
||||
if(!valueSchemasSchema["DBClusterId"].isNull())
|
||||
schemasObject.dBClusterId = valueSchemasSchema["DBClusterId"].asString();
|
||||
if(!valueSchemasSchema["SchemaName"].isNull())
|
||||
schemasObject.schemaName = valueSchemasSchema["SchemaName"].asString();
|
||||
schemas_.push_back(schemasObject);
|
||||
}
|
||||
auto allTablesNode = value["Tables"]["Table"];
|
||||
for (auto valueTablesTable : allTablesNode)
|
||||
{
|
||||
Table tablesObject;
|
||||
if(!valueTablesTable["DBClusterId"].isNull())
|
||||
tablesObject.dBClusterId = valueTablesTable["DBClusterId"].asString();
|
||||
if(!valueTablesTable["SchemaName"].isNull())
|
||||
tablesObject.schemaName = valueTablesTable["SchemaName"].asString();
|
||||
if(!valueTablesTable["TableName"].isNull())
|
||||
tablesObject.tableName = valueTablesTable["TableName"].asString();
|
||||
tables_.push_back(tablesObject);
|
||||
}
|
||||
auto allColumnsNode = value["Columns"]["Column"];
|
||||
for (auto valueColumnsColumn : allColumnsNode)
|
||||
{
|
||||
Column columnsObject;
|
||||
if(!valueColumnsColumn["DBClusterId"].isNull())
|
||||
columnsObject.dBClusterId = valueColumnsColumn["DBClusterId"].asString();
|
||||
if(!valueColumnsColumn["SchemaName"].isNull())
|
||||
columnsObject.schemaName = valueColumnsColumn["SchemaName"].asString();
|
||||
if(!valueColumnsColumn["TableName"].isNull())
|
||||
columnsObject.tableName = valueColumnsColumn["TableName"].asString();
|
||||
if(!valueColumnsColumn["ColumnName"].isNull())
|
||||
columnsObject.columnName = valueColumnsColumn["ColumnName"].asString();
|
||||
if(!valueColumnsColumn["Type"].isNull())
|
||||
columnsObject.type = valueColumnsColumn["Type"].asString();
|
||||
if(!valueColumnsColumn["PrimaryKey"].isNull())
|
||||
columnsObject.primaryKey = valueColumnsColumn["PrimaryKey"].asString() == "true";
|
||||
columns_.push_back(columnsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeAllDataSourceResult::Table> DescribeAllDataSourceResult::getTables()const
|
||||
{
|
||||
return tables_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAllDataSourceResult::Column> DescribeAllDataSourceResult::getColumns()const
|
||||
{
|
||||
return columns_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAllDataSourceResult::Schema> DescribeAllDataSourceResult::getSchemas()const
|
||||
{
|
||||
return schemas_;
|
||||
}
|
||||
|
||||
62
adb/src/model/DescribeAvailableResourceRequest.cc
Normal file
62
adb/src/model/DescribeAvailableResourceRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeAvailableResourceRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeAvailableResourceRequest;
|
||||
|
||||
DescribeAvailableResourceRequest::DescribeAvailableResourceRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeAvailableResource")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAvailableResourceRequest::~DescribeAvailableResourceRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeAvailableResourceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void DescribeAvailableResourceRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setCoreParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getChargeType()const
|
||||
{
|
||||
return chargeType_;
|
||||
}
|
||||
|
||||
void DescribeAvailableResourceRequest::setChargeType(const std::string& chargeType)
|
||||
{
|
||||
chargeType_ = chargeType;
|
||||
setCoreParameter("ChargeType", chargeType);
|
||||
}
|
||||
|
||||
93
adb/src/model/DescribeAvailableResourceResult.cc
Normal file
93
adb/src/model/DescribeAvailableResourceResult.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeAvailableResourceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeAvailableResourceResult::DescribeAvailableResourceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAvailableResourceResult::DescribeAvailableResourceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAvailableResourceResult::~DescribeAvailableResourceResult()
|
||||
{}
|
||||
|
||||
void DescribeAvailableResourceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAvailableZoneListNode = value["AvailableZoneList"]["AvailableZone"];
|
||||
for (auto valueAvailableZoneListAvailableZone : allAvailableZoneListNode)
|
||||
{
|
||||
AvailableZone availableZoneListObject;
|
||||
if(!valueAvailableZoneListAvailableZone["ZoneId"].isNull())
|
||||
availableZoneListObject.zoneId = valueAvailableZoneListAvailableZone["ZoneId"].asString();
|
||||
auto allSupportedSerialListNode = allAvailableZoneListNode["SupportedSerialList"]["SupportedSerial"];
|
||||
for (auto allAvailableZoneListNodeSupportedSerialListSupportedSerial : allSupportedSerialListNode)
|
||||
{
|
||||
AvailableZone::SupportedSerial supportedSerialListObject;
|
||||
if(!allAvailableZoneListNodeSupportedSerialListSupportedSerial["Serial"].isNull())
|
||||
supportedSerialListObject.serial = allAvailableZoneListNodeSupportedSerialListSupportedSerial["Serial"].asString();
|
||||
auto allSupportedInstanceClassListNode = allSupportedSerialListNode["SupportedInstanceClassList"]["SupportedInstanceClass"];
|
||||
for (auto allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass : allSupportedInstanceClassListNode)
|
||||
{
|
||||
AvailableZone::SupportedSerial::SupportedInstanceClass supportedInstanceClassListObject;
|
||||
if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].isNull())
|
||||
supportedInstanceClassListObject.instanceClass = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].asString();
|
||||
if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].isNull())
|
||||
supportedInstanceClassListObject.tips = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].asString();
|
||||
auto allSupportedNodeCountListNode = allSupportedInstanceClassListNode["SupportedNodeCountList"]["SupportedNodeCount"];
|
||||
for (auto allSupportedInstanceClassListNodeSupportedNodeCountListSupportedNodeCount : allSupportedNodeCountListNode)
|
||||
{
|
||||
AvailableZone::SupportedSerial::SupportedInstanceClass::SupportedNodeCount supportedNodeCountListObject;
|
||||
if(!allSupportedInstanceClassListNodeSupportedNodeCountListSupportedNodeCount["NodeCount"].isNull())
|
||||
supportedNodeCountListObject.nodeCount = allSupportedInstanceClassListNodeSupportedNodeCountListSupportedNodeCount["NodeCount"].asString();
|
||||
auto allStorageSize = value["StorageSize"]["StorageSize"];
|
||||
for (auto value : allStorageSize)
|
||||
supportedNodeCountListObject.storageSize.push_back(value.asString());
|
||||
supportedInstanceClassListObject.supportedNodeCountList.push_back(supportedNodeCountListObject);
|
||||
}
|
||||
supportedSerialListObject.supportedInstanceClassList.push_back(supportedInstanceClassListObject);
|
||||
}
|
||||
availableZoneListObject.supportedSerialList.push_back(supportedSerialListObject);
|
||||
}
|
||||
availableZoneList_.push_back(availableZoneListObject);
|
||||
}
|
||||
if(!value["RegionId"].isNull())
|
||||
regionId_ = value["RegionId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceResult::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAvailableResourceResult::AvailableZone> DescribeAvailableResourceResult::getAvailableZoneList()const
|
||||
{
|
||||
return availableZoneList_;
|
||||
}
|
||||
|
||||
117
adb/src/model/DescribeColumnsRequest.cc
Normal file
117
adb/src/model/DescribeColumnsRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeColumnsRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeColumnsRequest;
|
||||
|
||||
DescribeColumnsRequest::DescribeColumnsRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeColumns")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeColumnsRequest::~DescribeColumnsRequest()
|
||||
{}
|
||||
|
||||
long DescribeColumnsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeColumnsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeColumnsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getTableName()const
|
||||
{
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void DescribeColumnsRequest::setTableName(const std::string& tableName)
|
||||
{
|
||||
tableName_ = tableName;
|
||||
setCoreParameter("TableName", tableName);
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getSchemaName()const
|
||||
{
|
||||
return schemaName_;
|
||||
}
|
||||
|
||||
void DescribeColumnsRequest::setSchemaName(const std::string& schemaName)
|
||||
{
|
||||
schemaName_ = schemaName;
|
||||
setCoreParameter("SchemaName", schemaName);
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeColumnsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeColumnsRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeColumnsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeColumnsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeColumnsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeColumnsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
67
adb/src/model/DescribeColumnsResult.cc
Normal file
67
adb/src/model/DescribeColumnsResult.cc
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeColumnsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeColumnsResult::DescribeColumnsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeColumnsResult::DescribeColumnsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeColumnsResult::~DescribeColumnsResult()
|
||||
{}
|
||||
|
||||
void DescribeColumnsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["Column"];
|
||||
for (auto valueItemsColumn : allItemsNode)
|
||||
{
|
||||
Column itemsObject;
|
||||
if(!valueItemsColumn["DBClusterId"].isNull())
|
||||
itemsObject.dBClusterId = valueItemsColumn["DBClusterId"].asString();
|
||||
if(!valueItemsColumn["SchemaName"].isNull())
|
||||
itemsObject.schemaName = valueItemsColumn["SchemaName"].asString();
|
||||
if(!valueItemsColumn["TableName"].isNull())
|
||||
itemsObject.tableName = valueItemsColumn["TableName"].asString();
|
||||
if(!valueItemsColumn["ColumnName"].isNull())
|
||||
itemsObject.columnName = valueItemsColumn["ColumnName"].asString();
|
||||
if(!valueItemsColumn["Type"].isNull())
|
||||
itemsObject.type = valueItemsColumn["Type"].asString();
|
||||
if(!valueItemsColumn["PrimaryKey"].isNull())
|
||||
itemsObject.primaryKey = valueItemsColumn["PrimaryKey"].asString() == "true";
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeColumnsResult::Column> DescribeColumnsResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
@@ -112,12 +112,11 @@ std::vector<DescribeDBClustersRequest::Tag> DescribeDBClustersRequest::getTag()c
|
||||
void DescribeDBClustersRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1);
|
||||
setCoreParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setCoreParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -75,6 +75,8 @@ void DescribeDBClustersResult::parse(const std::string &payload)
|
||||
itemsObject.dBNodeCount = std::stol(valueItemsDBCluster["DBNodeCount"].asString());
|
||||
if(!valueItemsDBCluster["CommodityCode"].isNull())
|
||||
itemsObject.commodityCode = valueItemsDBCluster["CommodityCode"].asString();
|
||||
if(!valueItemsDBCluster["Category"].isNull())
|
||||
itemsObject.category = valueItemsDBCluster["Category"].asString();
|
||||
auto allTagsNode = allItemsNode["Tags"]["Tag"];
|
||||
for (auto allItemsNodeTagsTag : allTagsNode)
|
||||
{
|
||||
|
||||
139
adb/src/model/DescribeInclinedTablesRequest.cc
Normal file
139
adb/src/model/DescribeInclinedTablesRequest.cc
Normal file
@@ -0,0 +1,139 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeInclinedTablesRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeInclinedTablesRequest;
|
||||
|
||||
DescribeInclinedTablesRequest::DescribeInclinedTablesRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeInclinedTables")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeInclinedTablesRequest::~DescribeInclinedTablesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeInclinedTablesRequest::getTableType()const
|
||||
{
|
||||
return tableType_;
|
||||
}
|
||||
|
||||
void DescribeInclinedTablesRequest::setTableType(const std::string& tableType)
|
||||
{
|
||||
tableType_ = tableType;
|
||||
setCoreParameter("TableType", tableType);
|
||||
}
|
||||
|
||||
long DescribeInclinedTablesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeInclinedTablesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeInclinedTablesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeInclinedTablesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeInclinedTablesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeInclinedTablesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int DescribeInclinedTablesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeInclinedTablesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeInclinedTablesRequest::getOrder()const
|
||||
{
|
||||
return order_;
|
||||
}
|
||||
|
||||
void DescribeInclinedTablesRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setCoreParameter("Order", order);
|
||||
}
|
||||
|
||||
std::string DescribeInclinedTablesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeInclinedTablesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeInclinedTablesRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeInclinedTablesRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeInclinedTablesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeInclinedTablesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeInclinedTablesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeInclinedTablesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
86
adb/src/model/DescribeInclinedTablesResult.cc
Normal file
86
adb/src/model/DescribeInclinedTablesResult.cc
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeInclinedTablesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeInclinedTablesResult::DescribeInclinedTablesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeInclinedTablesResult::DescribeInclinedTablesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeInclinedTablesResult::~DescribeInclinedTablesResult()
|
||||
{}
|
||||
|
||||
void DescribeInclinedTablesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["Table"];
|
||||
for (auto valueItemsTable : allItemsNode)
|
||||
{
|
||||
Table itemsObject;
|
||||
if(!valueItemsTable["Schema"].isNull())
|
||||
itemsObject.schema = valueItemsTable["Schema"].asString();
|
||||
if(!valueItemsTable["Name"].isNull())
|
||||
itemsObject.name = valueItemsTable["Name"].asString();
|
||||
if(!valueItemsTable["Type"].isNull())
|
||||
itemsObject.type = valueItemsTable["Type"].asString();
|
||||
if(!valueItemsTable["Size"].isNull())
|
||||
itemsObject.size = std::stol(valueItemsTable["Size"].asString());
|
||||
if(!valueItemsTable["IsIncline"].isNull())
|
||||
itemsObject.isIncline = valueItemsTable["IsIncline"].asString() == "true";
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = value["TotalCount"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = value["PageNumber"].asString();
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = value["PageSize"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeInclinedTablesResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string DescribeInclinedTablesResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeInclinedTablesResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<DescribeInclinedTablesResult::Table> DescribeInclinedTablesResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
117
adb/src/model/DescribeLogStoreKeysRequest.cc
Normal file
117
adb/src/model/DescribeLogStoreKeysRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeLogStoreKeysRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeLogStoreKeysRequest;
|
||||
|
||||
DescribeLogStoreKeysRequest::DescribeLogStoreKeysRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeLogStoreKeys")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLogStoreKeysRequest::~DescribeLogStoreKeysRequest()
|
||||
{}
|
||||
|
||||
long DescribeLogStoreKeysRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getProjectName()const
|
||||
{
|
||||
return projectName_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setCoreParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getLogStoreName()const
|
||||
{
|
||||
return logStoreName_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setLogStoreName(const std::string& logStoreName)
|
||||
{
|
||||
logStoreName_ = logStoreName;
|
||||
setCoreParameter("LogStoreName", logStoreName);
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeLogStoreKeysRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeLogStoreKeysRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLogStoreKeysRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
52
adb/src/model/DescribeLogStoreKeysResult.cc
Normal file
52
adb/src/model/DescribeLogStoreKeysResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeLogStoreKeysResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeLogStoreKeysResult::DescribeLogStoreKeysResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLogStoreKeysResult::DescribeLogStoreKeysResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLogStoreKeysResult::~DescribeLogStoreKeysResult()
|
||||
{}
|
||||
|
||||
void DescribeLogStoreKeysResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLogStoreKeys = value["LogStoreKeys"]["LogStoreKey"];
|
||||
for (const auto &item : allLogStoreKeys)
|
||||
logStoreKeys_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeLogStoreKeysResult::getLogStoreKeys()const
|
||||
{
|
||||
return logStoreKeys_;
|
||||
}
|
||||
|
||||
117
adb/src/model/DescribeLoghubDetailRequest.cc
Normal file
117
adb/src/model/DescribeLoghubDetailRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeLoghubDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeLoghubDetailRequest;
|
||||
|
||||
DescribeLoghubDetailRequest::DescribeLoghubDetailRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeLoghubDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLoghubDetailRequest::~DescribeLoghubDetailRequest()
|
||||
{}
|
||||
|
||||
long DescribeLoghubDetailRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getProjectName()const
|
||||
{
|
||||
return projectName_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setCoreParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeLoghubDetailRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeLoghubDetailRequest::getExportName()const
|
||||
{
|
||||
return exportName_;
|
||||
}
|
||||
|
||||
void DescribeLoghubDetailRequest::setExportName(const std::string& exportName)
|
||||
{
|
||||
exportName_ = exportName;
|
||||
setCoreParameter("ExportName", exportName);
|
||||
}
|
||||
|
||||
96
adb/src/model/DescribeLoghubDetailResult.cc
Normal file
96
adb/src/model/DescribeLoghubDetailResult.cc
Normal file
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeLoghubDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeLoghubDetailResult::DescribeLoghubDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLoghubDetailResult::DescribeLoghubDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLoghubDetailResult::~DescribeLoghubDetailResult()
|
||||
{}
|
||||
|
||||
void DescribeLoghubDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto loghubInfoNode = value["LoghubInfo"];
|
||||
if(!loghubInfoNode["ProjectName"].isNull())
|
||||
loghubInfo_.projectName = loghubInfoNode["ProjectName"].asString();
|
||||
if(!loghubInfoNode["LogStoreName"].isNull())
|
||||
loghubInfo_.logStoreName = loghubInfoNode["LogStoreName"].asString();
|
||||
if(!loghubInfoNode["DeliverName"].isNull())
|
||||
loghubInfo_.deliverName = loghubInfoNode["DeliverName"].asString();
|
||||
if(!loghubInfoNode["DeliverTime"].isNull())
|
||||
loghubInfo_.deliverTime = loghubInfoNode["DeliverTime"].asString();
|
||||
if(!loghubInfoNode["DomainUrl"].isNull())
|
||||
loghubInfo_.domainUrl = loghubInfoNode["DomainUrl"].asString();
|
||||
if(!loghubInfoNode["Description"].isNull())
|
||||
loghubInfo_.description = loghubInfoNode["Description"].asString();
|
||||
if(!loghubInfoNode["SchemaName"].isNull())
|
||||
loghubInfo_.schemaName = loghubInfoNode["SchemaName"].asString();
|
||||
if(!loghubInfoNode["TableName"].isNull())
|
||||
loghubInfo_.tableName = loghubInfoNode["TableName"].asString();
|
||||
if(!loghubInfoNode["RegionId"].isNull())
|
||||
loghubInfo_.regionId = loghubInfoNode["RegionId"].asString();
|
||||
if(!loghubInfoNode["ZoneId"].isNull())
|
||||
loghubInfo_.zoneId = loghubInfoNode["ZoneId"].asString();
|
||||
if(!loghubInfoNode["UserName"].isNull())
|
||||
loghubInfo_.userName = loghubInfoNode["UserName"].asString();
|
||||
if(!loghubInfoNode["Password"].isNull())
|
||||
loghubInfo_.password = loghubInfoNode["Password"].asString();
|
||||
if(!loghubInfoNode["FilterDirtyData"].isNull())
|
||||
loghubInfo_.filterDirtyData = loghubInfoNode["FilterDirtyData"].asString() == "true";
|
||||
if(!loghubInfoNode["AccessKey"].isNull())
|
||||
loghubInfo_.accessKey = loghubInfoNode["AccessKey"].asString();
|
||||
if(!loghubInfoNode["AccessSecret"].isNull())
|
||||
loghubInfo_.accessSecret = loghubInfoNode["AccessSecret"].asString();
|
||||
if(!loghubInfoNode["DBType"].isNull())
|
||||
loghubInfo_.dBType = loghubInfoNode["DBType"].asString();
|
||||
if(!loghubInfoNode["DBClusterId"].isNull())
|
||||
loghubInfo_.dBClusterId = loghubInfoNode["DBClusterId"].asString();
|
||||
auto allLogHubStoresNode = loghubInfoNode["LogHubStores"]["LogHubStore"];
|
||||
for (auto loghubInfoNodeLogHubStoresLogHubStore : allLogHubStoresNode)
|
||||
{
|
||||
LoghubInfo::LogHubStore logHubStoreObject;
|
||||
if(!loghubInfoNodeLogHubStoresLogHubStore["LogKey"].isNull())
|
||||
logHubStoreObject.logKey = loghubInfoNodeLogHubStoresLogHubStore["LogKey"].asString();
|
||||
if(!loghubInfoNodeLogHubStoresLogHubStore["FieldKey"].isNull())
|
||||
logHubStoreObject.fieldKey = loghubInfoNodeLogHubStoresLogHubStore["FieldKey"].asString();
|
||||
if(!loghubInfoNodeLogHubStoresLogHubStore["Type"].isNull())
|
||||
logHubStoreObject.type = loghubInfoNodeLogHubStoresLogHubStore["Type"].asString();
|
||||
loghubInfo_.logHubStores.push_back(logHubStoreObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
DescribeLoghubDetailResult::LoghubInfo DescribeLoghubDetailResult::getLoghubInfo()const
|
||||
{
|
||||
return loghubInfo_;
|
||||
}
|
||||
|
||||
172
adb/src/model/DescribeProcessListRequest.cc
Normal file
172
adb/src/model/DescribeProcessListRequest.cc
Normal file
@@ -0,0 +1,172 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeProcessListRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeProcessListRequest;
|
||||
|
||||
DescribeProcessListRequest::DescribeProcessListRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeProcessList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeProcessListRequest::~DescribeProcessListRequest()
|
||||
{}
|
||||
|
||||
long DescribeProcessListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeProcessListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeProcessListRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeProcessListRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeProcessListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeProcessListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int DescribeProcessListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeProcessListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
bool DescribeProcessListRequest::getShowFull()const
|
||||
{
|
||||
return showFull_;
|
||||
}
|
||||
|
||||
void DescribeProcessListRequest::setShowFull(bool showFull)
|
||||
{
|
||||
showFull_ = showFull;
|
||||
setCoreParameter("ShowFull", showFull ? "true" : "false");
|
||||
}
|
||||
|
||||
int DescribeProcessListRequest::getRunningTime()const
|
||||
{
|
||||
return runningTime_;
|
||||
}
|
||||
|
||||
void DescribeProcessListRequest::setRunningTime(int runningTime)
|
||||
{
|
||||
runningTime_ = runningTime;
|
||||
setCoreParameter("RunningTime", std::to_string(runningTime));
|
||||
}
|
||||
|
||||
std::string DescribeProcessListRequest::getKeyword()const
|
||||
{
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
void DescribeProcessListRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setCoreParameter("Keyword", keyword);
|
||||
}
|
||||
|
||||
std::string DescribeProcessListRequest::getOrder()const
|
||||
{
|
||||
return order_;
|
||||
}
|
||||
|
||||
void DescribeProcessListRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setCoreParameter("Order", order);
|
||||
}
|
||||
|
||||
std::string DescribeProcessListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeProcessListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeProcessListRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeProcessListRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeProcessListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeProcessListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeProcessListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeProcessListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeProcessListRequest::getUser()const
|
||||
{
|
||||
return user_;
|
||||
}
|
||||
|
||||
void DescribeProcessListRequest::setUser(const std::string& user)
|
||||
{
|
||||
user_ = user;
|
||||
setCoreParameter("User", user);
|
||||
}
|
||||
|
||||
94
adb/src/model/DescribeProcessListResult.cc
Normal file
94
adb/src/model/DescribeProcessListResult.cc
Normal file
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeProcessListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeProcessListResult::DescribeProcessListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeProcessListResult::DescribeProcessListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeProcessListResult::~DescribeProcessListResult()
|
||||
{}
|
||||
|
||||
void DescribeProcessListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["Process"];
|
||||
for (auto valueItemsProcess : allItemsNode)
|
||||
{
|
||||
Process itemsObject;
|
||||
if(!valueItemsProcess["Id"].isNull())
|
||||
itemsObject.id = std::stoi(valueItemsProcess["Id"].asString());
|
||||
if(!valueItemsProcess["ProcessId"].isNull())
|
||||
itemsObject.processId = valueItemsProcess["ProcessId"].asString();
|
||||
if(!valueItemsProcess["User"].isNull())
|
||||
itemsObject.user = valueItemsProcess["User"].asString();
|
||||
if(!valueItemsProcess["Host"].isNull())
|
||||
itemsObject.host = valueItemsProcess["Host"].asString();
|
||||
if(!valueItemsProcess["DB"].isNull())
|
||||
itemsObject.dB = valueItemsProcess["DB"].asString();
|
||||
if(!valueItemsProcess["Command"].isNull())
|
||||
itemsObject.command = valueItemsProcess["Command"].asString();
|
||||
if(!valueItemsProcess["Time"].isNull())
|
||||
itemsObject.time = std::stoi(valueItemsProcess["Time"].asString());
|
||||
if(!valueItemsProcess["StartTime"].isNull())
|
||||
itemsObject.startTime = valueItemsProcess["StartTime"].asString();
|
||||
if(!valueItemsProcess["Info"].isNull())
|
||||
itemsObject.info = valueItemsProcess["Info"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = value["TotalCount"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = value["PageNumber"].asString();
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = value["PageSize"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeProcessListResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string DescribeProcessListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeProcessListResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<DescribeProcessListResult::Process> DescribeProcessListResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
@@ -82,3 +82,14 @@ void DescribeRegionsRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeRegionsRequest::getAcceptLanguage()const
|
||||
{
|
||||
return acceptLanguage_;
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setAcceptLanguage(const std::string& acceptLanguage)
|
||||
{
|
||||
acceptLanguage_ = acceptLanguage;
|
||||
setCoreParameter("AcceptLanguage", acceptLanguage);
|
||||
}
|
||||
|
||||
|
||||
@@ -45,6 +45,10 @@ void DescribeRegionsResult::parse(const std::string &payload)
|
||||
Region regionsObject;
|
||||
if(!valueRegionsRegion["RegionId"].isNull())
|
||||
regionsObject.regionId = valueRegionsRegion["RegionId"].asString();
|
||||
if(!valueRegionsRegion["LocalName"].isNull())
|
||||
regionsObject.localName = valueRegionsRegion["LocalName"].asString();
|
||||
if(!valueRegionsRegion["RegionEndpoint"].isNull())
|
||||
regionsObject.regionEndpoint = valueRegionsRegion["RegionEndpoint"].asString();
|
||||
auto allZonesNode = allRegionsNode["Zones"]["Zone"];
|
||||
for (auto allRegionsNodeZonesZone : allZonesNode)
|
||||
{
|
||||
@@ -53,6 +57,8 @@ void DescribeRegionsResult::parse(const std::string &payload)
|
||||
zonesObject.zoneId = allRegionsNodeZonesZone["ZoneId"].asString();
|
||||
if(!allRegionsNodeZonesZone["VpcEnabled"].isNull())
|
||||
zonesObject.vpcEnabled = allRegionsNodeZonesZone["VpcEnabled"].asString() == "true";
|
||||
if(!allRegionsNodeZonesZone["LocalName"].isNull())
|
||||
zonesObject.localName = allRegionsNodeZonesZone["LocalName"].asString();
|
||||
regionsObject.zones.push_back(zonesObject);
|
||||
}
|
||||
regions_.push_back(regionsObject);
|
||||
|
||||
95
adb/src/model/DescribeSchemasRequest.cc
Normal file
95
adb/src/model/DescribeSchemasRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeSchemasRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeSchemasRequest;
|
||||
|
||||
DescribeSchemasRequest::DescribeSchemasRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeSchemas")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSchemasRequest::~DescribeSchemasRequest()
|
||||
{}
|
||||
|
||||
long DescribeSchemasRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSchemasRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSchemasRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeSchemasRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeSchemasRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSchemasRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSchemasRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeSchemasRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeSchemasRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSchemasRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeSchemasRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeSchemasRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
59
adb/src/model/DescribeSchemasResult.cc
Normal file
59
adb/src/model/DescribeSchemasResult.cc
Normal file
@@ -0,0 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeSchemasResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeSchemasResult::DescribeSchemasResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeSchemasResult::DescribeSchemasResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeSchemasResult::~DescribeSchemasResult()
|
||||
{}
|
||||
|
||||
void DescribeSchemasResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["Schema"];
|
||||
for (auto valueItemsSchema : allItemsNode)
|
||||
{
|
||||
Schema itemsObject;
|
||||
if(!valueItemsSchema["DBClusterId"].isNull())
|
||||
itemsObject.dBClusterId = valueItemsSchema["DBClusterId"].asString();
|
||||
if(!valueItemsSchema["SchemaName"].isNull())
|
||||
itemsObject.schemaName = valueItemsSchema["SchemaName"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeSchemasResult::Schema> DescribeSchemasResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
117
adb/src/model/DescribeTableDetailRequest.cc
Normal file
117
adb/src/model/DescribeTableDetailRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeTableDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeTableDetailRequest;
|
||||
|
||||
DescribeTableDetailRequest::DescribeTableDetailRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeTableDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeTableDetailRequest::~DescribeTableDetailRequest()
|
||||
{}
|
||||
|
||||
long DescribeTableDetailRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeTableDetailRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeTableDetailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeTableDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeTableDetailRequest::getTableName()const
|
||||
{
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void DescribeTableDetailRequest::setTableName(const std::string& tableName)
|
||||
{
|
||||
tableName_ = tableName;
|
||||
setCoreParameter("TableName", tableName);
|
||||
}
|
||||
|
||||
std::string DescribeTableDetailRequest::getSchemaName()const
|
||||
{
|
||||
return schemaName_;
|
||||
}
|
||||
|
||||
void DescribeTableDetailRequest::setSchemaName(const std::string& schemaName)
|
||||
{
|
||||
schemaName_ = schemaName;
|
||||
setCoreParameter("SchemaName", schemaName);
|
||||
}
|
||||
|
||||
std::string DescribeTableDetailRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeTableDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeTableDetailRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeTableDetailRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeTableDetailRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeTableDetailRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeTableDetailRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeTableDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
66
adb/src/model/DescribeTableDetailResult.cc
Normal file
66
adb/src/model/DescribeTableDetailResult.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeTableDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeTableDetailResult::DescribeTableDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeTableDetailResult::DescribeTableDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeTableDetailResult::~DescribeTableDetailResult()
|
||||
{}
|
||||
|
||||
void DescribeTableDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["Shard"];
|
||||
for (auto valueItemsShard : allItemsNode)
|
||||
{
|
||||
Shard itemsObject;
|
||||
if(!valueItemsShard["Id"].isNull())
|
||||
itemsObject.id = std::stoi(valueItemsShard["Id"].asString());
|
||||
if(!valueItemsShard["Size"].isNull())
|
||||
itemsObject.size = std::stol(valueItemsShard["Size"].asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["AvgSize"].isNull())
|
||||
avgSize_ = std::stol(value["AvgSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
long DescribeTableDetailResult::getAvgSize()const
|
||||
{
|
||||
return avgSize_;
|
||||
}
|
||||
|
||||
std::vector<DescribeTableDetailResult::Shard> DescribeTableDetailResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
106
adb/src/model/DescribeTablesRequest.cc
Normal file
106
adb/src/model/DescribeTablesRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/DescribeTablesRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::DescribeTablesRequest;
|
||||
|
||||
DescribeTablesRequest::DescribeTablesRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "DescribeTables")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeTablesRequest::~DescribeTablesRequest()
|
||||
{}
|
||||
|
||||
long DescribeTablesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeTablesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeTablesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeTablesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeTablesRequest::getSchemaName()const
|
||||
{
|
||||
return schemaName_;
|
||||
}
|
||||
|
||||
void DescribeTablesRequest::setSchemaName(const std::string& schemaName)
|
||||
{
|
||||
schemaName_ = schemaName;
|
||||
setCoreParameter("SchemaName", schemaName);
|
||||
}
|
||||
|
||||
std::string DescribeTablesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeTablesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeTablesRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeTablesRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeTablesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeTablesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeTablesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeTablesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
61
adb/src/model/DescribeTablesResult.cc
Normal file
61
adb/src/model/DescribeTablesResult.cc
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* 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/adb/model/DescribeTablesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
DescribeTablesResult::DescribeTablesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeTablesResult::DescribeTablesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeTablesResult::~DescribeTablesResult()
|
||||
{}
|
||||
|
||||
void DescribeTablesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["Table"];
|
||||
for (auto valueItemsTable : allItemsNode)
|
||||
{
|
||||
Table itemsObject;
|
||||
if(!valueItemsTable["DBClusterId"].isNull())
|
||||
itemsObject.dBClusterId = valueItemsTable["DBClusterId"].asString();
|
||||
if(!valueItemsTable["SchemaName"].isNull())
|
||||
itemsObject.schemaName = valueItemsTable["SchemaName"].asString();
|
||||
if(!valueItemsTable["TableName"].isNull())
|
||||
itemsObject.tableName = valueItemsTable["TableName"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeTablesResult::Table> DescribeTablesResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
106
adb/src/model/KillProcessRequest.cc
Normal file
106
adb/src/model/KillProcessRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/KillProcessRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::KillProcessRequest;
|
||||
|
||||
KillProcessRequest::KillProcessRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "KillProcess")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
KillProcessRequest::~KillProcessRequest()
|
||||
{}
|
||||
|
||||
long KillProcessRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void KillProcessRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string KillProcessRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void KillProcessRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string KillProcessRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void KillProcessRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string KillProcessRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void KillProcessRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string KillProcessRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void KillProcessRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long KillProcessRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void KillProcessRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string KillProcessRequest::getProcessId()const
|
||||
{
|
||||
return processId_;
|
||||
}
|
||||
|
||||
void KillProcessRequest::setProcessId(const std::string& processId)
|
||||
{
|
||||
processId_ = processId;
|
||||
setCoreParameter("ProcessId", processId);
|
||||
}
|
||||
|
||||
44
adb/src/model/KillProcessResult.cc
Normal file
44
adb/src/model/KillProcessResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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/adb/model/KillProcessResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
KillProcessResult::KillProcessResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
KillProcessResult::KillProcessResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
KillProcessResult::~KillProcessResult()
|
||||
{}
|
||||
|
||||
void KillProcessResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -79,12 +79,11 @@ std::vector<ListTagResourcesRequest::Tag> ListTagResourcesRequest::getTag()const
|
||||
void ListTagResourcesRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1);
|
||||
setCoreParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setCoreParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -96,8 +95,9 @@ std::vector<std::string> ListTagResourcesRequest::getResourceId()const
|
||||
void ListTagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
for(int i = 0; i!= resourceId.size(); i++)
|
||||
setCoreParameter("ResourceId."+ std::to_string(i), resourceId.at(i));
|
||||
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
|
||||
setCoreParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getResourceOwnerAccount()const
|
||||
|
||||
128
adb/src/model/ModifyBackupPolicyRequest.cc
Normal file
128
adb/src/model/ModifyBackupPolicyRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* 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/adb/model/ModifyBackupPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::ModifyBackupPolicyRequest;
|
||||
|
||||
ModifyBackupPolicyRequest::ModifyBackupPolicyRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "ModifyBackupPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyBackupPolicyRequest::~ModifyBackupPolicyRequest()
|
||||
{}
|
||||
|
||||
long ModifyBackupPolicyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyBackupPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyBackupPolicyRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyBackupPolicyRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyBackupPolicyRequest::getPreferredBackupPeriod()const
|
||||
{
|
||||
return preferredBackupPeriod_;
|
||||
}
|
||||
|
||||
void ModifyBackupPolicyRequest::setPreferredBackupPeriod(const std::string& preferredBackupPeriod)
|
||||
{
|
||||
preferredBackupPeriod_ = preferredBackupPeriod;
|
||||
setCoreParameter("PreferredBackupPeriod", preferredBackupPeriod);
|
||||
}
|
||||
|
||||
std::string ModifyBackupPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyBackupPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyBackupPolicyRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void ModifyBackupPolicyRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string ModifyBackupPolicyRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyBackupPolicyRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ModifyBackupPolicyRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyBackupPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyBackupPolicyRequest::getPreferredBackupTime()const
|
||||
{
|
||||
return preferredBackupTime_;
|
||||
}
|
||||
|
||||
void ModifyBackupPolicyRequest::setPreferredBackupTime(const std::string& preferredBackupTime)
|
||||
{
|
||||
preferredBackupTime_ = preferredBackupTime;
|
||||
setCoreParameter("PreferredBackupTime", preferredBackupTime);
|
||||
}
|
||||
|
||||
std::string ModifyBackupPolicyRequest::getBackupRetentionPeriod()const
|
||||
{
|
||||
return backupRetentionPeriod_;
|
||||
}
|
||||
|
||||
void ModifyBackupPolicyRequest::setBackupRetentionPeriod(const std::string& backupRetentionPeriod)
|
||||
{
|
||||
backupRetentionPeriod_ = backupRetentionPeriod;
|
||||
setCoreParameter("BackupRetentionPeriod", backupRetentionPeriod);
|
||||
}
|
||||
|
||||
44
adb/src/model/ModifyBackupPolicyResult.cc
Normal file
44
adb/src/model/ModifyBackupPolicyResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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/adb/model/ModifyBackupPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
ModifyBackupPolicyResult::ModifyBackupPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyBackupPolicyResult::ModifyBackupPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyBackupPolicyResult::~ModifyBackupPolicyResult()
|
||||
{}
|
||||
|
||||
void ModifyBackupPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
139
adb/src/model/ModifyDBClusterRequest.cc
Normal file
139
adb/src/model/ModifyDBClusterRequest.cc
Normal file
@@ -0,0 +1,139 @@
|
||||
/*
|
||||
* 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/adb/model/ModifyDBClusterRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::ModifyDBClusterRequest;
|
||||
|
||||
ModifyDBClusterRequest::ModifyDBClusterRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "ModifyDBCluster")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyDBClusterRequest::~ModifyDBClusterRequest()
|
||||
{}
|
||||
|
||||
long ModifyDBClusterRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterRequest::getDBNodeClass()const
|
||||
{
|
||||
return dBNodeClass_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterRequest::setDBNodeClass(const std::string& dBNodeClass)
|
||||
{
|
||||
dBNodeClass_ = dBNodeClass;
|
||||
setCoreParameter("DBNodeClass", dBNodeClass);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ModifyDBClusterRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterRequest::getDBNodeGroupCount()const
|
||||
{
|
||||
return dBNodeGroupCount_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterRequest::setDBNodeGroupCount(const std::string& dBNodeGroupCount)
|
||||
{
|
||||
dBNodeGroupCount_ = dBNodeGroupCount;
|
||||
setCoreParameter("DBNodeGroupCount", dBNodeGroupCount);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterRequest::getDBNodeStorage()const
|
||||
{
|
||||
return dBNodeStorage_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterRequest::setDBNodeStorage(const std::string& dBNodeStorage)
|
||||
{
|
||||
dBNodeStorage_ = dBNodeStorage;
|
||||
setCoreParameter("DBNodeStorage", dBNodeStorage);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterRequest::getModifyType()const
|
||||
{
|
||||
return modifyType_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterRequest::setModifyType(const std::string& modifyType)
|
||||
{
|
||||
modifyType_ = modifyType;
|
||||
setCoreParameter("ModifyType", modifyType);
|
||||
}
|
||||
|
||||
58
adb/src/model/ModifyDBClusterResult.cc
Normal file
58
adb/src/model/ModifyDBClusterResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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/adb/model/ModifyDBClusterResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
ModifyDBClusterResult::ModifyDBClusterResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyDBClusterResult::ModifyDBClusterResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyDBClusterResult::~ModifyDBClusterResult()
|
||||
{}
|
||||
|
||||
void ModifyDBClusterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterResult::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
117
adb/src/model/ModifyLogBackupPolicyRequest.cc
Normal file
117
adb/src/model/ModifyLogBackupPolicyRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* 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/adb/model/ModifyLogBackupPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::ModifyLogBackupPolicyRequest;
|
||||
|
||||
ModifyLogBackupPolicyRequest::ModifyLogBackupPolicyRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "ModifyLogBackupPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyLogBackupPolicyRequest::~ModifyLogBackupPolicyRequest()
|
||||
{}
|
||||
|
||||
long ModifyLogBackupPolicyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyLogBackupPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyLogBackupPolicyRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyLogBackupPolicyRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyLogBackupPolicyRequest::getEnableBackupLog()const
|
||||
{
|
||||
return enableBackupLog_;
|
||||
}
|
||||
|
||||
void ModifyLogBackupPolicyRequest::setEnableBackupLog(const std::string& enableBackupLog)
|
||||
{
|
||||
enableBackupLog_ = enableBackupLog;
|
||||
setCoreParameter("EnableBackupLog", enableBackupLog);
|
||||
}
|
||||
|
||||
std::string ModifyLogBackupPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyLogBackupPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyLogBackupPolicyRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void ModifyLogBackupPolicyRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setCoreParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string ModifyLogBackupPolicyRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyLogBackupPolicyRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ModifyLogBackupPolicyRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyLogBackupPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyLogBackupPolicyRequest::getLogBackupRetentionPeriod()const
|
||||
{
|
||||
return logBackupRetentionPeriod_;
|
||||
}
|
||||
|
||||
void ModifyLogBackupPolicyRequest::setLogBackupRetentionPeriod(const std::string& logBackupRetentionPeriod)
|
||||
{
|
||||
logBackupRetentionPeriod_ = logBackupRetentionPeriod;
|
||||
setCoreParameter("LogBackupRetentionPeriod", logBackupRetentionPeriod);
|
||||
}
|
||||
|
||||
44
adb/src/model/ModifyLogBackupPolicyResult.cc
Normal file
44
adb/src/model/ModifyLogBackupPolicyResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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/adb/model/ModifyLogBackupPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
ModifyLogBackupPolicyResult::ModifyLogBackupPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyLogBackupPolicyResult::ModifyLogBackupPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyLogBackupPolicyResult::~ModifyLogBackupPolicyResult()
|
||||
{}
|
||||
|
||||
void ModifyLogBackupPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -68,12 +68,11 @@ std::vector<TagResourcesRequest::Tag> TagResourcesRequest::getTag()const
|
||||
void TagResourcesRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1);
|
||||
setCoreParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setCoreParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,8 +84,9 @@ std::vector<std::string> TagResourcesRequest::getResourceId()const
|
||||
void TagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
for(int i = 0; i!= resourceId.size(); i++)
|
||||
setCoreParameter("ResourceId."+ std::to_string(i), resourceId.at(i));
|
||||
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
|
||||
setCoreParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::string TagResourcesRequest::getResourceOwnerAccount()const
|
||||
|
||||
@@ -79,8 +79,9 @@ std::vector<std::string> UntagResourcesRequest::getResourceId()const
|
||||
void UntagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
for(int i = 0; i!= resourceId.size(); i++)
|
||||
setCoreParameter("ResourceId."+ std::to_string(i), resourceId.at(i));
|
||||
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
|
||||
setCoreParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getResourceOwnerAccount()const
|
||||
@@ -135,7 +136,8 @@ std::vector<std::string> UntagResourcesRequest::getTagKey()const
|
||||
void UntagResourcesRequest::setTagKey(const std::vector<std::string>& tagKey)
|
||||
{
|
||||
tagKey_ = tagKey;
|
||||
for(int i = 0; i!= tagKey.size(); i++)
|
||||
setCoreParameter("TagKey."+ std::to_string(i), tagKey.at(i));
|
||||
for(int dep1 = 0; dep1!= tagKey.size(); dep1++) {
|
||||
setCoreParameter("TagKey."+ std::to_string(dep1), tagKey.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -21,8 +21,12 @@ set(alidns_public_header
|
||||
include/alibabacloud/alidns/AlidnsExport.h )
|
||||
|
||||
set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/AddCustomLineRequest.h
|
||||
include/alibabacloud/alidns/model/AddCustomLineResult.h
|
||||
include/alibabacloud/alidns/model/AddDomainRequest.h
|
||||
include/alibabacloud/alidns/model/AddDomainResult.h
|
||||
include/alibabacloud/alidns/model/AddDomainBackupRequest.h
|
||||
include/alibabacloud/alidns/model/AddDomainBackupResult.h
|
||||
include/alibabacloud/alidns/model/AddDomainGroupRequest.h
|
||||
include/alibabacloud/alidns/model/AddDomainGroupResult.h
|
||||
include/alibabacloud/alidns/model/AddDomainRecordRequest.h
|
||||
@@ -35,10 +39,14 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/AddGtmMonitorResult.h
|
||||
include/alibabacloud/alidns/model/AddGtmRecoveryPlanRequest.h
|
||||
include/alibabacloud/alidns/model/AddGtmRecoveryPlanResult.h
|
||||
include/alibabacloud/alidns/model/BindInstanceDomainsRequest.h
|
||||
include/alibabacloud/alidns/model/BindInstanceDomainsResult.h
|
||||
include/alibabacloud/alidns/model/ChangeDomainGroupRequest.h
|
||||
include/alibabacloud/alidns/model/ChangeDomainGroupResult.h
|
||||
include/alibabacloud/alidns/model/ChangeDomainOfDnsProductRequest.h
|
||||
include/alibabacloud/alidns/model/ChangeDomainOfDnsProductResult.h
|
||||
include/alibabacloud/alidns/model/DeleteCustomLinesRequest.h
|
||||
include/alibabacloud/alidns/model/DeleteCustomLinesResult.h
|
||||
include/alibabacloud/alidns/model/DeleteDomainRequest.h
|
||||
include/alibabacloud/alidns/model/DeleteDomainResult.h
|
||||
include/alibabacloud/alidns/model/DeleteDomainGroupRequest.h
|
||||
@@ -57,6 +65,10 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/DescribeBatchResultCountResult.h
|
||||
include/alibabacloud/alidns/model/DescribeBatchResultDetailRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeBatchResultDetailResult.h
|
||||
include/alibabacloud/alidns/model/DescribeCustomLineRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeCustomLineResult.h
|
||||
include/alibabacloud/alidns/model/DescribeCustomLinesRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeCustomLinesResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsProductInstanceRequest.h
|
||||
@@ -123,16 +135,22 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/DescribeSubDomainRecordsResult.h
|
||||
include/alibabacloud/alidns/model/DescribeSupportLinesRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeSupportLinesResult.h
|
||||
include/alibabacloud/alidns/model/DescribeTransferDomainsRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeTransferDomainsResult.h
|
||||
include/alibabacloud/alidns/model/ExecuteGtmRecoveryPlanRequest.h
|
||||
include/alibabacloud/alidns/model/ExecuteGtmRecoveryPlanResult.h
|
||||
include/alibabacloud/alidns/model/GetMainDomainNameRequest.h
|
||||
include/alibabacloud/alidns/model/GetMainDomainNameResult.h
|
||||
include/alibabacloud/alidns/model/GetTxtRecordForVerifyRequest.h
|
||||
include/alibabacloud/alidns/model/GetTxtRecordForVerifyResult.h
|
||||
include/alibabacloud/alidns/model/ModifyHichinaDomainDNSRequest.h
|
||||
include/alibabacloud/alidns/model/ModifyHichinaDomainDNSResult.h
|
||||
include/alibabacloud/alidns/model/OperateBatchDomainRequest.h
|
||||
include/alibabacloud/alidns/model/OperateBatchDomainResult.h
|
||||
include/alibabacloud/alidns/model/PreviewGtmRecoveryPlanRequest.h
|
||||
include/alibabacloud/alidns/model/PreviewGtmRecoveryPlanResult.h
|
||||
include/alibabacloud/alidns/model/RetrieveDomainRequest.h
|
||||
include/alibabacloud/alidns/model/RetrieveDomainResult.h
|
||||
include/alibabacloud/alidns/model/RollbackGtmRecoveryPlanRequest.h
|
||||
include/alibabacloud/alidns/model/RollbackGtmRecoveryPlanResult.h
|
||||
include/alibabacloud/alidns/model/SetDNSSLBStatusRequest.h
|
||||
@@ -143,6 +161,12 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/SetGtmAccessModeResult.h
|
||||
include/alibabacloud/alidns/model/SetGtmMonitorStatusRequest.h
|
||||
include/alibabacloud/alidns/model/SetGtmMonitorStatusResult.h
|
||||
include/alibabacloud/alidns/model/TransferDomainRequest.h
|
||||
include/alibabacloud/alidns/model/TransferDomainResult.h
|
||||
include/alibabacloud/alidns/model/UnbindInstanceDomainsRequest.h
|
||||
include/alibabacloud/alidns/model/UnbindInstanceDomainsResult.h
|
||||
include/alibabacloud/alidns/model/UpdateCustomLineRequest.h
|
||||
include/alibabacloud/alidns/model/UpdateCustomLineResult.h
|
||||
include/alibabacloud/alidns/model/UpdateDNSSLBWeightRequest.h
|
||||
include/alibabacloud/alidns/model/UpdateDNSSLBWeightResult.h
|
||||
include/alibabacloud/alidns/model/UpdateDomainGroupRequest.h
|
||||
@@ -166,8 +190,12 @@ set(alidns_public_header_model
|
||||
|
||||
set(alidns_src
|
||||
src/AlidnsClient.cc
|
||||
src/model/AddCustomLineRequest.cc
|
||||
src/model/AddCustomLineResult.cc
|
||||
src/model/AddDomainRequest.cc
|
||||
src/model/AddDomainResult.cc
|
||||
src/model/AddDomainBackupRequest.cc
|
||||
src/model/AddDomainBackupResult.cc
|
||||
src/model/AddDomainGroupRequest.cc
|
||||
src/model/AddDomainGroupResult.cc
|
||||
src/model/AddDomainRecordRequest.cc
|
||||
@@ -180,10 +208,14 @@ set(alidns_src
|
||||
src/model/AddGtmMonitorResult.cc
|
||||
src/model/AddGtmRecoveryPlanRequest.cc
|
||||
src/model/AddGtmRecoveryPlanResult.cc
|
||||
src/model/BindInstanceDomainsRequest.cc
|
||||
src/model/BindInstanceDomainsResult.cc
|
||||
src/model/ChangeDomainGroupRequest.cc
|
||||
src/model/ChangeDomainGroupResult.cc
|
||||
src/model/ChangeDomainOfDnsProductRequest.cc
|
||||
src/model/ChangeDomainOfDnsProductResult.cc
|
||||
src/model/DeleteCustomLinesRequest.cc
|
||||
src/model/DeleteCustomLinesResult.cc
|
||||
src/model/DeleteDomainRequest.cc
|
||||
src/model/DeleteDomainResult.cc
|
||||
src/model/DeleteDomainGroupRequest.cc
|
||||
@@ -202,6 +234,10 @@ set(alidns_src
|
||||
src/model/DescribeBatchResultCountResult.cc
|
||||
src/model/DescribeBatchResultDetailRequest.cc
|
||||
src/model/DescribeBatchResultDetailResult.cc
|
||||
src/model/DescribeCustomLineRequest.cc
|
||||
src/model/DescribeCustomLineResult.cc
|
||||
src/model/DescribeCustomLinesRequest.cc
|
||||
src/model/DescribeCustomLinesResult.cc
|
||||
src/model/DescribeDNSSLBSubDomainsRequest.cc
|
||||
src/model/DescribeDNSSLBSubDomainsResult.cc
|
||||
src/model/DescribeDnsProductInstanceRequest.cc
|
||||
@@ -268,16 +304,22 @@ set(alidns_src
|
||||
src/model/DescribeSubDomainRecordsResult.cc
|
||||
src/model/DescribeSupportLinesRequest.cc
|
||||
src/model/DescribeSupportLinesResult.cc
|
||||
src/model/DescribeTransferDomainsRequest.cc
|
||||
src/model/DescribeTransferDomainsResult.cc
|
||||
src/model/ExecuteGtmRecoveryPlanRequest.cc
|
||||
src/model/ExecuteGtmRecoveryPlanResult.cc
|
||||
src/model/GetMainDomainNameRequest.cc
|
||||
src/model/GetMainDomainNameResult.cc
|
||||
src/model/GetTxtRecordForVerifyRequest.cc
|
||||
src/model/GetTxtRecordForVerifyResult.cc
|
||||
src/model/ModifyHichinaDomainDNSRequest.cc
|
||||
src/model/ModifyHichinaDomainDNSResult.cc
|
||||
src/model/OperateBatchDomainRequest.cc
|
||||
src/model/OperateBatchDomainResult.cc
|
||||
src/model/PreviewGtmRecoveryPlanRequest.cc
|
||||
src/model/PreviewGtmRecoveryPlanResult.cc
|
||||
src/model/RetrieveDomainRequest.cc
|
||||
src/model/RetrieveDomainResult.cc
|
||||
src/model/RollbackGtmRecoveryPlanRequest.cc
|
||||
src/model/RollbackGtmRecoveryPlanResult.cc
|
||||
src/model/SetDNSSLBStatusRequest.cc
|
||||
@@ -288,6 +330,12 @@ set(alidns_src
|
||||
src/model/SetGtmAccessModeResult.cc
|
||||
src/model/SetGtmMonitorStatusRequest.cc
|
||||
src/model/SetGtmMonitorStatusResult.cc
|
||||
src/model/TransferDomainRequest.cc
|
||||
src/model/TransferDomainResult.cc
|
||||
src/model/UnbindInstanceDomainsRequest.cc
|
||||
src/model/UnbindInstanceDomainsResult.cc
|
||||
src/model/UpdateCustomLineRequest.cc
|
||||
src/model/UpdateCustomLineResult.cc
|
||||
src/model/UpdateDNSSLBWeightRequest.cc
|
||||
src/model/UpdateDNSSLBWeightResult.cc
|
||||
src/model/UpdateDomainGroupRequest.cc
|
||||
|
||||
@@ -22,8 +22,12 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "AlidnsExport.h"
|
||||
#include "model/AddCustomLineRequest.h"
|
||||
#include "model/AddCustomLineResult.h"
|
||||
#include "model/AddDomainRequest.h"
|
||||
#include "model/AddDomainResult.h"
|
||||
#include "model/AddDomainBackupRequest.h"
|
||||
#include "model/AddDomainBackupResult.h"
|
||||
#include "model/AddDomainGroupRequest.h"
|
||||
#include "model/AddDomainGroupResult.h"
|
||||
#include "model/AddDomainRecordRequest.h"
|
||||
@@ -36,10 +40,14 @@
|
||||
#include "model/AddGtmMonitorResult.h"
|
||||
#include "model/AddGtmRecoveryPlanRequest.h"
|
||||
#include "model/AddGtmRecoveryPlanResult.h"
|
||||
#include "model/BindInstanceDomainsRequest.h"
|
||||
#include "model/BindInstanceDomainsResult.h"
|
||||
#include "model/ChangeDomainGroupRequest.h"
|
||||
#include "model/ChangeDomainGroupResult.h"
|
||||
#include "model/ChangeDomainOfDnsProductRequest.h"
|
||||
#include "model/ChangeDomainOfDnsProductResult.h"
|
||||
#include "model/DeleteCustomLinesRequest.h"
|
||||
#include "model/DeleteCustomLinesResult.h"
|
||||
#include "model/DeleteDomainRequest.h"
|
||||
#include "model/DeleteDomainResult.h"
|
||||
#include "model/DeleteDomainGroupRequest.h"
|
||||
@@ -58,6 +66,10 @@
|
||||
#include "model/DescribeBatchResultCountResult.h"
|
||||
#include "model/DescribeBatchResultDetailRequest.h"
|
||||
#include "model/DescribeBatchResultDetailResult.h"
|
||||
#include "model/DescribeCustomLineRequest.h"
|
||||
#include "model/DescribeCustomLineResult.h"
|
||||
#include "model/DescribeCustomLinesRequest.h"
|
||||
#include "model/DescribeCustomLinesResult.h"
|
||||
#include "model/DescribeDNSSLBSubDomainsRequest.h"
|
||||
#include "model/DescribeDNSSLBSubDomainsResult.h"
|
||||
#include "model/DescribeDnsProductInstanceRequest.h"
|
||||
@@ -124,16 +136,22 @@
|
||||
#include "model/DescribeSubDomainRecordsResult.h"
|
||||
#include "model/DescribeSupportLinesRequest.h"
|
||||
#include "model/DescribeSupportLinesResult.h"
|
||||
#include "model/DescribeTransferDomainsRequest.h"
|
||||
#include "model/DescribeTransferDomainsResult.h"
|
||||
#include "model/ExecuteGtmRecoveryPlanRequest.h"
|
||||
#include "model/ExecuteGtmRecoveryPlanResult.h"
|
||||
#include "model/GetMainDomainNameRequest.h"
|
||||
#include "model/GetMainDomainNameResult.h"
|
||||
#include "model/GetTxtRecordForVerifyRequest.h"
|
||||
#include "model/GetTxtRecordForVerifyResult.h"
|
||||
#include "model/ModifyHichinaDomainDNSRequest.h"
|
||||
#include "model/ModifyHichinaDomainDNSResult.h"
|
||||
#include "model/OperateBatchDomainRequest.h"
|
||||
#include "model/OperateBatchDomainResult.h"
|
||||
#include "model/PreviewGtmRecoveryPlanRequest.h"
|
||||
#include "model/PreviewGtmRecoveryPlanResult.h"
|
||||
#include "model/RetrieveDomainRequest.h"
|
||||
#include "model/RetrieveDomainResult.h"
|
||||
#include "model/RollbackGtmRecoveryPlanRequest.h"
|
||||
#include "model/RollbackGtmRecoveryPlanResult.h"
|
||||
#include "model/SetDNSSLBStatusRequest.h"
|
||||
@@ -144,6 +162,12 @@
|
||||
#include "model/SetGtmAccessModeResult.h"
|
||||
#include "model/SetGtmMonitorStatusRequest.h"
|
||||
#include "model/SetGtmMonitorStatusResult.h"
|
||||
#include "model/TransferDomainRequest.h"
|
||||
#include "model/TransferDomainResult.h"
|
||||
#include "model/UnbindInstanceDomainsRequest.h"
|
||||
#include "model/UnbindInstanceDomainsResult.h"
|
||||
#include "model/UpdateCustomLineRequest.h"
|
||||
#include "model/UpdateCustomLineResult.h"
|
||||
#include "model/UpdateDNSSLBWeightRequest.h"
|
||||
#include "model/UpdateDNSSLBWeightResult.h"
|
||||
#include "model/UpdateDomainGroupRequest.h"
|
||||
@@ -173,9 +197,15 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AlidnsClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AddCustomLineResult> AddCustomLineOutcome;
|
||||
typedef std::future<AddCustomLineOutcome> AddCustomLineOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::AddCustomLineRequest&, const AddCustomLineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddCustomLineAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddDomainResult> AddDomainOutcome;
|
||||
typedef std::future<AddDomainOutcome> AddDomainOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::AddDomainRequest&, const AddDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddDomainBackupResult> AddDomainBackupOutcome;
|
||||
typedef std::future<AddDomainBackupOutcome> AddDomainBackupOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::AddDomainBackupRequest&, const AddDomainBackupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDomainBackupAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddDomainGroupResult> AddDomainGroupOutcome;
|
||||
typedef std::future<AddDomainGroupOutcome> AddDomainGroupOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::AddDomainGroupRequest&, const AddDomainGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDomainGroupAsyncHandler;
|
||||
@@ -194,12 +224,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AddGtmRecoveryPlanResult> AddGtmRecoveryPlanOutcome;
|
||||
typedef std::future<AddGtmRecoveryPlanOutcome> AddGtmRecoveryPlanOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::AddGtmRecoveryPlanRequest&, const AddGtmRecoveryPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddGtmRecoveryPlanAsyncHandler;
|
||||
typedef Outcome<Error, Model::BindInstanceDomainsResult> BindInstanceDomainsOutcome;
|
||||
typedef std::future<BindInstanceDomainsOutcome> BindInstanceDomainsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::BindInstanceDomainsRequest&, const BindInstanceDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindInstanceDomainsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ChangeDomainGroupResult> ChangeDomainGroupOutcome;
|
||||
typedef std::future<ChangeDomainGroupOutcome> ChangeDomainGroupOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::ChangeDomainGroupRequest&, const ChangeDomainGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeDomainGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ChangeDomainOfDnsProductResult> ChangeDomainOfDnsProductOutcome;
|
||||
typedef std::future<ChangeDomainOfDnsProductOutcome> ChangeDomainOfDnsProductOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::ChangeDomainOfDnsProductRequest&, const ChangeDomainOfDnsProductOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeDomainOfDnsProductAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCustomLinesResult> DeleteCustomLinesOutcome;
|
||||
typedef std::future<DeleteCustomLinesOutcome> DeleteCustomLinesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DeleteCustomLinesRequest&, const DeleteCustomLinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCustomLinesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDomainResult> DeleteDomainOutcome;
|
||||
typedef std::future<DeleteDomainOutcome> DeleteDomainOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DeleteDomainRequest&, const DeleteDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDomainAsyncHandler;
|
||||
@@ -227,6 +263,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeBatchResultDetailResult> DescribeBatchResultDetailOutcome;
|
||||
typedef std::future<DescribeBatchResultDetailOutcome> DescribeBatchResultDetailOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeBatchResultDetailRequest&, const DescribeBatchResultDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBatchResultDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCustomLineResult> DescribeCustomLineOutcome;
|
||||
typedef std::future<DescribeCustomLineOutcome> DescribeCustomLineOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeCustomLineRequest&, const DescribeCustomLineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCustomLineAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCustomLinesResult> DescribeCustomLinesOutcome;
|
||||
typedef std::future<DescribeCustomLinesOutcome> DescribeCustomLinesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeCustomLinesRequest&, const DescribeCustomLinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCustomLinesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDNSSLBSubDomainsResult> DescribeDNSSLBSubDomainsOutcome;
|
||||
typedef std::future<DescribeDNSSLBSubDomainsOutcome> DescribeDNSSLBSubDomainsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDNSSLBSubDomainsRequest&, const DescribeDNSSLBSubDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDNSSLBSubDomainsAsyncHandler;
|
||||
@@ -326,12 +368,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeSupportLinesResult> DescribeSupportLinesOutcome;
|
||||
typedef std::future<DescribeSupportLinesOutcome> DescribeSupportLinesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeSupportLinesRequest&, const DescribeSupportLinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSupportLinesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTransferDomainsResult> DescribeTransferDomainsOutcome;
|
||||
typedef std::future<DescribeTransferDomainsOutcome> DescribeTransferDomainsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeTransferDomainsRequest&, const DescribeTransferDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTransferDomainsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExecuteGtmRecoveryPlanResult> ExecuteGtmRecoveryPlanOutcome;
|
||||
typedef std::future<ExecuteGtmRecoveryPlanOutcome> ExecuteGtmRecoveryPlanOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::ExecuteGtmRecoveryPlanRequest&, const ExecuteGtmRecoveryPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExecuteGtmRecoveryPlanAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMainDomainNameResult> GetMainDomainNameOutcome;
|
||||
typedef std::future<GetMainDomainNameOutcome> GetMainDomainNameOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::GetMainDomainNameRequest&, const GetMainDomainNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMainDomainNameAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTxtRecordForVerifyResult> GetTxtRecordForVerifyOutcome;
|
||||
typedef std::future<GetTxtRecordForVerifyOutcome> GetTxtRecordForVerifyOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::GetTxtRecordForVerifyRequest&, const GetTxtRecordForVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTxtRecordForVerifyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyHichinaDomainDNSResult> ModifyHichinaDomainDNSOutcome;
|
||||
typedef std::future<ModifyHichinaDomainDNSOutcome> ModifyHichinaDomainDNSOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::ModifyHichinaDomainDNSRequest&, const ModifyHichinaDomainDNSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHichinaDomainDNSAsyncHandler;
|
||||
@@ -341,6 +389,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::PreviewGtmRecoveryPlanResult> PreviewGtmRecoveryPlanOutcome;
|
||||
typedef std::future<PreviewGtmRecoveryPlanOutcome> PreviewGtmRecoveryPlanOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::PreviewGtmRecoveryPlanRequest&, const PreviewGtmRecoveryPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PreviewGtmRecoveryPlanAsyncHandler;
|
||||
typedef Outcome<Error, Model::RetrieveDomainResult> RetrieveDomainOutcome;
|
||||
typedef std::future<RetrieveDomainOutcome> RetrieveDomainOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::RetrieveDomainRequest&, const RetrieveDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RetrieveDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::RollbackGtmRecoveryPlanResult> RollbackGtmRecoveryPlanOutcome;
|
||||
typedef std::future<RollbackGtmRecoveryPlanOutcome> RollbackGtmRecoveryPlanOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::RollbackGtmRecoveryPlanRequest&, const RollbackGtmRecoveryPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RollbackGtmRecoveryPlanAsyncHandler;
|
||||
@@ -356,6 +407,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetGtmMonitorStatusResult> SetGtmMonitorStatusOutcome;
|
||||
typedef std::future<SetGtmMonitorStatusOutcome> SetGtmMonitorStatusOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::SetGtmMonitorStatusRequest&, const SetGtmMonitorStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetGtmMonitorStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::TransferDomainResult> TransferDomainOutcome;
|
||||
typedef std::future<TransferDomainOutcome> TransferDomainOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::TransferDomainRequest&, const TransferDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TransferDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnbindInstanceDomainsResult> UnbindInstanceDomainsOutcome;
|
||||
typedef std::future<UnbindInstanceDomainsOutcome> UnbindInstanceDomainsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UnbindInstanceDomainsRequest&, const UnbindInstanceDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindInstanceDomainsAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateCustomLineResult> UpdateCustomLineOutcome;
|
||||
typedef std::future<UpdateCustomLineOutcome> UpdateCustomLineOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateCustomLineRequest&, const UpdateCustomLineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCustomLineAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDNSSLBWeightResult> UpdateDNSSLBWeightOutcome;
|
||||
typedef std::future<UpdateDNSSLBWeightOutcome> UpdateDNSSLBWeightOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateDNSSLBWeightRequest&, const UpdateDNSSLBWeightOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDNSSLBWeightAsyncHandler;
|
||||
@@ -391,9 +451,15 @@ namespace AlibabaCloud
|
||||
AlidnsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
AlidnsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~AlidnsClient();
|
||||
AddCustomLineOutcome addCustomLine(const Model::AddCustomLineRequest &request)const;
|
||||
void addCustomLineAsync(const Model::AddCustomLineRequest& request, const AddCustomLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddCustomLineOutcomeCallable addCustomLineCallable(const Model::AddCustomLineRequest& request) const;
|
||||
AddDomainOutcome addDomain(const Model::AddDomainRequest &request)const;
|
||||
void addDomainAsync(const Model::AddDomainRequest& request, const AddDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddDomainOutcomeCallable addDomainCallable(const Model::AddDomainRequest& request) const;
|
||||
AddDomainBackupOutcome addDomainBackup(const Model::AddDomainBackupRequest &request)const;
|
||||
void addDomainBackupAsync(const Model::AddDomainBackupRequest& request, const AddDomainBackupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddDomainBackupOutcomeCallable addDomainBackupCallable(const Model::AddDomainBackupRequest& request) const;
|
||||
AddDomainGroupOutcome addDomainGroup(const Model::AddDomainGroupRequest &request)const;
|
||||
void addDomainGroupAsync(const Model::AddDomainGroupRequest& request, const AddDomainGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddDomainGroupOutcomeCallable addDomainGroupCallable(const Model::AddDomainGroupRequest& request) const;
|
||||
@@ -412,12 +478,18 @@ namespace AlibabaCloud
|
||||
AddGtmRecoveryPlanOutcome addGtmRecoveryPlan(const Model::AddGtmRecoveryPlanRequest &request)const;
|
||||
void addGtmRecoveryPlanAsync(const Model::AddGtmRecoveryPlanRequest& request, const AddGtmRecoveryPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddGtmRecoveryPlanOutcomeCallable addGtmRecoveryPlanCallable(const Model::AddGtmRecoveryPlanRequest& request) const;
|
||||
BindInstanceDomainsOutcome bindInstanceDomains(const Model::BindInstanceDomainsRequest &request)const;
|
||||
void bindInstanceDomainsAsync(const Model::BindInstanceDomainsRequest& request, const BindInstanceDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BindInstanceDomainsOutcomeCallable bindInstanceDomainsCallable(const Model::BindInstanceDomainsRequest& request) const;
|
||||
ChangeDomainGroupOutcome changeDomainGroup(const Model::ChangeDomainGroupRequest &request)const;
|
||||
void changeDomainGroupAsync(const Model::ChangeDomainGroupRequest& request, const ChangeDomainGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeDomainGroupOutcomeCallable changeDomainGroupCallable(const Model::ChangeDomainGroupRequest& request) const;
|
||||
ChangeDomainOfDnsProductOutcome changeDomainOfDnsProduct(const Model::ChangeDomainOfDnsProductRequest &request)const;
|
||||
void changeDomainOfDnsProductAsync(const Model::ChangeDomainOfDnsProductRequest& request, const ChangeDomainOfDnsProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeDomainOfDnsProductOutcomeCallable changeDomainOfDnsProductCallable(const Model::ChangeDomainOfDnsProductRequest& request) const;
|
||||
DeleteCustomLinesOutcome deleteCustomLines(const Model::DeleteCustomLinesRequest &request)const;
|
||||
void deleteCustomLinesAsync(const Model::DeleteCustomLinesRequest& request, const DeleteCustomLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCustomLinesOutcomeCallable deleteCustomLinesCallable(const Model::DeleteCustomLinesRequest& request) const;
|
||||
DeleteDomainOutcome deleteDomain(const Model::DeleteDomainRequest &request)const;
|
||||
void deleteDomainAsync(const Model::DeleteDomainRequest& request, const DeleteDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDomainOutcomeCallable deleteDomainCallable(const Model::DeleteDomainRequest& request) const;
|
||||
@@ -445,6 +517,12 @@ namespace AlibabaCloud
|
||||
DescribeBatchResultDetailOutcome describeBatchResultDetail(const Model::DescribeBatchResultDetailRequest &request)const;
|
||||
void describeBatchResultDetailAsync(const Model::DescribeBatchResultDetailRequest& request, const DescribeBatchResultDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeBatchResultDetailOutcomeCallable describeBatchResultDetailCallable(const Model::DescribeBatchResultDetailRequest& request) const;
|
||||
DescribeCustomLineOutcome describeCustomLine(const Model::DescribeCustomLineRequest &request)const;
|
||||
void describeCustomLineAsync(const Model::DescribeCustomLineRequest& request, const DescribeCustomLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCustomLineOutcomeCallable describeCustomLineCallable(const Model::DescribeCustomLineRequest& request) const;
|
||||
DescribeCustomLinesOutcome describeCustomLines(const Model::DescribeCustomLinesRequest &request)const;
|
||||
void describeCustomLinesAsync(const Model::DescribeCustomLinesRequest& request, const DescribeCustomLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCustomLinesOutcomeCallable describeCustomLinesCallable(const Model::DescribeCustomLinesRequest& request) const;
|
||||
DescribeDNSSLBSubDomainsOutcome describeDNSSLBSubDomains(const Model::DescribeDNSSLBSubDomainsRequest &request)const;
|
||||
void describeDNSSLBSubDomainsAsync(const Model::DescribeDNSSLBSubDomainsRequest& request, const DescribeDNSSLBSubDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDNSSLBSubDomainsOutcomeCallable describeDNSSLBSubDomainsCallable(const Model::DescribeDNSSLBSubDomainsRequest& request) const;
|
||||
@@ -544,12 +622,18 @@ namespace AlibabaCloud
|
||||
DescribeSupportLinesOutcome describeSupportLines(const Model::DescribeSupportLinesRequest &request)const;
|
||||
void describeSupportLinesAsync(const Model::DescribeSupportLinesRequest& request, const DescribeSupportLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSupportLinesOutcomeCallable describeSupportLinesCallable(const Model::DescribeSupportLinesRequest& request) const;
|
||||
DescribeTransferDomainsOutcome describeTransferDomains(const Model::DescribeTransferDomainsRequest &request)const;
|
||||
void describeTransferDomainsAsync(const Model::DescribeTransferDomainsRequest& request, const DescribeTransferDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTransferDomainsOutcomeCallable describeTransferDomainsCallable(const Model::DescribeTransferDomainsRequest& request) const;
|
||||
ExecuteGtmRecoveryPlanOutcome executeGtmRecoveryPlan(const Model::ExecuteGtmRecoveryPlanRequest &request)const;
|
||||
void executeGtmRecoveryPlanAsync(const Model::ExecuteGtmRecoveryPlanRequest& request, const ExecuteGtmRecoveryPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExecuteGtmRecoveryPlanOutcomeCallable executeGtmRecoveryPlanCallable(const Model::ExecuteGtmRecoveryPlanRequest& request) const;
|
||||
GetMainDomainNameOutcome getMainDomainName(const Model::GetMainDomainNameRequest &request)const;
|
||||
void getMainDomainNameAsync(const Model::GetMainDomainNameRequest& request, const GetMainDomainNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMainDomainNameOutcomeCallable getMainDomainNameCallable(const Model::GetMainDomainNameRequest& request) const;
|
||||
GetTxtRecordForVerifyOutcome getTxtRecordForVerify(const Model::GetTxtRecordForVerifyRequest &request)const;
|
||||
void getTxtRecordForVerifyAsync(const Model::GetTxtRecordForVerifyRequest& request, const GetTxtRecordForVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTxtRecordForVerifyOutcomeCallable getTxtRecordForVerifyCallable(const Model::GetTxtRecordForVerifyRequest& request) const;
|
||||
ModifyHichinaDomainDNSOutcome modifyHichinaDomainDNS(const Model::ModifyHichinaDomainDNSRequest &request)const;
|
||||
void modifyHichinaDomainDNSAsync(const Model::ModifyHichinaDomainDNSRequest& request, const ModifyHichinaDomainDNSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyHichinaDomainDNSOutcomeCallable modifyHichinaDomainDNSCallable(const Model::ModifyHichinaDomainDNSRequest& request) const;
|
||||
@@ -559,6 +643,9 @@ namespace AlibabaCloud
|
||||
PreviewGtmRecoveryPlanOutcome previewGtmRecoveryPlan(const Model::PreviewGtmRecoveryPlanRequest &request)const;
|
||||
void previewGtmRecoveryPlanAsync(const Model::PreviewGtmRecoveryPlanRequest& request, const PreviewGtmRecoveryPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PreviewGtmRecoveryPlanOutcomeCallable previewGtmRecoveryPlanCallable(const Model::PreviewGtmRecoveryPlanRequest& request) const;
|
||||
RetrieveDomainOutcome retrieveDomain(const Model::RetrieveDomainRequest &request)const;
|
||||
void retrieveDomainAsync(const Model::RetrieveDomainRequest& request, const RetrieveDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RetrieveDomainOutcomeCallable retrieveDomainCallable(const Model::RetrieveDomainRequest& request) const;
|
||||
RollbackGtmRecoveryPlanOutcome rollbackGtmRecoveryPlan(const Model::RollbackGtmRecoveryPlanRequest &request)const;
|
||||
void rollbackGtmRecoveryPlanAsync(const Model::RollbackGtmRecoveryPlanRequest& request, const RollbackGtmRecoveryPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RollbackGtmRecoveryPlanOutcomeCallable rollbackGtmRecoveryPlanCallable(const Model::RollbackGtmRecoveryPlanRequest& request) const;
|
||||
@@ -574,6 +661,15 @@ namespace AlibabaCloud
|
||||
SetGtmMonitorStatusOutcome setGtmMonitorStatus(const Model::SetGtmMonitorStatusRequest &request)const;
|
||||
void setGtmMonitorStatusAsync(const Model::SetGtmMonitorStatusRequest& request, const SetGtmMonitorStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetGtmMonitorStatusOutcomeCallable setGtmMonitorStatusCallable(const Model::SetGtmMonitorStatusRequest& request) const;
|
||||
TransferDomainOutcome transferDomain(const Model::TransferDomainRequest &request)const;
|
||||
void transferDomainAsync(const Model::TransferDomainRequest& request, const TransferDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TransferDomainOutcomeCallable transferDomainCallable(const Model::TransferDomainRequest& request) const;
|
||||
UnbindInstanceDomainsOutcome unbindInstanceDomains(const Model::UnbindInstanceDomainsRequest &request)const;
|
||||
void unbindInstanceDomainsAsync(const Model::UnbindInstanceDomainsRequest& request, const UnbindInstanceDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnbindInstanceDomainsOutcomeCallable unbindInstanceDomainsCallable(const Model::UnbindInstanceDomainsRequest& request) const;
|
||||
UpdateCustomLineOutcome updateCustomLine(const Model::UpdateCustomLineRequest &request)const;
|
||||
void updateCustomLineAsync(const Model::UpdateCustomLineRequest& request, const UpdateCustomLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateCustomLineOutcomeCallable updateCustomLineCallable(const Model::UpdateCustomLineRequest& request) const;
|
||||
UpdateDNSSLBWeightOutcome updateDNSSLBWeight(const Model::UpdateDNSSLBWeightRequest &request)const;
|
||||
void updateDNSSLBWeightAsync(const Model::UpdateDNSSLBWeightRequest& request, const UpdateDNSSLBWeightAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDNSSLBWeightOutcomeCallable updateDNSSLBWeightCallable(const Model::UpdateDNSSLBWeightRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* 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_ALIDNS_MODEL_ADDCUSTOMLINEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_ADDCUSTOMLINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AddCustomLineRequest : public RpcServiceRequest
|
||||
{
|
||||
struct IpSegment
|
||||
{
|
||||
std::string endIp;
|
||||
std::string startIp;
|
||||
};
|
||||
|
||||
public:
|
||||
AddCustomLineRequest();
|
||||
~AddCustomLineRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::vector<IpSegment> getIpSegment()const;
|
||||
void setIpSegment(const std::vector<IpSegment>& ipSegment);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLineName()const;
|
||||
void setLineName(const std::string& lineName);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::vector<IpSegment> ipSegment_;
|
||||
std::string userClientIp_;
|
||||
std::string lineName_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDCUSTOMLINEREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_ALIDNS_MODEL_ADDCUSTOMLINERESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_ADDCUSTOMLINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AddCustomLineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddCustomLineResult();
|
||||
explicit AddCustomLineResult(const std::string &payload);
|
||||
~AddCustomLineResult();
|
||||
long getLineId()const;
|
||||
std::string getLineCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long lineId_;
|
||||
std::string lineCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDCUSTOMLINERESULT_H_
|
||||
@@ -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_ALIDNS_MODEL_ADDDOMAINBACKUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINBACKUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AddDomainBackupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddDomainBackupRequest();
|
||||
~AddDomainBackupRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getPeriodType()const;
|
||||
void setPeriodType(const std::string& periodType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::string periodType_;
|
||||
std::string accessKeyId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINBACKUPREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_ALIDNS_MODEL_ADDDOMAINBACKUPRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINBACKUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AddDomainBackupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddDomainBackupResult();
|
||||
explicit AddDomainBackupResult(const std::string &payload);
|
||||
~AddDomainBackupResult();
|
||||
std::string getPeriodType()const;
|
||||
std::string getDomainName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string periodType_;
|
||||
std::string domainName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINBACKUPRESULT_H_
|
||||
@@ -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_ALIDNS_MODEL_BINDINSTANCEDOMAINSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_BINDINSTANCEDOMAINSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT BindInstanceDomainsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BindInstanceDomainsRequest();
|
||||
~BindInstanceDomainsRequest();
|
||||
|
||||
std::string getDomainNames()const;
|
||||
void setDomainNames(const std::string& domainNames);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string domainNames_;
|
||||
std::string instanceId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_BINDINSTANCEDOMAINSREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_ALIDNS_MODEL_BINDINSTANCEDOMAINSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_BINDINSTANCEDOMAINSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT BindInstanceDomainsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BindInstanceDomainsResult();
|
||||
explicit BindInstanceDomainsResult(const std::string &payload);
|
||||
~BindInstanceDomainsResult();
|
||||
int getFailedCount()const;
|
||||
int getSuccessCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int failedCount_;
|
||||
int successCount_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_BINDINSTANCEDOMAINSRESULT_H_
|
||||
@@ -0,0 +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_ALIDNS_MODEL_DELETECUSTOMLINESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DELETECUSTOMLINESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DeleteCustomLinesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCustomLinesRequest();
|
||||
~DeleteCustomLinesRequest();
|
||||
|
||||
std::string getLineIds()const;
|
||||
void setLineIds(const std::string& lineIds);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string lineIds_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETECUSTOMLINESREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_ALIDNS_MODEL_DELETECUSTOMLINESRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DELETECUSTOMLINESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DeleteCustomLinesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCustomLinesResult();
|
||||
explicit DeleteCustomLinesResult(const std::string &payload);
|
||||
~DeleteCustomLinesResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETECUSTOMLINESRESULT_H_
|
||||
@@ -47,6 +47,8 @@ namespace AlibabaCloud
|
||||
void setLang(const std::string& lang);
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string batchType_;
|
||||
@@ -55,6 +57,7 @@ namespace AlibabaCloud
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
long taskId_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +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_ALIDNS_MODEL_DESCRIBECUSTOMLINEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeCustomLineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCustomLineRequest();
|
||||
~DescribeCustomLineRequest();
|
||||
|
||||
long getLineId()const;
|
||||
void setLineId(long lineId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
long lineId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINEREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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_ALIDNS_MODEL_DESCRIBECUSTOMLINERESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeCustomLineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct IpSegment
|
||||
{
|
||||
std::string startIp;
|
||||
std::string endIp;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeCustomLineResult();
|
||||
explicit DescribeCustomLineResult(const std::string &payload);
|
||||
~DescribeCustomLineResult();
|
||||
std::vector<IpSegment> getIpSegmentList()const;
|
||||
std::string getDomainName()const;
|
||||
std::string getCreateTime()const;
|
||||
long getId()const;
|
||||
std::string getIpSegments()const;
|
||||
long getCreateTimestamp()const;
|
||||
std::string getCode()const;
|
||||
std::string getName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<IpSegment> ipSegmentList_;
|
||||
std::string domainName_;
|
||||
std::string createTime_;
|
||||
long id_;
|
||||
std::string ipSegments_;
|
||||
long createTimestamp_;
|
||||
std::string code_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINERESULT_H_
|
||||
@@ -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_ALIDNS_MODEL_DESCRIBECUSTOMLINESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeCustomLinesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCustomLinesRequest();
|
||||
~DescribeCustomLinesRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
long pageNumber_;
|
||||
std::string userClientIp_;
|
||||
long pageSize_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINESREQUEST_H_
|
||||
@@ -0,0 +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_ALIDNS_MODEL_DESCRIBECUSTOMLINESRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeCustomLinesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CustomLine
|
||||
{
|
||||
struct IpSegment
|
||||
{
|
||||
std::string startIp;
|
||||
std::string endIp;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<CustomLine::IpSegment> ipSegmentList;
|
||||
std::string createTime;
|
||||
long id;
|
||||
std::string ipSegments;
|
||||
long createTimestamp;
|
||||
std::string code;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeCustomLinesResult();
|
||||
explicit DescribeCustomLinesResult(const std::string &payload);
|
||||
~DescribeCustomLinesResult();
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getTotalPages()const;
|
||||
std::vector<CustomLine> getCustomLines()const;
|
||||
int getTotalItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int totalPages_;
|
||||
std::vector<CustomLine> customLines_;
|
||||
int totalItems_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINESRESULT_H_
|
||||
@@ -0,0 +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_ALIDNS_MODEL_DESCRIBETRANSFERDOMAINSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETRANSFERDOMAINSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeTransferDomainsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTransferDomainsRequest();
|
||||
~DescribeTransferDomainsRequest();
|
||||
|
||||
long getFromUserId()const;
|
||||
void setFromUserId(long fromUserId);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
long getTargetUserId()const;
|
||||
void setTargetUserId(long targetUserId);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getTransferType()const;
|
||||
void setTransferType(const std::string& transferType);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
|
||||
private:
|
||||
long fromUserId_;
|
||||
long pageNumber_;
|
||||
long targetUserId_;
|
||||
long pageSize_;
|
||||
std::string lang_;
|
||||
std::string domainName_;
|
||||
std::string transferType_;
|
||||
std::string userClientIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETRANSFERDOMAINSREQUEST_H_
|
||||
@@ -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_ALIDNS_MODEL_DESCRIBETRANSFERDOMAINSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETRANSFERDOMAINSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeTransferDomainsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DomainTransfer
|
||||
{
|
||||
std::string domainName;
|
||||
std::string createTime;
|
||||
long fromUserId;
|
||||
long id;
|
||||
long createTimestamp;
|
||||
long targetUserId;
|
||||
};
|
||||
|
||||
|
||||
DescribeTransferDomainsResult();
|
||||
explicit DescribeTransferDomainsResult(const std::string &payload);
|
||||
~DescribeTransferDomainsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<DomainTransfer> getDomainTransfers()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<DomainTransfer> domainTransfers_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETRANSFERDOMAINSRESULT_H_
|
||||
@@ -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_ALIDNS_MODEL_GETTXTRECORDFORVERIFYREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_GETTXTRECORDFORVERIFYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT GetTxtRecordForVerifyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTxtRecordForVerifyRequest();
|
||||
~GetTxtRecordForVerifyRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::string type_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_GETTXTRECORDFORVERIFYREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_ALIDNS_MODEL_GETTXTRECORDFORVERIFYRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_GETTXTRECORDFORVERIFYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT GetTxtRecordForVerifyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetTxtRecordForVerifyResult();
|
||||
explicit GetTxtRecordForVerifyResult(const std::string &payload);
|
||||
~GetTxtRecordForVerifyResult();
|
||||
std::string getRR()const;
|
||||
std::string getDomainName()const;
|
||||
std::string getValue()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string rR_;
|
||||
std::string domainName_;
|
||||
std::string value_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_GETTXTRECORDFORVERIFYRESULT_H_
|
||||
@@ -0,0 +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_ALIDNS_MODEL_RETRIEVEDOMAINREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_RETRIEVEDOMAINREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT RetrieveDomainRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RetrieveDomainRequest();
|
||||
~RetrieveDomainRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_RETRIEVEDOMAINREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_ALIDNS_MODEL_RETRIEVEDOMAINRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_RETRIEVEDOMAINRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT RetrieveDomainResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RetrieveDomainResult();
|
||||
explicit RetrieveDomainResult(const std::string &payload);
|
||||
~RetrieveDomainResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_RETRIEVEDOMAINRESULT_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user