Compare commits
31 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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 | ||
|
|
8936a9504e | ||
|
|
22a5112af0 | ||
|
|
99ae87ba10 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -12,3 +12,4 @@ test/httpserver/node_modules
|
||||
test/httpserver/package-lock.json
|
||||
test/httpserver/nohup.out
|
||||
.idea
|
||||
build/
|
||||
|
||||
98
CHANGELOG
98
CHANGELOG
@@ -1,3 +1,101 @@
|
||||
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.
|
||||
|
||||
2019-11-20 Version 1.36.185
|
||||
- Generated 2019-01-01 for `HBase`.
|
||||
|
||||
2019-11-20 Version 1.36.184
|
||||
- Add API ReportVoipProblems.
|
||||
- Add API QueryVoipNumberBindINfos.
|
||||
|
||||
2019-11-15 Version 1.36.183
|
||||
- Nlp Automl SDK.
|
||||
|
||||
|
||||
95
README-CN.md
95
README-CN.md
@@ -37,86 +37,81 @@ Alibaba Cloud SDK for C++ 让您不用复杂编程即可访问云服务器、负
|
||||
|
||||
## 安装 (从源代码构建)
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
在安装依赖库后执行以下命令编译并安装:
|
||||
2. 执行以下命令,从 Github 克隆源码
|
||||
|
||||
手动编译安装
|
||||
```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
|
||||
```
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
|
||||
或者通过 `easyinstall.sh`一键式安装
|
||||
3. 编译安装
|
||||
|
||||
- 手动编译安装
|
||||
|
||||
```bash
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
sudo sh easyinstall.sh
|
||||
cd aliyun-openapi-cpp-sdk
|
||||
mkdir sdk_build
|
||||
cd sdk_build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
make
|
||||
sudo make install
|
||||
```
|
||||
|
||||
**Alibaba Cloud SDK for C++ 将被安装在 `/usr`.**
|
||||
- 或者通过 `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 目录
|
||||
|
||||
打开 cmake-ui 选择源代码目录和构建目录,点击 `配置(configure)` 和 `生成(generate)` 构建 VS 解决方案。
|
||||
|
||||
进入 sdk_build 目录使用 Visual Studio 打开 alibabacloud-sdk.sln 解决方案。
|
||||
|
||||
选择构建 `Release` 输出,并打开配置管理器勾选 `INSTALL`。
|
||||
|
||||
构建 -> 生成解决方案。
|
||||
|
||||
或者您也可以使用 VS 的开发人员命令提示符,执行以下命令编译并安装:
|
||||
2. 使用 git-bash 执行以下命令,从 Github 克隆源码
|
||||
|
||||
```bash
|
||||
git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
|
||||
```
|
||||
msbuild ALL_BUILD.vcxproj
|
||||
msbuild INSTALL.vcxproj
|
||||
```
|
||||
|
||||
3. 使用 Visual Studio 进行编译:
|
||||
|
||||
- 在 aliyun-openapi-cpp-sdk 下创建 sdk_build 目录
|
||||
- 打开 cmake-ui , 然后进行以下操作
|
||||
- 选择 `源代码目录(Browse Source)`
|
||||
- 选择 `构建目录(Browse build)` 为 `sdk_build`
|
||||
- 点击 `配置(configure)`
|
||||
- 点击 `生成(generate)`, 构建 VS 解决方案。
|
||||
|
||||
4. 编译安装 C++ SDK
|
||||
|
||||
- 进入 sdk_build 目录,使用 Visual Studio 打开 alibabacloud-sdk.sln 解决方案
|
||||
- 选择构建 `Release` 输出
|
||||
- 并打开配置管理器勾选 `INSTALL`
|
||||
- 构建 -> 生成解决方案
|
||||
|
||||
**Alibaba Cloud SDK for C++ 将安装在 `C:\Program File (x86)\alibabacloud-sdk` 目录**
|
||||
|
||||
**注意:请以管理员身份运行 Visual Studio,否则无法安装 SDK**
|
||||
|
||||
---
|
||||
|
||||
## 快速使用
|
||||
|
||||
在调用 Alibaba Cloud SDK for C++ 时,您首先需要配置预处理器定义 ALIBABACLOUD_SHARED 以引用阿里云 C++ SDK 的共享库,然后通过创建 Client 实例提供身份验证,并指定云服务的地域,然后发送API请求。
|
||||
@@ -125,7 +120,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>
|
||||
|
||||
65
README.md
65
README.md
@@ -41,39 +41,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
|
||||
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
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 +87,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
|
||||
|
||||
@@ -101,7 +105,7 @@ If you have any problem while using Alibaba Cloud SDK for C++, please submit an
|
||||
|
||||
- `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 +117,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
|
||||
|
||||
|
||||
@@ -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_
|
||||
@@ -14,44 +14,47 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_REQUESTSERVICEOFCLOUDDBEXPERTREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_REQUESTSERVICEOFCLOUDDBEXPERTREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINBACKUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINBACKUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT RequestServiceOfCloudDBExpertRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AddDomainBackupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RequestServiceOfCloudDBExpertRequest();
|
||||
~RequestServiceOfCloudDBExpertRequest();
|
||||
AddDomainBackupRequest();
|
||||
~AddDomainBackupRequest();
|
||||
|
||||
std::string getServiceRequestType()const;
|
||||
void setServiceRequestType(const std::string& serviceRequestType);
|
||||
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 getServiceRequestParam()const;
|
||||
void setServiceRequestParam(const std::string& serviceRequestParam);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string serviceRequestType_;
|
||||
std::string domainName_;
|
||||
std::string periodType_;
|
||||
std::string accessKeyId_;
|
||||
std::string serviceRequestParam_;
|
||||
std::string dBInstanceId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_REQUESTSERVICEOFCLOUDDBEXPERTREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINBACKUPREQUEST_H_
|
||||
@@ -14,38 +14,40 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_CREATECHANNELTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_CREATECHANNELTOKENRESULT_H_
|
||||
#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/rtc/RtcExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT CreateChannelTokenResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT AddDomainBackupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateChannelTokenResult();
|
||||
explicit CreateChannelTokenResult(const std::string &payload);
|
||||
~CreateChannelTokenResult();
|
||||
std::string getChannelToken()const;
|
||||
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 channelToken_;
|
||||
std::string periodType_;
|
||||
std::string domainName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_CREATECHANNELTOKENRESULT_H_
|
||||
#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_
|
||||
@@ -14,38 +14,40 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETEPREDICTMODELRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETEPREDICTMODELRESULT_H_
|
||||
#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/ivision/IvisionExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeletePredictModelResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT BindInstanceDomainsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeletePredictModelResult();
|
||||
explicit DeletePredictModelResult(const std::string &payload);
|
||||
~DeletePredictModelResult();
|
||||
std::string getModelId()const;
|
||||
BindInstanceDomainsResult();
|
||||
explicit BindInstanceDomainsResult(const std::string &payload);
|
||||
~BindInstanceDomainsResult();
|
||||
int getFailedCount()const;
|
||||
int getSuccessCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string modelId_;
|
||||
int failedCount_;
|
||||
int successCount_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETEPREDICTMODELRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_BINDINSTANCEDOMAINSRESULT_H_
|
||||
@@ -14,41 +14,41 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_UPDATEMYGROUPMEMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_UPDATEMYGROUPMEMBERSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DELETECUSTOMLINESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DELETECUSTOMLINESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT UpdateMyGroupMembersRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DeleteCustomLinesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateMyGroupMembersRequest();
|
||||
~UpdateMyGroupMembersRequest();
|
||||
DeleteCustomLinesRequest();
|
||||
~DeleteCustomLinesRequest();
|
||||
|
||||
std::string getReaders()const;
|
||||
void setReaders(const std::string& readers);
|
||||
long getGroupId()const;
|
||||
void setGroupId(long groupId);
|
||||
std::string getMasters()const;
|
||||
void setMasters(const std::string& masters);
|
||||
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 readers_;
|
||||
long groupId_;
|
||||
std::string masters_;
|
||||
std::string lineIds_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_UPDATEMYGROUPMEMBERSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETECUSTOMLINESREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASRESULT_H_
|
||||
#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/ivision/IvisionExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DeleteTrainDatasResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DeleteCustomLinesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteTrainDatasResult();
|
||||
explicit DeleteTrainDatasResult(const std::string &payload);
|
||||
~DeleteTrainDatasResult();
|
||||
DeleteCustomLinesResult();
|
||||
explicit DeleteCustomLinesResult(const std::string &payload);
|
||||
~DeleteCustomLinesResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DELETETRAINDATASRESULT_H_
|
||||
#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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,38 +14,41 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_QUERYSTATICSERRORRATEREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_QUERYSTATICSERRORRATEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT QueryStaticsErrorRateRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeCustomLineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryStaticsErrorRateRequest();
|
||||
~QueryStaticsErrorRateRequest();
|
||||
DescribeCustomLineRequest();
|
||||
~DescribeCustomLineRequest();
|
||||
|
||||
std::string getTimeRange()const;
|
||||
void setTimeRange(const std::string& timeRange);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
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:
|
||||
std::string timeRange_;
|
||||
std::string taskId_;
|
||||
long lineId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYSTATICSERRORRATEREQUEST_H_
|
||||
#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_
|
||||
@@ -14,65 +14,62 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_TASKCONFIGLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_TASKCONFIGLISTRESULT_H_
|
||||
#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/cms/CmsExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT TaskConfigListResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeCustomLinesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct NodeTaskConfig
|
||||
struct CustomLine
|
||||
{
|
||||
std::string groupName;
|
||||
std::string alertConfig;
|
||||
std::string taskName;
|
||||
std::string taskScope;
|
||||
std::string taskType;
|
||||
struct IpSegment
|
||||
{
|
||||
std::string startIp;
|
||||
std::string endIp;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<CustomLine::IpSegment> ipSegmentList;
|
||||
std::string createTime;
|
||||
long id;
|
||||
bool disabled;
|
||||
std::vector<std::string> instanceList;
|
||||
std::string jsonData;
|
||||
long groupId;
|
||||
std::string ipSegments;
|
||||
long createTimestamp;
|
||||
std::string code;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
TaskConfigListResult();
|
||||
explicit TaskConfigListResult(const std::string &payload);
|
||||
~TaskConfigListResult();
|
||||
DescribeCustomLinesResult();
|
||||
explicit DescribeCustomLinesResult(const std::string &payload);
|
||||
~DescribeCustomLinesResult();
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getPageTotal()const;
|
||||
std::vector<NodeTaskConfig> getTaskList()const;
|
||||
int getTotal()const;
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()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 pageTotal_;
|
||||
std::vector<NodeTaskConfig> taskList_;
|
||||
int total_;
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
int totalPages_;
|
||||
std::vector<CustomLine> customLines_;
|
||||
int totalItems_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_TASKCONFIGLISTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBECUSTOMLINESRESULT_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_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 getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getTransferType()const;
|
||||
void setTransferType(const std::string& transferType);
|
||||
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:
|
||||
long pageNumber_;
|
||||
std::string transferType_;
|
||||
std::string userClientIp_;
|
||||
long pageSize_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBETRANSFERDOMAINSREQUEST_H_
|
||||
@@ -14,55 +14,53 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IVISION_MODEL_DESCRIBETAGSRESULT_H_
|
||||
#define ALIBABACLOUD_IVISION_MODEL_DESCRIBETAGSRESULT_H_
|
||||
#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/ivision/IvisionExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ivision
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IVISION_EXPORT DescribeTagsResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeTransferDomainsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
struct DomainTransfer
|
||||
{
|
||||
std::string description;
|
||||
std::string tagName;
|
||||
std::string projectId;
|
||||
std::string tagId;
|
||||
std::string creationTime;
|
||||
int count;
|
||||
std::string domainName;
|
||||
std::string createTime;
|
||||
long fromUserId;
|
||||
long id;
|
||||
long createTimestamp;
|
||||
long targetUserId;
|
||||
};
|
||||
|
||||
|
||||
DescribeTagsResult();
|
||||
explicit DescribeTagsResult(const std::string &payload);
|
||||
~DescribeTagsResult();
|
||||
long getTotalNum()const;
|
||||
DescribeTransferDomainsResult();
|
||||
explicit DescribeTransferDomainsResult(const std::string &payload);
|
||||
~DescribeTransferDomainsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getCurrentPage()const;
|
||||
std::string getNextPageToken()const;
|
||||
std::vector<Tag> getTags()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<DomainTransfer> getDomainTransfers()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalNum_;
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long currentPage_;
|
||||
std::string nextPageToken_;
|
||||
std::vector<Tag> tags_;
|
||||
long pageNumber_;
|
||||
std::vector<DomainTransfer> domainTransfers_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IVISION_MODEL_DESCRIBETAGSRESULT_H_
|
||||
#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_
|
||||
@@ -14,42 +14,42 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_UPDATEMONITORINGTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_UPDATEMONITORINGTEMPLATERESULT_H_
|
||||
#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/cms/CmsExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT UpdateMonitoringTemplateResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT GetTxtRecordForVerifyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateMonitoringTemplateResult();
|
||||
explicit UpdateMonitoringTemplateResult(const std::string &payload);
|
||||
~UpdateMonitoringTemplateResult();
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
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:
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
std::string rR_;
|
||||
std::string domainName_;
|
||||
std::string value_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_UPDATEMONITORINGTEMPLATERESULT_H_
|
||||
#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_
|
||||
@@ -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_ALIDNS_MODEL_TRANSFERDOMAINREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_TRANSFERDOMAINREQUEST_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 TransferDomainRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TransferDomainRequest();
|
||||
~TransferDomainRequest();
|
||||
|
||||
std::string getDomainNames()const;
|
||||
void setDomainNames(const std::string& domainNames);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getTargetUserId()const;
|
||||
void setTargetUserId(long targetUserId);
|
||||
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 remark_;
|
||||
std::string accessKeyId_;
|
||||
long targetUserId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_TRANSFERDOMAINREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_UPDATETASKPARAMRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_UPDATETASKPARAMRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_TRANSFERDOMAINRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_TRANSFERDOMAINRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT UpdateTaskParamResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT TransferDomainResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateTaskParamResult();
|
||||
explicit UpdateTaskParamResult(const std::string &payload);
|
||||
~UpdateTaskParamResult();
|
||||
TransferDomainResult();
|
||||
explicit TransferDomainResult(const std::string &payload);
|
||||
~TransferDomainResult();
|
||||
long getTaskId()const;
|
||||
|
||||
protected:
|
||||
@@ -48,4 +48,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_UPDATETASKPARAMRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_TRANSFERDOMAINRESULT_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_UNBINDINSTANCEDOMAINSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_UNBINDINSTANCEDOMAINSREQUEST_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 UnbindInstanceDomainsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UnbindInstanceDomainsRequest();
|
||||
~UnbindInstanceDomainsRequest();
|
||||
|
||||
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_UNBINDINSTANCEDOMAINSREQUEST_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_UNBINDINSTANCEDOMAINSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_UNBINDINSTANCEDOMAINSRESULT_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 UnbindInstanceDomainsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UnbindInstanceDomainsResult();
|
||||
explicit UnbindInstanceDomainsResult(const std::string &payload);
|
||||
~UnbindInstanceDomainsResult();
|
||||
int getFailedCount()const;
|
||||
int getSuccessCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int failedCount_;
|
||||
int successCount_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UNBINDINSTANCEDOMAINSRESULT_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_ALIDNS_MODEL_UPDATECUSTOMLINEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_UPDATECUSTOMLINEREQUEST_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 UpdateCustomLineRequest : public RpcServiceRequest
|
||||
{
|
||||
struct IpSegment
|
||||
{
|
||||
std::string endIp;
|
||||
std::string startIp;
|
||||
};
|
||||
|
||||
public:
|
||||
UpdateCustomLineRequest();
|
||||
~UpdateCustomLineRequest();
|
||||
|
||||
long getLineId()const;
|
||||
void setLineId(long lineId);
|
||||
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:
|
||||
long lineId_;
|
||||
std::vector<IpSegment> ipSegment_;
|
||||
std::string userClientIp_;
|
||||
std::string lineName_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATECUSTOMLINEREQUEST_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_UPDATECUSTOMLINERESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_UPDATECUSTOMLINERESULT_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 UpdateCustomLineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateCustomLineResult();
|
||||
explicit UpdateCustomLineResult(const std::string &payload);
|
||||
~UpdateCustomLineResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATECUSTOMLINERESULT_H_
|
||||
@@ -51,6 +51,42 @@ AlidnsClient::AlidnsClient(const std::string & accessKeyId, const std::string &
|
||||
AlidnsClient::~AlidnsClient()
|
||||
{}
|
||||
|
||||
AlidnsClient::AddCustomLineOutcome AlidnsClient::addCustomLine(const AddCustomLineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddCustomLineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddCustomLineOutcome(AddCustomLineResult(outcome.result()));
|
||||
else
|
||||
return AddCustomLineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::addCustomLineAsync(const AddCustomLineRequest& request, const AddCustomLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addCustomLine(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::AddCustomLineOutcomeCallable AlidnsClient::addCustomLineCallable(const AddCustomLineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddCustomLineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addCustomLine(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::AddDomainOutcome AlidnsClient::addDomain(const AddDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -87,6 +123,42 @@ AlidnsClient::AddDomainOutcomeCallable AlidnsClient::addDomainCallable(const Add
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::AddDomainBackupOutcome AlidnsClient::addDomainBackup(const AddDomainBackupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddDomainBackupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddDomainBackupOutcome(AddDomainBackupResult(outcome.result()));
|
||||
else
|
||||
return AddDomainBackupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::addDomainBackupAsync(const AddDomainBackupRequest& request, const AddDomainBackupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addDomainBackup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::AddDomainBackupOutcomeCallable AlidnsClient::addDomainBackupCallable(const AddDomainBackupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddDomainBackupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addDomainBackup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::AddDomainGroupOutcome AlidnsClient::addDomainGroup(const AddDomainGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -303,6 +375,42 @@ AlidnsClient::AddGtmRecoveryPlanOutcomeCallable AlidnsClient::addGtmRecoveryPlan
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::BindInstanceDomainsOutcome AlidnsClient::bindInstanceDomains(const BindInstanceDomainsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return BindInstanceDomainsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return BindInstanceDomainsOutcome(BindInstanceDomainsResult(outcome.result()));
|
||||
else
|
||||
return BindInstanceDomainsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::bindInstanceDomainsAsync(const BindInstanceDomainsRequest& request, const BindInstanceDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, bindInstanceDomains(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::BindInstanceDomainsOutcomeCallable AlidnsClient::bindInstanceDomainsCallable(const BindInstanceDomainsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<BindInstanceDomainsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->bindInstanceDomains(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::ChangeDomainGroupOutcome AlidnsClient::changeDomainGroup(const ChangeDomainGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -375,6 +483,42 @@ AlidnsClient::ChangeDomainOfDnsProductOutcomeCallable AlidnsClient::changeDomain
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DeleteCustomLinesOutcome AlidnsClient::deleteCustomLines(const DeleteCustomLinesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteCustomLinesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteCustomLinesOutcome(DeleteCustomLinesResult(outcome.result()));
|
||||
else
|
||||
return DeleteCustomLinesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::deleteCustomLinesAsync(const DeleteCustomLinesRequest& request, const DeleteCustomLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteCustomLines(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::DeleteCustomLinesOutcomeCallable AlidnsClient::deleteCustomLinesCallable(const DeleteCustomLinesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteCustomLinesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteCustomLines(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DeleteDomainOutcome AlidnsClient::deleteDomain(const DeleteDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -699,6 +843,78 @@ AlidnsClient::DescribeBatchResultDetailOutcomeCallable AlidnsClient::describeBat
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeCustomLineOutcome AlidnsClient::describeCustomLine(const DescribeCustomLineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCustomLineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCustomLineOutcome(DescribeCustomLineResult(outcome.result()));
|
||||
else
|
||||
return DescribeCustomLineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::describeCustomLineAsync(const DescribeCustomLineRequest& request, const DescribeCustomLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCustomLine(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeCustomLineOutcomeCallable AlidnsClient::describeCustomLineCallable(const DescribeCustomLineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCustomLineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCustomLine(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeCustomLinesOutcome AlidnsClient::describeCustomLines(const DescribeCustomLinesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCustomLinesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCustomLinesOutcome(DescribeCustomLinesResult(outcome.result()));
|
||||
else
|
||||
return DescribeCustomLinesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::describeCustomLinesAsync(const DescribeCustomLinesRequest& request, const DescribeCustomLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCustomLines(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeCustomLinesOutcomeCallable AlidnsClient::describeCustomLinesCallable(const DescribeCustomLinesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCustomLinesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCustomLines(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeDNSSLBSubDomainsOutcome AlidnsClient::describeDNSSLBSubDomains(const DescribeDNSSLBSubDomainsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1887,6 +2103,42 @@ AlidnsClient::DescribeSupportLinesOutcomeCallable AlidnsClient::describeSupportL
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeTransferDomainsOutcome AlidnsClient::describeTransferDomains(const DescribeTransferDomainsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeTransferDomainsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeTransferDomainsOutcome(DescribeTransferDomainsResult(outcome.result()));
|
||||
else
|
||||
return DescribeTransferDomainsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::describeTransferDomainsAsync(const DescribeTransferDomainsRequest& request, const DescribeTransferDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeTransferDomains(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeTransferDomainsOutcomeCallable AlidnsClient::describeTransferDomainsCallable(const DescribeTransferDomainsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeTransferDomainsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeTransferDomains(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::ExecuteGtmRecoveryPlanOutcome AlidnsClient::executeGtmRecoveryPlan(const ExecuteGtmRecoveryPlanRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1959,6 +2211,42 @@ AlidnsClient::GetMainDomainNameOutcomeCallable AlidnsClient::getMainDomainNameCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::GetTxtRecordForVerifyOutcome AlidnsClient::getTxtRecordForVerify(const GetTxtRecordForVerifyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTxtRecordForVerifyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTxtRecordForVerifyOutcome(GetTxtRecordForVerifyResult(outcome.result()));
|
||||
else
|
||||
return GetTxtRecordForVerifyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::getTxtRecordForVerifyAsync(const GetTxtRecordForVerifyRequest& request, const GetTxtRecordForVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTxtRecordForVerify(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::GetTxtRecordForVerifyOutcomeCallable AlidnsClient::getTxtRecordForVerifyCallable(const GetTxtRecordForVerifyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTxtRecordForVerifyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTxtRecordForVerify(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::ModifyHichinaDomainDNSOutcome AlidnsClient::modifyHichinaDomainDNS(const ModifyHichinaDomainDNSRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2067,6 +2355,42 @@ AlidnsClient::PreviewGtmRecoveryPlanOutcomeCallable AlidnsClient::previewGtmReco
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::RetrieveDomainOutcome AlidnsClient::retrieveDomain(const RetrieveDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RetrieveDomainOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RetrieveDomainOutcome(RetrieveDomainResult(outcome.result()));
|
||||
else
|
||||
return RetrieveDomainOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::retrieveDomainAsync(const RetrieveDomainRequest& request, const RetrieveDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, retrieveDomain(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::RetrieveDomainOutcomeCallable AlidnsClient::retrieveDomainCallable(const RetrieveDomainRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RetrieveDomainOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->retrieveDomain(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::RollbackGtmRecoveryPlanOutcome AlidnsClient::rollbackGtmRecoveryPlan(const RollbackGtmRecoveryPlanRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2247,6 +2571,114 @@ AlidnsClient::SetGtmMonitorStatusOutcomeCallable AlidnsClient::setGtmMonitorStat
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::TransferDomainOutcome AlidnsClient::transferDomain(const TransferDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TransferDomainOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TransferDomainOutcome(TransferDomainResult(outcome.result()));
|
||||
else
|
||||
return TransferDomainOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::transferDomainAsync(const TransferDomainRequest& request, const TransferDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, transferDomain(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::TransferDomainOutcomeCallable AlidnsClient::transferDomainCallable(const TransferDomainRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TransferDomainOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->transferDomain(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::UnbindInstanceDomainsOutcome AlidnsClient::unbindInstanceDomains(const UnbindInstanceDomainsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UnbindInstanceDomainsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UnbindInstanceDomainsOutcome(UnbindInstanceDomainsResult(outcome.result()));
|
||||
else
|
||||
return UnbindInstanceDomainsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::unbindInstanceDomainsAsync(const UnbindInstanceDomainsRequest& request, const UnbindInstanceDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, unbindInstanceDomains(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::UnbindInstanceDomainsOutcomeCallable AlidnsClient::unbindInstanceDomainsCallable(const UnbindInstanceDomainsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UnbindInstanceDomainsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->unbindInstanceDomains(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::UpdateCustomLineOutcome AlidnsClient::updateCustomLine(const UpdateCustomLineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateCustomLineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateCustomLineOutcome(UpdateCustomLineResult(outcome.result()));
|
||||
else
|
||||
return UpdateCustomLineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::updateCustomLineAsync(const UpdateCustomLineRequest& request, const UpdateCustomLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateCustomLine(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::UpdateCustomLineOutcomeCallable AlidnsClient::updateCustomLineCallable(const UpdateCustomLineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateCustomLineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateCustomLine(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::UpdateDNSSLBWeightOutcome AlidnsClient::updateDNSSLBWeight(const UpdateDNSSLBWeightRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
89
alidns/src/model/AddCustomLineRequest.cc
Normal file
89
alidns/src/model/AddCustomLineRequest.cc
Normal file
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* 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/alidns/model/AddCustomLineRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddCustomLineRequest;
|
||||
|
||||
AddCustomLineRequest::AddCustomLineRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddCustomLine")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddCustomLineRequest::~AddCustomLineRequest()
|
||||
{}
|
||||
|
||||
std::string AddCustomLineRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddCustomLineRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::vector<AddCustomLineRequest::IpSegment> AddCustomLineRequest::getIpSegment()const
|
||||
{
|
||||
return ipSegment_;
|
||||
}
|
||||
|
||||
void AddCustomLineRequest::setIpSegment(const std::vector<IpSegment>& ipSegment)
|
||||
{
|
||||
ipSegment_ = ipSegment;
|
||||
for(int dep1 = 0; dep1!= ipSegment.size(); dep1++) {
|
||||
auto ipSegmentObj = ipSegment.at(dep1);
|
||||
std::string ipSegmentObjStr = "IpSegment." + std::to_string(dep1);
|
||||
setCoreParameter(ipSegmentObjStr + ".EndIp", ipSegmentObj.endIp);
|
||||
setCoreParameter(ipSegmentObjStr + ".StartIp", ipSegmentObj.startIp);
|
||||
}
|
||||
}
|
||||
|
||||
std::string AddCustomLineRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void AddCustomLineRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string AddCustomLineRequest::getLineName()const
|
||||
{
|
||||
return lineName_;
|
||||
}
|
||||
|
||||
void AddCustomLineRequest::setLineName(const std::string& lineName)
|
||||
{
|
||||
lineName_ = lineName;
|
||||
setCoreParameter("LineName", lineName);
|
||||
}
|
||||
|
||||
std::string AddCustomLineRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void AddCustomLineRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
58
alidns/src/model/AddCustomLineResult.cc
Normal file
58
alidns/src/model/AddCustomLineResult.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/alidns/model/AddCustomLineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
AddCustomLineResult::AddCustomLineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddCustomLineResult::AddCustomLineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddCustomLineResult::~AddCustomLineResult()
|
||||
{}
|
||||
|
||||
void AddCustomLineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["LineId"].isNull())
|
||||
lineId_ = std::stol(value["LineId"].asString());
|
||||
if(!value["LineCode"].isNull())
|
||||
lineCode_ = value["LineCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
long AddCustomLineResult::getLineId()const
|
||||
{
|
||||
return lineId_;
|
||||
}
|
||||
|
||||
std::string AddCustomLineResult::getLineCode()const
|
||||
{
|
||||
return lineCode_;
|
||||
}
|
||||
|
||||
84
alidns/src/model/AddDomainBackupRequest.cc
Normal file
84
alidns/src/model/AddDomainBackupRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddDomainBackupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDomainBackupRequest;
|
||||
|
||||
AddDomainBackupRequest::AddDomainBackupRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddDomainBackup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddDomainBackupRequest::~AddDomainBackupRequest()
|
||||
{}
|
||||
|
||||
std::string AddDomainBackupRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddDomainBackupRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string AddDomainBackupRequest::getPeriodType()const
|
||||
{
|
||||
return periodType_;
|
||||
}
|
||||
|
||||
void AddDomainBackupRequest::setPeriodType(const std::string& periodType)
|
||||
{
|
||||
periodType_ = periodType;
|
||||
setCoreParameter("PeriodType", periodType);
|
||||
}
|
||||
|
||||
std::string AddDomainBackupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddDomainBackupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddDomainBackupRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void AddDomainBackupRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string AddDomainBackupRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void AddDomainBackupRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
58
alidns/src/model/AddDomainBackupResult.cc
Normal file
58
alidns/src/model/AddDomainBackupResult.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/alidns/model/AddDomainBackupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
AddDomainBackupResult::AddDomainBackupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddDomainBackupResult::AddDomainBackupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddDomainBackupResult::~AddDomainBackupResult()
|
||||
{}
|
||||
|
||||
void AddDomainBackupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["PeriodType"].isNull())
|
||||
periodType_ = value["PeriodType"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddDomainBackupResult::getPeriodType()const
|
||||
{
|
||||
return periodType_;
|
||||
}
|
||||
|
||||
std::string AddDomainBackupResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
@@ -101,13 +101,12 @@ std::vector<AddGtmAddressPoolRequest::Addr> AddGtmAddressPoolRequest::getAddr()c
|
||||
void AddGtmAddressPoolRequest::setAddr(const std::vector<Addr>& addr)
|
||||
{
|
||||
addr_ = addr;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= addr.size(); i++) {
|
||||
auto obj = addr.at(i);
|
||||
std::string str ="Addr."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Mode", obj.mode);
|
||||
setCoreParameter(str + ".LbaWeight", std::to_string(obj.lbaWeight));
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
for(int dep1 = 0; dep1!= addr.size(); dep1++) {
|
||||
auto addrObj = addr.at(dep1);
|
||||
std::string addrObjStr = "Addr." + std::to_string(dep1);
|
||||
setCoreParameter(addrObjStr + ".Mode", addrObj.mode);
|
||||
setCoreParameter(addrObjStr + ".LbaWeight", std::to_string(addrObj.lbaWeight));
|
||||
setCoreParameter(addrObjStr + ".Value", addrObj.value);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -185,12 +184,11 @@ std::vector<AddGtmAddressPoolRequest::IspCityNode> AddGtmAddressPoolRequest::get
|
||||
void AddGtmAddressPoolRequest::setIspCityNode(const std::vector<IspCityNode>& ispCityNode)
|
||||
{
|
||||
ispCityNode_ = ispCityNode;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= ispCityNode.size(); i++) {
|
||||
auto obj = ispCityNode.at(i);
|
||||
std::string str ="IspCityNode."+ std::to_string(i);
|
||||
setCoreParameter(str + ".CityCode", obj.cityCode);
|
||||
setCoreParameter(str + ".IspCode", obj.ispCode);
|
||||
for(int dep1 = 0; dep1!= ispCityNode.size(); dep1++) {
|
||||
auto ispCityNodeObj = ispCityNode.at(dep1);
|
||||
std::string ispCityNodeObjStr = "IspCityNode." + std::to_string(dep1);
|
||||
setCoreParameter(ispCityNodeObjStr + ".CityCode", ispCityNodeObj.cityCode);
|
||||
setCoreParameter(ispCityNodeObjStr + ".IspCode", ispCityNodeObj.ispCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -123,12 +123,11 @@ std::vector<AddGtmMonitorRequest::IspCityNode> AddGtmMonitorRequest::getIspCityN
|
||||
void AddGtmMonitorRequest::setIspCityNode(const std::vector<IspCityNode>& ispCityNode)
|
||||
{
|
||||
ispCityNode_ = ispCityNode;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= ispCityNode.size(); i++) {
|
||||
auto obj = ispCityNode.at(i);
|
||||
std::string str ="IspCityNode."+ std::to_string(i);
|
||||
setCoreParameter(str + ".CityCode", obj.cityCode);
|
||||
setCoreParameter(str + ".IspCode", obj.ispCode);
|
||||
for(int dep1 = 0; dep1!= ispCityNode.size(); dep1++) {
|
||||
auto ispCityNodeObj = ispCityNode.at(dep1);
|
||||
std::string ispCityNodeObjStr = "IspCityNode." + std::to_string(dep1);
|
||||
setCoreParameter(ispCityNodeObjStr + ".CityCode", ispCityNodeObj.cityCode);
|
||||
setCoreParameter(ispCityNodeObjStr + ".IspCode", ispCityNodeObj.ispCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
73
alidns/src/model/BindInstanceDomainsRequest.cc
Normal file
73
alidns/src/model/BindInstanceDomainsRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* 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/alidns/model/BindInstanceDomainsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::BindInstanceDomainsRequest;
|
||||
|
||||
BindInstanceDomainsRequest::BindInstanceDomainsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "BindInstanceDomains")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BindInstanceDomainsRequest::~BindInstanceDomainsRequest()
|
||||
{}
|
||||
|
||||
std::string BindInstanceDomainsRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
}
|
||||
|
||||
void BindInstanceDomainsRequest::setDomainNames(const std::string& domainNames)
|
||||
{
|
||||
domainNames_ = domainNames;
|
||||
setCoreParameter("DomainNames", domainNames);
|
||||
}
|
||||
|
||||
std::string BindInstanceDomainsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void BindInstanceDomainsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string BindInstanceDomainsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void BindInstanceDomainsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string BindInstanceDomainsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void BindInstanceDomainsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
58
alidns/src/model/BindInstanceDomainsResult.cc
Normal file
58
alidns/src/model/BindInstanceDomainsResult.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/alidns/model/BindInstanceDomainsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
BindInstanceDomainsResult::BindInstanceDomainsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
BindInstanceDomainsResult::BindInstanceDomainsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
BindInstanceDomainsResult::~BindInstanceDomainsResult()
|
||||
{}
|
||||
|
||||
void BindInstanceDomainsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SuccessCount"].isNull())
|
||||
successCount_ = std::stoi(value["SuccessCount"].asString());
|
||||
if(!value["FailedCount"].isNull())
|
||||
failedCount_ = std::stoi(value["FailedCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int BindInstanceDomainsResult::getFailedCount()const
|
||||
{
|
||||
return failedCount_;
|
||||
}
|
||||
|
||||
int BindInstanceDomainsResult::getSuccessCount()const
|
||||
{
|
||||
return successCount_;
|
||||
}
|
||||
|
||||
62
alidns/src/model/DeleteCustomLinesRequest.cc
Normal file
62
alidns/src/model/DeleteCustomLinesRequest.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/alidns/model/DeleteCustomLinesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteCustomLinesRequest;
|
||||
|
||||
DeleteCustomLinesRequest::DeleteCustomLinesRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteCustomLines")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCustomLinesRequest::~DeleteCustomLinesRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCustomLinesRequest::getLineIds()const
|
||||
{
|
||||
return lineIds_;
|
||||
}
|
||||
|
||||
void DeleteCustomLinesRequest::setLineIds(const std::string& lineIds)
|
||||
{
|
||||
lineIds_ = lineIds;
|
||||
setCoreParameter("LineIds", lineIds);
|
||||
}
|
||||
|
||||
std::string DeleteCustomLinesRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DeleteCustomLinesRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DeleteCustomLinesRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteCustomLinesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
44
alidns/src/model/DeleteCustomLinesResult.cc
Normal file
44
alidns/src/model/DeleteCustomLinesResult.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/alidns/model/DeleteCustomLinesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DeleteCustomLinesResult::DeleteCustomLinesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCustomLinesResult::DeleteCustomLinesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCustomLinesResult::~DeleteCustomLinesResult()
|
||||
{}
|
||||
|
||||
void DeleteCustomLinesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -93,3 +93,14 @@ void DescribeBatchResultDetailRequest::setTaskId(long taskId)
|
||||
setCoreParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
std::string DescribeBatchResultDetailRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeBatchResultDetailRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setCoreParameter("Status", status);
|
||||
}
|
||||
|
||||
|
||||
62
alidns/src/model/DescribeCustomLineRequest.cc
Normal file
62
alidns/src/model/DescribeCustomLineRequest.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/alidns/model/DescribeCustomLineRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeCustomLineRequest;
|
||||
|
||||
DescribeCustomLineRequest::DescribeCustomLineRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeCustomLine")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCustomLineRequest::~DescribeCustomLineRequest()
|
||||
{}
|
||||
|
||||
long DescribeCustomLineRequest::getLineId()const
|
||||
{
|
||||
return lineId_;
|
||||
}
|
||||
|
||||
void DescribeCustomLineRequest::setLineId(long lineId)
|
||||
{
|
||||
lineId_ = lineId;
|
||||
setCoreParameter("LineId", std::to_string(lineId));
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeCustomLineRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeCustomLineRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
110
alidns/src/model/DescribeCustomLineResult.cc
Normal file
110
alidns/src/model/DescribeCustomLineResult.cc
Normal file
@@ -0,0 +1,110 @@
|
||||
/*
|
||||
* 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/alidns/model/DescribeCustomLineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DescribeCustomLineResult::DescribeCustomLineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCustomLineResult::DescribeCustomLineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCustomLineResult::~DescribeCustomLineResult()
|
||||
{}
|
||||
|
||||
void DescribeCustomLineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allIpSegmentListNode = value["IpSegmentList"]["IpSegment"];
|
||||
for (auto valueIpSegmentListIpSegment : allIpSegmentListNode)
|
||||
{
|
||||
IpSegment ipSegmentListObject;
|
||||
if(!valueIpSegmentListIpSegment["Name"].isNull())
|
||||
ipSegmentListObject.name = valueIpSegmentListIpSegment["Name"].asString();
|
||||
if(!valueIpSegmentListIpSegment["StartIp"].isNull())
|
||||
ipSegmentListObject.startIp = valueIpSegmentListIpSegment["StartIp"].asString();
|
||||
if(!valueIpSegmentListIpSegment["EndIp"].isNull())
|
||||
ipSegmentListObject.endIp = valueIpSegmentListIpSegment["EndIp"].asString();
|
||||
ipSegmentList_.push_back(ipSegmentListObject);
|
||||
}
|
||||
if(!value["Id"].isNull())
|
||||
id_ = std::stol(value["Id"].asString());
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = value["CreateTime"].asString();
|
||||
if(!value["CreateTimestamp"].isNull())
|
||||
createTimestamp_ = std::stol(value["CreateTimestamp"].asString());
|
||||
if(!value["IpSegments"].isNull())
|
||||
ipSegments_ = value["IpSegments"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeCustomLineResult::IpSegment> DescribeCustomLineResult::getIpSegmentList()const
|
||||
{
|
||||
return ipSegmentList_;
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
long DescribeCustomLineResult::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineResult::getIpSegments()const
|
||||
{
|
||||
return ipSegments_;
|
||||
}
|
||||
|
||||
long DescribeCustomLineResult::getCreateTimestamp()const
|
||||
{
|
||||
return createTimestamp_;
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
84
alidns/src/model/DescribeCustomLinesRequest.cc
Normal file
84
alidns/src/model/DescribeCustomLinesRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeCustomLinesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeCustomLinesRequest;
|
||||
|
||||
DescribeCustomLinesRequest::DescribeCustomLinesRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeCustomLines")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCustomLinesRequest::~DescribeCustomLinesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCustomLinesRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeCustomLinesRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DescribeCustomLinesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeCustomLinesRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeCustomLinesRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeCustomLinesRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long DescribeCustomLinesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCustomLinesRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeCustomLinesRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeCustomLinesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
107
alidns/src/model/DescribeCustomLinesResult.cc
Normal file
107
alidns/src/model/DescribeCustomLinesResult.cc
Normal file
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* 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/alidns/model/DescribeCustomLinesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DescribeCustomLinesResult::DescribeCustomLinesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCustomLinesResult::DescribeCustomLinesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCustomLinesResult::~DescribeCustomLinesResult()
|
||||
{}
|
||||
|
||||
void DescribeCustomLinesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCustomLinesNode = value["CustomLines"]["CustomLine"];
|
||||
for (auto valueCustomLinesCustomLine : allCustomLinesNode)
|
||||
{
|
||||
CustomLine customLinesObject;
|
||||
if(!valueCustomLinesCustomLine["Id"].isNull())
|
||||
customLinesObject.id = std::stol(valueCustomLinesCustomLine["Id"].asString());
|
||||
if(!valueCustomLinesCustomLine["Name"].isNull())
|
||||
customLinesObject.name = valueCustomLinesCustomLine["Name"].asString();
|
||||
if(!valueCustomLinesCustomLine["CreateTime"].isNull())
|
||||
customLinesObject.createTime = valueCustomLinesCustomLine["CreateTime"].asString();
|
||||
if(!valueCustomLinesCustomLine["CreateTimestamp"].isNull())
|
||||
customLinesObject.createTimestamp = std::stol(valueCustomLinesCustomLine["CreateTimestamp"].asString());
|
||||
if(!valueCustomLinesCustomLine["IpSegments"].isNull())
|
||||
customLinesObject.ipSegments = valueCustomLinesCustomLine["IpSegments"].asString();
|
||||
if(!valueCustomLinesCustomLine["Code"].isNull())
|
||||
customLinesObject.code = valueCustomLinesCustomLine["Code"].asString();
|
||||
auto allIpSegmentListNode = allCustomLinesNode["IpSegmentList"]["IpSegment"];
|
||||
for (auto allCustomLinesNodeIpSegmentListIpSegment : allIpSegmentListNode)
|
||||
{
|
||||
CustomLine::IpSegment ipSegmentListObject;
|
||||
if(!allCustomLinesNodeIpSegmentListIpSegment["Name"].isNull())
|
||||
ipSegmentListObject.name = allCustomLinesNodeIpSegmentListIpSegment["Name"].asString();
|
||||
if(!allCustomLinesNodeIpSegmentListIpSegment["StartIp"].isNull())
|
||||
ipSegmentListObject.startIp = allCustomLinesNodeIpSegmentListIpSegment["StartIp"].asString();
|
||||
if(!allCustomLinesNodeIpSegmentListIpSegment["EndIp"].isNull())
|
||||
ipSegmentListObject.endIp = allCustomLinesNodeIpSegmentListIpSegment["EndIp"].asString();
|
||||
customLinesObject.ipSegmentList.push_back(ipSegmentListObject);
|
||||
}
|
||||
customLines_.push_back(customLinesObject);
|
||||
}
|
||||
if(!value["TotalItems"].isNull())
|
||||
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeCustomLinesResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeCustomLinesResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int DescribeCustomLinesResult::getTotalPages()const
|
||||
{
|
||||
return totalPages_;
|
||||
}
|
||||
|
||||
std::vector<DescribeCustomLinesResult::CustomLine> DescribeCustomLinesResult::getCustomLines()const
|
||||
{
|
||||
return customLines_;
|
||||
}
|
||||
|
||||
int DescribeCustomLinesResult::getTotalItems()const
|
||||
{
|
||||
return totalItems_;
|
||||
}
|
||||
|
||||
84
alidns/src/model/DescribeTransferDomainsRequest.cc
Normal file
84
alidns/src/model/DescribeTransferDomainsRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeTransferDomainsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeTransferDomainsRequest;
|
||||
|
||||
DescribeTransferDomainsRequest::DescribeTransferDomainsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeTransferDomains")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeTransferDomainsRequest::~DescribeTransferDomainsRequest()
|
||||
{}
|
||||
|
||||
long DescribeTransferDomainsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeTransferDomainsRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeTransferDomainsRequest::getTransferType()const
|
||||
{
|
||||
return transferType_;
|
||||
}
|
||||
|
||||
void DescribeTransferDomainsRequest::setTransferType(const std::string& transferType)
|
||||
{
|
||||
transferType_ = transferType;
|
||||
setCoreParameter("TransferType", transferType);
|
||||
}
|
||||
|
||||
std::string DescribeTransferDomainsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeTransferDomainsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long DescribeTransferDomainsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeTransferDomainsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeTransferDomainsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeTransferDomainsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
88
alidns/src/model/DescribeTransferDomainsResult.cc
Normal file
88
alidns/src/model/DescribeTransferDomainsResult.cc
Normal file
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* 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/alidns/model/DescribeTransferDomainsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DescribeTransferDomainsResult::DescribeTransferDomainsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeTransferDomainsResult::DescribeTransferDomainsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeTransferDomainsResult::~DescribeTransferDomainsResult()
|
||||
{}
|
||||
|
||||
void DescribeTransferDomainsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDomainTransfersNode = value["DomainTransfers"]["DomainTransfer"];
|
||||
for (auto valueDomainTransfersDomainTransfer : allDomainTransfersNode)
|
||||
{
|
||||
DomainTransfer domainTransfersObject;
|
||||
if(!valueDomainTransfersDomainTransfer["DomainName"].isNull())
|
||||
domainTransfersObject.domainName = valueDomainTransfersDomainTransfer["DomainName"].asString();
|
||||
if(!valueDomainTransfersDomainTransfer["CreateTime"].isNull())
|
||||
domainTransfersObject.createTime = valueDomainTransfersDomainTransfer["CreateTime"].asString();
|
||||
if(!valueDomainTransfersDomainTransfer["CreateTimestamp"].isNull())
|
||||
domainTransfersObject.createTimestamp = std::stol(valueDomainTransfersDomainTransfer["CreateTimestamp"].asString());
|
||||
if(!valueDomainTransfersDomainTransfer["FromUserId"].isNull())
|
||||
domainTransfersObject.fromUserId = std::stol(valueDomainTransfersDomainTransfer["FromUserId"].asString());
|
||||
if(!valueDomainTransfersDomainTransfer["TargetUserId"].isNull())
|
||||
domainTransfersObject.targetUserId = std::stol(valueDomainTransfersDomainTransfer["TargetUserId"].asString());
|
||||
if(!valueDomainTransfersDomainTransfer["Id"].isNull())
|
||||
domainTransfersObject.id = std::stol(valueDomainTransfersDomainTransfer["Id"].asString());
|
||||
domainTransfers_.push_back(domainTransfersObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
long DescribeTransferDomainsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
long DescribeTransferDomainsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long DescribeTransferDomainsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<DescribeTransferDomainsResult::DomainTransfer> DescribeTransferDomainsResult::getDomainTransfers()const
|
||||
{
|
||||
return domainTransfers_;
|
||||
}
|
||||
|
||||
73
alidns/src/model/GetTxtRecordForVerifyRequest.cc
Normal file
73
alidns/src/model/GetTxtRecordForVerifyRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* 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/alidns/model/GetTxtRecordForVerifyRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::GetTxtRecordForVerifyRequest;
|
||||
|
||||
GetTxtRecordForVerifyRequest::GetTxtRecordForVerifyRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "GetTxtRecordForVerify")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTxtRecordForVerifyRequest::~GetTxtRecordForVerifyRequest()
|
||||
{}
|
||||
|
||||
std::string GetTxtRecordForVerifyRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void GetTxtRecordForVerifyRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string GetTxtRecordForVerifyRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void GetTxtRecordForVerifyRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setCoreParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string GetTxtRecordForVerifyRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void GetTxtRecordForVerifyRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string GetTxtRecordForVerifyRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void GetTxtRecordForVerifyRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
65
alidns/src/model/GetTxtRecordForVerifyResult.cc
Normal file
65
alidns/src/model/GetTxtRecordForVerifyResult.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/GetTxtRecordForVerifyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
GetTxtRecordForVerifyResult::GetTxtRecordForVerifyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTxtRecordForVerifyResult::GetTxtRecordForVerifyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTxtRecordForVerifyResult::~GetTxtRecordForVerifyResult()
|
||||
{}
|
||||
|
||||
void GetTxtRecordForVerifyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["RR"].isNull())
|
||||
rR_ = value["RR"].asString();
|
||||
if(!value["Value"].isNull())
|
||||
value_ = value["Value"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetTxtRecordForVerifyResult::getRR()const
|
||||
{
|
||||
return rR_;
|
||||
}
|
||||
|
||||
std::string GetTxtRecordForVerifyResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string GetTxtRecordForVerifyResult::getValue()const
|
||||
{
|
||||
return value_;
|
||||
}
|
||||
|
||||
@@ -35,20 +35,19 @@ std::vector<OperateBatchDomainRequest::DomainRecordInfo> OperateBatchDomainReque
|
||||
void OperateBatchDomainRequest::setDomainRecordInfo(const std::vector<DomainRecordInfo>& domainRecordInfo)
|
||||
{
|
||||
domainRecordInfo_ = domainRecordInfo;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= domainRecordInfo.size(); i++) {
|
||||
auto obj = domainRecordInfo.at(i);
|
||||
std::string str ="DomainRecordInfo."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Rr", obj.rr);
|
||||
setCoreParameter(str + ".NewType", obj.newType);
|
||||
setCoreParameter(str + ".NewValue", obj.newValue);
|
||||
setCoreParameter(str + ".Line", obj.line);
|
||||
setCoreParameter(str + ".Domain", obj.domain);
|
||||
setCoreParameter(str + ".Type", obj.type);
|
||||
setCoreParameter(str + ".Priority", std::to_string(obj.priority));
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Ttl", std::to_string(obj.ttl));
|
||||
setCoreParameter(str + ".NewRr", obj.newRr);
|
||||
for(int dep1 = 0; dep1!= domainRecordInfo.size(); dep1++) {
|
||||
auto domainRecordInfoObj = domainRecordInfo.at(dep1);
|
||||
std::string domainRecordInfoObjStr = "DomainRecordInfo." + std::to_string(dep1);
|
||||
setCoreParameter(domainRecordInfoObjStr + ".Rr", domainRecordInfoObj.rr);
|
||||
setCoreParameter(domainRecordInfoObjStr + ".NewType", domainRecordInfoObj.newType);
|
||||
setCoreParameter(domainRecordInfoObjStr + ".NewValue", domainRecordInfoObj.newValue);
|
||||
setCoreParameter(domainRecordInfoObjStr + ".Line", domainRecordInfoObj.line);
|
||||
setCoreParameter(domainRecordInfoObjStr + ".Domain", domainRecordInfoObj.domain);
|
||||
setCoreParameter(domainRecordInfoObjStr + ".Type", domainRecordInfoObj.type);
|
||||
setCoreParameter(domainRecordInfoObjStr + ".Priority", std::to_string(domainRecordInfoObj.priority));
|
||||
setCoreParameter(domainRecordInfoObjStr + ".Value", domainRecordInfoObj.value);
|
||||
setCoreParameter(domainRecordInfoObjStr + ".Ttl", std::to_string(domainRecordInfoObj.ttl));
|
||||
setCoreParameter(domainRecordInfoObjStr + ".NewRr", domainRecordInfoObj.newRr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
62
alidns/src/model/RetrieveDomainRequest.cc
Normal file
62
alidns/src/model/RetrieveDomainRequest.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/alidns/model/RetrieveDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::RetrieveDomainRequest;
|
||||
|
||||
RetrieveDomainRequest::RetrieveDomainRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "RetrieveDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RetrieveDomainRequest::~RetrieveDomainRequest()
|
||||
{}
|
||||
|
||||
std::string RetrieveDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void RetrieveDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string RetrieveDomainRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void RetrieveDomainRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string RetrieveDomainRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void RetrieveDomainRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
44
alidns/src/model/RetrieveDomainResult.cc
Normal file
44
alidns/src/model/RetrieveDomainResult.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/alidns/model/RetrieveDomainResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
RetrieveDomainResult::RetrieveDomainResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RetrieveDomainResult::RetrieveDomainResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RetrieveDomainResult::~RetrieveDomainResult()
|
||||
{}
|
||||
|
||||
void RetrieveDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
95
alidns/src/model/TransferDomainRequest.cc
Normal file
95
alidns/src/model/TransferDomainRequest.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/alidns/model/TransferDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::TransferDomainRequest;
|
||||
|
||||
TransferDomainRequest::TransferDomainRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "TransferDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TransferDomainRequest::~TransferDomainRequest()
|
||||
{}
|
||||
|
||||
std::string TransferDomainRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
}
|
||||
|
||||
void TransferDomainRequest::setDomainNames(const std::string& domainNames)
|
||||
{
|
||||
domainNames_ = domainNames;
|
||||
setCoreParameter("DomainNames", domainNames);
|
||||
}
|
||||
|
||||
std::string TransferDomainRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void TransferDomainRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string TransferDomainRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void TransferDomainRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long TransferDomainRequest::getTargetUserId()const
|
||||
{
|
||||
return targetUserId_;
|
||||
}
|
||||
|
||||
void TransferDomainRequest::setTargetUserId(long targetUserId)
|
||||
{
|
||||
targetUserId_ = targetUserId;
|
||||
setCoreParameter("TargetUserId", std::to_string(targetUserId));
|
||||
}
|
||||
|
||||
std::string TransferDomainRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void TransferDomainRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string TransferDomainRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void TransferDomainRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
@@ -14,38 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/TrainProjectResult.h>
|
||||
#include <alibabacloud/alidns/model/TransferDomainResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
TrainProjectResult::TrainProjectResult() :
|
||||
TransferDomainResult::TransferDomainResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TrainProjectResult::TrainProjectResult(const std::string &payload) :
|
||||
TransferDomainResult::TransferDomainResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TrainProjectResult::~TrainProjectResult()
|
||||
TransferDomainResult::~TransferDomainResult()
|
||||
{}
|
||||
|
||||
void TrainProjectResult::parse(const std::string &payload)
|
||||
void TransferDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["IterationId"].isNull())
|
||||
iterationId_ = value["IterationId"].asString();
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = std::stol(value["TaskId"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string TrainProjectResult::getIterationId()const
|
||||
long TransferDomainResult::getTaskId()const
|
||||
{
|
||||
return iterationId_;
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
73
alidns/src/model/UnbindInstanceDomainsRequest.cc
Normal file
73
alidns/src/model/UnbindInstanceDomainsRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* 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/alidns/model/UnbindInstanceDomainsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::UnbindInstanceDomainsRequest;
|
||||
|
||||
UnbindInstanceDomainsRequest::UnbindInstanceDomainsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "UnbindInstanceDomains")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UnbindInstanceDomainsRequest::~UnbindInstanceDomainsRequest()
|
||||
{}
|
||||
|
||||
std::string UnbindInstanceDomainsRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
}
|
||||
|
||||
void UnbindInstanceDomainsRequest::setDomainNames(const std::string& domainNames)
|
||||
{
|
||||
domainNames_ = domainNames;
|
||||
setCoreParameter("DomainNames", domainNames);
|
||||
}
|
||||
|
||||
std::string UnbindInstanceDomainsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void UnbindInstanceDomainsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string UnbindInstanceDomainsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void UnbindInstanceDomainsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string UnbindInstanceDomainsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void UnbindInstanceDomainsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
58
alidns/src/model/UnbindInstanceDomainsResult.cc
Normal file
58
alidns/src/model/UnbindInstanceDomainsResult.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/alidns/model/UnbindInstanceDomainsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
UnbindInstanceDomainsResult::UnbindInstanceDomainsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UnbindInstanceDomainsResult::UnbindInstanceDomainsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UnbindInstanceDomainsResult::~UnbindInstanceDomainsResult()
|
||||
{}
|
||||
|
||||
void UnbindInstanceDomainsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SuccessCount"].isNull())
|
||||
successCount_ = std::stoi(value["SuccessCount"].asString());
|
||||
if(!value["FailedCount"].isNull())
|
||||
failedCount_ = std::stoi(value["FailedCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int UnbindInstanceDomainsResult::getFailedCount()const
|
||||
{
|
||||
return failedCount_;
|
||||
}
|
||||
|
||||
int UnbindInstanceDomainsResult::getSuccessCount()const
|
||||
{
|
||||
return successCount_;
|
||||
}
|
||||
|
||||
89
alidns/src/model/UpdateCustomLineRequest.cc
Normal file
89
alidns/src/model/UpdateCustomLineRequest.cc
Normal file
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* 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/alidns/model/UpdateCustomLineRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::UpdateCustomLineRequest;
|
||||
|
||||
UpdateCustomLineRequest::UpdateCustomLineRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "UpdateCustomLine")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateCustomLineRequest::~UpdateCustomLineRequest()
|
||||
{}
|
||||
|
||||
long UpdateCustomLineRequest::getLineId()const
|
||||
{
|
||||
return lineId_;
|
||||
}
|
||||
|
||||
void UpdateCustomLineRequest::setLineId(long lineId)
|
||||
{
|
||||
lineId_ = lineId;
|
||||
setCoreParameter("LineId", std::to_string(lineId));
|
||||
}
|
||||
|
||||
std::vector<UpdateCustomLineRequest::IpSegment> UpdateCustomLineRequest::getIpSegment()const
|
||||
{
|
||||
return ipSegment_;
|
||||
}
|
||||
|
||||
void UpdateCustomLineRequest::setIpSegment(const std::vector<IpSegment>& ipSegment)
|
||||
{
|
||||
ipSegment_ = ipSegment;
|
||||
for(int dep1 = 0; dep1!= ipSegment.size(); dep1++) {
|
||||
auto ipSegmentObj = ipSegment.at(dep1);
|
||||
std::string ipSegmentObjStr = "IpSegment." + std::to_string(dep1);
|
||||
setCoreParameter(ipSegmentObjStr + ".EndIp", ipSegmentObj.endIp);
|
||||
setCoreParameter(ipSegmentObjStr + ".StartIp", ipSegmentObj.startIp);
|
||||
}
|
||||
}
|
||||
|
||||
std::string UpdateCustomLineRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void UpdateCustomLineRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string UpdateCustomLineRequest::getLineName()const
|
||||
{
|
||||
return lineName_;
|
||||
}
|
||||
|
||||
void UpdateCustomLineRequest::setLineName(const std::string& lineName)
|
||||
{
|
||||
lineName_ = lineName;
|
||||
setCoreParameter("LineName", lineName);
|
||||
}
|
||||
|
||||
std::string UpdateCustomLineRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void UpdateCustomLineRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/DeleteTrainDatasResult.h>
|
||||
#include <alibabacloud/alidns/model/UpdateCustomLineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DeleteTrainDatasResult::DeleteTrainDatasResult() :
|
||||
UpdateCustomLineResult::UpdateCustomLineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteTrainDatasResult::DeleteTrainDatasResult(const std::string &payload) :
|
||||
UpdateCustomLineResult::UpdateCustomLineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteTrainDatasResult::~DeleteTrainDatasResult()
|
||||
UpdateCustomLineResult::~UpdateCustomLineResult()
|
||||
{}
|
||||
|
||||
void DeleteTrainDatasResult::parse(const std::string &payload)
|
||||
void UpdateCustomLineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -101,13 +101,12 @@ std::vector<UpdateGtmAddressPoolRequest::Addr> UpdateGtmAddressPoolRequest::getA
|
||||
void UpdateGtmAddressPoolRequest::setAddr(const std::vector<Addr>& addr)
|
||||
{
|
||||
addr_ = addr;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= addr.size(); i++) {
|
||||
auto obj = addr.at(i);
|
||||
std::string str ="Addr."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Mode", obj.mode);
|
||||
setCoreParameter(str + ".LbaWeight", std::to_string(obj.lbaWeight));
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
for(int dep1 = 0; dep1!= addr.size(); dep1++) {
|
||||
auto addrObj = addr.at(dep1);
|
||||
std::string addrObjStr = "Addr." + std::to_string(dep1);
|
||||
setCoreParameter(addrObjStr + ".Mode", addrObj.mode);
|
||||
setCoreParameter(addrObjStr + ".LbaWeight", std::to_string(addrObj.lbaWeight));
|
||||
setCoreParameter(addrObjStr + ".Value", addrObj.value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -123,12 +123,11 @@ std::vector<UpdateGtmMonitorRequest::IspCityNode> UpdateGtmMonitorRequest::getIs
|
||||
void UpdateGtmMonitorRequest::setIspCityNode(const std::vector<IspCityNode>& ispCityNode)
|
||||
{
|
||||
ispCityNode_ = ispCityNode;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= ispCityNode.size(); i++) {
|
||||
auto obj = ispCityNode.at(i);
|
||||
std::string str ="IspCityNode."+ std::to_string(i);
|
||||
setCoreParameter(str + ".CityCode", obj.cityCode);
|
||||
setCoreParameter(str + ".IspCode", obj.ispCode);
|
||||
for(int dep1 = 0; dep1!= ispCityNode.size(); dep1++) {
|
||||
auto ispCityNodeObj = ispCityNode.at(dep1);
|
||||
std::string ispCityNodeObjStr = "IspCityNode." + std::to_string(dep1);
|
||||
setCoreParameter(ispCityNodeObjStr + ".CityCode", ispCityNodeObj.cityCode);
|
||||
setCoreParameter(ispCityNodeObjStr + ".IspCode", ispCityNodeObj.ispCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -105,6 +105,8 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/QueryPrepaidCardsResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryProductListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryProductListResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryRIUtilizationDetailRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryRIUtilizationDetailResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryRedeemRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryRedeemResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryResellerAvailableQuotaRequest.h
|
||||
@@ -220,6 +222,8 @@ set(bssopenapi_src
|
||||
src/model/QueryPrepaidCardsResult.cc
|
||||
src/model/QueryProductListRequest.cc
|
||||
src/model/QueryProductListResult.cc
|
||||
src/model/QueryRIUtilizationDetailRequest.cc
|
||||
src/model/QueryRIUtilizationDetailResult.cc
|
||||
src/model/QueryRedeemRequest.cc
|
||||
src/model/QueryRedeemResult.cc
|
||||
src/model/QueryResellerAvailableQuotaRequest.cc
|
||||
|
||||
@@ -106,6 +106,8 @@
|
||||
#include "model/QueryPrepaidCardsResult.h"
|
||||
#include "model/QueryProductListRequest.h"
|
||||
#include "model/QueryProductListResult.h"
|
||||
#include "model/QueryRIUtilizationDetailRequest.h"
|
||||
#include "model/QueryRIUtilizationDetailResult.h"
|
||||
#include "model/QueryRedeemRequest.h"
|
||||
#include "model/QueryRedeemResult.h"
|
||||
#include "model/QueryResellerAvailableQuotaRequest.h"
|
||||
@@ -269,6 +271,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryProductListResult> QueryProductListOutcome;
|
||||
typedef std::future<QueryProductListOutcome> QueryProductListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryProductListRequest&, const QueryProductListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryProductListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryRIUtilizationDetailResult> QueryRIUtilizationDetailOutcome;
|
||||
typedef std::future<QueryRIUtilizationDetailOutcome> QueryRIUtilizationDetailOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryRIUtilizationDetailRequest&, const QueryRIUtilizationDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRIUtilizationDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryRedeemResult> QueryRedeemOutcome;
|
||||
typedef std::future<QueryRedeemOutcome> QueryRedeemOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryRedeemRequest&, const QueryRedeemOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRedeemAsyncHandler;
|
||||
@@ -442,6 +447,9 @@ namespace AlibabaCloud
|
||||
QueryProductListOutcome queryProductList(const Model::QueryProductListRequest &request)const;
|
||||
void queryProductListAsync(const Model::QueryProductListRequest& request, const QueryProductListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryProductListOutcomeCallable queryProductListCallable(const Model::QueryProductListRequest& request) const;
|
||||
QueryRIUtilizationDetailOutcome queryRIUtilizationDetail(const Model::QueryRIUtilizationDetailRequest &request)const;
|
||||
void queryRIUtilizationDetailAsync(const Model::QueryRIUtilizationDetailRequest& request, const QueryRIUtilizationDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryRIUtilizationDetailOutcomeCallable queryRIUtilizationDetailCallable(const Model::QueryRIUtilizationDetailRequest& request) const;
|
||||
QueryRedeemOutcome queryRedeem(const Model::QueryRedeemRequest &request)const;
|
||||
void queryRedeemAsync(const Model::QueryRedeemRequest& request, const QueryRedeemAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryRedeemOutcomeCallable queryRedeemCallable(const Model::QueryRedeemRequest& request) const;
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
float afterTaxAmount;
|
||||
std::string productName;
|
||||
std::string subOrderId;
|
||||
float deductedByCashCoupons;
|
||||
std::string paymentTime;
|
||||
float tax;
|
||||
|
||||
@@ -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_BSSOPENAPI_MODEL_QUERYRIUTILIZATIONDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYRIUTILIZATIONDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryRIUtilizationDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryRIUtilizationDetailRequest();
|
||||
~QueryRIUtilizationDetailRequest();
|
||||
|
||||
std::string getDeductedInstanceId()const;
|
||||
void setDeductedInstanceId(const std::string& deductedInstanceId);
|
||||
std::string getInstanceSpec()const;
|
||||
void setInstanceSpec(const std::string& instanceSpec);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getRIInstanceId()const;
|
||||
void setRIInstanceId(const std::string& rIInstanceId);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getRICommodityCode()const;
|
||||
void setRICommodityCode(const std::string& rICommodityCode);
|
||||
|
||||
private:
|
||||
std::string deductedInstanceId_;
|
||||
std::string instanceSpec_;
|
||||
std::string endTime_;
|
||||
std::string rIInstanceId_;
|
||||
std::string startTime_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
std::string rICommodityCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYRIUTILIZATIONDETAILREQUEST_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_BSSOPENAPI_MODEL_QUERYRIUTILIZATIONDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYRIUTILIZATIONDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryRIUtilizationDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct DetailListItem
|
||||
{
|
||||
std::string deductDate;
|
||||
std::string instanceSpec;
|
||||
std::string rIInstanceId;
|
||||
std::string deductedProductDetail;
|
||||
std::string deductedCommodityCode;
|
||||
std::string deductedInstanceId;
|
||||
std::string deductHours;
|
||||
};
|
||||
long totalCount;
|
||||
long pageNum;
|
||||
long pageSize;
|
||||
std::vector<DetailListItem> detailList;
|
||||
};
|
||||
|
||||
|
||||
QueryRIUtilizationDetailResult();
|
||||
explicit QueryRIUtilizationDetailResult(const std::string &payload);
|
||||
~QueryRIUtilizationDetailResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYRIUTILIZATIONDETAILRESULT_H_
|
||||
@@ -1563,6 +1563,42 @@ BssOpenApiClient::QueryProductListOutcomeCallable BssOpenApiClient::queryProduct
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryRIUtilizationDetailOutcome BssOpenApiClient::queryRIUtilizationDetail(const QueryRIUtilizationDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryRIUtilizationDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryRIUtilizationDetailOutcome(QueryRIUtilizationDetailResult(outcome.result()));
|
||||
else
|
||||
return QueryRIUtilizationDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::queryRIUtilizationDetailAsync(const QueryRIUtilizationDetailRequest& request, const QueryRIUtilizationDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryRIUtilizationDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryRIUtilizationDetailOutcomeCallable BssOpenApiClient::queryRIUtilizationDetailCallable(const QueryRIUtilizationDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryRIUtilizationDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryRIUtilizationDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryRedeemOutcome BssOpenApiClient::queryRedeem(const QueryRedeemRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -35,13 +35,12 @@ std::vector<AllocateCostUnitResourceRequest::ResourceInstanceList> AllocateCostU
|
||||
void AllocateCostUnitResourceRequest::setResourceInstanceList(const std::vector<ResourceInstanceList>& resourceInstanceList)
|
||||
{
|
||||
resourceInstanceList_ = resourceInstanceList;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= resourceInstanceList.size(); i++) {
|
||||
auto obj = resourceInstanceList.at(i);
|
||||
std::string str ="ResourceInstanceList."+ std::to_string(i);
|
||||
setCoreParameter(str + ".ResourceId", obj.resourceId);
|
||||
setCoreParameter(str + ".CommodityCode", obj.commodityCode);
|
||||
setCoreParameter(str + ".ResourceUserId", std::to_string(obj.resourceUserId));
|
||||
for(int dep1 = 0; dep1!= resourceInstanceList.size(); dep1++) {
|
||||
auto resourceInstanceListObj = resourceInstanceList.at(dep1);
|
||||
std::string resourceInstanceListObjStr = "ResourceInstanceList." + std::to_string(dep1);
|
||||
setCoreParameter(resourceInstanceListObjStr + ".ResourceId", resourceInstanceListObj.resourceId);
|
||||
setCoreParameter(resourceInstanceListObjStr + ".CommodityCode", resourceInstanceListObj.commodityCode);
|
||||
setCoreParameter(resourceInstanceListObjStr + ".ResourceUserId", std::to_string(resourceInstanceListObj.resourceUserId));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -134,8 +134,9 @@ std::vector<long> ApplyInvoiceRequest::getSelectedIds()const
|
||||
void ApplyInvoiceRequest::setSelectedIds(const std::vector<long>& selectedIds)
|
||||
{
|
||||
selectedIds_ = selectedIds;
|
||||
for(int i = 0; i!= selectedIds.size(); i++)
|
||||
setCoreParameter("SelectedIds."+ std::to_string(i), std::to_string(selectedIds.at(i)));
|
||||
for(int dep1 = 0; dep1!= selectedIds.size(); dep1++) {
|
||||
setCoreParameter("SelectedIds."+ std::to_string(dep1), std::to_string(selectedIds.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
long ApplyInvoiceRequest::getCallerUid()const
|
||||
|
||||
@@ -35,13 +35,12 @@ std::vector<CreateCostUnitRequest::UnitEntityList> CreateCostUnitRequest::getUni
|
||||
void CreateCostUnitRequest::setUnitEntityList(const std::vector<UnitEntityList>& unitEntityList)
|
||||
{
|
||||
unitEntityList_ = unitEntityList;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= unitEntityList.size(); i++) {
|
||||
auto obj = unitEntityList.at(i);
|
||||
std::string str ="UnitEntityList."+ std::to_string(i);
|
||||
setCoreParameter(str + ".UnitName", obj.unitName);
|
||||
setCoreParameter(str + ".ParentUnitId", std::to_string(obj.parentUnitId));
|
||||
setCoreParameter(str + ".OwnerUid", std::to_string(obj.ownerUid));
|
||||
for(int dep1 = 0; dep1!= unitEntityList.size(); dep1++) {
|
||||
auto unitEntityListObj = unitEntityList.at(dep1);
|
||||
std::string unitEntityListObjStr = "UnitEntityList." + std::to_string(dep1);
|
||||
setCoreParameter(unitEntityListObjStr + ".UnitName", unitEntityListObj.unitName);
|
||||
setCoreParameter(unitEntityListObjStr + ".ParentUnitId", std::to_string(unitEntityListObj.parentUnitId));
|
||||
setCoreParameter(unitEntityListObjStr + ".OwnerUid", std::to_string(unitEntityListObj.ownerUid));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -112,12 +112,11 @@ std::vector<CreateInstanceRequest::Parameter> CreateInstanceRequest::getParamete
|
||||
void CreateInstanceRequest::setParameter(const std::vector<Parameter>& parameter)
|
||||
{
|
||||
parameter_ = parameter;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= parameter.size(); i++) {
|
||||
auto obj = parameter.at(i);
|
||||
std::string str ="Parameter."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Code", obj.code);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
for(int dep1 = 0; dep1!= parameter.size(); dep1++) {
|
||||
auto parameterObj = parameter.at(dep1);
|
||||
std::string parameterObjStr = "Parameter." + std::to_string(dep1);
|
||||
setCoreParameter(parameterObjStr + ".Code", parameterObj.code);
|
||||
setCoreParameter(parameterObjStr + ".Value", parameterObj.value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -57,13 +57,12 @@ std::vector<GetPayAsYouGoPriceRequest::ModuleList> GetPayAsYouGoPriceRequest::ge
|
||||
void GetPayAsYouGoPriceRequest::setModuleList(const std::vector<ModuleList>& moduleList)
|
||||
{
|
||||
moduleList_ = moduleList;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= moduleList.size(); i++) {
|
||||
auto obj = moduleList.at(i);
|
||||
std::string str ="ModuleList."+ std::to_string(i);
|
||||
setCoreParameter(str + ".ModuleCode", obj.moduleCode);
|
||||
setCoreParameter(str + ".PriceType", obj.priceType);
|
||||
setCoreParameter(str + ".Config", obj.config);
|
||||
for(int dep1 = 0; dep1!= moduleList.size(); dep1++) {
|
||||
auto moduleListObj = moduleList.at(dep1);
|
||||
std::string moduleListObjStr = "ModuleList." + std::to_string(dep1);
|
||||
setCoreParameter(moduleListObjStr + ".ModuleCode", moduleListObj.moduleCode);
|
||||
setCoreParameter(moduleListObjStr + ".PriceType", moduleListObj.priceType);
|
||||
setCoreParameter(moduleListObjStr + ".Config", moduleListObj.config);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -68,14 +68,13 @@ std::vector<GetSubscriptionPriceRequest::ModuleList> GetSubscriptionPriceRequest
|
||||
void GetSubscriptionPriceRequest::setModuleList(const std::vector<ModuleList>& moduleList)
|
||||
{
|
||||
moduleList_ = moduleList;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= moduleList.size(); i++) {
|
||||
auto obj = moduleList.at(i);
|
||||
std::string str ="ModuleList."+ std::to_string(i);
|
||||
setCoreParameter(str + ".ModuleCode", obj.moduleCode);
|
||||
setCoreParameter(str + ".ModuleStatus", std::to_string(obj.moduleStatus));
|
||||
setCoreParameter(str + ".Tag", obj.tag);
|
||||
setCoreParameter(str + ".Config", obj.config);
|
||||
for(int dep1 = 0; dep1!= moduleList.size(); dep1++) {
|
||||
auto moduleListObj = moduleList.at(dep1);
|
||||
std::string moduleListObjStr = "ModuleList." + std::to_string(dep1);
|
||||
setCoreParameter(moduleListObjStr + ".ModuleCode", moduleListObj.moduleCode);
|
||||
setCoreParameter(moduleListObjStr + ".ModuleStatus", std::to_string(moduleListObj.moduleStatus));
|
||||
setCoreParameter(moduleListObjStr + ".Tag", moduleListObj.tag);
|
||||
setCoreParameter(moduleListObjStr + ".Config", moduleListObj.config);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,12 @@ std::vector<ModifyCostUnitRequest::UnitEntityList> ModifyCostUnitRequest::getUni
|
||||
void ModifyCostUnitRequest::setUnitEntityList(const std::vector<UnitEntityList>& unitEntityList)
|
||||
{
|
||||
unitEntityList_ = unitEntityList;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= unitEntityList.size(); i++) {
|
||||
auto obj = unitEntityList.at(i);
|
||||
std::string str ="UnitEntityList."+ std::to_string(i);
|
||||
setCoreParameter(str + ".NewUnitName", obj.newUnitName);
|
||||
setCoreParameter(str + ".UnitId", std::to_string(obj.unitId));
|
||||
setCoreParameter(str + ".OwnerUid", std::to_string(obj.ownerUid));
|
||||
for(int dep1 = 0; dep1!= unitEntityList.size(); dep1++) {
|
||||
auto unitEntityListObj = unitEntityList.at(dep1);
|
||||
std::string unitEntityListObjStr = "UnitEntityList." + std::to_string(dep1);
|
||||
setCoreParameter(unitEntityListObjStr + ".NewUnitName", unitEntityListObj.newUnitName);
|
||||
setCoreParameter(unitEntityListObjStr + ".UnitId", std::to_string(unitEntityListObj.unitId));
|
||||
setCoreParameter(unitEntityListObjStr + ".OwnerUid", std::to_string(unitEntityListObj.ownerUid));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -112,12 +112,11 @@ std::vector<ModifyInstanceRequest::Parameter> ModifyInstanceRequest::getParamete
|
||||
void ModifyInstanceRequest::setParameter(const std::vector<Parameter>& parameter)
|
||||
{
|
||||
parameter_ = parameter;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= parameter.size(); i++) {
|
||||
auto obj = parameter.at(i);
|
||||
std::string str ="Parameter."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Code", obj.code);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
for(int dep1 = 0; dep1!= parameter.size(); dep1++) {
|
||||
auto parameterObj = parameter.at(dep1);
|
||||
std::string parameterObjStr = "Parameter." + std::to_string(dep1);
|
||||
setCoreParameter(parameterObjStr + ".Code", parameterObj.code);
|
||||
setCoreParameter(parameterObjStr + ".Value", parameterObj.value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -110,6 +110,8 @@ void QueryBillResult::parse(const std::string &payload)
|
||||
itemObject.paymentTransactionID = dataNodeItemsItem["PaymentTransactionID"].asString();
|
||||
if(!dataNodeItemsItem["RoundDownDiscount"].isNull())
|
||||
itemObject.roundDownDiscount = dataNodeItemsItem["RoundDownDiscount"].asString();
|
||||
if(!dataNodeItemsItem["SubOrderId"].isNull())
|
||||
itemObject.subOrderId = dataNodeItemsItem["SubOrderId"].asString();
|
||||
data_.items.push_back(itemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
|
||||
@@ -123,8 +123,9 @@ std::vector<std::string> QueryEvaluateListRequest::getBizTypeList()const
|
||||
void QueryEvaluateListRequest::setBizTypeList(const std::vector<std::string>& bizTypeList)
|
||||
{
|
||||
bizTypeList_ = bizTypeList;
|
||||
for(int i = 0; i!= bizTypeList.size(); i++)
|
||||
setCoreParameter("BizTypeList."+ std::to_string(i), bizTypeList.at(i));
|
||||
for(int dep1 = 0; dep1!= bizTypeList.size(); dep1++) {
|
||||
setCoreParameter("BizTypeList."+ std::to_string(dep1), bizTypeList.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
long QueryEvaluateListRequest::getOwnerId()const
|
||||
|
||||
117
bssopenapi/src/model/QueryRIUtilizationDetailRequest.cc
Normal file
117
bssopenapi/src/model/QueryRIUtilizationDetailRequest.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/bssopenapi/model/QueryRIUtilizationDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::QueryRIUtilizationDetailRequest;
|
||||
|
||||
QueryRIUtilizationDetailRequest::QueryRIUtilizationDetailRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "QueryRIUtilizationDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryRIUtilizationDetailRequest::~QueryRIUtilizationDetailRequest()
|
||||
{}
|
||||
|
||||
std::string QueryRIUtilizationDetailRequest::getDeductedInstanceId()const
|
||||
{
|
||||
return deductedInstanceId_;
|
||||
}
|
||||
|
||||
void QueryRIUtilizationDetailRequest::setDeductedInstanceId(const std::string& deductedInstanceId)
|
||||
{
|
||||
deductedInstanceId_ = deductedInstanceId;
|
||||
setCoreParameter("DeductedInstanceId", deductedInstanceId);
|
||||
}
|
||||
|
||||
std::string QueryRIUtilizationDetailRequest::getInstanceSpec()const
|
||||
{
|
||||
return instanceSpec_;
|
||||
}
|
||||
|
||||
void QueryRIUtilizationDetailRequest::setInstanceSpec(const std::string& instanceSpec)
|
||||
{
|
||||
instanceSpec_ = instanceSpec;
|
||||
setCoreParameter("InstanceSpec", instanceSpec);
|
||||
}
|
||||
|
||||
std::string QueryRIUtilizationDetailRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void QueryRIUtilizationDetailRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string QueryRIUtilizationDetailRequest::getRIInstanceId()const
|
||||
{
|
||||
return rIInstanceId_;
|
||||
}
|
||||
|
||||
void QueryRIUtilizationDetailRequest::setRIInstanceId(const std::string& rIInstanceId)
|
||||
{
|
||||
rIInstanceId_ = rIInstanceId;
|
||||
setCoreParameter("RIInstanceId", rIInstanceId);
|
||||
}
|
||||
|
||||
std::string QueryRIUtilizationDetailRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void QueryRIUtilizationDetailRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
int QueryRIUtilizationDetailRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void QueryRIUtilizationDetailRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
int QueryRIUtilizationDetailRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void QueryRIUtilizationDetailRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string QueryRIUtilizationDetailRequest::getRICommodityCode()const
|
||||
{
|
||||
return rICommodityCode_;
|
||||
}
|
||||
|
||||
void QueryRIUtilizationDetailRequest::setRICommodityCode(const std::string& rICommodityCode)
|
||||
{
|
||||
rICommodityCode_ = rICommodityCode;
|
||||
setCoreParameter("RICommodityCode", rICommodityCode);
|
||||
}
|
||||
|
||||
97
bssopenapi/src/model/QueryRIUtilizationDetailResult.cc
Normal file
97
bssopenapi/src/model/QueryRIUtilizationDetailResult.cc
Normal file
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* 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/bssopenapi/model/QueryRIUtilizationDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
QueryRIUtilizationDetailResult::QueryRIUtilizationDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryRIUtilizationDetailResult::QueryRIUtilizationDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryRIUtilizationDetailResult::~QueryRIUtilizationDetailResult()
|
||||
{}
|
||||
|
||||
void QueryRIUtilizationDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["PageNum"].isNull())
|
||||
data_.pageNum = std::stol(dataNode["PageNum"].asString());
|
||||
if(!dataNode["PageSize"].isNull())
|
||||
data_.pageSize = std::stol(dataNode["PageSize"].asString());
|
||||
if(!dataNode["TotalCount"].isNull())
|
||||
data_.totalCount = std::stol(dataNode["TotalCount"].asString());
|
||||
auto allDetailListNode = dataNode["DetailList"]["DetailListItem"];
|
||||
for (auto dataNodeDetailListDetailListItem : allDetailListNode)
|
||||
{
|
||||
Data::DetailListItem detailListItemObject;
|
||||
if(!dataNodeDetailListDetailListItem["RIInstanceId"].isNull())
|
||||
detailListItemObject.rIInstanceId = dataNodeDetailListDetailListItem["RIInstanceId"].asString();
|
||||
if(!dataNodeDetailListDetailListItem["InstanceSpec"].isNull())
|
||||
detailListItemObject.instanceSpec = dataNodeDetailListDetailListItem["InstanceSpec"].asString();
|
||||
if(!dataNodeDetailListDetailListItem["DeductedInstanceId"].isNull())
|
||||
detailListItemObject.deductedInstanceId = dataNodeDetailListDetailListItem["DeductedInstanceId"].asString();
|
||||
if(!dataNodeDetailListDetailListItem["DeductedCommodityCode"].isNull())
|
||||
detailListItemObject.deductedCommodityCode = dataNodeDetailListDetailListItem["DeductedCommodityCode"].asString();
|
||||
if(!dataNodeDetailListDetailListItem["DeductDate"].isNull())
|
||||
detailListItemObject.deductDate = dataNodeDetailListDetailListItem["DeductDate"].asString();
|
||||
if(!dataNodeDetailListDetailListItem["DeductHours"].isNull())
|
||||
detailListItemObject.deductHours = dataNodeDetailListDetailListItem["DeductHours"].asString();
|
||||
if(!dataNodeDetailListDetailListItem["DeductedProductDetail"].isNull())
|
||||
detailListItemObject.deductedProductDetail = dataNodeDetailListDetailListItem["DeductedProductDetail"].asString();
|
||||
data_.detailList.push_back(detailListItemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryRIUtilizationDetailResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
QueryRIUtilizationDetailResult::Data QueryRIUtilizationDetailResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryRIUtilizationDetailResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool QueryRIUtilizationDetailResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
ActivatePerspectiveRequest();
|
||||
~ActivatePerspectiveRequest();
|
||||
|
||||
std::string getPerspectiveId()const;
|
||||
void setPerspectiveId(const std::string& perspectiveId);
|
||||
std::string getPerspectiveId()const;
|
||||
void setPerspectiveId(const std::string& perspectiveId);
|
||||
|
||||
private:
|
||||
std::string perspectiveId_;
|
||||
std::string perspectiveId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,14 +35,14 @@ namespace AlibabaCloud
|
||||
AddSynonymRequest();
|
||||
~AddSynonymRequest();
|
||||
|
||||
std::string getSynonym()const;
|
||||
void setSynonym(const std::string& synonym);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
std::string getSynonym()const;
|
||||
void setSynonym(const std::string& synonym);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
|
||||
private:
|
||||
std::string synonym_;
|
||||
std::string coreWordName_;
|
||||
std::string synonym_;
|
||||
std::string coreWordName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
AppendEntityMemberRequest();
|
||||
~AppendEntityMemberRequest();
|
||||
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
std::string getMember()const;
|
||||
void setMember(const std::string& member);
|
||||
std::string getApplyType()const;
|
||||
void setApplyType(const std::string& applyType);
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
std::string getMember()const;
|
||||
void setMember(const std::string& member);
|
||||
std::string getApplyType()const;
|
||||
void setApplyType(const std::string& applyType);
|
||||
|
||||
private:
|
||||
long entityId_;
|
||||
std::string member_;
|
||||
std::string applyType_;
|
||||
long entityId_;
|
||||
std::string member_;
|
||||
std::string applyType_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,14 +35,14 @@ namespace AlibabaCloud
|
||||
CreateCategoryRequest();
|
||||
~CreateCategoryRequest();
|
||||
|
||||
long getParentCategoryId()const;
|
||||
void setParentCategoryId(long parentCategoryId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
long getParentCategoryId()const;
|
||||
void setParentCategoryId(long parentCategoryId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
long parentCategoryId_;
|
||||
std::string name_;
|
||||
long parentCategoryId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
CreateCoreWordRequest();
|
||||
~CreateCoreWordRequest();
|
||||
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
|
||||
private:
|
||||
std::string coreWordName_;
|
||||
std::string coreWordName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
CreateDialogRequest();
|
||||
~CreateDialogRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getDialogName()const;
|
||||
void setDialogName(const std::string& dialogName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getDialogName()const;
|
||||
void setDialogName(const std::string& dialogName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string dialogName_;
|
||||
std::string instanceId_;
|
||||
std::string description_;
|
||||
std::string dialogName_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,23 +35,23 @@ namespace AlibabaCloud
|
||||
CreateEntityRequest();
|
||||
~CreateEntityRequest();
|
||||
|
||||
std::string getEntityName()const;
|
||||
void setEntityName(const std::string& entityName);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
std::string getRegex()const;
|
||||
void setRegex(const std::string& regex);
|
||||
std::string getEntityType()const;
|
||||
void setEntityType(const std::string& entityType);
|
||||
std::string getMembers()const;
|
||||
void setMembers(const std::string& members);
|
||||
std::string getEntityName()const;
|
||||
void setEntityName(const std::string& entityName);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
std::string getRegex()const;
|
||||
void setRegex(const std::string& regex);
|
||||
std::string getEntityType()const;
|
||||
void setEntityType(const std::string& entityType);
|
||||
std::string getMembers()const;
|
||||
void setMembers(const std::string& members);
|
||||
|
||||
private:
|
||||
std::string entityName_;
|
||||
long dialogId_;
|
||||
std::string regex_;
|
||||
std::string entityType_;
|
||||
std::string members_;
|
||||
std::string entityName_;
|
||||
long dialogId_;
|
||||
std::string regex_;
|
||||
std::string entityType_;
|
||||
std::string members_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,14 +35,14 @@ namespace AlibabaCloud
|
||||
CreateIntentRequest();
|
||||
~CreateIntentRequest();
|
||||
|
||||
std::string getIntentDefinition()const;
|
||||
void setIntentDefinition(const std::string& intentDefinition);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
std::string getIntentDefinition()const;
|
||||
void setIntentDefinition(const std::string& intentDefinition);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
std::string intentDefinition_;
|
||||
long dialogId_;
|
||||
std::string intentDefinition_;
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
CreateKnowledgeRequest();
|
||||
~CreateKnowledgeRequest();
|
||||
|
||||
std::string getKnowledge()const;
|
||||
void setKnowledge(const std::string& knowledge);
|
||||
std::string getKnowledge()const;
|
||||
void setKnowledge(const std::string& knowledge);
|
||||
|
||||
private:
|
||||
std::string knowledge_;
|
||||
std::string knowledge_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
CreatePerspectiveRequest();
|
||||
~CreatePerspectiveRequest();
|
||||
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DeleteCategoryRequest();
|
||||
~DeleteCategoryRequest();
|
||||
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
|
||||
private:
|
||||
long categoryId_;
|
||||
long categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DeleteCoreWordRequest();
|
||||
~DeleteCoreWordRequest();
|
||||
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
|
||||
private:
|
||||
std::string coreWordName_;
|
||||
std::string coreWordName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DeleteDialogRequest();
|
||||
~DeleteDialogRequest();
|
||||
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
long dialogId_;
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DeleteEntityRequest();
|
||||
~DeleteEntityRequest();
|
||||
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
long getEntityId()const;
|
||||
void setEntityId(long entityId);
|
||||
|
||||
private:
|
||||
long entityId_;
|
||||
long entityId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DeleteIntentRequest();
|
||||
~DeleteIntentRequest();
|
||||
|
||||
long getIntentId()const;
|
||||
void setIntentId(long intentId);
|
||||
long getIntentId()const;
|
||||
void setIntentId(long intentId);
|
||||
|
||||
private:
|
||||
long intentId_;
|
||||
long intentId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DeleteKnowledgeRequest();
|
||||
~DeleteKnowledgeRequest();
|
||||
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
long getKnowledgeId()const;
|
||||
void setKnowledgeId(long knowledgeId);
|
||||
|
||||
private:
|
||||
long knowledgeId_;
|
||||
long knowledgeId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DescribeCategoryRequest();
|
||||
~DescribeCategoryRequest();
|
||||
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
long getCategoryId()const;
|
||||
void setCategoryId(long categoryId);
|
||||
|
||||
private:
|
||||
long categoryId_;
|
||||
long categoryId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DescribeCoreWordRequest();
|
||||
~DescribeCoreWordRequest();
|
||||
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
std::string getCoreWordName()const;
|
||||
void setCoreWordName(const std::string& coreWordName);
|
||||
|
||||
private:
|
||||
std::string coreWordName_;
|
||||
std::string coreWordName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DescribeDialogFlowRequest();
|
||||
~DescribeDialogFlowRequest();
|
||||
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
long getDialogId()const;
|
||||
void setDialogId(long dialogId);
|
||||
|
||||
private:
|
||||
long dialogId_;
|
||||
long dialogId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user