From 4074a5b52eb51294af13c4deb71dd3ee4def2ae7 Mon Sep 17 00:00:00 2001 From: nanhe Date: Mon, 12 Dec 2022 21:01:46 +0800 Subject: [PATCH] Remove useless packages --- amptest/CMakeLists.txt | 134 ---- .../alibabacloud/amptest/AmpTestClient.h | 150 ---- .../alibabacloud/amptest/AmpTestExport.h | 32 - .../amptest/model/CreateRulesRequest.h | 80 -- .../amptest/model/CreateRulesResult.h | 53 -- .../model/HuichengTestGrayEightRequest.h | 80 -- .../model/HuichengTestGrayEightResult.h | 53 -- .../model/HuichengTestGrayFifthRequest.h | 80 -- .../model/HuichengTestGrayFifthResult.h | 53 -- .../model/HuichengTestGrayNineRequest.h | 80 -- .../model/HuichengTestGrayNineResult.h | 53 -- .../amptest/model/HuichengTestGrayRequest.h | 80 -- .../amptest/model/HuichengTestGrayResult.h | 53 -- .../model/HuichengTestGraySecondRequest.h | 80 -- .../model/HuichengTestGraySecondResult.h | 53 -- .../model/HuichengTestGraySevenRequest.h | 80 -- .../model/HuichengTestGraySevenResult.h | 53 -- .../model/HuichengTestGraySixRequest.h | 80 -- .../amptest/model/HuichengTestGraySixResult.h | 53 -- .../model/HuichengTestGrayTenRequest.h | 80 -- .../amptest/model/HuichengTestGrayTenResult.h | 53 -- .../model/HuichengTestGrayThirdRequest.h | 80 -- .../model/HuichengTestGrayThirdResult.h | 53 -- .../HuichengTestResourceOwnerIdRequest.h | 39 - .../model/HuichengTestResourceOwnerIdResult.h | 49 -- .../amptest/model/HuichengetRequest.h | 93 --- .../amptest/model/HuichengetResult.h | 65 -- .../amptest/model/HuichengetestRequest.h | 39 - .../amptest/model/HuichengetestResult.h | 49 -- amptest/src/AmpTestClient.cc | 521 ------------- amptest/src/model/CreateRulesRequest.cc | 55 -- amptest/src/model/CreateRulesResult.cc | 58 -- .../src/model/HuichengTestGrayEightRequest.cc | 55 -- .../src/model/HuichengTestGrayEightResult.cc | 58 -- .../src/model/HuichengTestGrayFifthRequest.cc | 55 -- .../src/model/HuichengTestGrayFifthResult.cc | 58 -- .../src/model/HuichengTestGrayNineRequest.cc | 55 -- .../src/model/HuichengTestGrayNineResult.cc | 58 -- amptest/src/model/HuichengTestGrayRequest.cc | 55 -- amptest/src/model/HuichengTestGrayResult.cc | 58 -- .../model/HuichengTestGraySecondRequest.cc | 55 -- .../src/model/HuichengTestGraySecondResult.cc | 58 -- .../src/model/HuichengTestGraySevenRequest.cc | 55 -- .../src/model/HuichengTestGraySevenResult.cc | 58 -- .../src/model/HuichengTestGraySixRequest.cc | 55 -- .../src/model/HuichengTestGraySixResult.cc | 58 -- .../src/model/HuichengTestGrayTenRequest.cc | 55 -- .../src/model/HuichengTestGrayTenResult.cc | 58 -- .../src/model/HuichengTestGrayThirdRequest.cc | 55 -- .../src/model/HuichengTestGrayThirdResult.cc | 58 -- .../HuichengTestResourceOwnerIdRequest.cc | 27 - .../HuichengTestResourceOwnerIdResult.cc | 44 -- amptest/src/model/HuichengetRequest.cc | 189 ----- amptest/src/model/HuichengetResult.cc | 100 --- amptest/src/model/HuichengetestRequest.cc | 27 - amptest/src/model/HuichengetestResult.cc | 44 -- lmztest/CMakeLists.txt | 158 ---- .../alibabacloud/lmztest/LmzTestClient.h | 198 ----- .../alibabacloud/lmztest/LmzTestExport.h | 32 - .../alibabacloud/lmztest/model/AAbckRequest.h | 45 -- .../alibabacloud/lmztest/model/AAbckResult.h | 51 -- .../lmztest/model/AndBackRequest.h | 45 -- .../lmztest/model/AndBackResult.h | 49 -- .../lmztest/model/DataRateLimitTestRequest.h | 39 - .../lmztest/model/DataRateLimitTestResult.h | 49 -- .../model/DemoGrayReleaseTestRequest.h | 45 -- .../lmztest/model/DemoGrayReleaseTestResult.h | 53 -- .../model/DemoGrayReleaseTestTwoRequest.h | 45 -- .../model/DemoGrayReleaseTestTwoResult.h | 49 -- .../model/DemoGreyReleaseTestRequest.h | 42 - .../lmztest/model/DemoGreyReleaseTestResult.h | 51 -- .../model/DemoHsfNineResponseRequest.h | 54 -- .../lmztest/model/DemoHsfNineResponseResult.h | 55 -- .../lmztest/model/DemoHsfSixTestRequest.h | 55 -- .../lmztest/model/DemoHsfSixTestResult.h | 57 -- .../model/DemoHttpComplexResponseRequest.h | 42 - .../model/DemoHttpComplexResponseResult.h | 55 -- .../lmztest/model/DescribeDisksRequest.h | 154 ---- .../lmztest/model/DescribeDisksResult.h | 126 --- .../GetPackageStorageCredentialRequest.h | 39 - .../model/GetPackageStorageCredentialResult.h | 68 -- .../lmztest/model/GrayReleaseDemoRequest.h | 42 - .../lmztest/model/GrayReleaseDemoResult.h | 53 -- .../model/ListProductsByPopCodeRequest.h | 63 -- .../model/ListProductsByPopCodeResult.h | 87 --- .../lmztest/model/LjxTestRequest.h | 54 -- .../lmztest/model/LjxTestResult.h | 71 -- .../lmztest/model/ReqBeanTestRequest.h | 58 -- .../lmztest/model/ReqBeanTestResult.h | 53 -- .../model/RomeGetExecutionResultRequest.h | 42 - .../model/RomeGetExecutionResultResult.h | 49 -- .../lmztest/model/RpcHttpRequest.h | 69 -- .../lmztest/model/RpcHttpResult.h | 53 -- .../model/TestPutApiAndGetApiRequest.h | 39 - .../lmztest/model/TestPutApiAndGetApiResult.h | 49 -- .../lmztest/model/UpdateListenerRequest.h | 83 -- .../lmztest/model/UpdateListenerResult.h | 49 -- lmztest/src/LmzTestClient.cc | 737 ------------------ lmztest/src/model/AAbckRequest.cc | 45 -- lmztest/src/model/AAbckResult.cc | 51 -- lmztest/src/model/AndBackRequest.cc | 45 -- lmztest/src/model/AndBackResult.cc | 44 -- lmztest/src/model/DataRateLimitTestRequest.cc | 27 - lmztest/src/model/DataRateLimitTestResult.cc | 44 -- .../src/model/DemoGrayReleaseTestRequest.cc | 45 -- .../src/model/DemoGrayReleaseTestResult.cc | 58 -- .../model/DemoGrayReleaseTestTwoRequest.cc | 45 -- .../src/model/DemoGrayReleaseTestTwoResult.cc | 44 -- .../src/model/DemoGreyReleaseTestRequest.cc | 36 - .../src/model/DemoGreyReleaseTestResult.cc | 51 -- .../src/model/DemoHsfNineResponseRequest.cc | 59 -- .../src/model/DemoHsfNineResponseResult.cc | 66 -- lmztest/src/model/DemoHsfSixTestRequest.cc | 72 -- lmztest/src/model/DemoHsfSixTestResult.cc | 73 -- .../model/DemoHttpComplexResponseRequest.cc | 36 - .../model/DemoHttpComplexResponseResult.cc | 66 -- lmztest/src/model/DescribeDisksRequest.cc | 364 --------- lmztest/src/model/DescribeDisksResult.cc | 203 ----- .../GetPackageStorageCredentialRequest.cc | 27 - .../GetPackageStorageCredentialResult.cc | 84 -- lmztest/src/model/GrayReleaseDemoRequest.cc | 36 - lmztest/src/model/GrayReleaseDemoResult.cc | 58 -- .../src/model/ListProductsByPopCodeRequest.cc | 99 --- .../src/model/ListProductsByPopCodeResult.cc | 118 --- lmztest/src/model/LjxTestRequest.cc | 76 -- lmztest/src/model/LjxTestResult.cc | 102 --- lmztest/src/model/ReqBeanTestRequest.cc | 79 -- lmztest/src/model/ReqBeanTestResult.cc | 58 -- .../model/RomeGetExecutionResultRequest.cc | 36 - .../src/model/RomeGetExecutionResultResult.cc | 44 -- lmztest/src/model/RpcHttpRequest.cc | 117 --- lmztest/src/model/RpcHttpResult.cc | 58 -- .../src/model/TestPutApiAndGetApiRequest.cc | 27 - .../src/model/TestPutApiAndGetApiResult.cc | 44 -- lmztest/src/model/UpdateListenerRequest.cc | 140 ---- lmztest/src/model/UpdateListenerResult.cc | 44 -- 136 files changed, 10090 deletions(-) delete mode 100644 amptest/CMakeLists.txt delete mode 100644 amptest/include/alibabacloud/amptest/AmpTestClient.h delete mode 100644 amptest/include/alibabacloud/amptest/AmpTestExport.h delete mode 100644 amptest/include/alibabacloud/amptest/model/CreateRulesRequest.h delete mode 100644 amptest/include/alibabacloud/amptest/model/CreateRulesResult.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGrayEightRequest.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGrayEightResult.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGrayFifthRequest.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGrayFifthResult.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGrayNineRequest.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGrayNineResult.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGrayRequest.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGrayResult.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGraySecondRequest.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGraySecondResult.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGraySevenRequest.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGraySevenResult.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGraySixRequest.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGraySixResult.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGrayTenRequest.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGrayTenResult.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGrayThirdRequest.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestGrayThirdResult.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestResourceOwnerIdRequest.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengTestResourceOwnerIdResult.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengetRequest.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengetResult.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengetestRequest.h delete mode 100644 amptest/include/alibabacloud/amptest/model/HuichengetestResult.h delete mode 100644 amptest/src/AmpTestClient.cc delete mode 100644 amptest/src/model/CreateRulesRequest.cc delete mode 100644 amptest/src/model/CreateRulesResult.cc delete mode 100644 amptest/src/model/HuichengTestGrayEightRequest.cc delete mode 100644 amptest/src/model/HuichengTestGrayEightResult.cc delete mode 100644 amptest/src/model/HuichengTestGrayFifthRequest.cc delete mode 100644 amptest/src/model/HuichengTestGrayFifthResult.cc delete mode 100644 amptest/src/model/HuichengTestGrayNineRequest.cc delete mode 100644 amptest/src/model/HuichengTestGrayNineResult.cc delete mode 100644 amptest/src/model/HuichengTestGrayRequest.cc delete mode 100644 amptest/src/model/HuichengTestGrayResult.cc delete mode 100644 amptest/src/model/HuichengTestGraySecondRequest.cc delete mode 100644 amptest/src/model/HuichengTestGraySecondResult.cc delete mode 100644 amptest/src/model/HuichengTestGraySevenRequest.cc delete mode 100644 amptest/src/model/HuichengTestGraySevenResult.cc delete mode 100644 amptest/src/model/HuichengTestGraySixRequest.cc delete mode 100644 amptest/src/model/HuichengTestGraySixResult.cc delete mode 100644 amptest/src/model/HuichengTestGrayTenRequest.cc delete mode 100644 amptest/src/model/HuichengTestGrayTenResult.cc delete mode 100644 amptest/src/model/HuichengTestGrayThirdRequest.cc delete mode 100644 amptest/src/model/HuichengTestGrayThirdResult.cc delete mode 100644 amptest/src/model/HuichengTestResourceOwnerIdRequest.cc delete mode 100644 amptest/src/model/HuichengTestResourceOwnerIdResult.cc delete mode 100644 amptest/src/model/HuichengetRequest.cc delete mode 100644 amptest/src/model/HuichengetResult.cc delete mode 100644 amptest/src/model/HuichengetestRequest.cc delete mode 100644 amptest/src/model/HuichengetestResult.cc delete mode 100644 lmztest/CMakeLists.txt delete mode 100644 lmztest/include/alibabacloud/lmztest/LmzTestClient.h delete mode 100644 lmztest/include/alibabacloud/lmztest/LmzTestExport.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/AAbckRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/AAbckResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/AndBackRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/AndBackResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/DataRateLimitTestRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/DataRateLimitTestResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/DemoGrayReleaseTestRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/DemoGrayReleaseTestResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/DemoGrayReleaseTestTwoRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/DemoGrayReleaseTestTwoResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/DemoGreyReleaseTestRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/DemoGreyReleaseTestResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/DemoHsfNineResponseRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/DemoHsfNineResponseResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/DemoHsfSixTestRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/DemoHsfSixTestResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/DemoHttpComplexResponseRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/DemoHttpComplexResponseResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/DescribeDisksRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/DescribeDisksResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/GetPackageStorageCredentialRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/GetPackageStorageCredentialResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/GrayReleaseDemoRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/GrayReleaseDemoResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/ListProductsByPopCodeRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/ListProductsByPopCodeResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/LjxTestRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/LjxTestResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/ReqBeanTestRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/ReqBeanTestResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/RomeGetExecutionResultRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/RomeGetExecutionResultResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/RpcHttpRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/RpcHttpResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/TestPutApiAndGetApiRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/TestPutApiAndGetApiResult.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/UpdateListenerRequest.h delete mode 100644 lmztest/include/alibabacloud/lmztest/model/UpdateListenerResult.h delete mode 100644 lmztest/src/LmzTestClient.cc delete mode 100644 lmztest/src/model/AAbckRequest.cc delete mode 100644 lmztest/src/model/AAbckResult.cc delete mode 100644 lmztest/src/model/AndBackRequest.cc delete mode 100644 lmztest/src/model/AndBackResult.cc delete mode 100644 lmztest/src/model/DataRateLimitTestRequest.cc delete mode 100644 lmztest/src/model/DataRateLimitTestResult.cc delete mode 100644 lmztest/src/model/DemoGrayReleaseTestRequest.cc delete mode 100644 lmztest/src/model/DemoGrayReleaseTestResult.cc delete mode 100644 lmztest/src/model/DemoGrayReleaseTestTwoRequest.cc delete mode 100644 lmztest/src/model/DemoGrayReleaseTestTwoResult.cc delete mode 100644 lmztest/src/model/DemoGreyReleaseTestRequest.cc delete mode 100644 lmztest/src/model/DemoGreyReleaseTestResult.cc delete mode 100644 lmztest/src/model/DemoHsfNineResponseRequest.cc delete mode 100644 lmztest/src/model/DemoHsfNineResponseResult.cc delete mode 100644 lmztest/src/model/DemoHsfSixTestRequest.cc delete mode 100644 lmztest/src/model/DemoHsfSixTestResult.cc delete mode 100644 lmztest/src/model/DemoHttpComplexResponseRequest.cc delete mode 100644 lmztest/src/model/DemoHttpComplexResponseResult.cc delete mode 100644 lmztest/src/model/DescribeDisksRequest.cc delete mode 100644 lmztest/src/model/DescribeDisksResult.cc delete mode 100644 lmztest/src/model/GetPackageStorageCredentialRequest.cc delete mode 100644 lmztest/src/model/GetPackageStorageCredentialResult.cc delete mode 100644 lmztest/src/model/GrayReleaseDemoRequest.cc delete mode 100644 lmztest/src/model/GrayReleaseDemoResult.cc delete mode 100644 lmztest/src/model/ListProductsByPopCodeRequest.cc delete mode 100644 lmztest/src/model/ListProductsByPopCodeResult.cc delete mode 100644 lmztest/src/model/LjxTestRequest.cc delete mode 100644 lmztest/src/model/LjxTestResult.cc delete mode 100644 lmztest/src/model/ReqBeanTestRequest.cc delete mode 100644 lmztest/src/model/ReqBeanTestResult.cc delete mode 100644 lmztest/src/model/RomeGetExecutionResultRequest.cc delete mode 100644 lmztest/src/model/RomeGetExecutionResultResult.cc delete mode 100644 lmztest/src/model/RpcHttpRequest.cc delete mode 100644 lmztest/src/model/RpcHttpResult.cc delete mode 100644 lmztest/src/model/TestPutApiAndGetApiRequest.cc delete mode 100644 lmztest/src/model/TestPutApiAndGetApiResult.cc delete mode 100644 lmztest/src/model/UpdateListenerRequest.cc delete mode 100644 lmztest/src/model/UpdateListenerResult.cc diff --git a/amptest/CMakeLists.txt b/amptest/CMakeLists.txt deleted file mode 100644 index 626d0d502..000000000 --- a/amptest/CMakeLists.txt +++ /dev/null @@ -1,134 +0,0 @@ -# -# Copyright 2009-2017 Alibaba Cloud All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT 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(amptest_public_header - include/alibabacloud/amptest/AmpTestClient.h - include/alibabacloud/amptest/AmpTestExport.h ) - -set(amptest_public_header_model - include/alibabacloud/amptest/model/CreateRulesRequest.h - include/alibabacloud/amptest/model/CreateRulesResult.h - include/alibabacloud/amptest/model/HuichengTestGrayRequest.h - include/alibabacloud/amptest/model/HuichengTestGrayResult.h - include/alibabacloud/amptest/model/HuichengTestGrayEightRequest.h - include/alibabacloud/amptest/model/HuichengTestGrayEightResult.h - include/alibabacloud/amptest/model/HuichengTestGrayFifthRequest.h - include/alibabacloud/amptest/model/HuichengTestGrayFifthResult.h - include/alibabacloud/amptest/model/HuichengTestGrayNineRequest.h - include/alibabacloud/amptest/model/HuichengTestGrayNineResult.h - include/alibabacloud/amptest/model/HuichengTestGraySecondRequest.h - include/alibabacloud/amptest/model/HuichengTestGraySecondResult.h - include/alibabacloud/amptest/model/HuichengTestGraySevenRequest.h - include/alibabacloud/amptest/model/HuichengTestGraySevenResult.h - include/alibabacloud/amptest/model/HuichengTestGraySixRequest.h - include/alibabacloud/amptest/model/HuichengTestGraySixResult.h - include/alibabacloud/amptest/model/HuichengTestGrayTenRequest.h - include/alibabacloud/amptest/model/HuichengTestGrayTenResult.h - include/alibabacloud/amptest/model/HuichengTestGrayThirdRequest.h - include/alibabacloud/amptest/model/HuichengTestGrayThirdResult.h - include/alibabacloud/amptest/model/HuichengTestResourceOwnerIdRequest.h - include/alibabacloud/amptest/model/HuichengTestResourceOwnerIdResult.h - include/alibabacloud/amptest/model/HuichengetRequest.h - include/alibabacloud/amptest/model/HuichengetResult.h - include/alibabacloud/amptest/model/HuichengetestRequest.h - include/alibabacloud/amptest/model/HuichengetestResult.h ) - -set(amptest_src - src/AmpTestClient.cc - src/model/CreateRulesRequest.cc - src/model/CreateRulesResult.cc - src/model/HuichengTestGrayRequest.cc - src/model/HuichengTestGrayResult.cc - src/model/HuichengTestGrayEightRequest.cc - src/model/HuichengTestGrayEightResult.cc - src/model/HuichengTestGrayFifthRequest.cc - src/model/HuichengTestGrayFifthResult.cc - src/model/HuichengTestGrayNineRequest.cc - src/model/HuichengTestGrayNineResult.cc - src/model/HuichengTestGraySecondRequest.cc - src/model/HuichengTestGraySecondResult.cc - src/model/HuichengTestGraySevenRequest.cc - src/model/HuichengTestGraySevenResult.cc - src/model/HuichengTestGraySixRequest.cc - src/model/HuichengTestGraySixResult.cc - src/model/HuichengTestGrayTenRequest.cc - src/model/HuichengTestGrayTenResult.cc - src/model/HuichengTestGrayThirdRequest.cc - src/model/HuichengTestGrayThirdResult.cc - src/model/HuichengTestResourceOwnerIdRequest.cc - src/model/HuichengTestResourceOwnerIdResult.cc - src/model/HuichengetRequest.cc - src/model/HuichengetResult.cc - src/model/HuichengetestRequest.cc - src/model/HuichengetestResult.cc ) - -add_library(amptest ${LIB_TYPE} - ${amptest_public_header} - ${amptest_public_header_model} - ${amptest_src}) - -set_target_properties(amptest - 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}amptest - ) - -if(${LIB_TYPE} STREQUAL "SHARED") - set_target_properties(amptest - PROPERTIES - DEFINE_SYMBOL ALIBABACLOUD_AMPTEST_LIBRARY) -endif() - -target_include_directories(amptest - PRIVATE include - ${CMAKE_SOURCE_DIR}/core/include - ) -target_link_libraries(amptest - core) - -if(CMAKE_HOST_WIN32) - ExternalProject_Get_Property(jsoncpp INSTALL_DIR) - set(jsoncpp_install_dir ${INSTALL_DIR}) - add_dependencies(amptest - jsoncpp) - target_include_directories(amptest - PRIVATE ${jsoncpp_install_dir}/include) - target_link_libraries(amptest - ${jsoncpp_install_dir}/lib/jsoncpp.lib) - set_target_properties(amptest - PROPERTIES - COMPILE_OPTIONS "/bigobj") -else() - target_include_directories(amptest - PRIVATE /usr/include/jsoncpp) - target_link_libraries(amptest - jsoncpp) -endif() - -install(FILES ${amptest_public_header} - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/amptest) -install(FILES ${amptest_public_header_model} - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/amptest/model) -install(TARGETS amptest - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - ) \ No newline at end of file diff --git a/amptest/include/alibabacloud/amptest/AmpTestClient.h b/amptest/include/alibabacloud/amptest/AmpTestClient.h deleted file mode 100644 index 51248b4c6..000000000 --- a/amptest/include/alibabacloud/amptest/AmpTestClient.h +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_AMPTESTCLIENT_H_ -#define ALIBABACLOUD_AMPTEST_AMPTESTCLIENT_H_ - -#include -#include -#include -#include -#include "AmpTestExport.h" -#include "model/CreateRulesRequest.h" -#include "model/CreateRulesResult.h" -#include "model/HuichengTestGrayRequest.h" -#include "model/HuichengTestGrayResult.h" -#include "model/HuichengTestGrayEightRequest.h" -#include "model/HuichengTestGrayEightResult.h" -#include "model/HuichengTestGrayFifthRequest.h" -#include "model/HuichengTestGrayFifthResult.h" -#include "model/HuichengTestGrayNineRequest.h" -#include "model/HuichengTestGrayNineResult.h" -#include "model/HuichengTestGraySecondRequest.h" -#include "model/HuichengTestGraySecondResult.h" -#include "model/HuichengTestGraySevenRequest.h" -#include "model/HuichengTestGraySevenResult.h" -#include "model/HuichengTestGraySixRequest.h" -#include "model/HuichengTestGraySixResult.h" -#include "model/HuichengTestGrayTenRequest.h" -#include "model/HuichengTestGrayTenResult.h" -#include "model/HuichengTestGrayThirdRequest.h" -#include "model/HuichengTestGrayThirdResult.h" -#include "model/HuichengTestResourceOwnerIdRequest.h" -#include "model/HuichengTestResourceOwnerIdResult.h" -#include "model/HuichengetRequest.h" -#include "model/HuichengetResult.h" -#include "model/HuichengetestRequest.h" -#include "model/HuichengetestResult.h" - - -namespace AlibabaCloud -{ - namespace AmpTest - { - class ALIBABACLOUD_AMPTEST_EXPORT AmpTestClient : public RpcServiceClient - { - public: - typedef Outcome CreateRulesOutcome; - typedef std::future CreateRulesOutcomeCallable; - typedef std::function&)> CreateRulesAsyncHandler; - typedef Outcome HuichengTestGrayOutcome; - typedef std::future HuichengTestGrayOutcomeCallable; - typedef std::function&)> HuichengTestGrayAsyncHandler; - typedef Outcome HuichengTestGrayEightOutcome; - typedef std::future HuichengTestGrayEightOutcomeCallable; - typedef std::function&)> HuichengTestGrayEightAsyncHandler; - typedef Outcome HuichengTestGrayFifthOutcome; - typedef std::future HuichengTestGrayFifthOutcomeCallable; - typedef std::function&)> HuichengTestGrayFifthAsyncHandler; - typedef Outcome HuichengTestGrayNineOutcome; - typedef std::future HuichengTestGrayNineOutcomeCallable; - typedef std::function&)> HuichengTestGrayNineAsyncHandler; - typedef Outcome HuichengTestGraySecondOutcome; - typedef std::future HuichengTestGraySecondOutcomeCallable; - typedef std::function&)> HuichengTestGraySecondAsyncHandler; - typedef Outcome HuichengTestGraySevenOutcome; - typedef std::future HuichengTestGraySevenOutcomeCallable; - typedef std::function&)> HuichengTestGraySevenAsyncHandler; - typedef Outcome HuichengTestGraySixOutcome; - typedef std::future HuichengTestGraySixOutcomeCallable; - typedef std::function&)> HuichengTestGraySixAsyncHandler; - typedef Outcome HuichengTestGrayTenOutcome; - typedef std::future HuichengTestGrayTenOutcomeCallable; - typedef std::function&)> HuichengTestGrayTenAsyncHandler; - typedef Outcome HuichengTestGrayThirdOutcome; - typedef std::future HuichengTestGrayThirdOutcomeCallable; - typedef std::function&)> HuichengTestGrayThirdAsyncHandler; - typedef Outcome HuichengTestResourceOwnerIdOutcome; - typedef std::future HuichengTestResourceOwnerIdOutcomeCallable; - typedef std::function&)> HuichengTestResourceOwnerIdAsyncHandler; - typedef Outcome HuichengetOutcome; - typedef std::future HuichengetOutcomeCallable; - typedef std::function&)> HuichengetAsyncHandler; - typedef Outcome HuichengetestOutcome; - typedef std::future HuichengetestOutcomeCallable; - typedef std::function&)> HuichengetestAsyncHandler; - - AmpTestClient(const Credentials &credentials, const ClientConfiguration &configuration); - AmpTestClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); - AmpTestClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); - ~AmpTestClient(); - CreateRulesOutcome createRules(const Model::CreateRulesRequest &request)const; - void createRulesAsync(const Model::CreateRulesRequest& request, const CreateRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateRulesOutcomeCallable createRulesCallable(const Model::CreateRulesRequest& request) const; - HuichengTestGrayOutcome huichengTestGray(const Model::HuichengTestGrayRequest &request)const; - void huichengTestGrayAsync(const Model::HuichengTestGrayRequest& request, const HuichengTestGrayAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - HuichengTestGrayOutcomeCallable huichengTestGrayCallable(const Model::HuichengTestGrayRequest& request) const; - HuichengTestGrayEightOutcome huichengTestGrayEight(const Model::HuichengTestGrayEightRequest &request)const; - void huichengTestGrayEightAsync(const Model::HuichengTestGrayEightRequest& request, const HuichengTestGrayEightAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - HuichengTestGrayEightOutcomeCallable huichengTestGrayEightCallable(const Model::HuichengTestGrayEightRequest& request) const; - HuichengTestGrayFifthOutcome huichengTestGrayFifth(const Model::HuichengTestGrayFifthRequest &request)const; - void huichengTestGrayFifthAsync(const Model::HuichengTestGrayFifthRequest& request, const HuichengTestGrayFifthAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - HuichengTestGrayFifthOutcomeCallable huichengTestGrayFifthCallable(const Model::HuichengTestGrayFifthRequest& request) const; - HuichengTestGrayNineOutcome huichengTestGrayNine(const Model::HuichengTestGrayNineRequest &request)const; - void huichengTestGrayNineAsync(const Model::HuichengTestGrayNineRequest& request, const HuichengTestGrayNineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - HuichengTestGrayNineOutcomeCallable huichengTestGrayNineCallable(const Model::HuichengTestGrayNineRequest& request) const; - HuichengTestGraySecondOutcome huichengTestGraySecond(const Model::HuichengTestGraySecondRequest &request)const; - void huichengTestGraySecondAsync(const Model::HuichengTestGraySecondRequest& request, const HuichengTestGraySecondAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - HuichengTestGraySecondOutcomeCallable huichengTestGraySecondCallable(const Model::HuichengTestGraySecondRequest& request) const; - HuichengTestGraySevenOutcome huichengTestGraySeven(const Model::HuichengTestGraySevenRequest &request)const; - void huichengTestGraySevenAsync(const Model::HuichengTestGraySevenRequest& request, const HuichengTestGraySevenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - HuichengTestGraySevenOutcomeCallable huichengTestGraySevenCallable(const Model::HuichengTestGraySevenRequest& request) const; - HuichengTestGraySixOutcome huichengTestGraySix(const Model::HuichengTestGraySixRequest &request)const; - void huichengTestGraySixAsync(const Model::HuichengTestGraySixRequest& request, const HuichengTestGraySixAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - HuichengTestGraySixOutcomeCallable huichengTestGraySixCallable(const Model::HuichengTestGraySixRequest& request) const; - HuichengTestGrayTenOutcome huichengTestGrayTen(const Model::HuichengTestGrayTenRequest &request)const; - void huichengTestGrayTenAsync(const Model::HuichengTestGrayTenRequest& request, const HuichengTestGrayTenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - HuichengTestGrayTenOutcomeCallable huichengTestGrayTenCallable(const Model::HuichengTestGrayTenRequest& request) const; - HuichengTestGrayThirdOutcome huichengTestGrayThird(const Model::HuichengTestGrayThirdRequest &request)const; - void huichengTestGrayThirdAsync(const Model::HuichengTestGrayThirdRequest& request, const HuichengTestGrayThirdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - HuichengTestGrayThirdOutcomeCallable huichengTestGrayThirdCallable(const Model::HuichengTestGrayThirdRequest& request) const; - HuichengTestResourceOwnerIdOutcome huichengTestResourceOwnerId(const Model::HuichengTestResourceOwnerIdRequest &request)const; - void huichengTestResourceOwnerIdAsync(const Model::HuichengTestResourceOwnerIdRequest& request, const HuichengTestResourceOwnerIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - HuichengTestResourceOwnerIdOutcomeCallable huichengTestResourceOwnerIdCallable(const Model::HuichengTestResourceOwnerIdRequest& request) const; - HuichengetOutcome huichenget(const Model::HuichengetRequest &request)const; - void huichengetAsync(const Model::HuichengetRequest& request, const HuichengetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - HuichengetOutcomeCallable huichengetCallable(const Model::HuichengetRequest& request) const; - HuichengetestOutcome huichengetest(const Model::HuichengetestRequest &request)const; - void huichengetestAsync(const Model::HuichengetestRequest& request, const HuichengetestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - HuichengetestOutcomeCallable huichengetestCallable(const Model::HuichengetestRequest& request) const; - - private: - std::shared_ptr endpointProvider_; - }; - } -} - -#endif // !ALIBABACLOUD_AMPTEST_AMPTESTCLIENT_H_ diff --git a/amptest/include/alibabacloud/amptest/AmpTestExport.h b/amptest/include/alibabacloud/amptest/AmpTestExport.h deleted file mode 100644 index 1899fd2da..000000000 --- a/amptest/include/alibabacloud/amptest/AmpTestExport.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_AMPTESTEXPORT_H_ -#define ALIBABACLOUD_AMPTEST_AMPTESTEXPORT_H_ - -#include - -#if defined(ALIBABACLOUD_SHARED) -# if defined(ALIBABACLOUD_AMPTEST_LIBRARY) -# define ALIBABACLOUD_AMPTEST_EXPORT ALIBABACLOUD_DECL_EXPORT -# else -# define ALIBABACLOUD_AMPTEST_EXPORT ALIBABACLOUD_DECL_IMPORT -# endif -#else -# define ALIBABACLOUD_AMPTEST_EXPORT -#endif - -#endif // !ALIBABACLOUD_AMPTEST_AMPTESTEXPORT_H_ \ No newline at end of file diff --git a/amptest/include/alibabacloud/amptest/model/CreateRulesRequest.h b/amptest/include/alibabacloud/amptest/model/CreateRulesRequest.h deleted file mode 100644 index 6e76b47ff..000000000 --- a/amptest/include/alibabacloud/amptest/model/CreateRulesRequest.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_CREATERULESREQUEST_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_CREATERULESREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace AmpTest { -namespace Model { -class ALIBABACLOUD_AMPTEST_EXPORT CreateRulesRequest : public RpcServiceRequest { -public: - struct Home { - struct Address { - struct T { - std::string _class; - }; - T t; - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - Address address; - struct T { - std::string _class; - }; - T t; - std::string string; - std::vector phoneNumbers; - struct DMapItem { - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - DMapItem dMapItem; - std::map dMap; - std::map nameToAge; - struct LocationsItem { - long late; - long lon; - }; - LocationsItem locationsItem; - std::vector locations; - }; - CreateRulesRequest(); - ~CreateRulesRequest(); - Home getHome() const; - void setHome(const Home &home); - -private: - Home home_; -}; -} // namespace Model -} // namespace AmpTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_AMPTEST_MODEL_CREATERULESREQUEST_H_ diff --git a/amptest/include/alibabacloud/amptest/model/CreateRulesResult.h b/amptest/include/alibabacloud/amptest/model/CreateRulesResult.h deleted file mode 100644 index 852cc2ad3..000000000 --- a/amptest/include/alibabacloud/amptest/model/CreateRulesResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_CREATERULESRESULT_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_CREATERULESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace AmpTest - { - namespace Model - { - class ALIBABACLOUD_AMPTEST_EXPORT CreateRulesResult : public ServiceResult - { - public: - - - CreateRulesResult(); - explicit CreateRulesResult(const std::string &payload); - ~CreateRulesResult(); - int getSize()const; - std::string getValue()const; - - protected: - void parse(const std::string &payload); - private: - int size_; - std::string value_; - - }; - } - } -} -#endif // !ALIBABACLOUD_AMPTEST_MODEL_CREATERULESRESULT_H_ \ No newline at end of file diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayEightRequest.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayEightRequest.h deleted file mode 100644 index 449358fb2..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayEightRequest.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYEIGHTREQUEST_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYEIGHTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace AmpTest { -namespace Model { -class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayEightRequest : public RpcServiceRequest { -public: - struct Home { - struct Address { - struct T { - std::string _class; - }; - T t; - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - Address address; - struct T { - std::string _class; - }; - T t; - std::string string; - std::vector phoneNumbers; - struct DMapItem { - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - DMapItem dMapItem; - std::map dMap; - std::map nameToAge; - struct LocationsItem { - long late; - long lon; - }; - LocationsItem locationsItem; - std::vector locations; - }; - HuichengTestGrayEightRequest(); - ~HuichengTestGrayEightRequest(); - Home getHome() const; - void setHome(const Home &home); - -private: - Home home_; -}; -} // namespace Model -} // namespace AmpTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYEIGHTREQUEST_H_ diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayEightResult.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayEightResult.h deleted file mode 100644 index 7ce589c15..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayEightResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYEIGHTRESULT_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYEIGHTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace AmpTest - { - namespace Model - { - class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayEightResult : public ServiceResult - { - public: - - - HuichengTestGrayEightResult(); - explicit HuichengTestGrayEightResult(const std::string &payload); - ~HuichengTestGrayEightResult(); - int getSize()const; - std::string getValue()const; - - protected: - void parse(const std::string &payload); - private: - int size_; - std::string value_; - - }; - } - } -} -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYEIGHTRESULT_H_ \ No newline at end of file diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayFifthRequest.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayFifthRequest.h deleted file mode 100644 index 05325b4c2..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayFifthRequest.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYFIFTHREQUEST_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYFIFTHREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace AmpTest { -namespace Model { -class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayFifthRequest : public RpcServiceRequest { -public: - struct Home { - struct Address { - struct T { - std::string _class; - }; - T t; - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - Address address; - struct T { - std::string _class; - }; - T t; - std::string string; - std::vector phoneNumbers; - struct DMapItem { - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - DMapItem dMapItem; - std::map dMap; - std::map nameToAge; - struct LocationsItem { - long late; - long lon; - }; - LocationsItem locationsItem; - std::vector locations; - }; - HuichengTestGrayFifthRequest(); - ~HuichengTestGrayFifthRequest(); - Home getHome() const; - void setHome(const Home &home); - -private: - Home home_; -}; -} // namespace Model -} // namespace AmpTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYFIFTHREQUEST_H_ diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayFifthResult.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayFifthResult.h deleted file mode 100644 index 72d16481d..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayFifthResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYFIFTHRESULT_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYFIFTHRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace AmpTest - { - namespace Model - { - class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayFifthResult : public ServiceResult - { - public: - - - HuichengTestGrayFifthResult(); - explicit HuichengTestGrayFifthResult(const std::string &payload); - ~HuichengTestGrayFifthResult(); - int getSize()const; - std::string getValue()const; - - protected: - void parse(const std::string &payload); - private: - int size_; - std::string value_; - - }; - } - } -} -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYFIFTHRESULT_H_ \ No newline at end of file diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayNineRequest.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayNineRequest.h deleted file mode 100644 index 2a1b9ed43..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayNineRequest.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYNINEREQUEST_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYNINEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace AmpTest { -namespace Model { -class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayNineRequest : public RpcServiceRequest { -public: - struct Home { - struct Address { - struct T { - std::string _class; - }; - T t; - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - Address address; - struct T { - std::string _class; - }; - T t; - std::string string; - std::vector phoneNumbers; - struct DMapItem { - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - DMapItem dMapItem; - std::map dMap; - std::map nameToAge; - struct LocationsItem { - long late; - long lon; - }; - LocationsItem locationsItem; - std::vector locations; - }; - HuichengTestGrayNineRequest(); - ~HuichengTestGrayNineRequest(); - Home getHome() const; - void setHome(const Home &home); - -private: - Home home_; -}; -} // namespace Model -} // namespace AmpTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYNINEREQUEST_H_ diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayNineResult.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayNineResult.h deleted file mode 100644 index 7cf84ba33..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayNineResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYNINERESULT_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYNINERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace AmpTest - { - namespace Model - { - class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayNineResult : public ServiceResult - { - public: - - - HuichengTestGrayNineResult(); - explicit HuichengTestGrayNineResult(const std::string &payload); - ~HuichengTestGrayNineResult(); - int getSize()const; - std::string getValue()const; - - protected: - void parse(const std::string &payload); - private: - int size_; - std::string value_; - - }; - } - } -} -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYNINERESULT_H_ \ No newline at end of file diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayRequest.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayRequest.h deleted file mode 100644 index a76c7b2ee..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayRequest.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYREQUEST_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace AmpTest { -namespace Model { -class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayRequest : public RpcServiceRequest { -public: - struct Home { - struct Address { - struct T { - std::string _class; - }; - T t; - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - Address address; - struct T { - std::string _class; - }; - T t; - std::string string; - std::vector phoneNumbers; - struct DMapItem { - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - DMapItem dMapItem; - std::map dMap; - std::map nameToAge; - struct LocationsItem { - long late; - long lon; - }; - LocationsItem locationsItem; - std::vector locations; - }; - HuichengTestGrayRequest(); - ~HuichengTestGrayRequest(); - Home getHome() const; - void setHome(const Home &home); - -private: - Home home_; -}; -} // namespace Model -} // namespace AmpTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYREQUEST_H_ diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayResult.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayResult.h deleted file mode 100644 index 72f3910ce..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYRESULT_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace AmpTest - { - namespace Model - { - class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayResult : public ServiceResult - { - public: - - - HuichengTestGrayResult(); - explicit HuichengTestGrayResult(const std::string &payload); - ~HuichengTestGrayResult(); - int getSize()const; - std::string getValue()const; - - protected: - void parse(const std::string &payload); - private: - int size_; - std::string value_; - - }; - } - } -} -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYRESULT_H_ \ No newline at end of file diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGraySecondRequest.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGraySecondRequest.h deleted file mode 100644 index 0b5590943..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGraySecondRequest.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYSECONDREQUEST_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSECONDREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace AmpTest { -namespace Model { -class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGraySecondRequest : public RpcServiceRequest { -public: - struct Home { - struct Address { - struct T { - std::string _class; - }; - T t; - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - Address address; - struct T { - std::string _class; - }; - T t; - std::string string; - std::vector phoneNumbers; - struct DMapItem { - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - DMapItem dMapItem; - std::map dMap; - std::map nameToAge; - struct LocationsItem { - long late; - long lon; - }; - LocationsItem locationsItem; - std::vector locations; - }; - HuichengTestGraySecondRequest(); - ~HuichengTestGraySecondRequest(); - Home getHome() const; - void setHome(const Home &home); - -private: - Home home_; -}; -} // namespace Model -} // namespace AmpTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSECONDREQUEST_H_ diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGraySecondResult.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGraySecondResult.h deleted file mode 100644 index f9526234e..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGraySecondResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYSECONDRESULT_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSECONDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace AmpTest - { - namespace Model - { - class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGraySecondResult : public ServiceResult - { - public: - - - HuichengTestGraySecondResult(); - explicit HuichengTestGraySecondResult(const std::string &payload); - ~HuichengTestGraySecondResult(); - int getSize()const; - std::string getValue()const; - - protected: - void parse(const std::string &payload); - private: - int size_; - std::string value_; - - }; - } - } -} -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSECONDRESULT_H_ \ No newline at end of file diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGraySevenRequest.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGraySevenRequest.h deleted file mode 100644 index 2c6fe87af..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGraySevenRequest.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYSEVENREQUEST_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSEVENREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace AmpTest { -namespace Model { -class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGraySevenRequest : public RpcServiceRequest { -public: - struct Home { - struct Address { - struct T { - std::string _class; - }; - T t; - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - Address address; - struct T { - std::string _class; - }; - T t; - std::string string; - std::vector phoneNumbers; - struct DMapItem { - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - DMapItem dMapItem; - std::map dMap; - std::map nameToAge; - struct LocationsItem { - long late; - long lon; - }; - LocationsItem locationsItem; - std::vector locations; - }; - HuichengTestGraySevenRequest(); - ~HuichengTestGraySevenRequest(); - Home getHome() const; - void setHome(const Home &home); - -private: - Home home_; -}; -} // namespace Model -} // namespace AmpTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSEVENREQUEST_H_ diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGraySevenResult.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGraySevenResult.h deleted file mode 100644 index c905d9501..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGraySevenResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYSEVENRESULT_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSEVENRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace AmpTest - { - namespace Model - { - class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGraySevenResult : public ServiceResult - { - public: - - - HuichengTestGraySevenResult(); - explicit HuichengTestGraySevenResult(const std::string &payload); - ~HuichengTestGraySevenResult(); - int getSize()const; - std::string getValue()const; - - protected: - void parse(const std::string &payload); - private: - int size_; - std::string value_; - - }; - } - } -} -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSEVENRESULT_H_ \ No newline at end of file diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGraySixRequest.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGraySixRequest.h deleted file mode 100644 index 6522f3257..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGraySixRequest.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYSIXREQUEST_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSIXREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace AmpTest { -namespace Model { -class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGraySixRequest : public RpcServiceRequest { -public: - struct Home { - struct Address { - struct T { - std::string _class; - }; - T t; - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - Address address; - struct T { - std::string _class; - }; - T t; - std::string string; - std::vector phoneNumbers; - struct DMapItem { - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - DMapItem dMapItem; - std::map dMap; - std::map nameToAge; - struct LocationsItem { - long late; - long lon; - }; - LocationsItem locationsItem; - std::vector locations; - }; - HuichengTestGraySixRequest(); - ~HuichengTestGraySixRequest(); - Home getHome() const; - void setHome(const Home &home); - -private: - Home home_; -}; -} // namespace Model -} // namespace AmpTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSIXREQUEST_H_ diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGraySixResult.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGraySixResult.h deleted file mode 100644 index 3cecdb65a..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGraySixResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYSIXRESULT_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSIXRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace AmpTest - { - namespace Model - { - class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGraySixResult : public ServiceResult - { - public: - - - HuichengTestGraySixResult(); - explicit HuichengTestGraySixResult(const std::string &payload); - ~HuichengTestGraySixResult(); - int getSize()const; - std::string getValue()const; - - protected: - void parse(const std::string &payload); - private: - int size_; - std::string value_; - - }; - } - } -} -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYSIXRESULT_H_ \ No newline at end of file diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayTenRequest.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayTenRequest.h deleted file mode 100644 index c7523b6a9..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayTenRequest.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYTENREQUEST_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYTENREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace AmpTest { -namespace Model { -class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayTenRequest : public RpcServiceRequest { -public: - struct Home { - struct Address { - struct T { - std::string _class; - }; - T t; - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - Address address; - struct T { - std::string _class; - }; - T t; - std::string string; - std::vector phoneNumbers; - struct DMapItem { - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - DMapItem dMapItem; - std::map dMap; - std::map nameToAge; - struct LocationsItem { - long late; - long lon; - }; - LocationsItem locationsItem; - std::vector locations; - }; - HuichengTestGrayTenRequest(); - ~HuichengTestGrayTenRequest(); - Home getHome() const; - void setHome(const Home &home); - -private: - Home home_; -}; -} // namespace Model -} // namespace AmpTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYTENREQUEST_H_ diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayTenResult.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayTenResult.h deleted file mode 100644 index 384262224..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayTenResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYTENRESULT_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYTENRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace AmpTest - { - namespace Model - { - class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayTenResult : public ServiceResult - { - public: - - - HuichengTestGrayTenResult(); - explicit HuichengTestGrayTenResult(const std::string &payload); - ~HuichengTestGrayTenResult(); - int getSize()const; - std::string getValue()const; - - protected: - void parse(const std::string &payload); - private: - int size_; - std::string value_; - - }; - } - } -} -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYTENRESULT_H_ \ No newline at end of file diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayThirdRequest.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayThirdRequest.h deleted file mode 100644 index 2f5d69e1d..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayThirdRequest.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYTHIRDREQUEST_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYTHIRDREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace AmpTest { -namespace Model { -class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayThirdRequest : public RpcServiceRequest { -public: - struct Home { - struct Address { - struct T { - std::string _class; - }; - T t; - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - Address address; - struct T { - std::string _class; - }; - T t; - std::string string; - std::vector phoneNumbers; - struct DMapItem { - struct Location { - long late; - long lon; - }; - Location location; - std::string detail; - }; - DMapItem dMapItem; - std::map dMap; - std::map nameToAge; - struct LocationsItem { - long late; - long lon; - }; - LocationsItem locationsItem; - std::vector locations; - }; - HuichengTestGrayThirdRequest(); - ~HuichengTestGrayThirdRequest(); - Home getHome() const; - void setHome(const Home &home); - -private: - Home home_; -}; -} // namespace Model -} // namespace AmpTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYTHIRDREQUEST_H_ diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayThirdResult.h b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayThirdResult.h deleted file mode 100644 index b7d4ca057..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestGrayThirdResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTGRAYTHIRDRESULT_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYTHIRDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace AmpTest - { - namespace Model - { - class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestGrayThirdResult : public ServiceResult - { - public: - - - HuichengTestGrayThirdResult(); - explicit HuichengTestGrayThirdResult(const std::string &payload); - ~HuichengTestGrayThirdResult(); - int getSize()const; - std::string getValue()const; - - protected: - void parse(const std::string &payload); - private: - int size_; - std::string value_; - - }; - } - } -} -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTGRAYTHIRDRESULT_H_ \ No newline at end of file diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestResourceOwnerIdRequest.h b/amptest/include/alibabacloud/amptest/model/HuichengTestResourceOwnerIdRequest.h deleted file mode 100644 index 5b0335a45..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestResourceOwnerIdRequest.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTRESOURCEOWNERIDREQUEST_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTRESOURCEOWNERIDREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace AmpTest { -namespace Model { -class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestResourceOwnerIdRequest : public RpcServiceRequest { -public: - HuichengTestResourceOwnerIdRequest(); - ~HuichengTestResourceOwnerIdRequest(); - -private: -}; -} // namespace Model -} // namespace AmpTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTRESOURCEOWNERIDREQUEST_H_ diff --git a/amptest/include/alibabacloud/amptest/model/HuichengTestResourceOwnerIdResult.h b/amptest/include/alibabacloud/amptest/model/HuichengTestResourceOwnerIdResult.h deleted file mode 100644 index 23d7abe42..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengTestResourceOwnerIdResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGTESTRESOURCEOWNERIDRESULT_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTRESOURCEOWNERIDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace AmpTest - { - namespace Model - { - class ALIBABACLOUD_AMPTEST_EXPORT HuichengTestResourceOwnerIdResult : public ServiceResult - { - public: - - - HuichengTestResourceOwnerIdResult(); - explicit HuichengTestResourceOwnerIdResult(const std::string &payload); - ~HuichengTestResourceOwnerIdResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGTESTRESOURCEOWNERIDRESULT_H_ \ No newline at end of file diff --git a/amptest/include/alibabacloud/amptest/model/HuichengetRequest.h b/amptest/include/alibabacloud/amptest/model/HuichengetRequest.h deleted file mode 100644 index 80616d817..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengetRequest.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGETREQUEST_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace AmpTest { -namespace Model { -class ALIBABACLOUD_AMPTEST_EXPORT HuichengetRequest : public RpcServiceRequest { -public: - HuichengetRequest(); - ~HuichengetRequest(); - std::string getAdd() const; - void setAdd(const std::string &add); - std::string getAddress() const; - void setAddress(const std::string &address); - std::string getSix() const; - void setSix(const std::string &six); - std::string getEnight() const; - void setEnight(const std::string &enight); - std::string getNewName() const; - void setNewName(const std::string &newName); - std::string getList() const; - void setList(const std::string &list); - std::string getTwo() const; - void setTwo(const std::string &two); - std::string getThree() const; - void setThree(const std::string &three); - std::string getNigh() const; - void setNigh(const std::string &nigh); - std::string getRed() const; - void setRed(const std::string &red); - std::string getApple() const; - void setApple(const std::string &apple); - std::string getTea() const; - void setTea(const std::string &tea); - std::string getBlue() const; - void setBlue(const std::string &blue); - std::string getWhite() const; - void setWhite(const std::string &white); - std::string getFour() const; - void setFour(const std::string &four); - std::string getNow() const; - void setNow(const std::string &now); - std::string getTen() const; - void setTen(const std::string &ten); - std::string getFive() const; - void setFive(const std::string &five); - -private: - std::string add_; - std::string address_; - std::string six_; - std::string enight_; - std::string newName_; - std::string list_; - std::string two_; - std::string three_; - std::string nigh_; - std::string red_; - std::string apple_; - std::string tea_; - std::string blue_; - std::string white_; - std::string four_; - std::string now_; - std::string ten_; - std::string five_; -}; -} // namespace Model -} // namespace AmpTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETREQUEST_H_ diff --git a/amptest/include/alibabacloud/amptest/model/HuichengetResult.h b/amptest/include/alibabacloud/amptest/model/HuichengetResult.h deleted file mode 100644 index 7b50e040d..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengetResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGETRESULT_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace AmpTest - { - namespace Model - { - class ALIBABACLOUD_AMPTEST_EXPORT HuichengetResult : public ServiceResult - { - public: - - - HuichengetResult(); - explicit HuichengetResult(const std::string &payload); - ~HuichengetResult(); - std::string getApple()const; - std::string getFive()const; - std::string getSix()const; - std::string getMessage()const; - std::string getInstanceId4()const; - std::string getSeven()const; - std::string getCode()const; - std::string getAge()const; - - protected: - void parse(const std::string &payload); - private: - std::string apple_; - std::string five_; - std::string six_; - std::string message_; - std::string instanceId4_; - std::string seven_; - std::string code_; - std::string age_; - - }; - } - } -} -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETRESULT_H_ \ No newline at end of file diff --git a/amptest/include/alibabacloud/amptest/model/HuichengetestRequest.h b/amptest/include/alibabacloud/amptest/model/HuichengetestRequest.h deleted file mode 100644 index 927e0a075..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengetestRequest.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGETESTREQUEST_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETESTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace AmpTest { -namespace Model { -class ALIBABACLOUD_AMPTEST_EXPORT HuichengetestRequest : public RpcServiceRequest { -public: - HuichengetestRequest(); - ~HuichengetestRequest(); - -private: -}; -} // namespace Model -} // namespace AmpTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETESTREQUEST_H_ diff --git a/amptest/include/alibabacloud/amptest/model/HuichengetestResult.h b/amptest/include/alibabacloud/amptest/model/HuichengetestResult.h deleted file mode 100644 index f3f3716cf..000000000 --- a/amptest/include/alibabacloud/amptest/model/HuichengetestResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_AMPTEST_MODEL_HUICHENGETESTRESULT_H_ -#define ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETESTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace AmpTest - { - namespace Model - { - class ALIBABACLOUD_AMPTEST_EXPORT HuichengetestResult : public ServiceResult - { - public: - - - HuichengetestResult(); - explicit HuichengetestResult(const std::string &payload); - ~HuichengetestResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_AMPTEST_MODEL_HUICHENGETESTRESULT_H_ \ No newline at end of file diff --git a/amptest/src/AmpTestClient.cc b/amptest/src/AmpTestClient.cc deleted file mode 100644 index 2f143e9c0..000000000 --- a/amptest/src/AmpTestClient.cc +++ /dev/null @@ -1,521 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest; -using namespace AlibabaCloud::AmpTest::Model; - -namespace -{ - const std::string SERVICE_NAME = "AmpTest"; -} - -AmpTestClient::AmpTestClient(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, "AmpTest"); -} - -AmpTestClient::AmpTestClient(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, "AmpTest"); -} - -AmpTestClient::AmpTestClient(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, "AmpTest"); -} - -AmpTestClient::~AmpTestClient() -{} - -AmpTestClient::CreateRulesOutcome AmpTestClient::createRules(const CreateRulesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateRulesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateRulesOutcome(CreateRulesResult(outcome.result())); - else - return CreateRulesOutcome(outcome.error()); -} - -void AmpTestClient::createRulesAsync(const CreateRulesRequest& request, const CreateRulesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createRules(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -AmpTestClient::CreateRulesOutcomeCallable AmpTestClient::createRulesCallable(const CreateRulesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createRules(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -AmpTestClient::HuichengTestGrayOutcome AmpTestClient::huichengTestGray(const HuichengTestGrayRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return HuichengTestGrayOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return HuichengTestGrayOutcome(HuichengTestGrayResult(outcome.result())); - else - return HuichengTestGrayOutcome(outcome.error()); -} - -void AmpTestClient::huichengTestGrayAsync(const HuichengTestGrayRequest& request, const HuichengTestGrayAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, huichengTestGray(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -AmpTestClient::HuichengTestGrayOutcomeCallable AmpTestClient::huichengTestGrayCallable(const HuichengTestGrayRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->huichengTestGray(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -AmpTestClient::HuichengTestGrayEightOutcome AmpTestClient::huichengTestGrayEight(const HuichengTestGrayEightRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return HuichengTestGrayEightOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return HuichengTestGrayEightOutcome(HuichengTestGrayEightResult(outcome.result())); - else - return HuichengTestGrayEightOutcome(outcome.error()); -} - -void AmpTestClient::huichengTestGrayEightAsync(const HuichengTestGrayEightRequest& request, const HuichengTestGrayEightAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, huichengTestGrayEight(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -AmpTestClient::HuichengTestGrayEightOutcomeCallable AmpTestClient::huichengTestGrayEightCallable(const HuichengTestGrayEightRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->huichengTestGrayEight(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -AmpTestClient::HuichengTestGrayFifthOutcome AmpTestClient::huichengTestGrayFifth(const HuichengTestGrayFifthRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return HuichengTestGrayFifthOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return HuichengTestGrayFifthOutcome(HuichengTestGrayFifthResult(outcome.result())); - else - return HuichengTestGrayFifthOutcome(outcome.error()); -} - -void AmpTestClient::huichengTestGrayFifthAsync(const HuichengTestGrayFifthRequest& request, const HuichengTestGrayFifthAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, huichengTestGrayFifth(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -AmpTestClient::HuichengTestGrayFifthOutcomeCallable AmpTestClient::huichengTestGrayFifthCallable(const HuichengTestGrayFifthRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->huichengTestGrayFifth(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -AmpTestClient::HuichengTestGrayNineOutcome AmpTestClient::huichengTestGrayNine(const HuichengTestGrayNineRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return HuichengTestGrayNineOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return HuichengTestGrayNineOutcome(HuichengTestGrayNineResult(outcome.result())); - else - return HuichengTestGrayNineOutcome(outcome.error()); -} - -void AmpTestClient::huichengTestGrayNineAsync(const HuichengTestGrayNineRequest& request, const HuichengTestGrayNineAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, huichengTestGrayNine(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -AmpTestClient::HuichengTestGrayNineOutcomeCallable AmpTestClient::huichengTestGrayNineCallable(const HuichengTestGrayNineRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->huichengTestGrayNine(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -AmpTestClient::HuichengTestGraySecondOutcome AmpTestClient::huichengTestGraySecond(const HuichengTestGraySecondRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return HuichengTestGraySecondOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return HuichengTestGraySecondOutcome(HuichengTestGraySecondResult(outcome.result())); - else - return HuichengTestGraySecondOutcome(outcome.error()); -} - -void AmpTestClient::huichengTestGraySecondAsync(const HuichengTestGraySecondRequest& request, const HuichengTestGraySecondAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, huichengTestGraySecond(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -AmpTestClient::HuichengTestGraySecondOutcomeCallable AmpTestClient::huichengTestGraySecondCallable(const HuichengTestGraySecondRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->huichengTestGraySecond(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -AmpTestClient::HuichengTestGraySevenOutcome AmpTestClient::huichengTestGraySeven(const HuichengTestGraySevenRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return HuichengTestGraySevenOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return HuichengTestGraySevenOutcome(HuichengTestGraySevenResult(outcome.result())); - else - return HuichengTestGraySevenOutcome(outcome.error()); -} - -void AmpTestClient::huichengTestGraySevenAsync(const HuichengTestGraySevenRequest& request, const HuichengTestGraySevenAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, huichengTestGraySeven(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -AmpTestClient::HuichengTestGraySevenOutcomeCallable AmpTestClient::huichengTestGraySevenCallable(const HuichengTestGraySevenRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->huichengTestGraySeven(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -AmpTestClient::HuichengTestGraySixOutcome AmpTestClient::huichengTestGraySix(const HuichengTestGraySixRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return HuichengTestGraySixOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return HuichengTestGraySixOutcome(HuichengTestGraySixResult(outcome.result())); - else - return HuichengTestGraySixOutcome(outcome.error()); -} - -void AmpTestClient::huichengTestGraySixAsync(const HuichengTestGraySixRequest& request, const HuichengTestGraySixAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, huichengTestGraySix(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -AmpTestClient::HuichengTestGraySixOutcomeCallable AmpTestClient::huichengTestGraySixCallable(const HuichengTestGraySixRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->huichengTestGraySix(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -AmpTestClient::HuichengTestGrayTenOutcome AmpTestClient::huichengTestGrayTen(const HuichengTestGrayTenRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return HuichengTestGrayTenOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return HuichengTestGrayTenOutcome(HuichengTestGrayTenResult(outcome.result())); - else - return HuichengTestGrayTenOutcome(outcome.error()); -} - -void AmpTestClient::huichengTestGrayTenAsync(const HuichengTestGrayTenRequest& request, const HuichengTestGrayTenAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, huichengTestGrayTen(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -AmpTestClient::HuichengTestGrayTenOutcomeCallable AmpTestClient::huichengTestGrayTenCallable(const HuichengTestGrayTenRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->huichengTestGrayTen(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -AmpTestClient::HuichengTestGrayThirdOutcome AmpTestClient::huichengTestGrayThird(const HuichengTestGrayThirdRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return HuichengTestGrayThirdOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return HuichengTestGrayThirdOutcome(HuichengTestGrayThirdResult(outcome.result())); - else - return HuichengTestGrayThirdOutcome(outcome.error()); -} - -void AmpTestClient::huichengTestGrayThirdAsync(const HuichengTestGrayThirdRequest& request, const HuichengTestGrayThirdAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, huichengTestGrayThird(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -AmpTestClient::HuichengTestGrayThirdOutcomeCallable AmpTestClient::huichengTestGrayThirdCallable(const HuichengTestGrayThirdRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->huichengTestGrayThird(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -AmpTestClient::HuichengTestResourceOwnerIdOutcome AmpTestClient::huichengTestResourceOwnerId(const HuichengTestResourceOwnerIdRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return HuichengTestResourceOwnerIdOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return HuichengTestResourceOwnerIdOutcome(HuichengTestResourceOwnerIdResult(outcome.result())); - else - return HuichengTestResourceOwnerIdOutcome(outcome.error()); -} - -void AmpTestClient::huichengTestResourceOwnerIdAsync(const HuichengTestResourceOwnerIdRequest& request, const HuichengTestResourceOwnerIdAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, huichengTestResourceOwnerId(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -AmpTestClient::HuichengTestResourceOwnerIdOutcomeCallable AmpTestClient::huichengTestResourceOwnerIdCallable(const HuichengTestResourceOwnerIdRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->huichengTestResourceOwnerId(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -AmpTestClient::HuichengetOutcome AmpTestClient::huichenget(const HuichengetRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return HuichengetOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return HuichengetOutcome(HuichengetResult(outcome.result())); - else - return HuichengetOutcome(outcome.error()); -} - -void AmpTestClient::huichengetAsync(const HuichengetRequest& request, const HuichengetAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, huichenget(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -AmpTestClient::HuichengetOutcomeCallable AmpTestClient::huichengetCallable(const HuichengetRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->huichenget(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -AmpTestClient::HuichengetestOutcome AmpTestClient::huichengetest(const HuichengetestRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return HuichengetestOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return HuichengetestOutcome(HuichengetestResult(outcome.result())); - else - return HuichengetestOutcome(outcome.error()); -} - -void AmpTestClient::huichengetestAsync(const HuichengetestRequest& request, const HuichengetestAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, huichengetest(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -AmpTestClient::HuichengetestOutcomeCallable AmpTestClient::huichengetestCallable(const HuichengetestRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->huichengetest(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - diff --git a/amptest/src/model/CreateRulesRequest.cc b/amptest/src/model/CreateRulesRequest.cc deleted file mode 100644 index e820877ab..000000000 --- a/amptest/src/model/CreateRulesRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest::Model::CreateRulesRequest; - -CreateRulesRequest::CreateRulesRequest() - : RpcServiceRequest("amptest", "2020-12-30", "CreateRules") { - setMethod(HttpRequest::Method::Post); -} - -CreateRulesRequest::~CreateRulesRequest() {} - -CreateRulesRequest::Home CreateRulesRequest::getHome() const { - return home_; -} - -void CreateRulesRequest::setHome(const CreateRulesRequest::Home &home) { - home_ = home; - setParameter(std::string("Home") + ".Address.T.Class", home.address.t._class); - setParameter(std::string("Home") + ".Address.Location.Late", std::to_string(home.address.location.late)); - setParameter(std::string("Home") + ".Address.Location.Lon", std::to_string(home.address.location.lon)); - setParameter(std::string("Home") + ".Address.Detail", home.address.detail); - setParameter(std::string("Home") + ".T.Class", home.t._class); - for(int dep1 = 0; dep1 != home.phoneNumbers.size(); dep1++) { - setParameter(std::string("Home") + ".PhoneNumbers." + std::to_string(dep1 + 1), home.phoneNumbers[dep1]); - } - for(auto const &iter1 : home.dMap) { - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Late", std::to_string(iter1.second.location.late)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Lon", std::to_string(iter1.second.location.lon)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Detail", iter1.second.detail); - } - for(auto const &iter1 : home.nameToAge) { - setParameter(std::string("Home") + ".NameToAge." + iter1.first, std::to_string(iter1.second)); - } - for(int dep1 = 0; dep1 != home.locations.size(); dep1++) { - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Late", std::to_string(home.locations[dep1].late)); - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Lon", std::to_string(home.locations[dep1].lon)); - } -} - diff --git a/amptest/src/model/CreateRulesResult.cc b/amptest/src/model/CreateRulesResult.cc deleted file mode 100644 index 2d5939540..000000000 --- a/amptest/src/model/CreateRulesResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest; -using namespace AlibabaCloud::AmpTest::Model; - -CreateRulesResult::CreateRulesResult() : - ServiceResult() -{} - -CreateRulesResult::CreateRulesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateRulesResult::~CreateRulesResult() -{} - -void CreateRulesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Size"].isNull()) - size_ = std::stoi(value["Size"].asString()); - if(!value["Value"].isNull()) - value_ = value["Value"].asString(); - -} - -int CreateRulesResult::getSize()const -{ - return size_; -} - -std::string CreateRulesResult::getValue()const -{ - return value_; -} - diff --git a/amptest/src/model/HuichengTestGrayEightRequest.cc b/amptest/src/model/HuichengTestGrayEightRequest.cc deleted file mode 100644 index 91bd82257..000000000 --- a/amptest/src/model/HuichengTestGrayEightRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest::Model::HuichengTestGrayEightRequest; - -HuichengTestGrayEightRequest::HuichengTestGrayEightRequest() - : RpcServiceRequest("amptest", "2020-12-30", "HuichengTestGrayEight") { - setMethod(HttpRequest::Method::Post); -} - -HuichengTestGrayEightRequest::~HuichengTestGrayEightRequest() {} - -HuichengTestGrayEightRequest::Home HuichengTestGrayEightRequest::getHome() const { - return home_; -} - -void HuichengTestGrayEightRequest::setHome(const HuichengTestGrayEightRequest::Home &home) { - home_ = home; - setParameter(std::string("Home") + ".Address.T.Class", home.address.t._class); - setParameter(std::string("Home") + ".Address.Location.Late", std::to_string(home.address.location.late)); - setParameter(std::string("Home") + ".Address.Location.Lon", std::to_string(home.address.location.lon)); - setParameter(std::string("Home") + ".Address.Detail", home.address.detail); - setParameter(std::string("Home") + ".T.Class", home.t._class); - for(int dep1 = 0; dep1 != home.phoneNumbers.size(); dep1++) { - setParameter(std::string("Home") + ".PhoneNumbers." + std::to_string(dep1 + 1), home.phoneNumbers[dep1]); - } - for(auto const &iter1 : home.dMap) { - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Late", std::to_string(iter1.second.location.late)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Lon", std::to_string(iter1.second.location.lon)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Detail", iter1.second.detail); - } - for(auto const &iter1 : home.nameToAge) { - setParameter(std::string("Home") + ".NameToAge." + iter1.first, std::to_string(iter1.second)); - } - for(int dep1 = 0; dep1 != home.locations.size(); dep1++) { - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Late", std::to_string(home.locations[dep1].late)); - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Lon", std::to_string(home.locations[dep1].lon)); - } -} - diff --git a/amptest/src/model/HuichengTestGrayEightResult.cc b/amptest/src/model/HuichengTestGrayEightResult.cc deleted file mode 100644 index 3bee13a4f..000000000 --- a/amptest/src/model/HuichengTestGrayEightResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest; -using namespace AlibabaCloud::AmpTest::Model; - -HuichengTestGrayEightResult::HuichengTestGrayEightResult() : - ServiceResult() -{} - -HuichengTestGrayEightResult::HuichengTestGrayEightResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -HuichengTestGrayEightResult::~HuichengTestGrayEightResult() -{} - -void HuichengTestGrayEightResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Size"].isNull()) - size_ = std::stoi(value["Size"].asString()); - if(!value["Value"].isNull()) - value_ = value["Value"].asString(); - -} - -int HuichengTestGrayEightResult::getSize()const -{ - return size_; -} - -std::string HuichengTestGrayEightResult::getValue()const -{ - return value_; -} - diff --git a/amptest/src/model/HuichengTestGrayFifthRequest.cc b/amptest/src/model/HuichengTestGrayFifthRequest.cc deleted file mode 100644 index d220975bd..000000000 --- a/amptest/src/model/HuichengTestGrayFifthRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest::Model::HuichengTestGrayFifthRequest; - -HuichengTestGrayFifthRequest::HuichengTestGrayFifthRequest() - : RpcServiceRequest("amptest", "2020-12-30", "HuichengTestGrayFifth") { - setMethod(HttpRequest::Method::Post); -} - -HuichengTestGrayFifthRequest::~HuichengTestGrayFifthRequest() {} - -HuichengTestGrayFifthRequest::Home HuichengTestGrayFifthRequest::getHome() const { - return home_; -} - -void HuichengTestGrayFifthRequest::setHome(const HuichengTestGrayFifthRequest::Home &home) { - home_ = home; - setParameter(std::string("Home") + ".Address.T.Class", home.address.t._class); - setParameter(std::string("Home") + ".Address.Location.Late", std::to_string(home.address.location.late)); - setParameter(std::string("Home") + ".Address.Location.Lon", std::to_string(home.address.location.lon)); - setParameter(std::string("Home") + ".Address.Detail", home.address.detail); - setParameter(std::string("Home") + ".T.Class", home.t._class); - for(int dep1 = 0; dep1 != home.phoneNumbers.size(); dep1++) { - setParameter(std::string("Home") + ".PhoneNumbers." + std::to_string(dep1 + 1), home.phoneNumbers[dep1]); - } - for(auto const &iter1 : home.dMap) { - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Late", std::to_string(iter1.second.location.late)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Lon", std::to_string(iter1.second.location.lon)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Detail", iter1.second.detail); - } - for(auto const &iter1 : home.nameToAge) { - setParameter(std::string("Home") + ".NameToAge." + iter1.first, std::to_string(iter1.second)); - } - for(int dep1 = 0; dep1 != home.locations.size(); dep1++) { - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Late", std::to_string(home.locations[dep1].late)); - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Lon", std::to_string(home.locations[dep1].lon)); - } -} - diff --git a/amptest/src/model/HuichengTestGrayFifthResult.cc b/amptest/src/model/HuichengTestGrayFifthResult.cc deleted file mode 100644 index 76b8f62ae..000000000 --- a/amptest/src/model/HuichengTestGrayFifthResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest; -using namespace AlibabaCloud::AmpTest::Model; - -HuichengTestGrayFifthResult::HuichengTestGrayFifthResult() : - ServiceResult() -{} - -HuichengTestGrayFifthResult::HuichengTestGrayFifthResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -HuichengTestGrayFifthResult::~HuichengTestGrayFifthResult() -{} - -void HuichengTestGrayFifthResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Size"].isNull()) - size_ = std::stoi(value["Size"].asString()); - if(!value["Value"].isNull()) - value_ = value["Value"].asString(); - -} - -int HuichengTestGrayFifthResult::getSize()const -{ - return size_; -} - -std::string HuichengTestGrayFifthResult::getValue()const -{ - return value_; -} - diff --git a/amptest/src/model/HuichengTestGrayNineRequest.cc b/amptest/src/model/HuichengTestGrayNineRequest.cc deleted file mode 100644 index a059f9471..000000000 --- a/amptest/src/model/HuichengTestGrayNineRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest::Model::HuichengTestGrayNineRequest; - -HuichengTestGrayNineRequest::HuichengTestGrayNineRequest() - : RpcServiceRequest("amptest", "2020-12-30", "HuichengTestGrayNine") { - setMethod(HttpRequest::Method::Post); -} - -HuichengTestGrayNineRequest::~HuichengTestGrayNineRequest() {} - -HuichengTestGrayNineRequest::Home HuichengTestGrayNineRequest::getHome() const { - return home_; -} - -void HuichengTestGrayNineRequest::setHome(const HuichengTestGrayNineRequest::Home &home) { - home_ = home; - setParameter(std::string("Home") + ".Address.T.Class", home.address.t._class); - setParameter(std::string("Home") + ".Address.Location.Late", std::to_string(home.address.location.late)); - setParameter(std::string("Home") + ".Address.Location.Lon", std::to_string(home.address.location.lon)); - setParameter(std::string("Home") + ".Address.Detail", home.address.detail); - setParameter(std::string("Home") + ".T.Class", home.t._class); - for(int dep1 = 0; dep1 != home.phoneNumbers.size(); dep1++) { - setParameter(std::string("Home") + ".PhoneNumbers." + std::to_string(dep1 + 1), home.phoneNumbers[dep1]); - } - for(auto const &iter1 : home.dMap) { - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Late", std::to_string(iter1.second.location.late)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Lon", std::to_string(iter1.second.location.lon)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Detail", iter1.second.detail); - } - for(auto const &iter1 : home.nameToAge) { - setParameter(std::string("Home") + ".NameToAge." + iter1.first, std::to_string(iter1.second)); - } - for(int dep1 = 0; dep1 != home.locations.size(); dep1++) { - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Late", std::to_string(home.locations[dep1].late)); - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Lon", std::to_string(home.locations[dep1].lon)); - } -} - diff --git a/amptest/src/model/HuichengTestGrayNineResult.cc b/amptest/src/model/HuichengTestGrayNineResult.cc deleted file mode 100644 index cf0c84e08..000000000 --- a/amptest/src/model/HuichengTestGrayNineResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest; -using namespace AlibabaCloud::AmpTest::Model; - -HuichengTestGrayNineResult::HuichengTestGrayNineResult() : - ServiceResult() -{} - -HuichengTestGrayNineResult::HuichengTestGrayNineResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -HuichengTestGrayNineResult::~HuichengTestGrayNineResult() -{} - -void HuichengTestGrayNineResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Size"].isNull()) - size_ = std::stoi(value["Size"].asString()); - if(!value["Value"].isNull()) - value_ = value["Value"].asString(); - -} - -int HuichengTestGrayNineResult::getSize()const -{ - return size_; -} - -std::string HuichengTestGrayNineResult::getValue()const -{ - return value_; -} - diff --git a/amptest/src/model/HuichengTestGrayRequest.cc b/amptest/src/model/HuichengTestGrayRequest.cc deleted file mode 100644 index edec99ce0..000000000 --- a/amptest/src/model/HuichengTestGrayRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest::Model::HuichengTestGrayRequest; - -HuichengTestGrayRequest::HuichengTestGrayRequest() - : RpcServiceRequest("amptest", "2020-12-30", "HuichengTestGray") { - setMethod(HttpRequest::Method::Post); -} - -HuichengTestGrayRequest::~HuichengTestGrayRequest() {} - -HuichengTestGrayRequest::Home HuichengTestGrayRequest::getHome() const { - return home_; -} - -void HuichengTestGrayRequest::setHome(const HuichengTestGrayRequest::Home &home) { - home_ = home; - setParameter(std::string("Home") + ".Address.T.Class", home.address.t._class); - setParameter(std::string("Home") + ".Address.Location.Late", std::to_string(home.address.location.late)); - setParameter(std::string("Home") + ".Address.Location.Lon", std::to_string(home.address.location.lon)); - setParameter(std::string("Home") + ".Address.Detail", home.address.detail); - setParameter(std::string("Home") + ".T.Class", home.t._class); - for(int dep1 = 0; dep1 != home.phoneNumbers.size(); dep1++) { - setParameter(std::string("Home") + ".PhoneNumbers." + std::to_string(dep1 + 1), home.phoneNumbers[dep1]); - } - for(auto const &iter1 : home.dMap) { - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Late", std::to_string(iter1.second.location.late)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Lon", std::to_string(iter1.second.location.lon)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Detail", iter1.second.detail); - } - for(auto const &iter1 : home.nameToAge) { - setParameter(std::string("Home") + ".NameToAge." + iter1.first, std::to_string(iter1.second)); - } - for(int dep1 = 0; dep1 != home.locations.size(); dep1++) { - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Late", std::to_string(home.locations[dep1].late)); - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Lon", std::to_string(home.locations[dep1].lon)); - } -} - diff --git a/amptest/src/model/HuichengTestGrayResult.cc b/amptest/src/model/HuichengTestGrayResult.cc deleted file mode 100644 index f0f714241..000000000 --- a/amptest/src/model/HuichengTestGrayResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest; -using namespace AlibabaCloud::AmpTest::Model; - -HuichengTestGrayResult::HuichengTestGrayResult() : - ServiceResult() -{} - -HuichengTestGrayResult::HuichengTestGrayResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -HuichengTestGrayResult::~HuichengTestGrayResult() -{} - -void HuichengTestGrayResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Size"].isNull()) - size_ = std::stoi(value["Size"].asString()); - if(!value["Value"].isNull()) - value_ = value["Value"].asString(); - -} - -int HuichengTestGrayResult::getSize()const -{ - return size_; -} - -std::string HuichengTestGrayResult::getValue()const -{ - return value_; -} - diff --git a/amptest/src/model/HuichengTestGraySecondRequest.cc b/amptest/src/model/HuichengTestGraySecondRequest.cc deleted file mode 100644 index 72028c0e5..000000000 --- a/amptest/src/model/HuichengTestGraySecondRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest::Model::HuichengTestGraySecondRequest; - -HuichengTestGraySecondRequest::HuichengTestGraySecondRequest() - : RpcServiceRequest("amptest", "2020-12-30", "HuichengTestGraySecond") { - setMethod(HttpRequest::Method::Post); -} - -HuichengTestGraySecondRequest::~HuichengTestGraySecondRequest() {} - -HuichengTestGraySecondRequest::Home HuichengTestGraySecondRequest::getHome() const { - return home_; -} - -void HuichengTestGraySecondRequest::setHome(const HuichengTestGraySecondRequest::Home &home) { - home_ = home; - setParameter(std::string("Home") + ".Address.T.Class", home.address.t._class); - setParameter(std::string("Home") + ".Address.Location.Late", std::to_string(home.address.location.late)); - setParameter(std::string("Home") + ".Address.Location.Lon", std::to_string(home.address.location.lon)); - setParameter(std::string("Home") + ".Address.Detail", home.address.detail); - setParameter(std::string("Home") + ".T.Class", home.t._class); - for(int dep1 = 0; dep1 != home.phoneNumbers.size(); dep1++) { - setParameter(std::string("Home") + ".PhoneNumbers." + std::to_string(dep1 + 1), home.phoneNumbers[dep1]); - } - for(auto const &iter1 : home.dMap) { - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Late", std::to_string(iter1.second.location.late)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Lon", std::to_string(iter1.second.location.lon)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Detail", iter1.second.detail); - } - for(auto const &iter1 : home.nameToAge) { - setParameter(std::string("Home") + ".NameToAge." + iter1.first, std::to_string(iter1.second)); - } - for(int dep1 = 0; dep1 != home.locations.size(); dep1++) { - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Late", std::to_string(home.locations[dep1].late)); - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Lon", std::to_string(home.locations[dep1].lon)); - } -} - diff --git a/amptest/src/model/HuichengTestGraySecondResult.cc b/amptest/src/model/HuichengTestGraySecondResult.cc deleted file mode 100644 index d4dc50d6d..000000000 --- a/amptest/src/model/HuichengTestGraySecondResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest; -using namespace AlibabaCloud::AmpTest::Model; - -HuichengTestGraySecondResult::HuichengTestGraySecondResult() : - ServiceResult() -{} - -HuichengTestGraySecondResult::HuichengTestGraySecondResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -HuichengTestGraySecondResult::~HuichengTestGraySecondResult() -{} - -void HuichengTestGraySecondResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Size"].isNull()) - size_ = std::stoi(value["Size"].asString()); - if(!value["Value"].isNull()) - value_ = value["Value"].asString(); - -} - -int HuichengTestGraySecondResult::getSize()const -{ - return size_; -} - -std::string HuichengTestGraySecondResult::getValue()const -{ - return value_; -} - diff --git a/amptest/src/model/HuichengTestGraySevenRequest.cc b/amptest/src/model/HuichengTestGraySevenRequest.cc deleted file mode 100644 index a32dd307b..000000000 --- a/amptest/src/model/HuichengTestGraySevenRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest::Model::HuichengTestGraySevenRequest; - -HuichengTestGraySevenRequest::HuichengTestGraySevenRequest() - : RpcServiceRequest("amptest", "2020-12-30", "HuichengTestGraySeven") { - setMethod(HttpRequest::Method::Post); -} - -HuichengTestGraySevenRequest::~HuichengTestGraySevenRequest() {} - -HuichengTestGraySevenRequest::Home HuichengTestGraySevenRequest::getHome() const { - return home_; -} - -void HuichengTestGraySevenRequest::setHome(const HuichengTestGraySevenRequest::Home &home) { - home_ = home; - setParameter(std::string("Home") + ".Address.T.Class", home.address.t._class); - setParameter(std::string("Home") + ".Address.Location.Late", std::to_string(home.address.location.late)); - setParameter(std::string("Home") + ".Address.Location.Lon", std::to_string(home.address.location.lon)); - setParameter(std::string("Home") + ".Address.Detail", home.address.detail); - setParameter(std::string("Home") + ".T.Class", home.t._class); - for(int dep1 = 0; dep1 != home.phoneNumbers.size(); dep1++) { - setParameter(std::string("Home") + ".PhoneNumbers." + std::to_string(dep1 + 1), home.phoneNumbers[dep1]); - } - for(auto const &iter1 : home.dMap) { - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Late", std::to_string(iter1.second.location.late)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Lon", std::to_string(iter1.second.location.lon)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Detail", iter1.second.detail); - } - for(auto const &iter1 : home.nameToAge) { - setParameter(std::string("Home") + ".NameToAge." + iter1.first, std::to_string(iter1.second)); - } - for(int dep1 = 0; dep1 != home.locations.size(); dep1++) { - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Late", std::to_string(home.locations[dep1].late)); - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Lon", std::to_string(home.locations[dep1].lon)); - } -} - diff --git a/amptest/src/model/HuichengTestGraySevenResult.cc b/amptest/src/model/HuichengTestGraySevenResult.cc deleted file mode 100644 index 1778d92fe..000000000 --- a/amptest/src/model/HuichengTestGraySevenResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest; -using namespace AlibabaCloud::AmpTest::Model; - -HuichengTestGraySevenResult::HuichengTestGraySevenResult() : - ServiceResult() -{} - -HuichengTestGraySevenResult::HuichengTestGraySevenResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -HuichengTestGraySevenResult::~HuichengTestGraySevenResult() -{} - -void HuichengTestGraySevenResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Size"].isNull()) - size_ = std::stoi(value["Size"].asString()); - if(!value["Value"].isNull()) - value_ = value["Value"].asString(); - -} - -int HuichengTestGraySevenResult::getSize()const -{ - return size_; -} - -std::string HuichengTestGraySevenResult::getValue()const -{ - return value_; -} - diff --git a/amptest/src/model/HuichengTestGraySixRequest.cc b/amptest/src/model/HuichengTestGraySixRequest.cc deleted file mode 100644 index 7fced484f..000000000 --- a/amptest/src/model/HuichengTestGraySixRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest::Model::HuichengTestGraySixRequest; - -HuichengTestGraySixRequest::HuichengTestGraySixRequest() - : RpcServiceRequest("amptest", "2020-12-30", "HuichengTestGraySix") { - setMethod(HttpRequest::Method::Post); -} - -HuichengTestGraySixRequest::~HuichengTestGraySixRequest() {} - -HuichengTestGraySixRequest::Home HuichengTestGraySixRequest::getHome() const { - return home_; -} - -void HuichengTestGraySixRequest::setHome(const HuichengTestGraySixRequest::Home &home) { - home_ = home; - setParameter(std::string("Home") + ".Address.T.Class", home.address.t._class); - setParameter(std::string("Home") + ".Address.Location.Late", std::to_string(home.address.location.late)); - setParameter(std::string("Home") + ".Address.Location.Lon", std::to_string(home.address.location.lon)); - setParameter(std::string("Home") + ".Address.Detail", home.address.detail); - setParameter(std::string("Home") + ".T.Class", home.t._class); - for(int dep1 = 0; dep1 != home.phoneNumbers.size(); dep1++) { - setParameter(std::string("Home") + ".PhoneNumbers." + std::to_string(dep1 + 1), home.phoneNumbers[dep1]); - } - for(auto const &iter1 : home.dMap) { - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Late", std::to_string(iter1.second.location.late)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Lon", std::to_string(iter1.second.location.lon)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Detail", iter1.second.detail); - } - for(auto const &iter1 : home.nameToAge) { - setParameter(std::string("Home") + ".NameToAge." + iter1.first, std::to_string(iter1.second)); - } - for(int dep1 = 0; dep1 != home.locations.size(); dep1++) { - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Late", std::to_string(home.locations[dep1].late)); - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Lon", std::to_string(home.locations[dep1].lon)); - } -} - diff --git a/amptest/src/model/HuichengTestGraySixResult.cc b/amptest/src/model/HuichengTestGraySixResult.cc deleted file mode 100644 index ded956e14..000000000 --- a/amptest/src/model/HuichengTestGraySixResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest; -using namespace AlibabaCloud::AmpTest::Model; - -HuichengTestGraySixResult::HuichengTestGraySixResult() : - ServiceResult() -{} - -HuichengTestGraySixResult::HuichengTestGraySixResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -HuichengTestGraySixResult::~HuichengTestGraySixResult() -{} - -void HuichengTestGraySixResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Size"].isNull()) - size_ = std::stoi(value["Size"].asString()); - if(!value["Value"].isNull()) - value_ = value["Value"].asString(); - -} - -int HuichengTestGraySixResult::getSize()const -{ - return size_; -} - -std::string HuichengTestGraySixResult::getValue()const -{ - return value_; -} - diff --git a/amptest/src/model/HuichengTestGrayTenRequest.cc b/amptest/src/model/HuichengTestGrayTenRequest.cc deleted file mode 100644 index 9fc4d1c3d..000000000 --- a/amptest/src/model/HuichengTestGrayTenRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest::Model::HuichengTestGrayTenRequest; - -HuichengTestGrayTenRequest::HuichengTestGrayTenRequest() - : RpcServiceRequest("amptest", "2020-12-30", "HuichengTestGrayTen") { - setMethod(HttpRequest::Method::Post); -} - -HuichengTestGrayTenRequest::~HuichengTestGrayTenRequest() {} - -HuichengTestGrayTenRequest::Home HuichengTestGrayTenRequest::getHome() const { - return home_; -} - -void HuichengTestGrayTenRequest::setHome(const HuichengTestGrayTenRequest::Home &home) { - home_ = home; - setParameter(std::string("Home") + ".Address.T.Class", home.address.t._class); - setParameter(std::string("Home") + ".Address.Location.Late", std::to_string(home.address.location.late)); - setParameter(std::string("Home") + ".Address.Location.Lon", std::to_string(home.address.location.lon)); - setParameter(std::string("Home") + ".Address.Detail", home.address.detail); - setParameter(std::string("Home") + ".T.Class", home.t._class); - for(int dep1 = 0; dep1 != home.phoneNumbers.size(); dep1++) { - setParameter(std::string("Home") + ".PhoneNumbers." + std::to_string(dep1 + 1), home.phoneNumbers[dep1]); - } - for(auto const &iter1 : home.dMap) { - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Late", std::to_string(iter1.second.location.late)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Lon", std::to_string(iter1.second.location.lon)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Detail", iter1.second.detail); - } - for(auto const &iter1 : home.nameToAge) { - setParameter(std::string("Home") + ".NameToAge." + iter1.first, std::to_string(iter1.second)); - } - for(int dep1 = 0; dep1 != home.locations.size(); dep1++) { - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Late", std::to_string(home.locations[dep1].late)); - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Lon", std::to_string(home.locations[dep1].lon)); - } -} - diff --git a/amptest/src/model/HuichengTestGrayTenResult.cc b/amptest/src/model/HuichengTestGrayTenResult.cc deleted file mode 100644 index 4a5137c03..000000000 --- a/amptest/src/model/HuichengTestGrayTenResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest; -using namespace AlibabaCloud::AmpTest::Model; - -HuichengTestGrayTenResult::HuichengTestGrayTenResult() : - ServiceResult() -{} - -HuichengTestGrayTenResult::HuichengTestGrayTenResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -HuichengTestGrayTenResult::~HuichengTestGrayTenResult() -{} - -void HuichengTestGrayTenResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Size"].isNull()) - size_ = std::stoi(value["Size"].asString()); - if(!value["Value"].isNull()) - value_ = value["Value"].asString(); - -} - -int HuichengTestGrayTenResult::getSize()const -{ - return size_; -} - -std::string HuichengTestGrayTenResult::getValue()const -{ - return value_; -} - diff --git a/amptest/src/model/HuichengTestGrayThirdRequest.cc b/amptest/src/model/HuichengTestGrayThirdRequest.cc deleted file mode 100644 index 004b0ab40..000000000 --- a/amptest/src/model/HuichengTestGrayThirdRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest::Model::HuichengTestGrayThirdRequest; - -HuichengTestGrayThirdRequest::HuichengTestGrayThirdRequest() - : RpcServiceRequest("amptest", "2020-12-30", "HuichengTestGrayThird") { - setMethod(HttpRequest::Method::Post); -} - -HuichengTestGrayThirdRequest::~HuichengTestGrayThirdRequest() {} - -HuichengTestGrayThirdRequest::Home HuichengTestGrayThirdRequest::getHome() const { - return home_; -} - -void HuichengTestGrayThirdRequest::setHome(const HuichengTestGrayThirdRequest::Home &home) { - home_ = home; - setParameter(std::string("Home") + ".Address.T.Class", home.address.t._class); - setParameter(std::string("Home") + ".Address.Location.Late", std::to_string(home.address.location.late)); - setParameter(std::string("Home") + ".Address.Location.Lon", std::to_string(home.address.location.lon)); - setParameter(std::string("Home") + ".Address.Detail", home.address.detail); - setParameter(std::string("Home") + ".T.Class", home.t._class); - for(int dep1 = 0; dep1 != home.phoneNumbers.size(); dep1++) { - setParameter(std::string("Home") + ".PhoneNumbers." + std::to_string(dep1 + 1), home.phoneNumbers[dep1]); - } - for(auto const &iter1 : home.dMap) { - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Late", std::to_string(iter1.second.location.late)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Location.Lon", std::to_string(iter1.second.location.lon)); - setParameter(std::string("Home") + ".DMap." + iter1.first + ".Detail", iter1.second.detail); - } - for(auto const &iter1 : home.nameToAge) { - setParameter(std::string("Home") + ".NameToAge." + iter1.first, std::to_string(iter1.second)); - } - for(int dep1 = 0; dep1 != home.locations.size(); dep1++) { - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Late", std::to_string(home.locations[dep1].late)); - setParameter(std::string("Home") + ".Locations." + std::to_string(dep1 + 1) + ".Lon", std::to_string(home.locations[dep1].lon)); - } -} - diff --git a/amptest/src/model/HuichengTestGrayThirdResult.cc b/amptest/src/model/HuichengTestGrayThirdResult.cc deleted file mode 100644 index 01600bd4d..000000000 --- a/amptest/src/model/HuichengTestGrayThirdResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest; -using namespace AlibabaCloud::AmpTest::Model; - -HuichengTestGrayThirdResult::HuichengTestGrayThirdResult() : - ServiceResult() -{} - -HuichengTestGrayThirdResult::HuichengTestGrayThirdResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -HuichengTestGrayThirdResult::~HuichengTestGrayThirdResult() -{} - -void HuichengTestGrayThirdResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Size"].isNull()) - size_ = std::stoi(value["Size"].asString()); - if(!value["Value"].isNull()) - value_ = value["Value"].asString(); - -} - -int HuichengTestGrayThirdResult::getSize()const -{ - return size_; -} - -std::string HuichengTestGrayThirdResult::getValue()const -{ - return value_; -} - diff --git a/amptest/src/model/HuichengTestResourceOwnerIdRequest.cc b/amptest/src/model/HuichengTestResourceOwnerIdRequest.cc deleted file mode 100644 index 7a7bd5e3e..000000000 --- a/amptest/src/model/HuichengTestResourceOwnerIdRequest.cc +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest::Model::HuichengTestResourceOwnerIdRequest; - -HuichengTestResourceOwnerIdRequest::HuichengTestResourceOwnerIdRequest() - : RpcServiceRequest("amptest", "2020-12-30", "HuichengTestResourceOwnerId") { - setMethod(HttpRequest::Method::Get); -} - -HuichengTestResourceOwnerIdRequest::~HuichengTestResourceOwnerIdRequest() {} - diff --git a/amptest/src/model/HuichengTestResourceOwnerIdResult.cc b/amptest/src/model/HuichengTestResourceOwnerIdResult.cc deleted file mode 100644 index d2f7f5cfc..000000000 --- a/amptest/src/model/HuichengTestResourceOwnerIdResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest; -using namespace AlibabaCloud::AmpTest::Model; - -HuichengTestResourceOwnerIdResult::HuichengTestResourceOwnerIdResult() : - ServiceResult() -{} - -HuichengTestResourceOwnerIdResult::HuichengTestResourceOwnerIdResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -HuichengTestResourceOwnerIdResult::~HuichengTestResourceOwnerIdResult() -{} - -void HuichengTestResourceOwnerIdResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/amptest/src/model/HuichengetRequest.cc b/amptest/src/model/HuichengetRequest.cc deleted file mode 100644 index 36a2175b0..000000000 --- a/amptest/src/model/HuichengetRequest.cc +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest::Model::HuichengetRequest; - -HuichengetRequest::HuichengetRequest() - : RpcServiceRequest("amptest", "2020-12-30", "Huichenget") { - setMethod(HttpRequest::Method::Post); -} - -HuichengetRequest::~HuichengetRequest() {} - -std::string HuichengetRequest::getAdd() const { - return add_; -} - -void HuichengetRequest::setAdd(const std::string &add) { - add_ = add; - setParameter(std::string("Add"), add); -} - -std::string HuichengetRequest::getAddress() const { - return address_; -} - -void HuichengetRequest::setAddress(const std::string &address) { - address_ = address; - setParameter(std::string("Address"), address); -} - -std::string HuichengetRequest::getSix() const { - return six_; -} - -void HuichengetRequest::setSix(const std::string &six) { - six_ = six; - setParameter(std::string("Six"), six); -} - -std::string HuichengetRequest::getEnight() const { - return enight_; -} - -void HuichengetRequest::setEnight(const std::string &enight) { - enight_ = enight; - setParameter(std::string("Enight"), enight); -} - -std::string HuichengetRequest::getNewName() const { - return newName_; -} - -void HuichengetRequest::setNewName(const std::string &newName) { - newName_ = newName; - setParameter(std::string("NewName"), newName); -} - -std::string HuichengetRequest::getList() const { - return list_; -} - -void HuichengetRequest::setList(const std::string &list) { - list_ = list; - setParameter(std::string("List"), list); -} - -std::string HuichengetRequest::getTwo() const { - return two_; -} - -void HuichengetRequest::setTwo(const std::string &two) { - two_ = two; - setParameter(std::string("Two"), two); -} - -std::string HuichengetRequest::getThree() const { - return three_; -} - -void HuichengetRequest::setThree(const std::string &three) { - three_ = three; - setParameter(std::string("Three"), three); -} - -std::string HuichengetRequest::getNigh() const { - return nigh_; -} - -void HuichengetRequest::setNigh(const std::string &nigh) { - nigh_ = nigh; - setParameter(std::string("Nigh"), nigh); -} - -std::string HuichengetRequest::getRed() const { - return red_; -} - -void HuichengetRequest::setRed(const std::string &red) { - red_ = red; - setParameter(std::string("Red"), red); -} - -std::string HuichengetRequest::getApple() const { - return apple_; -} - -void HuichengetRequest::setApple(const std::string &apple) { - apple_ = apple; - setParameter(std::string("Apple"), apple); -} - -std::string HuichengetRequest::getTea() const { - return tea_; -} - -void HuichengetRequest::setTea(const std::string &tea) { - tea_ = tea; - setParameter(std::string("Tea"), tea); -} - -std::string HuichengetRequest::getBlue() const { - return blue_; -} - -void HuichengetRequest::setBlue(const std::string &blue) { - blue_ = blue; - setParameter(std::string("Blue"), blue); -} - -std::string HuichengetRequest::getWhite() const { - return white_; -} - -void HuichengetRequest::setWhite(const std::string &white) { - white_ = white; - setParameter(std::string("White"), white); -} - -std::string HuichengetRequest::getFour() const { - return four_; -} - -void HuichengetRequest::setFour(const std::string &four) { - four_ = four; - setParameter(std::string("Four"), four); -} - -std::string HuichengetRequest::getNow() const { - return now_; -} - -void HuichengetRequest::setNow(const std::string &now) { - now_ = now; - setParameter(std::string("Now"), now); -} - -std::string HuichengetRequest::getTen() const { - return ten_; -} - -void HuichengetRequest::setTen(const std::string &ten) { - ten_ = ten; - setParameter(std::string("Ten"), ten); -} - -std::string HuichengetRequest::getFive() const { - return five_; -} - -void HuichengetRequest::setFive(const std::string &five) { - five_ = five; - setParameter(std::string("Five"), five); -} - diff --git a/amptest/src/model/HuichengetResult.cc b/amptest/src/model/HuichengetResult.cc deleted file mode 100644 index 3e2f29b04..000000000 --- a/amptest/src/model/HuichengetResult.cc +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest; -using namespace AlibabaCloud::AmpTest::Model; - -HuichengetResult::HuichengetResult() : - ServiceResult() -{} - -HuichengetResult::HuichengetResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -HuichengetResult::~HuichengetResult() -{} - -void HuichengetResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["InstanceId4"].isNull()) - instanceId4_ = value["InstanceId4"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Age"].isNull()) - age_ = value["Age"].asString(); - if(!value["Apple"].isNull()) - apple_ = value["Apple"].asString(); - if(!value["Five"].isNull()) - five_ = value["Five"].asString(); - if(!value["Six"].isNull()) - six_ = value["Six"].asString(); - if(!value["Seven"].isNull()) - seven_ = value["Seven"].asString(); - -} - -std::string HuichengetResult::getApple()const -{ - return apple_; -} - -std::string HuichengetResult::getFive()const -{ - return five_; -} - -std::string HuichengetResult::getSix()const -{ - return six_; -} - -std::string HuichengetResult::getMessage()const -{ - return message_; -} - -std::string HuichengetResult::getInstanceId4()const -{ - return instanceId4_; -} - -std::string HuichengetResult::getSeven()const -{ - return seven_; -} - -std::string HuichengetResult::getCode()const -{ - return code_; -} - -std::string HuichengetResult::getAge()const -{ - return age_; -} - diff --git a/amptest/src/model/HuichengetestRequest.cc b/amptest/src/model/HuichengetestRequest.cc deleted file mode 100644 index 91e877cf3..000000000 --- a/amptest/src/model/HuichengetestRequest.cc +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest::Model::HuichengetestRequest; - -HuichengetestRequest::HuichengetestRequest() - : RpcServiceRequest("amptest", "2020-12-30", "Huichengetest") { - setMethod(HttpRequest::Method::Post); -} - -HuichengetestRequest::~HuichengetestRequest() {} - diff --git a/amptest/src/model/HuichengetestResult.cc b/amptest/src/model/HuichengetestResult.cc deleted file mode 100644 index 32af1a5f3..000000000 --- a/amptest/src/model/HuichengetestResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AmpTest; -using namespace AlibabaCloud::AmpTest::Model; - -HuichengetestResult::HuichengetestResult() : - ServiceResult() -{} - -HuichengetestResult::HuichengetestResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -HuichengetestResult::~HuichengetestResult() -{} - -void HuichengetestResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/lmztest/CMakeLists.txt b/lmztest/CMakeLists.txt deleted file mode 100644 index 0d4a0293d..000000000 --- a/lmztest/CMakeLists.txt +++ /dev/null @@ -1,158 +0,0 @@ -# -# Copyright 2009-2017 Alibaba Cloud All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT 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(lmztest_public_header - include/alibabacloud/lmztest/LmzTestClient.h - include/alibabacloud/lmztest/LmzTestExport.h ) - -set(lmztest_public_header_model - include/alibabacloud/lmztest/model/AAbckRequest.h - include/alibabacloud/lmztest/model/AAbckResult.h - include/alibabacloud/lmztest/model/AndBackRequest.h - include/alibabacloud/lmztest/model/AndBackResult.h - include/alibabacloud/lmztest/model/DataRateLimitTestRequest.h - include/alibabacloud/lmztest/model/DataRateLimitTestResult.h - include/alibabacloud/lmztest/model/DemoGrayReleaseTestRequest.h - include/alibabacloud/lmztest/model/DemoGrayReleaseTestResult.h - include/alibabacloud/lmztest/model/DemoGrayReleaseTestTwoRequest.h - include/alibabacloud/lmztest/model/DemoGrayReleaseTestTwoResult.h - include/alibabacloud/lmztest/model/DemoGreyReleaseTestRequest.h - include/alibabacloud/lmztest/model/DemoGreyReleaseTestResult.h - include/alibabacloud/lmztest/model/DemoHsfNineResponseRequest.h - include/alibabacloud/lmztest/model/DemoHsfNineResponseResult.h - include/alibabacloud/lmztest/model/DemoHsfSixTestRequest.h - include/alibabacloud/lmztest/model/DemoHsfSixTestResult.h - include/alibabacloud/lmztest/model/DemoHttpComplexResponseRequest.h - include/alibabacloud/lmztest/model/DemoHttpComplexResponseResult.h - include/alibabacloud/lmztest/model/DescribeDisksRequest.h - include/alibabacloud/lmztest/model/DescribeDisksResult.h - include/alibabacloud/lmztest/model/GetPackageStorageCredentialRequest.h - include/alibabacloud/lmztest/model/GetPackageStorageCredentialResult.h - include/alibabacloud/lmztest/model/GrayReleaseDemoRequest.h - include/alibabacloud/lmztest/model/GrayReleaseDemoResult.h - include/alibabacloud/lmztest/model/ListProductsByPopCodeRequest.h - include/alibabacloud/lmztest/model/ListProductsByPopCodeResult.h - include/alibabacloud/lmztest/model/LjxTestRequest.h - include/alibabacloud/lmztest/model/LjxTestResult.h - include/alibabacloud/lmztest/model/ReqBeanTestRequest.h - include/alibabacloud/lmztest/model/ReqBeanTestResult.h - include/alibabacloud/lmztest/model/RomeGetExecutionResultRequest.h - include/alibabacloud/lmztest/model/RomeGetExecutionResultResult.h - include/alibabacloud/lmztest/model/RpcHttpRequest.h - include/alibabacloud/lmztest/model/RpcHttpResult.h - include/alibabacloud/lmztest/model/TestPutApiAndGetApiRequest.h - include/alibabacloud/lmztest/model/TestPutApiAndGetApiResult.h - include/alibabacloud/lmztest/model/UpdateListenerRequest.h - include/alibabacloud/lmztest/model/UpdateListenerResult.h ) - -set(lmztest_src - src/LmzTestClient.cc - src/model/AAbckRequest.cc - src/model/AAbckResult.cc - src/model/AndBackRequest.cc - src/model/AndBackResult.cc - src/model/DataRateLimitTestRequest.cc - src/model/DataRateLimitTestResult.cc - src/model/DemoGrayReleaseTestRequest.cc - src/model/DemoGrayReleaseTestResult.cc - src/model/DemoGrayReleaseTestTwoRequest.cc - src/model/DemoGrayReleaseTestTwoResult.cc - src/model/DemoGreyReleaseTestRequest.cc - src/model/DemoGreyReleaseTestResult.cc - src/model/DemoHsfNineResponseRequest.cc - src/model/DemoHsfNineResponseResult.cc - src/model/DemoHsfSixTestRequest.cc - src/model/DemoHsfSixTestResult.cc - src/model/DemoHttpComplexResponseRequest.cc - src/model/DemoHttpComplexResponseResult.cc - src/model/DescribeDisksRequest.cc - src/model/DescribeDisksResult.cc - src/model/GetPackageStorageCredentialRequest.cc - src/model/GetPackageStorageCredentialResult.cc - src/model/GrayReleaseDemoRequest.cc - src/model/GrayReleaseDemoResult.cc - src/model/ListProductsByPopCodeRequest.cc - src/model/ListProductsByPopCodeResult.cc - src/model/LjxTestRequest.cc - src/model/LjxTestResult.cc - src/model/ReqBeanTestRequest.cc - src/model/ReqBeanTestResult.cc - src/model/RomeGetExecutionResultRequest.cc - src/model/RomeGetExecutionResultResult.cc - src/model/RpcHttpRequest.cc - src/model/RpcHttpResult.cc - src/model/TestPutApiAndGetApiRequest.cc - src/model/TestPutApiAndGetApiResult.cc - src/model/UpdateListenerRequest.cc - src/model/UpdateListenerResult.cc ) - -add_library(lmztest ${LIB_TYPE} - ${lmztest_public_header} - ${lmztest_public_header_model} - ${lmztest_src}) - -set_target_properties(lmztest - 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}lmztest - ) - -if(${LIB_TYPE} STREQUAL "SHARED") - set_target_properties(lmztest - PROPERTIES - DEFINE_SYMBOL ALIBABACLOUD_LMZTEST_LIBRARY) -endif() - -target_include_directories(lmztest - PRIVATE include - ${CMAKE_SOURCE_DIR}/core/include - ) -target_link_libraries(lmztest - core) - -if(CMAKE_HOST_WIN32) - ExternalProject_Get_Property(jsoncpp INSTALL_DIR) - set(jsoncpp_install_dir ${INSTALL_DIR}) - add_dependencies(lmztest - jsoncpp) - target_include_directories(lmztest - PRIVATE ${jsoncpp_install_dir}/include) - target_link_libraries(lmztest - ${jsoncpp_install_dir}/lib/jsoncpp.lib) - set_target_properties(lmztest - PROPERTIES - COMPILE_OPTIONS "/bigobj") -else() - target_include_directories(lmztest - PRIVATE /usr/include/jsoncpp) - target_link_libraries(lmztest - jsoncpp) -endif() - -install(FILES ${lmztest_public_header} - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/lmztest) -install(FILES ${lmztest_public_header_model} - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/lmztest/model) -install(TARGETS lmztest - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - ) \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/LmzTestClient.h b/lmztest/include/alibabacloud/lmztest/LmzTestClient.h deleted file mode 100644 index 42598c1f7..000000000 --- a/lmztest/include/alibabacloud/lmztest/LmzTestClient.h +++ /dev/null @@ -1,198 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_LMZTESTCLIENT_H_ -#define ALIBABACLOUD_LMZTEST_LMZTESTCLIENT_H_ - -#include -#include -#include -#include -#include "LmzTestExport.h" -#include "model/AAbckRequest.h" -#include "model/AAbckResult.h" -#include "model/AndBackRequest.h" -#include "model/AndBackResult.h" -#include "model/DataRateLimitTestRequest.h" -#include "model/DataRateLimitTestResult.h" -#include "model/DemoGrayReleaseTestRequest.h" -#include "model/DemoGrayReleaseTestResult.h" -#include "model/DemoGrayReleaseTestTwoRequest.h" -#include "model/DemoGrayReleaseTestTwoResult.h" -#include "model/DemoGreyReleaseTestRequest.h" -#include "model/DemoGreyReleaseTestResult.h" -#include "model/DemoHsfNineResponseRequest.h" -#include "model/DemoHsfNineResponseResult.h" -#include "model/DemoHsfSixTestRequest.h" -#include "model/DemoHsfSixTestResult.h" -#include "model/DemoHttpComplexResponseRequest.h" -#include "model/DemoHttpComplexResponseResult.h" -#include "model/DescribeDisksRequest.h" -#include "model/DescribeDisksResult.h" -#include "model/GetPackageStorageCredentialRequest.h" -#include "model/GetPackageStorageCredentialResult.h" -#include "model/GrayReleaseDemoRequest.h" -#include "model/GrayReleaseDemoResult.h" -#include "model/ListProductsByPopCodeRequest.h" -#include "model/ListProductsByPopCodeResult.h" -#include "model/LjxTestRequest.h" -#include "model/LjxTestResult.h" -#include "model/ReqBeanTestRequest.h" -#include "model/ReqBeanTestResult.h" -#include "model/RomeGetExecutionResultRequest.h" -#include "model/RomeGetExecutionResultResult.h" -#include "model/RpcHttpRequest.h" -#include "model/RpcHttpResult.h" -#include "model/TestPutApiAndGetApiRequest.h" -#include "model/TestPutApiAndGetApiResult.h" -#include "model/UpdateListenerRequest.h" -#include "model/UpdateListenerResult.h" - - -namespace AlibabaCloud -{ - namespace LmzTest - { - class ALIBABACLOUD_LMZTEST_EXPORT LmzTestClient : public RpcServiceClient - { - public: - typedef Outcome AAbckOutcome; - typedef std::future AAbckOutcomeCallable; - typedef std::function&)> AAbckAsyncHandler; - typedef Outcome AndBackOutcome; - typedef std::future AndBackOutcomeCallable; - typedef std::function&)> AndBackAsyncHandler; - typedef Outcome DataRateLimitTestOutcome; - typedef std::future DataRateLimitTestOutcomeCallable; - typedef std::function&)> DataRateLimitTestAsyncHandler; - typedef Outcome DemoGrayReleaseTestOutcome; - typedef std::future DemoGrayReleaseTestOutcomeCallable; - typedef std::function&)> DemoGrayReleaseTestAsyncHandler; - typedef Outcome DemoGrayReleaseTestTwoOutcome; - typedef std::future DemoGrayReleaseTestTwoOutcomeCallable; - typedef std::function&)> DemoGrayReleaseTestTwoAsyncHandler; - typedef Outcome DemoGreyReleaseTestOutcome; - typedef std::future DemoGreyReleaseTestOutcomeCallable; - typedef std::function&)> DemoGreyReleaseTestAsyncHandler; - typedef Outcome DemoHsfNineResponseOutcome; - typedef std::future DemoHsfNineResponseOutcomeCallable; - typedef std::function&)> DemoHsfNineResponseAsyncHandler; - typedef Outcome DemoHsfSixTestOutcome; - typedef std::future DemoHsfSixTestOutcomeCallable; - typedef std::function&)> DemoHsfSixTestAsyncHandler; - typedef Outcome DemoHttpComplexResponseOutcome; - typedef std::future DemoHttpComplexResponseOutcomeCallable; - typedef std::function&)> DemoHttpComplexResponseAsyncHandler; - typedef Outcome DescribeDisksOutcome; - typedef std::future DescribeDisksOutcomeCallable; - typedef std::function&)> DescribeDisksAsyncHandler; - typedef Outcome GetPackageStorageCredentialOutcome; - typedef std::future GetPackageStorageCredentialOutcomeCallable; - typedef std::function&)> GetPackageStorageCredentialAsyncHandler; - typedef Outcome GrayReleaseDemoOutcome; - typedef std::future GrayReleaseDemoOutcomeCallable; - typedef std::function&)> GrayReleaseDemoAsyncHandler; - typedef Outcome ListProductsByPopCodeOutcome; - typedef std::future ListProductsByPopCodeOutcomeCallable; - typedef std::function&)> ListProductsByPopCodeAsyncHandler; - typedef Outcome LjxTestOutcome; - typedef std::future LjxTestOutcomeCallable; - typedef std::function&)> LjxTestAsyncHandler; - typedef Outcome ReqBeanTestOutcome; - typedef std::future ReqBeanTestOutcomeCallable; - typedef std::function&)> ReqBeanTestAsyncHandler; - typedef Outcome RomeGetExecutionResultOutcome; - typedef std::future RomeGetExecutionResultOutcomeCallable; - typedef std::function&)> RomeGetExecutionResultAsyncHandler; - typedef Outcome RpcHttpOutcome; - typedef std::future RpcHttpOutcomeCallable; - typedef std::function&)> RpcHttpAsyncHandler; - typedef Outcome TestPutApiAndGetApiOutcome; - typedef std::future TestPutApiAndGetApiOutcomeCallable; - typedef std::function&)> TestPutApiAndGetApiAsyncHandler; - typedef Outcome UpdateListenerOutcome; - typedef std::future UpdateListenerOutcomeCallable; - typedef std::function&)> UpdateListenerAsyncHandler; - - LmzTestClient(const Credentials &credentials, const ClientConfiguration &configuration); - LmzTestClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); - LmzTestClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); - ~LmzTestClient(); - AAbckOutcome aAbck(const Model::AAbckRequest &request)const; - void aAbckAsync(const Model::AAbckRequest& request, const AAbckAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AAbckOutcomeCallable aAbckCallable(const Model::AAbckRequest& request) const; - AndBackOutcome andBack(const Model::AndBackRequest &request)const; - void andBackAsync(const Model::AndBackRequest& request, const AndBackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AndBackOutcomeCallable andBackCallable(const Model::AndBackRequest& request) const; - DataRateLimitTestOutcome dataRateLimitTest(const Model::DataRateLimitTestRequest &request)const; - void dataRateLimitTestAsync(const Model::DataRateLimitTestRequest& request, const DataRateLimitTestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DataRateLimitTestOutcomeCallable dataRateLimitTestCallable(const Model::DataRateLimitTestRequest& request) const; - DemoGrayReleaseTestOutcome demoGrayReleaseTest(const Model::DemoGrayReleaseTestRequest &request)const; - void demoGrayReleaseTestAsync(const Model::DemoGrayReleaseTestRequest& request, const DemoGrayReleaseTestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DemoGrayReleaseTestOutcomeCallable demoGrayReleaseTestCallable(const Model::DemoGrayReleaseTestRequest& request) const; - DemoGrayReleaseTestTwoOutcome demoGrayReleaseTestTwo(const Model::DemoGrayReleaseTestTwoRequest &request)const; - void demoGrayReleaseTestTwoAsync(const Model::DemoGrayReleaseTestTwoRequest& request, const DemoGrayReleaseTestTwoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DemoGrayReleaseTestTwoOutcomeCallable demoGrayReleaseTestTwoCallable(const Model::DemoGrayReleaseTestTwoRequest& request) const; - DemoGreyReleaseTestOutcome demoGreyReleaseTest(const Model::DemoGreyReleaseTestRequest &request)const; - void demoGreyReleaseTestAsync(const Model::DemoGreyReleaseTestRequest& request, const DemoGreyReleaseTestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DemoGreyReleaseTestOutcomeCallable demoGreyReleaseTestCallable(const Model::DemoGreyReleaseTestRequest& request) const; - DemoHsfNineResponseOutcome demoHsfNineResponse(const Model::DemoHsfNineResponseRequest &request)const; - void demoHsfNineResponseAsync(const Model::DemoHsfNineResponseRequest& request, const DemoHsfNineResponseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DemoHsfNineResponseOutcomeCallable demoHsfNineResponseCallable(const Model::DemoHsfNineResponseRequest& request) const; - DemoHsfSixTestOutcome demoHsfSixTest(const Model::DemoHsfSixTestRequest &request)const; - void demoHsfSixTestAsync(const Model::DemoHsfSixTestRequest& request, const DemoHsfSixTestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DemoHsfSixTestOutcomeCallable demoHsfSixTestCallable(const Model::DemoHsfSixTestRequest& request) const; - DemoHttpComplexResponseOutcome demoHttpComplexResponse(const Model::DemoHttpComplexResponseRequest &request)const; - void demoHttpComplexResponseAsync(const Model::DemoHttpComplexResponseRequest& request, const DemoHttpComplexResponseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DemoHttpComplexResponseOutcomeCallable demoHttpComplexResponseCallable(const Model::DemoHttpComplexResponseRequest& request) const; - DescribeDisksOutcome describeDisks(const Model::DescribeDisksRequest &request)const; - void describeDisksAsync(const Model::DescribeDisksRequest& request, const DescribeDisksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeDisksOutcomeCallable describeDisksCallable(const Model::DescribeDisksRequest& request) const; - GetPackageStorageCredentialOutcome getPackageStorageCredential(const Model::GetPackageStorageCredentialRequest &request)const; - void getPackageStorageCredentialAsync(const Model::GetPackageStorageCredentialRequest& request, const GetPackageStorageCredentialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetPackageStorageCredentialOutcomeCallable getPackageStorageCredentialCallable(const Model::GetPackageStorageCredentialRequest& request) const; - GrayReleaseDemoOutcome grayReleaseDemo(const Model::GrayReleaseDemoRequest &request)const; - void grayReleaseDemoAsync(const Model::GrayReleaseDemoRequest& request, const GrayReleaseDemoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GrayReleaseDemoOutcomeCallable grayReleaseDemoCallable(const Model::GrayReleaseDemoRequest& request) const; - ListProductsByPopCodeOutcome listProductsByPopCode(const Model::ListProductsByPopCodeRequest &request)const; - void listProductsByPopCodeAsync(const Model::ListProductsByPopCodeRequest& request, const ListProductsByPopCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListProductsByPopCodeOutcomeCallable listProductsByPopCodeCallable(const Model::ListProductsByPopCodeRequest& request) const; - LjxTestOutcome ljxTest(const Model::LjxTestRequest &request)const; - void ljxTestAsync(const Model::LjxTestRequest& request, const LjxTestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - LjxTestOutcomeCallable ljxTestCallable(const Model::LjxTestRequest& request) const; - ReqBeanTestOutcome reqBeanTest(const Model::ReqBeanTestRequest &request)const; - void reqBeanTestAsync(const Model::ReqBeanTestRequest& request, const ReqBeanTestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ReqBeanTestOutcomeCallable reqBeanTestCallable(const Model::ReqBeanTestRequest& request) const; - RomeGetExecutionResultOutcome romeGetExecutionResult(const Model::RomeGetExecutionResultRequest &request)const; - void romeGetExecutionResultAsync(const Model::RomeGetExecutionResultRequest& request, const RomeGetExecutionResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RomeGetExecutionResultOutcomeCallable romeGetExecutionResultCallable(const Model::RomeGetExecutionResultRequest& request) const; - RpcHttpOutcome rpcHttp(const Model::RpcHttpRequest &request)const; - void rpcHttpAsync(const Model::RpcHttpRequest& request, const RpcHttpAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RpcHttpOutcomeCallable rpcHttpCallable(const Model::RpcHttpRequest& request) const; - TestPutApiAndGetApiOutcome testPutApiAndGetApi(const Model::TestPutApiAndGetApiRequest &request)const; - void testPutApiAndGetApiAsync(const Model::TestPutApiAndGetApiRequest& request, const TestPutApiAndGetApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - TestPutApiAndGetApiOutcomeCallable testPutApiAndGetApiCallable(const Model::TestPutApiAndGetApiRequest& request) const; - UpdateListenerOutcome updateListener(const Model::UpdateListenerRequest &request)const; - void updateListenerAsync(const Model::UpdateListenerRequest& request, const UpdateListenerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateListenerOutcomeCallable updateListenerCallable(const Model::UpdateListenerRequest& request) const; - - private: - std::shared_ptr endpointProvider_; - }; - } -} - -#endif // !ALIBABACLOUD_LMZTEST_LMZTESTCLIENT_H_ diff --git a/lmztest/include/alibabacloud/lmztest/LmzTestExport.h b/lmztest/include/alibabacloud/lmztest/LmzTestExport.h deleted file mode 100644 index dbf34ebb8..000000000 --- a/lmztest/include/alibabacloud/lmztest/LmzTestExport.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_LMZTESTEXPORT_H_ -#define ALIBABACLOUD_LMZTEST_LMZTESTEXPORT_H_ - -#include - -#if defined(ALIBABACLOUD_SHARED) -# if defined(ALIBABACLOUD_LMZTEST_LIBRARY) -# define ALIBABACLOUD_LMZTEST_EXPORT ALIBABACLOUD_DECL_EXPORT -# else -# define ALIBABACLOUD_LMZTEST_EXPORT ALIBABACLOUD_DECL_IMPORT -# endif -#else -# define ALIBABACLOUD_LMZTEST_EXPORT -#endif - -#endif // !ALIBABACLOUD_LMZTEST_LMZTESTEXPORT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/AAbckRequest.h b/lmztest/include/alibabacloud/lmztest/model/AAbckRequest.h deleted file mode 100644 index 845b0ab8d..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/AAbckRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_AABCKREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_AABCKREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT AAbckRequest : public RpcServiceRequest { -public: - AAbckRequest(); - ~AAbckRequest(); - std::string getClientToken3() const; - void setClientToken3(const std::string &clientToken3); - std::string getTestDemo() const; - void setTestDemo(const std::string &testDemo); - -private: - std::string clientToken3_; - std::string testDemo_; -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_AABCKREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/AAbckResult.h b/lmztest/include/alibabacloud/lmztest/model/AAbckResult.h deleted file mode 100644 index c6cfcd872..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/AAbckResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_AABCKRESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_AABCKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT AAbckResult : public ServiceResult - { - public: - - - AAbckResult(); - explicit AAbckResult(const std::string &payload); - ~AAbckResult(); - std::string getId()const; - - protected: - void parse(const std::string &payload); - private: - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_AABCKRESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/AndBackRequest.h b/lmztest/include/alibabacloud/lmztest/model/AndBackRequest.h deleted file mode 100644 index a3dcb622d..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/AndBackRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_ANDBACKREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_ANDBACKREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT AndBackRequest : public RpcServiceRequest { -public: - AndBackRequest(); - ~AndBackRequest(); - std::string getClientToken2() const; - void setClientToken2(const std::string &clientToken2); - std::string getTestDemo() const; - void setTestDemo(const std::string &testDemo); - -private: - std::string clientToken2_; - std::string testDemo_; -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_ANDBACKREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/AndBackResult.h b/lmztest/include/alibabacloud/lmztest/model/AndBackResult.h deleted file mode 100644 index d76a7d9ea..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/AndBackResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_ANDBACKRESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_ANDBACKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT AndBackResult : public ServiceResult - { - public: - - - AndBackResult(); - explicit AndBackResult(const std::string &payload); - ~AndBackResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_ANDBACKRESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/DataRateLimitTestRequest.h b/lmztest/include/alibabacloud/lmztest/model/DataRateLimitTestRequest.h deleted file mode 100644 index 847eb48ff..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/DataRateLimitTestRequest.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_DATARATELIMITTESTREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_DATARATELIMITTESTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT DataRateLimitTestRequest : public RpcServiceRequest { -public: - DataRateLimitTestRequest(); - ~DataRateLimitTestRequest(); - -private: -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_DATARATELIMITTESTREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/DataRateLimitTestResult.h b/lmztest/include/alibabacloud/lmztest/model/DataRateLimitTestResult.h deleted file mode 100644 index c37b3e643..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/DataRateLimitTestResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_DATARATELIMITTESTRESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_DATARATELIMITTESTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT DataRateLimitTestResult : public ServiceResult - { - public: - - - DataRateLimitTestResult(); - explicit DataRateLimitTestResult(const std::string &payload); - ~DataRateLimitTestResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_DATARATELIMITTESTRESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/DemoGrayReleaseTestRequest.h b/lmztest/include/alibabacloud/lmztest/model/DemoGrayReleaseTestRequest.h deleted file mode 100644 index 569df3eac..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/DemoGrayReleaseTestRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_DEMOGRAYRELEASETESTREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_DEMOGRAYRELEASETESTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT DemoGrayReleaseTestRequest : public RpcServiceRequest { -public: - DemoGrayReleaseTestRequest(); - ~DemoGrayReleaseTestRequest(); - int getNumberCode() const; - void setNumberCode(int numberCode); - std::string getId() const; - void setId(const std::string &id); - -private: - int numberCode_; - std::string id_; -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_DEMOGRAYRELEASETESTREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/DemoGrayReleaseTestResult.h b/lmztest/include/alibabacloud/lmztest/model/DemoGrayReleaseTestResult.h deleted file mode 100644 index 99e62b20f..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/DemoGrayReleaseTestResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_DEMOGRAYRELEASETESTRESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_DEMOGRAYRELEASETESTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT DemoGrayReleaseTestResult : public ServiceResult - { - public: - - - DemoGrayReleaseTestResult(); - explicit DemoGrayReleaseTestResult(const std::string &payload); - ~DemoGrayReleaseTestResult(); - std::string getCode()const; - std::string getName()const; - - protected: - void parse(const std::string &payload); - private: - std::string code_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_DEMOGRAYRELEASETESTRESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/DemoGrayReleaseTestTwoRequest.h b/lmztest/include/alibabacloud/lmztest/model/DemoGrayReleaseTestTwoRequest.h deleted file mode 100644 index c307b3016..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/DemoGrayReleaseTestTwoRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_DEMOGRAYRELEASETESTTWOREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_DEMOGRAYRELEASETESTTWOREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT DemoGrayReleaseTestTwoRequest : public RpcServiceRequest { -public: - DemoGrayReleaseTestTwoRequest(); - ~DemoGrayReleaseTestTwoRequest(); - std::string getNumberCode() const; - void setNumberCode(const std::string &numberCode); - long getCode() const; - void setCode(long code); - -private: - std::string numberCode_; - long code_; -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_DEMOGRAYRELEASETESTTWOREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/DemoGrayReleaseTestTwoResult.h b/lmztest/include/alibabacloud/lmztest/model/DemoGrayReleaseTestTwoResult.h deleted file mode 100644 index 96ca419e7..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/DemoGrayReleaseTestTwoResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_DEMOGRAYRELEASETESTTWORESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_DEMOGRAYRELEASETESTTWORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT DemoGrayReleaseTestTwoResult : public ServiceResult - { - public: - - - DemoGrayReleaseTestTwoResult(); - explicit DemoGrayReleaseTestTwoResult(const std::string &payload); - ~DemoGrayReleaseTestTwoResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_DEMOGRAYRELEASETESTTWORESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/DemoGreyReleaseTestRequest.h b/lmztest/include/alibabacloud/lmztest/model/DemoGreyReleaseTestRequest.h deleted file mode 100644 index 5f723b633..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/DemoGreyReleaseTestRequest.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_DEMOGREYRELEASETESTREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_DEMOGREYRELEASETESTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT DemoGreyReleaseTestRequest : public RpcServiceRequest { -public: - DemoGreyReleaseTestRequest(); - ~DemoGreyReleaseTestRequest(); - long getNumber() const; - void setNumber(long number); - -private: - long number_; -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_DEMOGREYRELEASETESTREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/DemoGreyReleaseTestResult.h b/lmztest/include/alibabacloud/lmztest/model/DemoGreyReleaseTestResult.h deleted file mode 100644 index b464a3bcf..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/DemoGreyReleaseTestResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_DEMOGREYRELEASETESTRESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_DEMOGREYRELEASETESTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT DemoGreyReleaseTestResult : public ServiceResult - { - public: - - - DemoGreyReleaseTestResult(); - explicit DemoGreyReleaseTestResult(const std::string &payload); - ~DemoGreyReleaseTestResult(); - std::string getId()const; - - protected: - void parse(const std::string &payload); - private: - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_DEMOGREYRELEASETESTRESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/DemoHsfNineResponseRequest.h b/lmztest/include/alibabacloud/lmztest/model/DemoHsfNineResponseRequest.h deleted file mode 100644 index 86f4c98c7..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/DemoHsfNineResponseRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_DEMOHSFNINERESPONSEREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_DEMOHSFNINERESPONSEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT DemoHsfNineResponseRequest : public RpcServiceRequest { -public: - struct UserMap { - std::string uaa; - std::string uas; - std::string name; - std::string id; - }; - DemoHsfNineResponseRequest(); - ~DemoHsfNineResponseRequest(); - std::string getName() const; - void setName(const std::string &name); - std::string getTestF1() const; - void setTestF1(const std::string &testF1); - std::map getUserMap() const; - void setUserMap(const std::map &userMap); - -private: - std::string name_; - std::string testF1_; - std::map userMap_; -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_DEMOHSFNINERESPONSEREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/DemoHsfNineResponseResult.h b/lmztest/include/alibabacloud/lmztest/model/DemoHsfNineResponseResult.h deleted file mode 100644 index 70ef358fa..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/DemoHsfNineResponseResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_DEMOHSFNINERESPONSERESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_DEMOHSFNINERESPONSERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT DemoHsfNineResponseResult : public ServiceResult - { - public: - - - DemoHsfNineResponseResult(); - explicit DemoHsfNineResponseResult(const std::string &payload); - ~DemoHsfNineResponseResult(); - std::string getId()const; - std::vector getInfos()const; - std::string getName()const; - - protected: - void parse(const std::string &payload); - private: - std::string id_; - std::vector infos_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_DEMOHSFNINERESPONSERESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/DemoHsfSixTestRequest.h b/lmztest/include/alibabacloud/lmztest/model/DemoHsfSixTestRequest.h deleted file mode 100644 index e02caba23..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/DemoHsfSixTestRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_DEMOHSFSIXTESTREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_DEMOHSFSIXTESTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT DemoHsfSixTestRequest : public RpcServiceRequest { -public: - struct CodeMap { - std::string name; - std::string id; - }; - DemoHsfSixTestRequest(); - ~DemoHsfSixTestRequest(); - std::vector>> getStrListMap() const; - void setStrListMap(const std::vector>> &strListMap); - std::string getData() const; - void setData(const std::string &data); - std::string getMap() const; - void setMap(const std::string &map); - std::map getCodeMap() const; - void setCodeMap(const std::map &codeMap); - -private: - std::vector>> strListMap_; - std::string data_; - std::string map_; - std::map codeMap_; -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_DEMOHSFSIXTESTREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/DemoHsfSixTestResult.h b/lmztest/include/alibabacloud/lmztest/model/DemoHsfSixTestResult.h deleted file mode 100644 index b67aab096..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/DemoHsfSixTestResult.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_DEMOHSFSIXTESTRESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_DEMOHSFSIXTESTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT DemoHsfSixTestResult : public ServiceResult - { - public: - - - DemoHsfSixTestResult(); - explicit DemoHsfSixTestResult(const std::string &payload); - ~DemoHsfSixTestResult(); - std::vector getData()const; - std::string getId()const; - std::string getCode()const; - std::string getName()const; - - protected: - void parse(const std::string &payload); - private: - std::vector data_; - std::string id_; - std::string code_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_DEMOHSFSIXTESTRESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/DemoHttpComplexResponseRequest.h b/lmztest/include/alibabacloud/lmztest/model/DemoHttpComplexResponseRequest.h deleted file mode 100644 index 8cc2c81a3..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/DemoHttpComplexResponseRequest.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_DEMOHTTPCOMPLEXRESPONSEREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_DEMOHTTPCOMPLEXRESPONSEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT DemoHttpComplexResponseRequest : public RpcServiceRequest { -public: - DemoHttpComplexResponseRequest(); - ~DemoHttpComplexResponseRequest(); - std::string getReqInfo() const; - void setReqInfo(const std::string &reqInfo); - -private: - std::string reqInfo_; -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_DEMOHTTPCOMPLEXRESPONSEREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/DemoHttpComplexResponseResult.h b/lmztest/include/alibabacloud/lmztest/model/DemoHttpComplexResponseResult.h deleted file mode 100644 index 5e90f1a6d..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/DemoHttpComplexResponseResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_DEMOHTTPCOMPLEXRESPONSERESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_DEMOHTTPCOMPLEXRESPONSERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT DemoHttpComplexResponseResult : public ServiceResult - { - public: - - - DemoHttpComplexResponseResult(); - explicit DemoHttpComplexResponseResult(const std::string &payload); - ~DemoHttpComplexResponseResult(); - std::string getId()const; - std::vector getInfos()const; - std::string getName()const; - - protected: - void parse(const std::string &payload); - private: - std::string id_; - std::vector infos_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_DEMOHTTPCOMPLEXRESPONSERESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/DescribeDisksRequest.h b/lmztest/include/alibabacloud/lmztest/model/DescribeDisksRequest.h deleted file mode 100644 index 12c33530c..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/DescribeDisksRequest.h +++ /dev/null @@ -1,154 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_DESCRIBEDISKSREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_DESCRIBEDISKSREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT DescribeDisksRequest : public RpcServiceRequest { -public: - struct Tag { - std::string value; - std::string key; - }; - DescribeDisksRequest(); - ~DescribeDisksRequest(); - long getResourceOwnerId() const; - void setResourceOwnerId(long resourceOwnerId); - std::string getFilter2Value() const; - void setFilter2Value(const std::string &filter2Value); - std::string getAutoSnapshotPolicyId() const; - void setAutoSnapshotPolicyId(const std::string &autoSnapshotPolicyId); - std::string getDiskName() const; - void setDiskName(const std::string &diskName); - bool getDeleteAutoSnapshot() const; - void setDeleteAutoSnapshot(bool deleteAutoSnapshot); - std::string getResourceGroupId() const; - void setResourceGroupId(const std::string &resourceGroupId); - std::string getDiskChargeType() const; - void setDiskChargeType(const std::string &diskChargeType); - std::string getLockReason() const; - void setLockReason(const std::string &lockReason); - std::string getFilter1Key() const; - void setFilter1Key(const std::string &filter1Key); - std::vector getTag() const; - void setTag(const std::vector &tag); - bool getEnableAutoSnapshot() const; - void setEnableAutoSnapshot(bool enableAutoSnapshot); - bool getDryRun() const; - void setDryRun(bool dryRun); - std::string getFilter1Value() const; - void setFilter1Value(const std::string &filter1Value); - bool getPortable() const; - void setPortable(bool portable); - long getOwnerId() const; - void setOwnerId(long ownerId); - std::vector getAdditionalAttributes() const; - void setAdditionalAttributes(const std::vector &additionalAttributes); - std::string getInstanceId() const; - void setInstanceId(const std::string &instanceId); - std::string getZoneId() const; - void setZoneId(const std::string &zoneId); - int getMaxResults() const; - void setMaxResults(int maxResults); - std::string getStatus() const; - void setStatus(const std::string &status); - std::string getSnapshotId() const; - void setSnapshotId(const std::string &snapshotId); - int getPageNumber() const; - void setPageNumber(int pageNumber); - std::string getRegionId() const; - void setRegionId(const std::string ®ionId); - std::string getNextToken() const; - void setNextToken(const std::string &nextToken); - int getPageSize() const; - void setPageSize(int pageSize); - std::string getDiskIds() const; - void setDiskIds(const std::string &diskIds); - std::string getMultiAttach() const; - void setMultiAttach(const std::string &multiAttach); - bool getDeleteWithInstance() const; - void setDeleteWithInstance(bool deleteWithInstance); - std::string getResourceOwnerAccount() const; - void setResourceOwnerAccount(const std::string &resourceOwnerAccount); - std::string getOwnerAccount() const; - void setOwnerAccount(const std::string &ownerAccount); - bool getEnableAutomatedSnapshotPolicy() const; - void setEnableAutomatedSnapshotPolicy(bool enableAutomatedSnapshotPolicy); - std::string getFilter2Key() const; - void setFilter2Key(const std::string &filter2Key); - std::string getDiskType() const; - void setDiskType(const std::string &diskType); - bool getEnableShared() const; - void setEnableShared(bool enableShared); - bool getEncrypted() const; - void setEncrypted(bool encrypted); - std::string getCategory() const; - void setCategory(const std::string &category); - std::string getKMSKeyId() const; - void setKMSKeyId(const std::string &kMSKeyId); - -private: - long resourceOwnerId_; - std::string filter2Value_; - std::string autoSnapshotPolicyId_; - std::string diskName_; - bool deleteAutoSnapshot_; - std::string resourceGroupId_; - std::string diskChargeType_; - std::string lockReason_; - std::string filter1Key_; - std::vector tag_; - bool enableAutoSnapshot_; - bool dryRun_; - std::string filter1Value_; - bool portable_; - long ownerId_; - std::vector additionalAttributes_; - std::string instanceId_; - std::string zoneId_; - int maxResults_; - std::string status_; - std::string snapshotId_; - int pageNumber_; - std::string regionId_; - std::string nextToken_; - int pageSize_; - std::string diskIds_; - std::string multiAttach_; - bool deleteWithInstance_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - bool enableAutomatedSnapshotPolicy_; - std::string filter2Key_; - std::string diskType_; - bool enableShared_; - bool encrypted_; - std::string category_; - std::string kMSKeyId_; -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_DESCRIBEDISKSREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/DescribeDisksResult.h b/lmztest/include/alibabacloud/lmztest/model/DescribeDisksResult.h deleted file mode 100644 index f6edac4ba..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/DescribeDisksResult.h +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_DESCRIBEDISKSRESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_DESCRIBEDISKSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT DescribeDisksResult : public ServiceResult - { - public: - struct Disk - { - struct OperationLock - { - std::string lockReason; - }; - struct MountInstance - { - std::string attachedTime; - std::string instanceId; - std::string device; - }; - struct Tag - { - std::string tagKey; - std::string tagValue; - }; - struct Attachment - { - std::string attachedTime; - std::string instanceId; - std::string device; - }; - std::string detachedTime; - std::string description; - std::string kMSKeyId; - std::string category; - std::string resourceGroupId; - std::string dedicatedBlockStorageClusterId; - bool encrypted; - int size; - bool deleteAutoSnapshot; - std::string diskChargeType; - int storageSetPartitionNumber; - int iOPS; - std::vector attachments; - std::string multiAttach; - std::string expiredTime; - std::string imageId; - std::string storageSetId; - std::vector tags; - std::string status; - int iOPSRead; - std::string attachedTime; - int iOPSWrite; - std::string zoneId; - std::string sourceSnapshotId; - std::string instanceId; - std::string productCode; - std::string performanceLevel; - std::string device; - bool deleteWithInstance; - bool enableAutomatedSnapshotPolicy; - bool enableAutoSnapshot; - std::string autoSnapshotPolicyId; - std::string diskName; - std::vector operationLocks; - std::string bdfId; - bool portable; - std::string type; - int mountInstanceNum; - std::string serialNumber; - std::vector mountInstances; - std::string creationTime; - std::string regionId; - std::string diskId; - }; - - - DescribeDisksResult(); - explicit DescribeDisksResult(const std::string &payload); - ~DescribeDisksResult(); - int getTotalCount()const; - std::string getNextToken()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getDisks()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - std::string nextToken_; - int pageSize_; - int pageNumber_; - std::vector disks_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_DESCRIBEDISKSRESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/GetPackageStorageCredentialRequest.h b/lmztest/include/alibabacloud/lmztest/model/GetPackageStorageCredentialRequest.h deleted file mode 100644 index b4bacdfc7..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/GetPackageStorageCredentialRequest.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_GETPACKAGESTORAGECREDENTIALREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_GETPACKAGESTORAGECREDENTIALREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT GetPackageStorageCredentialRequest : public RpcServiceRequest { -public: - GetPackageStorageCredentialRequest(); - ~GetPackageStorageCredentialRequest(); - -private: -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_GETPACKAGESTORAGECREDENTIALREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/GetPackageStorageCredentialResult.h b/lmztest/include/alibabacloud/lmztest/model/GetPackageStorageCredentialResult.h deleted file mode 100644 index 64f08b01f..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/GetPackageStorageCredentialResult.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_GETPACKAGESTORAGECREDENTIALRESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_GETPACKAGESTORAGECREDENTIALRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT GetPackageStorageCredentialResult : public ServiceResult - { - public: - struct Credential - { - std::string securityToken; - std::string ossInternalEndpoint; - std::string bucket; - std::string ossPublicEndpoint; - std::string accessKeyId; - std::string accessKeySecret; - std::string ossVpcEndpoint; - std::string expiration; - std::string regionId; - std::string keyPrefix; - }; - - - GetPackageStorageCredentialResult(); - explicit GetPackageStorageCredentialResult(const std::string &payload); - ~GetPackageStorageCredentialResult(); - Credential getCredential()const; - std::string getMessage()const; - int getCode()const; - - protected: - void parse(const std::string &payload); - private: - Credential credential_; - std::string message_; - int code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_GETPACKAGESTORAGECREDENTIALRESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/GrayReleaseDemoRequest.h b/lmztest/include/alibabacloud/lmztest/model/GrayReleaseDemoRequest.h deleted file mode 100644 index e0dfe2d40..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/GrayReleaseDemoRequest.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_GRAYRELEASEDEMOREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_GRAYRELEASEDEMOREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT GrayReleaseDemoRequest : public RpcServiceRequest { -public: - GrayReleaseDemoRequest(); - ~GrayReleaseDemoRequest(); - std::string getId() const; - void setId(const std::string &id); - -private: - std::string id_; -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_GRAYRELEASEDEMOREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/GrayReleaseDemoResult.h b/lmztest/include/alibabacloud/lmztest/model/GrayReleaseDemoResult.h deleted file mode 100644 index 42ddc7cbe..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/GrayReleaseDemoResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_GRAYRELEASEDEMORESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_GRAYRELEASEDEMORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT GrayReleaseDemoResult : public ServiceResult - { - public: - - - GrayReleaseDemoResult(); - explicit GrayReleaseDemoResult(const std::string &payload); - ~GrayReleaseDemoResult(); - std::string getYear()const; - std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string year_; - std::string code_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_GRAYRELEASEDEMORESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/ListProductsByPopCodeRequest.h b/lmztest/include/alibabacloud/lmztest/model/ListProductsByPopCodeRequest.h deleted file mode 100644 index 2108fef58..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/ListProductsByPopCodeRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_LISTPRODUCTSBYPOPCODEREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_LISTPRODUCTSBYPOPCODEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT ListProductsByPopCodeRequest : public RpcServiceRequest { -public: - ListProductsByPopCodeRequest(); - ~ListProductsByPopCodeRequest(); - std::string getAuthKey() const; - void setAuthKey(const std::string &authKey); - std::string getExtraParams() const; - void setExtraParams(const std::string &extraParams); - std::string getServerClientIp() const; - void setServerClientIp(const std::string &serverClientIp); - std::string getRequestId() const; - void setRequestId(const std::string &requestId); - std::string getClientIp() const; - void setClientIp(const std::string &clientIp); - std::string getIdentityDTO() const; - void setIdentityDTO(const std::string &identityDTO); - std::string getEnv() const; - void setEnv(const std::string &env); - std::string getPopCode() const; - void setPopCode(const std::string &popCode); - -private: - std::string authKey_; - std::string extraParams_; - std::string serverClientIp_; - std::string requestId_; - std::string clientIp_; - std::string identityDTO_; - std::string env_; - std::string popCode_; -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_LISTPRODUCTSBYPOPCODEREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/ListProductsByPopCodeResult.h b/lmztest/include/alibabacloud/lmztest/model/ListProductsByPopCodeResult.h deleted file mode 100644 index 2b80a320d..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/ListProductsByPopCodeResult.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_LISTPRODUCTSBYPOPCODERESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_LISTPRODUCTSBYPOPCODERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT ListProductsByPopCodeResult : public ServiceResult - { - public: - struct ResultItem - { - struct UniqueKeyDTO - { - std::string namespaceCode; - }; - struct NameSpaceExtDTO - { - struct BusinessOwnerListItem - { - std::string bucId; - std::string id; - std::string name; - }; - struct TechniqueOwnerListItem - { - std::string bucId; - std::string id; - std::string name; - }; - std::vector businessOwnerList; - std::vector techniqueOwnerList; - }; - UniqueKeyDTO uniqueKeyDTO; - NameSpaceExtDTO nameSpaceExtDTO; - }; - - - ListProductsByPopCodeResult(); - explicit ListProductsByPopCodeResult(const std::string &payload); - ~ListProductsByPopCodeResult(); - std::string getErrorDetailMessage()const; - std::string getTraceId()const; - std::string getErrorCode()const; - std::string getErrorMessage()const; - bool getSuccess()const; - std::vector getResult()const; - - protected: - void parse(const std::string &payload); - private: - std::string errorDetailMessage_; - std::string traceId_; - std::string errorCode_; - std::string errorMessage_; - bool success_; - std::vector result_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_LISTPRODUCTSBYPOPCODERESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/LjxTestRequest.h b/lmztest/include/alibabacloud/lmztest/model/LjxTestRequest.h deleted file mode 100644 index 0b402a99e..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/LjxTestRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_LJXTESTREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_LJXTESTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT LjxTestRequest : public RpcServiceRequest { -public: - LjxTestRequest(); - ~LjxTestRequest(); - std::string getNewparam2() const; - void setNewparam2(const std::string &newparam2); - std::vector getNewparam1() const; - void setNewparam1(const std::vector &newparam1); - std::map getCode() const; - void setCode(const std::map &code); - std::string getId() const; - void setId(const std::string &id); - std::string getBody() const; - void setBody(const std::string &body); - -private: - std::string newparam2_; - std::vector newparam1_; - std::map code_; - std::string id_; - std::string body_; -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_LJXTESTREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/LjxTestResult.h b/lmztest/include/alibabacloud/lmztest/model/LjxTestResult.h deleted file mode 100644 index 7870feed4..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/LjxTestResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_LJXTESTRESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_LJXTESTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT LjxTestResult : public ServiceResult - { - public: - struct Testtest - { - std::string id; - }; - struct MapsItem - { - std::string param0; - }; - - - LjxTestResult(); - explicit LjxTestResult(const std::string &payload); - ~LjxTestResult(); - std::vector getMaps()const; - std::vector getStringList()const; - Testtest getTesttest()const; - std::vector getLongList()const; - std::string getId()const; - int getCode()const; - std::string getName()const; - - protected: - void parse(const std::string &payload); - private: - std::vector maps_; - std::vector stringList_; - Testtest testtest_; - std::vector longList_; - std::string id_; - int code_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_LJXTESTRESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/ReqBeanTestRequest.h b/lmztest/include/alibabacloud/lmztest/model/ReqBeanTestRequest.h deleted file mode 100644 index 6da9f79c9..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/ReqBeanTestRequest.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_REQBEANTESTREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_REQBEANTESTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT ReqBeanTestRequest : public RpcServiceRequest { -public: - struct Users { - std::string name; - std::string id; - }; - ReqBeanTestRequest(); - ~ReqBeanTestRequest(); - std::vector getCodes() const; - void setCodes(const std::vector &codes); - std::string getXhostheadertest() const; - void setXhostheadertest(const std::string &xhostheadertest); - std::string getId() const; - void setId(const std::string &id); - std::vector getNums() const; - void setNums(const std::vector &nums); - std::vector getUsers() const; - void setUsers(const std::vector &users); - -private: - std::vector codes_; - std::string xhostheadertest_; - std::string id_; - std::vector nums_; - std::vector users_; -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_REQBEANTESTREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/ReqBeanTestResult.h b/lmztest/include/alibabacloud/lmztest/model/ReqBeanTestResult.h deleted file mode 100644 index 09ea3a5b7..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/ReqBeanTestResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_REQBEANTESTRESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_REQBEANTESTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT ReqBeanTestResult : public ServiceResult - { - public: - - - ReqBeanTestResult(); - explicit ReqBeanTestResult(const std::string &payload); - ~ReqBeanTestResult(); - std::string getId()const; - std::string getName()const; - - protected: - void parse(const std::string &payload); - private: - std::string id_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_REQBEANTESTRESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/RomeGetExecutionResultRequest.h b/lmztest/include/alibabacloud/lmztest/model/RomeGetExecutionResultRequest.h deleted file mode 100644 index ce9baf110..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/RomeGetExecutionResultRequest.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_ROMEGETEXECUTIONRESULTREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_ROMEGETEXECUTIONRESULTREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT RomeGetExecutionResultRequest : public RpcServiceRequest { -public: - RomeGetExecutionResultRequest(); - ~RomeGetExecutionResultRequest(); - std::string getFlowRequestId() const; - void setFlowRequestId(const std::string &flowRequestId); - -private: - std::string flowRequestId_; -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_ROMEGETEXECUTIONRESULTREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/RomeGetExecutionResultResult.h b/lmztest/include/alibabacloud/lmztest/model/RomeGetExecutionResultResult.h deleted file mode 100644 index d68f28f7f..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/RomeGetExecutionResultResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_ROMEGETEXECUTIONRESULTRESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_ROMEGETEXECUTIONRESULTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT RomeGetExecutionResultResult : public ServiceResult - { - public: - - - RomeGetExecutionResultResult(); - explicit RomeGetExecutionResultResult(const std::string &payload); - ~RomeGetExecutionResultResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_ROMEGETEXECUTIONRESULTRESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/RpcHttpRequest.h b/lmztest/include/alibabacloud/lmztest/model/RpcHttpRequest.h deleted file mode 100644 index dc162ef38..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/RpcHttpRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_RPCHTTPREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_RPCHTTPREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT RpcHttpRequest : public RpcServiceRequest { -public: - RpcHttpRequest(); - ~RpcHttpRequest(); - std::string getNews() const; - void setNews(const std::string &news); - std::string getCodes() const; - void setCodes(const std::string &codes); - std::string getNumber() const; - void setNumber(const std::string &number); - std::string getMonkey() const; - void setMonkey(const std::string &monkey); - std::string getWorld() const; - void setWorld(const std::string &world); - std::string getParam() const; - void setParam(const std::string ¶m); - std::string getOld() const; - void setOld(const std::string &old); - std::string getName() const; - void setName(const std::string &name); - std::string getId() const; - void setId(const std::string &id); - std::string getNone() const; - void setNone(const std::string &none); - -private: - std::string news_; - std::string codes_; - std::string number_; - std::string monkey_; - std::string world_; - std::string param_; - std::string old_; - std::string name_; - std::string id_; - std::string none_; -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_RPCHTTPREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/RpcHttpResult.h b/lmztest/include/alibabacloud/lmztest/model/RpcHttpResult.h deleted file mode 100644 index 4537a915d..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/RpcHttpResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_RPCHTTPRESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_RPCHTTPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT RpcHttpResult : public ServiceResult - { - public: - - - RpcHttpResult(); - explicit RpcHttpResult(const std::string &payload); - ~RpcHttpResult(); - std::string getId()const; - std::string getName()const; - - protected: - void parse(const std::string &payload); - private: - std::string id_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_RPCHTTPRESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/TestPutApiAndGetApiRequest.h b/lmztest/include/alibabacloud/lmztest/model/TestPutApiAndGetApiRequest.h deleted file mode 100644 index 951a33cb1..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/TestPutApiAndGetApiRequest.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_TESTPUTAPIANDGETAPIREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_TESTPUTAPIANDGETAPIREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT TestPutApiAndGetApiRequest : public RpcServiceRequest { -public: - TestPutApiAndGetApiRequest(); - ~TestPutApiAndGetApiRequest(); - -private: -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_TESTPUTAPIANDGETAPIREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/TestPutApiAndGetApiResult.h b/lmztest/include/alibabacloud/lmztest/model/TestPutApiAndGetApiResult.h deleted file mode 100644 index 30668a07f..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/TestPutApiAndGetApiResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_TESTPUTAPIANDGETAPIRESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_TESTPUTAPIANDGETAPIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT TestPutApiAndGetApiResult : public ServiceResult - { - public: - - - TestPutApiAndGetApiResult(); - explicit TestPutApiAndGetApiResult(const std::string &payload); - ~TestPutApiAndGetApiResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_TESTPUTAPIANDGETAPIRESULT_H_ \ No newline at end of file diff --git a/lmztest/include/alibabacloud/lmztest/model/UpdateListenerRequest.h b/lmztest/include/alibabacloud/lmztest/model/UpdateListenerRequest.h deleted file mode 100644 index 06d31b8be..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/UpdateListenerRequest.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_UPDATELISTENERREQUEST_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_UPDATELISTENERREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace LmzTest { -namespace Model { -class ALIBABACLOUD_LMZTEST_EXPORT UpdateListenerRequest : public RpcServiceRequest { -public: - struct BackendPorts { - int fromPort; - int toPort; - }; - struct PortRanges { - int fromPort; - int toPort; - }; - struct Certificates { - std::string id; - }; - UpdateListenerRequest(); - ~UpdateListenerRequest(); - std::string getClientToken() const; - void setClientToken(const std::string &clientToken); - std::string getDescription() const; - void setDescription(const std::string &description); - std::vector getBackendPorts() const; - void setBackendPorts(const std::vector &backendPorts); - std::string getListenerId() const; - void setListenerId(const std::string &listenerId); - std::string getProtocol() const; - void setProtocol(const std::string &protocol); - std::string getRegionId() const; - void setRegionId(const std::string ®ionId); - std::string getProxyProtocol() const; - void setProxyProtocol(const std::string &proxyProtocol); - std::vector getPortRanges() const; - void setPortRanges(const std::vector &portRanges); - std::vector getCertificates() const; - void setCertificates(const std::vector &certificates); - std::string getName() const; - void setName(const std::string &name); - std::string getClientAffinity() const; - void setClientAffinity(const std::string &clientAffinity); - -private: - std::string clientToken_; - std::string description_; - std::vector backendPorts_; - std::string listenerId_; - std::string protocol_; - std::string regionId_; - std::string proxyProtocol_; - std::vector portRanges_; - std::vector certificates_; - std::string name_; - std::string clientAffinity_; -}; -} // namespace Model -} // namespace LmzTest -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LMZTEST_MODEL_UPDATELISTENERREQUEST_H_ diff --git a/lmztest/include/alibabacloud/lmztest/model/UpdateListenerResult.h b/lmztest/include/alibabacloud/lmztest/model/UpdateListenerResult.h deleted file mode 100644 index 9dfac9b62..000000000 --- a/lmztest/include/alibabacloud/lmztest/model/UpdateListenerResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_LMZTEST_MODEL_UPDATELISTENERRESULT_H_ -#define ALIBABACLOUD_LMZTEST_MODEL_UPDATELISTENERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace LmzTest - { - namespace Model - { - class ALIBABACLOUD_LMZTEST_EXPORT UpdateListenerResult : public ServiceResult - { - public: - - - UpdateListenerResult(); - explicit UpdateListenerResult(const std::string &payload); - ~UpdateListenerResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_LMZTEST_MODEL_UPDATELISTENERRESULT_H_ \ No newline at end of file diff --git a/lmztest/src/LmzTestClient.cc b/lmztest/src/LmzTestClient.cc deleted file mode 100644 index 80ec27854..000000000 --- a/lmztest/src/LmzTestClient.cc +++ /dev/null @@ -1,737 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -namespace -{ - const std::string SERVICE_NAME = "LmzTest"; -} - -LmzTestClient::LmzTestClient(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, ""); -} - -LmzTestClient::LmzTestClient(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, ""); -} - -LmzTestClient::LmzTestClient(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, ""); -} - -LmzTestClient::~LmzTestClient() -{} - -LmzTestClient::AAbckOutcome LmzTestClient::aAbck(const AAbckRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AAbckOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AAbckOutcome(AAbckResult(outcome.result())); - else - return AAbckOutcome(outcome.error()); -} - -void LmzTestClient::aAbckAsync(const AAbckRequest& request, const AAbckAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, aAbck(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::AAbckOutcomeCallable LmzTestClient::aAbckCallable(const AAbckRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->aAbck(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::AndBackOutcome LmzTestClient::andBack(const AndBackRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AndBackOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AndBackOutcome(AndBackResult(outcome.result())); - else - return AndBackOutcome(outcome.error()); -} - -void LmzTestClient::andBackAsync(const AndBackRequest& request, const AndBackAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, andBack(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::AndBackOutcomeCallable LmzTestClient::andBackCallable(const AndBackRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->andBack(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::DataRateLimitTestOutcome LmzTestClient::dataRateLimitTest(const DataRateLimitTestRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DataRateLimitTestOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DataRateLimitTestOutcome(DataRateLimitTestResult(outcome.result())); - else - return DataRateLimitTestOutcome(outcome.error()); -} - -void LmzTestClient::dataRateLimitTestAsync(const DataRateLimitTestRequest& request, const DataRateLimitTestAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, dataRateLimitTest(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::DataRateLimitTestOutcomeCallable LmzTestClient::dataRateLimitTestCallable(const DataRateLimitTestRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->dataRateLimitTest(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::DemoGrayReleaseTestOutcome LmzTestClient::demoGrayReleaseTest(const DemoGrayReleaseTestRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DemoGrayReleaseTestOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DemoGrayReleaseTestOutcome(DemoGrayReleaseTestResult(outcome.result())); - else - return DemoGrayReleaseTestOutcome(outcome.error()); -} - -void LmzTestClient::demoGrayReleaseTestAsync(const DemoGrayReleaseTestRequest& request, const DemoGrayReleaseTestAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, demoGrayReleaseTest(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::DemoGrayReleaseTestOutcomeCallable LmzTestClient::demoGrayReleaseTestCallable(const DemoGrayReleaseTestRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->demoGrayReleaseTest(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::DemoGrayReleaseTestTwoOutcome LmzTestClient::demoGrayReleaseTestTwo(const DemoGrayReleaseTestTwoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DemoGrayReleaseTestTwoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DemoGrayReleaseTestTwoOutcome(DemoGrayReleaseTestTwoResult(outcome.result())); - else - return DemoGrayReleaseTestTwoOutcome(outcome.error()); -} - -void LmzTestClient::demoGrayReleaseTestTwoAsync(const DemoGrayReleaseTestTwoRequest& request, const DemoGrayReleaseTestTwoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, demoGrayReleaseTestTwo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::DemoGrayReleaseTestTwoOutcomeCallable LmzTestClient::demoGrayReleaseTestTwoCallable(const DemoGrayReleaseTestTwoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->demoGrayReleaseTestTwo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::DemoGreyReleaseTestOutcome LmzTestClient::demoGreyReleaseTest(const DemoGreyReleaseTestRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DemoGreyReleaseTestOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DemoGreyReleaseTestOutcome(DemoGreyReleaseTestResult(outcome.result())); - else - return DemoGreyReleaseTestOutcome(outcome.error()); -} - -void LmzTestClient::demoGreyReleaseTestAsync(const DemoGreyReleaseTestRequest& request, const DemoGreyReleaseTestAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, demoGreyReleaseTest(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::DemoGreyReleaseTestOutcomeCallable LmzTestClient::demoGreyReleaseTestCallable(const DemoGreyReleaseTestRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->demoGreyReleaseTest(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::DemoHsfNineResponseOutcome LmzTestClient::demoHsfNineResponse(const DemoHsfNineResponseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DemoHsfNineResponseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DemoHsfNineResponseOutcome(DemoHsfNineResponseResult(outcome.result())); - else - return DemoHsfNineResponseOutcome(outcome.error()); -} - -void LmzTestClient::demoHsfNineResponseAsync(const DemoHsfNineResponseRequest& request, const DemoHsfNineResponseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, demoHsfNineResponse(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::DemoHsfNineResponseOutcomeCallable LmzTestClient::demoHsfNineResponseCallable(const DemoHsfNineResponseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->demoHsfNineResponse(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::DemoHsfSixTestOutcome LmzTestClient::demoHsfSixTest(const DemoHsfSixTestRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DemoHsfSixTestOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DemoHsfSixTestOutcome(DemoHsfSixTestResult(outcome.result())); - else - return DemoHsfSixTestOutcome(outcome.error()); -} - -void LmzTestClient::demoHsfSixTestAsync(const DemoHsfSixTestRequest& request, const DemoHsfSixTestAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, demoHsfSixTest(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::DemoHsfSixTestOutcomeCallable LmzTestClient::demoHsfSixTestCallable(const DemoHsfSixTestRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->demoHsfSixTest(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::DemoHttpComplexResponseOutcome LmzTestClient::demoHttpComplexResponse(const DemoHttpComplexResponseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DemoHttpComplexResponseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DemoHttpComplexResponseOutcome(DemoHttpComplexResponseResult(outcome.result())); - else - return DemoHttpComplexResponseOutcome(outcome.error()); -} - -void LmzTestClient::demoHttpComplexResponseAsync(const DemoHttpComplexResponseRequest& request, const DemoHttpComplexResponseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, demoHttpComplexResponse(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::DemoHttpComplexResponseOutcomeCallable LmzTestClient::demoHttpComplexResponseCallable(const DemoHttpComplexResponseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->demoHttpComplexResponse(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::DescribeDisksOutcome LmzTestClient::describeDisks(const DescribeDisksRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDisksOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDisksOutcome(DescribeDisksResult(outcome.result())); - else - return DescribeDisksOutcome(outcome.error()); -} - -void LmzTestClient::describeDisksAsync(const DescribeDisksRequest& request, const DescribeDisksAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDisks(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::DescribeDisksOutcomeCallable LmzTestClient::describeDisksCallable(const DescribeDisksRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDisks(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::GetPackageStorageCredentialOutcome LmzTestClient::getPackageStorageCredential(const GetPackageStorageCredentialRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetPackageStorageCredentialOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetPackageStorageCredentialOutcome(GetPackageStorageCredentialResult(outcome.result())); - else - return GetPackageStorageCredentialOutcome(outcome.error()); -} - -void LmzTestClient::getPackageStorageCredentialAsync(const GetPackageStorageCredentialRequest& request, const GetPackageStorageCredentialAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getPackageStorageCredential(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::GetPackageStorageCredentialOutcomeCallable LmzTestClient::getPackageStorageCredentialCallable(const GetPackageStorageCredentialRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getPackageStorageCredential(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::GrayReleaseDemoOutcome LmzTestClient::grayReleaseDemo(const GrayReleaseDemoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GrayReleaseDemoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GrayReleaseDemoOutcome(GrayReleaseDemoResult(outcome.result())); - else - return GrayReleaseDemoOutcome(outcome.error()); -} - -void LmzTestClient::grayReleaseDemoAsync(const GrayReleaseDemoRequest& request, const GrayReleaseDemoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, grayReleaseDemo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::GrayReleaseDemoOutcomeCallable LmzTestClient::grayReleaseDemoCallable(const GrayReleaseDemoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->grayReleaseDemo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::ListProductsByPopCodeOutcome LmzTestClient::listProductsByPopCode(const ListProductsByPopCodeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListProductsByPopCodeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListProductsByPopCodeOutcome(ListProductsByPopCodeResult(outcome.result())); - else - return ListProductsByPopCodeOutcome(outcome.error()); -} - -void LmzTestClient::listProductsByPopCodeAsync(const ListProductsByPopCodeRequest& request, const ListProductsByPopCodeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listProductsByPopCode(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::ListProductsByPopCodeOutcomeCallable LmzTestClient::listProductsByPopCodeCallable(const ListProductsByPopCodeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listProductsByPopCode(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::LjxTestOutcome LmzTestClient::ljxTest(const LjxTestRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return LjxTestOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return LjxTestOutcome(LjxTestResult(outcome.result())); - else - return LjxTestOutcome(outcome.error()); -} - -void LmzTestClient::ljxTestAsync(const LjxTestRequest& request, const LjxTestAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, ljxTest(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::LjxTestOutcomeCallable LmzTestClient::ljxTestCallable(const LjxTestRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->ljxTest(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::ReqBeanTestOutcome LmzTestClient::reqBeanTest(const ReqBeanTestRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ReqBeanTestOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ReqBeanTestOutcome(ReqBeanTestResult(outcome.result())); - else - return ReqBeanTestOutcome(outcome.error()); -} - -void LmzTestClient::reqBeanTestAsync(const ReqBeanTestRequest& request, const ReqBeanTestAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, reqBeanTest(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::ReqBeanTestOutcomeCallable LmzTestClient::reqBeanTestCallable(const ReqBeanTestRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->reqBeanTest(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::RomeGetExecutionResultOutcome LmzTestClient::romeGetExecutionResult(const RomeGetExecutionResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RomeGetExecutionResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RomeGetExecutionResultOutcome(RomeGetExecutionResultResult(outcome.result())); - else - return RomeGetExecutionResultOutcome(outcome.error()); -} - -void LmzTestClient::romeGetExecutionResultAsync(const RomeGetExecutionResultRequest& request, const RomeGetExecutionResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, romeGetExecutionResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::RomeGetExecutionResultOutcomeCallable LmzTestClient::romeGetExecutionResultCallable(const RomeGetExecutionResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->romeGetExecutionResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::RpcHttpOutcome LmzTestClient::rpcHttp(const RpcHttpRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RpcHttpOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RpcHttpOutcome(RpcHttpResult(outcome.result())); - else - return RpcHttpOutcome(outcome.error()); -} - -void LmzTestClient::rpcHttpAsync(const RpcHttpRequest& request, const RpcHttpAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, rpcHttp(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::RpcHttpOutcomeCallable LmzTestClient::rpcHttpCallable(const RpcHttpRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->rpcHttp(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::TestPutApiAndGetApiOutcome LmzTestClient::testPutApiAndGetApi(const TestPutApiAndGetApiRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return TestPutApiAndGetApiOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return TestPutApiAndGetApiOutcome(TestPutApiAndGetApiResult(outcome.result())); - else - return TestPutApiAndGetApiOutcome(outcome.error()); -} - -void LmzTestClient::testPutApiAndGetApiAsync(const TestPutApiAndGetApiRequest& request, const TestPutApiAndGetApiAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, testPutApiAndGetApi(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::TestPutApiAndGetApiOutcomeCallable LmzTestClient::testPutApiAndGetApiCallable(const TestPutApiAndGetApiRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->testPutApiAndGetApi(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -LmzTestClient::UpdateListenerOutcome LmzTestClient::updateListener(const UpdateListenerRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateListenerOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateListenerOutcome(UpdateListenerResult(outcome.result())); - else - return UpdateListenerOutcome(outcome.error()); -} - -void LmzTestClient::updateListenerAsync(const UpdateListenerRequest& request, const UpdateListenerAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateListener(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LmzTestClient::UpdateListenerOutcomeCallable LmzTestClient::updateListenerCallable(const UpdateListenerRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateListener(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - diff --git a/lmztest/src/model/AAbckRequest.cc b/lmztest/src/model/AAbckRequest.cc deleted file mode 100644 index 01e23c28b..000000000 --- a/lmztest/src/model/AAbckRequest.cc +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::AAbckRequest; - -AAbckRequest::AAbckRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "AAbck") { - setMethod(HttpRequest::Method::Get); -} - -AAbckRequest::~AAbckRequest() {} - -std::string AAbckRequest::getClientToken3() const { - return clientToken3_; -} - -void AAbckRequest::setClientToken3(const std::string &clientToken3) { - clientToken3_ = clientToken3; - setParameter(std::string("ClientToken3"), clientToken3); -} - -std::string AAbckRequest::getTestDemo() const { - return testDemo_; -} - -void AAbckRequest::setTestDemo(const std::string &testDemo) { - testDemo_ = testDemo; - setParameter(std::string("TestDemo"), testDemo); -} - diff --git a/lmztest/src/model/AAbckResult.cc b/lmztest/src/model/AAbckResult.cc deleted file mode 100644 index ae58d1246..000000000 --- a/lmztest/src/model/AAbckResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -AAbckResult::AAbckResult() : - ServiceResult() -{} - -AAbckResult::AAbckResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AAbckResult::~AAbckResult() -{} - -void AAbckResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["id"].isNull()) - id_ = value["id"].asString(); - -} - -std::string AAbckResult::getId()const -{ - return id_; -} - diff --git a/lmztest/src/model/AndBackRequest.cc b/lmztest/src/model/AndBackRequest.cc deleted file mode 100644 index 2db03419f..000000000 --- a/lmztest/src/model/AndBackRequest.cc +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::AndBackRequest; - -AndBackRequest::AndBackRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "AndBack") { - setMethod(HttpRequest::Method::Get); -} - -AndBackRequest::~AndBackRequest() {} - -std::string AndBackRequest::getClientToken2() const { - return clientToken2_; -} - -void AndBackRequest::setClientToken2(const std::string &clientToken2) { - clientToken2_ = clientToken2; - setParameter(std::string("ClientToken2"), clientToken2); -} - -std::string AndBackRequest::getTestDemo() const { - return testDemo_; -} - -void AndBackRequest::setTestDemo(const std::string &testDemo) { - testDemo_ = testDemo; - setParameter(std::string("TestDemo"), testDemo); -} - diff --git a/lmztest/src/model/AndBackResult.cc b/lmztest/src/model/AndBackResult.cc deleted file mode 100644 index 266ff5f9e..000000000 --- a/lmztest/src/model/AndBackResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -AndBackResult::AndBackResult() : - ServiceResult() -{} - -AndBackResult::AndBackResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AndBackResult::~AndBackResult() -{} - -void AndBackResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/lmztest/src/model/DataRateLimitTestRequest.cc b/lmztest/src/model/DataRateLimitTestRequest.cc deleted file mode 100644 index 98c640d16..000000000 --- a/lmztest/src/model/DataRateLimitTestRequest.cc +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::DataRateLimitTestRequest; - -DataRateLimitTestRequest::DataRateLimitTestRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "DataRateLimitTest") { - setMethod(HttpRequest::Method::Get); -} - -DataRateLimitTestRequest::~DataRateLimitTestRequest() {} - diff --git a/lmztest/src/model/DataRateLimitTestResult.cc b/lmztest/src/model/DataRateLimitTestResult.cc deleted file mode 100644 index 656569f43..000000000 --- a/lmztest/src/model/DataRateLimitTestResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -DataRateLimitTestResult::DataRateLimitTestResult() : - ServiceResult() -{} - -DataRateLimitTestResult::DataRateLimitTestResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DataRateLimitTestResult::~DataRateLimitTestResult() -{} - -void DataRateLimitTestResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/lmztest/src/model/DemoGrayReleaseTestRequest.cc b/lmztest/src/model/DemoGrayReleaseTestRequest.cc deleted file mode 100644 index 3ba8b99c6..000000000 --- a/lmztest/src/model/DemoGrayReleaseTestRequest.cc +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::DemoGrayReleaseTestRequest; - -DemoGrayReleaseTestRequest::DemoGrayReleaseTestRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "DemoGrayReleaseTest") { - setMethod(HttpRequest::Method::Post); -} - -DemoGrayReleaseTestRequest::~DemoGrayReleaseTestRequest() {} - -int DemoGrayReleaseTestRequest::getNumberCode() const { - return numberCode_; -} - -void DemoGrayReleaseTestRequest::setNumberCode(int numberCode) { - numberCode_ = numberCode; - setParameter(std::string("NumberCode"), std::to_string(numberCode)); -} - -std::string DemoGrayReleaseTestRequest::getId() const { - return id_; -} - -void DemoGrayReleaseTestRequest::setId(const std::string &id) { - id_ = id; - setParameter(std::string("Id"), id); -} - diff --git a/lmztest/src/model/DemoGrayReleaseTestResult.cc b/lmztest/src/model/DemoGrayReleaseTestResult.cc deleted file mode 100644 index 10ce9150e..000000000 --- a/lmztest/src/model/DemoGrayReleaseTestResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -DemoGrayReleaseTestResult::DemoGrayReleaseTestResult() : - ServiceResult() -{} - -DemoGrayReleaseTestResult::DemoGrayReleaseTestResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DemoGrayReleaseTestResult::~DemoGrayReleaseTestResult() -{} - -void DemoGrayReleaseTestResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - -} - -std::string DemoGrayReleaseTestResult::getCode()const -{ - return code_; -} - -std::string DemoGrayReleaseTestResult::getName()const -{ - return name_; -} - diff --git a/lmztest/src/model/DemoGrayReleaseTestTwoRequest.cc b/lmztest/src/model/DemoGrayReleaseTestTwoRequest.cc deleted file mode 100644 index 66fa708be..000000000 --- a/lmztest/src/model/DemoGrayReleaseTestTwoRequest.cc +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::DemoGrayReleaseTestTwoRequest; - -DemoGrayReleaseTestTwoRequest::DemoGrayReleaseTestTwoRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "DemoGrayReleaseTestTwo") { - setMethod(HttpRequest::Method::Post); -} - -DemoGrayReleaseTestTwoRequest::~DemoGrayReleaseTestTwoRequest() {} - -std::string DemoGrayReleaseTestTwoRequest::getNumberCode() const { - return numberCode_; -} - -void DemoGrayReleaseTestTwoRequest::setNumberCode(const std::string &numberCode) { - numberCode_ = numberCode; - setParameter(std::string("NumberCode"), numberCode); -} - -long DemoGrayReleaseTestTwoRequest::getCode() const { - return code_; -} - -void DemoGrayReleaseTestTwoRequest::setCode(long code) { - code_ = code; - setParameter(std::string("Code"), std::to_string(code)); -} - diff --git a/lmztest/src/model/DemoGrayReleaseTestTwoResult.cc b/lmztest/src/model/DemoGrayReleaseTestTwoResult.cc deleted file mode 100644 index 5b240d681..000000000 --- a/lmztest/src/model/DemoGrayReleaseTestTwoResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -DemoGrayReleaseTestTwoResult::DemoGrayReleaseTestTwoResult() : - ServiceResult() -{} - -DemoGrayReleaseTestTwoResult::DemoGrayReleaseTestTwoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DemoGrayReleaseTestTwoResult::~DemoGrayReleaseTestTwoResult() -{} - -void DemoGrayReleaseTestTwoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/lmztest/src/model/DemoGreyReleaseTestRequest.cc b/lmztest/src/model/DemoGreyReleaseTestRequest.cc deleted file mode 100644 index 64fc72fc8..000000000 --- a/lmztest/src/model/DemoGreyReleaseTestRequest.cc +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::DemoGreyReleaseTestRequest; - -DemoGreyReleaseTestRequest::DemoGreyReleaseTestRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "DemoGreyReleaseTest") { - setMethod(HttpRequest::Method::Post); -} - -DemoGreyReleaseTestRequest::~DemoGreyReleaseTestRequest() {} - -long DemoGreyReleaseTestRequest::getNumber() const { - return number_; -} - -void DemoGreyReleaseTestRequest::setNumber(long number) { - number_ = number; - setParameter(std::string("Number"), std::to_string(number)); -} - diff --git a/lmztest/src/model/DemoGreyReleaseTestResult.cc b/lmztest/src/model/DemoGreyReleaseTestResult.cc deleted file mode 100644 index 6a61f3f63..000000000 --- a/lmztest/src/model/DemoGreyReleaseTestResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -DemoGreyReleaseTestResult::DemoGreyReleaseTestResult() : - ServiceResult() -{} - -DemoGreyReleaseTestResult::DemoGreyReleaseTestResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DemoGreyReleaseTestResult::~DemoGreyReleaseTestResult() -{} - -void DemoGreyReleaseTestResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - -} - -std::string DemoGreyReleaseTestResult::getId()const -{ - return id_; -} - diff --git a/lmztest/src/model/DemoHsfNineResponseRequest.cc b/lmztest/src/model/DemoHsfNineResponseRequest.cc deleted file mode 100644 index c476aa443..000000000 --- a/lmztest/src/model/DemoHsfNineResponseRequest.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::DemoHsfNineResponseRequest; - -DemoHsfNineResponseRequest::DemoHsfNineResponseRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "DemoHsfNineResponse") { - setMethod(HttpRequest::Method::Post); -} - -DemoHsfNineResponseRequest::~DemoHsfNineResponseRequest() {} - -std::string DemoHsfNineResponseRequest::getName() const { - return name_; -} - -void DemoHsfNineResponseRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("name"), name); -} - -std::string DemoHsfNineResponseRequest::getTestF1() const { - return testF1_; -} - -void DemoHsfNineResponseRequest::setTestF1(const std::string &testF1) { - testF1_ = testF1; - setParameter(std::string("TestF1"), testF1); -} - -std::map DemoHsfNineResponseRequest::getUserMap() const { - return userMap_; -} - -void DemoHsfNineResponseRequest::setUserMap(const std::map &userMap) { - userMap_ = userMap; - for(auto const &iter1 : userMap) { - setParameter(std::string("userMap") + "." + iter1.first + ".Uaa", iter1.second.uaa); - setParameter(std::string("userMap") + "." + iter1.first + ".Uas", iter1.second.uas); - setParameter(std::string("userMap") + "." + iter1.first + ".name", iter1.second.name); - setParameter(std::string("userMap") + "." + iter1.first + ".id", iter1.second.id); - } -} - diff --git a/lmztest/src/model/DemoHsfNineResponseResult.cc b/lmztest/src/model/DemoHsfNineResponseResult.cc deleted file mode 100644 index 788986a08..000000000 --- a/lmztest/src/model/DemoHsfNineResponseResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -DemoHsfNineResponseResult::DemoHsfNineResponseResult() : - ServiceResult() -{} - -DemoHsfNineResponseResult::DemoHsfNineResponseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DemoHsfNineResponseResult::~DemoHsfNineResponseResult() -{} - -void DemoHsfNineResponseResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allinfos = value["infos"]["infos"]; - for (const auto &item : allinfos) - infos_.push_back(item.asString()); - if(!value["id"].isNull()) - id_ = value["id"].asString(); - if(!value["name"].isNull()) - name_ = value["name"].asString(); - -} - -std::string DemoHsfNineResponseResult::getId()const -{ - return id_; -} - -std::vector DemoHsfNineResponseResult::getInfos()const -{ - return infos_; -} - -std::string DemoHsfNineResponseResult::getName()const -{ - return name_; -} - diff --git a/lmztest/src/model/DemoHsfSixTestRequest.cc b/lmztest/src/model/DemoHsfSixTestRequest.cc deleted file mode 100644 index 7403cf0c1..000000000 --- a/lmztest/src/model/DemoHsfSixTestRequest.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::DemoHsfSixTestRequest; - -DemoHsfSixTestRequest::DemoHsfSixTestRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "DemoHsfSixTest") { - setMethod(HttpRequest::Method::Post); -} - -DemoHsfSixTestRequest::~DemoHsfSixTestRequest() {} - -std::vector>> DemoHsfSixTestRequest::getStrListMap() const { - return strListMap_; -} - -void DemoHsfSixTestRequest::setStrListMap(const std::vector>> &strListMap) { - strListMap_ = strListMap; - for(int dep1 = 0; dep1 != strListMap.size(); dep1++) { - for(auto const &iter2 : strListMap[dep1]) { - for(auto const &iter3 : iter2.second) { - setBodyParameter(std::string("StrListMap") + "." + std::to_string(dep1 + 1) + "." + iter2.first + "." + iter3.first, std::to_string(iter3.second)); - } - } - } -} - -std::string DemoHsfSixTestRequest::getData() const { - return data_; -} - -void DemoHsfSixTestRequest::setData(const std::string &data) { - data_ = data; - setBodyParameter(std::string("Data"), data); -} - -std::string DemoHsfSixTestRequest::getMap() const { - return map_; -} - -void DemoHsfSixTestRequest::setMap(const std::string &map) { - map_ = map; - setBodyParameter(std::string("Map"), map); -} - -std::map DemoHsfSixTestRequest::getCodeMap() const { - return codeMap_; -} - -void DemoHsfSixTestRequest::setCodeMap(const std::map &codeMap) { - codeMap_ = codeMap; - for(auto const &iter1 : codeMap) { - setParameter(std::string("codeMap") + "." + iter1.first + ".Name", iter1.second.name); - setParameter(std::string("codeMap") + "." + iter1.first + ".Id", iter1.second.id); - } -} - diff --git a/lmztest/src/model/DemoHsfSixTestResult.cc b/lmztest/src/model/DemoHsfSixTestResult.cc deleted file mode 100644 index 29f33cf37..000000000 --- a/lmztest/src/model/DemoHsfSixTestResult.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -DemoHsfSixTestResult::DemoHsfSixTestResult() : - ServiceResult() -{} - -DemoHsfSixTestResult::DemoHsfSixTestResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DemoHsfSixTestResult::~DemoHsfSixTestResult() -{} - -void DemoHsfSixTestResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allData = value["Data"]["data"]; - for (const auto &item : allData) - data_.push_back(item.asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - -} - -std::vector DemoHsfSixTestResult::getData()const -{ - return data_; -} - -std::string DemoHsfSixTestResult::getId()const -{ - return id_; -} - -std::string DemoHsfSixTestResult::getCode()const -{ - return code_; -} - -std::string DemoHsfSixTestResult::getName()const -{ - return name_; -} - diff --git a/lmztest/src/model/DemoHttpComplexResponseRequest.cc b/lmztest/src/model/DemoHttpComplexResponseRequest.cc deleted file mode 100644 index 6d5bf5ff7..000000000 --- a/lmztest/src/model/DemoHttpComplexResponseRequest.cc +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::DemoHttpComplexResponseRequest; - -DemoHttpComplexResponseRequest::DemoHttpComplexResponseRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "DemoHttpComplexResponse") { - setMethod(HttpRequest::Method::Post); -} - -DemoHttpComplexResponseRequest::~DemoHttpComplexResponseRequest() {} - -std::string DemoHttpComplexResponseRequest::getReqInfo() const { - return reqInfo_; -} - -void DemoHttpComplexResponseRequest::setReqInfo(const std::string &reqInfo) { - reqInfo_ = reqInfo; - setParameter(std::string("reqInfo"), reqInfo); -} - diff --git a/lmztest/src/model/DemoHttpComplexResponseResult.cc b/lmztest/src/model/DemoHttpComplexResponseResult.cc deleted file mode 100644 index ab7288af4..000000000 --- a/lmztest/src/model/DemoHttpComplexResponseResult.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -DemoHttpComplexResponseResult::DemoHttpComplexResponseResult() : - ServiceResult() -{} - -DemoHttpComplexResponseResult::DemoHttpComplexResponseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DemoHttpComplexResponseResult::~DemoHttpComplexResponseResult() -{} - -void DemoHttpComplexResponseResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allinfos = value["infos"]["infos"]; - for (const auto &item : allinfos) - infos_.push_back(item.asString()); - if(!value["id"].isNull()) - id_ = value["id"].asString(); - if(!value["name"].isNull()) - name_ = value["name"].asString(); - -} - -std::string DemoHttpComplexResponseResult::getId()const -{ - return id_; -} - -std::vector DemoHttpComplexResponseResult::getInfos()const -{ - return infos_; -} - -std::string DemoHttpComplexResponseResult::getName()const -{ - return name_; -} - diff --git a/lmztest/src/model/DescribeDisksRequest.cc b/lmztest/src/model/DescribeDisksRequest.cc deleted file mode 100644 index a619990ee..000000000 --- a/lmztest/src/model/DescribeDisksRequest.cc +++ /dev/null @@ -1,364 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::DescribeDisksRequest; - -DescribeDisksRequest::DescribeDisksRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "DescribeDisks") { - setMethod(HttpRequest::Method::Post); -} - -DescribeDisksRequest::~DescribeDisksRequest() {} - -long DescribeDisksRequest::getResourceOwnerId() const { - return resourceOwnerId_; -} - -void DescribeDisksRequest::setResourceOwnerId(long resourceOwnerId) { - resourceOwnerId_ = resourceOwnerId; - setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); -} - -std::string DescribeDisksRequest::getFilter2Value() const { - return filter2Value_; -} - -void DescribeDisksRequest::setFilter2Value(const std::string &filter2Value) { - filter2Value_ = filter2Value; - setParameter(std::string("Filter.2.Value"), filter2Value); -} - -std::string DescribeDisksRequest::getAutoSnapshotPolicyId() const { - return autoSnapshotPolicyId_; -} - -void DescribeDisksRequest::setAutoSnapshotPolicyId(const std::string &autoSnapshotPolicyId) { - autoSnapshotPolicyId_ = autoSnapshotPolicyId; - setParameter(std::string("AutoSnapshotPolicyId"), autoSnapshotPolicyId); -} - -std::string DescribeDisksRequest::getDiskName() const { - return diskName_; -} - -void DescribeDisksRequest::setDiskName(const std::string &diskName) { - diskName_ = diskName; - setParameter(std::string("DiskName"), diskName); -} - -bool DescribeDisksRequest::getDeleteAutoSnapshot() const { - return deleteAutoSnapshot_; -} - -void DescribeDisksRequest::setDeleteAutoSnapshot(bool deleteAutoSnapshot) { - deleteAutoSnapshot_ = deleteAutoSnapshot; - setParameter(std::string("DeleteAutoSnapshot"), deleteAutoSnapshot ? "true" : "false"); -} - -std::string DescribeDisksRequest::getResourceGroupId() const { - return resourceGroupId_; -} - -void DescribeDisksRequest::setResourceGroupId(const std::string &resourceGroupId) { - resourceGroupId_ = resourceGroupId; - setParameter(std::string("ResourceGroupId"), resourceGroupId); -} - -std::string DescribeDisksRequest::getDiskChargeType() const { - return diskChargeType_; -} - -void DescribeDisksRequest::setDiskChargeType(const std::string &diskChargeType) { - diskChargeType_ = diskChargeType; - setParameter(std::string("DiskChargeType"), diskChargeType); -} - -std::string DescribeDisksRequest::getLockReason() const { - return lockReason_; -} - -void DescribeDisksRequest::setLockReason(const std::string &lockReason) { - lockReason_ = lockReason; - setParameter(std::string("LockReason"), lockReason); -} - -std::string DescribeDisksRequest::getFilter1Key() const { - return filter1Key_; -} - -void DescribeDisksRequest::setFilter1Key(const std::string &filter1Key) { - filter1Key_ = filter1Key; - setParameter(std::string("Filter.1.Key"), filter1Key); -} - -std::vector DescribeDisksRequest::getTag() const { - return tag_; -} - -void DescribeDisksRequest::setTag(const std::vector &tag) { - tag_ = tag; - for(int dep1 = 0; dep1 != tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Value", tagObj.value); - setParameter(tagObjStr + ".Key", tagObj.key); - } -} - -bool DescribeDisksRequest::getEnableAutoSnapshot() const { - return enableAutoSnapshot_; -} - -void DescribeDisksRequest::setEnableAutoSnapshot(bool enableAutoSnapshot) { - enableAutoSnapshot_ = enableAutoSnapshot; - setParameter(std::string("EnableAutoSnapshot"), enableAutoSnapshot ? "true" : "false"); -} - -bool DescribeDisksRequest::getDryRun() const { - return dryRun_; -} - -void DescribeDisksRequest::setDryRun(bool dryRun) { - dryRun_ = dryRun; - setParameter(std::string("DryRun"), dryRun ? "true" : "false"); -} - -std::string DescribeDisksRequest::getFilter1Value() const { - return filter1Value_; -} - -void DescribeDisksRequest::setFilter1Value(const std::string &filter1Value) { - filter1Value_ = filter1Value; - setParameter(std::string("Filter.1.Value"), filter1Value); -} - -bool DescribeDisksRequest::getPortable() const { - return portable_; -} - -void DescribeDisksRequest::setPortable(bool portable) { - portable_ = portable; - setParameter(std::string("Portable"), portable ? "true" : "false"); -} - -long DescribeDisksRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeDisksRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - -std::vector DescribeDisksRequest::getAdditionalAttributes() const { - return additionalAttributes_; -} - -void DescribeDisksRequest::setAdditionalAttributes(const std::vector &additionalAttributes) { - additionalAttributes_ = additionalAttributes; -} - -std::string DescribeDisksRequest::getInstanceId() const { - return instanceId_; -} - -void DescribeDisksRequest::setInstanceId(const std::string &instanceId) { - instanceId_ = instanceId; - setParameter(std::string("InstanceId"), instanceId); -} - -std::string DescribeDisksRequest::getZoneId() const { - return zoneId_; -} - -void DescribeDisksRequest::setZoneId(const std::string &zoneId) { - zoneId_ = zoneId; - setParameter(std::string("ZoneId"), zoneId); -} - -int DescribeDisksRequest::getMaxResults() const { - return maxResults_; -} - -void DescribeDisksRequest::setMaxResults(int maxResults) { - maxResults_ = maxResults; - setParameter(std::string("MaxResults"), std::to_string(maxResults)); -} - -std::string DescribeDisksRequest::getStatus() const { - return status_; -} - -void DescribeDisksRequest::setStatus(const std::string &status) { - status_ = status; - setParameter(std::string("Status"), status); -} - -std::string DescribeDisksRequest::getSnapshotId() const { - return snapshotId_; -} - -void DescribeDisksRequest::setSnapshotId(const std::string &snapshotId) { - snapshotId_ = snapshotId; - setParameter(std::string("SnapshotId"), snapshotId); -} - -int DescribeDisksRequest::getPageNumber() const { - return pageNumber_; -} - -void DescribeDisksRequest::setPageNumber(int pageNumber) { - pageNumber_ = pageNumber; - setParameter(std::string("PageNumber"), std::to_string(pageNumber)); -} - -std::string DescribeDisksRequest::getRegionId() const { - return regionId_; -} - -void DescribeDisksRequest::setRegionId(const std::string ®ionId) { - regionId_ = regionId; - setParameter(std::string("RegionId"), regionId); -} - -std::string DescribeDisksRequest::getNextToken() const { - return nextToken_; -} - -void DescribeDisksRequest::setNextToken(const std::string &nextToken) { - nextToken_ = nextToken; - setParameter(std::string("NextToken"), nextToken); -} - -int DescribeDisksRequest::getPageSize() const { - return pageSize_; -} - -void DescribeDisksRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); -} - -std::string DescribeDisksRequest::getDiskIds() const { - return diskIds_; -} - -void DescribeDisksRequest::setDiskIds(const std::string &diskIds) { - diskIds_ = diskIds; - setParameter(std::string("DiskIds"), diskIds); -} - -std::string DescribeDisksRequest::getMultiAttach() const { - return multiAttach_; -} - -void DescribeDisksRequest::setMultiAttach(const std::string &multiAttach) { - multiAttach_ = multiAttach; - setParameter(std::string("MultiAttach"), multiAttach); -} - -bool DescribeDisksRequest::getDeleteWithInstance() const { - return deleteWithInstance_; -} - -void DescribeDisksRequest::setDeleteWithInstance(bool deleteWithInstance) { - deleteWithInstance_ = deleteWithInstance; - setParameter(std::string("DeleteWithInstance"), deleteWithInstance ? "true" : "false"); -} - -std::string DescribeDisksRequest::getResourceOwnerAccount() const { - return resourceOwnerAccount_; -} - -void DescribeDisksRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); -} - -std::string DescribeDisksRequest::getOwnerAccount() const { - return ownerAccount_; -} - -void DescribeDisksRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); -} - -bool DescribeDisksRequest::getEnableAutomatedSnapshotPolicy() const { - return enableAutomatedSnapshotPolicy_; -} - -void DescribeDisksRequest::setEnableAutomatedSnapshotPolicy(bool enableAutomatedSnapshotPolicy) { - enableAutomatedSnapshotPolicy_ = enableAutomatedSnapshotPolicy; - setParameter(std::string("EnableAutomatedSnapshotPolicy"), enableAutomatedSnapshotPolicy ? "true" : "false"); -} - -std::string DescribeDisksRequest::getFilter2Key() const { - return filter2Key_; -} - -void DescribeDisksRequest::setFilter2Key(const std::string &filter2Key) { - filter2Key_ = filter2Key; - setParameter(std::string("Filter.2.Key"), filter2Key); -} - -std::string DescribeDisksRequest::getDiskType() const { - return diskType_; -} - -void DescribeDisksRequest::setDiskType(const std::string &diskType) { - diskType_ = diskType; - setParameter(std::string("DiskType"), diskType); -} - -bool DescribeDisksRequest::getEnableShared() const { - return enableShared_; -} - -void DescribeDisksRequest::setEnableShared(bool enableShared) { - enableShared_ = enableShared; - setParameter(std::string("EnableShared"), enableShared ? "true" : "false"); -} - -bool DescribeDisksRequest::getEncrypted() const { - return encrypted_; -} - -void DescribeDisksRequest::setEncrypted(bool encrypted) { - encrypted_ = encrypted; - setParameter(std::string("Encrypted"), encrypted ? "true" : "false"); -} - -std::string DescribeDisksRequest::getCategory() const { - return category_; -} - -void DescribeDisksRequest::setCategory(const std::string &category) { - category_ = category; - setParameter(std::string("Category"), category); -} - -std::string DescribeDisksRequest::getKMSKeyId() const { - return kMSKeyId_; -} - -void DescribeDisksRequest::setKMSKeyId(const std::string &kMSKeyId) { - kMSKeyId_ = kMSKeyId; - setParameter(std::string("KMSKeyId"), kMSKeyId); -} - diff --git a/lmztest/src/model/DescribeDisksResult.cc b/lmztest/src/model/DescribeDisksResult.cc deleted file mode 100644 index 91e068c64..000000000 --- a/lmztest/src/model/DescribeDisksResult.cc +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -DescribeDisksResult::DescribeDisksResult() : - ServiceResult() -{} - -DescribeDisksResult::DescribeDisksResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDisksResult::~DescribeDisksResult() -{} - -void DescribeDisksResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDisksNode = value["Disks"]["Disk"]; - for (auto valueDisksDisk : allDisksNode) - { - Disk disksObject; - if(!valueDisksDisk["Type"].isNull()) - disksObject.type = valueDisksDisk["Type"].asString(); - if(!valueDisksDisk["Status"].isNull()) - disksObject.status = valueDisksDisk["Status"].asString(); - if(!valueDisksDisk["CreationTime"].isNull()) - disksObject.creationTime = valueDisksDisk["CreationTime"].asString(); - if(!valueDisksDisk["SerialNumber"].isNull()) - disksObject.serialNumber = valueDisksDisk["SerialNumber"].asString(); - if(!valueDisksDisk["PerformanceLevel"].isNull()) - disksObject.performanceLevel = valueDisksDisk["PerformanceLevel"].asString(); - if(!valueDisksDisk["EnableAutoSnapshot"].isNull()) - disksObject.enableAutoSnapshot = valueDisksDisk["EnableAutoSnapshot"].asString() == "true"; - if(!valueDisksDisk["BdfId"].isNull()) - disksObject.bdfId = valueDisksDisk["BdfId"].asString(); - if(!valueDisksDisk["StorageSetId"].isNull()) - disksObject.storageSetId = valueDisksDisk["StorageSetId"].asString(); - if(!valueDisksDisk["DiskId"].isNull()) - disksObject.diskId = valueDisksDisk["DiskId"].asString(); - if(!valueDisksDisk["StorageSetPartitionNumber"].isNull()) - disksObject.storageSetPartitionNumber = std::stoi(valueDisksDisk["StorageSetPartitionNumber"].asString()); - if(!valueDisksDisk["MultiAttach"].isNull()) - disksObject.multiAttach = valueDisksDisk["MultiAttach"].asString(); - if(!valueDisksDisk["DeleteAutoSnapshot"].isNull()) - disksObject.deleteAutoSnapshot = valueDisksDisk["DeleteAutoSnapshot"].asString() == "true"; - if(!valueDisksDisk["Encrypted"].isNull()) - disksObject.encrypted = valueDisksDisk["Encrypted"].asString() == "true"; - if(!valueDisksDisk["DedicatedBlockStorageClusterId"].isNull()) - disksObject.dedicatedBlockStorageClusterId = valueDisksDisk["DedicatedBlockStorageClusterId"].asString(); - if(!valueDisksDisk["IOPSRead"].isNull()) - disksObject.iOPSRead = std::stoi(valueDisksDisk["IOPSRead"].asString()); - if(!valueDisksDisk["MountInstanceNum"].isNull()) - disksObject.mountInstanceNum = std::stoi(valueDisksDisk["MountInstanceNum"].asString()); - if(!valueDisksDisk["Description"].isNull()) - disksObject.description = valueDisksDisk["Description"].asString(); - if(!valueDisksDisk["Device"].isNull()) - disksObject.device = valueDisksDisk["Device"].asString(); - if(!valueDisksDisk["DiskName"].isNull()) - disksObject.diskName = valueDisksDisk["DiskName"].asString(); - if(!valueDisksDisk["Portable"].isNull()) - disksObject.portable = valueDisksDisk["Portable"].asString() == "true"; - if(!valueDisksDisk["ImageId"].isNull()) - disksObject.imageId = valueDisksDisk["ImageId"].asString(); - if(!valueDisksDisk["DeleteWithInstance"].isNull()) - disksObject.deleteWithInstance = valueDisksDisk["DeleteWithInstance"].asString() == "true"; - if(!valueDisksDisk["KMSKeyId"].isNull()) - disksObject.kMSKeyId = valueDisksDisk["KMSKeyId"].asString(); - if(!valueDisksDisk["DetachedTime"].isNull()) - disksObject.detachedTime = valueDisksDisk["DetachedTime"].asString(); - if(!valueDisksDisk["SourceSnapshotId"].isNull()) - disksObject.sourceSnapshotId = valueDisksDisk["SourceSnapshotId"].asString(); - if(!valueDisksDisk["AutoSnapshotPolicyId"].isNull()) - disksObject.autoSnapshotPolicyId = valueDisksDisk["AutoSnapshotPolicyId"].asString(); - if(!valueDisksDisk["EnableAutomatedSnapshotPolicy"].isNull()) - disksObject.enableAutomatedSnapshotPolicy = valueDisksDisk["EnableAutomatedSnapshotPolicy"].asString() == "true"; - if(!valueDisksDisk["IOPSWrite"].isNull()) - disksObject.iOPSWrite = std::stoi(valueDisksDisk["IOPSWrite"].asString()); - if(!valueDisksDisk["InstanceId"].isNull()) - disksObject.instanceId = valueDisksDisk["InstanceId"].asString(); - if(!valueDisksDisk["RegionId"].isNull()) - disksObject.regionId = valueDisksDisk["RegionId"].asString(); - if(!valueDisksDisk["IOPS"].isNull()) - disksObject.iOPS = std::stoi(valueDisksDisk["IOPS"].asString()); - if(!valueDisksDisk["ExpiredTime"].isNull()) - disksObject.expiredTime = valueDisksDisk["ExpiredTime"].asString(); - if(!valueDisksDisk["Size"].isNull()) - disksObject.size = std::stoi(valueDisksDisk["Size"].asString()); - if(!valueDisksDisk["ResourceGroupId"].isNull()) - disksObject.resourceGroupId = valueDisksDisk["ResourceGroupId"].asString(); - if(!valueDisksDisk["ZoneId"].isNull()) - disksObject.zoneId = valueDisksDisk["ZoneId"].asString(); - if(!valueDisksDisk["DiskChargeType"].isNull()) - disksObject.diskChargeType = valueDisksDisk["DiskChargeType"].asString(); - if(!valueDisksDisk["Category"].isNull()) - disksObject.category = valueDisksDisk["Category"].asString(); - if(!valueDisksDisk["AttachedTime"].isNull()) - disksObject.attachedTime = valueDisksDisk["AttachedTime"].asString(); - if(!valueDisksDisk["ProductCode"].isNull()) - disksObject.productCode = valueDisksDisk["ProductCode"].asString(); - auto allOperationLocksNode = valueDisksDisk["OperationLocks"]["OperationLock"]; - for (auto valueDisksDiskOperationLocksOperationLock : allOperationLocksNode) - { - Disk::OperationLock operationLocksObject; - if(!valueDisksDiskOperationLocksOperationLock["LockReason"].isNull()) - operationLocksObject.lockReason = valueDisksDiskOperationLocksOperationLock["LockReason"].asString(); - disksObject.operationLocks.push_back(operationLocksObject); - } - auto allMountInstancesNode = valueDisksDisk["MountInstances"]["MountInstance"]; - for (auto valueDisksDiskMountInstancesMountInstance : allMountInstancesNode) - { - Disk::MountInstance mountInstancesObject; - if(!valueDisksDiskMountInstancesMountInstance["AttachedTime"].isNull()) - mountInstancesObject.attachedTime = valueDisksDiskMountInstancesMountInstance["AttachedTime"].asString(); - if(!valueDisksDiskMountInstancesMountInstance["InstanceId"].isNull()) - mountInstancesObject.instanceId = valueDisksDiskMountInstancesMountInstance["InstanceId"].asString(); - if(!valueDisksDiskMountInstancesMountInstance["Device"].isNull()) - mountInstancesObject.device = valueDisksDiskMountInstancesMountInstance["Device"].asString(); - disksObject.mountInstances.push_back(mountInstancesObject); - } - auto allTagsNode = valueDisksDisk["Tags"]["Tag"]; - for (auto valueDisksDiskTagsTag : allTagsNode) - { - Disk::Tag tagsObject; - if(!valueDisksDiskTagsTag["TagKey"].isNull()) - tagsObject.tagKey = valueDisksDiskTagsTag["TagKey"].asString(); - if(!valueDisksDiskTagsTag["TagValue"].isNull()) - tagsObject.tagValue = valueDisksDiskTagsTag["TagValue"].asString(); - disksObject.tags.push_back(tagsObject); - } - auto allAttachmentsNode = valueDisksDisk["Attachments"]["Attachment"]; - for (auto valueDisksDiskAttachmentsAttachment : allAttachmentsNode) - { - Disk::Attachment attachmentsObject; - if(!valueDisksDiskAttachmentsAttachment["AttachedTime"].isNull()) - attachmentsObject.attachedTime = valueDisksDiskAttachmentsAttachment["AttachedTime"].asString(); - if(!valueDisksDiskAttachmentsAttachment["InstanceId"].isNull()) - attachmentsObject.instanceId = valueDisksDiskAttachmentsAttachment["InstanceId"].asString(); - if(!valueDisksDiskAttachmentsAttachment["Device"].isNull()) - attachmentsObject.device = valueDisksDiskAttachmentsAttachment["Device"].asString(); - disksObject.attachments.push_back(attachmentsObject); - } - disks_.push_back(disksObject); - } - if(!value["NextToken"].isNull()) - nextToken_ = value["NextToken"].asString(); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int DescribeDisksResult::getTotalCount()const -{ - return totalCount_; -} - -std::string DescribeDisksResult::getNextToken()const -{ - return nextToken_; -} - -int DescribeDisksResult::getPageSize()const -{ - return pageSize_; -} - -int DescribeDisksResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector DescribeDisksResult::getDisks()const -{ - return disks_; -} - diff --git a/lmztest/src/model/GetPackageStorageCredentialRequest.cc b/lmztest/src/model/GetPackageStorageCredentialRequest.cc deleted file mode 100644 index 09316361c..000000000 --- a/lmztest/src/model/GetPackageStorageCredentialRequest.cc +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::GetPackageStorageCredentialRequest; - -GetPackageStorageCredentialRequest::GetPackageStorageCredentialRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "GetPackageStorageCredential") { - setMethod(HttpRequest::Method::Get); -} - -GetPackageStorageCredentialRequest::~GetPackageStorageCredentialRequest() {} - diff --git a/lmztest/src/model/GetPackageStorageCredentialResult.cc b/lmztest/src/model/GetPackageStorageCredentialResult.cc deleted file mode 100644 index bfe6d9838..000000000 --- a/lmztest/src/model/GetPackageStorageCredentialResult.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -GetPackageStorageCredentialResult::GetPackageStorageCredentialResult() : - ServiceResult() -{} - -GetPackageStorageCredentialResult::GetPackageStorageCredentialResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetPackageStorageCredentialResult::~GetPackageStorageCredentialResult() -{} - -void GetPackageStorageCredentialResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto credentialNode = value["Credential"]; - if(!credentialNode["KeyPrefix"].isNull()) - credential_.keyPrefix = credentialNode["KeyPrefix"].asString(); - if(!credentialNode["SecurityToken"].isNull()) - credential_.securityToken = credentialNode["SecurityToken"].asString(); - if(!credentialNode["AccessKeySecret"].isNull()) - credential_.accessKeySecret = credentialNode["AccessKeySecret"].asString(); - if(!credentialNode["Expiration"].isNull()) - credential_.expiration = credentialNode["Expiration"].asString(); - if(!credentialNode["AccessKeyId"].isNull()) - credential_.accessKeyId = credentialNode["AccessKeyId"].asString(); - if(!credentialNode["Bucket"].isNull()) - credential_.bucket = credentialNode["Bucket"].asString(); - if(!credentialNode["RegionId"].isNull()) - credential_.regionId = credentialNode["RegionId"].asString(); - if(!credentialNode["OssPublicEndpoint"].isNull()) - credential_.ossPublicEndpoint = credentialNode["OssPublicEndpoint"].asString(); - if(!credentialNode["OssInternalEndpoint"].isNull()) - credential_.ossInternalEndpoint = credentialNode["OssInternalEndpoint"].asString(); - if(!credentialNode["OssVpcEndpoint"].isNull()) - credential_.ossVpcEndpoint = credentialNode["OssVpcEndpoint"].asString(); - if(!value["Code"].isNull()) - code_ = std::stoi(value["Code"].asString()); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - -} - -GetPackageStorageCredentialResult::Credential GetPackageStorageCredentialResult::getCredential()const -{ - return credential_; -} - -std::string GetPackageStorageCredentialResult::getMessage()const -{ - return message_; -} - -int GetPackageStorageCredentialResult::getCode()const -{ - return code_; -} - diff --git a/lmztest/src/model/GrayReleaseDemoRequest.cc b/lmztest/src/model/GrayReleaseDemoRequest.cc deleted file mode 100644 index 0ddf8b22e..000000000 --- a/lmztest/src/model/GrayReleaseDemoRequest.cc +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::GrayReleaseDemoRequest; - -GrayReleaseDemoRequest::GrayReleaseDemoRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "GrayReleaseDemo") { - setMethod(HttpRequest::Method::Post); -} - -GrayReleaseDemoRequest::~GrayReleaseDemoRequest() {} - -std::string GrayReleaseDemoRequest::getId() const { - return id_; -} - -void GrayReleaseDemoRequest::setId(const std::string &id) { - id_ = id; - setParameter(std::string("Id"), id); -} - diff --git a/lmztest/src/model/GrayReleaseDemoResult.cc b/lmztest/src/model/GrayReleaseDemoResult.cc deleted file mode 100644 index 3813bffbb..000000000 --- a/lmztest/src/model/GrayReleaseDemoResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -GrayReleaseDemoResult::GrayReleaseDemoResult() : - ServiceResult() -{} - -GrayReleaseDemoResult::GrayReleaseDemoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GrayReleaseDemoResult::~GrayReleaseDemoResult() -{} - -void GrayReleaseDemoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Year"].isNull()) - year_ = value["Year"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - -} - -std::string GrayReleaseDemoResult::getYear()const -{ - return year_; -} - -std::string GrayReleaseDemoResult::getCode()const -{ - return code_; -} - diff --git a/lmztest/src/model/ListProductsByPopCodeRequest.cc b/lmztest/src/model/ListProductsByPopCodeRequest.cc deleted file mode 100644 index 05e04f226..000000000 --- a/lmztest/src/model/ListProductsByPopCodeRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::ListProductsByPopCodeRequest; - -ListProductsByPopCodeRequest::ListProductsByPopCodeRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "ListProductsByPopCode") { - setMethod(HttpRequest::Method::Post); -} - -ListProductsByPopCodeRequest::~ListProductsByPopCodeRequest() {} - -std::string ListProductsByPopCodeRequest::getAuthKey() const { - return authKey_; -} - -void ListProductsByPopCodeRequest::setAuthKey(const std::string &authKey) { - authKey_ = authKey; - setParameter(std::string("AuthKey"), authKey); -} - -std::string ListProductsByPopCodeRequest::getExtraParams() const { - return extraParams_; -} - -void ListProductsByPopCodeRequest::setExtraParams(const std::string &extraParams) { - extraParams_ = extraParams; - setBodyParameter(std::string("ExtraParams"), extraParams); -} - -std::string ListProductsByPopCodeRequest::getServerClientIp() const { - return serverClientIp_; -} - -void ListProductsByPopCodeRequest::setServerClientIp(const std::string &serverClientIp) { - serverClientIp_ = serverClientIp; - setParameter(std::string("ServerClientIp"), serverClientIp); -} - -std::string ListProductsByPopCodeRequest::getRequestId() const { - return requestId_; -} - -void ListProductsByPopCodeRequest::setRequestId(const std::string &requestId) { - requestId_ = requestId; - setParameter(std::string("RequestId"), requestId); -} - -std::string ListProductsByPopCodeRequest::getClientIp() const { - return clientIp_; -} - -void ListProductsByPopCodeRequest::setClientIp(const std::string &clientIp) { - clientIp_ = clientIp; - setParameter(std::string("ClientIp"), clientIp); -} - -std::string ListProductsByPopCodeRequest::getIdentityDTO() const { - return identityDTO_; -} - -void ListProductsByPopCodeRequest::setIdentityDTO(const std::string &identityDTO) { - identityDTO_ = identityDTO; - setBodyParameter(std::string("IdentityDTO"), identityDTO); -} - -std::string ListProductsByPopCodeRequest::getEnv() const { - return env_; -} - -void ListProductsByPopCodeRequest::setEnv(const std::string &env) { - env_ = env; - setParameter(std::string("Env"), env); -} - -std::string ListProductsByPopCodeRequest::getPopCode() const { - return popCode_; -} - -void ListProductsByPopCodeRequest::setPopCode(const std::string &popCode) { - popCode_ = popCode; - setParameter(std::string("PopCode"), popCode); -} - diff --git a/lmztest/src/model/ListProductsByPopCodeResult.cc b/lmztest/src/model/ListProductsByPopCodeResult.cc deleted file mode 100644 index 10beadd5e..000000000 --- a/lmztest/src/model/ListProductsByPopCodeResult.cc +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -ListProductsByPopCodeResult::ListProductsByPopCodeResult() : - ServiceResult() -{} - -ListProductsByPopCodeResult::ListProductsByPopCodeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListProductsByPopCodeResult::~ListProductsByPopCodeResult() -{} - -void ListProductsByPopCodeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allResultNode = value["Result"]["ResultItem"]; - for (auto valueResultResultItem : allResultNode) - { - ResultItem resultObject; - auto uniqueKeyDTONode = value["UniqueKeyDTO"]; - if(!uniqueKeyDTONode["NamespaceCode"].isNull()) - resultObject.uniqueKeyDTO.namespaceCode = uniqueKeyDTONode["NamespaceCode"].asString(); - auto nameSpaceExtDTONode = value["NameSpaceExtDTO"]; - auto allBusinessOwnerListNode = nameSpaceExtDTONode["BusinessOwnerList"]["BusinessOwnerListItem"]; - for (auto nameSpaceExtDTONodeBusinessOwnerListBusinessOwnerListItem : allBusinessOwnerListNode) - { - ResultItem::NameSpaceExtDTO::BusinessOwnerListItem businessOwnerListItemObject; - if(!nameSpaceExtDTONodeBusinessOwnerListBusinessOwnerListItem["BucId"].isNull()) - businessOwnerListItemObject.bucId = nameSpaceExtDTONodeBusinessOwnerListBusinessOwnerListItem["BucId"].asString(); - if(!nameSpaceExtDTONodeBusinessOwnerListBusinessOwnerListItem["Name"].isNull()) - businessOwnerListItemObject.name = nameSpaceExtDTONodeBusinessOwnerListBusinessOwnerListItem["Name"].asString(); - if(!nameSpaceExtDTONodeBusinessOwnerListBusinessOwnerListItem["Id"].isNull()) - businessOwnerListItemObject.id = nameSpaceExtDTONodeBusinessOwnerListBusinessOwnerListItem["Id"].asString(); - resultObject.nameSpaceExtDTO.businessOwnerList.push_back(businessOwnerListItemObject); - } - auto allTechniqueOwnerListNode = nameSpaceExtDTONode["TechniqueOwnerList"]["TechniqueOwnerListItem"]; - for (auto nameSpaceExtDTONodeTechniqueOwnerListTechniqueOwnerListItem : allTechniqueOwnerListNode) - { - ResultItem::NameSpaceExtDTO::TechniqueOwnerListItem techniqueOwnerListItemObject; - if(!nameSpaceExtDTONodeTechniqueOwnerListTechniqueOwnerListItem["BucId"].isNull()) - techniqueOwnerListItemObject.bucId = nameSpaceExtDTONodeTechniqueOwnerListTechniqueOwnerListItem["BucId"].asString(); - if(!nameSpaceExtDTONodeTechniqueOwnerListTechniqueOwnerListItem["Name"].isNull()) - techniqueOwnerListItemObject.name = nameSpaceExtDTONodeTechniqueOwnerListTechniqueOwnerListItem["Name"].asString(); - if(!nameSpaceExtDTONodeTechniqueOwnerListTechniqueOwnerListItem["Id"].isNull()) - techniqueOwnerListItemObject.id = nameSpaceExtDTONodeTechniqueOwnerListTechniqueOwnerListItem["Id"].asString(); - resultObject.nameSpaceExtDTO.techniqueOwnerList.push_back(techniqueOwnerListItemObject); - } - result_.push_back(resultObject); - } - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["TraceId"].isNull()) - traceId_ = value["TraceId"].asString(); - if(!value["ErrorDetailMessage"].isNull()) - errorDetailMessage_ = value["ErrorDetailMessage"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - -} - -std::string ListProductsByPopCodeResult::getErrorDetailMessage()const -{ - return errorDetailMessage_; -} - -std::string ListProductsByPopCodeResult::getTraceId()const -{ - return traceId_; -} - -std::string ListProductsByPopCodeResult::getErrorCode()const -{ - return errorCode_; -} - -std::string ListProductsByPopCodeResult::getErrorMessage()const -{ - return errorMessage_; -} - -bool ListProductsByPopCodeResult::getSuccess()const -{ - return success_; -} - -std::vector ListProductsByPopCodeResult::getResult()const -{ - return result_; -} - diff --git a/lmztest/src/model/LjxTestRequest.cc b/lmztest/src/model/LjxTestRequest.cc deleted file mode 100644 index 12edf8576..000000000 --- a/lmztest/src/model/LjxTestRequest.cc +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::LjxTestRequest; - -LjxTestRequest::LjxTestRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "LjxTest") { - setMethod(HttpRequest::Method::Post); -} - -LjxTestRequest::~LjxTestRequest() {} - -std::string LjxTestRequest::getNewparam2() const { - return newparam2_; -} - -void LjxTestRequest::setNewparam2(const std::string &newparam2) { - newparam2_ = newparam2; - setParameter(std::string("new-param-2"), newparam2); -} - -std::vector LjxTestRequest::getNewparam1() const { - return newparam1_; -} - -void LjxTestRequest::setNewparam1(const std::vector &newparam1) { - newparam1_ = newparam1; - for(int dep1 = 0; dep1 != newparam1.size(); dep1++) { - setParameter(std::string("new-param-1") + "." + std::to_string(dep1 + 1), newparam1[dep1]); - } -} - -std::map LjxTestRequest::getCode() const { - return code_; -} - -void LjxTestRequest::setCode(const std::map &code) { - code_ = code; - for(auto const &iter1 : code) { - setParameter(std::string("code") + "." + iter1.first, iter1.second); - } -} - -std::string LjxTestRequest::getId() const { - return id_; -} - -void LjxTestRequest::setId(const std::string &id) { - id_ = id; - setParameter(std::string("id"), id); -} - -std::string LjxTestRequest::getBody() const { - return body_; -} - -void LjxTestRequest::setBody(const std::string &body) { - body_ = body; - setHeader(std::string("body"), body); -} - diff --git a/lmztest/src/model/LjxTestResult.cc b/lmztest/src/model/LjxTestResult.cc deleted file mode 100644 index c6c9a253b..000000000 --- a/lmztest/src/model/LjxTestResult.cc +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -LjxTestResult::LjxTestResult() : - ServiceResult() -{} - -LjxTestResult::LjxTestResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -LjxTestResult::~LjxTestResult() -{} - -void LjxTestResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allMapsNode = value["Maps"]["mapsItem"]; - for (auto valueMapsmapsItem : allMapsNode) - { - MapsItem mapsObject; - if(!valueMapsmapsItem["Param0"].isNull()) - mapsObject.param0 = valueMapsmapsItem["Param0"].asString(); - maps_.push_back(mapsObject); - } - auto testtestNode = value["testtest"]; - if(!testtestNode["id"].isNull()) - testtest_.id = testtestNode["id"].asString(); - auto allStringList = value["StringList"]["stringList"]; - for (const auto &item : allStringList) - stringList_.push_back(item.asString()); - auto allLongList = value["LongList"]["longList"]; - for (const auto &item : allLongList) - longList_.push_back(item.asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["Code"].isNull()) - code_ = std::stoi(value["Code"].asString()); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - -} - -std::vector LjxTestResult::getMaps()const -{ - return maps_; -} - -std::vector LjxTestResult::getStringList()const -{ - return stringList_; -} - -LjxTestResult::Testtest LjxTestResult::getTesttest()const -{ - return testtest_; -} - -std::vector LjxTestResult::getLongList()const -{ - return longList_; -} - -std::string LjxTestResult::getId()const -{ - return id_; -} - -int LjxTestResult::getCode()const -{ - return code_; -} - -std::string LjxTestResult::getName()const -{ - return name_; -} - diff --git a/lmztest/src/model/ReqBeanTestRequest.cc b/lmztest/src/model/ReqBeanTestRequest.cc deleted file mode 100644 index 2dbf3281a..000000000 --- a/lmztest/src/model/ReqBeanTestRequest.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::ReqBeanTestRequest; - -ReqBeanTestRequest::ReqBeanTestRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "ReqBeanTest") { - setMethod(HttpRequest::Method::Post); -} - -ReqBeanTestRequest::~ReqBeanTestRequest() {} - -std::vector ReqBeanTestRequest::getCodes() const { - return codes_; -} - -void ReqBeanTestRequest::setCodes(const std::vector &codes) { - codes_ = codes; - for(int dep1 = 0; dep1 != codes.size(); dep1++) { - setParameter(std::string("codes") + "." + std::to_string(dep1 + 1), codes[dep1]); - } -} - -std::string ReqBeanTestRequest::getXhostheadertest() const { - return xhostheadertest_; -} - -void ReqBeanTestRequest::setXhostheadertest(const std::string &xhostheadertest) { - xhostheadertest_ = xhostheadertest; - setHeader(std::string("x-host-header-test"), xhostheadertest); -} - -std::string ReqBeanTestRequest::getId() const { - return id_; -} - -void ReqBeanTestRequest::setId(const std::string &id) { - id_ = id; - setParameter(std::string("Id"), id); -} - -std::vector ReqBeanTestRequest::getNums() const { - return nums_; -} - -void ReqBeanTestRequest::setNums(const std::vector &nums) { - nums_ = nums; - for(int dep1 = 0; dep1 != nums.size(); dep1++) { - setParameter(std::string("nums") + "." + std::to_string(dep1 + 1), std::to_string(nums[dep1])); - } -} - -std::vector ReqBeanTestRequest::getUsers() const { - return users_; -} - -void ReqBeanTestRequest::setUsers(const std::vector &users) { - users_ = users; - for(int dep1 = 0; dep1 != users.size(); dep1++) { - setParameter(std::string("users") + "." + std::to_string(dep1 + 1) + ".name", users[dep1].name); - setParameter(std::string("users") + "." + std::to_string(dep1 + 1) + ".id", users[dep1].id); - } -} - diff --git a/lmztest/src/model/ReqBeanTestResult.cc b/lmztest/src/model/ReqBeanTestResult.cc deleted file mode 100644 index b918416c8..000000000 --- a/lmztest/src/model/ReqBeanTestResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -ReqBeanTestResult::ReqBeanTestResult() : - ServiceResult() -{} - -ReqBeanTestResult::ReqBeanTestResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReqBeanTestResult::~ReqBeanTestResult() -{} - -void ReqBeanTestResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - -} - -std::string ReqBeanTestResult::getId()const -{ - return id_; -} - -std::string ReqBeanTestResult::getName()const -{ - return name_; -} - diff --git a/lmztest/src/model/RomeGetExecutionResultRequest.cc b/lmztest/src/model/RomeGetExecutionResultRequest.cc deleted file mode 100644 index a1d6be9e1..000000000 --- a/lmztest/src/model/RomeGetExecutionResultRequest.cc +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::RomeGetExecutionResultRequest; - -RomeGetExecutionResultRequest::RomeGetExecutionResultRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "RomeGetExecutionResult") { - setMethod(HttpRequest::Method::Get); -} - -RomeGetExecutionResultRequest::~RomeGetExecutionResultRequest() {} - -std::string RomeGetExecutionResultRequest::getFlowRequestId() const { - return flowRequestId_; -} - -void RomeGetExecutionResultRequest::setFlowRequestId(const std::string &flowRequestId) { - flowRequestId_ = flowRequestId; - setParameter(std::string("FlowRequestId"), flowRequestId); -} - diff --git a/lmztest/src/model/RomeGetExecutionResultResult.cc b/lmztest/src/model/RomeGetExecutionResultResult.cc deleted file mode 100644 index e93693224..000000000 --- a/lmztest/src/model/RomeGetExecutionResultResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -RomeGetExecutionResultResult::RomeGetExecutionResultResult() : - ServiceResult() -{} - -RomeGetExecutionResultResult::RomeGetExecutionResultResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RomeGetExecutionResultResult::~RomeGetExecutionResultResult() -{} - -void RomeGetExecutionResultResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/lmztest/src/model/RpcHttpRequest.cc b/lmztest/src/model/RpcHttpRequest.cc deleted file mode 100644 index 80f994d9d..000000000 --- a/lmztest/src/model/RpcHttpRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::RpcHttpRequest; - -RpcHttpRequest::RpcHttpRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "RpcHttp") { - setMethod(HttpRequest::Method::Post); -} - -RpcHttpRequest::~RpcHttpRequest() {} - -std::string RpcHttpRequest::getNews() const { - return news_; -} - -void RpcHttpRequest::setNews(const std::string &news) { - news_ = news; - setParameter(std::string("News"), news); -} - -std::string RpcHttpRequest::getCodes() const { - return codes_; -} - -void RpcHttpRequest::setCodes(const std::string &codes) { - codes_ = codes; - setParameter(std::string("Codes"), codes); -} - -std::string RpcHttpRequest::getNumber() const { - return number_; -} - -void RpcHttpRequest::setNumber(const std::string &number) { - number_ = number; - setParameter(std::string("Number"), number); -} - -std::string RpcHttpRequest::getMonkey() const { - return monkey_; -} - -void RpcHttpRequest::setMonkey(const std::string &monkey) { - monkey_ = monkey; - setParameter(std::string("Monkey"), monkey); -} - -std::string RpcHttpRequest::getWorld() const { - return world_; -} - -void RpcHttpRequest::setWorld(const std::string &world) { - world_ = world; - setParameter(std::string("World"), world); -} - -std::string RpcHttpRequest::getParam() const { - return param_; -} - -void RpcHttpRequest::setParam(const std::string ¶m) { - param_ = param; - setParameter(std::string("Param"), param); -} - -std::string RpcHttpRequest::getOld() const { - return old_; -} - -void RpcHttpRequest::setOld(const std::string &old) { - old_ = old; - setParameter(std::string("Old"), old); -} - -std::string RpcHttpRequest::getName() const { - return name_; -} - -void RpcHttpRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); -} - -std::string RpcHttpRequest::getId() const { - return id_; -} - -void RpcHttpRequest::setId(const std::string &id) { - id_ = id; - setParameter(std::string("Id"), id); -} - -std::string RpcHttpRequest::getNone() const { - return none_; -} - -void RpcHttpRequest::setNone(const std::string &none) { - none_ = none; - setParameter(std::string("None"), none); -} - diff --git a/lmztest/src/model/RpcHttpResult.cc b/lmztest/src/model/RpcHttpResult.cc deleted file mode 100644 index 26a147d43..000000000 --- a/lmztest/src/model/RpcHttpResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -RpcHttpResult::RpcHttpResult() : - ServiceResult() -{} - -RpcHttpResult::RpcHttpResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RpcHttpResult::~RpcHttpResult() -{} - -void RpcHttpResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - -} - -std::string RpcHttpResult::getId()const -{ - return id_; -} - -std::string RpcHttpResult::getName()const -{ - return name_; -} - diff --git a/lmztest/src/model/TestPutApiAndGetApiRequest.cc b/lmztest/src/model/TestPutApiAndGetApiRequest.cc deleted file mode 100644 index 6605ec57c..000000000 --- a/lmztest/src/model/TestPutApiAndGetApiRequest.cc +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::TestPutApiAndGetApiRequest; - -TestPutApiAndGetApiRequest::TestPutApiAndGetApiRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "TestPutApiAndGetApi") { - setMethod(HttpRequest::Method::Post); -} - -TestPutApiAndGetApiRequest::~TestPutApiAndGetApiRequest() {} - diff --git a/lmztest/src/model/TestPutApiAndGetApiResult.cc b/lmztest/src/model/TestPutApiAndGetApiResult.cc deleted file mode 100644 index 4f7eb3b18..000000000 --- a/lmztest/src/model/TestPutApiAndGetApiResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -TestPutApiAndGetApiResult::TestPutApiAndGetApiResult() : - ServiceResult() -{} - -TestPutApiAndGetApiResult::TestPutApiAndGetApiResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -TestPutApiAndGetApiResult::~TestPutApiAndGetApiResult() -{} - -void TestPutApiAndGetApiResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/lmztest/src/model/UpdateListenerRequest.cc b/lmztest/src/model/UpdateListenerRequest.cc deleted file mode 100644 index 36cecc631..000000000 --- a/lmztest/src/model/UpdateListenerRequest.cc +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest::Model::UpdateListenerRequest; - -UpdateListenerRequest::UpdateListenerRequest() - : RpcServiceRequest("lmztest", "2010-10-11", "UpdateListener") { - setMethod(HttpRequest::Method::Post); -} - -UpdateListenerRequest::~UpdateListenerRequest() {} - -std::string UpdateListenerRequest::getClientToken() const { - return clientToken_; -} - -void UpdateListenerRequest::setClientToken(const std::string &clientToken) { - clientToken_ = clientToken; - setParameter(std::string("ClientToken"), clientToken); -} - -std::string UpdateListenerRequest::getDescription() const { - return description_; -} - -void UpdateListenerRequest::setDescription(const std::string &description) { - description_ = description; - setParameter(std::string("Description"), description); -} - -std::vector UpdateListenerRequest::getBackendPorts() const { - return backendPorts_; -} - -void UpdateListenerRequest::setBackendPorts(const std::vector &backendPorts) { - backendPorts_ = backendPorts; - for(int dep1 = 0; dep1 != backendPorts.size(); dep1++) { - auto backendPortsObj = backendPorts.at(dep1); - std::string backendPortsObjStr = std::string("BackendPorts") + "." + std::to_string(dep1 + 1); - setParameter(backendPortsObjStr + ".FromPort", std::to_string(backendPortsObj.fromPort)); - setParameter(backendPortsObjStr + ".ToPort", std::to_string(backendPortsObj.toPort)); - } -} - -std::string UpdateListenerRequest::getListenerId() const { - return listenerId_; -} - -void UpdateListenerRequest::setListenerId(const std::string &listenerId) { - listenerId_ = listenerId; - setParameter(std::string("ListenerId"), listenerId); -} - -std::string UpdateListenerRequest::getProtocol() const { - return protocol_; -} - -void UpdateListenerRequest::setProtocol(const std::string &protocol) { - protocol_ = protocol; - setParameter(std::string("Protocol"), protocol); -} - -std::string UpdateListenerRequest::getRegionId() const { - return regionId_; -} - -void UpdateListenerRequest::setRegionId(const std::string ®ionId) { - regionId_ = regionId; - setParameter(std::string("RegionId"), regionId); -} - -std::string UpdateListenerRequest::getProxyProtocol() const { - return proxyProtocol_; -} - -void UpdateListenerRequest::setProxyProtocol(const std::string &proxyProtocol) { - proxyProtocol_ = proxyProtocol; - setParameter(std::string("ProxyProtocol"), proxyProtocol); -} - -std::vector UpdateListenerRequest::getPortRanges() const { - return portRanges_; -} - -void UpdateListenerRequest::setPortRanges(const std::vector &portRanges) { - portRanges_ = portRanges; - for(int dep1 = 0; dep1 != portRanges.size(); dep1++) { - auto portRangesObj = portRanges.at(dep1); - std::string portRangesObjStr = std::string("PortRanges") + "." + std::to_string(dep1 + 1); - setParameter(portRangesObjStr + ".FromPort", std::to_string(portRangesObj.fromPort)); - setParameter(portRangesObjStr + ".ToPort", std::to_string(portRangesObj.toPort)); - } -} - -std::vector UpdateListenerRequest::getCertificates() const { - return certificates_; -} - -void UpdateListenerRequest::setCertificates(const std::vector &certificates) { - certificates_ = certificates; - for(int dep1 = 0; dep1 != certificates.size(); dep1++) { - auto certificatesObj = certificates.at(dep1); - std::string certificatesObjStr = std::string("Certificates") + "." + std::to_string(dep1 + 1); - setParameter(certificatesObjStr + ".Id", certificatesObj.id); - } -} - -std::string UpdateListenerRequest::getName() const { - return name_; -} - -void UpdateListenerRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); -} - -std::string UpdateListenerRequest::getClientAffinity() const { - return clientAffinity_; -} - -void UpdateListenerRequest::setClientAffinity(const std::string &clientAffinity) { - clientAffinity_ = clientAffinity; - setParameter(std::string("ClientAffinity"), clientAffinity); -} - diff --git a/lmztest/src/model/UpdateListenerResult.cc b/lmztest/src/model/UpdateListenerResult.cc deleted file mode 100644 index 2c036cd2d..000000000 --- a/lmztest/src/model/UpdateListenerResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::LmzTest; -using namespace AlibabaCloud::LmzTest::Model; - -UpdateListenerResult::UpdateListenerResult() : - ServiceResult() -{} - -UpdateListenerResult::UpdateListenerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateListenerResult::~UpdateListenerResult() -{} - -void UpdateListenerResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} -