From 7c93bd13dc58af00460c91dabae68682418be795 Mon Sep 17 00:00:00 2001 From: "haowei.yao" Date: Wed, 20 Mar 2019 11:17:20 +0800 Subject: [PATCH] =?UTF-8?q?ALIDNS=20SDK=20Auto=20Released=20By=20shenshi,V?= =?UTF-8?q?ersion=EF=BC=9A1.34.52?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: haowei.yao --- CHANGELOG | 3 + CMakeLists.txt | 3 +- VERSION | 2 +- alidns/CMakeLists.txt | 314 +++ .../alibabacloud/alidns/AlidnsClient.h | 510 ++++ .../alibabacloud/alidns/AlidnsExport.h | 32 + .../alidns/model/AddDomainGroupRequest.h | 57 + .../alidns/model/AddDomainGroupResult.h | 53 + .../alidns/model/AddDomainRecordRequest.h | 75 + .../alidns/model/AddDomainRecordResult.h | 51 + .../alidns/model/AddDomainRequest.h | 57 + .../alidns/model/AddDomainResult.h | 61 + .../model/AddGtmAccessStrategyRequest.h | 66 + .../alidns/model/AddGtmAccessStrategyResult.h | 51 + .../alidns/model/AddGtmAddressPoolRequest.h | 72 + .../alidns/model/AddGtmAddressPoolResult.h | 51 + .../alidns/model/AddGtmMonitorRequest.h | 80 + .../alidns/model/AddGtmMonitorResult.h | 51 + .../alidns/model/ChangeDomainGroupRequest.h | 60 + .../alidns/model/ChangeDomainGroupResult.h | 53 + .../model/ChangeDomainOfDnsProductRequest.h | 63 + .../model/ChangeDomainOfDnsProductResult.h | 51 + .../alidns/model/CheckDomainRecordRequest.h | 66 + .../alidns/model/CheckDomainRecordResult.h | 51 + .../alidns/model/CreateInstanceRequest.h | 69 + .../alidns/model/CreateInstanceResult.h | 53 + .../alidns/model/DeleteDomainGroupRequest.h | 57 + .../alidns/model/DeleteDomainGroupResult.h | 51 + .../alidns/model/DeleteDomainRecordRequest.h | 57 + .../alidns/model/DeleteDomainRecordResult.h | 51 + .../alidns/model/DeleteDomainRequest.h | 57 + .../alidns/model/DeleteDomainResult.h | 51 + .../model/DeleteGtmAccessStrategyRequest.h | 54 + .../model/DeleteGtmAccessStrategyResult.h | 49 + .../model/DeleteGtmAddressPoolRequest.h | 54 + .../alidns/model/DeleteGtmAddressPoolResult.h | 49 + .../model/DeleteSubDomainRecordsRequest.h | 63 + .../model/DeleteSubDomainRecordsResult.h | 53 + .../model/DescribeBatchResultCountRequest.h | 57 + .../model/DescribeBatchResultCountResult.h | 63 + .../model/DescribeBatchResultDetailRequest.h | 63 + .../model/DescribeBatchResultDetailResult.h | 76 + .../model/DescribeDNSSLBSubDomainsRequest.h | 63 + .../model/DescribeDNSSLBSubDomainsResult.h | 64 + .../model/DescribeDnsProductInstanceRequest.h | 57 + .../model/DescribeDnsProductInstanceResult.h | 113 + .../DescribeDnsProductInstancesRequest.h | 63 + .../model/DescribeDnsProductInstancesResult.h | 91 + .../model/DescribeDomainGroupsRequest.h | 63 + .../alidns/model/DescribeDomainGroupsResult.h | 63 + .../alidns/model/DescribeDomainInfoRequest.h | 60 + .../alidns/model/DescribeDomainInfoResult.h | 96 + .../alidns/model/DescribeDomainLogsRequest.h | 72 + .../alidns/model/DescribeDomainLogsResult.h | 66 + .../alidns/model/DescribeDomainNsRequest.h | 57 + .../alidns/model/DescribeDomainNsResult.h | 57 + .../model/DescribeDomainRecordInfoRequest.h | 57 + .../model/DescribeDomainRecordInfoResult.h | 77 + .../model/DescribeDomainRecordsRequest.h | 84 + .../model/DescribeDomainRecordsResult.h | 72 + .../alidns/model/DescribeDomainsRequest.h | 66 + .../alidns/model/DescribeDomainsResult.h | 75 + .../DescribeGtmAccessStrategiesRequest.h | 60 + .../model/DescribeGtmAccessStrategiesResult.h | 82 + ...eGtmAccessStrategyAvailableConfigRequest.h | 54 + ...beGtmAccessStrategyAvailableConfigResult.h | 66 + .../model/DescribeGtmAccessStrategyRequest.h | 54 + .../model/DescribeGtmAccessStrategyResult.h | 78 + .../DescribeGtmAvailableAlertGroupRequest.h | 51 + .../DescribeGtmAvailableAlertGroupResult.h | 51 + .../DescribeGtmInstanceAddressPoolRequest.h | 54 + .../DescribeGtmInstanceAddressPoolResult.h | 87 + .../DescribeGtmInstanceAddressPoolsRequest.h | 60 + .../DescribeGtmInstanceAddressPoolsResult.h | 74 + .../alidns/model/DescribeGtmInstanceRequest.h | 54 + .../alidns/model/DescribeGtmInstanceResult.h | 73 + .../model/DescribeGtmInstanceStatusRequest.h | 54 + .../model/DescribeGtmInstanceStatusResult.h | 53 + .../model/DescribeGtmInstancesRequest.h | 60 + .../alidns/model/DescribeGtmInstancesResult.h | 74 + .../alidns/model/DescribeGtmLogsRequest.h | 69 + .../alidns/model/DescribeGtmLogsResult.h | 71 + ...DescribeGtmMonitorAvailableConfigRequest.h | 51 + .../DescribeGtmMonitorAvailableConfigResult.h | 60 + .../model/DescribeGtmMonitorConfigRequest.h | 54 + .../model/DescribeGtmMonitorConfigResult.h | 80 + .../alidns/model/DescribeRecordLogsRequest.h | 72 + .../alidns/model/DescribeRecordLogsResult.h | 65 + .../model/DescribeSubDomainRecordsRequest.h | 69 + .../model/DescribeSubDomainRecordsResult.h | 71 + .../model/DescribeSupportLinesRequest.h | 57 + .../alidns/model/DescribeSupportLinesResult.h | 58 + .../alidns/model/GetMainDomainNameRequest.h | 57 + .../alidns/model/GetMainDomainNameResult.h | 55 + .../model/ModifyHichinaDomainDNSRequest.h | 57 + .../model/ModifyHichinaDomainDNSResult.h | 53 + .../alidns/model/OperateBatchDomainRequest.h | 67 + .../alidns/model/OperateBatchDomainResult.h | 51 + .../model/QueryCreateInstancePriceRequest.h | 63 + .../model/QueryCreateInstancePriceResult.h | 65 + .../alidns/model/SetDNSSLBStatusRequest.h | 60 + .../alidns/model/SetDNSSLBStatusResult.h | 53 + .../model/SetDomainRecordStatusRequest.h | 60 + .../model/SetDomainRecordStatusResult.h | 53 + .../alidns/model/SetGtmAccessModeRequest.h | 57 + .../alidns/model/SetGtmAccessModeResult.h | 49 + .../alidns/model/SetGtmMonitorStatusRequest.h | 57 + .../alidns/model/SetGtmMonitorStatusResult.h | 49 + .../alidns/model/UpdateDNSSLBWeightRequest.h | 60 + .../alidns/model/UpdateDNSSLBWeightResult.h | 53 + .../alidns/model/UpdateDomainGroupRequest.h | 60 + .../alidns/model/UpdateDomainGroupResult.h | 53 + .../alidns/model/UpdateDomainRecordRequest.h | 75 + .../alidns/model/UpdateDomainRecordResult.h | 51 + .../model/UpdateGtmAccessStrategyRequest.h | 66 + .../model/UpdateGtmAccessStrategyResult.h | 49 + .../model/UpdateGtmAddressPoolRequest.h | 72 + .../alidns/model/UpdateGtmAddressPoolResult.h | 49 + .../UpdateGtmInstanceGlobalConfigRequest.h | 69 + .../UpdateGtmInstanceGlobalConfigResult.h | 49 + .../alidns/model/UpdateGtmMonitorRequest.h | 80 + .../alidns/model/UpdateGtmMonitorResult.h | 49 + alidns/src/AlidnsClient.cc | 2141 +++++++++++++++++ alidns/src/model/AddDomainGroupRequest.cc | 71 + alidns/src/model/AddDomainGroupResult.cc | 59 + alidns/src/model/AddDomainRecordRequest.cc | 137 ++ alidns/src/model/AddDomainRecordResult.cc | 52 + alidns/src/model/AddDomainRequest.cc | 71 + alidns/src/model/AddDomainResult.cc | 88 + .../src/model/AddGtmAccessStrategyRequest.cc | 104 + .../src/model/AddGtmAccessStrategyResult.cc | 52 + alidns/src/model/AddGtmAddressPoolRequest.cc | 111 + alidns/src/model/AddGtmAddressPoolResult.cc | 52 + alidns/src/model/AddGtmMonitorRequest.cc | 143 ++ alidns/src/model/AddGtmMonitorResult.cc | 52 + alidns/src/model/ChangeDomainGroupRequest.cc | 82 + alidns/src/model/ChangeDomainGroupResult.cc | 59 + .../model/ChangeDomainOfDnsProductRequest.cc | 93 + .../model/ChangeDomainOfDnsProductResult.cc | 52 + alidns/src/model/CheckDomainRecordRequest.cc | 104 + alidns/src/model/CheckDomainRecordResult.cc | 52 + alidns/src/model/CreateInstanceRequest.cc | 115 + alidns/src/model/CreateInstanceResult.cc | 59 + alidns/src/model/DeleteDomainGroupRequest.cc | 71 + alidns/src/model/DeleteDomainGroupResult.cc | 52 + alidns/src/model/DeleteDomainRecordRequest.cc | 71 + alidns/src/model/DeleteDomainRecordResult.cc | 52 + alidns/src/model/DeleteDomainRequest.cc | 71 + alidns/src/model/DeleteDomainResult.cc | 52 + .../model/DeleteGtmAccessStrategyRequest.cc | 60 + .../model/DeleteGtmAccessStrategyResult.cc | 45 + .../src/model/DeleteGtmAddressPoolRequest.cc | 60 + .../src/model/DeleteGtmAddressPoolResult.cc | 45 + .../model/DeleteSubDomainRecordsRequest.cc | 93 + .../src/model/DeleteSubDomainRecordsResult.cc | 59 + .../model/DescribeBatchResultCountRequest.cc | 71 + .../model/DescribeBatchResultCountResult.cc | 94 + .../model/DescribeBatchResultDetailRequest.cc | 93 + .../model/DescribeBatchResultDetailResult.cc | 109 + .../model/DescribeDNSSLBSubDomainsRequest.cc | 93 + .../model/DescribeDNSSLBSubDomainsResult.cc | 85 + .../DescribeDnsProductInstanceRequest.cc | 71 + .../model/DescribeDnsProductInstanceResult.cc | 270 +++ .../DescribeDnsProductInstancesRequest.cc | 93 + .../DescribeDnsProductInstancesResult.cc | 139 ++ .../src/model/DescribeDomainGroupsRequest.cc | 93 + .../src/model/DescribeDomainGroupsResult.cc | 83 + alidns/src/model/DescribeDomainInfoRequest.cc | 82 + alidns/src/model/DescribeDomainInfoResult.cc | 199 ++ alidns/src/model/DescribeDomainLogsRequest.cc | 126 + alidns/src/model/DescribeDomainLogsResult.cc | 89 + alidns/src/model/DescribeDomainNsRequest.cc | 71 + alidns/src/model/DescribeDomainNsResult.cc | 75 + .../model/DescribeDomainRecordInfoRequest.cc | 71 + .../model/DescribeDomainRecordInfoResult.cc | 143 ++ .../src/model/DescribeDomainRecordsRequest.cc | 170 ++ .../src/model/DescribeDomainRecordsResult.cc | 101 + alidns/src/model/DescribeDomainsRequest.cc | 104 + alidns/src/model/DescribeDomainsResult.cc | 108 + .../DescribeGtmAccessStrategiesRequest.cc | 82 + .../DescribeGtmAccessStrategiesResult.cc | 122 + ...GtmAccessStrategyAvailableConfigRequest.cc | 60 + ...eGtmAccessStrategyAvailableConfigResult.cc | 81 + .../model/DescribeGtmAccessStrategyRequest.cc | 60 + .../model/DescribeGtmAccessStrategyResult.cc | 134 ++ .../DescribeGtmAvailableAlertGroupRequest.cc | 49 + .../DescribeGtmAvailableAlertGroupResult.cc | 52 + .../DescribeGtmInstanceAddressPoolRequest.cc | 60 + .../DescribeGtmInstanceAddressPoolResult.cc | 158 ++ .../DescribeGtmInstanceAddressPoolsRequest.cc | 82 + .../DescribeGtmInstanceAddressPoolsResult.cc | 108 + .../src/model/DescribeGtmInstanceRequest.cc | 60 + alidns/src/model/DescribeGtmInstanceResult.cc | 129 + .../model/DescribeGtmInstanceStatusRequest.cc | 60 + .../model/DescribeGtmInstanceStatusResult.cc | 59 + .../src/model/DescribeGtmInstancesRequest.cc | 82 + .../src/model/DescribeGtmInstancesResult.cc | 108 + alidns/src/model/DescribeGtmLogsRequest.cc | 115 + alidns/src/model/DescribeGtmLogsResult.cc | 102 + ...escribeGtmMonitorAvailableConfigRequest.cc | 49 + ...DescribeGtmMonitorAvailableConfigResult.cc | 68 + .../model/DescribeGtmMonitorConfigRequest.cc | 60 + .../model/DescribeGtmMonitorConfigResult.cc | 141 ++ alidns/src/model/DescribeRecordLogsRequest.cc | 126 + alidns/src/model/DescribeRecordLogsResult.cc | 87 + .../model/DescribeSubDomainRecordsRequest.cc | 115 + .../model/DescribeSubDomainRecordsResult.cc | 99 + .../src/model/DescribeSupportLinesRequest.cc | 71 + .../src/model/DescribeSupportLinesResult.cc | 64 + alidns/src/model/GetMainDomainNameRequest.cc | 71 + alidns/src/model/GetMainDomainNameResult.cc | 66 + .../model/ModifyHichinaDomainDNSRequest.cc | 71 + .../src/model/ModifyHichinaDomainDNSResult.cc | 61 + alidns/src/model/OperateBatchDomainRequest.cc | 82 + alidns/src/model/OperateBatchDomainResult.cc | 52 + .../model/QueryCreateInstancePriceRequest.cc | 93 + .../model/QueryCreateInstancePriceResult.cc | 90 + alidns/src/model/SetDNSSLBStatusRequest.cc | 82 + alidns/src/model/SetDNSSLBStatusResult.cc | 59 + .../src/model/SetDomainRecordStatusRequest.cc | 82 + .../src/model/SetDomainRecordStatusResult.cc | 59 + alidns/src/model/SetGtmAccessModeRequest.cc | 71 + alidns/src/model/SetGtmAccessModeResult.cc | 45 + .../src/model/SetGtmMonitorStatusRequest.cc | 71 + alidns/src/model/SetGtmMonitorStatusResult.cc | 45 + alidns/src/model/UpdateDNSSLBWeightRequest.cc | 82 + alidns/src/model/UpdateDNSSLBWeightResult.cc | 59 + alidns/src/model/UpdateDomainGroupRequest.cc | 82 + alidns/src/model/UpdateDomainGroupResult.cc | 59 + alidns/src/model/UpdateDomainRecordRequest.cc | 137 ++ alidns/src/model/UpdateDomainRecordResult.cc | 52 + .../model/UpdateGtmAccessStrategyRequest.cc | 104 + .../model/UpdateGtmAccessStrategyResult.cc | 45 + .../src/model/UpdateGtmAddressPoolRequest.cc | 111 + .../src/model/UpdateGtmAddressPoolResult.cc | 45 + .../UpdateGtmInstanceGlobalConfigRequest.cc | 115 + .../UpdateGtmInstanceGlobalConfigResult.cc | 45 + alidns/src/model/UpdateGtmMonitorRequest.cc | 143 ++ alidns/src/model/UpdateGtmMonitorResult.cc | 45 + 239 files changed, 20011 insertions(+), 2 deletions(-) create mode 100644 alidns/CMakeLists.txt create mode 100644 alidns/include/alibabacloud/alidns/AlidnsClient.h create mode 100644 alidns/include/alibabacloud/alidns/AlidnsExport.h create mode 100644 alidns/include/alibabacloud/alidns/model/AddDomainGroupRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/AddDomainGroupResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/AddDomainRecordRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/AddDomainRecordResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/AddDomainRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/AddDomainResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/AddGtmAccessStrategyRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/AddGtmAccessStrategyResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/AddGtmAddressPoolRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/AddGtmAddressPoolResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/AddGtmMonitorRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/AddGtmMonitorResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/ChangeDomainGroupRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/ChangeDomainGroupResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/ChangeDomainOfDnsProductRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/ChangeDomainOfDnsProductResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/CheckDomainRecordRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/CheckDomainRecordResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/CreateInstanceRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/CreateInstanceResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DeleteDomainGroupRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DeleteDomainGroupResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DeleteDomainRecordRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DeleteDomainRecordResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DeleteDomainRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DeleteDomainResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DeleteGtmAccessStrategyRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DeleteGtmAccessStrategyResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DeleteGtmAddressPoolRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DeleteGtmAddressPoolResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DeleteSubDomainRecordsRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DeleteSubDomainRecordsResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeBatchResultCountRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeBatchResultCountResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeBatchResultDetailRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeBatchResultDetailResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDnsProductInstanceRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDnsProductInstanceResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDnsProductInstancesRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDnsProductInstancesResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDomainGroupsRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDomainGroupsResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDomainInfoRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDomainInfoResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDomainLogsRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDomainLogsResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDomainNsRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDomainNsResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDomainRecordInfoRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDomainRecordInfoResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDomainRecordsRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDomainRecordsResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDomainsRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeDomainsResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategiesRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategiesResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategyAvailableConfigRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategyAvailableConfigResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategyRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategyResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmAvailableAlertGroupRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmAvailableAlertGroupResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolsRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolsResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceStatusRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceStatusResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmInstancesRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmInstancesResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmLogsRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmLogsResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmMonitorAvailableConfigRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmMonitorAvailableConfigResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmMonitorConfigRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeGtmMonitorConfigResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeRecordLogsRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeRecordLogsResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeSubDomainRecordsRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeSubDomainRecordsResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeSupportLinesRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/DescribeSupportLinesResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/GetMainDomainNameRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/GetMainDomainNameResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/ModifyHichinaDomainDNSRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/ModifyHichinaDomainDNSResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/OperateBatchDomainRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/OperateBatchDomainResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/QueryCreateInstancePriceRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/QueryCreateInstancePriceResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/SetDNSSLBStatusRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/SetDNSSLBStatusResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/SetDomainRecordStatusRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/SetDomainRecordStatusResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/SetGtmAccessModeRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/SetGtmAccessModeResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/SetGtmMonitorStatusRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/SetGtmMonitorStatusResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/UpdateDNSSLBWeightRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/UpdateDNSSLBWeightResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/UpdateDomainGroupRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/UpdateDomainGroupResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/UpdateDomainRecordRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/UpdateDomainRecordResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/UpdateGtmAccessStrategyRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/UpdateGtmAccessStrategyResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/UpdateGtmAddressPoolRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/UpdateGtmAddressPoolResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/UpdateGtmInstanceGlobalConfigRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/UpdateGtmInstanceGlobalConfigResult.h create mode 100644 alidns/include/alibabacloud/alidns/model/UpdateGtmMonitorRequest.h create mode 100644 alidns/include/alibabacloud/alidns/model/UpdateGtmMonitorResult.h create mode 100644 alidns/src/AlidnsClient.cc create mode 100644 alidns/src/model/AddDomainGroupRequest.cc create mode 100644 alidns/src/model/AddDomainGroupResult.cc create mode 100644 alidns/src/model/AddDomainRecordRequest.cc create mode 100644 alidns/src/model/AddDomainRecordResult.cc create mode 100644 alidns/src/model/AddDomainRequest.cc create mode 100644 alidns/src/model/AddDomainResult.cc create mode 100644 alidns/src/model/AddGtmAccessStrategyRequest.cc create mode 100644 alidns/src/model/AddGtmAccessStrategyResult.cc create mode 100644 alidns/src/model/AddGtmAddressPoolRequest.cc create mode 100644 alidns/src/model/AddGtmAddressPoolResult.cc create mode 100644 alidns/src/model/AddGtmMonitorRequest.cc create mode 100644 alidns/src/model/AddGtmMonitorResult.cc create mode 100644 alidns/src/model/ChangeDomainGroupRequest.cc create mode 100644 alidns/src/model/ChangeDomainGroupResult.cc create mode 100644 alidns/src/model/ChangeDomainOfDnsProductRequest.cc create mode 100644 alidns/src/model/ChangeDomainOfDnsProductResult.cc create mode 100644 alidns/src/model/CheckDomainRecordRequest.cc create mode 100644 alidns/src/model/CheckDomainRecordResult.cc create mode 100644 alidns/src/model/CreateInstanceRequest.cc create mode 100644 alidns/src/model/CreateInstanceResult.cc create mode 100644 alidns/src/model/DeleteDomainGroupRequest.cc create mode 100644 alidns/src/model/DeleteDomainGroupResult.cc create mode 100644 alidns/src/model/DeleteDomainRecordRequest.cc create mode 100644 alidns/src/model/DeleteDomainRecordResult.cc create mode 100644 alidns/src/model/DeleteDomainRequest.cc create mode 100644 alidns/src/model/DeleteDomainResult.cc create mode 100644 alidns/src/model/DeleteGtmAccessStrategyRequest.cc create mode 100644 alidns/src/model/DeleteGtmAccessStrategyResult.cc create mode 100644 alidns/src/model/DeleteGtmAddressPoolRequest.cc create mode 100644 alidns/src/model/DeleteGtmAddressPoolResult.cc create mode 100644 alidns/src/model/DeleteSubDomainRecordsRequest.cc create mode 100644 alidns/src/model/DeleteSubDomainRecordsResult.cc create mode 100644 alidns/src/model/DescribeBatchResultCountRequest.cc create mode 100644 alidns/src/model/DescribeBatchResultCountResult.cc create mode 100644 alidns/src/model/DescribeBatchResultDetailRequest.cc create mode 100644 alidns/src/model/DescribeBatchResultDetailResult.cc create mode 100644 alidns/src/model/DescribeDNSSLBSubDomainsRequest.cc create mode 100644 alidns/src/model/DescribeDNSSLBSubDomainsResult.cc create mode 100644 alidns/src/model/DescribeDnsProductInstanceRequest.cc create mode 100644 alidns/src/model/DescribeDnsProductInstanceResult.cc create mode 100644 alidns/src/model/DescribeDnsProductInstancesRequest.cc create mode 100644 alidns/src/model/DescribeDnsProductInstancesResult.cc create mode 100644 alidns/src/model/DescribeDomainGroupsRequest.cc create mode 100644 alidns/src/model/DescribeDomainGroupsResult.cc create mode 100644 alidns/src/model/DescribeDomainInfoRequest.cc create mode 100644 alidns/src/model/DescribeDomainInfoResult.cc create mode 100644 alidns/src/model/DescribeDomainLogsRequest.cc create mode 100644 alidns/src/model/DescribeDomainLogsResult.cc create mode 100644 alidns/src/model/DescribeDomainNsRequest.cc create mode 100644 alidns/src/model/DescribeDomainNsResult.cc create mode 100644 alidns/src/model/DescribeDomainRecordInfoRequest.cc create mode 100644 alidns/src/model/DescribeDomainRecordInfoResult.cc create mode 100644 alidns/src/model/DescribeDomainRecordsRequest.cc create mode 100644 alidns/src/model/DescribeDomainRecordsResult.cc create mode 100644 alidns/src/model/DescribeDomainsRequest.cc create mode 100644 alidns/src/model/DescribeDomainsResult.cc create mode 100644 alidns/src/model/DescribeGtmAccessStrategiesRequest.cc create mode 100644 alidns/src/model/DescribeGtmAccessStrategiesResult.cc create mode 100644 alidns/src/model/DescribeGtmAccessStrategyAvailableConfigRequest.cc create mode 100644 alidns/src/model/DescribeGtmAccessStrategyAvailableConfigResult.cc create mode 100644 alidns/src/model/DescribeGtmAccessStrategyRequest.cc create mode 100644 alidns/src/model/DescribeGtmAccessStrategyResult.cc create mode 100644 alidns/src/model/DescribeGtmAvailableAlertGroupRequest.cc create mode 100644 alidns/src/model/DescribeGtmAvailableAlertGroupResult.cc create mode 100644 alidns/src/model/DescribeGtmInstanceAddressPoolRequest.cc create mode 100644 alidns/src/model/DescribeGtmInstanceAddressPoolResult.cc create mode 100644 alidns/src/model/DescribeGtmInstanceAddressPoolsRequest.cc create mode 100644 alidns/src/model/DescribeGtmInstanceAddressPoolsResult.cc create mode 100644 alidns/src/model/DescribeGtmInstanceRequest.cc create mode 100644 alidns/src/model/DescribeGtmInstanceResult.cc create mode 100644 alidns/src/model/DescribeGtmInstanceStatusRequest.cc create mode 100644 alidns/src/model/DescribeGtmInstanceStatusResult.cc create mode 100644 alidns/src/model/DescribeGtmInstancesRequest.cc create mode 100644 alidns/src/model/DescribeGtmInstancesResult.cc create mode 100644 alidns/src/model/DescribeGtmLogsRequest.cc create mode 100644 alidns/src/model/DescribeGtmLogsResult.cc create mode 100644 alidns/src/model/DescribeGtmMonitorAvailableConfigRequest.cc create mode 100644 alidns/src/model/DescribeGtmMonitorAvailableConfigResult.cc create mode 100644 alidns/src/model/DescribeGtmMonitorConfigRequest.cc create mode 100644 alidns/src/model/DescribeGtmMonitorConfigResult.cc create mode 100644 alidns/src/model/DescribeRecordLogsRequest.cc create mode 100644 alidns/src/model/DescribeRecordLogsResult.cc create mode 100644 alidns/src/model/DescribeSubDomainRecordsRequest.cc create mode 100644 alidns/src/model/DescribeSubDomainRecordsResult.cc create mode 100644 alidns/src/model/DescribeSupportLinesRequest.cc create mode 100644 alidns/src/model/DescribeSupportLinesResult.cc create mode 100644 alidns/src/model/GetMainDomainNameRequest.cc create mode 100644 alidns/src/model/GetMainDomainNameResult.cc create mode 100644 alidns/src/model/ModifyHichinaDomainDNSRequest.cc create mode 100644 alidns/src/model/ModifyHichinaDomainDNSResult.cc create mode 100644 alidns/src/model/OperateBatchDomainRequest.cc create mode 100644 alidns/src/model/OperateBatchDomainResult.cc create mode 100644 alidns/src/model/QueryCreateInstancePriceRequest.cc create mode 100644 alidns/src/model/QueryCreateInstancePriceResult.cc create mode 100644 alidns/src/model/SetDNSSLBStatusRequest.cc create mode 100644 alidns/src/model/SetDNSSLBStatusResult.cc create mode 100644 alidns/src/model/SetDomainRecordStatusRequest.cc create mode 100644 alidns/src/model/SetDomainRecordStatusResult.cc create mode 100644 alidns/src/model/SetGtmAccessModeRequest.cc create mode 100644 alidns/src/model/SetGtmAccessModeResult.cc create mode 100644 alidns/src/model/SetGtmMonitorStatusRequest.cc create mode 100644 alidns/src/model/SetGtmMonitorStatusResult.cc create mode 100644 alidns/src/model/UpdateDNSSLBWeightRequest.cc create mode 100644 alidns/src/model/UpdateDNSSLBWeightResult.cc create mode 100644 alidns/src/model/UpdateDomainGroupRequest.cc create mode 100644 alidns/src/model/UpdateDomainGroupResult.cc create mode 100644 alidns/src/model/UpdateDomainRecordRequest.cc create mode 100644 alidns/src/model/UpdateDomainRecordResult.cc create mode 100644 alidns/src/model/UpdateGtmAccessStrategyRequest.cc create mode 100644 alidns/src/model/UpdateGtmAccessStrategyResult.cc create mode 100644 alidns/src/model/UpdateGtmAddressPoolRequest.cc create mode 100644 alidns/src/model/UpdateGtmAddressPoolResult.cc create mode 100644 alidns/src/model/UpdateGtmInstanceGlobalConfigRequest.cc create mode 100644 alidns/src/model/UpdateGtmInstanceGlobalConfigResult.cc create mode 100644 alidns/src/model/UpdateGtmMonitorRequest.cc create mode 100644 alidns/src/model/UpdateGtmMonitorResult.cc diff --git a/CHANGELOG b/CHANGELOG index aaf914754..a10795d9b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2019-03-20 Version: 1.34.52 +1, Update Dependency + 2019-03-19 Version: 1.34.51 1, Support ' fc ' Source DomainName diff --git a/CMakeLists.txt b/CMakeLists.txt index b5ae3dd07..dff2135dd 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,4 +111,5 @@ add_subdirectory(arms4finance) add_subdirectory(imagesearch) add_subdirectory(cas) add_subdirectory(bssopenapi) -add_subdirectory(cloudwf) \ No newline at end of file +add_subdirectory(cloudwf) +add_subdirectory(alidns) \ No newline at end of file diff --git a/VERSION b/VERSION index 4f9c9372e..66a40ccff 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.34.51 \ No newline at end of file +1.34.52 \ No newline at end of file diff --git a/alidns/CMakeLists.txt b/alidns/CMakeLists.txt new file mode 100644 index 000000000..1b05fc48b --- /dev/null +++ b/alidns/CMakeLists.txt @@ -0,0 +1,314 @@ +# +# 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. +# + +set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) + +set(alidns_public_header + include/alibabacloud/alidns/AlidnsClient.h + include/alibabacloud/alidns/AlidnsExport.h ) + +set(alidns_public_header_model + include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsRequest.h + include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsResult.h + include/alibabacloud/alidns/model/SetGtmAccessModeRequest.h + include/alibabacloud/alidns/model/SetGtmAccessModeResult.h + include/alibabacloud/alidns/model/ModifyHichinaDomainDNSRequest.h + include/alibabacloud/alidns/model/ModifyHichinaDomainDNSResult.h + include/alibabacloud/alidns/model/CreateInstanceRequest.h + include/alibabacloud/alidns/model/CreateInstanceResult.h + include/alibabacloud/alidns/model/DescribeSubDomainRecordsRequest.h + include/alibabacloud/alidns/model/DescribeSubDomainRecordsResult.h + include/alibabacloud/alidns/model/DescribeRecordLogsRequest.h + include/alibabacloud/alidns/model/DescribeRecordLogsResult.h + include/alibabacloud/alidns/model/DescribeBatchResultCountRequest.h + include/alibabacloud/alidns/model/DescribeBatchResultCountResult.h + include/alibabacloud/alidns/model/DescribeGtmInstancesRequest.h + include/alibabacloud/alidns/model/DescribeGtmInstancesResult.h + include/alibabacloud/alidns/model/UpdateGtmAddressPoolRequest.h + include/alibabacloud/alidns/model/UpdateGtmAddressPoolResult.h + include/alibabacloud/alidns/model/DescribeGtmAccessStrategiesRequest.h + include/alibabacloud/alidns/model/DescribeGtmAccessStrategiesResult.h + include/alibabacloud/alidns/model/UpdateGtmInstanceGlobalConfigRequest.h + include/alibabacloud/alidns/model/UpdateGtmInstanceGlobalConfigResult.h + include/alibabacloud/alidns/model/UpdateDomainRecordRequest.h + include/alibabacloud/alidns/model/UpdateDomainRecordResult.h + include/alibabacloud/alidns/model/DescribeDomainGroupsRequest.h + include/alibabacloud/alidns/model/DescribeDomainGroupsResult.h + include/alibabacloud/alidns/model/UpdateGtmAccessStrategyRequest.h + include/alibabacloud/alidns/model/UpdateGtmAccessStrategyResult.h + include/alibabacloud/alidns/model/DeleteDomainRecordRequest.h + include/alibabacloud/alidns/model/DeleteDomainRecordResult.h + include/alibabacloud/alidns/model/DescribeDomainRecordsRequest.h + include/alibabacloud/alidns/model/DescribeDomainRecordsResult.h + include/alibabacloud/alidns/model/DescribeDomainRecordInfoRequest.h + include/alibabacloud/alidns/model/DescribeDomainRecordInfoResult.h + include/alibabacloud/alidns/model/AddDomainRequest.h + include/alibabacloud/alidns/model/AddDomainResult.h + include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolRequest.h + include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolResult.h + include/alibabacloud/alidns/model/UpdateDNSSLBWeightRequest.h + include/alibabacloud/alidns/model/UpdateDNSSLBWeightResult.h + include/alibabacloud/alidns/model/DescribeBatchResultDetailRequest.h + include/alibabacloud/alidns/model/DescribeBatchResultDetailResult.h + include/alibabacloud/alidns/model/SetDomainRecordStatusRequest.h + include/alibabacloud/alidns/model/SetDomainRecordStatusResult.h + include/alibabacloud/alidns/model/UpdateDomainGroupRequest.h + include/alibabacloud/alidns/model/UpdateDomainGroupResult.h + include/alibabacloud/alidns/model/DescribeDnsProductInstancesRequest.h + include/alibabacloud/alidns/model/DescribeDnsProductInstancesResult.h + include/alibabacloud/alidns/model/SetGtmMonitorStatusRequest.h + include/alibabacloud/alidns/model/SetGtmMonitorStatusResult.h + include/alibabacloud/alidns/model/DescribeDnsProductInstanceRequest.h + include/alibabacloud/alidns/model/DescribeDnsProductInstanceResult.h + include/alibabacloud/alidns/model/DescribeGtmLogsRequest.h + include/alibabacloud/alidns/model/DescribeGtmLogsResult.h + include/alibabacloud/alidns/model/OperateBatchDomainRequest.h + include/alibabacloud/alidns/model/OperateBatchDomainResult.h + include/alibabacloud/alidns/model/DeleteDomainGroupRequest.h + include/alibabacloud/alidns/model/DeleteDomainGroupResult.h + include/alibabacloud/alidns/model/DescribeDomainLogsRequest.h + include/alibabacloud/alidns/model/DescribeDomainLogsResult.h + include/alibabacloud/alidns/model/AddGtmMonitorRequest.h + include/alibabacloud/alidns/model/AddGtmMonitorResult.h + include/alibabacloud/alidns/model/DescribeDomainsRequest.h + include/alibabacloud/alidns/model/DescribeDomainsResult.h + include/alibabacloud/alidns/model/DescribeGtmInstanceStatusRequest.h + include/alibabacloud/alidns/model/DescribeGtmInstanceStatusResult.h + include/alibabacloud/alidns/model/DescribeGtmInstanceRequest.h + include/alibabacloud/alidns/model/DescribeGtmInstanceResult.h + include/alibabacloud/alidns/model/DescribeDomainInfoRequest.h + include/alibabacloud/alidns/model/DescribeDomainInfoResult.h + include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolsRequest.h + include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolsResult.h + include/alibabacloud/alidns/model/DescribeSupportLinesRequest.h + include/alibabacloud/alidns/model/DescribeSupportLinesResult.h + include/alibabacloud/alidns/model/AddDomainRecordRequest.h + include/alibabacloud/alidns/model/AddDomainRecordResult.h + include/alibabacloud/alidns/model/DescribeGtmMonitorAvailableConfigRequest.h + include/alibabacloud/alidns/model/DescribeGtmMonitorAvailableConfigResult.h + include/alibabacloud/alidns/model/DeleteGtmAddressPoolRequest.h + include/alibabacloud/alidns/model/DeleteGtmAddressPoolResult.h + include/alibabacloud/alidns/model/QueryCreateInstancePriceRequest.h + include/alibabacloud/alidns/model/QueryCreateInstancePriceResult.h + include/alibabacloud/alidns/model/GetMainDomainNameRequest.h + include/alibabacloud/alidns/model/GetMainDomainNameResult.h + include/alibabacloud/alidns/model/AddGtmAccessStrategyRequest.h + include/alibabacloud/alidns/model/AddGtmAccessStrategyResult.h + include/alibabacloud/alidns/model/ChangeDomainGroupRequest.h + include/alibabacloud/alidns/model/ChangeDomainGroupResult.h + include/alibabacloud/alidns/model/DescribeGtmAccessStrategyRequest.h + include/alibabacloud/alidns/model/DescribeGtmAccessStrategyResult.h + include/alibabacloud/alidns/model/AddDomainGroupRequest.h + include/alibabacloud/alidns/model/AddDomainGroupResult.h + include/alibabacloud/alidns/model/CheckDomainRecordRequest.h + include/alibabacloud/alidns/model/CheckDomainRecordResult.h + include/alibabacloud/alidns/model/ChangeDomainOfDnsProductRequest.h + include/alibabacloud/alidns/model/ChangeDomainOfDnsProductResult.h + include/alibabacloud/alidns/model/DeleteGtmAccessStrategyRequest.h + include/alibabacloud/alidns/model/DeleteGtmAccessStrategyResult.h + include/alibabacloud/alidns/model/DeleteDomainRequest.h + include/alibabacloud/alidns/model/DeleteDomainResult.h + include/alibabacloud/alidns/model/DescribeGtmAvailableAlertGroupRequest.h + include/alibabacloud/alidns/model/DescribeGtmAvailableAlertGroupResult.h + include/alibabacloud/alidns/model/AddGtmAddressPoolRequest.h + include/alibabacloud/alidns/model/AddGtmAddressPoolResult.h + include/alibabacloud/alidns/model/DeleteSubDomainRecordsRequest.h + include/alibabacloud/alidns/model/DeleteSubDomainRecordsResult.h + include/alibabacloud/alidns/model/UpdateGtmMonitorRequest.h + include/alibabacloud/alidns/model/UpdateGtmMonitorResult.h + include/alibabacloud/alidns/model/DescribeDomainNsRequest.h + include/alibabacloud/alidns/model/DescribeDomainNsResult.h + include/alibabacloud/alidns/model/SetDNSSLBStatusRequest.h + include/alibabacloud/alidns/model/SetDNSSLBStatusResult.h + include/alibabacloud/alidns/model/DescribeGtmAccessStrategyAvailableConfigRequest.h + include/alibabacloud/alidns/model/DescribeGtmAccessStrategyAvailableConfigResult.h + include/alibabacloud/alidns/model/DescribeGtmMonitorConfigRequest.h + include/alibabacloud/alidns/model/DescribeGtmMonitorConfigResult.h ) + +set(alidns_src + src/AlidnsClient.cc + src/model/DescribeDNSSLBSubDomainsRequest.cc + src/model/DescribeDNSSLBSubDomainsResult.cc + src/model/SetGtmAccessModeRequest.cc + src/model/SetGtmAccessModeResult.cc + src/model/ModifyHichinaDomainDNSRequest.cc + src/model/ModifyHichinaDomainDNSResult.cc + src/model/CreateInstanceRequest.cc + src/model/CreateInstanceResult.cc + src/model/DescribeSubDomainRecordsRequest.cc + src/model/DescribeSubDomainRecordsResult.cc + src/model/DescribeRecordLogsRequest.cc + src/model/DescribeRecordLogsResult.cc + src/model/DescribeBatchResultCountRequest.cc + src/model/DescribeBatchResultCountResult.cc + src/model/DescribeGtmInstancesRequest.cc + src/model/DescribeGtmInstancesResult.cc + src/model/UpdateGtmAddressPoolRequest.cc + src/model/UpdateGtmAddressPoolResult.cc + src/model/DescribeGtmAccessStrategiesRequest.cc + src/model/DescribeGtmAccessStrategiesResult.cc + src/model/UpdateGtmInstanceGlobalConfigRequest.cc + src/model/UpdateGtmInstanceGlobalConfigResult.cc + src/model/UpdateDomainRecordRequest.cc + src/model/UpdateDomainRecordResult.cc + src/model/DescribeDomainGroupsRequest.cc + src/model/DescribeDomainGroupsResult.cc + src/model/UpdateGtmAccessStrategyRequest.cc + src/model/UpdateGtmAccessStrategyResult.cc + src/model/DeleteDomainRecordRequest.cc + src/model/DeleteDomainRecordResult.cc + src/model/DescribeDomainRecordsRequest.cc + src/model/DescribeDomainRecordsResult.cc + src/model/DescribeDomainRecordInfoRequest.cc + src/model/DescribeDomainRecordInfoResult.cc + src/model/AddDomainRequest.cc + src/model/AddDomainResult.cc + src/model/DescribeGtmInstanceAddressPoolRequest.cc + src/model/DescribeGtmInstanceAddressPoolResult.cc + src/model/UpdateDNSSLBWeightRequest.cc + src/model/UpdateDNSSLBWeightResult.cc + src/model/DescribeBatchResultDetailRequest.cc + src/model/DescribeBatchResultDetailResult.cc + src/model/SetDomainRecordStatusRequest.cc + src/model/SetDomainRecordStatusResult.cc + src/model/UpdateDomainGroupRequest.cc + src/model/UpdateDomainGroupResult.cc + src/model/DescribeDnsProductInstancesRequest.cc + src/model/DescribeDnsProductInstancesResult.cc + src/model/SetGtmMonitorStatusRequest.cc + src/model/SetGtmMonitorStatusResult.cc + src/model/DescribeDnsProductInstanceRequest.cc + src/model/DescribeDnsProductInstanceResult.cc + src/model/DescribeGtmLogsRequest.cc + src/model/DescribeGtmLogsResult.cc + src/model/OperateBatchDomainRequest.cc + src/model/OperateBatchDomainResult.cc + src/model/DeleteDomainGroupRequest.cc + src/model/DeleteDomainGroupResult.cc + src/model/DescribeDomainLogsRequest.cc + src/model/DescribeDomainLogsResult.cc + src/model/AddGtmMonitorRequest.cc + src/model/AddGtmMonitorResult.cc + src/model/DescribeDomainsRequest.cc + src/model/DescribeDomainsResult.cc + src/model/DescribeGtmInstanceStatusRequest.cc + src/model/DescribeGtmInstanceStatusResult.cc + src/model/DescribeGtmInstanceRequest.cc + src/model/DescribeGtmInstanceResult.cc + src/model/DescribeDomainInfoRequest.cc + src/model/DescribeDomainInfoResult.cc + src/model/DescribeGtmInstanceAddressPoolsRequest.cc + src/model/DescribeGtmInstanceAddressPoolsResult.cc + src/model/DescribeSupportLinesRequest.cc + src/model/DescribeSupportLinesResult.cc + src/model/AddDomainRecordRequest.cc + src/model/AddDomainRecordResult.cc + src/model/DescribeGtmMonitorAvailableConfigRequest.cc + src/model/DescribeGtmMonitorAvailableConfigResult.cc + src/model/DeleteGtmAddressPoolRequest.cc + src/model/DeleteGtmAddressPoolResult.cc + src/model/QueryCreateInstancePriceRequest.cc + src/model/QueryCreateInstancePriceResult.cc + src/model/GetMainDomainNameRequest.cc + src/model/GetMainDomainNameResult.cc + src/model/AddGtmAccessStrategyRequest.cc + src/model/AddGtmAccessStrategyResult.cc + src/model/ChangeDomainGroupRequest.cc + src/model/ChangeDomainGroupResult.cc + src/model/DescribeGtmAccessStrategyRequest.cc + src/model/DescribeGtmAccessStrategyResult.cc + src/model/AddDomainGroupRequest.cc + src/model/AddDomainGroupResult.cc + src/model/CheckDomainRecordRequest.cc + src/model/CheckDomainRecordResult.cc + src/model/ChangeDomainOfDnsProductRequest.cc + src/model/ChangeDomainOfDnsProductResult.cc + src/model/DeleteGtmAccessStrategyRequest.cc + src/model/DeleteGtmAccessStrategyResult.cc + src/model/DeleteDomainRequest.cc + src/model/DeleteDomainResult.cc + src/model/DescribeGtmAvailableAlertGroupRequest.cc + src/model/DescribeGtmAvailableAlertGroupResult.cc + src/model/AddGtmAddressPoolRequest.cc + src/model/AddGtmAddressPoolResult.cc + src/model/DeleteSubDomainRecordsRequest.cc + src/model/DeleteSubDomainRecordsResult.cc + src/model/UpdateGtmMonitorRequest.cc + src/model/UpdateGtmMonitorResult.cc + src/model/DescribeDomainNsRequest.cc + src/model/DescribeDomainNsResult.cc + src/model/SetDNSSLBStatusRequest.cc + src/model/SetDNSSLBStatusResult.cc + src/model/DescribeGtmAccessStrategyAvailableConfigRequest.cc + src/model/DescribeGtmAccessStrategyAvailableConfigResult.cc + src/model/DescribeGtmMonitorConfigRequest.cc + src/model/DescribeGtmMonitorConfigResult.cc ) + +add_library(alidns ${LIB_TYPE} + ${alidns_public_header} + ${alidns_public_header_model} + ${alidns_src}) + +set_target_properties(alidns + PROPERTIES + LINKER_LANGUAGE CXX + ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin + OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}alidns + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(alidns + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_ALIDNS_LIBRARY) +endif() + +target_include_directories(alidns + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(alidns + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(alidns + jsoncpp) + target_include_directories(alidns + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(alidns + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(alidns + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(alidns + PRIVATE /usr/include/jsoncpp) + target_link_libraries(alidns + jsoncpp) +endif() + +install(FILES ${alidns_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/alidns) +install(FILES ${alidns_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/alidns/model) +install(TARGETS alidns + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/AlidnsClient.h b/alidns/include/alibabacloud/alidns/AlidnsClient.h new file mode 100644 index 000000000..c4a53426c --- /dev/null +++ b/alidns/include/alibabacloud/alidns/AlidnsClient.h @@ -0,0 +1,510 @@ +/* + * 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_ALIDNSCLIENT_H_ +#define ALIBABACLOUD_ALIDNS_ALIDNSCLIENT_H_ + +#include +#include +#include +#include +#include "AlidnsExport.h" +#include "model/DescribeDNSSLBSubDomainsRequest.h" +#include "model/DescribeDNSSLBSubDomainsResult.h" +#include "model/SetGtmAccessModeRequest.h" +#include "model/SetGtmAccessModeResult.h" +#include "model/ModifyHichinaDomainDNSRequest.h" +#include "model/ModifyHichinaDomainDNSResult.h" +#include "model/CreateInstanceRequest.h" +#include "model/CreateInstanceResult.h" +#include "model/DescribeSubDomainRecordsRequest.h" +#include "model/DescribeSubDomainRecordsResult.h" +#include "model/DescribeRecordLogsRequest.h" +#include "model/DescribeRecordLogsResult.h" +#include "model/DescribeBatchResultCountRequest.h" +#include "model/DescribeBatchResultCountResult.h" +#include "model/DescribeGtmInstancesRequest.h" +#include "model/DescribeGtmInstancesResult.h" +#include "model/UpdateGtmAddressPoolRequest.h" +#include "model/UpdateGtmAddressPoolResult.h" +#include "model/DescribeGtmAccessStrategiesRequest.h" +#include "model/DescribeGtmAccessStrategiesResult.h" +#include "model/UpdateGtmInstanceGlobalConfigRequest.h" +#include "model/UpdateGtmInstanceGlobalConfigResult.h" +#include "model/UpdateDomainRecordRequest.h" +#include "model/UpdateDomainRecordResult.h" +#include "model/DescribeDomainGroupsRequest.h" +#include "model/DescribeDomainGroupsResult.h" +#include "model/UpdateGtmAccessStrategyRequest.h" +#include "model/UpdateGtmAccessStrategyResult.h" +#include "model/DeleteDomainRecordRequest.h" +#include "model/DeleteDomainRecordResult.h" +#include "model/DescribeDomainRecordsRequest.h" +#include "model/DescribeDomainRecordsResult.h" +#include "model/DescribeDomainRecordInfoRequest.h" +#include "model/DescribeDomainRecordInfoResult.h" +#include "model/AddDomainRequest.h" +#include "model/AddDomainResult.h" +#include "model/DescribeGtmInstanceAddressPoolRequest.h" +#include "model/DescribeGtmInstanceAddressPoolResult.h" +#include "model/UpdateDNSSLBWeightRequest.h" +#include "model/UpdateDNSSLBWeightResult.h" +#include "model/DescribeBatchResultDetailRequest.h" +#include "model/DescribeBatchResultDetailResult.h" +#include "model/SetDomainRecordStatusRequest.h" +#include "model/SetDomainRecordStatusResult.h" +#include "model/UpdateDomainGroupRequest.h" +#include "model/UpdateDomainGroupResult.h" +#include "model/DescribeDnsProductInstancesRequest.h" +#include "model/DescribeDnsProductInstancesResult.h" +#include "model/SetGtmMonitorStatusRequest.h" +#include "model/SetGtmMonitorStatusResult.h" +#include "model/DescribeDnsProductInstanceRequest.h" +#include "model/DescribeDnsProductInstanceResult.h" +#include "model/DescribeGtmLogsRequest.h" +#include "model/DescribeGtmLogsResult.h" +#include "model/OperateBatchDomainRequest.h" +#include "model/OperateBatchDomainResult.h" +#include "model/DeleteDomainGroupRequest.h" +#include "model/DeleteDomainGroupResult.h" +#include "model/DescribeDomainLogsRequest.h" +#include "model/DescribeDomainLogsResult.h" +#include "model/AddGtmMonitorRequest.h" +#include "model/AddGtmMonitorResult.h" +#include "model/DescribeDomainsRequest.h" +#include "model/DescribeDomainsResult.h" +#include "model/DescribeGtmInstanceStatusRequest.h" +#include "model/DescribeGtmInstanceStatusResult.h" +#include "model/DescribeGtmInstanceRequest.h" +#include "model/DescribeGtmInstanceResult.h" +#include "model/DescribeDomainInfoRequest.h" +#include "model/DescribeDomainInfoResult.h" +#include "model/DescribeGtmInstanceAddressPoolsRequest.h" +#include "model/DescribeGtmInstanceAddressPoolsResult.h" +#include "model/DescribeSupportLinesRequest.h" +#include "model/DescribeSupportLinesResult.h" +#include "model/AddDomainRecordRequest.h" +#include "model/AddDomainRecordResult.h" +#include "model/DescribeGtmMonitorAvailableConfigRequest.h" +#include "model/DescribeGtmMonitorAvailableConfigResult.h" +#include "model/DeleteGtmAddressPoolRequest.h" +#include "model/DeleteGtmAddressPoolResult.h" +#include "model/QueryCreateInstancePriceRequest.h" +#include "model/QueryCreateInstancePriceResult.h" +#include "model/GetMainDomainNameRequest.h" +#include "model/GetMainDomainNameResult.h" +#include "model/AddGtmAccessStrategyRequest.h" +#include "model/AddGtmAccessStrategyResult.h" +#include "model/ChangeDomainGroupRequest.h" +#include "model/ChangeDomainGroupResult.h" +#include "model/DescribeGtmAccessStrategyRequest.h" +#include "model/DescribeGtmAccessStrategyResult.h" +#include "model/AddDomainGroupRequest.h" +#include "model/AddDomainGroupResult.h" +#include "model/CheckDomainRecordRequest.h" +#include "model/CheckDomainRecordResult.h" +#include "model/ChangeDomainOfDnsProductRequest.h" +#include "model/ChangeDomainOfDnsProductResult.h" +#include "model/DeleteGtmAccessStrategyRequest.h" +#include "model/DeleteGtmAccessStrategyResult.h" +#include "model/DeleteDomainRequest.h" +#include "model/DeleteDomainResult.h" +#include "model/DescribeGtmAvailableAlertGroupRequest.h" +#include "model/DescribeGtmAvailableAlertGroupResult.h" +#include "model/AddGtmAddressPoolRequest.h" +#include "model/AddGtmAddressPoolResult.h" +#include "model/DeleteSubDomainRecordsRequest.h" +#include "model/DeleteSubDomainRecordsResult.h" +#include "model/UpdateGtmMonitorRequest.h" +#include "model/UpdateGtmMonitorResult.h" +#include "model/DescribeDomainNsRequest.h" +#include "model/DescribeDomainNsResult.h" +#include "model/SetDNSSLBStatusRequest.h" +#include "model/SetDNSSLBStatusResult.h" +#include "model/DescribeGtmAccessStrategyAvailableConfigRequest.h" +#include "model/DescribeGtmAccessStrategyAvailableConfigResult.h" +#include "model/DescribeGtmMonitorConfigRequest.h" +#include "model/DescribeGtmMonitorConfigResult.h" + + +namespace AlibabaCloud +{ + namespace Alidns + { + class ALIBABACLOUD_ALIDNS_EXPORT AlidnsClient : public RpcServiceClient + { + public: + typedef Outcome DescribeDNSSLBSubDomainsOutcome; + typedef std::future DescribeDNSSLBSubDomainsOutcomeCallable; + typedef std::function&)> DescribeDNSSLBSubDomainsAsyncHandler; + typedef Outcome SetGtmAccessModeOutcome; + typedef std::future SetGtmAccessModeOutcomeCallable; + typedef std::function&)> SetGtmAccessModeAsyncHandler; + typedef Outcome ModifyHichinaDomainDNSOutcome; + typedef std::future ModifyHichinaDomainDNSOutcomeCallable; + typedef std::function&)> ModifyHichinaDomainDNSAsyncHandler; + typedef Outcome CreateInstanceOutcome; + typedef std::future CreateInstanceOutcomeCallable; + typedef std::function&)> CreateInstanceAsyncHandler; + typedef Outcome DescribeSubDomainRecordsOutcome; + typedef std::future DescribeSubDomainRecordsOutcomeCallable; + typedef std::function&)> DescribeSubDomainRecordsAsyncHandler; + typedef Outcome DescribeRecordLogsOutcome; + typedef std::future DescribeRecordLogsOutcomeCallable; + typedef std::function&)> DescribeRecordLogsAsyncHandler; + typedef Outcome DescribeBatchResultCountOutcome; + typedef std::future DescribeBatchResultCountOutcomeCallable; + typedef std::function&)> DescribeBatchResultCountAsyncHandler; + typedef Outcome DescribeGtmInstancesOutcome; + typedef std::future DescribeGtmInstancesOutcomeCallable; + typedef std::function&)> DescribeGtmInstancesAsyncHandler; + typedef Outcome UpdateGtmAddressPoolOutcome; + typedef std::future UpdateGtmAddressPoolOutcomeCallable; + typedef std::function&)> UpdateGtmAddressPoolAsyncHandler; + typedef Outcome DescribeGtmAccessStrategiesOutcome; + typedef std::future DescribeGtmAccessStrategiesOutcomeCallable; + typedef std::function&)> DescribeGtmAccessStrategiesAsyncHandler; + typedef Outcome UpdateGtmInstanceGlobalConfigOutcome; + typedef std::future UpdateGtmInstanceGlobalConfigOutcomeCallable; + typedef std::function&)> UpdateGtmInstanceGlobalConfigAsyncHandler; + typedef Outcome UpdateDomainRecordOutcome; + typedef std::future UpdateDomainRecordOutcomeCallable; + typedef std::function&)> UpdateDomainRecordAsyncHandler; + typedef Outcome DescribeDomainGroupsOutcome; + typedef std::future DescribeDomainGroupsOutcomeCallable; + typedef std::function&)> DescribeDomainGroupsAsyncHandler; + typedef Outcome UpdateGtmAccessStrategyOutcome; + typedef std::future UpdateGtmAccessStrategyOutcomeCallable; + typedef std::function&)> UpdateGtmAccessStrategyAsyncHandler; + typedef Outcome DeleteDomainRecordOutcome; + typedef std::future DeleteDomainRecordOutcomeCallable; + typedef std::function&)> DeleteDomainRecordAsyncHandler; + typedef Outcome DescribeDomainRecordsOutcome; + typedef std::future DescribeDomainRecordsOutcomeCallable; + typedef std::function&)> DescribeDomainRecordsAsyncHandler; + typedef Outcome DescribeDomainRecordInfoOutcome; + typedef std::future DescribeDomainRecordInfoOutcomeCallable; + typedef std::function&)> DescribeDomainRecordInfoAsyncHandler; + typedef Outcome AddDomainOutcome; + typedef std::future AddDomainOutcomeCallable; + typedef std::function&)> AddDomainAsyncHandler; + typedef Outcome DescribeGtmInstanceAddressPoolOutcome; + typedef std::future DescribeGtmInstanceAddressPoolOutcomeCallable; + typedef std::function&)> DescribeGtmInstanceAddressPoolAsyncHandler; + typedef Outcome UpdateDNSSLBWeightOutcome; + typedef std::future UpdateDNSSLBWeightOutcomeCallable; + typedef std::function&)> UpdateDNSSLBWeightAsyncHandler; + typedef Outcome DescribeBatchResultDetailOutcome; + typedef std::future DescribeBatchResultDetailOutcomeCallable; + typedef std::function&)> DescribeBatchResultDetailAsyncHandler; + typedef Outcome SetDomainRecordStatusOutcome; + typedef std::future SetDomainRecordStatusOutcomeCallable; + typedef std::function&)> SetDomainRecordStatusAsyncHandler; + typedef Outcome UpdateDomainGroupOutcome; + typedef std::future UpdateDomainGroupOutcomeCallable; + typedef std::function&)> UpdateDomainGroupAsyncHandler; + typedef Outcome DescribeDnsProductInstancesOutcome; + typedef std::future DescribeDnsProductInstancesOutcomeCallable; + typedef std::function&)> DescribeDnsProductInstancesAsyncHandler; + typedef Outcome SetGtmMonitorStatusOutcome; + typedef std::future SetGtmMonitorStatusOutcomeCallable; + typedef std::function&)> SetGtmMonitorStatusAsyncHandler; + typedef Outcome DescribeDnsProductInstanceOutcome; + typedef std::future DescribeDnsProductInstanceOutcomeCallable; + typedef std::function&)> DescribeDnsProductInstanceAsyncHandler; + typedef Outcome DescribeGtmLogsOutcome; + typedef std::future DescribeGtmLogsOutcomeCallable; + typedef std::function&)> DescribeGtmLogsAsyncHandler; + typedef Outcome OperateBatchDomainOutcome; + typedef std::future OperateBatchDomainOutcomeCallable; + typedef std::function&)> OperateBatchDomainAsyncHandler; + typedef Outcome DeleteDomainGroupOutcome; + typedef std::future DeleteDomainGroupOutcomeCallable; + typedef std::function&)> DeleteDomainGroupAsyncHandler; + typedef Outcome DescribeDomainLogsOutcome; + typedef std::future DescribeDomainLogsOutcomeCallable; + typedef std::function&)> DescribeDomainLogsAsyncHandler; + typedef Outcome AddGtmMonitorOutcome; + typedef std::future AddGtmMonitorOutcomeCallable; + typedef std::function&)> AddGtmMonitorAsyncHandler; + typedef Outcome DescribeDomainsOutcome; + typedef std::future DescribeDomainsOutcomeCallable; + typedef std::function&)> DescribeDomainsAsyncHandler; + typedef Outcome DescribeGtmInstanceStatusOutcome; + typedef std::future DescribeGtmInstanceStatusOutcomeCallable; + typedef std::function&)> DescribeGtmInstanceStatusAsyncHandler; + typedef Outcome DescribeGtmInstanceOutcome; + typedef std::future DescribeGtmInstanceOutcomeCallable; + typedef std::function&)> DescribeGtmInstanceAsyncHandler; + typedef Outcome DescribeDomainInfoOutcome; + typedef std::future DescribeDomainInfoOutcomeCallable; + typedef std::function&)> DescribeDomainInfoAsyncHandler; + typedef Outcome DescribeGtmInstanceAddressPoolsOutcome; + typedef std::future DescribeGtmInstanceAddressPoolsOutcomeCallable; + typedef std::function&)> DescribeGtmInstanceAddressPoolsAsyncHandler; + typedef Outcome DescribeSupportLinesOutcome; + typedef std::future DescribeSupportLinesOutcomeCallable; + typedef std::function&)> DescribeSupportLinesAsyncHandler; + typedef Outcome AddDomainRecordOutcome; + typedef std::future AddDomainRecordOutcomeCallable; + typedef std::function&)> AddDomainRecordAsyncHandler; + typedef Outcome DescribeGtmMonitorAvailableConfigOutcome; + typedef std::future DescribeGtmMonitorAvailableConfigOutcomeCallable; + typedef std::function&)> DescribeGtmMonitorAvailableConfigAsyncHandler; + typedef Outcome DeleteGtmAddressPoolOutcome; + typedef std::future DeleteGtmAddressPoolOutcomeCallable; + typedef std::function&)> DeleteGtmAddressPoolAsyncHandler; + typedef Outcome QueryCreateInstancePriceOutcome; + typedef std::future QueryCreateInstancePriceOutcomeCallable; + typedef std::function&)> QueryCreateInstancePriceAsyncHandler; + typedef Outcome GetMainDomainNameOutcome; + typedef std::future GetMainDomainNameOutcomeCallable; + typedef std::function&)> GetMainDomainNameAsyncHandler; + typedef Outcome AddGtmAccessStrategyOutcome; + typedef std::future AddGtmAccessStrategyOutcomeCallable; + typedef std::function&)> AddGtmAccessStrategyAsyncHandler; + typedef Outcome ChangeDomainGroupOutcome; + typedef std::future ChangeDomainGroupOutcomeCallable; + typedef std::function&)> ChangeDomainGroupAsyncHandler; + typedef Outcome DescribeGtmAccessStrategyOutcome; + typedef std::future DescribeGtmAccessStrategyOutcomeCallable; + typedef std::function&)> DescribeGtmAccessStrategyAsyncHandler; + typedef Outcome AddDomainGroupOutcome; + typedef std::future AddDomainGroupOutcomeCallable; + typedef std::function&)> AddDomainGroupAsyncHandler; + typedef Outcome CheckDomainRecordOutcome; + typedef std::future CheckDomainRecordOutcomeCallable; + typedef std::function&)> CheckDomainRecordAsyncHandler; + typedef Outcome ChangeDomainOfDnsProductOutcome; + typedef std::future ChangeDomainOfDnsProductOutcomeCallable; + typedef std::function&)> ChangeDomainOfDnsProductAsyncHandler; + typedef Outcome DeleteGtmAccessStrategyOutcome; + typedef std::future DeleteGtmAccessStrategyOutcomeCallable; + typedef std::function&)> DeleteGtmAccessStrategyAsyncHandler; + typedef Outcome DeleteDomainOutcome; + typedef std::future DeleteDomainOutcomeCallable; + typedef std::function&)> DeleteDomainAsyncHandler; + typedef Outcome DescribeGtmAvailableAlertGroupOutcome; + typedef std::future DescribeGtmAvailableAlertGroupOutcomeCallable; + typedef std::function&)> DescribeGtmAvailableAlertGroupAsyncHandler; + typedef Outcome AddGtmAddressPoolOutcome; + typedef std::future AddGtmAddressPoolOutcomeCallable; + typedef std::function&)> AddGtmAddressPoolAsyncHandler; + typedef Outcome DeleteSubDomainRecordsOutcome; + typedef std::future DeleteSubDomainRecordsOutcomeCallable; + typedef std::function&)> DeleteSubDomainRecordsAsyncHandler; + typedef Outcome UpdateGtmMonitorOutcome; + typedef std::future UpdateGtmMonitorOutcomeCallable; + typedef std::function&)> UpdateGtmMonitorAsyncHandler; + typedef Outcome DescribeDomainNsOutcome; + typedef std::future DescribeDomainNsOutcomeCallable; + typedef std::function&)> DescribeDomainNsAsyncHandler; + typedef Outcome SetDNSSLBStatusOutcome; + typedef std::future SetDNSSLBStatusOutcomeCallable; + typedef std::function&)> SetDNSSLBStatusAsyncHandler; + typedef Outcome DescribeGtmAccessStrategyAvailableConfigOutcome; + typedef std::future DescribeGtmAccessStrategyAvailableConfigOutcomeCallable; + typedef std::function&)> DescribeGtmAccessStrategyAvailableConfigAsyncHandler; + typedef Outcome DescribeGtmMonitorConfigOutcome; + typedef std::future DescribeGtmMonitorConfigOutcomeCallable; + typedef std::function&)> DescribeGtmMonitorConfigAsyncHandler; + + AlidnsClient(const Credentials &credentials, const ClientConfiguration &configuration); + AlidnsClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + AlidnsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~AlidnsClient(); + DescribeDNSSLBSubDomainsOutcome describeDNSSLBSubDomains(const Model::DescribeDNSSLBSubDomainsRequest &request)const; + void describeDNSSLBSubDomainsAsync(const Model::DescribeDNSSLBSubDomainsRequest& request, const DescribeDNSSLBSubDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDNSSLBSubDomainsOutcomeCallable describeDNSSLBSubDomainsCallable(const Model::DescribeDNSSLBSubDomainsRequest& request) const; + SetGtmAccessModeOutcome setGtmAccessMode(const Model::SetGtmAccessModeRequest &request)const; + void setGtmAccessModeAsync(const Model::SetGtmAccessModeRequest& request, const SetGtmAccessModeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetGtmAccessModeOutcomeCallable setGtmAccessModeCallable(const Model::SetGtmAccessModeRequest& request) const; + ModifyHichinaDomainDNSOutcome modifyHichinaDomainDNS(const Model::ModifyHichinaDomainDNSRequest &request)const; + void modifyHichinaDomainDNSAsync(const Model::ModifyHichinaDomainDNSRequest& request, const ModifyHichinaDomainDNSAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyHichinaDomainDNSOutcomeCallable modifyHichinaDomainDNSCallable(const Model::ModifyHichinaDomainDNSRequest& request) const; + CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const; + void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const; + DescribeSubDomainRecordsOutcome describeSubDomainRecords(const Model::DescribeSubDomainRecordsRequest &request)const; + void describeSubDomainRecordsAsync(const Model::DescribeSubDomainRecordsRequest& request, const DescribeSubDomainRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSubDomainRecordsOutcomeCallable describeSubDomainRecordsCallable(const Model::DescribeSubDomainRecordsRequest& request) const; + DescribeRecordLogsOutcome describeRecordLogs(const Model::DescribeRecordLogsRequest &request)const; + void describeRecordLogsAsync(const Model::DescribeRecordLogsRequest& request, const DescribeRecordLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRecordLogsOutcomeCallable describeRecordLogsCallable(const Model::DescribeRecordLogsRequest& request) const; + DescribeBatchResultCountOutcome describeBatchResultCount(const Model::DescribeBatchResultCountRequest &request)const; + void describeBatchResultCountAsync(const Model::DescribeBatchResultCountRequest& request, const DescribeBatchResultCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBatchResultCountOutcomeCallable describeBatchResultCountCallable(const Model::DescribeBatchResultCountRequest& request) const; + DescribeGtmInstancesOutcome describeGtmInstances(const Model::DescribeGtmInstancesRequest &request)const; + void describeGtmInstancesAsync(const Model::DescribeGtmInstancesRequest& request, const DescribeGtmInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGtmInstancesOutcomeCallable describeGtmInstancesCallable(const Model::DescribeGtmInstancesRequest& request) const; + UpdateGtmAddressPoolOutcome updateGtmAddressPool(const Model::UpdateGtmAddressPoolRequest &request)const; + void updateGtmAddressPoolAsync(const Model::UpdateGtmAddressPoolRequest& request, const UpdateGtmAddressPoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateGtmAddressPoolOutcomeCallable updateGtmAddressPoolCallable(const Model::UpdateGtmAddressPoolRequest& request) const; + DescribeGtmAccessStrategiesOutcome describeGtmAccessStrategies(const Model::DescribeGtmAccessStrategiesRequest &request)const; + void describeGtmAccessStrategiesAsync(const Model::DescribeGtmAccessStrategiesRequest& request, const DescribeGtmAccessStrategiesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGtmAccessStrategiesOutcomeCallable describeGtmAccessStrategiesCallable(const Model::DescribeGtmAccessStrategiesRequest& request) const; + UpdateGtmInstanceGlobalConfigOutcome updateGtmInstanceGlobalConfig(const Model::UpdateGtmInstanceGlobalConfigRequest &request)const; + void updateGtmInstanceGlobalConfigAsync(const Model::UpdateGtmInstanceGlobalConfigRequest& request, const UpdateGtmInstanceGlobalConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateGtmInstanceGlobalConfigOutcomeCallable updateGtmInstanceGlobalConfigCallable(const Model::UpdateGtmInstanceGlobalConfigRequest& request) const; + UpdateDomainRecordOutcome updateDomainRecord(const Model::UpdateDomainRecordRequest &request)const; + void updateDomainRecordAsync(const Model::UpdateDomainRecordRequest& request, const UpdateDomainRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateDomainRecordOutcomeCallable updateDomainRecordCallable(const Model::UpdateDomainRecordRequest& request) const; + DescribeDomainGroupsOutcome describeDomainGroups(const Model::DescribeDomainGroupsRequest &request)const; + void describeDomainGroupsAsync(const Model::DescribeDomainGroupsRequest& request, const DescribeDomainGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainGroupsOutcomeCallable describeDomainGroupsCallable(const Model::DescribeDomainGroupsRequest& request) const; + UpdateGtmAccessStrategyOutcome updateGtmAccessStrategy(const Model::UpdateGtmAccessStrategyRequest &request)const; + void updateGtmAccessStrategyAsync(const Model::UpdateGtmAccessStrategyRequest& request, const UpdateGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateGtmAccessStrategyOutcomeCallable updateGtmAccessStrategyCallable(const Model::UpdateGtmAccessStrategyRequest& request) const; + DeleteDomainRecordOutcome deleteDomainRecord(const Model::DeleteDomainRecordRequest &request)const; + void deleteDomainRecordAsync(const Model::DeleteDomainRecordRequest& request, const DeleteDomainRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDomainRecordOutcomeCallable deleteDomainRecordCallable(const Model::DeleteDomainRecordRequest& request) const; + DescribeDomainRecordsOutcome describeDomainRecords(const Model::DescribeDomainRecordsRequest &request)const; + void describeDomainRecordsAsync(const Model::DescribeDomainRecordsRequest& request, const DescribeDomainRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainRecordsOutcomeCallable describeDomainRecordsCallable(const Model::DescribeDomainRecordsRequest& request) const; + DescribeDomainRecordInfoOutcome describeDomainRecordInfo(const Model::DescribeDomainRecordInfoRequest &request)const; + void describeDomainRecordInfoAsync(const Model::DescribeDomainRecordInfoRequest& request, const DescribeDomainRecordInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainRecordInfoOutcomeCallable describeDomainRecordInfoCallable(const Model::DescribeDomainRecordInfoRequest& request) const; + AddDomainOutcome addDomain(const Model::AddDomainRequest &request)const; + void addDomainAsync(const Model::AddDomainRequest& request, const AddDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddDomainOutcomeCallable addDomainCallable(const Model::AddDomainRequest& request) const; + DescribeGtmInstanceAddressPoolOutcome describeGtmInstanceAddressPool(const Model::DescribeGtmInstanceAddressPoolRequest &request)const; + void describeGtmInstanceAddressPoolAsync(const Model::DescribeGtmInstanceAddressPoolRequest& request, const DescribeGtmInstanceAddressPoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGtmInstanceAddressPoolOutcomeCallable describeGtmInstanceAddressPoolCallable(const Model::DescribeGtmInstanceAddressPoolRequest& request) const; + UpdateDNSSLBWeightOutcome updateDNSSLBWeight(const Model::UpdateDNSSLBWeightRequest &request)const; + void updateDNSSLBWeightAsync(const Model::UpdateDNSSLBWeightRequest& request, const UpdateDNSSLBWeightAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateDNSSLBWeightOutcomeCallable updateDNSSLBWeightCallable(const Model::UpdateDNSSLBWeightRequest& request) const; + DescribeBatchResultDetailOutcome describeBatchResultDetail(const Model::DescribeBatchResultDetailRequest &request)const; + void describeBatchResultDetailAsync(const Model::DescribeBatchResultDetailRequest& request, const DescribeBatchResultDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBatchResultDetailOutcomeCallable describeBatchResultDetailCallable(const Model::DescribeBatchResultDetailRequest& request) const; + SetDomainRecordStatusOutcome setDomainRecordStatus(const Model::SetDomainRecordStatusRequest &request)const; + void setDomainRecordStatusAsync(const Model::SetDomainRecordStatusRequest& request, const SetDomainRecordStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDomainRecordStatusOutcomeCallable setDomainRecordStatusCallable(const Model::SetDomainRecordStatusRequest& request) const; + UpdateDomainGroupOutcome updateDomainGroup(const Model::UpdateDomainGroupRequest &request)const; + void updateDomainGroupAsync(const Model::UpdateDomainGroupRequest& request, const UpdateDomainGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateDomainGroupOutcomeCallable updateDomainGroupCallable(const Model::UpdateDomainGroupRequest& request) const; + DescribeDnsProductInstancesOutcome describeDnsProductInstances(const Model::DescribeDnsProductInstancesRequest &request)const; + void describeDnsProductInstancesAsync(const Model::DescribeDnsProductInstancesRequest& request, const DescribeDnsProductInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDnsProductInstancesOutcomeCallable describeDnsProductInstancesCallable(const Model::DescribeDnsProductInstancesRequest& request) const; + SetGtmMonitorStatusOutcome setGtmMonitorStatus(const Model::SetGtmMonitorStatusRequest &request)const; + void setGtmMonitorStatusAsync(const Model::SetGtmMonitorStatusRequest& request, const SetGtmMonitorStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetGtmMonitorStatusOutcomeCallable setGtmMonitorStatusCallable(const Model::SetGtmMonitorStatusRequest& request) const; + DescribeDnsProductInstanceOutcome describeDnsProductInstance(const Model::DescribeDnsProductInstanceRequest &request)const; + void describeDnsProductInstanceAsync(const Model::DescribeDnsProductInstanceRequest& request, const DescribeDnsProductInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDnsProductInstanceOutcomeCallable describeDnsProductInstanceCallable(const Model::DescribeDnsProductInstanceRequest& request) const; + DescribeGtmLogsOutcome describeGtmLogs(const Model::DescribeGtmLogsRequest &request)const; + void describeGtmLogsAsync(const Model::DescribeGtmLogsRequest& request, const DescribeGtmLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGtmLogsOutcomeCallable describeGtmLogsCallable(const Model::DescribeGtmLogsRequest& request) const; + OperateBatchDomainOutcome operateBatchDomain(const Model::OperateBatchDomainRequest &request)const; + void operateBatchDomainAsync(const Model::OperateBatchDomainRequest& request, const OperateBatchDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + OperateBatchDomainOutcomeCallable operateBatchDomainCallable(const Model::OperateBatchDomainRequest& request) const; + DeleteDomainGroupOutcome deleteDomainGroup(const Model::DeleteDomainGroupRequest &request)const; + void deleteDomainGroupAsync(const Model::DeleteDomainGroupRequest& request, const DeleteDomainGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDomainGroupOutcomeCallable deleteDomainGroupCallable(const Model::DeleteDomainGroupRequest& request) const; + DescribeDomainLogsOutcome describeDomainLogs(const Model::DescribeDomainLogsRequest &request)const; + void describeDomainLogsAsync(const Model::DescribeDomainLogsRequest& request, const DescribeDomainLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainLogsOutcomeCallable describeDomainLogsCallable(const Model::DescribeDomainLogsRequest& request) const; + AddGtmMonitorOutcome addGtmMonitor(const Model::AddGtmMonitorRequest &request)const; + void addGtmMonitorAsync(const Model::AddGtmMonitorRequest& request, const AddGtmMonitorAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddGtmMonitorOutcomeCallable addGtmMonitorCallable(const Model::AddGtmMonitorRequest& request) const; + DescribeDomainsOutcome describeDomains(const Model::DescribeDomainsRequest &request)const; + void describeDomainsAsync(const Model::DescribeDomainsRequest& request, const DescribeDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainsOutcomeCallable describeDomainsCallable(const Model::DescribeDomainsRequest& request) const; + DescribeGtmInstanceStatusOutcome describeGtmInstanceStatus(const Model::DescribeGtmInstanceStatusRequest &request)const; + void describeGtmInstanceStatusAsync(const Model::DescribeGtmInstanceStatusRequest& request, const DescribeGtmInstanceStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGtmInstanceStatusOutcomeCallable describeGtmInstanceStatusCallable(const Model::DescribeGtmInstanceStatusRequest& request) const; + DescribeGtmInstanceOutcome describeGtmInstance(const Model::DescribeGtmInstanceRequest &request)const; + void describeGtmInstanceAsync(const Model::DescribeGtmInstanceRequest& request, const DescribeGtmInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGtmInstanceOutcomeCallable describeGtmInstanceCallable(const Model::DescribeGtmInstanceRequest& request) const; + DescribeDomainInfoOutcome describeDomainInfo(const Model::DescribeDomainInfoRequest &request)const; + void describeDomainInfoAsync(const Model::DescribeDomainInfoRequest& request, const DescribeDomainInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainInfoOutcomeCallable describeDomainInfoCallable(const Model::DescribeDomainInfoRequest& request) const; + DescribeGtmInstanceAddressPoolsOutcome describeGtmInstanceAddressPools(const Model::DescribeGtmInstanceAddressPoolsRequest &request)const; + void describeGtmInstanceAddressPoolsAsync(const Model::DescribeGtmInstanceAddressPoolsRequest& request, const DescribeGtmInstanceAddressPoolsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGtmInstanceAddressPoolsOutcomeCallable describeGtmInstanceAddressPoolsCallable(const Model::DescribeGtmInstanceAddressPoolsRequest& request) const; + DescribeSupportLinesOutcome describeSupportLines(const Model::DescribeSupportLinesRequest &request)const; + void describeSupportLinesAsync(const Model::DescribeSupportLinesRequest& request, const DescribeSupportLinesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSupportLinesOutcomeCallable describeSupportLinesCallable(const Model::DescribeSupportLinesRequest& request) const; + AddDomainRecordOutcome addDomainRecord(const Model::AddDomainRecordRequest &request)const; + void addDomainRecordAsync(const Model::AddDomainRecordRequest& request, const AddDomainRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddDomainRecordOutcomeCallable addDomainRecordCallable(const Model::AddDomainRecordRequest& request) const; + DescribeGtmMonitorAvailableConfigOutcome describeGtmMonitorAvailableConfig(const Model::DescribeGtmMonitorAvailableConfigRequest &request)const; + void describeGtmMonitorAvailableConfigAsync(const Model::DescribeGtmMonitorAvailableConfigRequest& request, const DescribeGtmMonitorAvailableConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGtmMonitorAvailableConfigOutcomeCallable describeGtmMonitorAvailableConfigCallable(const Model::DescribeGtmMonitorAvailableConfigRequest& request) const; + DeleteGtmAddressPoolOutcome deleteGtmAddressPool(const Model::DeleteGtmAddressPoolRequest &request)const; + void deleteGtmAddressPoolAsync(const Model::DeleteGtmAddressPoolRequest& request, const DeleteGtmAddressPoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteGtmAddressPoolOutcomeCallable deleteGtmAddressPoolCallable(const Model::DeleteGtmAddressPoolRequest& request) const; + QueryCreateInstancePriceOutcome queryCreateInstancePrice(const Model::QueryCreateInstancePriceRequest &request)const; + void queryCreateInstancePriceAsync(const Model::QueryCreateInstancePriceRequest& request, const QueryCreateInstancePriceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryCreateInstancePriceOutcomeCallable queryCreateInstancePriceCallable(const Model::QueryCreateInstancePriceRequest& request) const; + GetMainDomainNameOutcome getMainDomainName(const Model::GetMainDomainNameRequest &request)const; + void getMainDomainNameAsync(const Model::GetMainDomainNameRequest& request, const GetMainDomainNameAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetMainDomainNameOutcomeCallable getMainDomainNameCallable(const Model::GetMainDomainNameRequest& request) const; + AddGtmAccessStrategyOutcome addGtmAccessStrategy(const Model::AddGtmAccessStrategyRequest &request)const; + void addGtmAccessStrategyAsync(const Model::AddGtmAccessStrategyRequest& request, const AddGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddGtmAccessStrategyOutcomeCallable addGtmAccessStrategyCallable(const Model::AddGtmAccessStrategyRequest& request) const; + ChangeDomainGroupOutcome changeDomainGroup(const Model::ChangeDomainGroupRequest &request)const; + void changeDomainGroupAsync(const Model::ChangeDomainGroupRequest& request, const ChangeDomainGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ChangeDomainGroupOutcomeCallable changeDomainGroupCallable(const Model::ChangeDomainGroupRequest& request) const; + DescribeGtmAccessStrategyOutcome describeGtmAccessStrategy(const Model::DescribeGtmAccessStrategyRequest &request)const; + void describeGtmAccessStrategyAsync(const Model::DescribeGtmAccessStrategyRequest& request, const DescribeGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGtmAccessStrategyOutcomeCallable describeGtmAccessStrategyCallable(const Model::DescribeGtmAccessStrategyRequest& request) const; + AddDomainGroupOutcome addDomainGroup(const Model::AddDomainGroupRequest &request)const; + void addDomainGroupAsync(const Model::AddDomainGroupRequest& request, const AddDomainGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddDomainGroupOutcomeCallable addDomainGroupCallable(const Model::AddDomainGroupRequest& request) const; + CheckDomainRecordOutcome checkDomainRecord(const Model::CheckDomainRecordRequest &request)const; + void checkDomainRecordAsync(const Model::CheckDomainRecordRequest& request, const CheckDomainRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckDomainRecordOutcomeCallable checkDomainRecordCallable(const Model::CheckDomainRecordRequest& request) const; + ChangeDomainOfDnsProductOutcome changeDomainOfDnsProduct(const Model::ChangeDomainOfDnsProductRequest &request)const; + void changeDomainOfDnsProductAsync(const Model::ChangeDomainOfDnsProductRequest& request, const ChangeDomainOfDnsProductAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ChangeDomainOfDnsProductOutcomeCallable changeDomainOfDnsProductCallable(const Model::ChangeDomainOfDnsProductRequest& request) const; + DeleteGtmAccessStrategyOutcome deleteGtmAccessStrategy(const Model::DeleteGtmAccessStrategyRequest &request)const; + void deleteGtmAccessStrategyAsync(const Model::DeleteGtmAccessStrategyRequest& request, const DeleteGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteGtmAccessStrategyOutcomeCallable deleteGtmAccessStrategyCallable(const Model::DeleteGtmAccessStrategyRequest& request) const; + DeleteDomainOutcome deleteDomain(const Model::DeleteDomainRequest &request)const; + void deleteDomainAsync(const Model::DeleteDomainRequest& request, const DeleteDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDomainOutcomeCallable deleteDomainCallable(const Model::DeleteDomainRequest& request) const; + DescribeGtmAvailableAlertGroupOutcome describeGtmAvailableAlertGroup(const Model::DescribeGtmAvailableAlertGroupRequest &request)const; + void describeGtmAvailableAlertGroupAsync(const Model::DescribeGtmAvailableAlertGroupRequest& request, const DescribeGtmAvailableAlertGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGtmAvailableAlertGroupOutcomeCallable describeGtmAvailableAlertGroupCallable(const Model::DescribeGtmAvailableAlertGroupRequest& request) const; + AddGtmAddressPoolOutcome addGtmAddressPool(const Model::AddGtmAddressPoolRequest &request)const; + void addGtmAddressPoolAsync(const Model::AddGtmAddressPoolRequest& request, const AddGtmAddressPoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddGtmAddressPoolOutcomeCallable addGtmAddressPoolCallable(const Model::AddGtmAddressPoolRequest& request) const; + DeleteSubDomainRecordsOutcome deleteSubDomainRecords(const Model::DeleteSubDomainRecordsRequest &request)const; + void deleteSubDomainRecordsAsync(const Model::DeleteSubDomainRecordsRequest& request, const DeleteSubDomainRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteSubDomainRecordsOutcomeCallable deleteSubDomainRecordsCallable(const Model::DeleteSubDomainRecordsRequest& request) const; + UpdateGtmMonitorOutcome updateGtmMonitor(const Model::UpdateGtmMonitorRequest &request)const; + void updateGtmMonitorAsync(const Model::UpdateGtmMonitorRequest& request, const UpdateGtmMonitorAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateGtmMonitorOutcomeCallable updateGtmMonitorCallable(const Model::UpdateGtmMonitorRequest& request) const; + DescribeDomainNsOutcome describeDomainNs(const Model::DescribeDomainNsRequest &request)const; + void describeDomainNsAsync(const Model::DescribeDomainNsRequest& request, const DescribeDomainNsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainNsOutcomeCallable describeDomainNsCallable(const Model::DescribeDomainNsRequest& request) const; + SetDNSSLBStatusOutcome setDNSSLBStatus(const Model::SetDNSSLBStatusRequest &request)const; + void setDNSSLBStatusAsync(const Model::SetDNSSLBStatusRequest& request, const SetDNSSLBStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDNSSLBStatusOutcomeCallable setDNSSLBStatusCallable(const Model::SetDNSSLBStatusRequest& request) const; + DescribeGtmAccessStrategyAvailableConfigOutcome describeGtmAccessStrategyAvailableConfig(const Model::DescribeGtmAccessStrategyAvailableConfigRequest &request)const; + void describeGtmAccessStrategyAvailableConfigAsync(const Model::DescribeGtmAccessStrategyAvailableConfigRequest& request, const DescribeGtmAccessStrategyAvailableConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGtmAccessStrategyAvailableConfigOutcomeCallable describeGtmAccessStrategyAvailableConfigCallable(const Model::DescribeGtmAccessStrategyAvailableConfigRequest& request) const; + DescribeGtmMonitorConfigOutcome describeGtmMonitorConfig(const Model::DescribeGtmMonitorConfigRequest &request)const; + void describeGtmMonitorConfigAsync(const Model::DescribeGtmMonitorConfigRequest& request, const DescribeGtmMonitorConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGtmMonitorConfigOutcomeCallable describeGtmMonitorConfigCallable(const Model::DescribeGtmMonitorConfigRequest& request) const; + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_ALIDNS_ALIDNSCLIENT_H_ diff --git a/alidns/include/alibabacloud/alidns/AlidnsExport.h b/alidns/include/alibabacloud/alidns/AlidnsExport.h new file mode 100644 index 000000000..8e75913ae --- /dev/null +++ b/alidns/include/alibabacloud/alidns/AlidnsExport.h @@ -0,0 +1,32 @@ +/* + * 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_ALIDNSEXPORT_H_ +#define ALIBABACLOUD_ALIDNS_ALIDNSEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_ALIDNS_LIBRARY) +# define ALIBABACLOUD_ALIDNS_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_ALIDNS_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_ALIDNS_EXPORT +#endif + +#endif // !ALIBABACLOUD_ALIDNS_ALIDNSEXPORT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/AddDomainGroupRequest.h b/alidns/include/alibabacloud/alidns/model/AddDomainGroupRequest.h new file mode 100644 index 000000000..78f177454 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/AddDomainGroupRequest.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_ADDDOMAINGROUPREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT AddDomainGroupRequest : public RpcServiceRequest + { + + public: + AddDomainGroupRequest(); + ~AddDomainGroupRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getGroupName()const; + void setGroupName(const std::string& groupName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string userClientIp_; + std::string lang_; + std::string groupName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINGROUPREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/AddDomainGroupResult.h b/alidns/include/alibabacloud/alidns/model/AddDomainGroupResult.h new file mode 100644 index 000000000..81893feb9 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/AddDomainGroupResult.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_ADDDOMAINGROUPRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT AddDomainGroupResult : public ServiceResult + { + public: + + + AddDomainGroupResult(); + explicit AddDomainGroupResult(const std::string &payload); + ~AddDomainGroupResult(); + std::string getGroupName()const; + std::string getGroupId()const; + + protected: + void parse(const std::string &payload); + private: + std::string groupName_; + std::string groupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINGROUPRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/AddDomainRecordRequest.h b/alidns/include/alibabacloud/alidns/model/AddDomainRecordRequest.h new file mode 100644 index 000000000..0474f95f6 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/AddDomainRecordRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINRECORDREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINRECORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT AddDomainRecordRequest : public RpcServiceRequest + { + + public: + AddDomainRecordRequest(); + ~AddDomainRecordRequest(); + + std::string getRR()const; + void setRR(const std::string& rR); + std::string getLine()const; + void setLine(const std::string& line); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + long getPriority()const; + void setPriority(long priority); + std::string getValue()const; + void setValue(const std::string& value); + long getTTL()const; + void setTTL(long tTL); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string rR_; + std::string line_; + std::string userClientIp_; + std::string domainName_; + std::string lang_; + std::string type_; + long priority_; + std::string value_; + long tTL_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINRECORDREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/AddDomainRecordResult.h b/alidns/include/alibabacloud/alidns/model/AddDomainRecordResult.h new file mode 100644 index 000000000..405ec044d --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/AddDomainRecordResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINRECORDRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINRECORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT AddDomainRecordResult : public ServiceResult + { + public: + + + AddDomainRecordResult(); + explicit AddDomainRecordResult(const std::string &payload); + ~AddDomainRecordResult(); + std::string getRecordId()const; + + protected: + void parse(const std::string &payload); + private: + std::string recordId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINRECORDRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/AddDomainRequest.h b/alidns/include/alibabacloud/alidns/model/AddDomainRequest.h new file mode 100644 index 000000000..ecf87ec06 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/AddDomainRequest.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_ADDDOMAINREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT AddDomainRequest : public RpcServiceRequest + { + + public: + AddDomainRequest(); + ~AddDomainRequest(); + + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string groupId_; + std::string domainName_; + std::string lang_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/AddDomainResult.h b/alidns/include/alibabacloud/alidns/model/AddDomainResult.h new file mode 100644 index 000000000..b96dbb7d1 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/AddDomainResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT AddDomainResult : public ServiceResult + { + public: + + + AddDomainResult(); + explicit AddDomainResult(const std::string &payload); + ~AddDomainResult(); + std::string getGroupName()const; + std::string getDomainId()const; + std::string getDomainName()const; + std::string getPunyCode()const; + std::vector getDnsServers()const; + std::string getGroupId()const; + + protected: + void parse(const std::string &payload); + private: + std::string groupName_; + std::string domainId_; + std::string domainName_; + std::string punyCode_; + std::vector dnsServers_; + std::string groupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDDOMAINRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/AddGtmAccessStrategyRequest.h b/alidns/include/alibabacloud/alidns/model/AddGtmAccessStrategyRequest.h new file mode 100644 index 000000000..b30c54d50 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/AddGtmAccessStrategyRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDGTMACCESSSTRATEGYREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_ADDGTMACCESSSTRATEGYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT AddGtmAccessStrategyRequest : public RpcServiceRequest + { + + public: + AddGtmAccessStrategyRequest(); + ~AddGtmAccessStrategyRequest(); + + std::string getStrategyName()const; + void setStrategyName(const std::string& strategyName); + std::string getDefaultAddrPoolId()const; + void setDefaultAddrPoolId(const std::string& defaultAddrPoolId); + std::string getAccessLines()const; + void setAccessLines(const std::string& accessLines); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getFailoverAddrPoolId()const; + void setFailoverAddrPoolId(const std::string& failoverAddrPoolId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string strategyName_; + std::string defaultAddrPoolId_; + std::string accessLines_; + std::string instanceId_; + std::string failoverAddrPoolId_; + std::string userClientIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDGTMACCESSSTRATEGYREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/AddGtmAccessStrategyResult.h b/alidns/include/alibabacloud/alidns/model/AddGtmAccessStrategyResult.h new file mode 100644 index 000000000..99d70023c --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/AddGtmAccessStrategyResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDGTMACCESSSTRATEGYRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_ADDGTMACCESSSTRATEGYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT AddGtmAccessStrategyResult : public ServiceResult + { + public: + + + AddGtmAccessStrategyResult(); + explicit AddGtmAccessStrategyResult(const std::string &payload); + ~AddGtmAccessStrategyResult(); + std::string getStrategyId()const; + + protected: + void parse(const std::string &payload); + private: + std::string strategyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDGTMACCESSSTRATEGYRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/AddGtmAddressPoolRequest.h b/alidns/include/alibabacloud/alidns/model/AddGtmAddressPoolRequest.h new file mode 100644 index 000000000..0e44c90c3 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/AddGtmAddressPoolRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDGTMADDRESSPOOLREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_ADDGTMADDRESSPOOLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT AddGtmAddressPoolRequest : public RpcServiceRequest + { + struct Addr + { + std::string mode; + int lbaWeight; + std::string value; + }; + + public: + AddGtmAddressPoolRequest(); + ~AddGtmAddressPoolRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getName()const; + void setName(const std::string& name); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + std::vector getAddr()const; + void setAddr(const std::vector& addr); + int getMinAvailableAddrNum()const; + void setMinAvailableAddrNum(int minAvailableAddrNum); + + private: + std::string instanceId_; + std::string userClientIp_; + std::string name_; + std::string lang_; + std::string type_; + std::vector addr_; + int minAvailableAddrNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDGTMADDRESSPOOLREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/AddGtmAddressPoolResult.h b/alidns/include/alibabacloud/alidns/model/AddGtmAddressPoolResult.h new file mode 100644 index 000000000..c36f4f47c --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/AddGtmAddressPoolResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDGTMADDRESSPOOLRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_ADDGTMADDRESSPOOLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT AddGtmAddressPoolResult : public ServiceResult + { + public: + + + AddGtmAddressPoolResult(); + explicit AddGtmAddressPoolResult(const std::string &payload); + ~AddGtmAddressPoolResult(); + std::string getAddrPoolId()const; + + protected: + void parse(const std::string &payload); + private: + std::string addrPoolId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDGTMADDRESSPOOLRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/AddGtmMonitorRequest.h b/alidns/include/alibabacloud/alidns/model/AddGtmMonitorRequest.h new file mode 100644 index 000000000..a8fa9ba04 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/AddGtmMonitorRequest.h @@ -0,0 +1,80 @@ +/* + * 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_ADDGTMMONITORREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_ADDGTMMONITORREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT AddGtmMonitorRequest : public RpcServiceRequest + { + struct IspCityNode + { + std::string cityCode; + std::string ispCode; + }; + + public: + AddGtmMonitorRequest(); + ~AddGtmMonitorRequest(); + + std::string getMonitorExtendInfo()const; + void setMonitorExtendInfo(const std::string& monitorExtendInfo); + std::string getAddrPoolId()const; + void setAddrPoolId(const std::string& addrPoolId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getName()const; + void setName(const std::string& name); + int getEvaluationCount()const; + void setEvaluationCount(int evaluationCount); + std::string getProtocolType()const; + void setProtocolType(const std::string& protocolType); + int getInterval()const; + void setInterval(int interval); + std::string getLang()const; + void setLang(const std::string& lang); + int getTimeout()const; + void setTimeout(int timeout); + std::vector getIspCityNode()const; + void setIspCityNode(const std::vector& ispCityNode); + + private: + std::string monitorExtendInfo_; + std::string addrPoolId_; + std::string userClientIp_; + std::string name_; + int evaluationCount_; + std::string protocolType_; + int interval_; + std::string lang_; + int timeout_; + std::vector ispCityNode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDGTMMONITORREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/AddGtmMonitorResult.h b/alidns/include/alibabacloud/alidns/model/AddGtmMonitorResult.h new file mode 100644 index 000000000..d106fb223 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/AddGtmMonitorResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_ADDGTMMONITORRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_ADDGTMMONITORRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT AddGtmMonitorResult : public ServiceResult + { + public: + + + AddGtmMonitorResult(); + explicit AddGtmMonitorResult(const std::string &payload); + ~AddGtmMonitorResult(); + std::string getMonitorConfigId()const; + + protected: + void parse(const std::string &payload); + private: + std::string monitorConfigId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_ADDGTMMONITORRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/ChangeDomainGroupRequest.h b/alidns/include/alibabacloud/alidns/model/ChangeDomainGroupRequest.h new file mode 100644 index 000000000..bc5cc1a3d --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/ChangeDomainGroupRequest.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_CHANGEDOMAINGROUPREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_CHANGEDOMAINGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT ChangeDomainGroupRequest : public RpcServiceRequest + { + + public: + ChangeDomainGroupRequest(); + ~ChangeDomainGroupRequest(); + + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string groupId_; + std::string userClientIp_; + std::string domainName_; + std::string lang_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_CHANGEDOMAINGROUPREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/ChangeDomainGroupResult.h b/alidns/include/alibabacloud/alidns/model/ChangeDomainGroupResult.h new file mode 100644 index 000000000..a827ab35f --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/ChangeDomainGroupResult.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_CHANGEDOMAINGROUPRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_CHANGEDOMAINGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT ChangeDomainGroupResult : public ServiceResult + { + public: + + + ChangeDomainGroupResult(); + explicit ChangeDomainGroupResult(const std::string &payload); + ~ChangeDomainGroupResult(); + std::string getGroupName()const; + std::string getGroupId()const; + + protected: + void parse(const std::string &payload); + private: + std::string groupName_; + std::string groupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_CHANGEDOMAINGROUPRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/ChangeDomainOfDnsProductRequest.h b/alidns/include/alibabacloud/alidns/model/ChangeDomainOfDnsProductRequest.h new file mode 100644 index 000000000..9cd079b8e --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/ChangeDomainOfDnsProductRequest.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_CHANGEDOMAINOFDNSPRODUCTREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_CHANGEDOMAINOFDNSPRODUCTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT ChangeDomainOfDnsProductRequest : public RpcServiceRequest + { + + public: + ChangeDomainOfDnsProductRequest(); + ~ChangeDomainOfDnsProductRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getNewDomain()const; + void setNewDomain(const std::string& newDomain); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + bool getForce()const; + void setForce(bool force); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string instanceId_; + std::string newDomain_; + std::string userClientIp_; + bool force_; + std::string lang_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_CHANGEDOMAINOFDNSPRODUCTREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/ChangeDomainOfDnsProductResult.h b/alidns/include/alibabacloud/alidns/model/ChangeDomainOfDnsProductResult.h new file mode 100644 index 000000000..3ff94b52d --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/ChangeDomainOfDnsProductResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_CHANGEDOMAINOFDNSPRODUCTRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_CHANGEDOMAINOFDNSPRODUCTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT ChangeDomainOfDnsProductResult : public ServiceResult + { + public: + + + ChangeDomainOfDnsProductResult(); + explicit ChangeDomainOfDnsProductResult(const std::string &payload); + ~ChangeDomainOfDnsProductResult(); + std::string getOriginalDomain()const; + + protected: + void parse(const std::string &payload); + private: + std::string originalDomain_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_CHANGEDOMAINOFDNSPRODUCTRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/CheckDomainRecordRequest.h b/alidns/include/alibabacloud/alidns/model/CheckDomainRecordRequest.h new file mode 100644 index 000000000..3e2f85f75 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/CheckDomainRecordRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_CHECKDOMAINRECORDREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_CHECKDOMAINRECORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT CheckDomainRecordRequest : public RpcServiceRequest + { + + public: + CheckDomainRecordRequest(); + ~CheckDomainRecordRequest(); + + std::string getRR()const; + void setRR(const std::string& rR); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + std::string getValue()const; + void setValue(const std::string& value); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string rR_; + std::string userClientIp_; + std::string domainName_; + std::string lang_; + std::string type_; + std::string value_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_CHECKDOMAINRECORDREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/CheckDomainRecordResult.h b/alidns/include/alibabacloud/alidns/model/CheckDomainRecordResult.h new file mode 100644 index 000000000..b7ea3765f --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/CheckDomainRecordResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_CHECKDOMAINRECORDRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_CHECKDOMAINRECORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT CheckDomainRecordResult : public ServiceResult + { + public: + + + CheckDomainRecordResult(); + explicit CheckDomainRecordResult(const std::string &payload); + ~CheckDomainRecordResult(); + bool getIsExist()const; + + protected: + void parse(const std::string &payload); + private: + bool isExist_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_CHECKDOMAINRECORDRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/CreateInstanceRequest.h b/alidns/include/alibabacloud/alidns/model/CreateInstanceRequest.h new file mode 100644 index 000000000..9bbdcca5f --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/CreateInstanceRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_CREATEINSTANCEREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_CREATEINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT CreateInstanceRequest : public RpcServiceRequest + { + + public: + CreateInstanceRequest(); + ~CreateInstanceRequest(); + + int getMonth()const; + void setMonth(int month); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getInstanceVersion()const; + void setInstanceVersion(const std::string& instanceVersion); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getToken()const; + void setToken(const std::string& token); + + private: + int month_; + std::string userClientIp_; + std::string domainName_; + std::string lang_; + std::string instanceVersion_; + long ownerId_; + std::string accessKeyId_; + std::string token_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_CREATEINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/CreateInstanceResult.h b/alidns/include/alibabacloud/alidns/model/CreateInstanceResult.h new file mode 100644 index 000000000..1502b2724 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/CreateInstanceResult.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_CREATEINSTANCERESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_CREATEINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT CreateInstanceResult : public ServiceResult + { + public: + + + CreateInstanceResult(); + explicit CreateInstanceResult(const std::string &payload); + ~CreateInstanceResult(); + std::string getInstanceId()const; + std::string getOrderId()const; + + protected: + void parse(const std::string &payload); + private: + std::string instanceId_; + std::string orderId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_CREATEINSTANCERESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DeleteDomainGroupRequest.h b/alidns/include/alibabacloud/alidns/model/DeleteDomainGroupRequest.h new file mode 100644 index 000000000..b2050be38 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DeleteDomainGroupRequest.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_DELETEDOMAINGROUPREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DELETEDOMAINGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DeleteDomainGroupRequest : public RpcServiceRequest + { + + public: + DeleteDomainGroupRequest(); + ~DeleteDomainGroupRequest(); + + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string groupId_; + std::string userClientIp_; + std::string lang_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEDOMAINGROUPREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DeleteDomainGroupResult.h b/alidns/include/alibabacloud/alidns/model/DeleteDomainGroupResult.h new file mode 100644 index 000000000..3d7cc5c3d --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DeleteDomainGroupResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DELETEDOMAINGROUPRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DELETEDOMAINGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DeleteDomainGroupResult : public ServiceResult + { + public: + + + DeleteDomainGroupResult(); + explicit DeleteDomainGroupResult(const std::string &payload); + ~DeleteDomainGroupResult(); + std::string getGroupName()const; + + protected: + void parse(const std::string &payload); + private: + std::string groupName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEDOMAINGROUPRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DeleteDomainRecordRequest.h b/alidns/include/alibabacloud/alidns/model/DeleteDomainRecordRequest.h new file mode 100644 index 000000000..5c250f16e --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DeleteDomainRecordRequest.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_DELETEDOMAINRECORDREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DELETEDOMAINRECORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DeleteDomainRecordRequest : public RpcServiceRequest + { + + public: + DeleteDomainRecordRequest(); + ~DeleteDomainRecordRequest(); + + std::string getRecordId()const; + void setRecordId(const std::string& recordId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string recordId_; + std::string userClientIp_; + std::string lang_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEDOMAINRECORDREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DeleteDomainRecordResult.h b/alidns/include/alibabacloud/alidns/model/DeleteDomainRecordResult.h new file mode 100644 index 000000000..c65455c65 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DeleteDomainRecordResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DELETEDOMAINRECORDRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DELETEDOMAINRECORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DeleteDomainRecordResult : public ServiceResult + { + public: + + + DeleteDomainRecordResult(); + explicit DeleteDomainRecordResult(const std::string &payload); + ~DeleteDomainRecordResult(); + std::string getRecordId()const; + + protected: + void parse(const std::string &payload); + private: + std::string recordId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEDOMAINRECORDRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DeleteDomainRequest.h b/alidns/include/alibabacloud/alidns/model/DeleteDomainRequest.h new file mode 100644 index 000000000..bb37abdaf --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DeleteDomainRequest.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_DELETEDOMAINREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DELETEDOMAINREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DeleteDomainRequest : public RpcServiceRequest + { + + public: + DeleteDomainRequest(); + ~DeleteDomainRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string userClientIp_; + std::string domainName_; + std::string lang_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEDOMAINREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DeleteDomainResult.h b/alidns/include/alibabacloud/alidns/model/DeleteDomainResult.h new file mode 100644 index 000000000..eddd18761 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DeleteDomainResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DELETEDOMAINRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DELETEDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DeleteDomainResult : public ServiceResult + { + public: + + + DeleteDomainResult(); + explicit DeleteDomainResult(const std::string &payload); + ~DeleteDomainResult(); + std::string getDomainName()const; + + protected: + void parse(const std::string &payload); + private: + std::string domainName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEDOMAINRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DeleteGtmAccessStrategyRequest.h b/alidns/include/alibabacloud/alidns/model/DeleteGtmAccessStrategyRequest.h new file mode 100644 index 000000000..045431133 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DeleteGtmAccessStrategyRequest.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_DELETEGTMACCESSSTRATEGYREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DELETEGTMACCESSSTRATEGYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DeleteGtmAccessStrategyRequest : public RpcServiceRequest + { + + public: + DeleteGtmAccessStrategyRequest(); + ~DeleteGtmAccessStrategyRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getStrategyId()const; + void setStrategyId(const std::string& strategyId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string userClientIp_; + std::string strategyId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEGTMACCESSSTRATEGYREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DeleteGtmAccessStrategyResult.h b/alidns/include/alibabacloud/alidns/model/DeleteGtmAccessStrategyResult.h new file mode 100644 index 000000000..deda7ceae --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DeleteGtmAccessStrategyResult.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_DELETEGTMACCESSSTRATEGYRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DELETEGTMACCESSSTRATEGYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DeleteGtmAccessStrategyResult : public ServiceResult + { + public: + + + DeleteGtmAccessStrategyResult(); + explicit DeleteGtmAccessStrategyResult(const std::string &payload); + ~DeleteGtmAccessStrategyResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEGTMACCESSSTRATEGYRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DeleteGtmAddressPoolRequest.h b/alidns/include/alibabacloud/alidns/model/DeleteGtmAddressPoolRequest.h new file mode 100644 index 000000000..47066b0ef --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DeleteGtmAddressPoolRequest.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_DELETEGTMADDRESSPOOLREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DELETEGTMADDRESSPOOLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DeleteGtmAddressPoolRequest : public RpcServiceRequest + { + + public: + DeleteGtmAddressPoolRequest(); + ~DeleteGtmAddressPoolRequest(); + + std::string getAddrPoolId()const; + void setAddrPoolId(const std::string& addrPoolId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string addrPoolId_; + std::string userClientIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEGTMADDRESSPOOLREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DeleteGtmAddressPoolResult.h b/alidns/include/alibabacloud/alidns/model/DeleteGtmAddressPoolResult.h new file mode 100644 index 000000000..396dc0471 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DeleteGtmAddressPoolResult.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_DELETEGTMADDRESSPOOLRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DELETEGTMADDRESSPOOLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DeleteGtmAddressPoolResult : public ServiceResult + { + public: + + + DeleteGtmAddressPoolResult(); + explicit DeleteGtmAddressPoolResult(const std::string &payload); + ~DeleteGtmAddressPoolResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETEGTMADDRESSPOOLRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DeleteSubDomainRecordsRequest.h b/alidns/include/alibabacloud/alidns/model/DeleteSubDomainRecordsRequest.h new file mode 100644 index 000000000..1141fd741 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DeleteSubDomainRecordsRequest.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_DELETESUBDOMAINRECORDSREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DELETESUBDOMAINRECORDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DeleteSubDomainRecordsRequest : public RpcServiceRequest + { + + public: + DeleteSubDomainRecordsRequest(); + ~DeleteSubDomainRecordsRequest(); + + std::string getRR()const; + void setRR(const std::string& rR); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string rR_; + std::string userClientIp_; + std::string domainName_; + std::string lang_; + std::string type_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETESUBDOMAINRECORDSREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DeleteSubDomainRecordsResult.h b/alidns/include/alibabacloud/alidns/model/DeleteSubDomainRecordsResult.h new file mode 100644 index 000000000..bef86daf9 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DeleteSubDomainRecordsResult.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_DELETESUBDOMAINRECORDSRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DELETESUBDOMAINRECORDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DeleteSubDomainRecordsResult : public ServiceResult + { + public: + + + DeleteSubDomainRecordsResult(); + explicit DeleteSubDomainRecordsResult(const std::string &payload); + ~DeleteSubDomainRecordsResult(); + std::string getRR()const; + std::string getTotalCount()const; + + protected: + void parse(const std::string &payload); + private: + std::string rR_; + std::string totalCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DELETESUBDOMAINRECORDSRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeBatchResultCountRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeBatchResultCountRequest.h new file mode 100644 index 000000000..e92b2c47a --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeBatchResultCountRequest.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_DESCRIBEBATCHRESULTCOUNTREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEBATCHRESULTCOUNTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeBatchResultCountRequest : public RpcServiceRequest + { + + public: + DescribeBatchResultCountRequest(); + ~DescribeBatchResultCountRequest(); + + std::string getBatchType()const; + void setBatchType(const std::string& batchType); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getLang()const; + void setLang(const std::string& lang); + long getTaskId()const; + void setTaskId(long taskId); + + private: + std::string batchType_; + std::string userClientIp_; + std::string lang_; + long taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEBATCHRESULTCOUNTREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeBatchResultCountResult.h b/alidns/include/alibabacloud/alidns/model/DescribeBatchResultCountResult.h new file mode 100644 index 000000000..1c7a543f1 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeBatchResultCountResult.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_DESCRIBEBATCHRESULTCOUNTRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEBATCHRESULTCOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeBatchResultCountResult : public ServiceResult + { + public: + + + DescribeBatchResultCountResult(); + explicit DescribeBatchResultCountResult(const std::string &payload); + ~DescribeBatchResultCountResult(); + int getStatus()const; + int getTotalCount()const; + long getTaskId()const; + int getFailedCount()const; + int getSuccessCount()const; + std::string getReason()const; + std::string getBatchType()const; + + protected: + void parse(const std::string &payload); + private: + int status_; + int totalCount_; + long taskId_; + int failedCount_; + int successCount_; + std::string reason_; + std::string batchType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEBATCHRESULTCOUNTRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeBatchResultDetailRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeBatchResultDetailRequest.h new file mode 100644 index 000000000..94d250c3e --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeBatchResultDetailRequest.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_DESCRIBEBATCHRESULTDETAILREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEBATCHRESULTDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeBatchResultDetailRequest : public RpcServiceRequest + { + + public: + DescribeBatchResultDetailRequest(); + ~DescribeBatchResultDetailRequest(); + + std::string getBatchType()const; + void setBatchType(const std::string& batchType); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + int getPageNumber()const; + void setPageNumber(int pageNumber); + long getTaskId()const; + void setTaskId(long taskId); + + private: + std::string batchType_; + std::string userClientIp_; + int pageSize_; + std::string lang_; + int pageNumber_; + long taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEBATCHRESULTDETAILREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeBatchResultDetailResult.h b/alidns/include/alibabacloud/alidns/model/DescribeBatchResultDetailResult.h new file mode 100644 index 000000000..602ab5b90 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeBatchResultDetailResult.h @@ -0,0 +1,76 @@ +/* + * 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_DESCRIBEBATCHRESULTDETAILRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEBATCHRESULTDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeBatchResultDetailResult : public ServiceResult + { + public: + struct BatchResultDetail + { + std::string rr; + bool status; + std::string operateDateStr; + int priority; + std::string rrStatus; + int ttl; + std::string reason; + std::string batchType; + std::string remark; + std::string line; + std::string type; + std::string value; + std::string newRr; + std::string newValue; + std::string recordId; + std::string domain; + }; + + + DescribeBatchResultDetailResult(); + explicit DescribeBatchResultDetailResult(const std::string &payload); + ~DescribeBatchResultDetailResult(); + std::vector getBatchResultDetails()const; + long getTotalCount()const; + long getPageSize()const; + long getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + std::vector batchResultDetails_; + long totalCount_; + long pageSize_; + long pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEBATCHRESULTDETAILRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsRequest.h new file mode 100644 index 000000000..f720e1d19 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsRequest.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_DESCRIBEDNSSLBSUBDOMAINSREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSSLBSUBDOMAINSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDNSSLBSubDomainsRequest : public RpcServiceRequest + { + + public: + DescribeDNSSLBSubDomainsRequest(); + ~DescribeDNSSLBSubDomainsRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getPageSize()const; + void setPageSize(long pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + long getPageNumber()const; + void setPageNumber(long pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string userClientIp_; + std::string domainName_; + long pageSize_; + std::string lang_; + long pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSSLBSUBDOMAINSREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsResult.h b/alidns/include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsResult.h new file mode 100644 index 000000000..ccedc3877 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDNSSLBSubDomainsResult.h @@ -0,0 +1,64 @@ +/* + * 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_DESCRIBEDNSSLBSUBDOMAINSRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSSLBSUBDOMAINSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDNSSLBSubDomainsResult : public ServiceResult + { + public: + struct SlbSubDomain + { + std::string subDomain; + std::string type; + long recordCount; + bool open; + }; + + + DescribeDNSSLBSubDomainsResult(); + explicit DescribeDNSSLBSubDomainsResult(const std::string &payload); + ~DescribeDNSSLBSubDomainsResult(); + long getTotalCount()const; + long getPageSize()const; + long getPageNumber()const; + std::vector getSlbSubDomains()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + long pageSize_; + long pageNumber_; + std::vector slbSubDomains_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSSLBSUBDOMAINSRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDnsProductInstanceRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeDnsProductInstanceRequest.h new file mode 100644 index 000000000..3beb0f9e4 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDnsProductInstanceRequest.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_DESCRIBEDNSPRODUCTINSTANCEREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSPRODUCTINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsProductInstanceRequest : public RpcServiceRequest + { + + public: + DescribeDnsProductInstanceRequest(); + ~DescribeDnsProductInstanceRequest(); + + 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); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string instanceId_; + std::string userClientIp_; + std::string lang_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSPRODUCTINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDnsProductInstanceResult.h b/alidns/include/alibabacloud/alidns/model/DescribeDnsProductInstanceResult.h new file mode 100644 index 000000000..016dc566a --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDnsProductInstanceResult.h @@ -0,0 +1,113 @@ +/* + * 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_DESCRIBEDNSPRODUCTINSTANCERESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSPRODUCTINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsProductInstanceResult : public ServiceResult + { + public: + + + DescribeDnsProductInstanceResult(); + explicit DescribeDnsProductInstanceResult(const std::string &payload); + ~DescribeDnsProductInstanceResult(); + long getMonitorNodeCount()const; + bool getInBlackHole()const; + long getBindDomainCount()const; + bool getRegionLines()const; + std::string getEndTime()const; + long getBindCount()const; + long getStartTimestamp()const; + std::string getISPLines()const; + std::vector getDnsServers()const; + long getEndTimestamp()const; + long getDDosDefendQuery()const; + std::string getDnsSecurity()const; + long getURLForwardCount()const; + long getTTLMinValue()const; + std::string getVersionName()const; + std::string getOverseaLine()const; + std::string getISPRegionLines()const; + bool getGslb()const; + long getBindUsedCount()const; + long getDnsSLBCount()const; + std::string getInstanceId()const; + long getMonitorTaskCount()const; + std::string getStartTime()const; + long getDDosDefendFlow()const; + long getMonitorFrequency()const; + std::string getSearchEngineLines()const; + long getBindDomainUsedCount()const; + std::string getVersionCode()const; + long getOverseaDDosDefendFlow()const; + long getSubDomainLevel()const; + bool getInClean()const; + std::string getDomain()const; + + protected: + void parse(const std::string &payload); + private: + long monitorNodeCount_; + bool inBlackHole_; + long bindDomainCount_; + bool regionLines_; + std::string endTime_; + long bindCount_; + long startTimestamp_; + std::string iSPLines_; + std::vector dnsServers_; + long endTimestamp_; + long dDosDefendQuery_; + std::string dnsSecurity_; + long uRLForwardCount_; + long tTLMinValue_; + std::string versionName_; + std::string overseaLine_; + std::string iSPRegionLines_; + bool gslb_; + long bindUsedCount_; + long dnsSLBCount_; + std::string instanceId_; + long monitorTaskCount_; + std::string startTime_; + long dDosDefendFlow_; + long monitorFrequency_; + std::string searchEngineLines_; + long bindDomainUsedCount_; + std::string versionCode_; + long overseaDDosDefendFlow_; + long subDomainLevel_; + bool inClean_; + std::string domain_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSPRODUCTINSTANCERESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDnsProductInstancesRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeDnsProductInstancesRequest.h new file mode 100644 index 000000000..b1f0541fe --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDnsProductInstancesRequest.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_DESCRIBEDNSPRODUCTINSTANCESREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSPRODUCTINSTANCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsProductInstancesRequest : public RpcServiceRequest + { + + public: + DescribeDnsProductInstancesRequest(); + ~DescribeDnsProductInstancesRequest(); + + 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); + std::string getVersionCode()const; + void setVersionCode(const std::string& versionCode); + long getPageNumber()const; + void setPageNumber(long pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string userClientIp_; + long pageSize_; + std::string lang_; + std::string versionCode_; + long pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSPRODUCTINSTANCESREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDnsProductInstancesResult.h b/alidns/include/alibabacloud/alidns/model/DescribeDnsProductInstancesResult.h new file mode 100644 index 000000000..5416a2866 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDnsProductInstancesResult.h @@ -0,0 +1,91 @@ +/* + * 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_DESCRIBEDNSPRODUCTINSTANCESRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSPRODUCTINSTANCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDnsProductInstancesResult : public ServiceResult + { + public: + struct DnsProduct + { + long monitorNodeCount; + bool inBlackHole; + long bindDomainCount; + bool regionLines; + std::string endTime; + long bindCount; + long startTimestamp; + std::string iSPLines; + long endTimestamp; + long dDosDefendQuery; + std::string dnsSecurity; + long uRLForwardCount; + long tTLMinValue; + std::string versionName; + std::string overseaLine; + std::string iSPRegionLines; + bool gslb; + long bindUsedCount; + long dnsSLBCount; + std::string instanceId; + long monitorTaskCount; + std::string startTime; + long dDosDefendFlow; + long monitorFrequency; + std::string searchEngineLines; + long bindDomainUsedCount; + std::string versionCode; + long overseaDDosDefendFlow; + long subDomainLevel; + bool inClean; + std::string domain; + }; + + + DescribeDnsProductInstancesResult(); + explicit DescribeDnsProductInstancesResult(const std::string &payload); + ~DescribeDnsProductInstancesResult(); + long getTotalCount()const; + long getPageSize()const; + long getPageNumber()const; + std::vector getDnsProducts()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + long pageSize_; + long pageNumber_; + std::vector dnsProducts_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDNSPRODUCTINSTANCESRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDomainGroupsRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeDomainGroupsRequest.h new file mode 100644 index 000000000..5f67ee7c5 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDomainGroupsRequest.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_DESCRIBEDOMAINGROUPSREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINGROUPSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainGroupsRequest : public RpcServiceRequest + { + + public: + DescribeDomainGroupsRequest(); + ~DescribeDomainGroupsRequest(); + + 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); + std::string getKeyWord()const; + void setKeyWord(const std::string& keyWord); + long getPageNumber()const; + void setPageNumber(long pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string userClientIp_; + long pageSize_; + std::string lang_; + std::string keyWord_; + long pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINGROUPSREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDomainGroupsResult.h b/alidns/include/alibabacloud/alidns/model/DescribeDomainGroupsResult.h new file mode 100644 index 000000000..e7aebe0cd --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDomainGroupsResult.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_DESCRIBEDOMAINGROUPSRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINGROUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainGroupsResult : public ServiceResult + { + public: + struct DomainGroup + { + std::string groupName; + std::string groupId; + long domainCount; + }; + + + DescribeDomainGroupsResult(); + explicit DescribeDomainGroupsResult(const std::string &payload); + ~DescribeDomainGroupsResult(); + std::vector getDomainGroups()const; + long getTotalCount()const; + long getPageSize()const; + long getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domainGroups_; + long totalCount_; + long pageSize_; + long pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINGROUPSRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDomainInfoRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeDomainInfoRequest.h new file mode 100644 index 000000000..bec936e3f --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDomainInfoRequest.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_DESCRIBEDOMAININFOREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAININFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainInfoRequest : public RpcServiceRequest + { + + public: + DescribeDomainInfoRequest(); + ~DescribeDomainInfoRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + bool getNeedDetailAttributes()const; + void setNeedDetailAttributes(bool needDetailAttributes); + + private: + std::string userClientIp_; + std::string domainName_; + std::string lang_; + std::string accessKeyId_; + bool needDetailAttributes_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAININFOREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDomainInfoResult.h b/alidns/include/alibabacloud/alidns/model/DescribeDomainInfoResult.h new file mode 100644 index 000000000..325d924f4 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDomainInfoResult.h @@ -0,0 +1,96 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAININFORESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAININFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainInfoResult : public ServiceResult + { + public: + struct RecordLine + { + std::string fatherCode; + std::string lineDisplayName; + std::string lineCode; + std::string lineName; + }; + + + DescribeDomainInfoResult(); + explicit DescribeDomainInfoResult(const std::string &payload); + ~DescribeDomainInfoResult(); + std::string getGroupName()const; + std::string getRecordLineTreeJson()const; + bool getInBlackHole()const; + bool getRegionLines()const; + bool getAliDomain()const; + bool getSlaveDns()const; + std::string getDomainName()const; + std::string getInstanceId()const; + std::string getPunyCode()const; + std::vector getDnsServers()const; + std::string getRemark()const; + std::string getGroupId()const; + std::vector getRecordLines()const; + std::string getVersionCode()const; + std::string getDomainId()const; + std::vector getAvailableTtls()const; + std::string getVersionName()const; + long getMinTtl()const; + bool getInClean()const; + std::string getLineType()const; + + protected: + void parse(const std::string &payload); + private: + std::string groupName_; + std::string recordLineTreeJson_; + bool inBlackHole_; + bool regionLines_; + bool aliDomain_; + bool slaveDns_; + std::string domainName_; + std::string instanceId_; + std::string punyCode_; + std::vector dnsServers_; + std::string remark_; + std::string groupId_; + std::vector recordLines_; + std::string versionCode_; + std::string domainId_; + std::vector availableTtls_; + std::string versionName_; + long minTtl_; + bool inClean_; + std::string lineType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAININFORESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDomainLogsRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeDomainLogsRequest.h new file mode 100644 index 000000000..77e381d1e --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDomainLogsRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINLOGSREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINLOGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainLogsRequest : public RpcServiceRequest + { + + public: + DescribeDomainLogsRequest(); + ~DescribeDomainLogsRequest(); + + std::string getEndDate()const; + void setEndDate(const std::string& endDate); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + 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); + std::string getKeyWord()const; + void setKeyWord(const std::string& keyWord); + std::string getStartDate()const; + void setStartDate(const std::string& startDate); + std::string getType()const; + void setType(const std::string& type); + long getPageNumber()const; + void setPageNumber(long pageNumber); + + private: + std::string endDate_; + std::string groupId_; + std::string userClientIp_; + long pageSize_; + std::string lang_; + std::string keyWord_; + std::string startDate_; + std::string type_; + long pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINLOGSREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDomainLogsResult.h b/alidns/include/alibabacloud/alidns/model/DescribeDomainLogsResult.h new file mode 100644 index 000000000..2ddba003f --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDomainLogsResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINLOGSRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINLOGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainLogsResult : public ServiceResult + { + public: + struct DomainLog + { + std::string actionTime; + std::string action; + std::string message; + std::string domainName; + long actionTimestamp; + std::string clientIp; + }; + + + DescribeDomainLogsResult(); + explicit DescribeDomainLogsResult(const std::string &payload); + ~DescribeDomainLogsResult(); + long getTotalCount()const; + long getPageSize()const; + long getPageNumber()const; + std::vector getDomainLogs()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + long pageSize_; + long pageNumber_; + std::vector domainLogs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINLOGSRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDomainNsRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeDomainNsRequest.h new file mode 100644 index 000000000..bcfbd6736 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDomainNsRequest.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_DESCRIBEDOMAINNSREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINNSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainNsRequest : public RpcServiceRequest + { + + public: + DescribeDomainNsRequest(); + ~DescribeDomainNsRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string userClientIp_; + std::string domainName_; + std::string lang_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINNSREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDomainNsResult.h b/alidns/include/alibabacloud/alidns/model/DescribeDomainNsResult.h new file mode 100644 index 000000000..ab7312f17 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDomainNsResult.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_DESCRIBEDOMAINNSRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINNSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainNsResult : public ServiceResult + { + public: + + + DescribeDomainNsResult(); + explicit DescribeDomainNsResult(const std::string &payload); + ~DescribeDomainNsResult(); + bool getAllAliDns()const; + std::vector getExpectDnsServers()const; + std::vector getDnsServers()const; + bool getIncludeAliDns()const; + + protected: + void parse(const std::string &payload); + private: + bool allAliDns_; + std::vector expectDnsServers_; + std::vector dnsServers_; + bool includeAliDns_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINNSRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDomainRecordInfoRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeDomainRecordInfoRequest.h new file mode 100644 index 000000000..9110b01f1 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDomainRecordInfoRequest.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_DESCRIBEDOMAINRECORDINFOREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINRECORDINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainRecordInfoRequest : public RpcServiceRequest + { + + public: + DescribeDomainRecordInfoRequest(); + ~DescribeDomainRecordInfoRequest(); + + std::string getRecordId()const; + void setRecordId(const std::string& recordId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string recordId_; + std::string userClientIp_; + std::string lang_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINRECORDINFOREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDomainRecordInfoResult.h b/alidns/include/alibabacloud/alidns/model/DescribeDomainRecordInfoResult.h new file mode 100644 index 000000000..9560c532c --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDomainRecordInfoResult.h @@ -0,0 +1,77 @@ +/* + * 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_DESCRIBEDOMAINRECORDINFORESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINRECORDINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainRecordInfoResult : public ServiceResult + { + public: + + + DescribeDomainRecordInfoResult(); + explicit DescribeDomainRecordInfoResult(const std::string &payload); + ~DescribeDomainRecordInfoResult(); + std::string getGroupName()const; + std::string getRR()const; + std::string getStatus()const; + std::string getDomainName()const; + long getPriority()const; + std::string getPunyCode()const; + long getTTL()const; + std::string getGroupId()const; + std::string getLine()const; + bool getLocked()const; + std::string getType()const; + std::string getDomainId()const; + std::string getValue()const; + std::string getRecordId()const; + + protected: + void parse(const std::string &payload); + private: + std::string groupName_; + std::string rR_; + std::string status_; + std::string domainName_; + long priority_; + std::string punyCode_; + long tTL_; + std::string groupId_; + std::string line_; + bool locked_; + std::string type_; + std::string domainId_; + std::string value_; + std::string recordId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINRECORDINFORESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDomainRecordsRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeDomainRecordsRequest.h new file mode 100644 index 000000000..43d71ee15 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDomainRecordsRequest.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINRECORDSREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINRECORDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainRecordsRequest : public RpcServiceRequest + { + + public: + DescribeDomainRecordsRequest(); + ~DescribeDomainRecordsRequest(); + + std::string getValueKeyWord()const; + void setValueKeyWord(const std::string& valueKeyWord); + long getGroupId()const; + void setGroupId(long groupId); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getOrderBy()const; + void setOrderBy(const std::string& orderBy); + 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 getSearchMode()const; + void setSearchMode(const std::string& searchMode); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getKeyWord()const; + void setKeyWord(const std::string& keyWord); + std::string getTypeKeyWord()const; + void setTypeKeyWord(const std::string& typeKeyWord); + std::string getRRKeyWord()const; + void setRRKeyWord(const std::string& rRKeyWord); + std::string getDirection()const; + void setDirection(const std::string& direction); + + private: + std::string valueKeyWord_; + long groupId_; + std::string domainName_; + std::string orderBy_; + long pageNumber_; + std::string userClientIp_; + long pageSize_; + std::string searchMode_; + std::string lang_; + std::string keyWord_; + std::string typeKeyWord_; + std::string rRKeyWord_; + std::string direction_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINRECORDSREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDomainRecordsResult.h b/alidns/include/alibabacloud/alidns/model/DescribeDomainRecordsResult.h new file mode 100644 index 000000000..8571d72fa --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDomainRecordsResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINRECORDSRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINRECORDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainRecordsResult : public ServiceResult + { + public: + struct Record + { + std::string rR; + std::string line; + std::string status; + bool locked; + std::string type; + std::string domainName; + long priority; + std::string value; + std::string recordId; + long tTL; + int weight; + std::string remark; + }; + + + DescribeDomainRecordsResult(); + explicit DescribeDomainRecordsResult(const std::string &payload); + ~DescribeDomainRecordsResult(); + long getTotalCount()const; + std::vector getDomainRecords()const; + long getPageSize()const; + long getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + std::vector domainRecords_; + long pageSize_; + long pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINRECORDSRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDomainsRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeDomainsRequest.h new file mode 100644 index 000000000..ed5131a9e --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDomainsRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINSREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainsRequest : public RpcServiceRequest + { + + public: + DescribeDomainsRequest(); + ~DescribeDomainsRequest(); + + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + long getPageSize()const; + void setPageSize(long pageSize); + std::string getSearchMode()const; + void setSearchMode(const std::string& searchMode); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getKeyWord()const; + void setKeyWord(const std::string& keyWord); + long getPageNumber()const; + void setPageNumber(long pageNumber); + + private: + std::string groupId_; + std::string userClientIp_; + long pageSize_; + std::string searchMode_; + std::string lang_; + std::string keyWord_; + long pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINSREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeDomainsResult.h b/alidns/include/alibabacloud/alidns/model/DescribeDomainsResult.h new file mode 100644 index 000000000..2fa3099ab --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeDomainsResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINSRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainsResult : public ServiceResult + { + public: + struct Domain + { + std::string groupName; + bool aliDomain; + std::string domainName; + std::string instanceId; + std::string punyCode; + std::vector dnsServers; + std::string remark; + std::string groupId; + std::string versionCode; + std::string domainId; + std::string versionName; + std::string registrantEmail; + std::string instanceEndTime; + bool instanceExpired; + long recordCount; + }; + + + DescribeDomainsResult(); + explicit DescribeDomainsResult(const std::string &payload); + ~DescribeDomainsResult(); + std::vector getDomains()const; + long getTotalCount()const; + long getPageSize()const; + long getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domains_; + long totalCount_; + long pageSize_; + long pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINSRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategiesRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategiesRequest.h new file mode 100644 index 000000000..de1a63c8f --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategiesRequest.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_DESCRIBEGTMACCESSSTRATEGIESREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMACCESSSTRATEGIESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmAccessStrategiesRequest : public RpcServiceRequest + { + + public: + DescribeGtmAccessStrategiesRequest(); + ~DescribeGtmAccessStrategiesRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + int getPageNumber()const; + void setPageNumber(int pageNumber); + + private: + std::string instanceId_; + std::string userClientIp_; + int pageSize_; + std::string lang_; + int pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMACCESSSTRATEGIESREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategiesResult.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategiesResult.h new file mode 100644 index 000000000..4aefddecc --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategiesResult.h @@ -0,0 +1,82 @@ +/* + * 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_DESCRIBEGTMACCESSSTRATEGIESRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMACCESSSTRATEGIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmAccessStrategiesResult : public ServiceResult + { + public: + struct Strategy + { + struct Line + { + std::string groupName; + std::string groupCode; + std::string lineCode; + std::string lineName; + }; + std::string instanceId; + std::string createTime; + std::string strategyId; + std::string failoverAddrPoolId; + std::string defaultAddrPoolId; + std::string accessStatus; + std::string defaultAddrPoolName; + std::string strategyName; + std::string accessMode; + std::string strategyMode; + long createTimestamp; + std::string failoverAddrPoolName; + std::vector lines; + }; + + + DescribeGtmAccessStrategiesResult(); + explicit DescribeGtmAccessStrategiesResult(const std::string &payload); + ~DescribeGtmAccessStrategiesResult(); + int getPageSize()const; + int getPageNumber()const; + std::vector getStrategies()const; + int getTotalPages()const; + int getTotalItems()const; + + protected: + void parse(const std::string &payload); + private: + int pageSize_; + int pageNumber_; + std::vector strategies_; + int totalPages_; + int totalItems_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMACCESSSTRATEGIESRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategyAvailableConfigRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategyAvailableConfigRequest.h new file mode 100644 index 000000000..49144b977 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategyAvailableConfigRequest.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_DESCRIBEGTMACCESSSTRATEGYAVAILABLECONFIGREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMACCESSSTRATEGYAVAILABLECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmAccessStrategyAvailableConfigRequest : public RpcServiceRequest + { + + public: + DescribeGtmAccessStrategyAvailableConfigRequest(); + ~DescribeGtmAccessStrategyAvailableConfigRequest(); + + 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 instanceId_; + std::string userClientIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMACCESSSTRATEGYAVAILABLECONFIGREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategyAvailableConfigResult.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategyAvailableConfigResult.h new file mode 100644 index 000000000..f1a21e42c --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategyAvailableConfigResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMACCESSSTRATEGYAVAILABLECONFIGRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMACCESSSTRATEGYAVAILABLECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmAccessStrategyAvailableConfigResult : public ServiceResult + { + public: + struct AddrPool + { + std::string addrPoolName; + std::string addrPoolId; + }; + struct Line + { + std::string groupName; + std::string status; + std::string groupCode; + std::string lineCode; + std::string lineName; + }; + + + DescribeGtmAccessStrategyAvailableConfigResult(); + explicit DescribeGtmAccessStrategyAvailableConfigResult(const std::string &payload); + ~DescribeGtmAccessStrategyAvailableConfigResult(); + std::vector getAddrPools()const; + std::vector getLines()const; + + protected: + void parse(const std::string &payload); + private: + std::vector addrPools_; + std::vector lines_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMACCESSSTRATEGYAVAILABLECONFIGRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategyRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategyRequest.h new file mode 100644 index 000000000..12144115a --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategyRequest.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_DESCRIBEGTMACCESSSTRATEGYREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMACCESSSTRATEGYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmAccessStrategyRequest : public RpcServiceRequest + { + + public: + DescribeGtmAccessStrategyRequest(); + ~DescribeGtmAccessStrategyRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getStrategyId()const; + void setStrategyId(const std::string& strategyId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string userClientIp_; + std::string strategyId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMACCESSSTRATEGYREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategyResult.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategyResult.h new file mode 100644 index 000000000..48e31b60b --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmAccessStrategyResult.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMACCESSSTRATEGYRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMACCESSSTRATEGYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmAccessStrategyResult : public ServiceResult + { + public: + struct Line + { + std::string groupName; + std::string groupCode; + std::string lineCode; + std::string lineName; + }; + + + DescribeGtmAccessStrategyResult(); + explicit DescribeGtmAccessStrategyResult(const std::string &payload); + ~DescribeGtmAccessStrategyResult(); + std::string getDefaultAddrPoolName()const; + std::string getDefultAddrPoolId()const; + std::string getStrategyName()const; + std::string getInstanceId()const; + std::string getStrategyId()const; + std::string getAccessMode()const; + std::string getStrategyMode()const; + std::string getFailoverAddrPoolName()const; + std::string getFailoverAddrPoolId()const; + std::vector getLines()const; + std::string getAccessStatus()const; + + protected: + void parse(const std::string &payload); + private: + std::string defaultAddrPoolName_; + std::string defultAddrPoolId_; + std::string strategyName_; + std::string instanceId_; + std::string strategyId_; + std::string accessMode_; + std::string strategyMode_; + std::string failoverAddrPoolName_; + std::string failoverAddrPoolId_; + std::vector lines_; + std::string accessStatus_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMACCESSSTRATEGYRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmAvailableAlertGroupRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmAvailableAlertGroupRequest.h new file mode 100644 index 000000000..c23b0ba26 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmAvailableAlertGroupRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMAVAILABLEALERTGROUPREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMAVAILABLEALERTGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmAvailableAlertGroupRequest : public RpcServiceRequest + { + + public: + DescribeGtmAvailableAlertGroupRequest(); + ~DescribeGtmAvailableAlertGroupRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string userClientIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMAVAILABLEALERTGROUPREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmAvailableAlertGroupResult.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmAvailableAlertGroupResult.h new file mode 100644 index 000000000..25bbd6296 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmAvailableAlertGroupResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMAVAILABLEALERTGROUPRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMAVAILABLEALERTGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmAvailableAlertGroupResult : public ServiceResult + { + public: + + + DescribeGtmAvailableAlertGroupResult(); + explicit DescribeGtmAvailableAlertGroupResult(const std::string &payload); + ~DescribeGtmAvailableAlertGroupResult(); + std::string getAvailableAlertGroup()const; + + protected: + void parse(const std::string &payload); + private: + std::string availableAlertGroup_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMAVAILABLEALERTGROUPRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolRequest.h new file mode 100644 index 000000000..e57a29901 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolRequest.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_DESCRIBEGTMINSTANCEADDRESSPOOLREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCEADDRESSPOOLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmInstanceAddressPoolRequest : public RpcServiceRequest + { + + public: + DescribeGtmInstanceAddressPoolRequest(); + ~DescribeGtmInstanceAddressPoolRequest(); + + std::string getAddrPoolId()const; + void setAddrPoolId(const std::string& addrPoolId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string addrPoolId_; + std::string userClientIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCEADDRESSPOOLREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolResult.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolResult.h new file mode 100644 index 000000000..04c8ac2e2 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolResult.h @@ -0,0 +1,87 @@ +/* + * 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_DESCRIBEGTMINSTANCEADDRESSPOOLRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCEADDRESSPOOLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmInstanceAddressPoolResult : public ServiceResult + { + public: + struct Addr + { + int lbaWeight; + std::string alertStatus; + long addrId; + std::string createTime; + std::string mode; + std::string updateTime; + std::string value; + long updateTimestamp; + long createTimestamp; + }; + + + DescribeGtmInstanceAddressPoolResult(); + explicit DescribeGtmInstanceAddressPoolResult(const std::string &payload); + ~DescribeGtmInstanceAddressPoolResult(); + std::vector getAddrs()const; + std::string getStatus()const; + std::string getCreateTime()const; + int getAddrCount()const; + std::string getName()const; + std::string getType()const; + std::string getAddrPoolId()const; + std::string getUpdateTime()const; + long getUpdateTimestamp()const; + int getMinAvailableAddrNum()const; + std::string getMonitorConfigId()const; + long getCreateTimestamp()const; + std::string getMonitorStatus()const; + + protected: + void parse(const std::string &payload); + private: + std::vector addrs_; + std::string status_; + std::string createTime_; + int addrCount_; + std::string name_; + std::string type_; + std::string addrPoolId_; + std::string updateTime_; + long updateTimestamp_; + int minAvailableAddrNum_; + std::string monitorConfigId_; + long createTimestamp_; + std::string monitorStatus_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCEADDRESSPOOLRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolsRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolsRequest.h new file mode 100644 index 000000000..803024d5f --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolsRequest.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_DESCRIBEGTMINSTANCEADDRESSPOOLSREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCEADDRESSPOOLSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmInstanceAddressPoolsRequest : public RpcServiceRequest + { + + public: + DescribeGtmInstanceAddressPoolsRequest(); + ~DescribeGtmInstanceAddressPoolsRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + int getPageNumber()const; + void setPageNumber(int pageNumber); + + private: + std::string instanceId_; + std::string userClientIp_; + int pageSize_; + std::string lang_; + int pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCEADDRESSPOOLSREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolsResult.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolsResult.h new file mode 100644 index 000000000..8837f747c --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceAddressPoolsResult.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_ALIDNS_MODEL_DESCRIBEGTMINSTANCEADDRESSPOOLSRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCEADDRESSPOOLSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmInstanceAddressPoolsResult : public ServiceResult + { + public: + struct AddrPool + { + std::string status; + std::string type; + std::string createTime; + std::string addrPoolId; + std::string updateTime; + long updateTimestamp; + int minAvailableAddrNum; + std::string monitorConfigId; + long createTimestamp; + std::string monitorStatus; + int addrCount; + std::string name; + }; + + + DescribeGtmInstanceAddressPoolsResult(); + explicit DescribeGtmInstanceAddressPoolsResult(const std::string &payload); + ~DescribeGtmInstanceAddressPoolsResult(); + int getPageSize()const; + int getPageNumber()const; + int getTotalPages()const; + int getTotalItems()const; + std::vector getAddrPools()const; + + protected: + void parse(const std::string &payload); + private: + int pageSize_; + int pageNumber_; + int totalPages_; + int totalItems_; + std::vector addrPools_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCEADDRESSPOOLSRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceRequest.h new file mode 100644 index 000000000..caee0fcb3 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceRequest.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_DESCRIBEGTMINSTANCEREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmInstanceRequest : public RpcServiceRequest + { + + public: + DescribeGtmInstanceRequest(); + ~DescribeGtmInstanceRequest(); + + 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 instanceId_; + std::string userClientIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceResult.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceResult.h new file mode 100644 index 000000000..bdd769b1a --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCERESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmInstanceResult : public ServiceResult + { + public: + + + DescribeGtmInstanceResult(); + explicit DescribeGtmInstanceResult(const std::string &payload); + ~DescribeGtmInstanceResult(); + std::string getInstanceName()const; + std::string getVersionCode()const; + long getExpireTimestamp()const; + std::string getUserDomainName()const; + std::string getAlertGroup()const; + std::string getLbaStrategy()const; + std::string getInstanceId()const; + std::string getCreateTime()const; + std::string getExpireTime()const; + std::string getCname()const; + int getTtl()const; + long getCreateTimestamp()const; + + protected: + void parse(const std::string &payload); + private: + std::string instanceName_; + std::string versionCode_; + long expireTimestamp_; + std::string userDomainName_; + std::string alertGroup_; + std::string lbaStrategy_; + std::string instanceId_; + std::string createTime_; + std::string expireTime_; + std::string cname_; + int ttl_; + long createTimestamp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCERESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceStatusRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceStatusRequest.h new file mode 100644 index 000000000..a83d126c5 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceStatusRequest.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_DESCRIBEGTMINSTANCESTATUSREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCESTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmInstanceStatusRequest : public RpcServiceRequest + { + + public: + DescribeGtmInstanceStatusRequest(); + ~DescribeGtmInstanceStatusRequest(); + + 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 instanceId_; + std::string userClientIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCESTATUSREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceStatusResult.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceStatusResult.h new file mode 100644 index 000000000..7958c0315 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstanceStatusResult.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_DESCRIBEGTMINSTANCESTATUSRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCESTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmInstanceStatusResult : public ServiceResult + { + public: + + + DescribeGtmInstanceStatusResult(); + explicit DescribeGtmInstanceStatusResult(const std::string &payload); + ~DescribeGtmInstanceStatusResult(); + std::string getAlertStatus()const; + std::string getAccessStatus()const; + + protected: + void parse(const std::string &payload); + private: + std::string alertStatus_; + std::string accessStatus_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCESTATUSRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmInstancesRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstancesRequest.h new file mode 100644 index 000000000..31d90c5e2 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstancesRequest.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_DESCRIBEGTMINSTANCESREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmInstancesRequest : public RpcServiceRequest + { + + public: + DescribeGtmInstancesRequest(); + ~DescribeGtmInstancesRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getKeyword()const; + void setKeyword(const std::string& keyword); + int getPageNumber()const; + void setPageNumber(int pageNumber); + + private: + std::string userClientIp_; + int pageSize_; + std::string lang_; + std::string keyword_; + int pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCESREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmInstancesResult.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstancesResult.h new file mode 100644 index 000000000..f28b93b0e --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmInstancesResult.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_ALIDNS_MODEL_DESCRIBEGTMINSTANCESRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmInstancesResult : public ServiceResult + { + public: + struct GtmInstance + { + std::string instanceName; + std::string versionCode; + long expireTimestamp; + std::string userDomainName; + std::string alertGroup; + std::string lbaStrategy; + std::string instanceId; + std::string createTime; + std::string expireTime; + std::string cname; + int ttl; + long createTimestamp; + }; + + + DescribeGtmInstancesResult(); + explicit DescribeGtmInstancesResult(const std::string &payload); + ~DescribeGtmInstancesResult(); + int getPageSize()const; + int getPageNumber()const; + std::vector getGtmInstances()const; + int getTotalPages()const; + int getTotalItems()const; + + protected: + void parse(const std::string &payload); + private: + int pageSize_; + int pageNumber_; + std::vector gtmInstances_; + int totalPages_; + int totalItems_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMINSTANCESRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmLogsRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmLogsRequest.h new file mode 100644 index 000000000..d881dd9a6 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmLogsRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMLOGSREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMLOGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmLogsRequest : public RpcServiceRequest + { + + public: + DescribeGtmLogsRequest(); + ~DescribeGtmLogsRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getKeyword()const; + void setKeyword(const std::string& keyword); + long getStartTimestamp()const; + void setStartTimestamp(long startTimestamp); + int getPageNumber()const; + void setPageNumber(int pageNumber); + long getEndTimestamp()const; + void setEndTimestamp(long endTimestamp); + + private: + std::string instanceId_; + std::string userClientIp_; + int pageSize_; + std::string lang_; + std::string keyword_; + long startTimestamp_; + int pageNumber_; + long endTimestamp_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMLOGSREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmLogsResult.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmLogsResult.h new file mode 100644 index 000000000..1a0cfd71b --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmLogsResult.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_DESCRIBEGTMLOGSRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMLOGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmLogsResult : public ServiceResult + { + public: + struct Log + { + std::string entityType; + std::string entityId; + std::string entityName; + std::string operTime; + std::string content; + long operTimestamp; + long id; + std::string operIp; + std::string operAction; + }; + + + DescribeGtmLogsResult(); + explicit DescribeGtmLogsResult(const std::string &payload); + ~DescribeGtmLogsResult(); + int getPageSize()const; + int getPageNumber()const; + int getTotalPages()const; + std::vector getLogs()const; + int getTotalItems()const; + + protected: + void parse(const std::string &payload); + private: + int pageSize_; + int pageNumber_; + int totalPages_; + std::vector logs_; + int totalItems_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMLOGSRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmMonitorAvailableConfigRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmMonitorAvailableConfigRequest.h new file mode 100644 index 000000000..c5423d91b --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmMonitorAvailableConfigRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMMONITORAVAILABLECONFIGREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMMONITORAVAILABLECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmMonitorAvailableConfigRequest : public RpcServiceRequest + { + + public: + DescribeGtmMonitorAvailableConfigRequest(); + ~DescribeGtmMonitorAvailableConfigRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string userClientIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMMONITORAVAILABLECONFIGREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmMonitorAvailableConfigResult.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmMonitorAvailableConfigResult.h new file mode 100644 index 000000000..7f240d201 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmMonitorAvailableConfigResult.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_DESCRIBEGTMMONITORAVAILABLECONFIGRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMMONITORAVAILABLECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmMonitorAvailableConfigResult : public ServiceResult + { + public: + struct IspCityNode + { + std::string cityCode; + bool mainland; + std::string ispName; + std::string cityName; + std::string ispCode; + bool defaultSelected; + }; + + + DescribeGtmMonitorAvailableConfigResult(); + explicit DescribeGtmMonitorAvailableConfigResult(const std::string &payload); + ~DescribeGtmMonitorAvailableConfigResult(); + std::vector getIspCityNodes()const; + + protected: + void parse(const std::string &payload); + private: + std::vector ispCityNodes_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMMONITORAVAILABLECONFIGRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmMonitorConfigRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmMonitorConfigRequest.h new file mode 100644 index 000000000..130cb633d --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmMonitorConfigRequest.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_DESCRIBEGTMMONITORCONFIGREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMMONITORCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmMonitorConfigRequest : public RpcServiceRequest + { + + public: + DescribeGtmMonitorConfigRequest(); + ~DescribeGtmMonitorConfigRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getMonitorConfigId()const; + void setMonitorConfigId(const std::string& monitorConfigId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string userClientIp_; + std::string monitorConfigId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMMONITORCONFIGREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeGtmMonitorConfigResult.h b/alidns/include/alibabacloud/alidns/model/DescribeGtmMonitorConfigResult.h new file mode 100644 index 000000000..d85ecbec0 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeGtmMonitorConfigResult.h @@ -0,0 +1,80 @@ +/* + * 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_DESCRIBEGTMMONITORCONFIGRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMMONITORCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeGtmMonitorConfigResult : public ServiceResult + { + public: + struct IspCityNode + { + std::string cityCode; + std::string countryName; + std::string cityName; + std::string countryCode; + }; + + + DescribeGtmMonitorConfigResult(); + explicit DescribeGtmMonitorConfigResult(const std::string &payload); + ~DescribeGtmMonitorConfigResult(); + std::vector getIspCityNodes()const; + std::string getProtocolType()const; + int getTimeout()const; + std::string getCreateTime()const; + std::string getUpdateTime()const; + int getEvaluationCount()const; + long getUpdateTimestamp()const; + std::string getMonitorExtendInfo()const; + std::string getMonitorConfigId()const; + long getCreateTimestamp()const; + std::string getName()const; + int getInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::vector ispCityNodes_; + std::string protocolType_; + int timeout_; + std::string createTime_; + std::string updateTime_; + int evaluationCount_; + long updateTimestamp_; + std::string monitorExtendInfo_; + std::string monitorConfigId_; + long createTimestamp_; + std::string name_; + int interval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEGTMMONITORCONFIGRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeRecordLogsRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeRecordLogsRequest.h new file mode 100644 index 000000000..ae5576f3b --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeRecordLogsRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBERECORDLOGSREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBERECORDLOGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeRecordLogsRequest : public RpcServiceRequest + { + + public: + DescribeRecordLogsRequest(); + ~DescribeRecordLogsRequest(); + + std::string getEndDate()const; + void setEndDate(const std::string& endDate); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getPageSize()const; + void setPageSize(long pageSize); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getKeyWord()const; + void setKeyWord(const std::string& keyWord); + std::string getStartDate()const; + void setStartDate(const std::string& startDate); + long getPageNumber()const; + void setPageNumber(long pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string endDate_; + std::string userClientIp_; + std::string domainName_; + long pageSize_; + std::string lang_; + std::string keyWord_; + std::string startDate_; + long pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBERECORDLOGSREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeRecordLogsResult.h b/alidns/include/alibabacloud/alidns/model/DescribeRecordLogsResult.h new file mode 100644 index 000000000..d805d1d80 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeRecordLogsResult.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_DESCRIBERECORDLOGSRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBERECORDLOGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeRecordLogsResult : public ServiceResult + { + public: + struct RecordLog + { + std::string actionTime; + std::string action; + std::string message; + long actionTimestamp; + std::string clientIp; + }; + + + DescribeRecordLogsResult(); + explicit DescribeRecordLogsResult(const std::string &payload); + ~DescribeRecordLogsResult(); + long getTotalCount()const; + long getPageSize()const; + long getPageNumber()const; + std::vector getRecordLogs()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + long pageSize_; + long pageNumber_; + std::vector recordLogs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBERECORDLOGSRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeSubDomainRecordsRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeSubDomainRecordsRequest.h new file mode 100644 index 000000000..309414f86 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeSubDomainRecordsRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBESUBDOMAINRECORDSREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBESUBDOMAINRECORDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeSubDomainRecordsRequest : public RpcServiceRequest + { + + public: + DescribeSubDomainRecordsRequest(); + ~DescribeSubDomainRecordsRequest(); + + std::string getLine()const; + void setLine(const std::string& line); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + long getPageSize()const; + void setPageSize(long pageSize); + std::string getSubDomain()const; + void setSubDomain(const std::string& subDomain); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + long getPageNumber()const; + void setPageNumber(long pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string line_; + std::string userClientIp_; + long pageSize_; + std::string subDomain_; + std::string lang_; + std::string type_; + long pageNumber_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBESUBDOMAINRECORDSREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeSubDomainRecordsResult.h b/alidns/include/alibabacloud/alidns/model/DescribeSubDomainRecordsResult.h new file mode 100644 index 000000000..742b268dc --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeSubDomainRecordsResult.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_DESCRIBESUBDOMAINRECORDSRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBESUBDOMAINRECORDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeSubDomainRecordsResult : public ServiceResult + { + public: + struct Record + { + std::string rR; + std::string line; + std::string status; + bool locked; + std::string type; + std::string domainName; + long priority; + std::string value; + std::string recordId; + long tTL; + int weight; + }; + + + DescribeSubDomainRecordsResult(); + explicit DescribeSubDomainRecordsResult(const std::string &payload); + ~DescribeSubDomainRecordsResult(); + long getTotalCount()const; + std::vector getDomainRecords()const; + long getPageSize()const; + long getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + std::vector domainRecords_; + long pageSize_; + long pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBESUBDOMAINRECORDSRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeSupportLinesRequest.h b/alidns/include/alibabacloud/alidns/model/DescribeSupportLinesRequest.h new file mode 100644 index 000000000..a1c3e97aa --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeSupportLinesRequest.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_DESCRIBESUPPORTLINESREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBESUPPORTLINESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeSupportLinesRequest : public RpcServiceRequest + { + + public: + DescribeSupportLinesRequest(); + ~DescribeSupportLinesRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string userClientIp_; + std::string domainName_; + std::string lang_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBESUPPORTLINESREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/DescribeSupportLinesResult.h b/alidns/include/alibabacloud/alidns/model/DescribeSupportLinesResult.h new file mode 100644 index 000000000..ae05b1a16 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/DescribeSupportLinesResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBESUPPORTLINESRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBESUPPORTLINESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT DescribeSupportLinesResult : public ServiceResult + { + public: + struct RecordLine + { + std::string fatherCode; + std::string lineDisplayName; + std::string lineCode; + std::string lineName; + }; + + + DescribeSupportLinesResult(); + explicit DescribeSupportLinesResult(const std::string &payload); + ~DescribeSupportLinesResult(); + std::vector getRecordLines()const; + + protected: + void parse(const std::string &payload); + private: + std::vector recordLines_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBESUPPORTLINESRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/GetMainDomainNameRequest.h b/alidns/include/alibabacloud/alidns/model/GetMainDomainNameRequest.h new file mode 100644 index 000000000..cb41d85b8 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/GetMainDomainNameRequest.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_GETMAINDOMAINNAMEREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_GETMAINDOMAINNAMEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT GetMainDomainNameRequest : public RpcServiceRequest + { + + public: + GetMainDomainNameRequest(); + ~GetMainDomainNameRequest(); + + std::string getInputString()const; + void setInputString(const std::string& inputString); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string inputString_; + std::string userClientIp_; + std::string lang_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_GETMAINDOMAINNAMEREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/GetMainDomainNameResult.h b/alidns/include/alibabacloud/alidns/model/GetMainDomainNameResult.h new file mode 100644 index 000000000..73a472e08 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/GetMainDomainNameResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_GETMAINDOMAINNAMERESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_GETMAINDOMAINNAMERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT GetMainDomainNameResult : public ServiceResult + { + public: + + + GetMainDomainNameResult(); + explicit GetMainDomainNameResult(const std::string &payload); + ~GetMainDomainNameResult(); + std::string getRR()const; + std::string getDomainName()const; + long getDomainLevel()const; + + protected: + void parse(const std::string &payload); + private: + std::string rR_; + std::string domainName_; + long domainLevel_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_GETMAINDOMAINNAMERESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/ModifyHichinaDomainDNSRequest.h b/alidns/include/alibabacloud/alidns/model/ModifyHichinaDomainDNSRequest.h new file mode 100644 index 000000000..a6bcedb66 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/ModifyHichinaDomainDNSRequest.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_MODIFYHICHINADOMAINDNSREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_MODIFYHICHINADOMAINDNSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT ModifyHichinaDomainDNSRequest : public RpcServiceRequest + { + + public: + ModifyHichinaDomainDNSRequest(); + ~ModifyHichinaDomainDNSRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string userClientIp_; + std::string domainName_; + std::string lang_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_MODIFYHICHINADOMAINDNSREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/ModifyHichinaDomainDNSResult.h b/alidns/include/alibabacloud/alidns/model/ModifyHichinaDomainDNSResult.h new file mode 100644 index 000000000..ad3d6be44 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/ModifyHichinaDomainDNSResult.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_MODIFYHICHINADOMAINDNSRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_MODIFYHICHINADOMAINDNSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT ModifyHichinaDomainDNSResult : public ServiceResult + { + public: + + + ModifyHichinaDomainDNSResult(); + explicit ModifyHichinaDomainDNSResult(const std::string &payload); + ~ModifyHichinaDomainDNSResult(); + std::vector getNewDnsServers()const; + std::vector getOriginalDnsServers()const; + + protected: + void parse(const std::string &payload); + private: + std::vector newDnsServers_; + std::vector originalDnsServers_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_MODIFYHICHINADOMAINDNSRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/OperateBatchDomainRequest.h b/alidns/include/alibabacloud/alidns/model/OperateBatchDomainRequest.h new file mode 100644 index 000000000..1ba4048e8 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/OperateBatchDomainRequest.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_OPERATEBATCHDOMAINREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_OPERATEBATCHDOMAINREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT OperateBatchDomainRequest : public RpcServiceRequest + { + struct DomainRecordInfo + { + std::string rr; + std::string line; + std::string domain; + std::string type; + int priority; + std::string value; + int ttl; + }; + + public: + OperateBatchDomainRequest(); + ~OperateBatchDomainRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::vector getDomainRecordInfo()const; + void setDomainRecordInfo(const std::vector& domainRecordInfo); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + + private: + std::string userClientIp_; + std::vector domainRecordInfo_; + std::string lang_; + std::string type_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_OPERATEBATCHDOMAINREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/OperateBatchDomainResult.h b/alidns/include/alibabacloud/alidns/model/OperateBatchDomainResult.h new file mode 100644 index 000000000..d9b0616f3 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/OperateBatchDomainResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_OPERATEBATCHDOMAINRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_OPERATEBATCHDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT OperateBatchDomainResult : public ServiceResult + { + public: + + + OperateBatchDomainResult(); + explicit OperateBatchDomainResult(const std::string &payload); + ~OperateBatchDomainResult(); + long getTaskId()const; + + protected: + void parse(const std::string &payload); + private: + long taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_OPERATEBATCHDOMAINRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/QueryCreateInstancePriceRequest.h b/alidns/include/alibabacloud/alidns/model/QueryCreateInstancePriceRequest.h new file mode 100644 index 000000000..84a54b22a --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/QueryCreateInstancePriceRequest.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_QUERYCREATEINSTANCEPRICEREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_QUERYCREATEINSTANCEPRICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT QueryCreateInstancePriceRequest : public RpcServiceRequest + { + + public: + QueryCreateInstancePriceRequest(); + ~QueryCreateInstancePriceRequest(); + + int getMonth()const; + void setMonth(int month); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getInstanceVersion()const; + void setInstanceVersion(const std::string& instanceVersion); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + int month_; + std::string userClientIp_; + std::string lang_; + std::string instanceVersion_; + long ownerId_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_QUERYCREATEINSTANCEPRICEREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/QueryCreateInstancePriceResult.h b/alidns/include/alibabacloud/alidns/model/QueryCreateInstancePriceResult.h new file mode 100644 index 000000000..ffc10ebac --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/QueryCreateInstancePriceResult.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_QUERYCREATEINSTANCEPRICERESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_QUERYCREATEINSTANCEPRICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT QueryCreateInstancePriceResult : public ServiceResult + { + public: + struct Rule + { + long ruleId; + std::string title; + std::string name; + }; + + + QueryCreateInstancePriceResult(); + explicit QueryCreateInstancePriceResult(const std::string &payload); + ~QueryCreateInstancePriceResult(); + std::string getOrigin()const; + std::string getDiscount()const; + std::string getAmount()const; + std::string getCurrency()const; + std::vector getRules()const; + + protected: + void parse(const std::string &payload); + private: + std::string origin_; + std::string discount_; + std::string amount_; + std::string currency_; + std::vector rules_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_QUERYCREATEINSTANCEPRICERESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/SetDNSSLBStatusRequest.h b/alidns/include/alibabacloud/alidns/model/SetDNSSLBStatusRequest.h new file mode 100644 index 000000000..719ef3d0b --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/SetDNSSLBStatusRequest.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_SETDNSSLBSTATUSREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_SETDNSSLBSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT SetDNSSLBStatusRequest : public RpcServiceRequest + { + + public: + SetDNSSLBStatusRequest(); + ~SetDNSSLBStatusRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getSubDomain()const; + void setSubDomain(const std::string& subDomain); + std::string getLang()const; + void setLang(const std::string& lang); + bool getOpen()const; + void setOpen(bool open); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string userClientIp_; + std::string subDomain_; + std::string lang_; + bool open_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_SETDNSSLBSTATUSREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/SetDNSSLBStatusResult.h b/alidns/include/alibabacloud/alidns/model/SetDNSSLBStatusResult.h new file mode 100644 index 000000000..da19a62d2 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/SetDNSSLBStatusResult.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_SETDNSSLBSTATUSRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_SETDNSSLBSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT SetDNSSLBStatusResult : public ServiceResult + { + public: + + + SetDNSSLBStatusResult(); + explicit SetDNSSLBStatusResult(const std::string &payload); + ~SetDNSSLBStatusResult(); + long getRecordCount()const; + bool getOpen()const; + + protected: + void parse(const std::string &payload); + private: + long recordCount_; + bool open_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_SETDNSSLBSTATUSRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/SetDomainRecordStatusRequest.h b/alidns/include/alibabacloud/alidns/model/SetDomainRecordStatusRequest.h new file mode 100644 index 000000000..fc1238d46 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/SetDomainRecordStatusRequest.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_SETDOMAINRECORDSTATUSREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_SETDOMAINRECORDSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT SetDomainRecordStatusRequest : public RpcServiceRequest + { + + public: + SetDomainRecordStatusRequest(); + ~SetDomainRecordStatusRequest(); + + std::string getRecordId()const; + void setRecordId(const std::string& recordId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string recordId_; + std::string userClientIp_; + std::string lang_; + std::string accessKeyId_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_SETDOMAINRECORDSTATUSREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/SetDomainRecordStatusResult.h b/alidns/include/alibabacloud/alidns/model/SetDomainRecordStatusResult.h new file mode 100644 index 000000000..aa6882dba --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/SetDomainRecordStatusResult.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_SETDOMAINRECORDSTATUSRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_SETDOMAINRECORDSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT SetDomainRecordStatusResult : public ServiceResult + { + public: + + + SetDomainRecordStatusResult(); + explicit SetDomainRecordStatusResult(const std::string &payload); + ~SetDomainRecordStatusResult(); + std::string getStatus()const; + std::string getRecordId()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + std::string recordId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_SETDOMAINRECORDSTATUSRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/SetGtmAccessModeRequest.h b/alidns/include/alibabacloud/alidns/model/SetGtmAccessModeRequest.h new file mode 100644 index 000000000..cfeecd40a --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/SetGtmAccessModeRequest.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_SETGTMACCESSMODEREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_SETGTMACCESSMODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT SetGtmAccessModeRequest : public RpcServiceRequest + { + + public: + SetGtmAccessModeRequest(); + ~SetGtmAccessModeRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getStrategyId()const; + void setStrategyId(const std::string& strategyId); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getAccessMode()const; + void setAccessMode(const std::string& accessMode); + + private: + std::string userClientIp_; + std::string strategyId_; + std::string lang_; + std::string accessMode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_SETGTMACCESSMODEREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/SetGtmAccessModeResult.h b/alidns/include/alibabacloud/alidns/model/SetGtmAccessModeResult.h new file mode 100644 index 000000000..507997896 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/SetGtmAccessModeResult.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_SETGTMACCESSMODERESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_SETGTMACCESSMODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT SetGtmAccessModeResult : public ServiceResult + { + public: + + + SetGtmAccessModeResult(); + explicit SetGtmAccessModeResult(const std::string &payload); + ~SetGtmAccessModeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_SETGTMACCESSMODERESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/SetGtmMonitorStatusRequest.h b/alidns/include/alibabacloud/alidns/model/SetGtmMonitorStatusRequest.h new file mode 100644 index 000000000..5e6eb17df --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/SetGtmMonitorStatusRequest.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_SETGTMMONITORSTATUSREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_SETGTMMONITORSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT SetGtmMonitorStatusRequest : public RpcServiceRequest + { + + public: + SetGtmMonitorStatusRequest(); + ~SetGtmMonitorStatusRequest(); + + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getMonitorConfigId()const; + void setMonitorConfigId(const std::string& monitorConfigId); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string userClientIp_; + std::string monitorConfigId_; + std::string lang_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_SETGTMMONITORSTATUSREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/SetGtmMonitorStatusResult.h b/alidns/include/alibabacloud/alidns/model/SetGtmMonitorStatusResult.h new file mode 100644 index 000000000..a5caa1f8c --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/SetGtmMonitorStatusResult.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_SETGTMMONITORSTATUSRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_SETGTMMONITORSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT SetGtmMonitorStatusResult : public ServiceResult + { + public: + + + SetGtmMonitorStatusResult(); + explicit SetGtmMonitorStatusResult(const std::string &payload); + ~SetGtmMonitorStatusResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_SETGTMMONITORSTATUSRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/UpdateDNSSLBWeightRequest.h b/alidns/include/alibabacloud/alidns/model/UpdateDNSSLBWeightRequest.h new file mode 100644 index 000000000..c42c13072 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/UpdateDNSSLBWeightRequest.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_UPDATEDNSSLBWEIGHTREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEDNSSLBWEIGHTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT UpdateDNSSLBWeightRequest : public RpcServiceRequest + { + + public: + UpdateDNSSLBWeightRequest(); + ~UpdateDNSSLBWeightRequest(); + + std::string getRecordId()const; + void setRecordId(const std::string& recordId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + int getWeight()const; + void setWeight(int weight); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string recordId_; + std::string userClientIp_; + int weight_; + std::string lang_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEDNSSLBWEIGHTREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/UpdateDNSSLBWeightResult.h b/alidns/include/alibabacloud/alidns/model/UpdateDNSSLBWeightResult.h new file mode 100644 index 000000000..7835a4b47 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/UpdateDNSSLBWeightResult.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_UPDATEDNSSLBWEIGHTRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEDNSSLBWEIGHTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT UpdateDNSSLBWeightResult : public ServiceResult + { + public: + + + UpdateDNSSLBWeightResult(); + explicit UpdateDNSSLBWeightResult(const std::string &payload); + ~UpdateDNSSLBWeightResult(); + std::string getRecordId()const; + int getWeight()const; + + protected: + void parse(const std::string &payload); + private: + std::string recordId_; + int weight_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEDNSSLBWEIGHTRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/UpdateDomainGroupRequest.h b/alidns/include/alibabacloud/alidns/model/UpdateDomainGroupRequest.h new file mode 100644 index 000000000..49992c7bc --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/UpdateDomainGroupRequest.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_UPDATEDOMAINGROUPREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT UpdateDomainGroupRequest : public RpcServiceRequest + { + + public: + UpdateDomainGroupRequest(); + ~UpdateDomainGroupRequest(); + + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getGroupName()const; + void setGroupName(const std::string& groupName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string groupId_; + std::string userClientIp_; + std::string lang_; + std::string groupName_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINGROUPREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/UpdateDomainGroupResult.h b/alidns/include/alibabacloud/alidns/model/UpdateDomainGroupResult.h new file mode 100644 index 000000000..898354945 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/UpdateDomainGroupResult.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_UPDATEDOMAINGROUPRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT UpdateDomainGroupResult : public ServiceResult + { + public: + + + UpdateDomainGroupResult(); + explicit UpdateDomainGroupResult(const std::string &payload); + ~UpdateDomainGroupResult(); + std::string getGroupName()const; + std::string getGroupId()const; + + protected: + void parse(const std::string &payload); + private: + std::string groupName_; + std::string groupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINGROUPRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/UpdateDomainRecordRequest.h b/alidns/include/alibabacloud/alidns/model/UpdateDomainRecordRequest.h new file mode 100644 index 000000000..f2864ddf7 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/UpdateDomainRecordRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINRECORDREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINRECORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT UpdateDomainRecordRequest : public RpcServiceRequest + { + + public: + UpdateDomainRecordRequest(); + ~UpdateDomainRecordRequest(); + + std::string getRecordId()const; + void setRecordId(const std::string& recordId); + std::string getRR()const; + void setRR(const std::string& rR); + std::string getLine()const; + void setLine(const std::string& line); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + long getPriority()const; + void setPriority(long priority); + std::string getValue()const; + void setValue(const std::string& value); + long getTTL()const; + void setTTL(long tTL); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string recordId_; + std::string rR_; + std::string line_; + std::string userClientIp_; + std::string lang_; + std::string type_; + long priority_; + std::string value_; + long tTL_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINRECORDREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/UpdateDomainRecordResult.h b/alidns/include/alibabacloud/alidns/model/UpdateDomainRecordResult.h new file mode 100644 index 000000000..eb6b3d3b6 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/UpdateDomainRecordResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINRECORDRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINRECORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT UpdateDomainRecordResult : public ServiceResult + { + public: + + + UpdateDomainRecordResult(); + explicit UpdateDomainRecordResult(const std::string &payload); + ~UpdateDomainRecordResult(); + std::string getRecordId()const; + + protected: + void parse(const std::string &payload); + private: + std::string recordId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINRECORDRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/UpdateGtmAccessStrategyRequest.h b/alidns/include/alibabacloud/alidns/model/UpdateGtmAccessStrategyRequest.h new file mode 100644 index 000000000..ff8673d7d --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/UpdateGtmAccessStrategyRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMACCESSSTRATEGYREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMACCESSSTRATEGYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT UpdateGtmAccessStrategyRequest : public RpcServiceRequest + { + + public: + UpdateGtmAccessStrategyRequest(); + ~UpdateGtmAccessStrategyRequest(); + + std::string getStrategyName()const; + void setStrategyName(const std::string& strategyName); + std::string getDefaultAddrPoolId()const; + void setDefaultAddrPoolId(const std::string& defaultAddrPoolId); + std::string getAccessLines()const; + void setAccessLines(const std::string& accessLines); + std::string getFailoverAddrPoolId()const; + void setFailoverAddrPoolId(const std::string& failoverAddrPoolId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getStrategyId()const; + void setStrategyId(const std::string& strategyId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string strategyName_; + std::string defaultAddrPoolId_; + std::string accessLines_; + std::string failoverAddrPoolId_; + std::string userClientIp_; + std::string strategyId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMACCESSSTRATEGYREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/UpdateGtmAccessStrategyResult.h b/alidns/include/alibabacloud/alidns/model/UpdateGtmAccessStrategyResult.h new file mode 100644 index 000000000..5fb21528a --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/UpdateGtmAccessStrategyResult.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_UPDATEGTMACCESSSTRATEGYRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMACCESSSTRATEGYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT UpdateGtmAccessStrategyResult : public ServiceResult + { + public: + + + UpdateGtmAccessStrategyResult(); + explicit UpdateGtmAccessStrategyResult(const std::string &payload); + ~UpdateGtmAccessStrategyResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMACCESSSTRATEGYRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/UpdateGtmAddressPoolRequest.h b/alidns/include/alibabacloud/alidns/model/UpdateGtmAddressPoolRequest.h new file mode 100644 index 000000000..fbc98cc90 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/UpdateGtmAddressPoolRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMADDRESSPOOLREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMADDRESSPOOLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT UpdateGtmAddressPoolRequest : public RpcServiceRequest + { + struct Addr + { + std::string mode; + int lbaWeight; + std::string value; + }; + + public: + UpdateGtmAddressPoolRequest(); + ~UpdateGtmAddressPoolRequest(); + + std::string getAddrPoolId()const; + void setAddrPoolId(const std::string& addrPoolId); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getName()const; + void setName(const std::string& name); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + std::vector getAddr()const; + void setAddr(const std::vector& addr); + int getMinAvailableAddrNum()const; + void setMinAvailableAddrNum(int minAvailableAddrNum); + + private: + std::string addrPoolId_; + std::string userClientIp_; + std::string name_; + std::string lang_; + std::string type_; + std::vector addr_; + int minAvailableAddrNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMADDRESSPOOLREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/UpdateGtmAddressPoolResult.h b/alidns/include/alibabacloud/alidns/model/UpdateGtmAddressPoolResult.h new file mode 100644 index 000000000..61a04e325 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/UpdateGtmAddressPoolResult.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_UPDATEGTMADDRESSPOOLRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMADDRESSPOOLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT UpdateGtmAddressPoolResult : public ServiceResult + { + public: + + + UpdateGtmAddressPoolResult(); + explicit UpdateGtmAddressPoolResult(const std::string &payload); + ~UpdateGtmAddressPoolResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMADDRESSPOOLRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/UpdateGtmInstanceGlobalConfigRequest.h b/alidns/include/alibabacloud/alidns/model/UpdateGtmInstanceGlobalConfigRequest.h new file mode 100644 index 000000000..626687e29 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/UpdateGtmInstanceGlobalConfigRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMINSTANCEGLOBALCONFIGREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMINSTANCEGLOBALCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT UpdateGtmInstanceGlobalConfigRequest : public RpcServiceRequest + { + + public: + UpdateGtmInstanceGlobalConfigRequest(); + ~UpdateGtmInstanceGlobalConfigRequest(); + + std::string getAlertGroup()const; + void setAlertGroup(const std::string& alertGroup); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getInstanceName()const; + void setInstanceName(const std::string& instanceName); + std::string getUserDomainName()const; + void setUserDomainName(const std::string& userDomainName); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getLbaStrategy()const; + void setLbaStrategy(const std::string& lbaStrategy); + std::string getLang()const; + void setLang(const std::string& lang); + int getTtl()const; + void setTtl(int ttl); + + private: + std::string alertGroup_; + std::string instanceId_; + std::string instanceName_; + std::string userDomainName_; + std::string userClientIp_; + std::string lbaStrategy_; + std::string lang_; + int ttl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMINSTANCEGLOBALCONFIGREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/UpdateGtmInstanceGlobalConfigResult.h b/alidns/include/alibabacloud/alidns/model/UpdateGtmInstanceGlobalConfigResult.h new file mode 100644 index 000000000..93bb87622 --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/UpdateGtmInstanceGlobalConfigResult.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_UPDATEGTMINSTANCEGLOBALCONFIGRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMINSTANCEGLOBALCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT UpdateGtmInstanceGlobalConfigResult : public ServiceResult + { + public: + + + UpdateGtmInstanceGlobalConfigResult(); + explicit UpdateGtmInstanceGlobalConfigResult(const std::string &payload); + ~UpdateGtmInstanceGlobalConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMINSTANCEGLOBALCONFIGRESULT_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/UpdateGtmMonitorRequest.h b/alidns/include/alibabacloud/alidns/model/UpdateGtmMonitorRequest.h new file mode 100644 index 000000000..f6072eabd --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/UpdateGtmMonitorRequest.h @@ -0,0 +1,80 @@ +/* + * 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_UPDATEGTMMONITORREQUEST_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMMONITORREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT UpdateGtmMonitorRequest : public RpcServiceRequest + { + struct IspCityNode + { + std::string cityCode; + std::string ispCode; + }; + + public: + UpdateGtmMonitorRequest(); + ~UpdateGtmMonitorRequest(); + + std::string getMonitorExtendInfo()const; + void setMonitorExtendInfo(const std::string& monitorExtendInfo); + std::string getUserClientIp()const; + void setUserClientIp(const std::string& userClientIp); + std::string getName()const; + void setName(const std::string& name); + std::string getMonitorConfigId()const; + void setMonitorConfigId(const std::string& monitorConfigId); + int getEvaluationCount()const; + void setEvaluationCount(int evaluationCount); + std::string getProtocolType()const; + void setProtocolType(const std::string& protocolType); + int getInterval()const; + void setInterval(int interval); + std::string getLang()const; + void setLang(const std::string& lang); + int getTimeout()const; + void setTimeout(int timeout); + std::vector getIspCityNode()const; + void setIspCityNode(const std::vector& ispCityNode); + + private: + std::string monitorExtendInfo_; + std::string userClientIp_; + std::string name_; + std::string monitorConfigId_; + int evaluationCount_; + std::string protocolType_; + int interval_; + std::string lang_; + int timeout_; + std::vector ispCityNode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMMONITORREQUEST_H_ \ No newline at end of file diff --git a/alidns/include/alibabacloud/alidns/model/UpdateGtmMonitorResult.h b/alidns/include/alibabacloud/alidns/model/UpdateGtmMonitorResult.h new file mode 100644 index 000000000..2342ef33f --- /dev/null +++ b/alidns/include/alibabacloud/alidns/model/UpdateGtmMonitorResult.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_UPDATEGTMMONITORRESULT_H_ +#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMMONITORRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alidns + { + namespace Model + { + class ALIBABACLOUD_ALIDNS_EXPORT UpdateGtmMonitorResult : public ServiceResult + { + public: + + + UpdateGtmMonitorResult(); + explicit UpdateGtmMonitorResult(const std::string &payload); + ~UpdateGtmMonitorResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEGTMMONITORRESULT_H_ \ No newline at end of file diff --git a/alidns/src/AlidnsClient.cc b/alidns/src/AlidnsClient.cc new file mode 100644 index 000000000..9f06c23ee --- /dev/null +++ b/alidns/src/AlidnsClient.cc @@ -0,0 +1,2141 @@ +/* + * 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 +#include + +using namespace AlibabaCloud; +using namespace AlibabaCloud::Location; +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +namespace +{ + const std::string SERVICE_NAME = "Alidns"; +} + +AlidnsClient::AlidnsClient(const Credentials &credentials, const ClientConfiguration &configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) +{ + auto locationClient = std::make_shared(credentials, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "alidns"); +} + +AlidnsClient::AlidnsClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) +{ + auto locationClient = std::make_shared(credentialsProvider, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "alidns"); +} + +AlidnsClient::AlidnsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) +{ + auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "alidns"); +} + +AlidnsClient::~AlidnsClient() +{} + +AlidnsClient::DescribeDNSSLBSubDomainsOutcome AlidnsClient::describeDNSSLBSubDomains(const DescribeDNSSLBSubDomainsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDNSSLBSubDomainsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDNSSLBSubDomainsOutcome(DescribeDNSSLBSubDomainsResult(outcome.result())); + else + return DescribeDNSSLBSubDomainsOutcome(outcome.error()); +} + +void AlidnsClient::describeDNSSLBSubDomainsAsync(const DescribeDNSSLBSubDomainsRequest& request, const DescribeDNSSLBSubDomainsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDNSSLBSubDomains(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeDNSSLBSubDomainsOutcomeCallable AlidnsClient::describeDNSSLBSubDomainsCallable(const DescribeDNSSLBSubDomainsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDNSSLBSubDomains(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::SetGtmAccessModeOutcome AlidnsClient::setGtmAccessMode(const SetGtmAccessModeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetGtmAccessModeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetGtmAccessModeOutcome(SetGtmAccessModeResult(outcome.result())); + else + return SetGtmAccessModeOutcome(outcome.error()); +} + +void AlidnsClient::setGtmAccessModeAsync(const SetGtmAccessModeRequest& request, const SetGtmAccessModeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setGtmAccessMode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::SetGtmAccessModeOutcomeCallable AlidnsClient::setGtmAccessModeCallable(const SetGtmAccessModeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setGtmAccessMode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::ModifyHichinaDomainDNSOutcome AlidnsClient::modifyHichinaDomainDNS(const ModifyHichinaDomainDNSRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyHichinaDomainDNSOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyHichinaDomainDNSOutcome(ModifyHichinaDomainDNSResult(outcome.result())); + else + return ModifyHichinaDomainDNSOutcome(outcome.error()); +} + +void AlidnsClient::modifyHichinaDomainDNSAsync(const ModifyHichinaDomainDNSRequest& request, const ModifyHichinaDomainDNSAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyHichinaDomainDNS(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::ModifyHichinaDomainDNSOutcomeCallable AlidnsClient::modifyHichinaDomainDNSCallable(const ModifyHichinaDomainDNSRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyHichinaDomainDNS(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::CreateInstanceOutcome AlidnsClient::createInstance(const CreateInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateInstanceOutcome(CreateInstanceResult(outcome.result())); + else + return CreateInstanceOutcome(outcome.error()); +} + +void AlidnsClient::createInstanceAsync(const CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::CreateInstanceOutcomeCallable AlidnsClient::createInstanceCallable(const CreateInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeSubDomainRecordsOutcome AlidnsClient::describeSubDomainRecords(const DescribeSubDomainRecordsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSubDomainRecordsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSubDomainRecordsOutcome(DescribeSubDomainRecordsResult(outcome.result())); + else + return DescribeSubDomainRecordsOutcome(outcome.error()); +} + +void AlidnsClient::describeSubDomainRecordsAsync(const DescribeSubDomainRecordsRequest& request, const DescribeSubDomainRecordsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSubDomainRecords(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeSubDomainRecordsOutcomeCallable AlidnsClient::describeSubDomainRecordsCallable(const DescribeSubDomainRecordsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSubDomainRecords(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeRecordLogsOutcome AlidnsClient::describeRecordLogs(const DescribeRecordLogsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRecordLogsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRecordLogsOutcome(DescribeRecordLogsResult(outcome.result())); + else + return DescribeRecordLogsOutcome(outcome.error()); +} + +void AlidnsClient::describeRecordLogsAsync(const DescribeRecordLogsRequest& request, const DescribeRecordLogsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRecordLogs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeRecordLogsOutcomeCallable AlidnsClient::describeRecordLogsCallable(const DescribeRecordLogsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRecordLogs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeBatchResultCountOutcome AlidnsClient::describeBatchResultCount(const DescribeBatchResultCountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBatchResultCountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBatchResultCountOutcome(DescribeBatchResultCountResult(outcome.result())); + else + return DescribeBatchResultCountOutcome(outcome.error()); +} + +void AlidnsClient::describeBatchResultCountAsync(const DescribeBatchResultCountRequest& request, const DescribeBatchResultCountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBatchResultCount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeBatchResultCountOutcomeCallable AlidnsClient::describeBatchResultCountCallable(const DescribeBatchResultCountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBatchResultCount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeGtmInstancesOutcome AlidnsClient::describeGtmInstances(const DescribeGtmInstancesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGtmInstancesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGtmInstancesOutcome(DescribeGtmInstancesResult(outcome.result())); + else + return DescribeGtmInstancesOutcome(outcome.error()); +} + +void AlidnsClient::describeGtmInstancesAsync(const DescribeGtmInstancesRequest& request, const DescribeGtmInstancesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGtmInstances(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeGtmInstancesOutcomeCallable AlidnsClient::describeGtmInstancesCallable(const DescribeGtmInstancesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGtmInstances(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::UpdateGtmAddressPoolOutcome AlidnsClient::updateGtmAddressPool(const UpdateGtmAddressPoolRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateGtmAddressPoolOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateGtmAddressPoolOutcome(UpdateGtmAddressPoolResult(outcome.result())); + else + return UpdateGtmAddressPoolOutcome(outcome.error()); +} + +void AlidnsClient::updateGtmAddressPoolAsync(const UpdateGtmAddressPoolRequest& request, const UpdateGtmAddressPoolAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateGtmAddressPool(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::UpdateGtmAddressPoolOutcomeCallable AlidnsClient::updateGtmAddressPoolCallable(const UpdateGtmAddressPoolRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateGtmAddressPool(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeGtmAccessStrategiesOutcome AlidnsClient::describeGtmAccessStrategies(const DescribeGtmAccessStrategiesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGtmAccessStrategiesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGtmAccessStrategiesOutcome(DescribeGtmAccessStrategiesResult(outcome.result())); + else + return DescribeGtmAccessStrategiesOutcome(outcome.error()); +} + +void AlidnsClient::describeGtmAccessStrategiesAsync(const DescribeGtmAccessStrategiesRequest& request, const DescribeGtmAccessStrategiesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGtmAccessStrategies(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeGtmAccessStrategiesOutcomeCallable AlidnsClient::describeGtmAccessStrategiesCallable(const DescribeGtmAccessStrategiesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGtmAccessStrategies(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::UpdateGtmInstanceGlobalConfigOutcome AlidnsClient::updateGtmInstanceGlobalConfig(const UpdateGtmInstanceGlobalConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateGtmInstanceGlobalConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateGtmInstanceGlobalConfigOutcome(UpdateGtmInstanceGlobalConfigResult(outcome.result())); + else + return UpdateGtmInstanceGlobalConfigOutcome(outcome.error()); +} + +void AlidnsClient::updateGtmInstanceGlobalConfigAsync(const UpdateGtmInstanceGlobalConfigRequest& request, const UpdateGtmInstanceGlobalConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateGtmInstanceGlobalConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::UpdateGtmInstanceGlobalConfigOutcomeCallable AlidnsClient::updateGtmInstanceGlobalConfigCallable(const UpdateGtmInstanceGlobalConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateGtmInstanceGlobalConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::UpdateDomainRecordOutcome AlidnsClient::updateDomainRecord(const UpdateDomainRecordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateDomainRecordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateDomainRecordOutcome(UpdateDomainRecordResult(outcome.result())); + else + return UpdateDomainRecordOutcome(outcome.error()); +} + +void AlidnsClient::updateDomainRecordAsync(const UpdateDomainRecordRequest& request, const UpdateDomainRecordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateDomainRecord(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::UpdateDomainRecordOutcomeCallable AlidnsClient::updateDomainRecordCallable(const UpdateDomainRecordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateDomainRecord(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeDomainGroupsOutcome AlidnsClient::describeDomainGroups(const DescribeDomainGroupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainGroupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainGroupsOutcome(DescribeDomainGroupsResult(outcome.result())); + else + return DescribeDomainGroupsOutcome(outcome.error()); +} + +void AlidnsClient::describeDomainGroupsAsync(const DescribeDomainGroupsRequest& request, const DescribeDomainGroupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainGroups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeDomainGroupsOutcomeCallable AlidnsClient::describeDomainGroupsCallable(const DescribeDomainGroupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainGroups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::UpdateGtmAccessStrategyOutcome AlidnsClient::updateGtmAccessStrategy(const UpdateGtmAccessStrategyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateGtmAccessStrategyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateGtmAccessStrategyOutcome(UpdateGtmAccessStrategyResult(outcome.result())); + else + return UpdateGtmAccessStrategyOutcome(outcome.error()); +} + +void AlidnsClient::updateGtmAccessStrategyAsync(const UpdateGtmAccessStrategyRequest& request, const UpdateGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateGtmAccessStrategy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::UpdateGtmAccessStrategyOutcomeCallable AlidnsClient::updateGtmAccessStrategyCallable(const UpdateGtmAccessStrategyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateGtmAccessStrategy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DeleteDomainRecordOutcome AlidnsClient::deleteDomainRecord(const DeleteDomainRecordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDomainRecordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDomainRecordOutcome(DeleteDomainRecordResult(outcome.result())); + else + return DeleteDomainRecordOutcome(outcome.error()); +} + +void AlidnsClient::deleteDomainRecordAsync(const DeleteDomainRecordRequest& request, const DeleteDomainRecordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDomainRecord(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DeleteDomainRecordOutcomeCallable AlidnsClient::deleteDomainRecordCallable(const DeleteDomainRecordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDomainRecord(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeDomainRecordsOutcome AlidnsClient::describeDomainRecords(const DescribeDomainRecordsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainRecordsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainRecordsOutcome(DescribeDomainRecordsResult(outcome.result())); + else + return DescribeDomainRecordsOutcome(outcome.error()); +} + +void AlidnsClient::describeDomainRecordsAsync(const DescribeDomainRecordsRequest& request, const DescribeDomainRecordsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainRecords(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeDomainRecordsOutcomeCallable AlidnsClient::describeDomainRecordsCallable(const DescribeDomainRecordsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainRecords(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeDomainRecordInfoOutcome AlidnsClient::describeDomainRecordInfo(const DescribeDomainRecordInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainRecordInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainRecordInfoOutcome(DescribeDomainRecordInfoResult(outcome.result())); + else + return DescribeDomainRecordInfoOutcome(outcome.error()); +} + +void AlidnsClient::describeDomainRecordInfoAsync(const DescribeDomainRecordInfoRequest& request, const DescribeDomainRecordInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainRecordInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeDomainRecordInfoOutcomeCallable AlidnsClient::describeDomainRecordInfoCallable(const DescribeDomainRecordInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainRecordInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::AddDomainOutcome AlidnsClient::addDomain(const AddDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddDomainOutcome(AddDomainResult(outcome.result())); + else + return AddDomainOutcome(outcome.error()); +} + +void AlidnsClient::addDomainAsync(const AddDomainRequest& request, const AddDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::AddDomainOutcomeCallable AlidnsClient::addDomainCallable(const AddDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeGtmInstanceAddressPoolOutcome AlidnsClient::describeGtmInstanceAddressPool(const DescribeGtmInstanceAddressPoolRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGtmInstanceAddressPoolOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGtmInstanceAddressPoolOutcome(DescribeGtmInstanceAddressPoolResult(outcome.result())); + else + return DescribeGtmInstanceAddressPoolOutcome(outcome.error()); +} + +void AlidnsClient::describeGtmInstanceAddressPoolAsync(const DescribeGtmInstanceAddressPoolRequest& request, const DescribeGtmInstanceAddressPoolAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGtmInstanceAddressPool(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeGtmInstanceAddressPoolOutcomeCallable AlidnsClient::describeGtmInstanceAddressPoolCallable(const DescribeGtmInstanceAddressPoolRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGtmInstanceAddressPool(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::UpdateDNSSLBWeightOutcome AlidnsClient::updateDNSSLBWeight(const UpdateDNSSLBWeightRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateDNSSLBWeightOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateDNSSLBWeightOutcome(UpdateDNSSLBWeightResult(outcome.result())); + else + return UpdateDNSSLBWeightOutcome(outcome.error()); +} + +void AlidnsClient::updateDNSSLBWeightAsync(const UpdateDNSSLBWeightRequest& request, const UpdateDNSSLBWeightAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateDNSSLBWeight(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::UpdateDNSSLBWeightOutcomeCallable AlidnsClient::updateDNSSLBWeightCallable(const UpdateDNSSLBWeightRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateDNSSLBWeight(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeBatchResultDetailOutcome AlidnsClient::describeBatchResultDetail(const DescribeBatchResultDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBatchResultDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBatchResultDetailOutcome(DescribeBatchResultDetailResult(outcome.result())); + else + return DescribeBatchResultDetailOutcome(outcome.error()); +} + +void AlidnsClient::describeBatchResultDetailAsync(const DescribeBatchResultDetailRequest& request, const DescribeBatchResultDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBatchResultDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeBatchResultDetailOutcomeCallable AlidnsClient::describeBatchResultDetailCallable(const DescribeBatchResultDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBatchResultDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::SetDomainRecordStatusOutcome AlidnsClient::setDomainRecordStatus(const SetDomainRecordStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDomainRecordStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDomainRecordStatusOutcome(SetDomainRecordStatusResult(outcome.result())); + else + return SetDomainRecordStatusOutcome(outcome.error()); +} + +void AlidnsClient::setDomainRecordStatusAsync(const SetDomainRecordStatusRequest& request, const SetDomainRecordStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setDomainRecordStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::SetDomainRecordStatusOutcomeCallable AlidnsClient::setDomainRecordStatusCallable(const SetDomainRecordStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setDomainRecordStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::UpdateDomainGroupOutcome AlidnsClient::updateDomainGroup(const UpdateDomainGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateDomainGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateDomainGroupOutcome(UpdateDomainGroupResult(outcome.result())); + else + return UpdateDomainGroupOutcome(outcome.error()); +} + +void AlidnsClient::updateDomainGroupAsync(const UpdateDomainGroupRequest& request, const UpdateDomainGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateDomainGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::UpdateDomainGroupOutcomeCallable AlidnsClient::updateDomainGroupCallable(const UpdateDomainGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateDomainGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeDnsProductInstancesOutcome AlidnsClient::describeDnsProductInstances(const DescribeDnsProductInstancesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDnsProductInstancesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDnsProductInstancesOutcome(DescribeDnsProductInstancesResult(outcome.result())); + else + return DescribeDnsProductInstancesOutcome(outcome.error()); +} + +void AlidnsClient::describeDnsProductInstancesAsync(const DescribeDnsProductInstancesRequest& request, const DescribeDnsProductInstancesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDnsProductInstances(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeDnsProductInstancesOutcomeCallable AlidnsClient::describeDnsProductInstancesCallable(const DescribeDnsProductInstancesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDnsProductInstances(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::SetGtmMonitorStatusOutcome AlidnsClient::setGtmMonitorStatus(const SetGtmMonitorStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetGtmMonitorStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetGtmMonitorStatusOutcome(SetGtmMonitorStatusResult(outcome.result())); + else + return SetGtmMonitorStatusOutcome(outcome.error()); +} + +void AlidnsClient::setGtmMonitorStatusAsync(const SetGtmMonitorStatusRequest& request, const SetGtmMonitorStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setGtmMonitorStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::SetGtmMonitorStatusOutcomeCallable AlidnsClient::setGtmMonitorStatusCallable(const SetGtmMonitorStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setGtmMonitorStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeDnsProductInstanceOutcome AlidnsClient::describeDnsProductInstance(const DescribeDnsProductInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDnsProductInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDnsProductInstanceOutcome(DescribeDnsProductInstanceResult(outcome.result())); + else + return DescribeDnsProductInstanceOutcome(outcome.error()); +} + +void AlidnsClient::describeDnsProductInstanceAsync(const DescribeDnsProductInstanceRequest& request, const DescribeDnsProductInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDnsProductInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeDnsProductInstanceOutcomeCallable AlidnsClient::describeDnsProductInstanceCallable(const DescribeDnsProductInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDnsProductInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeGtmLogsOutcome AlidnsClient::describeGtmLogs(const DescribeGtmLogsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGtmLogsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGtmLogsOutcome(DescribeGtmLogsResult(outcome.result())); + else + return DescribeGtmLogsOutcome(outcome.error()); +} + +void AlidnsClient::describeGtmLogsAsync(const DescribeGtmLogsRequest& request, const DescribeGtmLogsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGtmLogs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeGtmLogsOutcomeCallable AlidnsClient::describeGtmLogsCallable(const DescribeGtmLogsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGtmLogs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::OperateBatchDomainOutcome AlidnsClient::operateBatchDomain(const OperateBatchDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return OperateBatchDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return OperateBatchDomainOutcome(OperateBatchDomainResult(outcome.result())); + else + return OperateBatchDomainOutcome(outcome.error()); +} + +void AlidnsClient::operateBatchDomainAsync(const OperateBatchDomainRequest& request, const OperateBatchDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, operateBatchDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::OperateBatchDomainOutcomeCallable AlidnsClient::operateBatchDomainCallable(const OperateBatchDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->operateBatchDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DeleteDomainGroupOutcome AlidnsClient::deleteDomainGroup(const DeleteDomainGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDomainGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDomainGroupOutcome(DeleteDomainGroupResult(outcome.result())); + else + return DeleteDomainGroupOutcome(outcome.error()); +} + +void AlidnsClient::deleteDomainGroupAsync(const DeleteDomainGroupRequest& request, const DeleteDomainGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDomainGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DeleteDomainGroupOutcomeCallable AlidnsClient::deleteDomainGroupCallable(const DeleteDomainGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDomainGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeDomainLogsOutcome AlidnsClient::describeDomainLogs(const DescribeDomainLogsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainLogsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainLogsOutcome(DescribeDomainLogsResult(outcome.result())); + else + return DescribeDomainLogsOutcome(outcome.error()); +} + +void AlidnsClient::describeDomainLogsAsync(const DescribeDomainLogsRequest& request, const DescribeDomainLogsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainLogs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeDomainLogsOutcomeCallable AlidnsClient::describeDomainLogsCallable(const DescribeDomainLogsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainLogs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::AddGtmMonitorOutcome AlidnsClient::addGtmMonitor(const AddGtmMonitorRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddGtmMonitorOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddGtmMonitorOutcome(AddGtmMonitorResult(outcome.result())); + else + return AddGtmMonitorOutcome(outcome.error()); +} + +void AlidnsClient::addGtmMonitorAsync(const AddGtmMonitorRequest& request, const AddGtmMonitorAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addGtmMonitor(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::AddGtmMonitorOutcomeCallable AlidnsClient::addGtmMonitorCallable(const AddGtmMonitorRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addGtmMonitor(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeDomainsOutcome AlidnsClient::describeDomains(const DescribeDomainsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainsOutcome(DescribeDomainsResult(outcome.result())); + else + return DescribeDomainsOutcome(outcome.error()); +} + +void AlidnsClient::describeDomainsAsync(const DescribeDomainsRequest& request, const DescribeDomainsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomains(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeDomainsOutcomeCallable AlidnsClient::describeDomainsCallable(const DescribeDomainsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomains(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeGtmInstanceStatusOutcome AlidnsClient::describeGtmInstanceStatus(const DescribeGtmInstanceStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGtmInstanceStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGtmInstanceStatusOutcome(DescribeGtmInstanceStatusResult(outcome.result())); + else + return DescribeGtmInstanceStatusOutcome(outcome.error()); +} + +void AlidnsClient::describeGtmInstanceStatusAsync(const DescribeGtmInstanceStatusRequest& request, const DescribeGtmInstanceStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGtmInstanceStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeGtmInstanceStatusOutcomeCallable AlidnsClient::describeGtmInstanceStatusCallable(const DescribeGtmInstanceStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGtmInstanceStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeGtmInstanceOutcome AlidnsClient::describeGtmInstance(const DescribeGtmInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGtmInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGtmInstanceOutcome(DescribeGtmInstanceResult(outcome.result())); + else + return DescribeGtmInstanceOutcome(outcome.error()); +} + +void AlidnsClient::describeGtmInstanceAsync(const DescribeGtmInstanceRequest& request, const DescribeGtmInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGtmInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeGtmInstanceOutcomeCallable AlidnsClient::describeGtmInstanceCallable(const DescribeGtmInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGtmInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeDomainInfoOutcome AlidnsClient::describeDomainInfo(const DescribeDomainInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainInfoOutcome(DescribeDomainInfoResult(outcome.result())); + else + return DescribeDomainInfoOutcome(outcome.error()); +} + +void AlidnsClient::describeDomainInfoAsync(const DescribeDomainInfoRequest& request, const DescribeDomainInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeDomainInfoOutcomeCallable AlidnsClient::describeDomainInfoCallable(const DescribeDomainInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeGtmInstanceAddressPoolsOutcome AlidnsClient::describeGtmInstanceAddressPools(const DescribeGtmInstanceAddressPoolsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGtmInstanceAddressPoolsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGtmInstanceAddressPoolsOutcome(DescribeGtmInstanceAddressPoolsResult(outcome.result())); + else + return DescribeGtmInstanceAddressPoolsOutcome(outcome.error()); +} + +void AlidnsClient::describeGtmInstanceAddressPoolsAsync(const DescribeGtmInstanceAddressPoolsRequest& request, const DescribeGtmInstanceAddressPoolsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGtmInstanceAddressPools(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeGtmInstanceAddressPoolsOutcomeCallable AlidnsClient::describeGtmInstanceAddressPoolsCallable(const DescribeGtmInstanceAddressPoolsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGtmInstanceAddressPools(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeSupportLinesOutcome AlidnsClient::describeSupportLines(const DescribeSupportLinesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSupportLinesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSupportLinesOutcome(DescribeSupportLinesResult(outcome.result())); + else + return DescribeSupportLinesOutcome(outcome.error()); +} + +void AlidnsClient::describeSupportLinesAsync(const DescribeSupportLinesRequest& request, const DescribeSupportLinesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSupportLines(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeSupportLinesOutcomeCallable AlidnsClient::describeSupportLinesCallable(const DescribeSupportLinesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSupportLines(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::AddDomainRecordOutcome AlidnsClient::addDomainRecord(const AddDomainRecordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddDomainRecordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddDomainRecordOutcome(AddDomainRecordResult(outcome.result())); + else + return AddDomainRecordOutcome(outcome.error()); +} + +void AlidnsClient::addDomainRecordAsync(const AddDomainRecordRequest& request, const AddDomainRecordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addDomainRecord(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::AddDomainRecordOutcomeCallable AlidnsClient::addDomainRecordCallable(const AddDomainRecordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addDomainRecord(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeGtmMonitorAvailableConfigOutcome AlidnsClient::describeGtmMonitorAvailableConfig(const DescribeGtmMonitorAvailableConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGtmMonitorAvailableConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGtmMonitorAvailableConfigOutcome(DescribeGtmMonitorAvailableConfigResult(outcome.result())); + else + return DescribeGtmMonitorAvailableConfigOutcome(outcome.error()); +} + +void AlidnsClient::describeGtmMonitorAvailableConfigAsync(const DescribeGtmMonitorAvailableConfigRequest& request, const DescribeGtmMonitorAvailableConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGtmMonitorAvailableConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeGtmMonitorAvailableConfigOutcomeCallable AlidnsClient::describeGtmMonitorAvailableConfigCallable(const DescribeGtmMonitorAvailableConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGtmMonitorAvailableConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DeleteGtmAddressPoolOutcome AlidnsClient::deleteGtmAddressPool(const DeleteGtmAddressPoolRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteGtmAddressPoolOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteGtmAddressPoolOutcome(DeleteGtmAddressPoolResult(outcome.result())); + else + return DeleteGtmAddressPoolOutcome(outcome.error()); +} + +void AlidnsClient::deleteGtmAddressPoolAsync(const DeleteGtmAddressPoolRequest& request, const DeleteGtmAddressPoolAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteGtmAddressPool(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DeleteGtmAddressPoolOutcomeCallable AlidnsClient::deleteGtmAddressPoolCallable(const DeleteGtmAddressPoolRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteGtmAddressPool(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::QueryCreateInstancePriceOutcome AlidnsClient::queryCreateInstancePrice(const QueryCreateInstancePriceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryCreateInstancePriceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryCreateInstancePriceOutcome(QueryCreateInstancePriceResult(outcome.result())); + else + return QueryCreateInstancePriceOutcome(outcome.error()); +} + +void AlidnsClient::queryCreateInstancePriceAsync(const QueryCreateInstancePriceRequest& request, const QueryCreateInstancePriceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryCreateInstancePrice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::QueryCreateInstancePriceOutcomeCallable AlidnsClient::queryCreateInstancePriceCallable(const QueryCreateInstancePriceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryCreateInstancePrice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::GetMainDomainNameOutcome AlidnsClient::getMainDomainName(const GetMainDomainNameRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetMainDomainNameOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetMainDomainNameOutcome(GetMainDomainNameResult(outcome.result())); + else + return GetMainDomainNameOutcome(outcome.error()); +} + +void AlidnsClient::getMainDomainNameAsync(const GetMainDomainNameRequest& request, const GetMainDomainNameAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getMainDomainName(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::GetMainDomainNameOutcomeCallable AlidnsClient::getMainDomainNameCallable(const GetMainDomainNameRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getMainDomainName(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::AddGtmAccessStrategyOutcome AlidnsClient::addGtmAccessStrategy(const AddGtmAccessStrategyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddGtmAccessStrategyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddGtmAccessStrategyOutcome(AddGtmAccessStrategyResult(outcome.result())); + else + return AddGtmAccessStrategyOutcome(outcome.error()); +} + +void AlidnsClient::addGtmAccessStrategyAsync(const AddGtmAccessStrategyRequest& request, const AddGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addGtmAccessStrategy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::AddGtmAccessStrategyOutcomeCallable AlidnsClient::addGtmAccessStrategyCallable(const AddGtmAccessStrategyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addGtmAccessStrategy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::ChangeDomainGroupOutcome AlidnsClient::changeDomainGroup(const ChangeDomainGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ChangeDomainGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ChangeDomainGroupOutcome(ChangeDomainGroupResult(outcome.result())); + else + return ChangeDomainGroupOutcome(outcome.error()); +} + +void AlidnsClient::changeDomainGroupAsync(const ChangeDomainGroupRequest& request, const ChangeDomainGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, changeDomainGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::ChangeDomainGroupOutcomeCallable AlidnsClient::changeDomainGroupCallable(const ChangeDomainGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->changeDomainGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeGtmAccessStrategyOutcome AlidnsClient::describeGtmAccessStrategy(const DescribeGtmAccessStrategyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGtmAccessStrategyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGtmAccessStrategyOutcome(DescribeGtmAccessStrategyResult(outcome.result())); + else + return DescribeGtmAccessStrategyOutcome(outcome.error()); +} + +void AlidnsClient::describeGtmAccessStrategyAsync(const DescribeGtmAccessStrategyRequest& request, const DescribeGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGtmAccessStrategy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeGtmAccessStrategyOutcomeCallable AlidnsClient::describeGtmAccessStrategyCallable(const DescribeGtmAccessStrategyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGtmAccessStrategy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::AddDomainGroupOutcome AlidnsClient::addDomainGroup(const AddDomainGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddDomainGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddDomainGroupOutcome(AddDomainGroupResult(outcome.result())); + else + return AddDomainGroupOutcome(outcome.error()); +} + +void AlidnsClient::addDomainGroupAsync(const AddDomainGroupRequest& request, const AddDomainGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addDomainGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::AddDomainGroupOutcomeCallable AlidnsClient::addDomainGroupCallable(const AddDomainGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addDomainGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::CheckDomainRecordOutcome AlidnsClient::checkDomainRecord(const CheckDomainRecordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckDomainRecordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckDomainRecordOutcome(CheckDomainRecordResult(outcome.result())); + else + return CheckDomainRecordOutcome(outcome.error()); +} + +void AlidnsClient::checkDomainRecordAsync(const CheckDomainRecordRequest& request, const CheckDomainRecordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkDomainRecord(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::CheckDomainRecordOutcomeCallable AlidnsClient::checkDomainRecordCallable(const CheckDomainRecordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkDomainRecord(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::ChangeDomainOfDnsProductOutcome AlidnsClient::changeDomainOfDnsProduct(const ChangeDomainOfDnsProductRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ChangeDomainOfDnsProductOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ChangeDomainOfDnsProductOutcome(ChangeDomainOfDnsProductResult(outcome.result())); + else + return ChangeDomainOfDnsProductOutcome(outcome.error()); +} + +void AlidnsClient::changeDomainOfDnsProductAsync(const ChangeDomainOfDnsProductRequest& request, const ChangeDomainOfDnsProductAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, changeDomainOfDnsProduct(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::ChangeDomainOfDnsProductOutcomeCallable AlidnsClient::changeDomainOfDnsProductCallable(const ChangeDomainOfDnsProductRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->changeDomainOfDnsProduct(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DeleteGtmAccessStrategyOutcome AlidnsClient::deleteGtmAccessStrategy(const DeleteGtmAccessStrategyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteGtmAccessStrategyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteGtmAccessStrategyOutcome(DeleteGtmAccessStrategyResult(outcome.result())); + else + return DeleteGtmAccessStrategyOutcome(outcome.error()); +} + +void AlidnsClient::deleteGtmAccessStrategyAsync(const DeleteGtmAccessStrategyRequest& request, const DeleteGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteGtmAccessStrategy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DeleteGtmAccessStrategyOutcomeCallable AlidnsClient::deleteGtmAccessStrategyCallable(const DeleteGtmAccessStrategyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteGtmAccessStrategy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DeleteDomainOutcome AlidnsClient::deleteDomain(const DeleteDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDomainOutcome(DeleteDomainResult(outcome.result())); + else + return DeleteDomainOutcome(outcome.error()); +} + +void AlidnsClient::deleteDomainAsync(const DeleteDomainRequest& request, const DeleteDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DeleteDomainOutcomeCallable AlidnsClient::deleteDomainCallable(const DeleteDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeGtmAvailableAlertGroupOutcome AlidnsClient::describeGtmAvailableAlertGroup(const DescribeGtmAvailableAlertGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGtmAvailableAlertGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGtmAvailableAlertGroupOutcome(DescribeGtmAvailableAlertGroupResult(outcome.result())); + else + return DescribeGtmAvailableAlertGroupOutcome(outcome.error()); +} + +void AlidnsClient::describeGtmAvailableAlertGroupAsync(const DescribeGtmAvailableAlertGroupRequest& request, const DescribeGtmAvailableAlertGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGtmAvailableAlertGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeGtmAvailableAlertGroupOutcomeCallable AlidnsClient::describeGtmAvailableAlertGroupCallable(const DescribeGtmAvailableAlertGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGtmAvailableAlertGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::AddGtmAddressPoolOutcome AlidnsClient::addGtmAddressPool(const AddGtmAddressPoolRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddGtmAddressPoolOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddGtmAddressPoolOutcome(AddGtmAddressPoolResult(outcome.result())); + else + return AddGtmAddressPoolOutcome(outcome.error()); +} + +void AlidnsClient::addGtmAddressPoolAsync(const AddGtmAddressPoolRequest& request, const AddGtmAddressPoolAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addGtmAddressPool(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::AddGtmAddressPoolOutcomeCallable AlidnsClient::addGtmAddressPoolCallable(const AddGtmAddressPoolRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addGtmAddressPool(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DeleteSubDomainRecordsOutcome AlidnsClient::deleteSubDomainRecords(const DeleteSubDomainRecordsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteSubDomainRecordsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteSubDomainRecordsOutcome(DeleteSubDomainRecordsResult(outcome.result())); + else + return DeleteSubDomainRecordsOutcome(outcome.error()); +} + +void AlidnsClient::deleteSubDomainRecordsAsync(const DeleteSubDomainRecordsRequest& request, const DeleteSubDomainRecordsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteSubDomainRecords(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DeleteSubDomainRecordsOutcomeCallable AlidnsClient::deleteSubDomainRecordsCallable(const DeleteSubDomainRecordsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteSubDomainRecords(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::UpdateGtmMonitorOutcome AlidnsClient::updateGtmMonitor(const UpdateGtmMonitorRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateGtmMonitorOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateGtmMonitorOutcome(UpdateGtmMonitorResult(outcome.result())); + else + return UpdateGtmMonitorOutcome(outcome.error()); +} + +void AlidnsClient::updateGtmMonitorAsync(const UpdateGtmMonitorRequest& request, const UpdateGtmMonitorAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateGtmMonitor(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::UpdateGtmMonitorOutcomeCallable AlidnsClient::updateGtmMonitorCallable(const UpdateGtmMonitorRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateGtmMonitor(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeDomainNsOutcome AlidnsClient::describeDomainNs(const DescribeDomainNsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainNsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainNsOutcome(DescribeDomainNsResult(outcome.result())); + else + return DescribeDomainNsOutcome(outcome.error()); +} + +void AlidnsClient::describeDomainNsAsync(const DescribeDomainNsRequest& request, const DescribeDomainNsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainNs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeDomainNsOutcomeCallable AlidnsClient::describeDomainNsCallable(const DescribeDomainNsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainNs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::SetDNSSLBStatusOutcome AlidnsClient::setDNSSLBStatus(const SetDNSSLBStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDNSSLBStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDNSSLBStatusOutcome(SetDNSSLBStatusResult(outcome.result())); + else + return SetDNSSLBStatusOutcome(outcome.error()); +} + +void AlidnsClient::setDNSSLBStatusAsync(const SetDNSSLBStatusRequest& request, const SetDNSSLBStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setDNSSLBStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::SetDNSSLBStatusOutcomeCallable AlidnsClient::setDNSSLBStatusCallable(const SetDNSSLBStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setDNSSLBStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeGtmAccessStrategyAvailableConfigOutcome AlidnsClient::describeGtmAccessStrategyAvailableConfig(const DescribeGtmAccessStrategyAvailableConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGtmAccessStrategyAvailableConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGtmAccessStrategyAvailableConfigOutcome(DescribeGtmAccessStrategyAvailableConfigResult(outcome.result())); + else + return DescribeGtmAccessStrategyAvailableConfigOutcome(outcome.error()); +} + +void AlidnsClient::describeGtmAccessStrategyAvailableConfigAsync(const DescribeGtmAccessStrategyAvailableConfigRequest& request, const DescribeGtmAccessStrategyAvailableConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGtmAccessStrategyAvailableConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeGtmAccessStrategyAvailableConfigOutcomeCallable AlidnsClient::describeGtmAccessStrategyAvailableConfigCallable(const DescribeGtmAccessStrategyAvailableConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGtmAccessStrategyAvailableConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlidnsClient::DescribeGtmMonitorConfigOutcome AlidnsClient::describeGtmMonitorConfig(const DescribeGtmMonitorConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGtmMonitorConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGtmMonitorConfigOutcome(DescribeGtmMonitorConfigResult(outcome.result())); + else + return DescribeGtmMonitorConfigOutcome(outcome.error()); +} + +void AlidnsClient::describeGtmMonitorConfigAsync(const DescribeGtmMonitorConfigRequest& request, const DescribeGtmMonitorConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGtmMonitorConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlidnsClient::DescribeGtmMonitorConfigOutcomeCallable AlidnsClient::describeGtmMonitorConfigCallable(const DescribeGtmMonitorConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGtmMonitorConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/alidns/src/model/AddDomainGroupRequest.cc b/alidns/src/model/AddDomainGroupRequest.cc new file mode 100644 index 000000000..517f6d9b5 --- /dev/null +++ b/alidns/src/model/AddDomainGroupRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::AddDomainGroupRequest; + +AddDomainGroupRequest::AddDomainGroupRequest() : + RpcServiceRequest("alidns", "2015-01-09", "AddDomainGroup") +{} + +AddDomainGroupRequest::~AddDomainGroupRequest() +{} + +std::string AddDomainGroupRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void AddDomainGroupRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string AddDomainGroupRequest::getLang()const +{ + return lang_; +} + +void AddDomainGroupRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string AddDomainGroupRequest::getGroupName()const +{ + return groupName_; +} + +void AddDomainGroupRequest::setGroupName(const std::string& groupName) +{ + groupName_ = groupName; + setParameter("GroupName", groupName); +} + +std::string AddDomainGroupRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddDomainGroupRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/AddDomainGroupResult.cc b/alidns/src/model/AddDomainGroupResult.cc new file mode 100644 index 000000000..bc86e687c --- /dev/null +++ b/alidns/src/model/AddDomainGroupResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +AddDomainGroupResult::AddDomainGroupResult() : + ServiceResult() +{} + +AddDomainGroupResult::AddDomainGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddDomainGroupResult::~AddDomainGroupResult() +{} + +void AddDomainGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + +} + +std::string AddDomainGroupResult::getGroupName()const +{ + return groupName_; +} + +std::string AddDomainGroupResult::getGroupId()const +{ + return groupId_; +} + diff --git a/alidns/src/model/AddDomainRecordRequest.cc b/alidns/src/model/AddDomainRecordRequest.cc new file mode 100644 index 000000000..cd4b48cda --- /dev/null +++ b/alidns/src/model/AddDomainRecordRequest.cc @@ -0,0 +1,137 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::AddDomainRecordRequest; + +AddDomainRecordRequest::AddDomainRecordRequest() : + RpcServiceRequest("alidns", "2015-01-09", "AddDomainRecord") +{} + +AddDomainRecordRequest::~AddDomainRecordRequest() +{} + +std::string AddDomainRecordRequest::getRR()const +{ + return rR_; +} + +void AddDomainRecordRequest::setRR(const std::string& rR) +{ + rR_ = rR; + setParameter("RR", rR); +} + +std::string AddDomainRecordRequest::getLine()const +{ + return line_; +} + +void AddDomainRecordRequest::setLine(const std::string& line) +{ + line_ = line; + setParameter("Line", line); +} + +std::string AddDomainRecordRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void AddDomainRecordRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string AddDomainRecordRequest::getDomainName()const +{ + return domainName_; +} + +void AddDomainRecordRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string AddDomainRecordRequest::getLang()const +{ + return lang_; +} + +void AddDomainRecordRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string AddDomainRecordRequest::getType()const +{ + return type_; +} + +void AddDomainRecordRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +long AddDomainRecordRequest::getPriority()const +{ + return priority_; +} + +void AddDomainRecordRequest::setPriority(long priority) +{ + priority_ = priority; + setParameter("Priority", std::to_string(priority)); +} + +std::string AddDomainRecordRequest::getValue()const +{ + return value_; +} + +void AddDomainRecordRequest::setValue(const std::string& value) +{ + value_ = value; + setParameter("Value", value); +} + +long AddDomainRecordRequest::getTTL()const +{ + return tTL_; +} + +void AddDomainRecordRequest::setTTL(long tTL) +{ + tTL_ = tTL; + setParameter("TTL", std::to_string(tTL)); +} + +std::string AddDomainRecordRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddDomainRecordRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/AddDomainRecordResult.cc b/alidns/src/model/AddDomainRecordResult.cc new file mode 100644 index 000000000..146c52343 --- /dev/null +++ b/alidns/src/model/AddDomainRecordResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +AddDomainRecordResult::AddDomainRecordResult() : + ServiceResult() +{} + +AddDomainRecordResult::AddDomainRecordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddDomainRecordResult::~AddDomainRecordResult() +{} + +void AddDomainRecordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["RecordId"].isNull()) + recordId_ = value["RecordId"].asString(); + +} + +std::string AddDomainRecordResult::getRecordId()const +{ + return recordId_; +} + diff --git a/alidns/src/model/AddDomainRequest.cc b/alidns/src/model/AddDomainRequest.cc new file mode 100644 index 000000000..9c9967867 --- /dev/null +++ b/alidns/src/model/AddDomainRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::AddDomainRequest; + +AddDomainRequest::AddDomainRequest() : + RpcServiceRequest("alidns", "2015-01-09", "AddDomain") +{} + +AddDomainRequest::~AddDomainRequest() +{} + +std::string AddDomainRequest::getGroupId()const +{ + return groupId_; +} + +void AddDomainRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +std::string AddDomainRequest::getDomainName()const +{ + return domainName_; +} + +void AddDomainRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string AddDomainRequest::getLang()const +{ + return lang_; +} + +void AddDomainRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string AddDomainRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddDomainRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/AddDomainResult.cc b/alidns/src/model/AddDomainResult.cc new file mode 100644 index 000000000..017996992 --- /dev/null +++ b/alidns/src/model/AddDomainResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +AddDomainResult::AddDomainResult() : + ServiceResult() +{} + +AddDomainResult::AddDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddDomainResult::~AddDomainResult() +{} + +void AddDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDnsServers = value["DnsServers"]["DnsServer"]; + for (const auto &item : allDnsServers) + dnsServers_.push_back(item.asString()); + if(!value["DomainId"].isNull()) + domainId_ = value["DomainId"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["PunyCode"].isNull()) + punyCode_ = value["PunyCode"].asString(); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + +} + +std::string AddDomainResult::getGroupName()const +{ + return groupName_; +} + +std::string AddDomainResult::getDomainId()const +{ + return domainId_; +} + +std::string AddDomainResult::getDomainName()const +{ + return domainName_; +} + +std::string AddDomainResult::getPunyCode()const +{ + return punyCode_; +} + +std::vector AddDomainResult::getDnsServers()const +{ + return dnsServers_; +} + +std::string AddDomainResult::getGroupId()const +{ + return groupId_; +} + diff --git a/alidns/src/model/AddGtmAccessStrategyRequest.cc b/alidns/src/model/AddGtmAccessStrategyRequest.cc new file mode 100644 index 000000000..558cff8e3 --- /dev/null +++ b/alidns/src/model/AddGtmAccessStrategyRequest.cc @@ -0,0 +1,104 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::AddGtmAccessStrategyRequest; + +AddGtmAccessStrategyRequest::AddGtmAccessStrategyRequest() : + RpcServiceRequest("alidns", "2015-01-09", "AddGtmAccessStrategy") +{} + +AddGtmAccessStrategyRequest::~AddGtmAccessStrategyRequest() +{} + +std::string AddGtmAccessStrategyRequest::getStrategyName()const +{ + return strategyName_; +} + +void AddGtmAccessStrategyRequest::setStrategyName(const std::string& strategyName) +{ + strategyName_ = strategyName; + setParameter("StrategyName", strategyName); +} + +std::string AddGtmAccessStrategyRequest::getDefaultAddrPoolId()const +{ + return defaultAddrPoolId_; +} + +void AddGtmAccessStrategyRequest::setDefaultAddrPoolId(const std::string& defaultAddrPoolId) +{ + defaultAddrPoolId_ = defaultAddrPoolId; + setParameter("DefaultAddrPoolId", defaultAddrPoolId); +} + +std::string AddGtmAccessStrategyRequest::getAccessLines()const +{ + return accessLines_; +} + +void AddGtmAccessStrategyRequest::setAccessLines(const std::string& accessLines) +{ + accessLines_ = accessLines; + setParameter("AccessLines", accessLines); +} + +std::string AddGtmAccessStrategyRequest::getInstanceId()const +{ + return instanceId_; +} + +void AddGtmAccessStrategyRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + +std::string AddGtmAccessStrategyRequest::getFailoverAddrPoolId()const +{ + return failoverAddrPoolId_; +} + +void AddGtmAccessStrategyRequest::setFailoverAddrPoolId(const std::string& failoverAddrPoolId) +{ + failoverAddrPoolId_ = failoverAddrPoolId; + setParameter("FailoverAddrPoolId", failoverAddrPoolId); +} + +std::string AddGtmAccessStrategyRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void AddGtmAccessStrategyRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string AddGtmAccessStrategyRequest::getLang()const +{ + return lang_; +} + +void AddGtmAccessStrategyRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/alidns/src/model/AddGtmAccessStrategyResult.cc b/alidns/src/model/AddGtmAccessStrategyResult.cc new file mode 100644 index 000000000..2c1b48a02 --- /dev/null +++ b/alidns/src/model/AddGtmAccessStrategyResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +AddGtmAccessStrategyResult::AddGtmAccessStrategyResult() : + ServiceResult() +{} + +AddGtmAccessStrategyResult::AddGtmAccessStrategyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddGtmAccessStrategyResult::~AddGtmAccessStrategyResult() +{} + +void AddGtmAccessStrategyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["StrategyId"].isNull()) + strategyId_ = value["StrategyId"].asString(); + +} + +std::string AddGtmAccessStrategyResult::getStrategyId()const +{ + return strategyId_; +} + diff --git a/alidns/src/model/AddGtmAddressPoolRequest.cc b/alidns/src/model/AddGtmAddressPoolRequest.cc new file mode 100644 index 000000000..04f9b59b9 --- /dev/null +++ b/alidns/src/model/AddGtmAddressPoolRequest.cc @@ -0,0 +1,111 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alidns::Model::AddGtmAddressPoolRequest; + +AddGtmAddressPoolRequest::AddGtmAddressPoolRequest() : + RpcServiceRequest("alidns", "2015-01-09", "AddGtmAddressPool") +{} + +AddGtmAddressPoolRequest::~AddGtmAddressPoolRequest() +{} + +std::string AddGtmAddressPoolRequest::getInstanceId()const +{ + return instanceId_; +} + +void AddGtmAddressPoolRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + +std::string AddGtmAddressPoolRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void AddGtmAddressPoolRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string AddGtmAddressPoolRequest::getName()const +{ + return name_; +} + +void AddGtmAddressPoolRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string AddGtmAddressPoolRequest::getLang()const +{ + return lang_; +} + +void AddGtmAddressPoolRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string AddGtmAddressPoolRequest::getType()const +{ + return type_; +} + +void AddGtmAddressPoolRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +std::vector AddGtmAddressPoolRequest::getAddr()const +{ + return addr_; +} + +void AddGtmAddressPoolRequest::setAddr(const std::vector& 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); + setParameter(str + ".Mode", obj.mode); + setParameter(str + ".LbaWeight", std::to_string(obj.lbaWeight)); + setParameter(str + ".Value", obj.value); + } +} + +int AddGtmAddressPoolRequest::getMinAvailableAddrNum()const +{ + return minAvailableAddrNum_; +} + +void AddGtmAddressPoolRequest::setMinAvailableAddrNum(int minAvailableAddrNum) +{ + minAvailableAddrNum_ = minAvailableAddrNum; + setParameter("MinAvailableAddrNum", std::to_string(minAvailableAddrNum)); +} + diff --git a/alidns/src/model/AddGtmAddressPoolResult.cc b/alidns/src/model/AddGtmAddressPoolResult.cc new file mode 100644 index 000000000..b80fe5b05 --- /dev/null +++ b/alidns/src/model/AddGtmAddressPoolResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +AddGtmAddressPoolResult::AddGtmAddressPoolResult() : + ServiceResult() +{} + +AddGtmAddressPoolResult::AddGtmAddressPoolResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddGtmAddressPoolResult::~AddGtmAddressPoolResult() +{} + +void AddGtmAddressPoolResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["AddrPoolId"].isNull()) + addrPoolId_ = value["AddrPoolId"].asString(); + +} + +std::string AddGtmAddressPoolResult::getAddrPoolId()const +{ + return addrPoolId_; +} + diff --git a/alidns/src/model/AddGtmMonitorRequest.cc b/alidns/src/model/AddGtmMonitorRequest.cc new file mode 100644 index 000000000..2f60d883b --- /dev/null +++ b/alidns/src/model/AddGtmMonitorRequest.cc @@ -0,0 +1,143 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::AddGtmMonitorRequest; + +AddGtmMonitorRequest::AddGtmMonitorRequest() : + RpcServiceRequest("alidns", "2015-01-09", "AddGtmMonitor") +{} + +AddGtmMonitorRequest::~AddGtmMonitorRequest() +{} + +std::string AddGtmMonitorRequest::getMonitorExtendInfo()const +{ + return monitorExtendInfo_; +} + +void AddGtmMonitorRequest::setMonitorExtendInfo(const std::string& monitorExtendInfo) +{ + monitorExtendInfo_ = monitorExtendInfo; + setParameter("MonitorExtendInfo", monitorExtendInfo); +} + +std::string AddGtmMonitorRequest::getAddrPoolId()const +{ + return addrPoolId_; +} + +void AddGtmMonitorRequest::setAddrPoolId(const std::string& addrPoolId) +{ + addrPoolId_ = addrPoolId; + setParameter("AddrPoolId", addrPoolId); +} + +std::string AddGtmMonitorRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void AddGtmMonitorRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string AddGtmMonitorRequest::getName()const +{ + return name_; +} + +void AddGtmMonitorRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +int AddGtmMonitorRequest::getEvaluationCount()const +{ + return evaluationCount_; +} + +void AddGtmMonitorRequest::setEvaluationCount(int evaluationCount) +{ + evaluationCount_ = evaluationCount; + setParameter("EvaluationCount", std::to_string(evaluationCount)); +} + +std::string AddGtmMonitorRequest::getProtocolType()const +{ + return protocolType_; +} + +void AddGtmMonitorRequest::setProtocolType(const std::string& protocolType) +{ + protocolType_ = protocolType; + setParameter("ProtocolType", protocolType); +} + +int AddGtmMonitorRequest::getInterval()const +{ + return interval_; +} + +void AddGtmMonitorRequest::setInterval(int interval) +{ + interval_ = interval; + setParameter("Interval", std::to_string(interval)); +} + +std::string AddGtmMonitorRequest::getLang()const +{ + return lang_; +} + +void AddGtmMonitorRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +int AddGtmMonitorRequest::getTimeout()const +{ + return timeout_; +} + +void AddGtmMonitorRequest::setTimeout(int timeout) +{ + timeout_ = timeout; + setParameter("Timeout", std::to_string(timeout)); +} + +std::vector AddGtmMonitorRequest::getIspCityNode()const +{ + return ispCityNode_; +} + +void AddGtmMonitorRequest::setIspCityNode(const std::vector& 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); + setParameter(str + ".CityCode", obj.cityCode); + setParameter(str + ".IspCode", obj.ispCode); + } +} + diff --git a/alidns/src/model/AddGtmMonitorResult.cc b/alidns/src/model/AddGtmMonitorResult.cc new file mode 100644 index 000000000..8fe763e2a --- /dev/null +++ b/alidns/src/model/AddGtmMonitorResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +AddGtmMonitorResult::AddGtmMonitorResult() : + ServiceResult() +{} + +AddGtmMonitorResult::AddGtmMonitorResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddGtmMonitorResult::~AddGtmMonitorResult() +{} + +void AddGtmMonitorResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["MonitorConfigId"].isNull()) + monitorConfigId_ = value["MonitorConfigId"].asString(); + +} + +std::string AddGtmMonitorResult::getMonitorConfigId()const +{ + return monitorConfigId_; +} + diff --git a/alidns/src/model/ChangeDomainGroupRequest.cc b/alidns/src/model/ChangeDomainGroupRequest.cc new file mode 100644 index 000000000..eee331b3c --- /dev/null +++ b/alidns/src/model/ChangeDomainGroupRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::ChangeDomainGroupRequest; + +ChangeDomainGroupRequest::ChangeDomainGroupRequest() : + RpcServiceRequest("alidns", "2015-01-09", "ChangeDomainGroup") +{} + +ChangeDomainGroupRequest::~ChangeDomainGroupRequest() +{} + +std::string ChangeDomainGroupRequest::getGroupId()const +{ + return groupId_; +} + +void ChangeDomainGroupRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +std::string ChangeDomainGroupRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void ChangeDomainGroupRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string ChangeDomainGroupRequest::getDomainName()const +{ + return domainName_; +} + +void ChangeDomainGroupRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string ChangeDomainGroupRequest::getLang()const +{ + return lang_; +} + +void ChangeDomainGroupRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string ChangeDomainGroupRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ChangeDomainGroupRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/ChangeDomainGroupResult.cc b/alidns/src/model/ChangeDomainGroupResult.cc new file mode 100644 index 000000000..9310be69e --- /dev/null +++ b/alidns/src/model/ChangeDomainGroupResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +ChangeDomainGroupResult::ChangeDomainGroupResult() : + ServiceResult() +{} + +ChangeDomainGroupResult::ChangeDomainGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ChangeDomainGroupResult::~ChangeDomainGroupResult() +{} + +void ChangeDomainGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + +} + +std::string ChangeDomainGroupResult::getGroupName()const +{ + return groupName_; +} + +std::string ChangeDomainGroupResult::getGroupId()const +{ + return groupId_; +} + diff --git a/alidns/src/model/ChangeDomainOfDnsProductRequest.cc b/alidns/src/model/ChangeDomainOfDnsProductRequest.cc new file mode 100644 index 000000000..f38faae58 --- /dev/null +++ b/alidns/src/model/ChangeDomainOfDnsProductRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alidns::Model::ChangeDomainOfDnsProductRequest; + +ChangeDomainOfDnsProductRequest::ChangeDomainOfDnsProductRequest() : + RpcServiceRequest("alidns", "2015-01-09", "ChangeDomainOfDnsProduct") +{} + +ChangeDomainOfDnsProductRequest::~ChangeDomainOfDnsProductRequest() +{} + +std::string ChangeDomainOfDnsProductRequest::getInstanceId()const +{ + return instanceId_; +} + +void ChangeDomainOfDnsProductRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + +std::string ChangeDomainOfDnsProductRequest::getNewDomain()const +{ + return newDomain_; +} + +void ChangeDomainOfDnsProductRequest::setNewDomain(const std::string& newDomain) +{ + newDomain_ = newDomain; + setParameter("NewDomain", newDomain); +} + +std::string ChangeDomainOfDnsProductRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void ChangeDomainOfDnsProductRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +bool ChangeDomainOfDnsProductRequest::getForce()const +{ + return force_; +} + +void ChangeDomainOfDnsProductRequest::setForce(bool force) +{ + force_ = force; + setParameter("Force", force ? "true" : "false"); +} + +std::string ChangeDomainOfDnsProductRequest::getLang()const +{ + return lang_; +} + +void ChangeDomainOfDnsProductRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string ChangeDomainOfDnsProductRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ChangeDomainOfDnsProductRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/ChangeDomainOfDnsProductResult.cc b/alidns/src/model/ChangeDomainOfDnsProductResult.cc new file mode 100644 index 000000000..beb864ff9 --- /dev/null +++ b/alidns/src/model/ChangeDomainOfDnsProductResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +ChangeDomainOfDnsProductResult::ChangeDomainOfDnsProductResult() : + ServiceResult() +{} + +ChangeDomainOfDnsProductResult::ChangeDomainOfDnsProductResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ChangeDomainOfDnsProductResult::~ChangeDomainOfDnsProductResult() +{} + +void ChangeDomainOfDnsProductResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["OriginalDomain"].isNull()) + originalDomain_ = value["OriginalDomain"].asString(); + +} + +std::string ChangeDomainOfDnsProductResult::getOriginalDomain()const +{ + return originalDomain_; +} + diff --git a/alidns/src/model/CheckDomainRecordRequest.cc b/alidns/src/model/CheckDomainRecordRequest.cc new file mode 100644 index 000000000..450fa7414 --- /dev/null +++ b/alidns/src/model/CheckDomainRecordRequest.cc @@ -0,0 +1,104 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::CheckDomainRecordRequest; + +CheckDomainRecordRequest::CheckDomainRecordRequest() : + RpcServiceRequest("alidns", "2015-01-09", "CheckDomainRecord") +{} + +CheckDomainRecordRequest::~CheckDomainRecordRequest() +{} + +std::string CheckDomainRecordRequest::getRR()const +{ + return rR_; +} + +void CheckDomainRecordRequest::setRR(const std::string& rR) +{ + rR_ = rR; + setParameter("RR", rR); +} + +std::string CheckDomainRecordRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void CheckDomainRecordRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string CheckDomainRecordRequest::getDomainName()const +{ + return domainName_; +} + +void CheckDomainRecordRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string CheckDomainRecordRequest::getLang()const +{ + return lang_; +} + +void CheckDomainRecordRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string CheckDomainRecordRequest::getType()const +{ + return type_; +} + +void CheckDomainRecordRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +std::string CheckDomainRecordRequest::getValue()const +{ + return value_; +} + +void CheckDomainRecordRequest::setValue(const std::string& value) +{ + value_ = value; + setParameter("Value", value); +} + +std::string CheckDomainRecordRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CheckDomainRecordRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/CheckDomainRecordResult.cc b/alidns/src/model/CheckDomainRecordResult.cc new file mode 100644 index 000000000..9e02d15cb --- /dev/null +++ b/alidns/src/model/CheckDomainRecordResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +CheckDomainRecordResult::CheckDomainRecordResult() : + ServiceResult() +{} + +CheckDomainRecordResult::CheckDomainRecordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckDomainRecordResult::~CheckDomainRecordResult() +{} + +void CheckDomainRecordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["IsExist"].isNull()) + isExist_ = value["IsExist"].asString() == "true"; + +} + +bool CheckDomainRecordResult::getIsExist()const +{ + return isExist_; +} + diff --git a/alidns/src/model/CreateInstanceRequest.cc b/alidns/src/model/CreateInstanceRequest.cc new file mode 100644 index 000000000..f4222e598 --- /dev/null +++ b/alidns/src/model/CreateInstanceRequest.cc @@ -0,0 +1,115 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::CreateInstanceRequest; + +CreateInstanceRequest::CreateInstanceRequest() : + RpcServiceRequest("alidns", "2015-01-09", "CreateInstance") +{} + +CreateInstanceRequest::~CreateInstanceRequest() +{} + +int CreateInstanceRequest::getMonth()const +{ + return month_; +} + +void CreateInstanceRequest::setMonth(int month) +{ + month_ = month; + setParameter("Month", std::to_string(month)); +} + +std::string CreateInstanceRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void CreateInstanceRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string CreateInstanceRequest::getDomainName()const +{ + return domainName_; +} + +void CreateInstanceRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string CreateInstanceRequest::getLang()const +{ + return lang_; +} + +void CreateInstanceRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string CreateInstanceRequest::getInstanceVersion()const +{ + return instanceVersion_; +} + +void CreateInstanceRequest::setInstanceVersion(const std::string& instanceVersion) +{ + instanceVersion_ = instanceVersion; + setParameter("InstanceVersion", instanceVersion); +} + +long CreateInstanceRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateInstanceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateInstanceRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateInstanceRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string CreateInstanceRequest::getToken()const +{ + return token_; +} + +void CreateInstanceRequest::setToken(const std::string& token) +{ + token_ = token; + setParameter("Token", token); +} + diff --git a/alidns/src/model/CreateInstanceResult.cc b/alidns/src/model/CreateInstanceResult.cc new file mode 100644 index 000000000..48ebcd0c5 --- /dev/null +++ b/alidns/src/model/CreateInstanceResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +CreateInstanceResult::CreateInstanceResult() : + ServiceResult() +{} + +CreateInstanceResult::CreateInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateInstanceResult::~CreateInstanceResult() +{} + +void CreateInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["OrderId"].isNull()) + orderId_ = value["OrderId"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + +} + +std::string CreateInstanceResult::getInstanceId()const +{ + return instanceId_; +} + +std::string CreateInstanceResult::getOrderId()const +{ + return orderId_; +} + diff --git a/alidns/src/model/DeleteDomainGroupRequest.cc b/alidns/src/model/DeleteDomainGroupRequest.cc new file mode 100644 index 000000000..3679a08f3 --- /dev/null +++ b/alidns/src/model/DeleteDomainGroupRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DeleteDomainGroupRequest; + +DeleteDomainGroupRequest::DeleteDomainGroupRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DeleteDomainGroup") +{} + +DeleteDomainGroupRequest::~DeleteDomainGroupRequest() +{} + +std::string DeleteDomainGroupRequest::getGroupId()const +{ + return groupId_; +} + +void DeleteDomainGroupRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +std::string DeleteDomainGroupRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DeleteDomainGroupRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DeleteDomainGroupRequest::getLang()const +{ + return lang_; +} + +void DeleteDomainGroupRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DeleteDomainGroupRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteDomainGroupRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/DeleteDomainGroupResult.cc b/alidns/src/model/DeleteDomainGroupResult.cc new file mode 100644 index 000000000..f387d7b4c --- /dev/null +++ b/alidns/src/model/DeleteDomainGroupResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DeleteDomainGroupResult::DeleteDomainGroupResult() : + ServiceResult() +{} + +DeleteDomainGroupResult::DeleteDomainGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDomainGroupResult::~DeleteDomainGroupResult() +{} + +void DeleteDomainGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + +} + +std::string DeleteDomainGroupResult::getGroupName()const +{ + return groupName_; +} + diff --git a/alidns/src/model/DeleteDomainRecordRequest.cc b/alidns/src/model/DeleteDomainRecordRequest.cc new file mode 100644 index 000000000..474c7d7b3 --- /dev/null +++ b/alidns/src/model/DeleteDomainRecordRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DeleteDomainRecordRequest; + +DeleteDomainRecordRequest::DeleteDomainRecordRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DeleteDomainRecord") +{} + +DeleteDomainRecordRequest::~DeleteDomainRecordRequest() +{} + +std::string DeleteDomainRecordRequest::getRecordId()const +{ + return recordId_; +} + +void DeleteDomainRecordRequest::setRecordId(const std::string& recordId) +{ + recordId_ = recordId; + setParameter("RecordId", recordId); +} + +std::string DeleteDomainRecordRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DeleteDomainRecordRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DeleteDomainRecordRequest::getLang()const +{ + return lang_; +} + +void DeleteDomainRecordRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DeleteDomainRecordRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteDomainRecordRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/DeleteDomainRecordResult.cc b/alidns/src/model/DeleteDomainRecordResult.cc new file mode 100644 index 000000000..8ec12960e --- /dev/null +++ b/alidns/src/model/DeleteDomainRecordResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DeleteDomainRecordResult::DeleteDomainRecordResult() : + ServiceResult() +{} + +DeleteDomainRecordResult::DeleteDomainRecordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDomainRecordResult::~DeleteDomainRecordResult() +{} + +void DeleteDomainRecordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["RecordId"].isNull()) + recordId_ = value["RecordId"].asString(); + +} + +std::string DeleteDomainRecordResult::getRecordId()const +{ + return recordId_; +} + diff --git a/alidns/src/model/DeleteDomainRequest.cc b/alidns/src/model/DeleteDomainRequest.cc new file mode 100644 index 000000000..42fd8de37 --- /dev/null +++ b/alidns/src/model/DeleteDomainRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DeleteDomainRequest; + +DeleteDomainRequest::DeleteDomainRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DeleteDomain") +{} + +DeleteDomainRequest::~DeleteDomainRequest() +{} + +std::string DeleteDomainRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DeleteDomainRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DeleteDomainRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteDomainRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DeleteDomainRequest::getLang()const +{ + return lang_; +} + +void DeleteDomainRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DeleteDomainRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteDomainRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/DeleteDomainResult.cc b/alidns/src/model/DeleteDomainResult.cc new file mode 100644 index 000000000..0887bf1c9 --- /dev/null +++ b/alidns/src/model/DeleteDomainResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DeleteDomainResult::DeleteDomainResult() : + ServiceResult() +{} + +DeleteDomainResult::DeleteDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDomainResult::~DeleteDomainResult() +{} + +void DeleteDomainResult::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(); + +} + +std::string DeleteDomainResult::getDomainName()const +{ + return domainName_; +} + diff --git a/alidns/src/model/DeleteGtmAccessStrategyRequest.cc b/alidns/src/model/DeleteGtmAccessStrategyRequest.cc new file mode 100644 index 000000000..b89fd7c02 --- /dev/null +++ b/alidns/src/model/DeleteGtmAccessStrategyRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DeleteGtmAccessStrategyRequest; + +DeleteGtmAccessStrategyRequest::DeleteGtmAccessStrategyRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DeleteGtmAccessStrategy") +{} + +DeleteGtmAccessStrategyRequest::~DeleteGtmAccessStrategyRequest() +{} + +std::string DeleteGtmAccessStrategyRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DeleteGtmAccessStrategyRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DeleteGtmAccessStrategyRequest::getStrategyId()const +{ + return strategyId_; +} + +void DeleteGtmAccessStrategyRequest::setStrategyId(const std::string& strategyId) +{ + strategyId_ = strategyId; + setParameter("StrategyId", strategyId); +} + +std::string DeleteGtmAccessStrategyRequest::getLang()const +{ + return lang_; +} + +void DeleteGtmAccessStrategyRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/alidns/src/model/DeleteGtmAccessStrategyResult.cc b/alidns/src/model/DeleteGtmAccessStrategyResult.cc new file mode 100644 index 000000000..10912a4e0 --- /dev/null +++ b/alidns/src/model/DeleteGtmAccessStrategyResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DeleteGtmAccessStrategyResult::DeleteGtmAccessStrategyResult() : + ServiceResult() +{} + +DeleteGtmAccessStrategyResult::DeleteGtmAccessStrategyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteGtmAccessStrategyResult::~DeleteGtmAccessStrategyResult() +{} + +void DeleteGtmAccessStrategyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/alidns/src/model/DeleteGtmAddressPoolRequest.cc b/alidns/src/model/DeleteGtmAddressPoolRequest.cc new file mode 100644 index 000000000..9a07c71b7 --- /dev/null +++ b/alidns/src/model/DeleteGtmAddressPoolRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DeleteGtmAddressPoolRequest; + +DeleteGtmAddressPoolRequest::DeleteGtmAddressPoolRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DeleteGtmAddressPool") +{} + +DeleteGtmAddressPoolRequest::~DeleteGtmAddressPoolRequest() +{} + +std::string DeleteGtmAddressPoolRequest::getAddrPoolId()const +{ + return addrPoolId_; +} + +void DeleteGtmAddressPoolRequest::setAddrPoolId(const std::string& addrPoolId) +{ + addrPoolId_ = addrPoolId; + setParameter("AddrPoolId", addrPoolId); +} + +std::string DeleteGtmAddressPoolRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DeleteGtmAddressPoolRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DeleteGtmAddressPoolRequest::getLang()const +{ + return lang_; +} + +void DeleteGtmAddressPoolRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/alidns/src/model/DeleteGtmAddressPoolResult.cc b/alidns/src/model/DeleteGtmAddressPoolResult.cc new file mode 100644 index 000000000..fe94f430a --- /dev/null +++ b/alidns/src/model/DeleteGtmAddressPoolResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DeleteGtmAddressPoolResult::DeleteGtmAddressPoolResult() : + ServiceResult() +{} + +DeleteGtmAddressPoolResult::DeleteGtmAddressPoolResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteGtmAddressPoolResult::~DeleteGtmAddressPoolResult() +{} + +void DeleteGtmAddressPoolResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/alidns/src/model/DeleteSubDomainRecordsRequest.cc b/alidns/src/model/DeleteSubDomainRecordsRequest.cc new file mode 100644 index 000000000..8c9b8d55b --- /dev/null +++ b/alidns/src/model/DeleteSubDomainRecordsRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alidns::Model::DeleteSubDomainRecordsRequest; + +DeleteSubDomainRecordsRequest::DeleteSubDomainRecordsRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DeleteSubDomainRecords") +{} + +DeleteSubDomainRecordsRequest::~DeleteSubDomainRecordsRequest() +{} + +std::string DeleteSubDomainRecordsRequest::getRR()const +{ + return rR_; +} + +void DeleteSubDomainRecordsRequest::setRR(const std::string& rR) +{ + rR_ = rR; + setParameter("RR", rR); +} + +std::string DeleteSubDomainRecordsRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DeleteSubDomainRecordsRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DeleteSubDomainRecordsRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteSubDomainRecordsRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DeleteSubDomainRecordsRequest::getLang()const +{ + return lang_; +} + +void DeleteSubDomainRecordsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DeleteSubDomainRecordsRequest::getType()const +{ + return type_; +} + +void DeleteSubDomainRecordsRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +std::string DeleteSubDomainRecordsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteSubDomainRecordsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/DeleteSubDomainRecordsResult.cc b/alidns/src/model/DeleteSubDomainRecordsResult.cc new file mode 100644 index 000000000..a8c410442 --- /dev/null +++ b/alidns/src/model/DeleteSubDomainRecordsResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DeleteSubDomainRecordsResult::DeleteSubDomainRecordsResult() : + ServiceResult() +{} + +DeleteSubDomainRecordsResult::DeleteSubDomainRecordsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteSubDomainRecordsResult::~DeleteSubDomainRecordsResult() +{} + +void DeleteSubDomainRecordsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["RR"].isNull()) + rR_ = value["RR"].asString(); + if(!value["TotalCount"].isNull()) + totalCount_ = value["TotalCount"].asString(); + +} + +std::string DeleteSubDomainRecordsResult::getRR()const +{ + return rR_; +} + +std::string DeleteSubDomainRecordsResult::getTotalCount()const +{ + return totalCount_; +} + diff --git a/alidns/src/model/DescribeBatchResultCountRequest.cc b/alidns/src/model/DescribeBatchResultCountRequest.cc new file mode 100644 index 000000000..e1be1c6c7 --- /dev/null +++ b/alidns/src/model/DescribeBatchResultCountRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeBatchResultCountRequest; + +DescribeBatchResultCountRequest::DescribeBatchResultCountRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeBatchResultCount") +{} + +DescribeBatchResultCountRequest::~DescribeBatchResultCountRequest() +{} + +std::string DescribeBatchResultCountRequest::getBatchType()const +{ + return batchType_; +} + +void DescribeBatchResultCountRequest::setBatchType(const std::string& batchType) +{ + batchType_ = batchType; + setParameter("BatchType", batchType); +} + +std::string DescribeBatchResultCountRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeBatchResultCountRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DescribeBatchResultCountRequest::getLang()const +{ + return lang_; +} + +void DescribeBatchResultCountRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +long DescribeBatchResultCountRequest::getTaskId()const +{ + return taskId_; +} + +void DescribeBatchResultCountRequest::setTaskId(long taskId) +{ + taskId_ = taskId; + setParameter("TaskId", std::to_string(taskId)); +} + diff --git a/alidns/src/model/DescribeBatchResultCountResult.cc b/alidns/src/model/DescribeBatchResultCountResult.cc new file mode 100644 index 000000000..a63cc7ed4 --- /dev/null +++ b/alidns/src/model/DescribeBatchResultCountResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeBatchResultCountResult::DescribeBatchResultCountResult() : + ServiceResult() +{} + +DescribeBatchResultCountResult::DescribeBatchResultCountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBatchResultCountResult::~DescribeBatchResultCountResult() +{} + +void DescribeBatchResultCountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Status"].isNull()) + status_ = std::stoi(value["Status"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["SuccessCount"].isNull()) + successCount_ = std::stoi(value["SuccessCount"].asString()); + if(!value["FailedCount"].isNull()) + failedCount_ = std::stoi(value["FailedCount"].asString()); + if(!value["Reason"].isNull()) + reason_ = value["Reason"].asString(); + if(!value["BatchType"].isNull()) + batchType_ = value["BatchType"].asString(); + if(!value["TaskId"].isNull()) + taskId_ = std::stol(value["TaskId"].asString()); + +} + +int DescribeBatchResultCountResult::getStatus()const +{ + return status_; +} + +int DescribeBatchResultCountResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeBatchResultCountResult::getTaskId()const +{ + return taskId_; +} + +int DescribeBatchResultCountResult::getFailedCount()const +{ + return failedCount_; +} + +int DescribeBatchResultCountResult::getSuccessCount()const +{ + return successCount_; +} + +std::string DescribeBatchResultCountResult::getReason()const +{ + return reason_; +} + +std::string DescribeBatchResultCountResult::getBatchType()const +{ + return batchType_; +} + diff --git a/alidns/src/model/DescribeBatchResultDetailRequest.cc b/alidns/src/model/DescribeBatchResultDetailRequest.cc new file mode 100644 index 000000000..85e71dd19 --- /dev/null +++ b/alidns/src/model/DescribeBatchResultDetailRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeBatchResultDetailRequest; + +DescribeBatchResultDetailRequest::DescribeBatchResultDetailRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeBatchResultDetail") +{} + +DescribeBatchResultDetailRequest::~DescribeBatchResultDetailRequest() +{} + +std::string DescribeBatchResultDetailRequest::getBatchType()const +{ + return batchType_; +} + +void DescribeBatchResultDetailRequest::setBatchType(const std::string& batchType) +{ + batchType_ = batchType; + setParameter("BatchType", batchType); +} + +std::string DescribeBatchResultDetailRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeBatchResultDetailRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +int DescribeBatchResultDetailRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeBatchResultDetailRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeBatchResultDetailRequest::getLang()const +{ + return lang_; +} + +void DescribeBatchResultDetailRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +int DescribeBatchResultDetailRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeBatchResultDetailRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +long DescribeBatchResultDetailRequest::getTaskId()const +{ + return taskId_; +} + +void DescribeBatchResultDetailRequest::setTaskId(long taskId) +{ + taskId_ = taskId; + setParameter("TaskId", std::to_string(taskId)); +} + diff --git a/alidns/src/model/DescribeBatchResultDetailResult.cc b/alidns/src/model/DescribeBatchResultDetailResult.cc new file mode 100644 index 000000000..380db5060 --- /dev/null +++ b/alidns/src/model/DescribeBatchResultDetailResult.cc @@ -0,0 +1,109 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeBatchResultDetailResult::DescribeBatchResultDetailResult() : + ServiceResult() +{} + +DescribeBatchResultDetailResult::DescribeBatchResultDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBatchResultDetailResult::~DescribeBatchResultDetailResult() +{} + +void DescribeBatchResultDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allBatchResultDetails = value["BatchResultDetails"]["BatchResultDetail"]; + for (auto value : allBatchResultDetails) + { + BatchResultDetail batchResultDetailsObject; + if(!value["Domain"].isNull()) + batchResultDetailsObject.domain = value["Domain"].asString(); + if(!value["Type"].isNull()) + batchResultDetailsObject.type = value["Type"].asString(); + if(!value["Rr"].isNull()) + batchResultDetailsObject.rr = value["Rr"].asString(); + if(!value["Value"].isNull()) + batchResultDetailsObject.value = value["Value"].asString(); + if(!value["Status"].isNull()) + batchResultDetailsObject.status = value["Status"].asString() == "true"; + if(!value["Reason"].isNull()) + batchResultDetailsObject.reason = value["Reason"].asString(); + if(!value["NewRr"].isNull()) + batchResultDetailsObject.newRr = value["NewRr"].asString(); + if(!value["NewValue"].isNull()) + batchResultDetailsObject.newValue = value["NewValue"].asString(); + if(!value["BatchType"].isNull()) + batchResultDetailsObject.batchType = value["BatchType"].asString(); + if(!value["OperateDateStr"].isNull()) + batchResultDetailsObject.operateDateStr = value["OperateDateStr"].asString(); + if(!value["Line"].isNull()) + batchResultDetailsObject.line = value["Line"].asString(); + if(!value["Priority"].isNull()) + batchResultDetailsObject.priority = std::stoi(value["Priority"].asString()); + if(!value["Ttl"].isNull()) + batchResultDetailsObject.ttl = std::stoi(value["Ttl"].asString()); + if(!value["RecordId"].isNull()) + batchResultDetailsObject.recordId = value["RecordId"].asString(); + if(!value["Remark"].isNull()) + batchResultDetailsObject.remark = value["Remark"].asString(); + if(!value["RrStatus"].isNull()) + batchResultDetailsObject.rrStatus = value["RrStatus"].asString(); + batchResultDetails_.push_back(batchResultDetailsObject); + } + 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()); + +} + +std::vector DescribeBatchResultDetailResult::getBatchResultDetails()const +{ + return batchResultDetails_; +} + +long DescribeBatchResultDetailResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeBatchResultDetailResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeBatchResultDetailResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/alidns/src/model/DescribeDNSSLBSubDomainsRequest.cc b/alidns/src/model/DescribeDNSSLBSubDomainsRequest.cc new file mode 100644 index 000000000..438c747d9 --- /dev/null +++ b/alidns/src/model/DescribeDNSSLBSubDomainsRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeDNSSLBSubDomainsRequest; + +DescribeDNSSLBSubDomainsRequest::DescribeDNSSLBSubDomainsRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeDNSSLBSubDomains") +{} + +DescribeDNSSLBSubDomainsRequest::~DescribeDNSSLBSubDomainsRequest() +{} + +std::string DescribeDNSSLBSubDomainsRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeDNSSLBSubDomainsRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DescribeDNSSLBSubDomainsRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeDNSSLBSubDomainsRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeDNSSLBSubDomainsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeDNSSLBSubDomainsRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeDNSSLBSubDomainsRequest::getLang()const +{ + return lang_; +} + +void DescribeDNSSLBSubDomainsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +long DescribeDNSSLBSubDomainsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeDNSSLBSubDomainsRequest::setPageNumber(long pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeDNSSLBSubDomainsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeDNSSLBSubDomainsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/DescribeDNSSLBSubDomainsResult.cc b/alidns/src/model/DescribeDNSSLBSubDomainsResult.cc new file mode 100644 index 000000000..b8398baf1 --- /dev/null +++ b/alidns/src/model/DescribeDNSSLBSubDomainsResult.cc @@ -0,0 +1,85 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeDNSSLBSubDomainsResult::DescribeDNSSLBSubDomainsResult() : + ServiceResult() +{} + +DescribeDNSSLBSubDomainsResult::DescribeDNSSLBSubDomainsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDNSSLBSubDomainsResult::~DescribeDNSSLBSubDomainsResult() +{} + +void DescribeDNSSLBSubDomainsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allSlbSubDomains = value["SlbSubDomains"]["SlbSubDomain"]; + for (auto value : allSlbSubDomains) + { + SlbSubDomain slbSubDomainsObject; + if(!value["SubDomain"].isNull()) + slbSubDomainsObject.subDomain = value["SubDomain"].asString(); + if(!value["RecordCount"].isNull()) + slbSubDomainsObject.recordCount = std::stol(value["RecordCount"].asString()); + if(!value["Open"].isNull()) + slbSubDomainsObject.open = value["Open"].asString() == "true"; + if(!value["Type"].isNull()) + slbSubDomainsObject.type = value["Type"].asString(); + slbSubDomains_.push_back(slbSubDomainsObject); + } + 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 DescribeDNSSLBSubDomainsResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeDNSSLBSubDomainsResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeDNSSLBSubDomainsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeDNSSLBSubDomainsResult::getSlbSubDomains()const +{ + return slbSubDomains_; +} + diff --git a/alidns/src/model/DescribeDnsProductInstanceRequest.cc b/alidns/src/model/DescribeDnsProductInstanceRequest.cc new file mode 100644 index 000000000..f3659d40e --- /dev/null +++ b/alidns/src/model/DescribeDnsProductInstanceRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeDnsProductInstanceRequest; + +DescribeDnsProductInstanceRequest::DescribeDnsProductInstanceRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsProductInstance") +{} + +DescribeDnsProductInstanceRequest::~DescribeDnsProductInstanceRequest() +{} + +std::string DescribeDnsProductInstanceRequest::getInstanceId()const +{ + return instanceId_; +} + +void DescribeDnsProductInstanceRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + +std::string DescribeDnsProductInstanceRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeDnsProductInstanceRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DescribeDnsProductInstanceRequest::getLang()const +{ + return lang_; +} + +void DescribeDnsProductInstanceRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeDnsProductInstanceRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeDnsProductInstanceRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/DescribeDnsProductInstanceResult.cc b/alidns/src/model/DescribeDnsProductInstanceResult.cc new file mode 100644 index 000000000..a21e18fdc --- /dev/null +++ b/alidns/src/model/DescribeDnsProductInstanceResult.cc @@ -0,0 +1,270 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeDnsProductInstanceResult::DescribeDnsProductInstanceResult() : + ServiceResult() +{} + +DescribeDnsProductInstanceResult::DescribeDnsProductInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDnsProductInstanceResult::~DescribeDnsProductInstanceResult() +{} + +void DescribeDnsProductInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDnsServers = value["DnsServers"]["DnsServer"]; + for (const auto &item : allDnsServers) + dnsServers_.push_back(item.asString()); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + if(!value["VersionCode"].isNull()) + versionCode_ = value["VersionCode"].asString(); + if(!value["VersionName"].isNull()) + versionName_ = value["VersionName"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["StartTimestamp"].isNull()) + startTimestamp_ = std::stol(value["StartTimestamp"].asString()); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["EndTimestamp"].isNull()) + endTimestamp_ = std::stol(value["EndTimestamp"].asString()); + if(!value["Domain"].isNull()) + domain_ = value["Domain"].asString(); + if(!value["BindCount"].isNull()) + bindCount_ = std::stol(value["BindCount"].asString()); + if(!value["BindUsedCount"].isNull()) + bindUsedCount_ = std::stol(value["BindUsedCount"].asString()); + if(!value["TTLMinValue"].isNull()) + tTLMinValue_ = std::stol(value["TTLMinValue"].asString()); + if(!value["SubDomainLevel"].isNull()) + subDomainLevel_ = std::stol(value["SubDomainLevel"].asString()); + if(!value["DnsSLBCount"].isNull()) + dnsSLBCount_ = std::stol(value["DnsSLBCount"].asString()); + if(!value["URLForwardCount"].isNull()) + uRLForwardCount_ = std::stol(value["URLForwardCount"].asString()); + if(!value["DDosDefendFlow"].isNull()) + dDosDefendFlow_ = std::stol(value["DDosDefendFlow"].asString()); + if(!value["DDosDefendQuery"].isNull()) + dDosDefendQuery_ = std::stol(value["DDosDefendQuery"].asString()); + if(!value["OverseaDDosDefendFlow"].isNull()) + overseaDDosDefendFlow_ = std::stol(value["OverseaDDosDefendFlow"].asString()); + if(!value["SearchEngineLines"].isNull()) + searchEngineLines_ = value["SearchEngineLines"].asString(); + if(!value["ISPLines"].isNull()) + iSPLines_ = value["ISPLines"].asString(); + if(!value["ISPRegionLines"].isNull()) + iSPRegionLines_ = value["ISPRegionLines"].asString(); + if(!value["OverseaLine"].isNull()) + overseaLine_ = value["OverseaLine"].asString(); + if(!value["MonitorNodeCount"].isNull()) + monitorNodeCount_ = std::stol(value["MonitorNodeCount"].asString()); + if(!value["MonitorFrequency"].isNull()) + monitorFrequency_ = std::stol(value["MonitorFrequency"].asString()); + if(!value["MonitorTaskCount"].isNull()) + monitorTaskCount_ = std::stol(value["MonitorTaskCount"].asString()); + if(!value["RegionLines"].isNull()) + regionLines_ = value["RegionLines"].asString() == "true"; + if(!value["Gslb"].isNull()) + gslb_ = value["Gslb"].asString() == "true"; + if(!value["InClean"].isNull()) + inClean_ = value["InClean"].asString() == "true"; + if(!value["InBlackHole"].isNull()) + inBlackHole_ = value["InBlackHole"].asString() == "true"; + if(!value["BindDomainCount"].isNull()) + bindDomainCount_ = std::stol(value["BindDomainCount"].asString()); + if(!value["BindDomainUsedCount"].isNull()) + bindDomainUsedCount_ = std::stol(value["BindDomainUsedCount"].asString()); + if(!value["DnsSecurity"].isNull()) + dnsSecurity_ = value["DnsSecurity"].asString(); + +} + +long DescribeDnsProductInstanceResult::getMonitorNodeCount()const +{ + return monitorNodeCount_; +} + +bool DescribeDnsProductInstanceResult::getInBlackHole()const +{ + return inBlackHole_; +} + +long DescribeDnsProductInstanceResult::getBindDomainCount()const +{ + return bindDomainCount_; +} + +bool DescribeDnsProductInstanceResult::getRegionLines()const +{ + return regionLines_; +} + +std::string DescribeDnsProductInstanceResult::getEndTime()const +{ + return endTime_; +} + +long DescribeDnsProductInstanceResult::getBindCount()const +{ + return bindCount_; +} + +long DescribeDnsProductInstanceResult::getStartTimestamp()const +{ + return startTimestamp_; +} + +std::string DescribeDnsProductInstanceResult::getISPLines()const +{ + return iSPLines_; +} + +std::vector DescribeDnsProductInstanceResult::getDnsServers()const +{ + return dnsServers_; +} + +long DescribeDnsProductInstanceResult::getEndTimestamp()const +{ + return endTimestamp_; +} + +long DescribeDnsProductInstanceResult::getDDosDefendQuery()const +{ + return dDosDefendQuery_; +} + +std::string DescribeDnsProductInstanceResult::getDnsSecurity()const +{ + return dnsSecurity_; +} + +long DescribeDnsProductInstanceResult::getURLForwardCount()const +{ + return uRLForwardCount_; +} + +long DescribeDnsProductInstanceResult::getTTLMinValue()const +{ + return tTLMinValue_; +} + +std::string DescribeDnsProductInstanceResult::getVersionName()const +{ + return versionName_; +} + +std::string DescribeDnsProductInstanceResult::getOverseaLine()const +{ + return overseaLine_; +} + +std::string DescribeDnsProductInstanceResult::getISPRegionLines()const +{ + return iSPRegionLines_; +} + +bool DescribeDnsProductInstanceResult::getGslb()const +{ + return gslb_; +} + +long DescribeDnsProductInstanceResult::getBindUsedCount()const +{ + return bindUsedCount_; +} + +long DescribeDnsProductInstanceResult::getDnsSLBCount()const +{ + return dnsSLBCount_; +} + +std::string DescribeDnsProductInstanceResult::getInstanceId()const +{ + return instanceId_; +} + +long DescribeDnsProductInstanceResult::getMonitorTaskCount()const +{ + return monitorTaskCount_; +} + +std::string DescribeDnsProductInstanceResult::getStartTime()const +{ + return startTime_; +} + +long DescribeDnsProductInstanceResult::getDDosDefendFlow()const +{ + return dDosDefendFlow_; +} + +long DescribeDnsProductInstanceResult::getMonitorFrequency()const +{ + return monitorFrequency_; +} + +std::string DescribeDnsProductInstanceResult::getSearchEngineLines()const +{ + return searchEngineLines_; +} + +long DescribeDnsProductInstanceResult::getBindDomainUsedCount()const +{ + return bindDomainUsedCount_; +} + +std::string DescribeDnsProductInstanceResult::getVersionCode()const +{ + return versionCode_; +} + +long DescribeDnsProductInstanceResult::getOverseaDDosDefendFlow()const +{ + return overseaDDosDefendFlow_; +} + +long DescribeDnsProductInstanceResult::getSubDomainLevel()const +{ + return subDomainLevel_; +} + +bool DescribeDnsProductInstanceResult::getInClean()const +{ + return inClean_; +} + +std::string DescribeDnsProductInstanceResult::getDomain()const +{ + return domain_; +} + diff --git a/alidns/src/model/DescribeDnsProductInstancesRequest.cc b/alidns/src/model/DescribeDnsProductInstancesRequest.cc new file mode 100644 index 000000000..9e0271432 --- /dev/null +++ b/alidns/src/model/DescribeDnsProductInstancesRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeDnsProductInstancesRequest; + +DescribeDnsProductInstancesRequest::DescribeDnsProductInstancesRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsProductInstances") +{} + +DescribeDnsProductInstancesRequest::~DescribeDnsProductInstancesRequest() +{} + +std::string DescribeDnsProductInstancesRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeDnsProductInstancesRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +long DescribeDnsProductInstancesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeDnsProductInstancesRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeDnsProductInstancesRequest::getLang()const +{ + return lang_; +} + +void DescribeDnsProductInstancesRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeDnsProductInstancesRequest::getVersionCode()const +{ + return versionCode_; +} + +void DescribeDnsProductInstancesRequest::setVersionCode(const std::string& versionCode) +{ + versionCode_ = versionCode; + setParameter("VersionCode", versionCode); +} + +long DescribeDnsProductInstancesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeDnsProductInstancesRequest::setPageNumber(long pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeDnsProductInstancesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeDnsProductInstancesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/DescribeDnsProductInstancesResult.cc b/alidns/src/model/DescribeDnsProductInstancesResult.cc new file mode 100644 index 000000000..4b5f72ac5 --- /dev/null +++ b/alidns/src/model/DescribeDnsProductInstancesResult.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeDnsProductInstancesResult::DescribeDnsProductInstancesResult() : + ServiceResult() +{} + +DescribeDnsProductInstancesResult::DescribeDnsProductInstancesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDnsProductInstancesResult::~DescribeDnsProductInstancesResult() +{} + +void DescribeDnsProductInstancesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDnsProducts = value["DnsProducts"]["DnsProduct"]; + for (auto value : allDnsProducts) + { + DnsProduct dnsProductsObject; + if(!value["InstanceId"].isNull()) + dnsProductsObject.instanceId = value["InstanceId"].asString(); + if(!value["VersionCode"].isNull()) + dnsProductsObject.versionCode = value["VersionCode"].asString(); + if(!value["VersionName"].isNull()) + dnsProductsObject.versionName = value["VersionName"].asString(); + if(!value["StartTime"].isNull()) + dnsProductsObject.startTime = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + dnsProductsObject.endTime = value["EndTime"].asString(); + if(!value["StartTimestamp"].isNull()) + dnsProductsObject.startTimestamp = std::stol(value["StartTimestamp"].asString()); + if(!value["EndTimestamp"].isNull()) + dnsProductsObject.endTimestamp = std::stol(value["EndTimestamp"].asString()); + if(!value["Domain"].isNull()) + dnsProductsObject.domain = value["Domain"].asString(); + if(!value["BindCount"].isNull()) + dnsProductsObject.bindCount = std::stol(value["BindCount"].asString()); + if(!value["BindUsedCount"].isNull()) + dnsProductsObject.bindUsedCount = std::stol(value["BindUsedCount"].asString()); + if(!value["TTLMinValue"].isNull()) + dnsProductsObject.tTLMinValue = std::stol(value["TTLMinValue"].asString()); + if(!value["SubDomainLevel"].isNull()) + dnsProductsObject.subDomainLevel = std::stol(value["SubDomainLevel"].asString()); + if(!value["DnsSLBCount"].isNull()) + dnsProductsObject.dnsSLBCount = std::stol(value["DnsSLBCount"].asString()); + if(!value["URLForwardCount"].isNull()) + dnsProductsObject.uRLForwardCount = std::stol(value["URLForwardCount"].asString()); + if(!value["DDosDefendFlow"].isNull()) + dnsProductsObject.dDosDefendFlow = std::stol(value["DDosDefendFlow"].asString()); + if(!value["DDosDefendQuery"].isNull()) + dnsProductsObject.dDosDefendQuery = std::stol(value["DDosDefendQuery"].asString()); + if(!value["OverseaDDosDefendFlow"].isNull()) + dnsProductsObject.overseaDDosDefendFlow = std::stol(value["OverseaDDosDefendFlow"].asString()); + if(!value["SearchEngineLines"].isNull()) + dnsProductsObject.searchEngineLines = value["SearchEngineLines"].asString(); + if(!value["ISPLines"].isNull()) + dnsProductsObject.iSPLines = value["ISPLines"].asString(); + if(!value["ISPRegionLines"].isNull()) + dnsProductsObject.iSPRegionLines = value["ISPRegionLines"].asString(); + if(!value["OverseaLine"].isNull()) + dnsProductsObject.overseaLine = value["OverseaLine"].asString(); + if(!value["MonitorNodeCount"].isNull()) + dnsProductsObject.monitorNodeCount = std::stol(value["MonitorNodeCount"].asString()); + if(!value["MonitorFrequency"].isNull()) + dnsProductsObject.monitorFrequency = std::stol(value["MonitorFrequency"].asString()); + if(!value["MonitorTaskCount"].isNull()) + dnsProductsObject.monitorTaskCount = std::stol(value["MonitorTaskCount"].asString()); + if(!value["RegionLines"].isNull()) + dnsProductsObject.regionLines = value["RegionLines"].asString() == "true"; + if(!value["Gslb"].isNull()) + dnsProductsObject.gslb = value["Gslb"].asString() == "true"; + if(!value["InClean"].isNull()) + dnsProductsObject.inClean = value["InClean"].asString() == "true"; + if(!value["InBlackHole"].isNull()) + dnsProductsObject.inBlackHole = value["InBlackHole"].asString() == "true"; + if(!value["BindDomainCount"].isNull()) + dnsProductsObject.bindDomainCount = std::stol(value["BindDomainCount"].asString()); + if(!value["BindDomainUsedCount"].isNull()) + dnsProductsObject.bindDomainUsedCount = std::stol(value["BindDomainUsedCount"].asString()); + if(!value["DnsSecurity"].isNull()) + dnsProductsObject.dnsSecurity = value["DnsSecurity"].asString(); + dnsProducts_.push_back(dnsProductsObject); + } + 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 DescribeDnsProductInstancesResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeDnsProductInstancesResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeDnsProductInstancesResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeDnsProductInstancesResult::getDnsProducts()const +{ + return dnsProducts_; +} + diff --git a/alidns/src/model/DescribeDomainGroupsRequest.cc b/alidns/src/model/DescribeDomainGroupsRequest.cc new file mode 100644 index 000000000..397a12389 --- /dev/null +++ b/alidns/src/model/DescribeDomainGroupsRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeDomainGroupsRequest; + +DescribeDomainGroupsRequest::DescribeDomainGroupsRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainGroups") +{} + +DescribeDomainGroupsRequest::~DescribeDomainGroupsRequest() +{} + +std::string DescribeDomainGroupsRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeDomainGroupsRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +long DescribeDomainGroupsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeDomainGroupsRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeDomainGroupsRequest::getLang()const +{ + return lang_; +} + +void DescribeDomainGroupsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeDomainGroupsRequest::getKeyWord()const +{ + return keyWord_; +} + +void DescribeDomainGroupsRequest::setKeyWord(const std::string& keyWord) +{ + keyWord_ = keyWord; + setParameter("KeyWord", keyWord); +} + +long DescribeDomainGroupsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeDomainGroupsRequest::setPageNumber(long pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeDomainGroupsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeDomainGroupsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/DescribeDomainGroupsResult.cc b/alidns/src/model/DescribeDomainGroupsResult.cc new file mode 100644 index 000000000..9f79b7e4f --- /dev/null +++ b/alidns/src/model/DescribeDomainGroupsResult.cc @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeDomainGroupsResult::DescribeDomainGroupsResult() : + ServiceResult() +{} + +DescribeDomainGroupsResult::DescribeDomainGroupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainGroupsResult::~DescribeDomainGroupsResult() +{} + +void DescribeDomainGroupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDomainGroups = value["DomainGroups"]["DomainGroup"]; + for (auto value : allDomainGroups) + { + DomainGroup domainGroupsObject; + if(!value["GroupId"].isNull()) + domainGroupsObject.groupId = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + domainGroupsObject.groupName = value["GroupName"].asString(); + if(!value["DomainCount"].isNull()) + domainGroupsObject.domainCount = std::stol(value["DomainCount"].asString()); + domainGroups_.push_back(domainGroupsObject); + } + 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()); + +} + +std::vector DescribeDomainGroupsResult::getDomainGroups()const +{ + return domainGroups_; +} + +long DescribeDomainGroupsResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeDomainGroupsResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeDomainGroupsResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/alidns/src/model/DescribeDomainInfoRequest.cc b/alidns/src/model/DescribeDomainInfoRequest.cc new file mode 100644 index 000000000..c9a379e0d --- /dev/null +++ b/alidns/src/model/DescribeDomainInfoRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::DescribeDomainInfoRequest; + +DescribeDomainInfoRequest::DescribeDomainInfoRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainInfo") +{} + +DescribeDomainInfoRequest::~DescribeDomainInfoRequest() +{} + +std::string DescribeDomainInfoRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeDomainInfoRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DescribeDomainInfoRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeDomainInfoRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeDomainInfoRequest::getLang()const +{ + return lang_; +} + +void DescribeDomainInfoRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeDomainInfoRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeDomainInfoRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +bool DescribeDomainInfoRequest::getNeedDetailAttributes()const +{ + return needDetailAttributes_; +} + +void DescribeDomainInfoRequest::setNeedDetailAttributes(bool needDetailAttributes) +{ + needDetailAttributes_ = needDetailAttributes; + setParameter("NeedDetailAttributes", needDetailAttributes ? "true" : "false"); +} + diff --git a/alidns/src/model/DescribeDomainInfoResult.cc b/alidns/src/model/DescribeDomainInfoResult.cc new file mode 100644 index 000000000..d5b5f124a --- /dev/null +++ b/alidns/src/model/DescribeDomainInfoResult.cc @@ -0,0 +1,199 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeDomainInfoResult::DescribeDomainInfoResult() : + ServiceResult() +{} + +DescribeDomainInfoResult::DescribeDomainInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainInfoResult::~DescribeDomainInfoResult() +{} + +void DescribeDomainInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allRecordLines = value["RecordLines"]["RecordLine"]; + for (auto value : allRecordLines) + { + RecordLine recordLinesObject; + if(!value["LineCode"].isNull()) + recordLinesObject.lineCode = value["LineCode"].asString(); + if(!value["FatherCode"].isNull()) + recordLinesObject.fatherCode = value["FatherCode"].asString(); + if(!value["LineName"].isNull()) + recordLinesObject.lineName = value["LineName"].asString(); + if(!value["LineDisplayName"].isNull()) + recordLinesObject.lineDisplayName = value["LineDisplayName"].asString(); + recordLines_.push_back(recordLinesObject); + } + auto allDnsServers = value["DnsServers"]["DnsServer"]; + for (const auto &item : allDnsServers) + dnsServers_.push_back(item.asString()); + auto allAvailableTtls = value["AvailableTtls"]["AvailableTtl"]; + for (const auto &item : allAvailableTtls) + availableTtls_.push_back(item.asString()); + if(!value["DomainId"].isNull()) + domainId_ = value["DomainId"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["PunyCode"].isNull()) + punyCode_ = value["PunyCode"].asString(); + if(!value["AliDomain"].isNull()) + aliDomain_ = value["AliDomain"].asString() == "true"; + if(!value["Remark"].isNull()) + remark_ = value["Remark"].asString(); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + if(!value["VersionCode"].isNull()) + versionCode_ = value["VersionCode"].asString(); + if(!value["VersionName"].isNull()) + versionName_ = value["VersionName"].asString(); + if(!value["MinTtl"].isNull()) + minTtl_ = std::stol(value["MinTtl"].asString()); + if(!value["RecordLineTreeJson"].isNull()) + recordLineTreeJson_ = value["RecordLineTreeJson"].asString(); + if(!value["LineType"].isNull()) + lineType_ = value["LineType"].asString(); + if(!value["RegionLines"].isNull()) + regionLines_ = value["RegionLines"].asString() == "true"; + if(!value["InBlackHole"].isNull()) + inBlackHole_ = value["InBlackHole"].asString() == "true"; + if(!value["InClean"].isNull()) + inClean_ = value["InClean"].asString() == "true"; + if(!value["SlaveDns"].isNull()) + slaveDns_ = value["SlaveDns"].asString() == "true"; + +} + +std::string DescribeDomainInfoResult::getGroupName()const +{ + return groupName_; +} + +std::string DescribeDomainInfoResult::getRecordLineTreeJson()const +{ + return recordLineTreeJson_; +} + +bool DescribeDomainInfoResult::getInBlackHole()const +{ + return inBlackHole_; +} + +bool DescribeDomainInfoResult::getRegionLines()const +{ + return regionLines_; +} + +bool DescribeDomainInfoResult::getAliDomain()const +{ + return aliDomain_; +} + +bool DescribeDomainInfoResult::getSlaveDns()const +{ + return slaveDns_; +} + +std::string DescribeDomainInfoResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDomainInfoResult::getInstanceId()const +{ + return instanceId_; +} + +std::string DescribeDomainInfoResult::getPunyCode()const +{ + return punyCode_; +} + +std::vector DescribeDomainInfoResult::getDnsServers()const +{ + return dnsServers_; +} + +std::string DescribeDomainInfoResult::getRemark()const +{ + return remark_; +} + +std::string DescribeDomainInfoResult::getGroupId()const +{ + return groupId_; +} + +std::vector DescribeDomainInfoResult::getRecordLines()const +{ + return recordLines_; +} + +std::string DescribeDomainInfoResult::getVersionCode()const +{ + return versionCode_; +} + +std::string DescribeDomainInfoResult::getDomainId()const +{ + return domainId_; +} + +std::vector DescribeDomainInfoResult::getAvailableTtls()const +{ + return availableTtls_; +} + +std::string DescribeDomainInfoResult::getVersionName()const +{ + return versionName_; +} + +long DescribeDomainInfoResult::getMinTtl()const +{ + return minTtl_; +} + +bool DescribeDomainInfoResult::getInClean()const +{ + return inClean_; +} + +std::string DescribeDomainInfoResult::getLineType()const +{ + return lineType_; +} + diff --git a/alidns/src/model/DescribeDomainLogsRequest.cc b/alidns/src/model/DescribeDomainLogsRequest.cc new file mode 100644 index 000000000..e52687304 --- /dev/null +++ b/alidns/src/model/DescribeDomainLogsRequest.cc @@ -0,0 +1,126 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::DescribeDomainLogsRequest; + +DescribeDomainLogsRequest::DescribeDomainLogsRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainLogs") +{} + +DescribeDomainLogsRequest::~DescribeDomainLogsRequest() +{} + +std::string DescribeDomainLogsRequest::getEndDate()const +{ + return endDate_; +} + +void DescribeDomainLogsRequest::setEndDate(const std::string& endDate) +{ + endDate_ = endDate; + setParameter("EndDate", endDate); +} + +std::string DescribeDomainLogsRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeDomainLogsRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +std::string DescribeDomainLogsRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeDomainLogsRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +long DescribeDomainLogsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeDomainLogsRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeDomainLogsRequest::getLang()const +{ + return lang_; +} + +void DescribeDomainLogsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeDomainLogsRequest::getKeyWord()const +{ + return keyWord_; +} + +void DescribeDomainLogsRequest::setKeyWord(const std::string& keyWord) +{ + keyWord_ = keyWord; + setParameter("KeyWord", keyWord); +} + +std::string DescribeDomainLogsRequest::getStartDate()const +{ + return startDate_; +} + +void DescribeDomainLogsRequest::setStartDate(const std::string& startDate) +{ + startDate_ = startDate; + setParameter("StartDate", startDate); +} + +std::string DescribeDomainLogsRequest::getType()const +{ + return type_; +} + +void DescribeDomainLogsRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +long DescribeDomainLogsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeDomainLogsRequest::setPageNumber(long pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + diff --git a/alidns/src/model/DescribeDomainLogsResult.cc b/alidns/src/model/DescribeDomainLogsResult.cc new file mode 100644 index 000000000..e6150c63a --- /dev/null +++ b/alidns/src/model/DescribeDomainLogsResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeDomainLogsResult::DescribeDomainLogsResult() : + ServiceResult() +{} + +DescribeDomainLogsResult::DescribeDomainLogsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainLogsResult::~DescribeDomainLogsResult() +{} + +void DescribeDomainLogsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDomainLogs = value["DomainLogs"]["DomainLog"]; + for (auto value : allDomainLogs) + { + DomainLog domainLogsObject; + if(!value["ActionTime"].isNull()) + domainLogsObject.actionTime = value["ActionTime"].asString(); + if(!value["ActionTimestamp"].isNull()) + domainLogsObject.actionTimestamp = std::stol(value["ActionTimestamp"].asString()); + if(!value["DomainName"].isNull()) + domainLogsObject.domainName = value["DomainName"].asString(); + if(!value["Action"].isNull()) + domainLogsObject.action = value["Action"].asString(); + if(!value["Message"].isNull()) + domainLogsObject.message = value["Message"].asString(); + if(!value["ClientIp"].isNull()) + domainLogsObject.clientIp = value["ClientIp"].asString(); + domainLogs_.push_back(domainLogsObject); + } + 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 DescribeDomainLogsResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeDomainLogsResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeDomainLogsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeDomainLogsResult::getDomainLogs()const +{ + return domainLogs_; +} + diff --git a/alidns/src/model/DescribeDomainNsRequest.cc b/alidns/src/model/DescribeDomainNsRequest.cc new file mode 100644 index 000000000..d76ae6bc9 --- /dev/null +++ b/alidns/src/model/DescribeDomainNsRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeDomainNsRequest; + +DescribeDomainNsRequest::DescribeDomainNsRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainNs") +{} + +DescribeDomainNsRequest::~DescribeDomainNsRequest() +{} + +std::string DescribeDomainNsRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeDomainNsRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DescribeDomainNsRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeDomainNsRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeDomainNsRequest::getLang()const +{ + return lang_; +} + +void DescribeDomainNsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeDomainNsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeDomainNsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/DescribeDomainNsResult.cc b/alidns/src/model/DescribeDomainNsResult.cc new file mode 100644 index 000000000..922287d64 --- /dev/null +++ b/alidns/src/model/DescribeDomainNsResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeDomainNsResult::DescribeDomainNsResult() : + ServiceResult() +{} + +DescribeDomainNsResult::DescribeDomainNsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainNsResult::~DescribeDomainNsResult() +{} + +void DescribeDomainNsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDnsServers = value["DnsServers"]["DnsServer"]; + for (const auto &item : allDnsServers) + dnsServers_.push_back(item.asString()); + auto allExpectDnsServers = value["ExpectDnsServers"]["ExpectDnsServer"]; + for (const auto &item : allExpectDnsServers) + expectDnsServers_.push_back(item.asString()); + if(!value["AllAliDns"].isNull()) + allAliDns_ = value["AllAliDns"].asString() == "true"; + if(!value["IncludeAliDns"].isNull()) + includeAliDns_ = value["IncludeAliDns"].asString() == "true"; + +} + +bool DescribeDomainNsResult::getAllAliDns()const +{ + return allAliDns_; +} + +std::vector DescribeDomainNsResult::getExpectDnsServers()const +{ + return expectDnsServers_; +} + +std::vector DescribeDomainNsResult::getDnsServers()const +{ + return dnsServers_; +} + +bool DescribeDomainNsResult::getIncludeAliDns()const +{ + return includeAliDns_; +} + diff --git a/alidns/src/model/DescribeDomainRecordInfoRequest.cc b/alidns/src/model/DescribeDomainRecordInfoRequest.cc new file mode 100644 index 000000000..36e6af47b --- /dev/null +++ b/alidns/src/model/DescribeDomainRecordInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeDomainRecordInfoRequest; + +DescribeDomainRecordInfoRequest::DescribeDomainRecordInfoRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainRecordInfo") +{} + +DescribeDomainRecordInfoRequest::~DescribeDomainRecordInfoRequest() +{} + +std::string DescribeDomainRecordInfoRequest::getRecordId()const +{ + return recordId_; +} + +void DescribeDomainRecordInfoRequest::setRecordId(const std::string& recordId) +{ + recordId_ = recordId; + setParameter("RecordId", recordId); +} + +std::string DescribeDomainRecordInfoRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeDomainRecordInfoRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DescribeDomainRecordInfoRequest::getLang()const +{ + return lang_; +} + +void DescribeDomainRecordInfoRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeDomainRecordInfoRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeDomainRecordInfoRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/DescribeDomainRecordInfoResult.cc b/alidns/src/model/DescribeDomainRecordInfoResult.cc new file mode 100644 index 000000000..fbcd9ddea --- /dev/null +++ b/alidns/src/model/DescribeDomainRecordInfoResult.cc @@ -0,0 +1,143 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeDomainRecordInfoResult::DescribeDomainRecordInfoResult() : + ServiceResult() +{} + +DescribeDomainRecordInfoResult::DescribeDomainRecordInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainRecordInfoResult::~DescribeDomainRecordInfoResult() +{} + +void DescribeDomainRecordInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["DomainId"].isNull()) + domainId_ = value["DomainId"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["PunyCode"].isNull()) + punyCode_ = value["PunyCode"].asString(); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + if(!value["RecordId"].isNull()) + recordId_ = value["RecordId"].asString(); + if(!value["RR"].isNull()) + rR_ = value["RR"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["Value"].isNull()) + value_ = value["Value"].asString(); + if(!value["TTL"].isNull()) + tTL_ = std::stol(value["TTL"].asString()); + if(!value["Priority"].isNull()) + priority_ = std::stol(value["Priority"].asString()); + if(!value["Line"].isNull()) + line_ = value["Line"].asString(); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["Locked"].isNull()) + locked_ = value["Locked"].asString() == "true"; + +} + +std::string DescribeDomainRecordInfoResult::getGroupName()const +{ + return groupName_; +} + +std::string DescribeDomainRecordInfoResult::getRR()const +{ + return rR_; +} + +std::string DescribeDomainRecordInfoResult::getStatus()const +{ + return status_; +} + +std::string DescribeDomainRecordInfoResult::getDomainName()const +{ + return domainName_; +} + +long DescribeDomainRecordInfoResult::getPriority()const +{ + return priority_; +} + +std::string DescribeDomainRecordInfoResult::getPunyCode()const +{ + return punyCode_; +} + +long DescribeDomainRecordInfoResult::getTTL()const +{ + return tTL_; +} + +std::string DescribeDomainRecordInfoResult::getGroupId()const +{ + return groupId_; +} + +std::string DescribeDomainRecordInfoResult::getLine()const +{ + return line_; +} + +bool DescribeDomainRecordInfoResult::getLocked()const +{ + return locked_; +} + +std::string DescribeDomainRecordInfoResult::getType()const +{ + return type_; +} + +std::string DescribeDomainRecordInfoResult::getDomainId()const +{ + return domainId_; +} + +std::string DescribeDomainRecordInfoResult::getValue()const +{ + return value_; +} + +std::string DescribeDomainRecordInfoResult::getRecordId()const +{ + return recordId_; +} + diff --git a/alidns/src/model/DescribeDomainRecordsRequest.cc b/alidns/src/model/DescribeDomainRecordsRequest.cc new file mode 100644 index 000000000..94c91d253 --- /dev/null +++ b/alidns/src/model/DescribeDomainRecordsRequest.cc @@ -0,0 +1,170 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::DescribeDomainRecordsRequest; + +DescribeDomainRecordsRequest::DescribeDomainRecordsRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainRecords") +{} + +DescribeDomainRecordsRequest::~DescribeDomainRecordsRequest() +{} + +std::string DescribeDomainRecordsRequest::getValueKeyWord()const +{ + return valueKeyWord_; +} + +void DescribeDomainRecordsRequest::setValueKeyWord(const std::string& valueKeyWord) +{ + valueKeyWord_ = valueKeyWord; + setParameter("ValueKeyWord", valueKeyWord); +} + +long DescribeDomainRecordsRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeDomainRecordsRequest::setGroupId(long groupId) +{ + groupId_ = groupId; + setParameter("GroupId", std::to_string(groupId)); +} + +std::string DescribeDomainRecordsRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeDomainRecordsRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeDomainRecordsRequest::getOrderBy()const +{ + return orderBy_; +} + +void DescribeDomainRecordsRequest::setOrderBy(const std::string& orderBy) +{ + orderBy_ = orderBy; + setParameter("OrderBy", orderBy); +} + +long DescribeDomainRecordsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeDomainRecordsRequest::setPageNumber(long pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeDomainRecordsRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeDomainRecordsRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +long DescribeDomainRecordsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeDomainRecordsRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeDomainRecordsRequest::getSearchMode()const +{ + return searchMode_; +} + +void DescribeDomainRecordsRequest::setSearchMode(const std::string& searchMode) +{ + searchMode_ = searchMode; + setParameter("SearchMode", searchMode); +} + +std::string DescribeDomainRecordsRequest::getLang()const +{ + return lang_; +} + +void DescribeDomainRecordsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeDomainRecordsRequest::getKeyWord()const +{ + return keyWord_; +} + +void DescribeDomainRecordsRequest::setKeyWord(const std::string& keyWord) +{ + keyWord_ = keyWord; + setParameter("KeyWord", keyWord); +} + +std::string DescribeDomainRecordsRequest::getTypeKeyWord()const +{ + return typeKeyWord_; +} + +void DescribeDomainRecordsRequest::setTypeKeyWord(const std::string& typeKeyWord) +{ + typeKeyWord_ = typeKeyWord; + setParameter("TypeKeyWord", typeKeyWord); +} + +std::string DescribeDomainRecordsRequest::getRRKeyWord()const +{ + return rRKeyWord_; +} + +void DescribeDomainRecordsRequest::setRRKeyWord(const std::string& rRKeyWord) +{ + rRKeyWord_ = rRKeyWord; + setParameter("RRKeyWord", rRKeyWord); +} + +std::string DescribeDomainRecordsRequest::getDirection()const +{ + return direction_; +} + +void DescribeDomainRecordsRequest::setDirection(const std::string& direction) +{ + direction_ = direction; + setParameter("Direction", direction); +} + diff --git a/alidns/src/model/DescribeDomainRecordsResult.cc b/alidns/src/model/DescribeDomainRecordsResult.cc new file mode 100644 index 000000000..b4376a4e1 --- /dev/null +++ b/alidns/src/model/DescribeDomainRecordsResult.cc @@ -0,0 +1,101 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeDomainRecordsResult::DescribeDomainRecordsResult() : + ServiceResult() +{} + +DescribeDomainRecordsResult::DescribeDomainRecordsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainRecordsResult::~DescribeDomainRecordsResult() +{} + +void DescribeDomainRecordsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDomainRecords = value["DomainRecords"]["Record"]; + for (auto value : allDomainRecords) + { + Record domainRecordsObject; + if(!value["DomainName"].isNull()) + domainRecordsObject.domainName = value["DomainName"].asString(); + if(!value["RecordId"].isNull()) + domainRecordsObject.recordId = value["RecordId"].asString(); + if(!value["RR"].isNull()) + domainRecordsObject.rR = value["RR"].asString(); + if(!value["Type"].isNull()) + domainRecordsObject.type = value["Type"].asString(); + if(!value["Value"].isNull()) + domainRecordsObject.value = value["Value"].asString(); + if(!value["TTL"].isNull()) + domainRecordsObject.tTL = std::stol(value["TTL"].asString()); + if(!value["Priority"].isNull()) + domainRecordsObject.priority = std::stol(value["Priority"].asString()); + if(!value["Line"].isNull()) + domainRecordsObject.line = value["Line"].asString(); + if(!value["Status"].isNull()) + domainRecordsObject.status = value["Status"].asString(); + if(!value["Locked"].isNull()) + domainRecordsObject.locked = value["Locked"].asString() == "true"; + if(!value["Weight"].isNull()) + domainRecordsObject.weight = std::stoi(value["Weight"].asString()); + if(!value["Remark"].isNull()) + domainRecordsObject.remark = value["Remark"].asString(); + domainRecords_.push_back(domainRecordsObject); + } + 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 DescribeDomainRecordsResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeDomainRecordsResult::getDomainRecords()const +{ + return domainRecords_; +} + +long DescribeDomainRecordsResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeDomainRecordsResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/alidns/src/model/DescribeDomainsRequest.cc b/alidns/src/model/DescribeDomainsRequest.cc new file mode 100644 index 000000000..4c3abf649 --- /dev/null +++ b/alidns/src/model/DescribeDomainsRequest.cc @@ -0,0 +1,104 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::DescribeDomainsRequest; + +DescribeDomainsRequest::DescribeDomainsRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeDomains") +{} + +DescribeDomainsRequest::~DescribeDomainsRequest() +{} + +std::string DescribeDomainsRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeDomainsRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +std::string DescribeDomainsRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeDomainsRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +long DescribeDomainsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeDomainsRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeDomainsRequest::getSearchMode()const +{ + return searchMode_; +} + +void DescribeDomainsRequest::setSearchMode(const std::string& searchMode) +{ + searchMode_ = searchMode; + setParameter("SearchMode", searchMode); +} + +std::string DescribeDomainsRequest::getLang()const +{ + return lang_; +} + +void DescribeDomainsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeDomainsRequest::getKeyWord()const +{ + return keyWord_; +} + +void DescribeDomainsRequest::setKeyWord(const std::string& keyWord) +{ + keyWord_ = keyWord; + setParameter("KeyWord", keyWord); +} + +long DescribeDomainsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeDomainsRequest::setPageNumber(long pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + diff --git a/alidns/src/model/DescribeDomainsResult.cc b/alidns/src/model/DescribeDomainsResult.cc new file mode 100644 index 000000000..59e942ac6 --- /dev/null +++ b/alidns/src/model/DescribeDomainsResult.cc @@ -0,0 +1,108 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeDomainsResult::DescribeDomainsResult() : + ServiceResult() +{} + +DescribeDomainsResult::DescribeDomainsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainsResult::~DescribeDomainsResult() +{} + +void DescribeDomainsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDomains = value["Domains"]["Domain"]; + for (auto value : allDomains) + { + Domain domainsObject; + if(!value["DomainId"].isNull()) + domainsObject.domainId = value["DomainId"].asString(); + if(!value["DomainName"].isNull()) + domainsObject.domainName = value["DomainName"].asString(); + if(!value["PunyCode"].isNull()) + domainsObject.punyCode = value["PunyCode"].asString(); + if(!value["AliDomain"].isNull()) + domainsObject.aliDomain = value["AliDomain"].asString() == "true"; + if(!value["RecordCount"].isNull()) + domainsObject.recordCount = std::stol(value["RecordCount"].asString()); + if(!value["RegistrantEmail"].isNull()) + domainsObject.registrantEmail = value["RegistrantEmail"].asString(); + if(!value["Remark"].isNull()) + domainsObject.remark = value["Remark"].asString(); + if(!value["GroupId"].isNull()) + domainsObject.groupId = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + domainsObject.groupName = value["GroupName"].asString(); + if(!value["InstanceId"].isNull()) + domainsObject.instanceId = value["InstanceId"].asString(); + if(!value["VersionCode"].isNull()) + domainsObject.versionCode = value["VersionCode"].asString(); + if(!value["VersionName"].isNull()) + domainsObject.versionName = value["VersionName"].asString(); + if(!value["InstanceEndTime"].isNull()) + domainsObject.instanceEndTime = value["InstanceEndTime"].asString(); + if(!value["InstanceExpired"].isNull()) + domainsObject.instanceExpired = value["InstanceExpired"].asString() == "true"; + auto allDnsServers = value["DnsServers"]["DnsServer"]; + for (auto value : allDnsServers) + domainsObject.dnsServers.push_back(value.asString()); + domains_.push_back(domainsObject); + } + 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()); + +} + +std::vector DescribeDomainsResult::getDomains()const +{ + return domains_; +} + +long DescribeDomainsResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeDomainsResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeDomainsResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/alidns/src/model/DescribeGtmAccessStrategiesRequest.cc b/alidns/src/model/DescribeGtmAccessStrategiesRequest.cc new file mode 100644 index 000000000..0d5f4abb7 --- /dev/null +++ b/alidns/src/model/DescribeGtmAccessStrategiesRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::DescribeGtmAccessStrategiesRequest; + +DescribeGtmAccessStrategiesRequest::DescribeGtmAccessStrategiesRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmAccessStrategies") +{} + +DescribeGtmAccessStrategiesRequest::~DescribeGtmAccessStrategiesRequest() +{} + +std::string DescribeGtmAccessStrategiesRequest::getInstanceId()const +{ + return instanceId_; +} + +void DescribeGtmAccessStrategiesRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + +std::string DescribeGtmAccessStrategiesRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeGtmAccessStrategiesRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +int DescribeGtmAccessStrategiesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeGtmAccessStrategiesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeGtmAccessStrategiesRequest::getLang()const +{ + return lang_; +} + +void DescribeGtmAccessStrategiesRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +int DescribeGtmAccessStrategiesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeGtmAccessStrategiesRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + diff --git a/alidns/src/model/DescribeGtmAccessStrategiesResult.cc b/alidns/src/model/DescribeGtmAccessStrategiesResult.cc new file mode 100644 index 000000000..5d4d0ac90 --- /dev/null +++ b/alidns/src/model/DescribeGtmAccessStrategiesResult.cc @@ -0,0 +1,122 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeGtmAccessStrategiesResult::DescribeGtmAccessStrategiesResult() : + ServiceResult() +{} + +DescribeGtmAccessStrategiesResult::DescribeGtmAccessStrategiesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGtmAccessStrategiesResult::~DescribeGtmAccessStrategiesResult() +{} + +void DescribeGtmAccessStrategiesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allStrategies = value["Strategies"]["Strategy"]; + for (auto value : allStrategies) + { + Strategy strategiesObject; + if(!value["StrategyId"].isNull()) + strategiesObject.strategyId = value["StrategyId"].asString(); + if(!value["StrategyName"].isNull()) + strategiesObject.strategyName = value["StrategyName"].asString(); + if(!value["CreateTime"].isNull()) + strategiesObject.createTime = value["CreateTime"].asString(); + if(!value["CreateTimestamp"].isNull()) + strategiesObject.createTimestamp = std::stol(value["CreateTimestamp"].asString()); + if(!value["DefaultAddrPoolId"].isNull()) + strategiesObject.defaultAddrPoolId = value["DefaultAddrPoolId"].asString(); + if(!value["DefaultAddrPoolName"].isNull()) + strategiesObject.defaultAddrPoolName = value["DefaultAddrPoolName"].asString(); + if(!value["FailoverAddrPoolId"].isNull()) + strategiesObject.failoverAddrPoolId = value["FailoverAddrPoolId"].asString(); + if(!value["FailoverAddrPoolName"].isNull()) + strategiesObject.failoverAddrPoolName = value["FailoverAddrPoolName"].asString(); + if(!value["AccessMode"].isNull()) + strategiesObject.accessMode = value["AccessMode"].asString(); + if(!value["AccessStatus"].isNull()) + strategiesObject.accessStatus = value["AccessStatus"].asString(); + if(!value["StrategyMode"].isNull()) + strategiesObject.strategyMode = value["StrategyMode"].asString(); + if(!value["InstanceId"].isNull()) + strategiesObject.instanceId = value["InstanceId"].asString(); + auto allLines = value["Lines"]["Line"]; + for (auto value : allLines) + { + Strategy::Line linesObject; + if(!value["LineCode"].isNull()) + linesObject.lineCode = value["LineCode"].asString(); + if(!value["LineName"].isNull()) + linesObject.lineName = value["LineName"].asString(); + if(!value["GroupCode"].isNull()) + linesObject.groupCode = value["GroupCode"].asString(); + if(!value["GroupName"].isNull()) + linesObject.groupName = value["GroupName"].asString(); + strategiesObject.lines.push_back(linesObject); + } + strategies_.push_back(strategiesObject); + } + if(!value["TotalItems"].isNull()) + totalItems_ = std::stoi(value["TotalItems"].asString()); + if(!value["TotalPages"].isNull()) + totalPages_ = std::stoi(value["TotalPages"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + +} + +int DescribeGtmAccessStrategiesResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeGtmAccessStrategiesResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeGtmAccessStrategiesResult::getStrategies()const +{ + return strategies_; +} + +int DescribeGtmAccessStrategiesResult::getTotalPages()const +{ + return totalPages_; +} + +int DescribeGtmAccessStrategiesResult::getTotalItems()const +{ + return totalItems_; +} + diff --git a/alidns/src/model/DescribeGtmAccessStrategyAvailableConfigRequest.cc b/alidns/src/model/DescribeGtmAccessStrategyAvailableConfigRequest.cc new file mode 100644 index 000000000..799ff3b86 --- /dev/null +++ b/alidns/src/model/DescribeGtmAccessStrategyAvailableConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeGtmAccessStrategyAvailableConfigRequest; + +DescribeGtmAccessStrategyAvailableConfigRequest::DescribeGtmAccessStrategyAvailableConfigRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmAccessStrategyAvailableConfig") +{} + +DescribeGtmAccessStrategyAvailableConfigRequest::~DescribeGtmAccessStrategyAvailableConfigRequest() +{} + +std::string DescribeGtmAccessStrategyAvailableConfigRequest::getInstanceId()const +{ + return instanceId_; +} + +void DescribeGtmAccessStrategyAvailableConfigRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + +std::string DescribeGtmAccessStrategyAvailableConfigRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeGtmAccessStrategyAvailableConfigRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DescribeGtmAccessStrategyAvailableConfigRequest::getLang()const +{ + return lang_; +} + +void DescribeGtmAccessStrategyAvailableConfigRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/alidns/src/model/DescribeGtmAccessStrategyAvailableConfigResult.cc b/alidns/src/model/DescribeGtmAccessStrategyAvailableConfigResult.cc new file mode 100644 index 000000000..0ba177e92 --- /dev/null +++ b/alidns/src/model/DescribeGtmAccessStrategyAvailableConfigResult.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeGtmAccessStrategyAvailableConfigResult::DescribeGtmAccessStrategyAvailableConfigResult() : + ServiceResult() +{} + +DescribeGtmAccessStrategyAvailableConfigResult::DescribeGtmAccessStrategyAvailableConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGtmAccessStrategyAvailableConfigResult::~DescribeGtmAccessStrategyAvailableConfigResult() +{} + +void DescribeGtmAccessStrategyAvailableConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allAddrPools = value["AddrPools"]["AddrPool"]; + for (auto value : allAddrPools) + { + AddrPool addrPoolsObject; + if(!value["AddrPoolId"].isNull()) + addrPoolsObject.addrPoolId = value["AddrPoolId"].asString(); + if(!value["AddrPoolName"].isNull()) + addrPoolsObject.addrPoolName = value["AddrPoolName"].asString(); + addrPools_.push_back(addrPoolsObject); + } + auto allLines = value["Lines"]["Line"]; + for (auto value : allLines) + { + Line linesObject; + if(!value["LineCode"].isNull()) + linesObject.lineCode = value["LineCode"].asString(); + if(!value["LineName"].isNull()) + linesObject.lineName = value["LineName"].asString(); + if(!value["GroupCode"].isNull()) + linesObject.groupCode = value["GroupCode"].asString(); + if(!value["GroupName"].isNull()) + linesObject.groupName = value["GroupName"].asString(); + if(!value["Status"].isNull()) + linesObject.status = value["Status"].asString(); + lines_.push_back(linesObject); + } + +} + +std::vector DescribeGtmAccessStrategyAvailableConfigResult::getAddrPools()const +{ + return addrPools_; +} + +std::vector DescribeGtmAccessStrategyAvailableConfigResult::getLines()const +{ + return lines_; +} + diff --git a/alidns/src/model/DescribeGtmAccessStrategyRequest.cc b/alidns/src/model/DescribeGtmAccessStrategyRequest.cc new file mode 100644 index 000000000..b23c06de4 --- /dev/null +++ b/alidns/src/model/DescribeGtmAccessStrategyRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeGtmAccessStrategyRequest; + +DescribeGtmAccessStrategyRequest::DescribeGtmAccessStrategyRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmAccessStrategy") +{} + +DescribeGtmAccessStrategyRequest::~DescribeGtmAccessStrategyRequest() +{} + +std::string DescribeGtmAccessStrategyRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeGtmAccessStrategyRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DescribeGtmAccessStrategyRequest::getStrategyId()const +{ + return strategyId_; +} + +void DescribeGtmAccessStrategyRequest::setStrategyId(const std::string& strategyId) +{ + strategyId_ = strategyId; + setParameter("StrategyId", strategyId); +} + +std::string DescribeGtmAccessStrategyRequest::getLang()const +{ + return lang_; +} + +void DescribeGtmAccessStrategyRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/alidns/src/model/DescribeGtmAccessStrategyResult.cc b/alidns/src/model/DescribeGtmAccessStrategyResult.cc new file mode 100644 index 000000000..d1dfb82c4 --- /dev/null +++ b/alidns/src/model/DescribeGtmAccessStrategyResult.cc @@ -0,0 +1,134 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeGtmAccessStrategyResult::DescribeGtmAccessStrategyResult() : + ServiceResult() +{} + +DescribeGtmAccessStrategyResult::DescribeGtmAccessStrategyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGtmAccessStrategyResult::~DescribeGtmAccessStrategyResult() +{} + +void DescribeGtmAccessStrategyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLines = value["Lines"]["Line"]; + for (auto value : allLines) + { + Line linesObject; + if(!value["LineCode"].isNull()) + linesObject.lineCode = value["LineCode"].asString(); + if(!value["LineName"].isNull()) + linesObject.lineName = value["LineName"].asString(); + if(!value["GroupCode"].isNull()) + linesObject.groupCode = value["GroupCode"].asString(); + if(!value["GroupName"].isNull()) + linesObject.groupName = value["GroupName"].asString(); + lines_.push_back(linesObject); + } + if(!value["StrategyId"].isNull()) + strategyId_ = value["StrategyId"].asString(); + if(!value["StrategyName"].isNull()) + strategyName_ = value["StrategyName"].asString(); + if(!value["DefultAddrPoolId"].isNull()) + defultAddrPoolId_ = value["DefultAddrPoolId"].asString(); + if(!value["DefaultAddrPoolName"].isNull()) + defaultAddrPoolName_ = value["DefaultAddrPoolName"].asString(); + if(!value["FailoverAddrPoolId"].isNull()) + failoverAddrPoolId_ = value["FailoverAddrPoolId"].asString(); + if(!value["FailoverAddrPoolName"].isNull()) + failoverAddrPoolName_ = value["FailoverAddrPoolName"].asString(); + if(!value["StrategyMode"].isNull()) + strategyMode_ = value["StrategyMode"].asString(); + if(!value["AccessMode"].isNull()) + accessMode_ = value["AccessMode"].asString(); + if(!value["AccessStatus"].isNull()) + accessStatus_ = value["AccessStatus"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + +} + +std::string DescribeGtmAccessStrategyResult::getDefaultAddrPoolName()const +{ + return defaultAddrPoolName_; +} + +std::string DescribeGtmAccessStrategyResult::getDefultAddrPoolId()const +{ + return defultAddrPoolId_; +} + +std::string DescribeGtmAccessStrategyResult::getStrategyName()const +{ + return strategyName_; +} + +std::string DescribeGtmAccessStrategyResult::getInstanceId()const +{ + return instanceId_; +} + +std::string DescribeGtmAccessStrategyResult::getStrategyId()const +{ + return strategyId_; +} + +std::string DescribeGtmAccessStrategyResult::getAccessMode()const +{ + return accessMode_; +} + +std::string DescribeGtmAccessStrategyResult::getStrategyMode()const +{ + return strategyMode_; +} + +std::string DescribeGtmAccessStrategyResult::getFailoverAddrPoolName()const +{ + return failoverAddrPoolName_; +} + +std::string DescribeGtmAccessStrategyResult::getFailoverAddrPoolId()const +{ + return failoverAddrPoolId_; +} + +std::vector DescribeGtmAccessStrategyResult::getLines()const +{ + return lines_; +} + +std::string DescribeGtmAccessStrategyResult::getAccessStatus()const +{ + return accessStatus_; +} + diff --git a/alidns/src/model/DescribeGtmAvailableAlertGroupRequest.cc b/alidns/src/model/DescribeGtmAvailableAlertGroupRequest.cc new file mode 100644 index 000000000..e45f1d084 --- /dev/null +++ b/alidns/src/model/DescribeGtmAvailableAlertGroupRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeGtmAvailableAlertGroupRequest; + +DescribeGtmAvailableAlertGroupRequest::DescribeGtmAvailableAlertGroupRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmAvailableAlertGroup") +{} + +DescribeGtmAvailableAlertGroupRequest::~DescribeGtmAvailableAlertGroupRequest() +{} + +std::string DescribeGtmAvailableAlertGroupRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeGtmAvailableAlertGroupRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DescribeGtmAvailableAlertGroupRequest::getLang()const +{ + return lang_; +} + +void DescribeGtmAvailableAlertGroupRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/alidns/src/model/DescribeGtmAvailableAlertGroupResult.cc b/alidns/src/model/DescribeGtmAvailableAlertGroupResult.cc new file mode 100644 index 000000000..8fcec9a22 --- /dev/null +++ b/alidns/src/model/DescribeGtmAvailableAlertGroupResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeGtmAvailableAlertGroupResult::DescribeGtmAvailableAlertGroupResult() : + ServiceResult() +{} + +DescribeGtmAvailableAlertGroupResult::DescribeGtmAvailableAlertGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGtmAvailableAlertGroupResult::~DescribeGtmAvailableAlertGroupResult() +{} + +void DescribeGtmAvailableAlertGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["AvailableAlertGroup"].isNull()) + availableAlertGroup_ = value["AvailableAlertGroup"].asString(); + +} + +std::string DescribeGtmAvailableAlertGroupResult::getAvailableAlertGroup()const +{ + return availableAlertGroup_; +} + diff --git a/alidns/src/model/DescribeGtmInstanceAddressPoolRequest.cc b/alidns/src/model/DescribeGtmInstanceAddressPoolRequest.cc new file mode 100644 index 000000000..deba9bb7c --- /dev/null +++ b/alidns/src/model/DescribeGtmInstanceAddressPoolRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeGtmInstanceAddressPoolRequest; + +DescribeGtmInstanceAddressPoolRequest::DescribeGtmInstanceAddressPoolRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmInstanceAddressPool") +{} + +DescribeGtmInstanceAddressPoolRequest::~DescribeGtmInstanceAddressPoolRequest() +{} + +std::string DescribeGtmInstanceAddressPoolRequest::getAddrPoolId()const +{ + return addrPoolId_; +} + +void DescribeGtmInstanceAddressPoolRequest::setAddrPoolId(const std::string& addrPoolId) +{ + addrPoolId_ = addrPoolId; + setParameter("AddrPoolId", addrPoolId); +} + +std::string DescribeGtmInstanceAddressPoolRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeGtmInstanceAddressPoolRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DescribeGtmInstanceAddressPoolRequest::getLang()const +{ + return lang_; +} + +void DescribeGtmInstanceAddressPoolRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/alidns/src/model/DescribeGtmInstanceAddressPoolResult.cc b/alidns/src/model/DescribeGtmInstanceAddressPoolResult.cc new file mode 100644 index 000000000..baa76d61f --- /dev/null +++ b/alidns/src/model/DescribeGtmInstanceAddressPoolResult.cc @@ -0,0 +1,158 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeGtmInstanceAddressPoolResult::DescribeGtmInstanceAddressPoolResult() : + ServiceResult() +{} + +DescribeGtmInstanceAddressPoolResult::DescribeGtmInstanceAddressPoolResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGtmInstanceAddressPoolResult::~DescribeGtmInstanceAddressPoolResult() +{} + +void DescribeGtmInstanceAddressPoolResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allAddrs = value["Addrs"]["Addr"]; + for (auto value : allAddrs) + { + Addr addrsObject; + if(!value["AddrId"].isNull()) + addrsObject.addrId = std::stol(value["AddrId"].asString()); + if(!value["CreateTime"].isNull()) + addrsObject.createTime = value["CreateTime"].asString(); + if(!value["CreateTimestamp"].isNull()) + addrsObject.createTimestamp = std::stol(value["CreateTimestamp"].asString()); + if(!value["UpdateTime"].isNull()) + addrsObject.updateTime = value["UpdateTime"].asString(); + if(!value["UpdateTimestamp"].isNull()) + addrsObject.updateTimestamp = std::stol(value["UpdateTimestamp"].asString()); + if(!value["Value"].isNull()) + addrsObject.value = value["Value"].asString(); + if(!value["LbaWeight"].isNull()) + addrsObject.lbaWeight = std::stoi(value["LbaWeight"].asString()); + if(!value["Mode"].isNull()) + addrsObject.mode = value["Mode"].asString(); + if(!value["AlertStatus"].isNull()) + addrsObject.alertStatus = value["AlertStatus"].asString(); + addrs_.push_back(addrsObject); + } + if(!value["AddrPoolId"].isNull()) + addrPoolId_ = value["AddrPoolId"].asString(); + if(!value["CreateTime"].isNull()) + createTime_ = value["CreateTime"].asString(); + if(!value["CreateTimestamp"].isNull()) + createTimestamp_ = std::stol(value["CreateTimestamp"].asString()); + if(!value["UpdateTime"].isNull()) + updateTime_ = value["UpdateTime"].asString(); + if(!value["UpdateTimestamp"].isNull()) + updateTimestamp_ = std::stol(value["UpdateTimestamp"].asString()); + if(!value["AddrCount"].isNull()) + addrCount_ = std::stoi(value["AddrCount"].asString()); + if(!value["MinAvailableAddrNum"].isNull()) + minAvailableAddrNum_ = std::stoi(value["MinAvailableAddrNum"].asString()); + if(!value["MonitorConfigId"].isNull()) + monitorConfigId_ = value["MonitorConfigId"].asString(); + if(!value["MonitorStatus"].isNull()) + monitorStatus_ = value["MonitorStatus"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + +} + +std::vector DescribeGtmInstanceAddressPoolResult::getAddrs()const +{ + return addrs_; +} + +std::string DescribeGtmInstanceAddressPoolResult::getStatus()const +{ + return status_; +} + +std::string DescribeGtmInstanceAddressPoolResult::getCreateTime()const +{ + return createTime_; +} + +int DescribeGtmInstanceAddressPoolResult::getAddrCount()const +{ + return addrCount_; +} + +std::string DescribeGtmInstanceAddressPoolResult::getName()const +{ + return name_; +} + +std::string DescribeGtmInstanceAddressPoolResult::getType()const +{ + return type_; +} + +std::string DescribeGtmInstanceAddressPoolResult::getAddrPoolId()const +{ + return addrPoolId_; +} + +std::string DescribeGtmInstanceAddressPoolResult::getUpdateTime()const +{ + return updateTime_; +} + +long DescribeGtmInstanceAddressPoolResult::getUpdateTimestamp()const +{ + return updateTimestamp_; +} + +int DescribeGtmInstanceAddressPoolResult::getMinAvailableAddrNum()const +{ + return minAvailableAddrNum_; +} + +std::string DescribeGtmInstanceAddressPoolResult::getMonitorConfigId()const +{ + return monitorConfigId_; +} + +long DescribeGtmInstanceAddressPoolResult::getCreateTimestamp()const +{ + return createTimestamp_; +} + +std::string DescribeGtmInstanceAddressPoolResult::getMonitorStatus()const +{ + return monitorStatus_; +} + diff --git a/alidns/src/model/DescribeGtmInstanceAddressPoolsRequest.cc b/alidns/src/model/DescribeGtmInstanceAddressPoolsRequest.cc new file mode 100644 index 000000000..87ea8177b --- /dev/null +++ b/alidns/src/model/DescribeGtmInstanceAddressPoolsRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::DescribeGtmInstanceAddressPoolsRequest; + +DescribeGtmInstanceAddressPoolsRequest::DescribeGtmInstanceAddressPoolsRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmInstanceAddressPools") +{} + +DescribeGtmInstanceAddressPoolsRequest::~DescribeGtmInstanceAddressPoolsRequest() +{} + +std::string DescribeGtmInstanceAddressPoolsRequest::getInstanceId()const +{ + return instanceId_; +} + +void DescribeGtmInstanceAddressPoolsRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + +std::string DescribeGtmInstanceAddressPoolsRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeGtmInstanceAddressPoolsRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +int DescribeGtmInstanceAddressPoolsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeGtmInstanceAddressPoolsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeGtmInstanceAddressPoolsRequest::getLang()const +{ + return lang_; +} + +void DescribeGtmInstanceAddressPoolsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +int DescribeGtmInstanceAddressPoolsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeGtmInstanceAddressPoolsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + diff --git a/alidns/src/model/DescribeGtmInstanceAddressPoolsResult.cc b/alidns/src/model/DescribeGtmInstanceAddressPoolsResult.cc new file mode 100644 index 000000000..a09db650a --- /dev/null +++ b/alidns/src/model/DescribeGtmInstanceAddressPoolsResult.cc @@ -0,0 +1,108 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeGtmInstanceAddressPoolsResult::DescribeGtmInstanceAddressPoolsResult() : + ServiceResult() +{} + +DescribeGtmInstanceAddressPoolsResult::DescribeGtmInstanceAddressPoolsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGtmInstanceAddressPoolsResult::~DescribeGtmInstanceAddressPoolsResult() +{} + +void DescribeGtmInstanceAddressPoolsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allAddrPools = value["AddrPools"]["AddrPool"]; + for (auto value : allAddrPools) + { + AddrPool addrPoolsObject; + if(!value["AddrPoolId"].isNull()) + addrPoolsObject.addrPoolId = value["AddrPoolId"].asString(); + if(!value["CreateTime"].isNull()) + addrPoolsObject.createTime = value["CreateTime"].asString(); + if(!value["CreateTimestamp"].isNull()) + addrPoolsObject.createTimestamp = std::stol(value["CreateTimestamp"].asString()); + if(!value["UpdateTime"].isNull()) + addrPoolsObject.updateTime = value["UpdateTime"].asString(); + if(!value["UpdateTimestamp"].isNull()) + addrPoolsObject.updateTimestamp = std::stol(value["UpdateTimestamp"].asString()); + if(!value["AddrCount"].isNull()) + addrPoolsObject.addrCount = std::stoi(value["AddrCount"].asString()); + if(!value["MinAvailableAddrNum"].isNull()) + addrPoolsObject.minAvailableAddrNum = std::stoi(value["MinAvailableAddrNum"].asString()); + if(!value["MonitorConfigId"].isNull()) + addrPoolsObject.monitorConfigId = value["MonitorConfigId"].asString(); + if(!value["MonitorStatus"].isNull()) + addrPoolsObject.monitorStatus = value["MonitorStatus"].asString(); + if(!value["Name"].isNull()) + addrPoolsObject.name = value["Name"].asString(); + if(!value["Status"].isNull()) + addrPoolsObject.status = value["Status"].asString(); + if(!value["Type"].isNull()) + addrPoolsObject.type = value["Type"].asString(); + addrPools_.push_back(addrPoolsObject); + } + if(!value["TotalItems"].isNull()) + totalItems_ = std::stoi(value["TotalItems"].asString()); + if(!value["TotalPages"].isNull()) + totalPages_ = std::stoi(value["TotalPages"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + +} + +int DescribeGtmInstanceAddressPoolsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeGtmInstanceAddressPoolsResult::getPageNumber()const +{ + return pageNumber_; +} + +int DescribeGtmInstanceAddressPoolsResult::getTotalPages()const +{ + return totalPages_; +} + +int DescribeGtmInstanceAddressPoolsResult::getTotalItems()const +{ + return totalItems_; +} + +std::vector DescribeGtmInstanceAddressPoolsResult::getAddrPools()const +{ + return addrPools_; +} + diff --git a/alidns/src/model/DescribeGtmInstanceRequest.cc b/alidns/src/model/DescribeGtmInstanceRequest.cc new file mode 100644 index 000000000..270866d82 --- /dev/null +++ b/alidns/src/model/DescribeGtmInstanceRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeGtmInstanceRequest; + +DescribeGtmInstanceRequest::DescribeGtmInstanceRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmInstance") +{} + +DescribeGtmInstanceRequest::~DescribeGtmInstanceRequest() +{} + +std::string DescribeGtmInstanceRequest::getInstanceId()const +{ + return instanceId_; +} + +void DescribeGtmInstanceRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + +std::string DescribeGtmInstanceRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeGtmInstanceRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DescribeGtmInstanceRequest::getLang()const +{ + return lang_; +} + +void DescribeGtmInstanceRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/alidns/src/model/DescribeGtmInstanceResult.cc b/alidns/src/model/DescribeGtmInstanceResult.cc new file mode 100644 index 000000000..7ddf04b13 --- /dev/null +++ b/alidns/src/model/DescribeGtmInstanceResult.cc @@ -0,0 +1,129 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeGtmInstanceResult::DescribeGtmInstanceResult() : + ServiceResult() +{} + +DescribeGtmInstanceResult::DescribeGtmInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGtmInstanceResult::~DescribeGtmInstanceResult() +{} + +void DescribeGtmInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + if(!value["InstanceName"].isNull()) + instanceName_ = value["InstanceName"].asString(); + if(!value["VersionCode"].isNull()) + versionCode_ = value["VersionCode"].asString(); + if(!value["ExpireTime"].isNull()) + expireTime_ = value["ExpireTime"].asString(); + if(!value["ExpireTimestamp"].isNull()) + expireTimestamp_ = std::stol(value["ExpireTimestamp"].asString()); + if(!value["Cname"].isNull()) + cname_ = value["Cname"].asString(); + if(!value["UserDomainName"].isNull()) + userDomainName_ = value["UserDomainName"].asString(); + if(!value["Ttl"].isNull()) + ttl_ = std::stoi(value["Ttl"].asString()); + if(!value["LbaStrategy"].isNull()) + lbaStrategy_ = value["LbaStrategy"].asString(); + if(!value["CreateTime"].isNull()) + createTime_ = value["CreateTime"].asString(); + if(!value["CreateTimestamp"].isNull()) + createTimestamp_ = std::stol(value["CreateTimestamp"].asString()); + if(!value["AlertGroup"].isNull()) + alertGroup_ = value["AlertGroup"].asString(); + +} + +std::string DescribeGtmInstanceResult::getInstanceName()const +{ + return instanceName_; +} + +std::string DescribeGtmInstanceResult::getVersionCode()const +{ + return versionCode_; +} + +long DescribeGtmInstanceResult::getExpireTimestamp()const +{ + return expireTimestamp_; +} + +std::string DescribeGtmInstanceResult::getUserDomainName()const +{ + return userDomainName_; +} + +std::string DescribeGtmInstanceResult::getAlertGroup()const +{ + return alertGroup_; +} + +std::string DescribeGtmInstanceResult::getLbaStrategy()const +{ + return lbaStrategy_; +} + +std::string DescribeGtmInstanceResult::getInstanceId()const +{ + return instanceId_; +} + +std::string DescribeGtmInstanceResult::getCreateTime()const +{ + return createTime_; +} + +std::string DescribeGtmInstanceResult::getExpireTime()const +{ + return expireTime_; +} + +std::string DescribeGtmInstanceResult::getCname()const +{ + return cname_; +} + +int DescribeGtmInstanceResult::getTtl()const +{ + return ttl_; +} + +long DescribeGtmInstanceResult::getCreateTimestamp()const +{ + return createTimestamp_; +} + diff --git a/alidns/src/model/DescribeGtmInstanceStatusRequest.cc b/alidns/src/model/DescribeGtmInstanceStatusRequest.cc new file mode 100644 index 000000000..dd68335cb --- /dev/null +++ b/alidns/src/model/DescribeGtmInstanceStatusRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeGtmInstanceStatusRequest; + +DescribeGtmInstanceStatusRequest::DescribeGtmInstanceStatusRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmInstanceStatus") +{} + +DescribeGtmInstanceStatusRequest::~DescribeGtmInstanceStatusRequest() +{} + +std::string DescribeGtmInstanceStatusRequest::getInstanceId()const +{ + return instanceId_; +} + +void DescribeGtmInstanceStatusRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + +std::string DescribeGtmInstanceStatusRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeGtmInstanceStatusRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DescribeGtmInstanceStatusRequest::getLang()const +{ + return lang_; +} + +void DescribeGtmInstanceStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/alidns/src/model/DescribeGtmInstanceStatusResult.cc b/alidns/src/model/DescribeGtmInstanceStatusResult.cc new file mode 100644 index 000000000..15e2e66ab --- /dev/null +++ b/alidns/src/model/DescribeGtmInstanceStatusResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeGtmInstanceStatusResult::DescribeGtmInstanceStatusResult() : + ServiceResult() +{} + +DescribeGtmInstanceStatusResult::DescribeGtmInstanceStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGtmInstanceStatusResult::~DescribeGtmInstanceStatusResult() +{} + +void DescribeGtmInstanceStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["AccessStatus"].isNull()) + accessStatus_ = value["AccessStatus"].asString(); + if(!value["AlertStatus"].isNull()) + alertStatus_ = value["AlertStatus"].asString(); + +} + +std::string DescribeGtmInstanceStatusResult::getAlertStatus()const +{ + return alertStatus_; +} + +std::string DescribeGtmInstanceStatusResult::getAccessStatus()const +{ + return accessStatus_; +} + diff --git a/alidns/src/model/DescribeGtmInstancesRequest.cc b/alidns/src/model/DescribeGtmInstancesRequest.cc new file mode 100644 index 000000000..8fe595093 --- /dev/null +++ b/alidns/src/model/DescribeGtmInstancesRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::DescribeGtmInstancesRequest; + +DescribeGtmInstancesRequest::DescribeGtmInstancesRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmInstances") +{} + +DescribeGtmInstancesRequest::~DescribeGtmInstancesRequest() +{} + +std::string DescribeGtmInstancesRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeGtmInstancesRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +int DescribeGtmInstancesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeGtmInstancesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeGtmInstancesRequest::getLang()const +{ + return lang_; +} + +void DescribeGtmInstancesRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeGtmInstancesRequest::getKeyword()const +{ + return keyword_; +} + +void DescribeGtmInstancesRequest::setKeyword(const std::string& keyword) +{ + keyword_ = keyword; + setParameter("Keyword", keyword); +} + +int DescribeGtmInstancesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeGtmInstancesRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + diff --git a/alidns/src/model/DescribeGtmInstancesResult.cc b/alidns/src/model/DescribeGtmInstancesResult.cc new file mode 100644 index 000000000..cce64bdbe --- /dev/null +++ b/alidns/src/model/DescribeGtmInstancesResult.cc @@ -0,0 +1,108 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeGtmInstancesResult::DescribeGtmInstancesResult() : + ServiceResult() +{} + +DescribeGtmInstancesResult::DescribeGtmInstancesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGtmInstancesResult::~DescribeGtmInstancesResult() +{} + +void DescribeGtmInstancesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allGtmInstances = value["GtmInstances"]["GtmInstance"]; + for (auto value : allGtmInstances) + { + GtmInstance gtmInstancesObject; + if(!value["InstanceId"].isNull()) + gtmInstancesObject.instanceId = value["InstanceId"].asString(); + if(!value["InstanceName"].isNull()) + gtmInstancesObject.instanceName = value["InstanceName"].asString(); + if(!value["Cname"].isNull()) + gtmInstancesObject.cname = value["Cname"].asString(); + if(!value["UserDomainName"].isNull()) + gtmInstancesObject.userDomainName = value["UserDomainName"].asString(); + if(!value["VersionCode"].isNull()) + gtmInstancesObject.versionCode = value["VersionCode"].asString(); + if(!value["Ttl"].isNull()) + gtmInstancesObject.ttl = std::stoi(value["Ttl"].asString()); + if(!value["LbaStrategy"].isNull()) + gtmInstancesObject.lbaStrategy = value["LbaStrategy"].asString(); + if(!value["CreateTime"].isNull()) + gtmInstancesObject.createTime = value["CreateTime"].asString(); + if(!value["CreateTimestamp"].isNull()) + gtmInstancesObject.createTimestamp = std::stol(value["CreateTimestamp"].asString()); + if(!value["ExpireTime"].isNull()) + gtmInstancesObject.expireTime = value["ExpireTime"].asString(); + if(!value["ExpireTimestamp"].isNull()) + gtmInstancesObject.expireTimestamp = std::stol(value["ExpireTimestamp"].asString()); + if(!value["AlertGroup"].isNull()) + gtmInstancesObject.alertGroup = value["AlertGroup"].asString(); + gtmInstances_.push_back(gtmInstancesObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalItems"].isNull()) + totalItems_ = std::stoi(value["TotalItems"].asString()); + if(!value["TotalPages"].isNull()) + totalPages_ = std::stoi(value["TotalPages"].asString()); + +} + +int DescribeGtmInstancesResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeGtmInstancesResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeGtmInstancesResult::getGtmInstances()const +{ + return gtmInstances_; +} + +int DescribeGtmInstancesResult::getTotalPages()const +{ + return totalPages_; +} + +int DescribeGtmInstancesResult::getTotalItems()const +{ + return totalItems_; +} + diff --git a/alidns/src/model/DescribeGtmLogsRequest.cc b/alidns/src/model/DescribeGtmLogsRequest.cc new file mode 100644 index 000000000..e35b48269 --- /dev/null +++ b/alidns/src/model/DescribeGtmLogsRequest.cc @@ -0,0 +1,115 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::DescribeGtmLogsRequest; + +DescribeGtmLogsRequest::DescribeGtmLogsRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmLogs") +{} + +DescribeGtmLogsRequest::~DescribeGtmLogsRequest() +{} + +std::string DescribeGtmLogsRequest::getInstanceId()const +{ + return instanceId_; +} + +void DescribeGtmLogsRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + +std::string DescribeGtmLogsRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeGtmLogsRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +int DescribeGtmLogsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeGtmLogsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeGtmLogsRequest::getLang()const +{ + return lang_; +} + +void DescribeGtmLogsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeGtmLogsRequest::getKeyword()const +{ + return keyword_; +} + +void DescribeGtmLogsRequest::setKeyword(const std::string& keyword) +{ + keyword_ = keyword; + setParameter("Keyword", keyword); +} + +long DescribeGtmLogsRequest::getStartTimestamp()const +{ + return startTimestamp_; +} + +void DescribeGtmLogsRequest::setStartTimestamp(long startTimestamp) +{ + startTimestamp_ = startTimestamp; + setParameter("StartTimestamp", std::to_string(startTimestamp)); +} + +int DescribeGtmLogsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeGtmLogsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +long DescribeGtmLogsRequest::getEndTimestamp()const +{ + return endTimestamp_; +} + +void DescribeGtmLogsRequest::setEndTimestamp(long endTimestamp) +{ + endTimestamp_ = endTimestamp; + setParameter("EndTimestamp", std::to_string(endTimestamp)); +} + diff --git a/alidns/src/model/DescribeGtmLogsResult.cc b/alidns/src/model/DescribeGtmLogsResult.cc new file mode 100644 index 000000000..fdde7e5c1 --- /dev/null +++ b/alidns/src/model/DescribeGtmLogsResult.cc @@ -0,0 +1,102 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeGtmLogsResult::DescribeGtmLogsResult() : + ServiceResult() +{} + +DescribeGtmLogsResult::DescribeGtmLogsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGtmLogsResult::~DescribeGtmLogsResult() +{} + +void DescribeGtmLogsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allLogs = value["Logs"]["Log"]; + for (auto value : allLogs) + { + Log logsObject; + if(!value["OperTime"].isNull()) + logsObject.operTime = value["OperTime"].asString(); + if(!value["OperAction"].isNull()) + logsObject.operAction = value["OperAction"].asString(); + if(!value["EntityType"].isNull()) + logsObject.entityType = value["EntityType"].asString(); + if(!value["EntityId"].isNull()) + logsObject.entityId = value["EntityId"].asString(); + if(!value["EntityName"].isNull()) + logsObject.entityName = value["EntityName"].asString(); + if(!value["OperIp"].isNull()) + logsObject.operIp = value["OperIp"].asString(); + if(!value["OperTimestamp"].isNull()) + logsObject.operTimestamp = std::stol(value["OperTimestamp"].asString()); + if(!value["Id"].isNull()) + logsObject.id = std::stol(value["Id"].asString()); + if(!value["Content"].isNull()) + logsObject.content = value["Content"].asString(); + logs_.push_back(logsObject); + } + if(!value["TotalItems"].isNull()) + totalItems_ = std::stoi(value["TotalItems"].asString()); + if(!value["TotalPages"].isNull()) + totalPages_ = std::stoi(value["TotalPages"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + +} + +int DescribeGtmLogsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeGtmLogsResult::getPageNumber()const +{ + return pageNumber_; +} + +int DescribeGtmLogsResult::getTotalPages()const +{ + return totalPages_; +} + +std::vector DescribeGtmLogsResult::getLogs()const +{ + return logs_; +} + +int DescribeGtmLogsResult::getTotalItems()const +{ + return totalItems_; +} + diff --git a/alidns/src/model/DescribeGtmMonitorAvailableConfigRequest.cc b/alidns/src/model/DescribeGtmMonitorAvailableConfigRequest.cc new file mode 100644 index 000000000..f617db627 --- /dev/null +++ b/alidns/src/model/DescribeGtmMonitorAvailableConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeGtmMonitorAvailableConfigRequest; + +DescribeGtmMonitorAvailableConfigRequest::DescribeGtmMonitorAvailableConfigRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmMonitorAvailableConfig") +{} + +DescribeGtmMonitorAvailableConfigRequest::~DescribeGtmMonitorAvailableConfigRequest() +{} + +std::string DescribeGtmMonitorAvailableConfigRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeGtmMonitorAvailableConfigRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DescribeGtmMonitorAvailableConfigRequest::getLang()const +{ + return lang_; +} + +void DescribeGtmMonitorAvailableConfigRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/alidns/src/model/DescribeGtmMonitorAvailableConfigResult.cc b/alidns/src/model/DescribeGtmMonitorAvailableConfigResult.cc new file mode 100644 index 000000000..248bf9376 --- /dev/null +++ b/alidns/src/model/DescribeGtmMonitorAvailableConfigResult.cc @@ -0,0 +1,68 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeGtmMonitorAvailableConfigResult::DescribeGtmMonitorAvailableConfigResult() : + ServiceResult() +{} + +DescribeGtmMonitorAvailableConfigResult::DescribeGtmMonitorAvailableConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGtmMonitorAvailableConfigResult::~DescribeGtmMonitorAvailableConfigResult() +{} + +void DescribeGtmMonitorAvailableConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allIspCityNodes = value["IspCityNodes"]["IspCityNode"]; + for (auto value : allIspCityNodes) + { + IspCityNode ispCityNodesObject; + if(!value["IspName"].isNull()) + ispCityNodesObject.ispName = value["IspName"].asString(); + if(!value["IspCode"].isNull()) + ispCityNodesObject.ispCode = value["IspCode"].asString(); + if(!value["CityName"].isNull()) + ispCityNodesObject.cityName = value["CityName"].asString(); + if(!value["CityCode"].isNull()) + ispCityNodesObject.cityCode = value["CityCode"].asString(); + if(!value["DefaultSelected"].isNull()) + ispCityNodesObject.defaultSelected = value["DefaultSelected"].asString() == "true"; + if(!value["Mainland"].isNull()) + ispCityNodesObject.mainland = value["Mainland"].asString() == "true"; + ispCityNodes_.push_back(ispCityNodesObject); + } + +} + +std::vector DescribeGtmMonitorAvailableConfigResult::getIspCityNodes()const +{ + return ispCityNodes_; +} + diff --git a/alidns/src/model/DescribeGtmMonitorConfigRequest.cc b/alidns/src/model/DescribeGtmMonitorConfigRequest.cc new file mode 100644 index 000000000..8f25707b6 --- /dev/null +++ b/alidns/src/model/DescribeGtmMonitorConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeGtmMonitorConfigRequest; + +DescribeGtmMonitorConfigRequest::DescribeGtmMonitorConfigRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmMonitorConfig") +{} + +DescribeGtmMonitorConfigRequest::~DescribeGtmMonitorConfigRequest() +{} + +std::string DescribeGtmMonitorConfigRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeGtmMonitorConfigRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DescribeGtmMonitorConfigRequest::getMonitorConfigId()const +{ + return monitorConfigId_; +} + +void DescribeGtmMonitorConfigRequest::setMonitorConfigId(const std::string& monitorConfigId) +{ + monitorConfigId_ = monitorConfigId; + setParameter("MonitorConfigId", monitorConfigId); +} + +std::string DescribeGtmMonitorConfigRequest::getLang()const +{ + return lang_; +} + +void DescribeGtmMonitorConfigRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/alidns/src/model/DescribeGtmMonitorConfigResult.cc b/alidns/src/model/DescribeGtmMonitorConfigResult.cc new file mode 100644 index 000000000..a377aba9b --- /dev/null +++ b/alidns/src/model/DescribeGtmMonitorConfigResult.cc @@ -0,0 +1,141 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeGtmMonitorConfigResult::DescribeGtmMonitorConfigResult() : + ServiceResult() +{} + +DescribeGtmMonitorConfigResult::DescribeGtmMonitorConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGtmMonitorConfigResult::~DescribeGtmMonitorConfigResult() +{} + +void DescribeGtmMonitorConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allIspCityNodes = value["IspCityNodes"]["IspCityNode"]; + for (auto value : allIspCityNodes) + { + IspCityNode ispCityNodesObject; + if(!value["CountryName"].isNull()) + ispCityNodesObject.countryName = value["CountryName"].asString(); + if(!value["CountryCode"].isNull()) + ispCityNodesObject.countryCode = value["CountryCode"].asString(); + if(!value["CityName"].isNull()) + ispCityNodesObject.cityName = value["CityName"].asString(); + if(!value["CityCode"].isNull()) + ispCityNodesObject.cityCode = value["CityCode"].asString(); + ispCityNodes_.push_back(ispCityNodesObject); + } + if(!value["MonitorConfigId"].isNull()) + monitorConfigId_ = value["MonitorConfigId"].asString(); + if(!value["CreateTime"].isNull()) + createTime_ = value["CreateTime"].asString(); + if(!value["CreateTimestamp"].isNull()) + createTimestamp_ = std::stol(value["CreateTimestamp"].asString()); + if(!value["UpdateTime"].isNull()) + updateTime_ = value["UpdateTime"].asString(); + if(!value["UpdateTimestamp"].isNull()) + updateTimestamp_ = std::stol(value["UpdateTimestamp"].asString()); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["ProtocolType"].isNull()) + protocolType_ = value["ProtocolType"].asString(); + if(!value["Interval"].isNull()) + interval_ = std::stoi(value["Interval"].asString()); + if(!value["EvaluationCount"].isNull()) + evaluationCount_ = std::stoi(value["EvaluationCount"].asString()); + if(!value["Timeout"].isNull()) + timeout_ = std::stoi(value["Timeout"].asString()); + if(!value["MonitorExtendInfo"].isNull()) + monitorExtendInfo_ = value["MonitorExtendInfo"].asString(); + +} + +std::vector DescribeGtmMonitorConfigResult::getIspCityNodes()const +{ + return ispCityNodes_; +} + +std::string DescribeGtmMonitorConfigResult::getProtocolType()const +{ + return protocolType_; +} + +int DescribeGtmMonitorConfigResult::getTimeout()const +{ + return timeout_; +} + +std::string DescribeGtmMonitorConfigResult::getCreateTime()const +{ + return createTime_; +} + +std::string DescribeGtmMonitorConfigResult::getUpdateTime()const +{ + return updateTime_; +} + +int DescribeGtmMonitorConfigResult::getEvaluationCount()const +{ + return evaluationCount_; +} + +long DescribeGtmMonitorConfigResult::getUpdateTimestamp()const +{ + return updateTimestamp_; +} + +std::string DescribeGtmMonitorConfigResult::getMonitorExtendInfo()const +{ + return monitorExtendInfo_; +} + +std::string DescribeGtmMonitorConfigResult::getMonitorConfigId()const +{ + return monitorConfigId_; +} + +long DescribeGtmMonitorConfigResult::getCreateTimestamp()const +{ + return createTimestamp_; +} + +std::string DescribeGtmMonitorConfigResult::getName()const +{ + return name_; +} + +int DescribeGtmMonitorConfigResult::getInterval()const +{ + return interval_; +} + diff --git a/alidns/src/model/DescribeRecordLogsRequest.cc b/alidns/src/model/DescribeRecordLogsRequest.cc new file mode 100644 index 000000000..2124df7e4 --- /dev/null +++ b/alidns/src/model/DescribeRecordLogsRequest.cc @@ -0,0 +1,126 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::DescribeRecordLogsRequest; + +DescribeRecordLogsRequest::DescribeRecordLogsRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeRecordLogs") +{} + +DescribeRecordLogsRequest::~DescribeRecordLogsRequest() +{} + +std::string DescribeRecordLogsRequest::getEndDate()const +{ + return endDate_; +} + +void DescribeRecordLogsRequest::setEndDate(const std::string& endDate) +{ + endDate_ = endDate; + setParameter("EndDate", endDate); +} + +std::string DescribeRecordLogsRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeRecordLogsRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DescribeRecordLogsRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeRecordLogsRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeRecordLogsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeRecordLogsRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeRecordLogsRequest::getLang()const +{ + return lang_; +} + +void DescribeRecordLogsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeRecordLogsRequest::getKeyWord()const +{ + return keyWord_; +} + +void DescribeRecordLogsRequest::setKeyWord(const std::string& keyWord) +{ + keyWord_ = keyWord; + setParameter("KeyWord", keyWord); +} + +std::string DescribeRecordLogsRequest::getStartDate()const +{ + return startDate_; +} + +void DescribeRecordLogsRequest::setStartDate(const std::string& startDate) +{ + startDate_ = startDate; + setParameter("StartDate", startDate); +} + +long DescribeRecordLogsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeRecordLogsRequest::setPageNumber(long pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeRecordLogsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeRecordLogsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/DescribeRecordLogsResult.cc b/alidns/src/model/DescribeRecordLogsResult.cc new file mode 100644 index 000000000..c7a859fc0 --- /dev/null +++ b/alidns/src/model/DescribeRecordLogsResult.cc @@ -0,0 +1,87 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeRecordLogsResult::DescribeRecordLogsResult() : + ServiceResult() +{} + +DescribeRecordLogsResult::DescribeRecordLogsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRecordLogsResult::~DescribeRecordLogsResult() +{} + +void DescribeRecordLogsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allRecordLogs = value["RecordLogs"]["RecordLog"]; + for (auto value : allRecordLogs) + { + RecordLog recordLogsObject; + if(!value["ActionTime"].isNull()) + recordLogsObject.actionTime = value["ActionTime"].asString(); + if(!value["ActionTimestamp"].isNull()) + recordLogsObject.actionTimestamp = std::stol(value["ActionTimestamp"].asString()); + if(!value["Action"].isNull()) + recordLogsObject.action = value["Action"].asString(); + if(!value["Message"].isNull()) + recordLogsObject.message = value["Message"].asString(); + if(!value["ClientIp"].isNull()) + recordLogsObject.clientIp = value["ClientIp"].asString(); + recordLogs_.push_back(recordLogsObject); + } + 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 DescribeRecordLogsResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeRecordLogsResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeRecordLogsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeRecordLogsResult::getRecordLogs()const +{ + return recordLogs_; +} + diff --git a/alidns/src/model/DescribeSubDomainRecordsRequest.cc b/alidns/src/model/DescribeSubDomainRecordsRequest.cc new file mode 100644 index 000000000..74ab7fdcd --- /dev/null +++ b/alidns/src/model/DescribeSubDomainRecordsRequest.cc @@ -0,0 +1,115 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::DescribeSubDomainRecordsRequest; + +DescribeSubDomainRecordsRequest::DescribeSubDomainRecordsRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeSubDomainRecords") +{} + +DescribeSubDomainRecordsRequest::~DescribeSubDomainRecordsRequest() +{} + +std::string DescribeSubDomainRecordsRequest::getLine()const +{ + return line_; +} + +void DescribeSubDomainRecordsRequest::setLine(const std::string& line) +{ + line_ = line; + setParameter("Line", line); +} + +std::string DescribeSubDomainRecordsRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeSubDomainRecordsRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +long DescribeSubDomainRecordsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeSubDomainRecordsRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeSubDomainRecordsRequest::getSubDomain()const +{ + return subDomain_; +} + +void DescribeSubDomainRecordsRequest::setSubDomain(const std::string& subDomain) +{ + subDomain_ = subDomain; + setParameter("SubDomain", subDomain); +} + +std::string DescribeSubDomainRecordsRequest::getLang()const +{ + return lang_; +} + +void DescribeSubDomainRecordsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeSubDomainRecordsRequest::getType()const +{ + return type_; +} + +void DescribeSubDomainRecordsRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +long DescribeSubDomainRecordsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeSubDomainRecordsRequest::setPageNumber(long pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeSubDomainRecordsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeSubDomainRecordsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/DescribeSubDomainRecordsResult.cc b/alidns/src/model/DescribeSubDomainRecordsResult.cc new file mode 100644 index 000000000..37970c161 --- /dev/null +++ b/alidns/src/model/DescribeSubDomainRecordsResult.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeSubDomainRecordsResult::DescribeSubDomainRecordsResult() : + ServiceResult() +{} + +DescribeSubDomainRecordsResult::DescribeSubDomainRecordsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSubDomainRecordsResult::~DescribeSubDomainRecordsResult() +{} + +void DescribeSubDomainRecordsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDomainRecords = value["DomainRecords"]["Record"]; + for (auto value : allDomainRecords) + { + Record domainRecordsObject; + if(!value["DomainName"].isNull()) + domainRecordsObject.domainName = value["DomainName"].asString(); + if(!value["RecordId"].isNull()) + domainRecordsObject.recordId = value["RecordId"].asString(); + if(!value["RR"].isNull()) + domainRecordsObject.rR = value["RR"].asString(); + if(!value["Type"].isNull()) + domainRecordsObject.type = value["Type"].asString(); + if(!value["Value"].isNull()) + domainRecordsObject.value = value["Value"].asString(); + if(!value["TTL"].isNull()) + domainRecordsObject.tTL = std::stol(value["TTL"].asString()); + if(!value["Priority"].isNull()) + domainRecordsObject.priority = std::stol(value["Priority"].asString()); + if(!value["Line"].isNull()) + domainRecordsObject.line = value["Line"].asString(); + if(!value["Status"].isNull()) + domainRecordsObject.status = value["Status"].asString(); + if(!value["Locked"].isNull()) + domainRecordsObject.locked = value["Locked"].asString() == "true"; + if(!value["Weight"].isNull()) + domainRecordsObject.weight = std::stoi(value["Weight"].asString()); + domainRecords_.push_back(domainRecordsObject); + } + 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 DescribeSubDomainRecordsResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeSubDomainRecordsResult::getDomainRecords()const +{ + return domainRecords_; +} + +long DescribeSubDomainRecordsResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeSubDomainRecordsResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/alidns/src/model/DescribeSupportLinesRequest.cc b/alidns/src/model/DescribeSupportLinesRequest.cc new file mode 100644 index 000000000..6cf92db47 --- /dev/null +++ b/alidns/src/model/DescribeSupportLinesRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::DescribeSupportLinesRequest; + +DescribeSupportLinesRequest::DescribeSupportLinesRequest() : + RpcServiceRequest("alidns", "2015-01-09", "DescribeSupportLines") +{} + +DescribeSupportLinesRequest::~DescribeSupportLinesRequest() +{} + +std::string DescribeSupportLinesRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void DescribeSupportLinesRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string DescribeSupportLinesRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeSupportLinesRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeSupportLinesRequest::getLang()const +{ + return lang_; +} + +void DescribeSupportLinesRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeSupportLinesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeSupportLinesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/DescribeSupportLinesResult.cc b/alidns/src/model/DescribeSupportLinesResult.cc new file mode 100644 index 000000000..f4b8f7c25 --- /dev/null +++ b/alidns/src/model/DescribeSupportLinesResult.cc @@ -0,0 +1,64 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +DescribeSupportLinesResult::DescribeSupportLinesResult() : + ServiceResult() +{} + +DescribeSupportLinesResult::DescribeSupportLinesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSupportLinesResult::~DescribeSupportLinesResult() +{} + +void DescribeSupportLinesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allRecordLines = value["RecordLines"]["RecordLine"]; + for (auto value : allRecordLines) + { + RecordLine recordLinesObject; + if(!value["LineCode"].isNull()) + recordLinesObject.lineCode = value["LineCode"].asString(); + if(!value["FatherCode"].isNull()) + recordLinesObject.fatherCode = value["FatherCode"].asString(); + if(!value["LineName"].isNull()) + recordLinesObject.lineName = value["LineName"].asString(); + if(!value["LineDisplayName"].isNull()) + recordLinesObject.lineDisplayName = value["LineDisplayName"].asString(); + recordLines_.push_back(recordLinesObject); + } + +} + +std::vector DescribeSupportLinesResult::getRecordLines()const +{ + return recordLines_; +} + diff --git a/alidns/src/model/GetMainDomainNameRequest.cc b/alidns/src/model/GetMainDomainNameRequest.cc new file mode 100644 index 000000000..2ee093048 --- /dev/null +++ b/alidns/src/model/GetMainDomainNameRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::GetMainDomainNameRequest; + +GetMainDomainNameRequest::GetMainDomainNameRequest() : + RpcServiceRequest("alidns", "2015-01-09", "GetMainDomainName") +{} + +GetMainDomainNameRequest::~GetMainDomainNameRequest() +{} + +std::string GetMainDomainNameRequest::getInputString()const +{ + return inputString_; +} + +void GetMainDomainNameRequest::setInputString(const std::string& inputString) +{ + inputString_ = inputString; + setParameter("InputString", inputString); +} + +std::string GetMainDomainNameRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void GetMainDomainNameRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string GetMainDomainNameRequest::getLang()const +{ + return lang_; +} + +void GetMainDomainNameRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string GetMainDomainNameRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void GetMainDomainNameRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/GetMainDomainNameResult.cc b/alidns/src/model/GetMainDomainNameResult.cc new file mode 100644 index 000000000..22b15c946 --- /dev/null +++ b/alidns/src/model/GetMainDomainNameResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +GetMainDomainNameResult::GetMainDomainNameResult() : + ServiceResult() +{} + +GetMainDomainNameResult::GetMainDomainNameResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetMainDomainNameResult::~GetMainDomainNameResult() +{} + +void GetMainDomainNameResult::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["DomainLevel"].isNull()) + domainLevel_ = std::stol(value["DomainLevel"].asString()); + +} + +std::string GetMainDomainNameResult::getRR()const +{ + return rR_; +} + +std::string GetMainDomainNameResult::getDomainName()const +{ + return domainName_; +} + +long GetMainDomainNameResult::getDomainLevel()const +{ + return domainLevel_; +} + diff --git a/alidns/src/model/ModifyHichinaDomainDNSRequest.cc b/alidns/src/model/ModifyHichinaDomainDNSRequest.cc new file mode 100644 index 000000000..75f0a8c5b --- /dev/null +++ b/alidns/src/model/ModifyHichinaDomainDNSRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::ModifyHichinaDomainDNSRequest; + +ModifyHichinaDomainDNSRequest::ModifyHichinaDomainDNSRequest() : + RpcServiceRequest("alidns", "2015-01-09", "ModifyHichinaDomainDNS") +{} + +ModifyHichinaDomainDNSRequest::~ModifyHichinaDomainDNSRequest() +{} + +std::string ModifyHichinaDomainDNSRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void ModifyHichinaDomainDNSRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string ModifyHichinaDomainDNSRequest::getDomainName()const +{ + return domainName_; +} + +void ModifyHichinaDomainDNSRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string ModifyHichinaDomainDNSRequest::getLang()const +{ + return lang_; +} + +void ModifyHichinaDomainDNSRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string ModifyHichinaDomainDNSRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyHichinaDomainDNSRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/ModifyHichinaDomainDNSResult.cc b/alidns/src/model/ModifyHichinaDomainDNSResult.cc new file mode 100644 index 000000000..a13d6b129 --- /dev/null +++ b/alidns/src/model/ModifyHichinaDomainDNSResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +ModifyHichinaDomainDNSResult::ModifyHichinaDomainDNSResult() : + ServiceResult() +{} + +ModifyHichinaDomainDNSResult::ModifyHichinaDomainDNSResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyHichinaDomainDNSResult::~ModifyHichinaDomainDNSResult() +{} + +void ModifyHichinaDomainDNSResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allOriginalDnsServers = value["OriginalDnsServers"]["DnsServer"]; + for (const auto &item : allOriginalDnsServers) + originalDnsServers_.push_back(item.asString()); + auto allNewDnsServers = value["NewDnsServers"]["DnsServer"]; + for (const auto &item : allNewDnsServers) + newDnsServers_.push_back(item.asString()); + +} + +std::vector ModifyHichinaDomainDNSResult::getNewDnsServers()const +{ + return newDnsServers_; +} + +std::vector ModifyHichinaDomainDNSResult::getOriginalDnsServers()const +{ + return originalDnsServers_; +} + diff --git a/alidns/src/model/OperateBatchDomainRequest.cc b/alidns/src/model/OperateBatchDomainRequest.cc new file mode 100644 index 000000000..a43b63388 --- /dev/null +++ b/alidns/src/model/OperateBatchDomainRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::OperateBatchDomainRequest; + +OperateBatchDomainRequest::OperateBatchDomainRequest() : + RpcServiceRequest("alidns", "2015-01-09", "OperateBatchDomain") +{} + +OperateBatchDomainRequest::~OperateBatchDomainRequest() +{} + +std::string OperateBatchDomainRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void OperateBatchDomainRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::vector OperateBatchDomainRequest::getDomainRecordInfo()const +{ + return domainRecordInfo_; +} + +void OperateBatchDomainRequest::setDomainRecordInfo(const std::vector& 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); + setParameter(str + ".Rr", obj.rr); + setParameter(str + ".Line", obj.line); + setParameter(str + ".Domain", obj.domain); + setParameter(str + ".Type", obj.type); + setParameter(str + ".Priority", std::to_string(obj.priority)); + setParameter(str + ".Value", obj.value); + setParameter(str + ".Ttl", std::to_string(obj.ttl)); + } +} + +std::string OperateBatchDomainRequest::getLang()const +{ + return lang_; +} + +void OperateBatchDomainRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string OperateBatchDomainRequest::getType()const +{ + return type_; +} + +void OperateBatchDomainRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + diff --git a/alidns/src/model/OperateBatchDomainResult.cc b/alidns/src/model/OperateBatchDomainResult.cc new file mode 100644 index 000000000..9c0d01193 --- /dev/null +++ b/alidns/src/model/OperateBatchDomainResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +OperateBatchDomainResult::OperateBatchDomainResult() : + ServiceResult() +{} + +OperateBatchDomainResult::OperateBatchDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +OperateBatchDomainResult::~OperateBatchDomainResult() +{} + +void OperateBatchDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["TaskId"].isNull()) + taskId_ = std::stol(value["TaskId"].asString()); + +} + +long OperateBatchDomainResult::getTaskId()const +{ + return taskId_; +} + diff --git a/alidns/src/model/QueryCreateInstancePriceRequest.cc b/alidns/src/model/QueryCreateInstancePriceRequest.cc new file mode 100644 index 000000000..095137ce7 --- /dev/null +++ b/alidns/src/model/QueryCreateInstancePriceRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alidns::Model::QueryCreateInstancePriceRequest; + +QueryCreateInstancePriceRequest::QueryCreateInstancePriceRequest() : + RpcServiceRequest("alidns", "2015-01-09", "QueryCreateInstancePrice") +{} + +QueryCreateInstancePriceRequest::~QueryCreateInstancePriceRequest() +{} + +int QueryCreateInstancePriceRequest::getMonth()const +{ + return month_; +} + +void QueryCreateInstancePriceRequest::setMonth(int month) +{ + month_ = month; + setParameter("Month", std::to_string(month)); +} + +std::string QueryCreateInstancePriceRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void QueryCreateInstancePriceRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string QueryCreateInstancePriceRequest::getLang()const +{ + return lang_; +} + +void QueryCreateInstancePriceRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string QueryCreateInstancePriceRequest::getInstanceVersion()const +{ + return instanceVersion_; +} + +void QueryCreateInstancePriceRequest::setInstanceVersion(const std::string& instanceVersion) +{ + instanceVersion_ = instanceVersion; + setParameter("InstanceVersion", instanceVersion); +} + +long QueryCreateInstancePriceRequest::getOwnerId()const +{ + return ownerId_; +} + +void QueryCreateInstancePriceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string QueryCreateInstancePriceRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void QueryCreateInstancePriceRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/QueryCreateInstancePriceResult.cc b/alidns/src/model/QueryCreateInstancePriceResult.cc new file mode 100644 index 000000000..fcc8c5b7c --- /dev/null +++ b/alidns/src/model/QueryCreateInstancePriceResult.cc @@ -0,0 +1,90 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +QueryCreateInstancePriceResult::QueryCreateInstancePriceResult() : + ServiceResult() +{} + +QueryCreateInstancePriceResult::QueryCreateInstancePriceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryCreateInstancePriceResult::~QueryCreateInstancePriceResult() +{} + +void QueryCreateInstancePriceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allRules = value["Rules"]["Rule"]; + for (auto value : allRules) + { + Rule rulesObject; + if(!value["RuleId"].isNull()) + rulesObject.ruleId = std::stol(value["RuleId"].asString()); + if(!value["Name"].isNull()) + rulesObject.name = value["Name"].asString(); + if(!value["Title"].isNull()) + rulesObject.title = value["Title"].asString(); + rules_.push_back(rulesObject); + } + if(!value["Origin"].isNull()) + origin_ = value["Origin"].asString(); + if(!value["Discount"].isNull()) + discount_ = value["Discount"].asString(); + if(!value["Amount"].isNull()) + amount_ = value["Amount"].asString(); + if(!value["Currency"].isNull()) + currency_ = value["Currency"].asString(); + +} + +std::string QueryCreateInstancePriceResult::getOrigin()const +{ + return origin_; +} + +std::string QueryCreateInstancePriceResult::getDiscount()const +{ + return discount_; +} + +std::string QueryCreateInstancePriceResult::getAmount()const +{ + return amount_; +} + +std::string QueryCreateInstancePriceResult::getCurrency()const +{ + return currency_; +} + +std::vector QueryCreateInstancePriceResult::getRules()const +{ + return rules_; +} + diff --git a/alidns/src/model/SetDNSSLBStatusRequest.cc b/alidns/src/model/SetDNSSLBStatusRequest.cc new file mode 100644 index 000000000..8a79019ef --- /dev/null +++ b/alidns/src/model/SetDNSSLBStatusRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::SetDNSSLBStatusRequest; + +SetDNSSLBStatusRequest::SetDNSSLBStatusRequest() : + RpcServiceRequest("alidns", "2015-01-09", "SetDNSSLBStatus") +{} + +SetDNSSLBStatusRequest::~SetDNSSLBStatusRequest() +{} + +std::string SetDNSSLBStatusRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void SetDNSSLBStatusRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string SetDNSSLBStatusRequest::getSubDomain()const +{ + return subDomain_; +} + +void SetDNSSLBStatusRequest::setSubDomain(const std::string& subDomain) +{ + subDomain_ = subDomain; + setParameter("SubDomain", subDomain); +} + +std::string SetDNSSLBStatusRequest::getLang()const +{ + return lang_; +} + +void SetDNSSLBStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +bool SetDNSSLBStatusRequest::getOpen()const +{ + return open_; +} + +void SetDNSSLBStatusRequest::setOpen(bool open) +{ + open_ = open; + setParameter("Open", open ? "true" : "false"); +} + +std::string SetDNSSLBStatusRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetDNSSLBStatusRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/SetDNSSLBStatusResult.cc b/alidns/src/model/SetDNSSLBStatusResult.cc new file mode 100644 index 000000000..a4c7e279e --- /dev/null +++ b/alidns/src/model/SetDNSSLBStatusResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +SetDNSSLBStatusResult::SetDNSSLBStatusResult() : + ServiceResult() +{} + +SetDNSSLBStatusResult::SetDNSSLBStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDNSSLBStatusResult::~SetDNSSLBStatusResult() +{} + +void SetDNSSLBStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["RecordCount"].isNull()) + recordCount_ = std::stol(value["RecordCount"].asString()); + if(!value["Open"].isNull()) + open_ = value["Open"].asString() == "true"; + +} + +long SetDNSSLBStatusResult::getRecordCount()const +{ + return recordCount_; +} + +bool SetDNSSLBStatusResult::getOpen()const +{ + return open_; +} + diff --git a/alidns/src/model/SetDomainRecordStatusRequest.cc b/alidns/src/model/SetDomainRecordStatusRequest.cc new file mode 100644 index 000000000..fde617682 --- /dev/null +++ b/alidns/src/model/SetDomainRecordStatusRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::SetDomainRecordStatusRequest; + +SetDomainRecordStatusRequest::SetDomainRecordStatusRequest() : + RpcServiceRequest("alidns", "2015-01-09", "SetDomainRecordStatus") +{} + +SetDomainRecordStatusRequest::~SetDomainRecordStatusRequest() +{} + +std::string SetDomainRecordStatusRequest::getRecordId()const +{ + return recordId_; +} + +void SetDomainRecordStatusRequest::setRecordId(const std::string& recordId) +{ + recordId_ = recordId; + setParameter("RecordId", recordId); +} + +std::string SetDomainRecordStatusRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void SetDomainRecordStatusRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string SetDomainRecordStatusRequest::getLang()const +{ + return lang_; +} + +void SetDomainRecordStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string SetDomainRecordStatusRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void SetDomainRecordStatusRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string SetDomainRecordStatusRequest::getStatus()const +{ + return status_; +} + +void SetDomainRecordStatusRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/alidns/src/model/SetDomainRecordStatusResult.cc b/alidns/src/model/SetDomainRecordStatusResult.cc new file mode 100644 index 000000000..7f550d012 --- /dev/null +++ b/alidns/src/model/SetDomainRecordStatusResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +SetDomainRecordStatusResult::SetDomainRecordStatusResult() : + ServiceResult() +{} + +SetDomainRecordStatusResult::SetDomainRecordStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDomainRecordStatusResult::~SetDomainRecordStatusResult() +{} + +void SetDomainRecordStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["RecordId"].isNull()) + recordId_ = value["RecordId"].asString(); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + +} + +std::string SetDomainRecordStatusResult::getStatus()const +{ + return status_; +} + +std::string SetDomainRecordStatusResult::getRecordId()const +{ + return recordId_; +} + diff --git a/alidns/src/model/SetGtmAccessModeRequest.cc b/alidns/src/model/SetGtmAccessModeRequest.cc new file mode 100644 index 000000000..87323304e --- /dev/null +++ b/alidns/src/model/SetGtmAccessModeRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::SetGtmAccessModeRequest; + +SetGtmAccessModeRequest::SetGtmAccessModeRequest() : + RpcServiceRequest("alidns", "2015-01-09", "SetGtmAccessMode") +{} + +SetGtmAccessModeRequest::~SetGtmAccessModeRequest() +{} + +std::string SetGtmAccessModeRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void SetGtmAccessModeRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string SetGtmAccessModeRequest::getStrategyId()const +{ + return strategyId_; +} + +void SetGtmAccessModeRequest::setStrategyId(const std::string& strategyId) +{ + strategyId_ = strategyId; + setParameter("StrategyId", strategyId); +} + +std::string SetGtmAccessModeRequest::getLang()const +{ + return lang_; +} + +void SetGtmAccessModeRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string SetGtmAccessModeRequest::getAccessMode()const +{ + return accessMode_; +} + +void SetGtmAccessModeRequest::setAccessMode(const std::string& accessMode) +{ + accessMode_ = accessMode; + setParameter("AccessMode", accessMode); +} + diff --git a/alidns/src/model/SetGtmAccessModeResult.cc b/alidns/src/model/SetGtmAccessModeResult.cc new file mode 100644 index 000000000..b50d13b72 --- /dev/null +++ b/alidns/src/model/SetGtmAccessModeResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +SetGtmAccessModeResult::SetGtmAccessModeResult() : + ServiceResult() +{} + +SetGtmAccessModeResult::SetGtmAccessModeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetGtmAccessModeResult::~SetGtmAccessModeResult() +{} + +void SetGtmAccessModeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/alidns/src/model/SetGtmMonitorStatusRequest.cc b/alidns/src/model/SetGtmMonitorStatusRequest.cc new file mode 100644 index 000000000..b66c041b8 --- /dev/null +++ b/alidns/src/model/SetGtmMonitorStatusRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Alidns::Model::SetGtmMonitorStatusRequest; + +SetGtmMonitorStatusRequest::SetGtmMonitorStatusRequest() : + RpcServiceRequest("alidns", "2015-01-09", "SetGtmMonitorStatus") +{} + +SetGtmMonitorStatusRequest::~SetGtmMonitorStatusRequest() +{} + +std::string SetGtmMonitorStatusRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void SetGtmMonitorStatusRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string SetGtmMonitorStatusRequest::getMonitorConfigId()const +{ + return monitorConfigId_; +} + +void SetGtmMonitorStatusRequest::setMonitorConfigId(const std::string& monitorConfigId) +{ + monitorConfigId_ = monitorConfigId; + setParameter("MonitorConfigId", monitorConfigId); +} + +std::string SetGtmMonitorStatusRequest::getLang()const +{ + return lang_; +} + +void SetGtmMonitorStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string SetGtmMonitorStatusRequest::getStatus()const +{ + return status_; +} + +void SetGtmMonitorStatusRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/alidns/src/model/SetGtmMonitorStatusResult.cc b/alidns/src/model/SetGtmMonitorStatusResult.cc new file mode 100644 index 000000000..98a214d99 --- /dev/null +++ b/alidns/src/model/SetGtmMonitorStatusResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +SetGtmMonitorStatusResult::SetGtmMonitorStatusResult() : + ServiceResult() +{} + +SetGtmMonitorStatusResult::SetGtmMonitorStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetGtmMonitorStatusResult::~SetGtmMonitorStatusResult() +{} + +void SetGtmMonitorStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/alidns/src/model/UpdateDNSSLBWeightRequest.cc b/alidns/src/model/UpdateDNSSLBWeightRequest.cc new file mode 100644 index 000000000..8b40bbc67 --- /dev/null +++ b/alidns/src/model/UpdateDNSSLBWeightRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::UpdateDNSSLBWeightRequest; + +UpdateDNSSLBWeightRequest::UpdateDNSSLBWeightRequest() : + RpcServiceRequest("alidns", "2015-01-09", "UpdateDNSSLBWeight") +{} + +UpdateDNSSLBWeightRequest::~UpdateDNSSLBWeightRequest() +{} + +std::string UpdateDNSSLBWeightRequest::getRecordId()const +{ + return recordId_; +} + +void UpdateDNSSLBWeightRequest::setRecordId(const std::string& recordId) +{ + recordId_ = recordId; + setParameter("RecordId", recordId); +} + +std::string UpdateDNSSLBWeightRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void UpdateDNSSLBWeightRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +int UpdateDNSSLBWeightRequest::getWeight()const +{ + return weight_; +} + +void UpdateDNSSLBWeightRequest::setWeight(int weight) +{ + weight_ = weight; + setParameter("Weight", std::to_string(weight)); +} + +std::string UpdateDNSSLBWeightRequest::getLang()const +{ + return lang_; +} + +void UpdateDNSSLBWeightRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string UpdateDNSSLBWeightRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateDNSSLBWeightRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/UpdateDNSSLBWeightResult.cc b/alidns/src/model/UpdateDNSSLBWeightResult.cc new file mode 100644 index 000000000..871cd9a71 --- /dev/null +++ b/alidns/src/model/UpdateDNSSLBWeightResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +UpdateDNSSLBWeightResult::UpdateDNSSLBWeightResult() : + ServiceResult() +{} + +UpdateDNSSLBWeightResult::UpdateDNSSLBWeightResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateDNSSLBWeightResult::~UpdateDNSSLBWeightResult() +{} + +void UpdateDNSSLBWeightResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["RecordId"].isNull()) + recordId_ = value["RecordId"].asString(); + if(!value["Weight"].isNull()) + weight_ = std::stoi(value["Weight"].asString()); + +} + +std::string UpdateDNSSLBWeightResult::getRecordId()const +{ + return recordId_; +} + +int UpdateDNSSLBWeightResult::getWeight()const +{ + return weight_; +} + diff --git a/alidns/src/model/UpdateDomainGroupRequest.cc b/alidns/src/model/UpdateDomainGroupRequest.cc new file mode 100644 index 000000000..aa4f78329 --- /dev/null +++ b/alidns/src/model/UpdateDomainGroupRequest.cc @@ -0,0 +1,82 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::UpdateDomainGroupRequest; + +UpdateDomainGroupRequest::UpdateDomainGroupRequest() : + RpcServiceRequest("alidns", "2015-01-09", "UpdateDomainGroup") +{} + +UpdateDomainGroupRequest::~UpdateDomainGroupRequest() +{} + +std::string UpdateDomainGroupRequest::getGroupId()const +{ + return groupId_; +} + +void UpdateDomainGroupRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +std::string UpdateDomainGroupRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void UpdateDomainGroupRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string UpdateDomainGroupRequest::getLang()const +{ + return lang_; +} + +void UpdateDomainGroupRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string UpdateDomainGroupRequest::getGroupName()const +{ + return groupName_; +} + +void UpdateDomainGroupRequest::setGroupName(const std::string& groupName) +{ + groupName_ = groupName; + setParameter("GroupName", groupName); +} + +std::string UpdateDomainGroupRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateDomainGroupRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/UpdateDomainGroupResult.cc b/alidns/src/model/UpdateDomainGroupResult.cc new file mode 100644 index 000000000..5ee58bf64 --- /dev/null +++ b/alidns/src/model/UpdateDomainGroupResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +UpdateDomainGroupResult::UpdateDomainGroupResult() : + ServiceResult() +{} + +UpdateDomainGroupResult::UpdateDomainGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateDomainGroupResult::~UpdateDomainGroupResult() +{} + +void UpdateDomainGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + +} + +std::string UpdateDomainGroupResult::getGroupName()const +{ + return groupName_; +} + +std::string UpdateDomainGroupResult::getGroupId()const +{ + return groupId_; +} + diff --git a/alidns/src/model/UpdateDomainRecordRequest.cc b/alidns/src/model/UpdateDomainRecordRequest.cc new file mode 100644 index 000000000..c8f6c5d4e --- /dev/null +++ b/alidns/src/model/UpdateDomainRecordRequest.cc @@ -0,0 +1,137 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::UpdateDomainRecordRequest; + +UpdateDomainRecordRequest::UpdateDomainRecordRequest() : + RpcServiceRequest("alidns", "2015-01-09", "UpdateDomainRecord") +{} + +UpdateDomainRecordRequest::~UpdateDomainRecordRequest() +{} + +std::string UpdateDomainRecordRequest::getRecordId()const +{ + return recordId_; +} + +void UpdateDomainRecordRequest::setRecordId(const std::string& recordId) +{ + recordId_ = recordId; + setParameter("RecordId", recordId); +} + +std::string UpdateDomainRecordRequest::getRR()const +{ + return rR_; +} + +void UpdateDomainRecordRequest::setRR(const std::string& rR) +{ + rR_ = rR; + setParameter("RR", rR); +} + +std::string UpdateDomainRecordRequest::getLine()const +{ + return line_; +} + +void UpdateDomainRecordRequest::setLine(const std::string& line) +{ + line_ = line; + setParameter("Line", line); +} + +std::string UpdateDomainRecordRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void UpdateDomainRecordRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string UpdateDomainRecordRequest::getLang()const +{ + return lang_; +} + +void UpdateDomainRecordRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string UpdateDomainRecordRequest::getType()const +{ + return type_; +} + +void UpdateDomainRecordRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +long UpdateDomainRecordRequest::getPriority()const +{ + return priority_; +} + +void UpdateDomainRecordRequest::setPriority(long priority) +{ + priority_ = priority; + setParameter("Priority", std::to_string(priority)); +} + +std::string UpdateDomainRecordRequest::getValue()const +{ + return value_; +} + +void UpdateDomainRecordRequest::setValue(const std::string& value) +{ + value_ = value; + setParameter("Value", value); +} + +long UpdateDomainRecordRequest::getTTL()const +{ + return tTL_; +} + +void UpdateDomainRecordRequest::setTTL(long tTL) +{ + tTL_ = tTL; + setParameter("TTL", std::to_string(tTL)); +} + +std::string UpdateDomainRecordRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateDomainRecordRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + diff --git a/alidns/src/model/UpdateDomainRecordResult.cc b/alidns/src/model/UpdateDomainRecordResult.cc new file mode 100644 index 000000000..e0a9d8409 --- /dev/null +++ b/alidns/src/model/UpdateDomainRecordResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +UpdateDomainRecordResult::UpdateDomainRecordResult() : + ServiceResult() +{} + +UpdateDomainRecordResult::UpdateDomainRecordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateDomainRecordResult::~UpdateDomainRecordResult() +{} + +void UpdateDomainRecordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["RecordId"].isNull()) + recordId_ = value["RecordId"].asString(); + +} + +std::string UpdateDomainRecordResult::getRecordId()const +{ + return recordId_; +} + diff --git a/alidns/src/model/UpdateGtmAccessStrategyRequest.cc b/alidns/src/model/UpdateGtmAccessStrategyRequest.cc new file mode 100644 index 000000000..df9c10248 --- /dev/null +++ b/alidns/src/model/UpdateGtmAccessStrategyRequest.cc @@ -0,0 +1,104 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::UpdateGtmAccessStrategyRequest; + +UpdateGtmAccessStrategyRequest::UpdateGtmAccessStrategyRequest() : + RpcServiceRequest("alidns", "2015-01-09", "UpdateGtmAccessStrategy") +{} + +UpdateGtmAccessStrategyRequest::~UpdateGtmAccessStrategyRequest() +{} + +std::string UpdateGtmAccessStrategyRequest::getStrategyName()const +{ + return strategyName_; +} + +void UpdateGtmAccessStrategyRequest::setStrategyName(const std::string& strategyName) +{ + strategyName_ = strategyName; + setParameter("StrategyName", strategyName); +} + +std::string UpdateGtmAccessStrategyRequest::getDefaultAddrPoolId()const +{ + return defaultAddrPoolId_; +} + +void UpdateGtmAccessStrategyRequest::setDefaultAddrPoolId(const std::string& defaultAddrPoolId) +{ + defaultAddrPoolId_ = defaultAddrPoolId; + setParameter("DefaultAddrPoolId", defaultAddrPoolId); +} + +std::string UpdateGtmAccessStrategyRequest::getAccessLines()const +{ + return accessLines_; +} + +void UpdateGtmAccessStrategyRequest::setAccessLines(const std::string& accessLines) +{ + accessLines_ = accessLines; + setParameter("AccessLines", accessLines); +} + +std::string UpdateGtmAccessStrategyRequest::getFailoverAddrPoolId()const +{ + return failoverAddrPoolId_; +} + +void UpdateGtmAccessStrategyRequest::setFailoverAddrPoolId(const std::string& failoverAddrPoolId) +{ + failoverAddrPoolId_ = failoverAddrPoolId; + setParameter("FailoverAddrPoolId", failoverAddrPoolId); +} + +std::string UpdateGtmAccessStrategyRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void UpdateGtmAccessStrategyRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string UpdateGtmAccessStrategyRequest::getStrategyId()const +{ + return strategyId_; +} + +void UpdateGtmAccessStrategyRequest::setStrategyId(const std::string& strategyId) +{ + strategyId_ = strategyId; + setParameter("StrategyId", strategyId); +} + +std::string UpdateGtmAccessStrategyRequest::getLang()const +{ + return lang_; +} + +void UpdateGtmAccessStrategyRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/alidns/src/model/UpdateGtmAccessStrategyResult.cc b/alidns/src/model/UpdateGtmAccessStrategyResult.cc new file mode 100644 index 000000000..b020bd517 --- /dev/null +++ b/alidns/src/model/UpdateGtmAccessStrategyResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +UpdateGtmAccessStrategyResult::UpdateGtmAccessStrategyResult() : + ServiceResult() +{} + +UpdateGtmAccessStrategyResult::UpdateGtmAccessStrategyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateGtmAccessStrategyResult::~UpdateGtmAccessStrategyResult() +{} + +void UpdateGtmAccessStrategyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/alidns/src/model/UpdateGtmAddressPoolRequest.cc b/alidns/src/model/UpdateGtmAddressPoolRequest.cc new file mode 100644 index 000000000..565d76aa6 --- /dev/null +++ b/alidns/src/model/UpdateGtmAddressPoolRequest.cc @@ -0,0 +1,111 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alidns::Model::UpdateGtmAddressPoolRequest; + +UpdateGtmAddressPoolRequest::UpdateGtmAddressPoolRequest() : + RpcServiceRequest("alidns", "2015-01-09", "UpdateGtmAddressPool") +{} + +UpdateGtmAddressPoolRequest::~UpdateGtmAddressPoolRequest() +{} + +std::string UpdateGtmAddressPoolRequest::getAddrPoolId()const +{ + return addrPoolId_; +} + +void UpdateGtmAddressPoolRequest::setAddrPoolId(const std::string& addrPoolId) +{ + addrPoolId_ = addrPoolId; + setParameter("AddrPoolId", addrPoolId); +} + +std::string UpdateGtmAddressPoolRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void UpdateGtmAddressPoolRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string UpdateGtmAddressPoolRequest::getName()const +{ + return name_; +} + +void UpdateGtmAddressPoolRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string UpdateGtmAddressPoolRequest::getLang()const +{ + return lang_; +} + +void UpdateGtmAddressPoolRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string UpdateGtmAddressPoolRequest::getType()const +{ + return type_; +} + +void UpdateGtmAddressPoolRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +std::vector UpdateGtmAddressPoolRequest::getAddr()const +{ + return addr_; +} + +void UpdateGtmAddressPoolRequest::setAddr(const std::vector& 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); + setParameter(str + ".Mode", obj.mode); + setParameter(str + ".LbaWeight", std::to_string(obj.lbaWeight)); + setParameter(str + ".Value", obj.value); + } +} + +int UpdateGtmAddressPoolRequest::getMinAvailableAddrNum()const +{ + return minAvailableAddrNum_; +} + +void UpdateGtmAddressPoolRequest::setMinAvailableAddrNum(int minAvailableAddrNum) +{ + minAvailableAddrNum_ = minAvailableAddrNum; + setParameter("MinAvailableAddrNum", std::to_string(minAvailableAddrNum)); +} + diff --git a/alidns/src/model/UpdateGtmAddressPoolResult.cc b/alidns/src/model/UpdateGtmAddressPoolResult.cc new file mode 100644 index 000000000..fbe75e942 --- /dev/null +++ b/alidns/src/model/UpdateGtmAddressPoolResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +UpdateGtmAddressPoolResult::UpdateGtmAddressPoolResult() : + ServiceResult() +{} + +UpdateGtmAddressPoolResult::UpdateGtmAddressPoolResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateGtmAddressPoolResult::~UpdateGtmAddressPoolResult() +{} + +void UpdateGtmAddressPoolResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/alidns/src/model/UpdateGtmInstanceGlobalConfigRequest.cc b/alidns/src/model/UpdateGtmInstanceGlobalConfigRequest.cc new file mode 100644 index 000000000..a4cfd20bd --- /dev/null +++ b/alidns/src/model/UpdateGtmInstanceGlobalConfigRequest.cc @@ -0,0 +1,115 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::UpdateGtmInstanceGlobalConfigRequest; + +UpdateGtmInstanceGlobalConfigRequest::UpdateGtmInstanceGlobalConfigRequest() : + RpcServiceRequest("alidns", "2015-01-09", "UpdateGtmInstanceGlobalConfig") +{} + +UpdateGtmInstanceGlobalConfigRequest::~UpdateGtmInstanceGlobalConfigRequest() +{} + +std::string UpdateGtmInstanceGlobalConfigRequest::getAlertGroup()const +{ + return alertGroup_; +} + +void UpdateGtmInstanceGlobalConfigRequest::setAlertGroup(const std::string& alertGroup) +{ + alertGroup_ = alertGroup; + setParameter("AlertGroup", alertGroup); +} + +std::string UpdateGtmInstanceGlobalConfigRequest::getInstanceId()const +{ + return instanceId_; +} + +void UpdateGtmInstanceGlobalConfigRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + +std::string UpdateGtmInstanceGlobalConfigRequest::getInstanceName()const +{ + return instanceName_; +} + +void UpdateGtmInstanceGlobalConfigRequest::setInstanceName(const std::string& instanceName) +{ + instanceName_ = instanceName; + setParameter("InstanceName", instanceName); +} + +std::string UpdateGtmInstanceGlobalConfigRequest::getUserDomainName()const +{ + return userDomainName_; +} + +void UpdateGtmInstanceGlobalConfigRequest::setUserDomainName(const std::string& userDomainName) +{ + userDomainName_ = userDomainName; + setParameter("UserDomainName", userDomainName); +} + +std::string UpdateGtmInstanceGlobalConfigRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void UpdateGtmInstanceGlobalConfigRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string UpdateGtmInstanceGlobalConfigRequest::getLbaStrategy()const +{ + return lbaStrategy_; +} + +void UpdateGtmInstanceGlobalConfigRequest::setLbaStrategy(const std::string& lbaStrategy) +{ + lbaStrategy_ = lbaStrategy; + setParameter("LbaStrategy", lbaStrategy); +} + +std::string UpdateGtmInstanceGlobalConfigRequest::getLang()const +{ + return lang_; +} + +void UpdateGtmInstanceGlobalConfigRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +int UpdateGtmInstanceGlobalConfigRequest::getTtl()const +{ + return ttl_; +} + +void UpdateGtmInstanceGlobalConfigRequest::setTtl(int ttl) +{ + ttl_ = ttl; + setParameter("Ttl", std::to_string(ttl)); +} + diff --git a/alidns/src/model/UpdateGtmInstanceGlobalConfigResult.cc b/alidns/src/model/UpdateGtmInstanceGlobalConfigResult.cc new file mode 100644 index 000000000..79d6b1f1b --- /dev/null +++ b/alidns/src/model/UpdateGtmInstanceGlobalConfigResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +UpdateGtmInstanceGlobalConfigResult::UpdateGtmInstanceGlobalConfigResult() : + ServiceResult() +{} + +UpdateGtmInstanceGlobalConfigResult::UpdateGtmInstanceGlobalConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateGtmInstanceGlobalConfigResult::~UpdateGtmInstanceGlobalConfigResult() +{} + +void UpdateGtmInstanceGlobalConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/alidns/src/model/UpdateGtmMonitorRequest.cc b/alidns/src/model/UpdateGtmMonitorRequest.cc new file mode 100644 index 000000000..b29bce052 --- /dev/null +++ b/alidns/src/model/UpdateGtmMonitorRequest.cc @@ -0,0 +1,143 @@ +/* + * 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 + +using AlibabaCloud::Alidns::Model::UpdateGtmMonitorRequest; + +UpdateGtmMonitorRequest::UpdateGtmMonitorRequest() : + RpcServiceRequest("alidns", "2015-01-09", "UpdateGtmMonitor") +{} + +UpdateGtmMonitorRequest::~UpdateGtmMonitorRequest() +{} + +std::string UpdateGtmMonitorRequest::getMonitorExtendInfo()const +{ + return monitorExtendInfo_; +} + +void UpdateGtmMonitorRequest::setMonitorExtendInfo(const std::string& monitorExtendInfo) +{ + monitorExtendInfo_ = monitorExtendInfo; + setParameter("MonitorExtendInfo", monitorExtendInfo); +} + +std::string UpdateGtmMonitorRequest::getUserClientIp()const +{ + return userClientIp_; +} + +void UpdateGtmMonitorRequest::setUserClientIp(const std::string& userClientIp) +{ + userClientIp_ = userClientIp; + setParameter("UserClientIp", userClientIp); +} + +std::string UpdateGtmMonitorRequest::getName()const +{ + return name_; +} + +void UpdateGtmMonitorRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string UpdateGtmMonitorRequest::getMonitorConfigId()const +{ + return monitorConfigId_; +} + +void UpdateGtmMonitorRequest::setMonitorConfigId(const std::string& monitorConfigId) +{ + monitorConfigId_ = monitorConfigId; + setParameter("MonitorConfigId", monitorConfigId); +} + +int UpdateGtmMonitorRequest::getEvaluationCount()const +{ + return evaluationCount_; +} + +void UpdateGtmMonitorRequest::setEvaluationCount(int evaluationCount) +{ + evaluationCount_ = evaluationCount; + setParameter("EvaluationCount", std::to_string(evaluationCount)); +} + +std::string UpdateGtmMonitorRequest::getProtocolType()const +{ + return protocolType_; +} + +void UpdateGtmMonitorRequest::setProtocolType(const std::string& protocolType) +{ + protocolType_ = protocolType; + setParameter("ProtocolType", protocolType); +} + +int UpdateGtmMonitorRequest::getInterval()const +{ + return interval_; +} + +void UpdateGtmMonitorRequest::setInterval(int interval) +{ + interval_ = interval; + setParameter("Interval", std::to_string(interval)); +} + +std::string UpdateGtmMonitorRequest::getLang()const +{ + return lang_; +} + +void UpdateGtmMonitorRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +int UpdateGtmMonitorRequest::getTimeout()const +{ + return timeout_; +} + +void UpdateGtmMonitorRequest::setTimeout(int timeout) +{ + timeout_ = timeout; + setParameter("Timeout", std::to_string(timeout)); +} + +std::vector UpdateGtmMonitorRequest::getIspCityNode()const +{ + return ispCityNode_; +} + +void UpdateGtmMonitorRequest::setIspCityNode(const std::vector& 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); + setParameter(str + ".CityCode", obj.cityCode); + setParameter(str + ".IspCode", obj.ispCode); + } +} + diff --git a/alidns/src/model/UpdateGtmMonitorResult.cc b/alidns/src/model/UpdateGtmMonitorResult.cc new file mode 100644 index 000000000..4516cf4b5 --- /dev/null +++ b/alidns/src/model/UpdateGtmMonitorResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alidns; +using namespace AlibabaCloud::Alidns::Model; + +UpdateGtmMonitorResult::UpdateGtmMonitorResult() : + ServiceResult() +{} + +UpdateGtmMonitorResult::UpdateGtmMonitorResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateGtmMonitorResult::~UpdateGtmMonitorResult() +{} + +void UpdateGtmMonitorResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} +