diff --git a/CHANGELOG b/CHANGELOG index b63d496e7..b4373f51c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-07-30 Version: 1.36.544 +- Generated 2020-06-29 for `alinlp`. + 2020-07-29 Version: 1.36.543 - Add CreateGetDBListFromAgentTask. - Add GetDBListFromAgent. diff --git a/VERSION b/VERSION index 97bcd2065..6d1150203 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.543 \ No newline at end of file +1.36.544 \ No newline at end of file diff --git a/alinlp/CMakeLists.txt b/alinlp/CMakeLists.txt new file mode 100644 index 000000000..07e59f898 --- /dev/null +++ b/alinlp/CMakeLists.txt @@ -0,0 +1,122 @@ +# +# Copyright 2009-2017 Alibaba Cloud All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) + +set(alinlp_public_header + include/alibabacloud/alinlp/AlinlpClient.h + include/alibabacloud/alinlp/AlinlpExport.h ) + +set(alinlp_public_header_model + include/alibabacloud/alinlp/model/GetDpChEcomRequest.h + include/alibabacloud/alinlp/model/GetDpChEcomResult.h + include/alibabacloud/alinlp/model/GetEcChGeneralRequest.h + include/alibabacloud/alinlp/model/GetEcChGeneralResult.h + include/alibabacloud/alinlp/model/GetNerChMedicalRequest.h + include/alibabacloud/alinlp/model/GetNerChMedicalResult.h + include/alibabacloud/alinlp/model/GetNerCustomizedChEcomRequest.h + include/alibabacloud/alinlp/model/GetNerCustomizedChEcomResult.h + include/alibabacloud/alinlp/model/GetPosChEcomRequest.h + include/alibabacloud/alinlp/model/GetPosChEcomResult.h + include/alibabacloud/alinlp/model/GetSummaryChEcomRequest.h + include/alibabacloud/alinlp/model/GetSummaryChEcomResult.h + include/alibabacloud/alinlp/model/GetTsChEcomRequest.h + include/alibabacloud/alinlp/model/GetTsChEcomResult.h + include/alibabacloud/alinlp/model/GetWeChEcomRequest.h + include/alibabacloud/alinlp/model/GetWeChEcomResult.h + include/alibabacloud/alinlp/model/GetWsCustomizedChGeneralRequest.h + include/alibabacloud/alinlp/model/GetWsCustomizedChGeneralResult.h + include/alibabacloud/alinlp/model/GetWsCustomizedSeaGeneralRequest.h + include/alibabacloud/alinlp/model/GetWsCustomizedSeaGeneralResult.h ) + +set(alinlp_src + src/AlinlpClient.cc + src/model/GetDpChEcomRequest.cc + src/model/GetDpChEcomResult.cc + src/model/GetEcChGeneralRequest.cc + src/model/GetEcChGeneralResult.cc + src/model/GetNerChMedicalRequest.cc + src/model/GetNerChMedicalResult.cc + src/model/GetNerCustomizedChEcomRequest.cc + src/model/GetNerCustomizedChEcomResult.cc + src/model/GetPosChEcomRequest.cc + src/model/GetPosChEcomResult.cc + src/model/GetSummaryChEcomRequest.cc + src/model/GetSummaryChEcomResult.cc + src/model/GetTsChEcomRequest.cc + src/model/GetTsChEcomResult.cc + src/model/GetWeChEcomRequest.cc + src/model/GetWeChEcomResult.cc + src/model/GetWsCustomizedChGeneralRequest.cc + src/model/GetWsCustomizedChGeneralResult.cc + src/model/GetWsCustomizedSeaGeneralRequest.cc + src/model/GetWsCustomizedSeaGeneralResult.cc ) + +add_library(alinlp ${LIB_TYPE} + ${alinlp_public_header} + ${alinlp_public_header_model} + ${alinlp_src}) + +set_target_properties(alinlp + 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}alinlp + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(alinlp + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_ALINLP_LIBRARY) +endif() + +target_include_directories(alinlp + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(alinlp + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(alinlp + jsoncpp) + target_include_directories(alinlp + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(alinlp + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(alinlp + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(alinlp + PRIVATE /usr/include/jsoncpp) + target_link_libraries(alinlp + jsoncpp) +endif() + +install(FILES ${alinlp_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/alinlp) +install(FILES ${alinlp_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/alinlp/model) +install(TARGETS alinlp + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/AlinlpClient.h b/alinlp/include/alibabacloud/alinlp/AlinlpClient.h new file mode 100644 index 000000000..22afda4aa --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/AlinlpClient.h @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_ALINLPCLIENT_H_ +#define ALIBABACLOUD_ALINLP_ALINLPCLIENT_H_ + +#include +#include +#include +#include +#include "AlinlpExport.h" +#include "model/GetDpChEcomRequest.h" +#include "model/GetDpChEcomResult.h" +#include "model/GetEcChGeneralRequest.h" +#include "model/GetEcChGeneralResult.h" +#include "model/GetNerChMedicalRequest.h" +#include "model/GetNerChMedicalResult.h" +#include "model/GetNerCustomizedChEcomRequest.h" +#include "model/GetNerCustomizedChEcomResult.h" +#include "model/GetPosChEcomRequest.h" +#include "model/GetPosChEcomResult.h" +#include "model/GetSummaryChEcomRequest.h" +#include "model/GetSummaryChEcomResult.h" +#include "model/GetTsChEcomRequest.h" +#include "model/GetTsChEcomResult.h" +#include "model/GetWeChEcomRequest.h" +#include "model/GetWeChEcomResult.h" +#include "model/GetWsCustomizedChGeneralRequest.h" +#include "model/GetWsCustomizedChGeneralResult.h" +#include "model/GetWsCustomizedSeaGeneralRequest.h" +#include "model/GetWsCustomizedSeaGeneralResult.h" + + +namespace AlibabaCloud +{ + namespace Alinlp + { + class ALIBABACLOUD_ALINLP_EXPORT AlinlpClient : public RpcServiceClient + { + public: + typedef Outcome GetDpChEcomOutcome; + typedef std::future GetDpChEcomOutcomeCallable; + typedef std::function&)> GetDpChEcomAsyncHandler; + typedef Outcome GetEcChGeneralOutcome; + typedef std::future GetEcChGeneralOutcomeCallable; + typedef std::function&)> GetEcChGeneralAsyncHandler; + typedef Outcome GetNerChMedicalOutcome; + typedef std::future GetNerChMedicalOutcomeCallable; + typedef std::function&)> GetNerChMedicalAsyncHandler; + typedef Outcome GetNerCustomizedChEcomOutcome; + typedef std::future GetNerCustomizedChEcomOutcomeCallable; + typedef std::function&)> GetNerCustomizedChEcomAsyncHandler; + typedef Outcome GetPosChEcomOutcome; + typedef std::future GetPosChEcomOutcomeCallable; + typedef std::function&)> GetPosChEcomAsyncHandler; + typedef Outcome GetSummaryChEcomOutcome; + typedef std::future GetSummaryChEcomOutcomeCallable; + typedef std::function&)> GetSummaryChEcomAsyncHandler; + typedef Outcome GetTsChEcomOutcome; + typedef std::future GetTsChEcomOutcomeCallable; + typedef std::function&)> GetTsChEcomAsyncHandler; + typedef Outcome GetWeChEcomOutcome; + typedef std::future GetWeChEcomOutcomeCallable; + typedef std::function&)> GetWeChEcomAsyncHandler; + typedef Outcome GetWsCustomizedChGeneralOutcome; + typedef std::future GetWsCustomizedChGeneralOutcomeCallable; + typedef std::function&)> GetWsCustomizedChGeneralAsyncHandler; + typedef Outcome GetWsCustomizedSeaGeneralOutcome; + typedef std::future GetWsCustomizedSeaGeneralOutcomeCallable; + typedef std::function&)> GetWsCustomizedSeaGeneralAsyncHandler; + + AlinlpClient(const Credentials &credentials, const ClientConfiguration &configuration); + AlinlpClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + AlinlpClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~AlinlpClient(); + GetDpChEcomOutcome getDpChEcom(const Model::GetDpChEcomRequest &request)const; + void getDpChEcomAsync(const Model::GetDpChEcomRequest& request, const GetDpChEcomAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDpChEcomOutcomeCallable getDpChEcomCallable(const Model::GetDpChEcomRequest& request) const; + GetEcChGeneralOutcome getEcChGeneral(const Model::GetEcChGeneralRequest &request)const; + void getEcChGeneralAsync(const Model::GetEcChGeneralRequest& request, const GetEcChGeneralAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetEcChGeneralOutcomeCallable getEcChGeneralCallable(const Model::GetEcChGeneralRequest& request) const; + GetNerChMedicalOutcome getNerChMedical(const Model::GetNerChMedicalRequest &request)const; + void getNerChMedicalAsync(const Model::GetNerChMedicalRequest& request, const GetNerChMedicalAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetNerChMedicalOutcomeCallable getNerChMedicalCallable(const Model::GetNerChMedicalRequest& request) const; + GetNerCustomizedChEcomOutcome getNerCustomizedChEcom(const Model::GetNerCustomizedChEcomRequest &request)const; + void getNerCustomizedChEcomAsync(const Model::GetNerCustomizedChEcomRequest& request, const GetNerCustomizedChEcomAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetNerCustomizedChEcomOutcomeCallable getNerCustomizedChEcomCallable(const Model::GetNerCustomizedChEcomRequest& request) const; + GetPosChEcomOutcome getPosChEcom(const Model::GetPosChEcomRequest &request)const; + void getPosChEcomAsync(const Model::GetPosChEcomRequest& request, const GetPosChEcomAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetPosChEcomOutcomeCallable getPosChEcomCallable(const Model::GetPosChEcomRequest& request) const; + GetSummaryChEcomOutcome getSummaryChEcom(const Model::GetSummaryChEcomRequest &request)const; + void getSummaryChEcomAsync(const Model::GetSummaryChEcomRequest& request, const GetSummaryChEcomAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetSummaryChEcomOutcomeCallable getSummaryChEcomCallable(const Model::GetSummaryChEcomRequest& request) const; + GetTsChEcomOutcome getTsChEcom(const Model::GetTsChEcomRequest &request)const; + void getTsChEcomAsync(const Model::GetTsChEcomRequest& request, const GetTsChEcomAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetTsChEcomOutcomeCallable getTsChEcomCallable(const Model::GetTsChEcomRequest& request) const; + GetWeChEcomOutcome getWeChEcom(const Model::GetWeChEcomRequest &request)const; + void getWeChEcomAsync(const Model::GetWeChEcomRequest& request, const GetWeChEcomAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetWeChEcomOutcomeCallable getWeChEcomCallable(const Model::GetWeChEcomRequest& request) const; + GetWsCustomizedChGeneralOutcome getWsCustomizedChGeneral(const Model::GetWsCustomizedChGeneralRequest &request)const; + void getWsCustomizedChGeneralAsync(const Model::GetWsCustomizedChGeneralRequest& request, const GetWsCustomizedChGeneralAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetWsCustomizedChGeneralOutcomeCallable getWsCustomizedChGeneralCallable(const Model::GetWsCustomizedChGeneralRequest& request) const; + GetWsCustomizedSeaGeneralOutcome getWsCustomizedSeaGeneral(const Model::GetWsCustomizedSeaGeneralRequest &request)const; + void getWsCustomizedSeaGeneralAsync(const Model::GetWsCustomizedSeaGeneralRequest& request, const GetWsCustomizedSeaGeneralAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetWsCustomizedSeaGeneralOutcomeCallable getWsCustomizedSeaGeneralCallable(const Model::GetWsCustomizedSeaGeneralRequest& request) const; + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_ALINLP_ALINLPCLIENT_H_ diff --git a/alinlp/include/alibabacloud/alinlp/AlinlpExport.h b/alinlp/include/alibabacloud/alinlp/AlinlpExport.h new file mode 100644 index 000000000..f2980d45c --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/AlinlpExport.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_ALINLP_ALINLPEXPORT_H_ +#define ALIBABACLOUD_ALINLP_ALINLPEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_ALINLP_LIBRARY) +# define ALIBABACLOUD_ALINLP_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_ALINLP_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_ALINLP_EXPORT +#endif + +#endif // !ALIBABACLOUD_ALINLP_ALINLPEXPORT_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetDpChEcomRequest.h b/alinlp/include/alibabacloud/alinlp/model/GetDpChEcomRequest.h new file mode 100644 index 000000000..44930e8cf --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetDpChEcomRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETDPCHECOMREQUEST_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETDPCHECOMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetDpChEcomRequest : public RpcServiceRequest + { + + public: + GetDpChEcomRequest(); + ~GetDpChEcomRequest(); + + std::string getServiceCode()const; + void setServiceCode(const std::string& serviceCode); + std::string getText()const; + void setText(const std::string& text); + + private: + std::string serviceCode_; + std::string text_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETDPCHECOMREQUEST_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetDpChEcomResult.h b/alinlp/include/alibabacloud/alinlp/model/GetDpChEcomResult.h new file mode 100644 index 000000000..fe30aea39 --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetDpChEcomResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETDPCHECOMRESULT_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETDPCHECOMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetDpChEcomResult : public ServiceResult + { + public: + + + GetDpChEcomResult(); + explicit GetDpChEcomResult(const std::string &payload); + ~GetDpChEcomResult(); + std::string getData()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETDPCHECOMRESULT_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetEcChGeneralRequest.h b/alinlp/include/alibabacloud/alinlp/model/GetEcChGeneralRequest.h new file mode 100644 index 000000000..7ce45fb8c --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetEcChGeneralRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETECCHGENERALREQUEST_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETECCHGENERALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetEcChGeneralRequest : public RpcServiceRequest + { + + public: + GetEcChGeneralRequest(); + ~GetEcChGeneralRequest(); + + std::string getServiceCode()const; + void setServiceCode(const std::string& serviceCode); + std::string getText()const; + void setText(const std::string& text); + + private: + std::string serviceCode_; + std::string text_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETECCHGENERALREQUEST_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetEcChGeneralResult.h b/alinlp/include/alibabacloud/alinlp/model/GetEcChGeneralResult.h new file mode 100644 index 000000000..4acedd362 --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetEcChGeneralResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETECCHGENERALRESULT_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETECCHGENERALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetEcChGeneralResult : public ServiceResult + { + public: + + + GetEcChGeneralResult(); + explicit GetEcChGeneralResult(const std::string &payload); + ~GetEcChGeneralResult(); + std::string getData()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETECCHGENERALRESULT_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetNerChMedicalRequest.h b/alinlp/include/alibabacloud/alinlp/model/GetNerChMedicalRequest.h new file mode 100644 index 000000000..6f4496a07 --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetNerChMedicalRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETNERCHMEDICALREQUEST_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETNERCHMEDICALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetNerChMedicalRequest : public RpcServiceRequest + { + + public: + GetNerChMedicalRequest(); + ~GetNerChMedicalRequest(); + + std::string getServiceCode()const; + void setServiceCode(const std::string& serviceCode); + std::string getText()const; + void setText(const std::string& text); + + private: + std::string serviceCode_; + std::string text_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETNERCHMEDICALREQUEST_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetNerChMedicalResult.h b/alinlp/include/alibabacloud/alinlp/model/GetNerChMedicalResult.h new file mode 100644 index 000000000..5d47c8939 --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetNerChMedicalResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETNERCHMEDICALRESULT_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETNERCHMEDICALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetNerChMedicalResult : public ServiceResult + { + public: + + + GetNerChMedicalResult(); + explicit GetNerChMedicalResult(const std::string &payload); + ~GetNerChMedicalResult(); + std::string getData()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETNERCHMEDICALRESULT_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetNerCustomizedChEcomRequest.h b/alinlp/include/alibabacloud/alinlp/model/GetNerCustomizedChEcomRequest.h new file mode 100644 index 000000000..d781a847b --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetNerCustomizedChEcomRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETNERCUSTOMIZEDCHECOMREQUEST_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETNERCUSTOMIZEDCHECOMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetNerCustomizedChEcomRequest : public RpcServiceRequest + { + + public: + GetNerCustomizedChEcomRequest(); + ~GetNerCustomizedChEcomRequest(); + + std::string getLexerId()const; + void setLexerId(const std::string& lexerId); + std::string getServiceCode()const; + void setServiceCode(const std::string& serviceCode); + std::string getText()const; + void setText(const std::string& text); + + private: + std::string lexerId_; + std::string serviceCode_; + std::string text_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETNERCUSTOMIZEDCHECOMREQUEST_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetNerCustomizedChEcomResult.h b/alinlp/include/alibabacloud/alinlp/model/GetNerCustomizedChEcomResult.h new file mode 100644 index 000000000..195892ae4 --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetNerCustomizedChEcomResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETNERCUSTOMIZEDCHECOMRESULT_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETNERCUSTOMIZEDCHECOMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetNerCustomizedChEcomResult : public ServiceResult + { + public: + + + GetNerCustomizedChEcomResult(); + explicit GetNerCustomizedChEcomResult(const std::string &payload); + ~GetNerCustomizedChEcomResult(); + std::string getData()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETNERCUSTOMIZEDCHECOMRESULT_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetPosChEcomRequest.h b/alinlp/include/alibabacloud/alinlp/model/GetPosChEcomRequest.h new file mode 100644 index 000000000..c8fb494a7 --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetPosChEcomRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETPOSCHECOMREQUEST_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETPOSCHECOMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetPosChEcomRequest : public RpcServiceRequest + { + + public: + GetPosChEcomRequest(); + ~GetPosChEcomRequest(); + + std::string getServiceCode()const; + void setServiceCode(const std::string& serviceCode); + std::string getTokenizerId()const; + void setTokenizerId(const std::string& tokenizerId); + std::string getText()const; + void setText(const std::string& text); + std::string getOutType()const; + void setOutType(const std::string& outType); + + private: + std::string serviceCode_; + std::string tokenizerId_; + std::string text_; + std::string outType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETPOSCHECOMREQUEST_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetPosChEcomResult.h b/alinlp/include/alibabacloud/alinlp/model/GetPosChEcomResult.h new file mode 100644 index 000000000..f56102568 --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetPosChEcomResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETPOSCHECOMRESULT_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETPOSCHECOMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetPosChEcomResult : public ServiceResult + { + public: + + + GetPosChEcomResult(); + explicit GetPosChEcomResult(const std::string &payload); + ~GetPosChEcomResult(); + std::string getData()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETPOSCHECOMRESULT_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetSummaryChEcomRequest.h b/alinlp/include/alibabacloud/alinlp/model/GetSummaryChEcomRequest.h new file mode 100644 index 000000000..0f5b2b7c5 --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetSummaryChEcomRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETSUMMARYCHECOMREQUEST_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETSUMMARYCHECOMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetSummaryChEcomRequest : public RpcServiceRequest + { + + public: + GetSummaryChEcomRequest(); + ~GetSummaryChEcomRequest(); + + std::string getServiceCode()const; + void setServiceCode(const std::string& serviceCode); + std::string getText()const; + void setText(const std::string& text); + + private: + std::string serviceCode_; + std::string text_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETSUMMARYCHECOMREQUEST_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetSummaryChEcomResult.h b/alinlp/include/alibabacloud/alinlp/model/GetSummaryChEcomResult.h new file mode 100644 index 000000000..ae0521f6a --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetSummaryChEcomResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETSUMMARYCHECOMRESULT_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETSUMMARYCHECOMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetSummaryChEcomResult : public ServiceResult + { + public: + + + GetSummaryChEcomResult(); + explicit GetSummaryChEcomResult(const std::string &payload); + ~GetSummaryChEcomResult(); + std::string getData()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETSUMMARYCHECOMRESULT_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetTsChEcomRequest.h b/alinlp/include/alibabacloud/alinlp/model/GetTsChEcomRequest.h new file mode 100644 index 000000000..cb5c4a35c --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetTsChEcomRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETTSCHECOMREQUEST_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETTSCHECOMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetTsChEcomRequest : public RpcServiceRequest + { + + public: + GetTsChEcomRequest(); + ~GetTsChEcomRequest(); + + std::string getType()const; + void setType(const std::string& type); + std::string getServiceCode()const; + void setServiceCode(const std::string& serviceCode); + std::string getOriginT()const; + void setOriginT(const std::string& originT); + std::string getOriginQ()const; + void setOriginQ(const std::string& originQ); + + private: + std::string type_; + std::string serviceCode_; + std::string originT_; + std::string originQ_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETTSCHECOMREQUEST_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetTsChEcomResult.h b/alinlp/include/alibabacloud/alinlp/model/GetTsChEcomResult.h new file mode 100644 index 000000000..3266fb876 --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetTsChEcomResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETTSCHECOMRESULT_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETTSCHECOMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetTsChEcomResult : public ServiceResult + { + public: + + + GetTsChEcomResult(); + explicit GetTsChEcomResult(const std::string &payload); + ~GetTsChEcomResult(); + std::string getData()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETTSCHECOMRESULT_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetWeChEcomRequest.h b/alinlp/include/alibabacloud/alinlp/model/GetWeChEcomRequest.h new file mode 100644 index 000000000..698978cfc --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetWeChEcomRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETWECHECOMREQUEST_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETWECHECOMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetWeChEcomRequest : public RpcServiceRequest + { + + public: + GetWeChEcomRequest(); + ~GetWeChEcomRequest(); + + std::string getWordVectorDelimiter()const; + void setWordVectorDelimiter(const std::string& wordVectorDelimiter); + std::string getType()const; + void setType(const std::string& type); + std::string getUuid()const; + void setUuid(const std::string& uuid); + std::string getDelimiter()const; + void setDelimiter(const std::string& delimiter); + std::string getText()const; + void setText(const std::string& text); + std::string getToken()const; + void setToken(const std::string& token); + std::string getServiceCode()const; + void setServiceCode(const std::string& serviceCode); + std::string getSize()const; + void setSize(const std::string& size); + std::string getWordDelimiter()const; + void setWordDelimiter(const std::string& wordDelimiter); + std::string getOperation()const; + void setOperation(const std::string& operation); + + private: + std::string wordVectorDelimiter_; + std::string type_; + std::string uuid_; + std::string delimiter_; + std::string text_; + std::string token_; + std::string serviceCode_; + std::string size_; + std::string wordDelimiter_; + std::string operation_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETWECHECOMREQUEST_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetWeChEcomResult.h b/alinlp/include/alibabacloud/alinlp/model/GetWeChEcomResult.h new file mode 100644 index 000000000..7ea618d7a --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetWeChEcomResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETWECHECOMRESULT_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETWECHECOMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetWeChEcomResult : public ServiceResult + { + public: + + + GetWeChEcomResult(); + explicit GetWeChEcomResult(const std::string &payload); + ~GetWeChEcomResult(); + std::string getData()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETWECHECOMRESULT_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetWsCustomizedChGeneralRequest.h b/alinlp/include/alibabacloud/alinlp/model/GetWsCustomizedChGeneralRequest.h new file mode 100644 index 000000000..6611bc722 --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetWsCustomizedChGeneralRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDCHGENERALREQUEST_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDCHGENERALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetWsCustomizedChGeneralRequest : public RpcServiceRequest + { + + public: + GetWsCustomizedChGeneralRequest(); + ~GetWsCustomizedChGeneralRequest(); + + std::string getServiceCode()const; + void setServiceCode(const std::string& serviceCode); + std::string getTokenizerId()const; + void setTokenizerId(const std::string& tokenizerId); + std::string getText()const; + void setText(const std::string& text); + std::string getOutType()const; + void setOutType(const std::string& outType); + + private: + std::string serviceCode_; + std::string tokenizerId_; + std::string text_; + std::string outType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDCHGENERALREQUEST_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetWsCustomizedChGeneralResult.h b/alinlp/include/alibabacloud/alinlp/model/GetWsCustomizedChGeneralResult.h new file mode 100644 index 000000000..dd2dad413 --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetWsCustomizedChGeneralResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDCHGENERALRESULT_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDCHGENERALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetWsCustomizedChGeneralResult : public ServiceResult + { + public: + + + GetWsCustomizedChGeneralResult(); + explicit GetWsCustomizedChGeneralResult(const std::string &payload); + ~GetWsCustomizedChGeneralResult(); + std::string getData()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDCHGENERALRESULT_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetWsCustomizedSeaGeneralRequest.h b/alinlp/include/alibabacloud/alinlp/model/GetWsCustomizedSeaGeneralRequest.h new file mode 100644 index 000000000..c7b967d31 --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetWsCustomizedSeaGeneralRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDSEAGENERALREQUEST_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDSEAGENERALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetWsCustomizedSeaGeneralRequest : public RpcServiceRequest + { + + public: + GetWsCustomizedSeaGeneralRequest(); + ~GetWsCustomizedSeaGeneralRequest(); + + std::string getLanguage()const; + void setLanguage(const std::string& language); + std::string getServiceCode()const; + void setServiceCode(const std::string& serviceCode); + std::string getText()const; + void setText(const std::string& text); + + private: + std::string language_; + std::string serviceCode_; + std::string text_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDSEAGENERALREQUEST_H_ \ No newline at end of file diff --git a/alinlp/include/alibabacloud/alinlp/model/GetWsCustomizedSeaGeneralResult.h b/alinlp/include/alibabacloud/alinlp/model/GetWsCustomizedSeaGeneralResult.h new file mode 100644 index 000000000..953c643ab --- /dev/null +++ b/alinlp/include/alibabacloud/alinlp/model/GetWsCustomizedSeaGeneralResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDSEAGENERALRESULT_H_ +#define ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDSEAGENERALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Alinlp + { + namespace Model + { + class ALIBABACLOUD_ALINLP_EXPORT GetWsCustomizedSeaGeneralResult : public ServiceResult + { + public: + + + GetWsCustomizedSeaGeneralResult(); + explicit GetWsCustomizedSeaGeneralResult(const std::string &payload); + ~GetWsCustomizedSeaGeneralResult(); + std::string getData()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDSEAGENERALRESULT_H_ \ No newline at end of file diff --git a/alinlp/src/AlinlpClient.cc b/alinlp/src/AlinlpClient.cc new file mode 100644 index 000000000..411123b5e --- /dev/null +++ b/alinlp/src/AlinlpClient.cc @@ -0,0 +1,413 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Alinlp; +using namespace AlibabaCloud::Alinlp::Model; + +namespace +{ + const std::string SERVICE_NAME = "alinlp"; +} + +AlinlpClient::AlinlpClient(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, "alinlp"); +} + +AlinlpClient::AlinlpClient(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, "alinlp"); +} + +AlinlpClient::AlinlpClient(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, "alinlp"); +} + +AlinlpClient::~AlinlpClient() +{} + +AlinlpClient::GetDpChEcomOutcome AlinlpClient::getDpChEcom(const GetDpChEcomRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDpChEcomOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDpChEcomOutcome(GetDpChEcomResult(outcome.result())); + else + return GetDpChEcomOutcome(outcome.error()); +} + +void AlinlpClient::getDpChEcomAsync(const GetDpChEcomRequest& request, const GetDpChEcomAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDpChEcom(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlinlpClient::GetDpChEcomOutcomeCallable AlinlpClient::getDpChEcomCallable(const GetDpChEcomRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDpChEcom(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlinlpClient::GetEcChGeneralOutcome AlinlpClient::getEcChGeneral(const GetEcChGeneralRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetEcChGeneralOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetEcChGeneralOutcome(GetEcChGeneralResult(outcome.result())); + else + return GetEcChGeneralOutcome(outcome.error()); +} + +void AlinlpClient::getEcChGeneralAsync(const GetEcChGeneralRequest& request, const GetEcChGeneralAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getEcChGeneral(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlinlpClient::GetEcChGeneralOutcomeCallable AlinlpClient::getEcChGeneralCallable(const GetEcChGeneralRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getEcChGeneral(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlinlpClient::GetNerChMedicalOutcome AlinlpClient::getNerChMedical(const GetNerChMedicalRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetNerChMedicalOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetNerChMedicalOutcome(GetNerChMedicalResult(outcome.result())); + else + return GetNerChMedicalOutcome(outcome.error()); +} + +void AlinlpClient::getNerChMedicalAsync(const GetNerChMedicalRequest& request, const GetNerChMedicalAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getNerChMedical(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlinlpClient::GetNerChMedicalOutcomeCallable AlinlpClient::getNerChMedicalCallable(const GetNerChMedicalRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getNerChMedical(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlinlpClient::GetNerCustomizedChEcomOutcome AlinlpClient::getNerCustomizedChEcom(const GetNerCustomizedChEcomRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetNerCustomizedChEcomOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetNerCustomizedChEcomOutcome(GetNerCustomizedChEcomResult(outcome.result())); + else + return GetNerCustomizedChEcomOutcome(outcome.error()); +} + +void AlinlpClient::getNerCustomizedChEcomAsync(const GetNerCustomizedChEcomRequest& request, const GetNerCustomizedChEcomAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getNerCustomizedChEcom(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlinlpClient::GetNerCustomizedChEcomOutcomeCallable AlinlpClient::getNerCustomizedChEcomCallable(const GetNerCustomizedChEcomRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getNerCustomizedChEcom(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlinlpClient::GetPosChEcomOutcome AlinlpClient::getPosChEcom(const GetPosChEcomRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetPosChEcomOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetPosChEcomOutcome(GetPosChEcomResult(outcome.result())); + else + return GetPosChEcomOutcome(outcome.error()); +} + +void AlinlpClient::getPosChEcomAsync(const GetPosChEcomRequest& request, const GetPosChEcomAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getPosChEcom(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlinlpClient::GetPosChEcomOutcomeCallable AlinlpClient::getPosChEcomCallable(const GetPosChEcomRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getPosChEcom(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlinlpClient::GetSummaryChEcomOutcome AlinlpClient::getSummaryChEcom(const GetSummaryChEcomRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetSummaryChEcomOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetSummaryChEcomOutcome(GetSummaryChEcomResult(outcome.result())); + else + return GetSummaryChEcomOutcome(outcome.error()); +} + +void AlinlpClient::getSummaryChEcomAsync(const GetSummaryChEcomRequest& request, const GetSummaryChEcomAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getSummaryChEcom(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlinlpClient::GetSummaryChEcomOutcomeCallable AlinlpClient::getSummaryChEcomCallable(const GetSummaryChEcomRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getSummaryChEcom(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlinlpClient::GetTsChEcomOutcome AlinlpClient::getTsChEcom(const GetTsChEcomRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetTsChEcomOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetTsChEcomOutcome(GetTsChEcomResult(outcome.result())); + else + return GetTsChEcomOutcome(outcome.error()); +} + +void AlinlpClient::getTsChEcomAsync(const GetTsChEcomRequest& request, const GetTsChEcomAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getTsChEcom(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlinlpClient::GetTsChEcomOutcomeCallable AlinlpClient::getTsChEcomCallable(const GetTsChEcomRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getTsChEcom(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlinlpClient::GetWeChEcomOutcome AlinlpClient::getWeChEcom(const GetWeChEcomRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetWeChEcomOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetWeChEcomOutcome(GetWeChEcomResult(outcome.result())); + else + return GetWeChEcomOutcome(outcome.error()); +} + +void AlinlpClient::getWeChEcomAsync(const GetWeChEcomRequest& request, const GetWeChEcomAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getWeChEcom(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlinlpClient::GetWeChEcomOutcomeCallable AlinlpClient::getWeChEcomCallable(const GetWeChEcomRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getWeChEcom(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlinlpClient::GetWsCustomizedChGeneralOutcome AlinlpClient::getWsCustomizedChGeneral(const GetWsCustomizedChGeneralRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetWsCustomizedChGeneralOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetWsCustomizedChGeneralOutcome(GetWsCustomizedChGeneralResult(outcome.result())); + else + return GetWsCustomizedChGeneralOutcome(outcome.error()); +} + +void AlinlpClient::getWsCustomizedChGeneralAsync(const GetWsCustomizedChGeneralRequest& request, const GetWsCustomizedChGeneralAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getWsCustomizedChGeneral(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlinlpClient::GetWsCustomizedChGeneralOutcomeCallable AlinlpClient::getWsCustomizedChGeneralCallable(const GetWsCustomizedChGeneralRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getWsCustomizedChGeneral(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AlinlpClient::GetWsCustomizedSeaGeneralOutcome AlinlpClient::getWsCustomizedSeaGeneral(const GetWsCustomizedSeaGeneralRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetWsCustomizedSeaGeneralOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetWsCustomizedSeaGeneralOutcome(GetWsCustomizedSeaGeneralResult(outcome.result())); + else + return GetWsCustomizedSeaGeneralOutcome(outcome.error()); +} + +void AlinlpClient::getWsCustomizedSeaGeneralAsync(const GetWsCustomizedSeaGeneralRequest& request, const GetWsCustomizedSeaGeneralAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getWsCustomizedSeaGeneral(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AlinlpClient::GetWsCustomizedSeaGeneralOutcomeCallable AlinlpClient::getWsCustomizedSeaGeneralCallable(const GetWsCustomizedSeaGeneralRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getWsCustomizedSeaGeneral(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/alinlp/src/model/GetDpChEcomRequest.cc b/alinlp/src/model/GetDpChEcomRequest.cc new file mode 100644 index 000000000..9b17a1283 --- /dev/null +++ b/alinlp/src/model/GetDpChEcomRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alinlp::Model::GetDpChEcomRequest; + +GetDpChEcomRequest::GetDpChEcomRequest() : + RpcServiceRequest("alinlp", "2020-06-29", "GetDpChEcom") +{ + setMethod(HttpRequest::Method::Post); +} + +GetDpChEcomRequest::~GetDpChEcomRequest() +{} + +std::string GetDpChEcomRequest::getServiceCode()const +{ + return serviceCode_; +} + +void GetDpChEcomRequest::setServiceCode(const std::string& serviceCode) +{ + serviceCode_ = serviceCode; + setBodyParameter("ServiceCode", serviceCode); +} + +std::string GetDpChEcomRequest::getText()const +{ + return text_; +} + +void GetDpChEcomRequest::setText(const std::string& text) +{ + text_ = text; + setBodyParameter("Text", text); +} + diff --git a/alinlp/src/model/GetDpChEcomResult.cc b/alinlp/src/model/GetDpChEcomResult.cc new file mode 100644 index 000000000..db9722531 --- /dev/null +++ b/alinlp/src/model/GetDpChEcomResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alinlp; +using namespace AlibabaCloud::Alinlp::Model; + +GetDpChEcomResult::GetDpChEcomResult() : + ServiceResult() +{} + +GetDpChEcomResult::GetDpChEcomResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDpChEcomResult::~GetDpChEcomResult() +{} + +void GetDpChEcomResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string GetDpChEcomResult::getData()const +{ + return data_; +} + diff --git a/alinlp/src/model/GetEcChGeneralRequest.cc b/alinlp/src/model/GetEcChGeneralRequest.cc new file mode 100644 index 000000000..edc86c6a2 --- /dev/null +++ b/alinlp/src/model/GetEcChGeneralRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alinlp::Model::GetEcChGeneralRequest; + +GetEcChGeneralRequest::GetEcChGeneralRequest() : + RpcServiceRequest("alinlp", "2020-06-29", "GetEcChGeneral") +{ + setMethod(HttpRequest::Method::Post); +} + +GetEcChGeneralRequest::~GetEcChGeneralRequest() +{} + +std::string GetEcChGeneralRequest::getServiceCode()const +{ + return serviceCode_; +} + +void GetEcChGeneralRequest::setServiceCode(const std::string& serviceCode) +{ + serviceCode_ = serviceCode; + setBodyParameter("ServiceCode", serviceCode); +} + +std::string GetEcChGeneralRequest::getText()const +{ + return text_; +} + +void GetEcChGeneralRequest::setText(const std::string& text) +{ + text_ = text; + setBodyParameter("Text", text); +} + diff --git a/alinlp/src/model/GetEcChGeneralResult.cc b/alinlp/src/model/GetEcChGeneralResult.cc new file mode 100644 index 000000000..12d543dfb --- /dev/null +++ b/alinlp/src/model/GetEcChGeneralResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alinlp; +using namespace AlibabaCloud::Alinlp::Model; + +GetEcChGeneralResult::GetEcChGeneralResult() : + ServiceResult() +{} + +GetEcChGeneralResult::GetEcChGeneralResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetEcChGeneralResult::~GetEcChGeneralResult() +{} + +void GetEcChGeneralResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string GetEcChGeneralResult::getData()const +{ + return data_; +} + diff --git a/alinlp/src/model/GetNerChMedicalRequest.cc b/alinlp/src/model/GetNerChMedicalRequest.cc new file mode 100644 index 000000000..16557cf45 --- /dev/null +++ b/alinlp/src/model/GetNerChMedicalRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alinlp::Model::GetNerChMedicalRequest; + +GetNerChMedicalRequest::GetNerChMedicalRequest() : + RpcServiceRequest("alinlp", "2020-06-29", "GetNerChMedical") +{ + setMethod(HttpRequest::Method::Post); +} + +GetNerChMedicalRequest::~GetNerChMedicalRequest() +{} + +std::string GetNerChMedicalRequest::getServiceCode()const +{ + return serviceCode_; +} + +void GetNerChMedicalRequest::setServiceCode(const std::string& serviceCode) +{ + serviceCode_ = serviceCode; + setBodyParameter("ServiceCode", serviceCode); +} + +std::string GetNerChMedicalRequest::getText()const +{ + return text_; +} + +void GetNerChMedicalRequest::setText(const std::string& text) +{ + text_ = text; + setBodyParameter("Text", text); +} + diff --git a/alinlp/src/model/GetNerChMedicalResult.cc b/alinlp/src/model/GetNerChMedicalResult.cc new file mode 100644 index 000000000..b3b3f98c3 --- /dev/null +++ b/alinlp/src/model/GetNerChMedicalResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alinlp; +using namespace AlibabaCloud::Alinlp::Model; + +GetNerChMedicalResult::GetNerChMedicalResult() : + ServiceResult() +{} + +GetNerChMedicalResult::GetNerChMedicalResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetNerChMedicalResult::~GetNerChMedicalResult() +{} + +void GetNerChMedicalResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string GetNerChMedicalResult::getData()const +{ + return data_; +} + diff --git a/alinlp/src/model/GetNerCustomizedChEcomRequest.cc b/alinlp/src/model/GetNerCustomizedChEcomRequest.cc new file mode 100644 index 000000000..fa7e68cf1 --- /dev/null +++ b/alinlp/src/model/GetNerCustomizedChEcomRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alinlp::Model::GetNerCustomizedChEcomRequest; + +GetNerCustomizedChEcomRequest::GetNerCustomizedChEcomRequest() : + RpcServiceRequest("alinlp", "2020-06-29", "GetNerCustomizedChEcom") +{ + setMethod(HttpRequest::Method::Post); +} + +GetNerCustomizedChEcomRequest::~GetNerCustomizedChEcomRequest() +{} + +std::string GetNerCustomizedChEcomRequest::getLexerId()const +{ + return lexerId_; +} + +void GetNerCustomizedChEcomRequest::setLexerId(const std::string& lexerId) +{ + lexerId_ = lexerId; + setBodyParameter("LexerId", lexerId); +} + +std::string GetNerCustomizedChEcomRequest::getServiceCode()const +{ + return serviceCode_; +} + +void GetNerCustomizedChEcomRequest::setServiceCode(const std::string& serviceCode) +{ + serviceCode_ = serviceCode; + setBodyParameter("ServiceCode", serviceCode); +} + +std::string GetNerCustomizedChEcomRequest::getText()const +{ + return text_; +} + +void GetNerCustomizedChEcomRequest::setText(const std::string& text) +{ + text_ = text; + setBodyParameter("Text", text); +} + diff --git a/alinlp/src/model/GetNerCustomizedChEcomResult.cc b/alinlp/src/model/GetNerCustomizedChEcomResult.cc new file mode 100644 index 000000000..5e67439eb --- /dev/null +++ b/alinlp/src/model/GetNerCustomizedChEcomResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alinlp; +using namespace AlibabaCloud::Alinlp::Model; + +GetNerCustomizedChEcomResult::GetNerCustomizedChEcomResult() : + ServiceResult() +{} + +GetNerCustomizedChEcomResult::GetNerCustomizedChEcomResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetNerCustomizedChEcomResult::~GetNerCustomizedChEcomResult() +{} + +void GetNerCustomizedChEcomResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string GetNerCustomizedChEcomResult::getData()const +{ + return data_; +} + diff --git a/alinlp/src/model/GetPosChEcomRequest.cc b/alinlp/src/model/GetPosChEcomRequest.cc new file mode 100644 index 000000000..335bfa089 --- /dev/null +++ b/alinlp/src/model/GetPosChEcomRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alinlp::Model::GetPosChEcomRequest; + +GetPosChEcomRequest::GetPosChEcomRequest() : + RpcServiceRequest("alinlp", "2020-06-29", "GetPosChEcom") +{ + setMethod(HttpRequest::Method::Post); +} + +GetPosChEcomRequest::~GetPosChEcomRequest() +{} + +std::string GetPosChEcomRequest::getServiceCode()const +{ + return serviceCode_; +} + +void GetPosChEcomRequest::setServiceCode(const std::string& serviceCode) +{ + serviceCode_ = serviceCode; + setBodyParameter("ServiceCode", serviceCode); +} + +std::string GetPosChEcomRequest::getTokenizerId()const +{ + return tokenizerId_; +} + +void GetPosChEcomRequest::setTokenizerId(const std::string& tokenizerId) +{ + tokenizerId_ = tokenizerId; + setBodyParameter("TokenizerId", tokenizerId); +} + +std::string GetPosChEcomRequest::getText()const +{ + return text_; +} + +void GetPosChEcomRequest::setText(const std::string& text) +{ + text_ = text; + setBodyParameter("Text", text); +} + +std::string GetPosChEcomRequest::getOutType()const +{ + return outType_; +} + +void GetPosChEcomRequest::setOutType(const std::string& outType) +{ + outType_ = outType; + setBodyParameter("OutType", outType); +} + diff --git a/alinlp/src/model/GetPosChEcomResult.cc b/alinlp/src/model/GetPosChEcomResult.cc new file mode 100644 index 000000000..443144b86 --- /dev/null +++ b/alinlp/src/model/GetPosChEcomResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alinlp; +using namespace AlibabaCloud::Alinlp::Model; + +GetPosChEcomResult::GetPosChEcomResult() : + ServiceResult() +{} + +GetPosChEcomResult::GetPosChEcomResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetPosChEcomResult::~GetPosChEcomResult() +{} + +void GetPosChEcomResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string GetPosChEcomResult::getData()const +{ + return data_; +} + diff --git a/alinlp/src/model/GetSummaryChEcomRequest.cc b/alinlp/src/model/GetSummaryChEcomRequest.cc new file mode 100644 index 000000000..0326199fe --- /dev/null +++ b/alinlp/src/model/GetSummaryChEcomRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alinlp::Model::GetSummaryChEcomRequest; + +GetSummaryChEcomRequest::GetSummaryChEcomRequest() : + RpcServiceRequest("alinlp", "2020-06-29", "GetSummaryChEcom") +{ + setMethod(HttpRequest::Method::Post); +} + +GetSummaryChEcomRequest::~GetSummaryChEcomRequest() +{} + +std::string GetSummaryChEcomRequest::getServiceCode()const +{ + return serviceCode_; +} + +void GetSummaryChEcomRequest::setServiceCode(const std::string& serviceCode) +{ + serviceCode_ = serviceCode; + setBodyParameter("ServiceCode", serviceCode); +} + +std::string GetSummaryChEcomRequest::getText()const +{ + return text_; +} + +void GetSummaryChEcomRequest::setText(const std::string& text) +{ + text_ = text; + setBodyParameter("Text", text); +} + diff --git a/alinlp/src/model/GetSummaryChEcomResult.cc b/alinlp/src/model/GetSummaryChEcomResult.cc new file mode 100644 index 000000000..e1a1a7755 --- /dev/null +++ b/alinlp/src/model/GetSummaryChEcomResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alinlp; +using namespace AlibabaCloud::Alinlp::Model; + +GetSummaryChEcomResult::GetSummaryChEcomResult() : + ServiceResult() +{} + +GetSummaryChEcomResult::GetSummaryChEcomResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetSummaryChEcomResult::~GetSummaryChEcomResult() +{} + +void GetSummaryChEcomResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string GetSummaryChEcomResult::getData()const +{ + return data_; +} + diff --git a/alinlp/src/model/GetTsChEcomRequest.cc b/alinlp/src/model/GetTsChEcomRequest.cc new file mode 100644 index 000000000..6b1f07531 --- /dev/null +++ b/alinlp/src/model/GetTsChEcomRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alinlp::Model::GetTsChEcomRequest; + +GetTsChEcomRequest::GetTsChEcomRequest() : + RpcServiceRequest("alinlp", "2020-06-29", "GetTsChEcom") +{ + setMethod(HttpRequest::Method::Post); +} + +GetTsChEcomRequest::~GetTsChEcomRequest() +{} + +std::string GetTsChEcomRequest::getType()const +{ + return type_; +} + +void GetTsChEcomRequest::setType(const std::string& type) +{ + type_ = type; + setBodyParameter("Type", type); +} + +std::string GetTsChEcomRequest::getServiceCode()const +{ + return serviceCode_; +} + +void GetTsChEcomRequest::setServiceCode(const std::string& serviceCode) +{ + serviceCode_ = serviceCode; + setBodyParameter("ServiceCode", serviceCode); +} + +std::string GetTsChEcomRequest::getOriginT()const +{ + return originT_; +} + +void GetTsChEcomRequest::setOriginT(const std::string& originT) +{ + originT_ = originT; + setBodyParameter("OriginT", originT); +} + +std::string GetTsChEcomRequest::getOriginQ()const +{ + return originQ_; +} + +void GetTsChEcomRequest::setOriginQ(const std::string& originQ) +{ + originQ_ = originQ; + setBodyParameter("OriginQ", originQ); +} + diff --git a/alinlp/src/model/GetTsChEcomResult.cc b/alinlp/src/model/GetTsChEcomResult.cc new file mode 100644 index 000000000..019c26334 --- /dev/null +++ b/alinlp/src/model/GetTsChEcomResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alinlp; +using namespace AlibabaCloud::Alinlp::Model; + +GetTsChEcomResult::GetTsChEcomResult() : + ServiceResult() +{} + +GetTsChEcomResult::GetTsChEcomResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetTsChEcomResult::~GetTsChEcomResult() +{} + +void GetTsChEcomResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string GetTsChEcomResult::getData()const +{ + return data_; +} + diff --git a/alinlp/src/model/GetWeChEcomRequest.cc b/alinlp/src/model/GetWeChEcomRequest.cc new file mode 100644 index 000000000..5e93f2ca6 --- /dev/null +++ b/alinlp/src/model/GetWeChEcomRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alinlp::Model::GetWeChEcomRequest; + +GetWeChEcomRequest::GetWeChEcomRequest() : + RpcServiceRequest("alinlp", "2020-06-29", "GetWeChEcom") +{ + setMethod(HttpRequest::Method::Post); +} + +GetWeChEcomRequest::~GetWeChEcomRequest() +{} + +std::string GetWeChEcomRequest::getWordVectorDelimiter()const +{ + return wordVectorDelimiter_; +} + +void GetWeChEcomRequest::setWordVectorDelimiter(const std::string& wordVectorDelimiter) +{ + wordVectorDelimiter_ = wordVectorDelimiter; + setBodyParameter("WordVectorDelimiter", wordVectorDelimiter); +} + +std::string GetWeChEcomRequest::getType()const +{ + return type_; +} + +void GetWeChEcomRequest::setType(const std::string& type) +{ + type_ = type; + setBodyParameter("Type", type); +} + +std::string GetWeChEcomRequest::getUuid()const +{ + return uuid_; +} + +void GetWeChEcomRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setBodyParameter("Uuid", uuid); +} + +std::string GetWeChEcomRequest::getDelimiter()const +{ + return delimiter_; +} + +void GetWeChEcomRequest::setDelimiter(const std::string& delimiter) +{ + delimiter_ = delimiter; + setBodyParameter("Delimiter", delimiter); +} + +std::string GetWeChEcomRequest::getText()const +{ + return text_; +} + +void GetWeChEcomRequest::setText(const std::string& text) +{ + text_ = text; + setBodyParameter("Text", text); +} + +std::string GetWeChEcomRequest::getToken()const +{ + return token_; +} + +void GetWeChEcomRequest::setToken(const std::string& token) +{ + token_ = token; + setBodyParameter("Token", token); +} + +std::string GetWeChEcomRequest::getServiceCode()const +{ + return serviceCode_; +} + +void GetWeChEcomRequest::setServiceCode(const std::string& serviceCode) +{ + serviceCode_ = serviceCode; + setBodyParameter("ServiceCode", serviceCode); +} + +std::string GetWeChEcomRequest::getSize()const +{ + return size_; +} + +void GetWeChEcomRequest::setSize(const std::string& size) +{ + size_ = size; + setBodyParameter("Size", size); +} + +std::string GetWeChEcomRequest::getWordDelimiter()const +{ + return wordDelimiter_; +} + +void GetWeChEcomRequest::setWordDelimiter(const std::string& wordDelimiter) +{ + wordDelimiter_ = wordDelimiter; + setBodyParameter("WordDelimiter", wordDelimiter); +} + +std::string GetWeChEcomRequest::getOperation()const +{ + return operation_; +} + +void GetWeChEcomRequest::setOperation(const std::string& operation) +{ + operation_ = operation; + setBodyParameter("Operation", operation); +} + diff --git a/alinlp/src/model/GetWeChEcomResult.cc b/alinlp/src/model/GetWeChEcomResult.cc new file mode 100644 index 000000000..59f516317 --- /dev/null +++ b/alinlp/src/model/GetWeChEcomResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alinlp; +using namespace AlibabaCloud::Alinlp::Model; + +GetWeChEcomResult::GetWeChEcomResult() : + ServiceResult() +{} + +GetWeChEcomResult::GetWeChEcomResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetWeChEcomResult::~GetWeChEcomResult() +{} + +void GetWeChEcomResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string GetWeChEcomResult::getData()const +{ + return data_; +} + diff --git a/alinlp/src/model/GetWsCustomizedChGeneralRequest.cc b/alinlp/src/model/GetWsCustomizedChGeneralRequest.cc new file mode 100644 index 000000000..5c0ee1395 --- /dev/null +++ b/alinlp/src/model/GetWsCustomizedChGeneralRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alinlp::Model::GetWsCustomizedChGeneralRequest; + +GetWsCustomizedChGeneralRequest::GetWsCustomizedChGeneralRequest() : + RpcServiceRequest("alinlp", "2020-06-29", "GetWsCustomizedChGeneral") +{ + setMethod(HttpRequest::Method::Post); +} + +GetWsCustomizedChGeneralRequest::~GetWsCustomizedChGeneralRequest() +{} + +std::string GetWsCustomizedChGeneralRequest::getServiceCode()const +{ + return serviceCode_; +} + +void GetWsCustomizedChGeneralRequest::setServiceCode(const std::string& serviceCode) +{ + serviceCode_ = serviceCode; + setBodyParameter("ServiceCode", serviceCode); +} + +std::string GetWsCustomizedChGeneralRequest::getTokenizerId()const +{ + return tokenizerId_; +} + +void GetWsCustomizedChGeneralRequest::setTokenizerId(const std::string& tokenizerId) +{ + tokenizerId_ = tokenizerId; + setBodyParameter("TokenizerId", tokenizerId); +} + +std::string GetWsCustomizedChGeneralRequest::getText()const +{ + return text_; +} + +void GetWsCustomizedChGeneralRequest::setText(const std::string& text) +{ + text_ = text; + setBodyParameter("Text", text); +} + +std::string GetWsCustomizedChGeneralRequest::getOutType()const +{ + return outType_; +} + +void GetWsCustomizedChGeneralRequest::setOutType(const std::string& outType) +{ + outType_ = outType; + setBodyParameter("OutType", outType); +} + diff --git a/alinlp/src/model/GetWsCustomizedChGeneralResult.cc b/alinlp/src/model/GetWsCustomizedChGeneralResult.cc new file mode 100644 index 000000000..43ad71728 --- /dev/null +++ b/alinlp/src/model/GetWsCustomizedChGeneralResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alinlp; +using namespace AlibabaCloud::Alinlp::Model; + +GetWsCustomizedChGeneralResult::GetWsCustomizedChGeneralResult() : + ServiceResult() +{} + +GetWsCustomizedChGeneralResult::GetWsCustomizedChGeneralResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetWsCustomizedChGeneralResult::~GetWsCustomizedChGeneralResult() +{} + +void GetWsCustomizedChGeneralResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string GetWsCustomizedChGeneralResult::getData()const +{ + return data_; +} + diff --git a/alinlp/src/model/GetWsCustomizedSeaGeneralRequest.cc b/alinlp/src/model/GetWsCustomizedSeaGeneralRequest.cc new file mode 100644 index 000000000..2b1d54598 --- /dev/null +++ b/alinlp/src/model/GetWsCustomizedSeaGeneralRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Alinlp::Model::GetWsCustomizedSeaGeneralRequest; + +GetWsCustomizedSeaGeneralRequest::GetWsCustomizedSeaGeneralRequest() : + RpcServiceRequest("alinlp", "2020-06-29", "GetWsCustomizedSeaGeneral") +{ + setMethod(HttpRequest::Method::Post); +} + +GetWsCustomizedSeaGeneralRequest::~GetWsCustomizedSeaGeneralRequest() +{} + +std::string GetWsCustomizedSeaGeneralRequest::getLanguage()const +{ + return language_; +} + +void GetWsCustomizedSeaGeneralRequest::setLanguage(const std::string& language) +{ + language_ = language; + setBodyParameter("Language", language); +} + +std::string GetWsCustomizedSeaGeneralRequest::getServiceCode()const +{ + return serviceCode_; +} + +void GetWsCustomizedSeaGeneralRequest::setServiceCode(const std::string& serviceCode) +{ + serviceCode_ = serviceCode; + setBodyParameter("ServiceCode", serviceCode); +} + +std::string GetWsCustomizedSeaGeneralRequest::getText()const +{ + return text_; +} + +void GetWsCustomizedSeaGeneralRequest::setText(const std::string& text) +{ + text_ = text; + setBodyParameter("Text", text); +} + diff --git a/alinlp/src/model/GetWsCustomizedSeaGeneralResult.cc b/alinlp/src/model/GetWsCustomizedSeaGeneralResult.cc new file mode 100644 index 000000000..328fa1cd6 --- /dev/null +++ b/alinlp/src/model/GetWsCustomizedSeaGeneralResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Alinlp; +using namespace AlibabaCloud::Alinlp::Model; + +GetWsCustomizedSeaGeneralResult::GetWsCustomizedSeaGeneralResult() : + ServiceResult() +{} + +GetWsCustomizedSeaGeneralResult::GetWsCustomizedSeaGeneralResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetWsCustomizedSeaGeneralResult::~GetWsCustomizedSeaGeneralResult() +{} + +void GetWsCustomizedSeaGeneralResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string GetWsCustomizedSeaGeneralResult::getData()const +{ + return data_; +} +