diff --git a/CHANGELOG b/CHANGELOG index ffe7f7266..df7cdebf7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2022-06-21 Version: 1.36.1155 +- Automatically generate sdk tasks. + 2022-06-21 Version: 1.36.1154 - Generated 2016-11-01 for `live`. diff --git a/VERSION b/VERSION index fb1758a72..e1b443ab6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1154 \ No newline at end of file +1.36.1155 \ No newline at end of file diff --git a/amptest/CMakeLists.txt b/amptest/CMakeLists.txt new file mode 100644 index 000000000..626d0d502 --- /dev/null +++ b/amptest/CMakeLists.txt @@ -0,0 +1,134 @@ +# +# Copyright 2009-2017 Alibaba Cloud All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +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 new file mode 100644 index 000000000..51248b4c6 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/AmpTestClient.h @@ -0,0 +1,150 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 new file mode 100644 index 000000000..1899fd2da --- /dev/null +++ b/amptest/include/alibabacloud/amptest/AmpTestExport.h @@ -0,0 +1,32 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..6e76b47ff --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/CreateRulesRequest.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..852cc2ad3 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/CreateRulesResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..449358fb2 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayEightRequest.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..7ce589c15 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayEightResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..05325b4c2 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayFifthRequest.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..72d16481d --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayFifthResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..2a1b9ed43 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayNineRequest.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..7cf84ba33 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayNineResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..a76c7b2ee --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayRequest.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..72f3910ce --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..0b5590943 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGraySecondRequest.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..f9526234e --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGraySecondResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..2c6fe87af --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGraySevenRequest.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..c905d9501 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGraySevenResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..6522f3257 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGraySixRequest.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..3cecdb65a --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGraySixResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..c7523b6a9 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayTenRequest.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..384262224 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayTenResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..2f5d69e1d --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayThirdRequest.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..b7d4ca057 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestGrayThirdResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..5b0335a45 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestResourceOwnerIdRequest.h @@ -0,0 +1,39 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 new file mode 100644 index 000000000..23d7abe42 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengTestResourceOwnerIdResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..80616d817 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengetRequest.h @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..7b50e040d --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengetResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..927e0a075 --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengetestRequest.h @@ -0,0 +1,39 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 new file mode 100644 index 000000000..f3f3716cf --- /dev/null +++ b/amptest/include/alibabacloud/amptest/model/HuichengetestResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_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 new file mode 100644 index 000000000..2f143e9c0 --- /dev/null +++ b/amptest/src/AmpTestClient.cc @@ -0,0 +1,521 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 new file mode 100644 index 000000000..e820877ab --- /dev/null +++ b/amptest/src/model/CreateRulesRequest.cc @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..2d5939540 --- /dev/null +++ b/amptest/src/model/CreateRulesResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..91bd82257 --- /dev/null +++ b/amptest/src/model/HuichengTestGrayEightRequest.cc @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..3bee13a4f --- /dev/null +++ b/amptest/src/model/HuichengTestGrayEightResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..d220975bd --- /dev/null +++ b/amptest/src/model/HuichengTestGrayFifthRequest.cc @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..76b8f62ae --- /dev/null +++ b/amptest/src/model/HuichengTestGrayFifthResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..a059f9471 --- /dev/null +++ b/amptest/src/model/HuichengTestGrayNineRequest.cc @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..cf0c84e08 --- /dev/null +++ b/amptest/src/model/HuichengTestGrayNineResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..edec99ce0 --- /dev/null +++ b/amptest/src/model/HuichengTestGrayRequest.cc @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..f0f714241 --- /dev/null +++ b/amptest/src/model/HuichengTestGrayResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..72028c0e5 --- /dev/null +++ b/amptest/src/model/HuichengTestGraySecondRequest.cc @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..d4dc50d6d --- /dev/null +++ b/amptest/src/model/HuichengTestGraySecondResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..a32dd307b --- /dev/null +++ b/amptest/src/model/HuichengTestGraySevenRequest.cc @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..1778d92fe --- /dev/null +++ b/amptest/src/model/HuichengTestGraySevenResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..7fced484f --- /dev/null +++ b/amptest/src/model/HuichengTestGraySixRequest.cc @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..ded956e14 --- /dev/null +++ b/amptest/src/model/HuichengTestGraySixResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..9fc4d1c3d --- /dev/null +++ b/amptest/src/model/HuichengTestGrayTenRequest.cc @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..4a5137c03 --- /dev/null +++ b/amptest/src/model/HuichengTestGrayTenResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..004b0ab40 --- /dev/null +++ b/amptest/src/model/HuichengTestGrayThirdRequest.cc @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..01600bd4d --- /dev/null +++ b/amptest/src/model/HuichengTestGrayThirdResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..7a7bd5e3e --- /dev/null +++ b/amptest/src/model/HuichengTestResourceOwnerIdRequest.cc @@ -0,0 +1,27 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 new file mode 100644 index 000000000..d2f7f5cfc --- /dev/null +++ b/amptest/src/model/HuichengTestResourceOwnerIdResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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 new file mode 100644 index 000000000..36a2175b0 --- /dev/null +++ b/amptest/src/model/HuichengetRequest.cc @@ -0,0 +1,189 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 new file mode 100644 index 000000000..3e2f29b04 --- /dev/null +++ b/amptest/src/model/HuichengetResult.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 new file mode 100644 index 000000000..91e877cf3 --- /dev/null +++ b/amptest/src/model/HuichengetestRequest.cc @@ -0,0 +1,27 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 new file mode 100644 index 000000000..32af1a5f3 --- /dev/null +++ b/amptest/src/model/HuichengetestResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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()); + +} +