diff --git a/CHANGELOG b/CHANGELOG index 3e9434bb2..789ed7e20 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2019-05-20 Version: 1.36.31 +1, Add both api, ListNotaryInfos + 2019-05-20 Version: 1.36.30 1, Initial release of api, including data management api, rule configuration api and system configuration api. diff --git a/CMakeLists.txt b/CMakeLists.txt index e55cfa78e..ada563c1d 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -122,4 +122,5 @@ add_subdirectory(sas) add_subdirectory(dbs) add_subdirectory(r-kvstore) add_subdirectory(dds) -add_subdirectory(yundun-ds) \ No newline at end of file +add_subdirectory(yundun-ds) +add_subdirectory(trademark) \ No newline at end of file diff --git a/VERSION b/VERSION index e5970b713..af83a0a9a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.30 \ No newline at end of file +1.36.31 \ No newline at end of file diff --git a/trademark/CMakeLists.txt b/trademark/CMakeLists.txt new file mode 100644 index 000000000..9f9a8dad2 --- /dev/null +++ b/trademark/CMakeLists.txt @@ -0,0 +1,82 @@ +# +# Copyright 2009-2017 Alibaba Cloud All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) + +set(trademark_public_header + include/alibabacloud/trademark/TrademarkClient.h + include/alibabacloud/trademark/TrademarkExport.h ) + +set(trademark_public_header_model ) + +set(trademark_src + src/TrademarkClient.cc ) + +add_library(trademark ${LIB_TYPE} + ${trademark_public_header} + ${trademark_public_header_model} + ${trademark_src}) + +set_target_properties(trademark + 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}trademark + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(trademark + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_TRADEMARK_LIBRARY) +endif() + +target_include_directories(trademark + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(trademark + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(trademark + jsoncpp) + target_include_directories(trademark + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(trademark + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(trademark + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(trademark + PRIVATE /usr/include/jsoncpp) + target_link_libraries(trademark + jsoncpp) +endif() + +install(FILES ${trademark_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/trademark) +install(FILES ${trademark_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/trademark/model) +install(TARGETS trademark + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/TrademarkClient.h b/trademark/include/alibabacloud/trademark/TrademarkClient.h new file mode 100644 index 000000000..f1917b30c --- /dev/null +++ b/trademark/include/alibabacloud/trademark/TrademarkClient.h @@ -0,0 +1,430 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_TRADEMARKCLIENT_H_ +#define ALIBABACLOUD_TRADEMARK_TRADEMARKCLIENT_H_ + +#include +#include +#include +#include +#include "TrademarkExport.h" +#include "model/GenerateQrCodeRequest.h" +#include "model/GenerateQrCodeResult.h" +#include "model/QueryTradeProduceListRequest.h" +#include "model/QueryTradeProduceListResult.h" +#include "model/FillLogisticsRequest.h" +#include "model/FillLogisticsResult.h" +#include "model/UpdateMaterialRequest.h" +#include "model/UpdateMaterialResult.h" +#include "model/RefundProduceRequest.h" +#include "model/RefundProduceResult.h" +#include "model/QueryTradeMarkApplicationLogsRequest.h" +#include "model/QueryTradeMarkApplicationLogsResult.h" +#include "model/ConvertImageToGrayRequest.h" +#include "model/ConvertImageToGrayResult.h" +#include "model/QueryTrademarkMonitorResultsRequest.h" +#include "model/QueryTrademarkMonitorResultsResult.h" +#include "model/CombineLoaRequest.h" +#include "model/CombineLoaResult.h" +#include "model/QueryTradeMarkApplicationsRequest.h" +#include "model/QueryTradeMarkApplicationsResult.h" +#include "model/CancelTradeOrderRequest.h" +#include "model/CancelTradeOrderResult.h" +#include "model/QueryTrademarkPriceRequest.h" +#include "model/QueryTrademarkPriceResult.h" +#include "model/DeleteTmMonitorRuleRequest.h" +#include "model/DeleteTmMonitorRuleResult.h" +#include "model/SaveTaskRequest.h" +#include "model/SaveTaskResult.h" +#include "model/FilterUnavailableCodesRequest.h" +#include "model/FilterUnavailableCodesResult.h" +#include "model/UploadNotaryDataRequest.h" +#include "model/UploadNotaryDataResult.h" +#include "model/InsertMaterialRequest.h" +#include "model/InsertMaterialResult.h" +#include "model/QueryTaskListRequest.h" +#include "model/QueryTaskListResult.h" +#include "model/QueryMonitorKeywordsRequest.h" +#include "model/QueryMonitorKeywordsResult.h" +#include "model/GetNotaryOrderRequest.h" +#include "model/GetNotaryOrderResult.h" +#include "model/InsertTmMonitorRuleRequest.h" +#include "model/InsertTmMonitorRuleResult.h" +#include "model/InsertRenewInfoRequest.h" +#include "model/InsertRenewInfoResult.h" +#include "model/QuerySupplementDetailRequest.h" +#include "model/QuerySupplementDetailResult.h" +#include "model/ApplyNotaryPostRequest.h" +#include "model/ApplyNotaryPostResult.h" +#include "model/QueryCredentialsInfoRequest.h" +#include "model/QueryCredentialsInfoResult.h" +#include "model/QueryTrademarkMonitorRulesRequest.h" +#include "model/QueryTrademarkMonitorRulesResult.h" +#include "model/CheckLoaFillRequest.h" +#include "model/CheckLoaFillResult.h" +#include "model/QueryOssResourcesRequest.h" +#include "model/QueryOssResourcesResult.h" +#include "model/GenerateUploadFilePolicyRequest.h" +#include "model/GenerateUploadFilePolicyResult.h" +#include "model/DeleteMaterialRequest.h" +#include "model/DeleteMaterialResult.h" +#include "model/DenySupplementRequest.h" +#include "model/DenySupplementResult.h" +#include "model/InsertTradeIntentionUserRequest.h" +#include "model/InsertTradeIntentionUserResult.h" +#include "model/ListNotaryOrdersRequest.h" +#include "model/ListNotaryOrdersResult.h" +#include "model/QueryTradeProduceDetailRequest.h" +#include "model/QueryTradeProduceDetailResult.h" +#include "model/SubmitSupplementRequest.h" +#include "model/SubmitSupplementResult.h" +#include "model/QueryQrCodeUploadStatusRequest.h" +#include "model/QueryQrCodeUploadStatusResult.h" +#include "model/QueryMaterialRequest.h" +#include "model/QueryMaterialResult.h" +#include "model/BindMaterialRequest.h" +#include "model/BindMaterialResult.h" +#include "model/QueryTradeIntentionUserListRequest.h" +#include "model/QueryTradeIntentionUserListResult.h" +#include "model/UpdateTmMonitorRuleRequest.h" +#include "model/UpdateTmMonitorRuleResult.h" +#include "model/StoreMaterialTemporarilyRequest.h" +#include "model/StoreMaterialTemporarilyResult.h" +#include "model/StartNotaryRequest.h" +#include "model/StartNotaryResult.h" +#include "model/QueryMaterialListRequest.h" +#include "model/QueryMaterialListResult.h" +#include "model/CreateTrademarkOrderRequest.h" +#include "model/CreateTrademarkOrderResult.h" +#include "model/UpdateSendMaterialNumRequest.h" +#include "model/UpdateSendMaterialNumResult.h" +#include "model/ListNotaryInfosRequest.h" +#include "model/ListNotaryInfosResult.h" +#include "model/QueryCommunicationLogsRequest.h" +#include "model/QueryCommunicationLogsResult.h" +#include "model/QueryTradeMarkApplicationDetailRequest.h" +#include "model/QueryTradeMarkApplicationDetailResult.h" + + +namespace AlibabaCloud +{ + namespace Trademark + { + class ALIBABACLOUD_TRADEMARK_EXPORT TrademarkClient : public RpcServiceClient + { + public: + typedef Outcome GenerateQrCodeOutcome; + typedef std::future GenerateQrCodeOutcomeCallable; + typedef std::function&)> GenerateQrCodeAsyncHandler; + typedef Outcome QueryTradeProduceListOutcome; + typedef std::future QueryTradeProduceListOutcomeCallable; + typedef std::function&)> QueryTradeProduceListAsyncHandler; + typedef Outcome FillLogisticsOutcome; + typedef std::future FillLogisticsOutcomeCallable; + typedef std::function&)> FillLogisticsAsyncHandler; + typedef Outcome UpdateMaterialOutcome; + typedef std::future UpdateMaterialOutcomeCallable; + typedef std::function&)> UpdateMaterialAsyncHandler; + typedef Outcome RefundProduceOutcome; + typedef std::future RefundProduceOutcomeCallable; + typedef std::function&)> RefundProduceAsyncHandler; + typedef Outcome QueryTradeMarkApplicationLogsOutcome; + typedef std::future QueryTradeMarkApplicationLogsOutcomeCallable; + typedef std::function&)> QueryTradeMarkApplicationLogsAsyncHandler; + typedef Outcome ConvertImageToGrayOutcome; + typedef std::future ConvertImageToGrayOutcomeCallable; + typedef std::function&)> ConvertImageToGrayAsyncHandler; + typedef Outcome QueryTrademarkMonitorResultsOutcome; + typedef std::future QueryTrademarkMonitorResultsOutcomeCallable; + typedef std::function&)> QueryTrademarkMonitorResultsAsyncHandler; + typedef Outcome CombineLoaOutcome; + typedef std::future CombineLoaOutcomeCallable; + typedef std::function&)> CombineLoaAsyncHandler; + typedef Outcome QueryTradeMarkApplicationsOutcome; + typedef std::future QueryTradeMarkApplicationsOutcomeCallable; + typedef std::function&)> QueryTradeMarkApplicationsAsyncHandler; + typedef Outcome CancelTradeOrderOutcome; + typedef std::future CancelTradeOrderOutcomeCallable; + typedef std::function&)> CancelTradeOrderAsyncHandler; + typedef Outcome QueryTrademarkPriceOutcome; + typedef std::future QueryTrademarkPriceOutcomeCallable; + typedef std::function&)> QueryTrademarkPriceAsyncHandler; + typedef Outcome DeleteTmMonitorRuleOutcome; + typedef std::future DeleteTmMonitorRuleOutcomeCallable; + typedef std::function&)> DeleteTmMonitorRuleAsyncHandler; + typedef Outcome SaveTaskOutcome; + typedef std::future SaveTaskOutcomeCallable; + typedef std::function&)> SaveTaskAsyncHandler; + typedef Outcome FilterUnavailableCodesOutcome; + typedef std::future FilterUnavailableCodesOutcomeCallable; + typedef std::function&)> FilterUnavailableCodesAsyncHandler; + typedef Outcome UploadNotaryDataOutcome; + typedef std::future UploadNotaryDataOutcomeCallable; + typedef std::function&)> UploadNotaryDataAsyncHandler; + typedef Outcome InsertMaterialOutcome; + typedef std::future InsertMaterialOutcomeCallable; + typedef std::function&)> InsertMaterialAsyncHandler; + typedef Outcome QueryTaskListOutcome; + typedef std::future QueryTaskListOutcomeCallable; + typedef std::function&)> QueryTaskListAsyncHandler; + typedef Outcome QueryMonitorKeywordsOutcome; + typedef std::future QueryMonitorKeywordsOutcomeCallable; + typedef std::function&)> QueryMonitorKeywordsAsyncHandler; + typedef Outcome GetNotaryOrderOutcome; + typedef std::future GetNotaryOrderOutcomeCallable; + typedef std::function&)> GetNotaryOrderAsyncHandler; + typedef Outcome InsertTmMonitorRuleOutcome; + typedef std::future InsertTmMonitorRuleOutcomeCallable; + typedef std::function&)> InsertTmMonitorRuleAsyncHandler; + typedef Outcome InsertRenewInfoOutcome; + typedef std::future InsertRenewInfoOutcomeCallable; + typedef std::function&)> InsertRenewInfoAsyncHandler; + typedef Outcome QuerySupplementDetailOutcome; + typedef std::future QuerySupplementDetailOutcomeCallable; + typedef std::function&)> QuerySupplementDetailAsyncHandler; + typedef Outcome ApplyNotaryPostOutcome; + typedef std::future ApplyNotaryPostOutcomeCallable; + typedef std::function&)> ApplyNotaryPostAsyncHandler; + typedef Outcome QueryCredentialsInfoOutcome; + typedef std::future QueryCredentialsInfoOutcomeCallable; + typedef std::function&)> QueryCredentialsInfoAsyncHandler; + typedef Outcome QueryTrademarkMonitorRulesOutcome; + typedef std::future QueryTrademarkMonitorRulesOutcomeCallable; + typedef std::function&)> QueryTrademarkMonitorRulesAsyncHandler; + typedef Outcome CheckLoaFillOutcome; + typedef std::future CheckLoaFillOutcomeCallable; + typedef std::function&)> CheckLoaFillAsyncHandler; + typedef Outcome QueryOssResourcesOutcome; + typedef std::future QueryOssResourcesOutcomeCallable; + typedef std::function&)> QueryOssResourcesAsyncHandler; + typedef Outcome GenerateUploadFilePolicyOutcome; + typedef std::future GenerateUploadFilePolicyOutcomeCallable; + typedef std::function&)> GenerateUploadFilePolicyAsyncHandler; + typedef Outcome DeleteMaterialOutcome; + typedef std::future DeleteMaterialOutcomeCallable; + typedef std::function&)> DeleteMaterialAsyncHandler; + typedef Outcome DenySupplementOutcome; + typedef std::future DenySupplementOutcomeCallable; + typedef std::function&)> DenySupplementAsyncHandler; + typedef Outcome InsertTradeIntentionUserOutcome; + typedef std::future InsertTradeIntentionUserOutcomeCallable; + typedef std::function&)> InsertTradeIntentionUserAsyncHandler; + typedef Outcome ListNotaryOrdersOutcome; + typedef std::future ListNotaryOrdersOutcomeCallable; + typedef std::function&)> ListNotaryOrdersAsyncHandler; + typedef Outcome QueryTradeProduceDetailOutcome; + typedef std::future QueryTradeProduceDetailOutcomeCallable; + typedef std::function&)> QueryTradeProduceDetailAsyncHandler; + typedef Outcome SubmitSupplementOutcome; + typedef std::future SubmitSupplementOutcomeCallable; + typedef std::function&)> SubmitSupplementAsyncHandler; + typedef Outcome QueryQrCodeUploadStatusOutcome; + typedef std::future QueryQrCodeUploadStatusOutcomeCallable; + typedef std::function&)> QueryQrCodeUploadStatusAsyncHandler; + typedef Outcome QueryMaterialOutcome; + typedef std::future QueryMaterialOutcomeCallable; + typedef std::function&)> QueryMaterialAsyncHandler; + typedef Outcome BindMaterialOutcome; + typedef std::future BindMaterialOutcomeCallable; + typedef std::function&)> BindMaterialAsyncHandler; + typedef Outcome QueryTradeIntentionUserListOutcome; + typedef std::future QueryTradeIntentionUserListOutcomeCallable; + typedef std::function&)> QueryTradeIntentionUserListAsyncHandler; + typedef Outcome UpdateTmMonitorRuleOutcome; + typedef std::future UpdateTmMonitorRuleOutcomeCallable; + typedef std::function&)> UpdateTmMonitorRuleAsyncHandler; + typedef Outcome StoreMaterialTemporarilyOutcome; + typedef std::future StoreMaterialTemporarilyOutcomeCallable; + typedef std::function&)> StoreMaterialTemporarilyAsyncHandler; + typedef Outcome StartNotaryOutcome; + typedef std::future StartNotaryOutcomeCallable; + typedef std::function&)> StartNotaryAsyncHandler; + typedef Outcome QueryMaterialListOutcome; + typedef std::future QueryMaterialListOutcomeCallable; + typedef std::function&)> QueryMaterialListAsyncHandler; + typedef Outcome CreateTrademarkOrderOutcome; + typedef std::future CreateTrademarkOrderOutcomeCallable; + typedef std::function&)> CreateTrademarkOrderAsyncHandler; + typedef Outcome UpdateSendMaterialNumOutcome; + typedef std::future UpdateSendMaterialNumOutcomeCallable; + typedef std::function&)> UpdateSendMaterialNumAsyncHandler; + typedef Outcome ListNotaryInfosOutcome; + typedef std::future ListNotaryInfosOutcomeCallable; + typedef std::function&)> ListNotaryInfosAsyncHandler; + typedef Outcome QueryCommunicationLogsOutcome; + typedef std::future QueryCommunicationLogsOutcomeCallable; + typedef std::function&)> QueryCommunicationLogsAsyncHandler; + typedef Outcome QueryTradeMarkApplicationDetailOutcome; + typedef std::future QueryTradeMarkApplicationDetailOutcomeCallable; + typedef std::function&)> QueryTradeMarkApplicationDetailAsyncHandler; + + TrademarkClient(const Credentials &credentials, const ClientConfiguration &configuration); + TrademarkClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + TrademarkClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~TrademarkClient(); + GenerateQrCodeOutcome generateQrCode(const Model::GenerateQrCodeRequest &request)const; + void generateQrCodeAsync(const Model::GenerateQrCodeRequest& request, const GenerateQrCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GenerateQrCodeOutcomeCallable generateQrCodeCallable(const Model::GenerateQrCodeRequest& request) const; + QueryTradeProduceListOutcome queryTradeProduceList(const Model::QueryTradeProduceListRequest &request)const; + void queryTradeProduceListAsync(const Model::QueryTradeProduceListRequest& request, const QueryTradeProduceListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryTradeProduceListOutcomeCallable queryTradeProduceListCallable(const Model::QueryTradeProduceListRequest& request) const; + FillLogisticsOutcome fillLogistics(const Model::FillLogisticsRequest &request)const; + void fillLogisticsAsync(const Model::FillLogisticsRequest& request, const FillLogisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + FillLogisticsOutcomeCallable fillLogisticsCallable(const Model::FillLogisticsRequest& request) const; + UpdateMaterialOutcome updateMaterial(const Model::UpdateMaterialRequest &request)const; + void updateMaterialAsync(const Model::UpdateMaterialRequest& request, const UpdateMaterialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateMaterialOutcomeCallable updateMaterialCallable(const Model::UpdateMaterialRequest& request) const; + RefundProduceOutcome refundProduce(const Model::RefundProduceRequest &request)const; + void refundProduceAsync(const Model::RefundProduceRequest& request, const RefundProduceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RefundProduceOutcomeCallable refundProduceCallable(const Model::RefundProduceRequest& request) const; + QueryTradeMarkApplicationLogsOutcome queryTradeMarkApplicationLogs(const Model::QueryTradeMarkApplicationLogsRequest &request)const; + void queryTradeMarkApplicationLogsAsync(const Model::QueryTradeMarkApplicationLogsRequest& request, const QueryTradeMarkApplicationLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryTradeMarkApplicationLogsOutcomeCallable queryTradeMarkApplicationLogsCallable(const Model::QueryTradeMarkApplicationLogsRequest& request) const; + ConvertImageToGrayOutcome convertImageToGray(const Model::ConvertImageToGrayRequest &request)const; + void convertImageToGrayAsync(const Model::ConvertImageToGrayRequest& request, const ConvertImageToGrayAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ConvertImageToGrayOutcomeCallable convertImageToGrayCallable(const Model::ConvertImageToGrayRequest& request) const; + QueryTrademarkMonitorResultsOutcome queryTrademarkMonitorResults(const Model::QueryTrademarkMonitorResultsRequest &request)const; + void queryTrademarkMonitorResultsAsync(const Model::QueryTrademarkMonitorResultsRequest& request, const QueryTrademarkMonitorResultsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryTrademarkMonitorResultsOutcomeCallable queryTrademarkMonitorResultsCallable(const Model::QueryTrademarkMonitorResultsRequest& request) const; + CombineLoaOutcome combineLoa(const Model::CombineLoaRequest &request)const; + void combineLoaAsync(const Model::CombineLoaRequest& request, const CombineLoaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CombineLoaOutcomeCallable combineLoaCallable(const Model::CombineLoaRequest& request) const; + QueryTradeMarkApplicationsOutcome queryTradeMarkApplications(const Model::QueryTradeMarkApplicationsRequest &request)const; + void queryTradeMarkApplicationsAsync(const Model::QueryTradeMarkApplicationsRequest& request, const QueryTradeMarkApplicationsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryTradeMarkApplicationsOutcomeCallable queryTradeMarkApplicationsCallable(const Model::QueryTradeMarkApplicationsRequest& request) const; + CancelTradeOrderOutcome cancelTradeOrder(const Model::CancelTradeOrderRequest &request)const; + void cancelTradeOrderAsync(const Model::CancelTradeOrderRequest& request, const CancelTradeOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CancelTradeOrderOutcomeCallable cancelTradeOrderCallable(const Model::CancelTradeOrderRequest& request) const; + QueryTrademarkPriceOutcome queryTrademarkPrice(const Model::QueryTrademarkPriceRequest &request)const; + void queryTrademarkPriceAsync(const Model::QueryTrademarkPriceRequest& request, const QueryTrademarkPriceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryTrademarkPriceOutcomeCallable queryTrademarkPriceCallable(const Model::QueryTrademarkPriceRequest& request) const; + DeleteTmMonitorRuleOutcome deleteTmMonitorRule(const Model::DeleteTmMonitorRuleRequest &request)const; + void deleteTmMonitorRuleAsync(const Model::DeleteTmMonitorRuleRequest& request, const DeleteTmMonitorRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteTmMonitorRuleOutcomeCallable deleteTmMonitorRuleCallable(const Model::DeleteTmMonitorRuleRequest& request) const; + SaveTaskOutcome saveTask(const Model::SaveTaskRequest &request)const; + void saveTaskAsync(const Model::SaveTaskRequest& request, const SaveTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SaveTaskOutcomeCallable saveTaskCallable(const Model::SaveTaskRequest& request) const; + FilterUnavailableCodesOutcome filterUnavailableCodes(const Model::FilterUnavailableCodesRequest &request)const; + void filterUnavailableCodesAsync(const Model::FilterUnavailableCodesRequest& request, const FilterUnavailableCodesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + FilterUnavailableCodesOutcomeCallable filterUnavailableCodesCallable(const Model::FilterUnavailableCodesRequest& request) const; + UploadNotaryDataOutcome uploadNotaryData(const Model::UploadNotaryDataRequest &request)const; + void uploadNotaryDataAsync(const Model::UploadNotaryDataRequest& request, const UploadNotaryDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UploadNotaryDataOutcomeCallable uploadNotaryDataCallable(const Model::UploadNotaryDataRequest& request) const; + InsertMaterialOutcome insertMaterial(const Model::InsertMaterialRequest &request)const; + void insertMaterialAsync(const Model::InsertMaterialRequest& request, const InsertMaterialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + InsertMaterialOutcomeCallable insertMaterialCallable(const Model::InsertMaterialRequest& request) const; + QueryTaskListOutcome queryTaskList(const Model::QueryTaskListRequest &request)const; + void queryTaskListAsync(const Model::QueryTaskListRequest& request, const QueryTaskListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryTaskListOutcomeCallable queryTaskListCallable(const Model::QueryTaskListRequest& request) const; + QueryMonitorKeywordsOutcome queryMonitorKeywords(const Model::QueryMonitorKeywordsRequest &request)const; + void queryMonitorKeywordsAsync(const Model::QueryMonitorKeywordsRequest& request, const QueryMonitorKeywordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryMonitorKeywordsOutcomeCallable queryMonitorKeywordsCallable(const Model::QueryMonitorKeywordsRequest& request) const; + GetNotaryOrderOutcome getNotaryOrder(const Model::GetNotaryOrderRequest &request)const; + void getNotaryOrderAsync(const Model::GetNotaryOrderRequest& request, const GetNotaryOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetNotaryOrderOutcomeCallable getNotaryOrderCallable(const Model::GetNotaryOrderRequest& request) const; + InsertTmMonitorRuleOutcome insertTmMonitorRule(const Model::InsertTmMonitorRuleRequest &request)const; + void insertTmMonitorRuleAsync(const Model::InsertTmMonitorRuleRequest& request, const InsertTmMonitorRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + InsertTmMonitorRuleOutcomeCallable insertTmMonitorRuleCallable(const Model::InsertTmMonitorRuleRequest& request) const; + InsertRenewInfoOutcome insertRenewInfo(const Model::InsertRenewInfoRequest &request)const; + void insertRenewInfoAsync(const Model::InsertRenewInfoRequest& request, const InsertRenewInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + InsertRenewInfoOutcomeCallable insertRenewInfoCallable(const Model::InsertRenewInfoRequest& request) const; + QuerySupplementDetailOutcome querySupplementDetail(const Model::QuerySupplementDetailRequest &request)const; + void querySupplementDetailAsync(const Model::QuerySupplementDetailRequest& request, const QuerySupplementDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QuerySupplementDetailOutcomeCallable querySupplementDetailCallable(const Model::QuerySupplementDetailRequest& request) const; + ApplyNotaryPostOutcome applyNotaryPost(const Model::ApplyNotaryPostRequest &request)const; + void applyNotaryPostAsync(const Model::ApplyNotaryPostRequest& request, const ApplyNotaryPostAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ApplyNotaryPostOutcomeCallable applyNotaryPostCallable(const Model::ApplyNotaryPostRequest& request) const; + QueryCredentialsInfoOutcome queryCredentialsInfo(const Model::QueryCredentialsInfoRequest &request)const; + void queryCredentialsInfoAsync(const Model::QueryCredentialsInfoRequest& request, const QueryCredentialsInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryCredentialsInfoOutcomeCallable queryCredentialsInfoCallable(const Model::QueryCredentialsInfoRequest& request) const; + QueryTrademarkMonitorRulesOutcome queryTrademarkMonitorRules(const Model::QueryTrademarkMonitorRulesRequest &request)const; + void queryTrademarkMonitorRulesAsync(const Model::QueryTrademarkMonitorRulesRequest& request, const QueryTrademarkMonitorRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryTrademarkMonitorRulesOutcomeCallable queryTrademarkMonitorRulesCallable(const Model::QueryTrademarkMonitorRulesRequest& request) const; + CheckLoaFillOutcome checkLoaFill(const Model::CheckLoaFillRequest &request)const; + void checkLoaFillAsync(const Model::CheckLoaFillRequest& request, const CheckLoaFillAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckLoaFillOutcomeCallable checkLoaFillCallable(const Model::CheckLoaFillRequest& request) const; + QueryOssResourcesOutcome queryOssResources(const Model::QueryOssResourcesRequest &request)const; + void queryOssResourcesAsync(const Model::QueryOssResourcesRequest& request, const QueryOssResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryOssResourcesOutcomeCallable queryOssResourcesCallable(const Model::QueryOssResourcesRequest& request) const; + GenerateUploadFilePolicyOutcome generateUploadFilePolicy(const Model::GenerateUploadFilePolicyRequest &request)const; + void generateUploadFilePolicyAsync(const Model::GenerateUploadFilePolicyRequest& request, const GenerateUploadFilePolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GenerateUploadFilePolicyOutcomeCallable generateUploadFilePolicyCallable(const Model::GenerateUploadFilePolicyRequest& request) const; + DeleteMaterialOutcome deleteMaterial(const Model::DeleteMaterialRequest &request)const; + void deleteMaterialAsync(const Model::DeleteMaterialRequest& request, const DeleteMaterialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteMaterialOutcomeCallable deleteMaterialCallable(const Model::DeleteMaterialRequest& request) const; + DenySupplementOutcome denySupplement(const Model::DenySupplementRequest &request)const; + void denySupplementAsync(const Model::DenySupplementRequest& request, const DenySupplementAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DenySupplementOutcomeCallable denySupplementCallable(const Model::DenySupplementRequest& request) const; + InsertTradeIntentionUserOutcome insertTradeIntentionUser(const Model::InsertTradeIntentionUserRequest &request)const; + void insertTradeIntentionUserAsync(const Model::InsertTradeIntentionUserRequest& request, const InsertTradeIntentionUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + InsertTradeIntentionUserOutcomeCallable insertTradeIntentionUserCallable(const Model::InsertTradeIntentionUserRequest& request) const; + ListNotaryOrdersOutcome listNotaryOrders(const Model::ListNotaryOrdersRequest &request)const; + void listNotaryOrdersAsync(const Model::ListNotaryOrdersRequest& request, const ListNotaryOrdersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListNotaryOrdersOutcomeCallable listNotaryOrdersCallable(const Model::ListNotaryOrdersRequest& request) const; + QueryTradeProduceDetailOutcome queryTradeProduceDetail(const Model::QueryTradeProduceDetailRequest &request)const; + void queryTradeProduceDetailAsync(const Model::QueryTradeProduceDetailRequest& request, const QueryTradeProduceDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryTradeProduceDetailOutcomeCallable queryTradeProduceDetailCallable(const Model::QueryTradeProduceDetailRequest& request) const; + SubmitSupplementOutcome submitSupplement(const Model::SubmitSupplementRequest &request)const; + void submitSupplementAsync(const Model::SubmitSupplementRequest& request, const SubmitSupplementAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitSupplementOutcomeCallable submitSupplementCallable(const Model::SubmitSupplementRequest& request) const; + QueryQrCodeUploadStatusOutcome queryQrCodeUploadStatus(const Model::QueryQrCodeUploadStatusRequest &request)const; + void queryQrCodeUploadStatusAsync(const Model::QueryQrCodeUploadStatusRequest& request, const QueryQrCodeUploadStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryQrCodeUploadStatusOutcomeCallable queryQrCodeUploadStatusCallable(const Model::QueryQrCodeUploadStatusRequest& request) const; + QueryMaterialOutcome queryMaterial(const Model::QueryMaterialRequest &request)const; + void queryMaterialAsync(const Model::QueryMaterialRequest& request, const QueryMaterialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryMaterialOutcomeCallable queryMaterialCallable(const Model::QueryMaterialRequest& request) const; + BindMaterialOutcome bindMaterial(const Model::BindMaterialRequest &request)const; + void bindMaterialAsync(const Model::BindMaterialRequest& request, const BindMaterialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BindMaterialOutcomeCallable bindMaterialCallable(const Model::BindMaterialRequest& request) const; + QueryTradeIntentionUserListOutcome queryTradeIntentionUserList(const Model::QueryTradeIntentionUserListRequest &request)const; + void queryTradeIntentionUserListAsync(const Model::QueryTradeIntentionUserListRequest& request, const QueryTradeIntentionUserListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryTradeIntentionUserListOutcomeCallable queryTradeIntentionUserListCallable(const Model::QueryTradeIntentionUserListRequest& request) const; + UpdateTmMonitorRuleOutcome updateTmMonitorRule(const Model::UpdateTmMonitorRuleRequest &request)const; + void updateTmMonitorRuleAsync(const Model::UpdateTmMonitorRuleRequest& request, const UpdateTmMonitorRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateTmMonitorRuleOutcomeCallable updateTmMonitorRuleCallable(const Model::UpdateTmMonitorRuleRequest& request) const; + StoreMaterialTemporarilyOutcome storeMaterialTemporarily(const Model::StoreMaterialTemporarilyRequest &request)const; + void storeMaterialTemporarilyAsync(const Model::StoreMaterialTemporarilyRequest& request, const StoreMaterialTemporarilyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StoreMaterialTemporarilyOutcomeCallable storeMaterialTemporarilyCallable(const Model::StoreMaterialTemporarilyRequest& request) const; + StartNotaryOutcome startNotary(const Model::StartNotaryRequest &request)const; + void startNotaryAsync(const Model::StartNotaryRequest& request, const StartNotaryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartNotaryOutcomeCallable startNotaryCallable(const Model::StartNotaryRequest& request) const; + QueryMaterialListOutcome queryMaterialList(const Model::QueryMaterialListRequest &request)const; + void queryMaterialListAsync(const Model::QueryMaterialListRequest& request, const QueryMaterialListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryMaterialListOutcomeCallable queryMaterialListCallable(const Model::QueryMaterialListRequest& request) const; + CreateTrademarkOrderOutcome createTrademarkOrder(const Model::CreateTrademarkOrderRequest &request)const; + void createTrademarkOrderAsync(const Model::CreateTrademarkOrderRequest& request, const CreateTrademarkOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateTrademarkOrderOutcomeCallable createTrademarkOrderCallable(const Model::CreateTrademarkOrderRequest& request) const; + UpdateSendMaterialNumOutcome updateSendMaterialNum(const Model::UpdateSendMaterialNumRequest &request)const; + void updateSendMaterialNumAsync(const Model::UpdateSendMaterialNumRequest& request, const UpdateSendMaterialNumAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateSendMaterialNumOutcomeCallable updateSendMaterialNumCallable(const Model::UpdateSendMaterialNumRequest& request) const; + ListNotaryInfosOutcome listNotaryInfos(const Model::ListNotaryInfosRequest &request)const; + void listNotaryInfosAsync(const Model::ListNotaryInfosRequest& request, const ListNotaryInfosAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListNotaryInfosOutcomeCallable listNotaryInfosCallable(const Model::ListNotaryInfosRequest& request) const; + QueryCommunicationLogsOutcome queryCommunicationLogs(const Model::QueryCommunicationLogsRequest &request)const; + void queryCommunicationLogsAsync(const Model::QueryCommunicationLogsRequest& request, const QueryCommunicationLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryCommunicationLogsOutcomeCallable queryCommunicationLogsCallable(const Model::QueryCommunicationLogsRequest& request) const; + QueryTradeMarkApplicationDetailOutcome queryTradeMarkApplicationDetail(const Model::QueryTradeMarkApplicationDetailRequest &request)const; + void queryTradeMarkApplicationDetailAsync(const Model::QueryTradeMarkApplicationDetailRequest& request, const QueryTradeMarkApplicationDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QueryTradeMarkApplicationDetailOutcomeCallable queryTradeMarkApplicationDetailCallable(const Model::QueryTradeMarkApplicationDetailRequest& request) const; + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_TRADEMARK_TRADEMARKCLIENT_H_ diff --git a/trademark/include/alibabacloud/trademark/TrademarkExport.h b/trademark/include/alibabacloud/trademark/TrademarkExport.h new file mode 100644 index 000000000..7095cce47 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/TrademarkExport.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_TRADEMARK_TRADEMARKEXPORT_H_ +#define ALIBABACLOUD_TRADEMARK_TRADEMARKEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_TRADEMARK_LIBRARY) +# define ALIBABACLOUD_TRADEMARK_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_TRADEMARK_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_TRADEMARK_EXPORT +#endif + +#endif // !ALIBABACLOUD_TRADEMARK_TRADEMARKEXPORT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/ApplyNotaryPostRequest.h b/trademark/include/alibabacloud/trademark/model/ApplyNotaryPostRequest.h new file mode 100644 index 000000000..1eb47e26f --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/ApplyNotaryPostRequest.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_TRADEMARK_MODEL_APPLYNOTARYPOSTREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_APPLYNOTARYPOSTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT ApplyNotaryPostRequest : public RpcServiceRequest + { + + public: + ApplyNotaryPostRequest(); + ~ApplyNotaryPostRequest(); + + std::string getReceiverName()const; + void setReceiverName(const std::string& receiverName); + std::string getReceiverPhone()const; + void setReceiverPhone(const std::string& receiverPhone); + long getNotaryOrderId()const; + void setNotaryOrderId(long notaryOrderId); + std::string getReceiverAddress()const; + void setReceiverAddress(const std::string& receiverAddress); + + private: + std::string receiverName_; + std::string receiverPhone_; + long notaryOrderId_; + std::string receiverAddress_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_APPLYNOTARYPOSTREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/ApplyNotaryPostResult.h b/trademark/include/alibabacloud/trademark/model/ApplyNotaryPostResult.h new file mode 100644 index 000000000..ae36ab35b --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/ApplyNotaryPostResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_APPLYNOTARYPOSTRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_APPLYNOTARYPOSTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT ApplyNotaryPostResult : public ServiceResult + { + public: + + + ApplyNotaryPostResult(); + explicit ApplyNotaryPostResult(const std::string &payload); + ~ApplyNotaryPostResult(); + std::string getErrorMsg()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_APPLYNOTARYPOSTRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/BindMaterialRequest.h b/trademark/include/alibabacloud/trademark/model/BindMaterialRequest.h new file mode 100644 index 000000000..eb59c7ef8 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/BindMaterialRequest.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_TRADEMARK_MODEL_BINDMATERIALREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_BINDMATERIALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT BindMaterialRequest : public RpcServiceRequest + { + + public: + BindMaterialRequest(); + ~BindMaterialRequest(); + + std::string getBizId()const; + void setBizId(const std::string& bizId); + std::string getMaterialId()const; + void setMaterialId(const std::string& materialId); + std::string getLoaOssKey()const; + void setLoaOssKey(const std::string& loaOssKey); + + private: + std::string bizId_; + std::string materialId_; + std::string loaOssKey_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_BINDMATERIALREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/BindMaterialResult.h b/trademark/include/alibabacloud/trademark/model/BindMaterialResult.h new file mode 100644 index 000000000..13d18300e --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/BindMaterialResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_BINDMATERIALRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_BINDMATERIALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT BindMaterialResult : public ServiceResult + { + public: + + + BindMaterialResult(); + explicit BindMaterialResult(const std::string &payload); + ~BindMaterialResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_BINDMATERIALRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/CancelTradeOrderRequest.h b/trademark/include/alibabacloud/trademark/model/CancelTradeOrderRequest.h new file mode 100644 index 000000000..d455eeb97 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/CancelTradeOrderRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_CANCELTRADEORDERREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_CANCELTRADEORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT CancelTradeOrderRequest : public RpcServiceRequest + { + + public: + CancelTradeOrderRequest(); + ~CancelTradeOrderRequest(); + + std::string getBizId()const; + void setBizId(const std::string& bizId); + + private: + std::string bizId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_CANCELTRADEORDERREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/CancelTradeOrderResult.h b/trademark/include/alibabacloud/trademark/model/CancelTradeOrderResult.h new file mode 100644 index 000000000..1f0281dfb --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/CancelTradeOrderResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_CANCELTRADEORDERRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_CANCELTRADEORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT CancelTradeOrderResult : public ServiceResult + { + public: + + + CancelTradeOrderResult(); + explicit CancelTradeOrderResult(const std::string &payload); + ~CancelTradeOrderResult(); + std::string getErrorMsg()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_CANCELTRADEORDERRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/CheckLoaFillRequest.h b/trademark/include/alibabacloud/trademark/model/CheckLoaFillRequest.h new file mode 100644 index 000000000..7dc427fe1 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/CheckLoaFillRequest.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_TRADEMARK_MODEL_CHECKLOAFILLREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_CHECKLOAFILLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT CheckLoaFillRequest : public RpcServiceRequest + { + + public: + CheckLoaFillRequest(); + ~CheckLoaFillRequest(); + + std::string getOssKey()const; + void setOssKey(const std::string& ossKey); + std::string getType()const; + void setType(const std::string& type); + + private: + std::string ossKey_; + std::string type_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_CHECKLOAFILLREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/CheckLoaFillResult.h b/trademark/include/alibabacloud/trademark/model/CheckLoaFillResult.h new file mode 100644 index 000000000..e03c437ff --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/CheckLoaFillResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_CHECKLOAFILLRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_CHECKLOAFILLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT CheckLoaFillResult : public ServiceResult + { + public: + struct Data + { + bool nationalityFill; + std::string templateUrl; + bool stampFill; + bool tradeMarkNameFill; + bool countryFill; + std::vector errorMsgs; + bool addressFill; + bool materialNameFill; + }; + + + CheckLoaFillResult(); + explicit CheckLoaFillResult(const std::string &payload); + ~CheckLoaFillResult(); + Data getData()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_CHECKLOAFILLRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/CombineLoaRequest.h b/trademark/include/alibabacloud/trademark/model/CombineLoaRequest.h new file mode 100644 index 000000000..3602457df --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/CombineLoaRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_COMBINELOAREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_COMBINELOAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT CombineLoaRequest : public RpcServiceRequest + { + + public: + CombineLoaRequest(); + ~CombineLoaRequest(); + + std::string getTrademarkName()const; + void setTrademarkName(const std::string& trademarkName); + std::string getMaterialName()const; + void setMaterialName(const std::string& materialName); + std::string getAddress()const; + void setAddress(const std::string& address); + std::string getNationality()const; + void setNationality(const std::string& nationality); + std::string getTmProduceType()const; + void setTmProduceType(const std::string& tmProduceType); + std::string getMaterialId()const; + void setMaterialId(const std::string& materialId); + + private: + std::string trademarkName_; + std::string materialName_; + std::string address_; + std::string nationality_; + std::string tmProduceType_; + std::string materialId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_COMBINELOAREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/CombineLoaResult.h b/trademark/include/alibabacloud/trademark/model/CombineLoaResult.h new file mode 100644 index 000000000..8f587adb9 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/CombineLoaResult.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_TRADEMARK_MODEL_COMBINELOARESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_COMBINELOARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT CombineLoaResult : public ServiceResult + { + public: + + + CombineLoaResult(); + explicit CombineLoaResult(const std::string &payload); + ~CombineLoaResult(); + std::string getTemplateCombineUrl()const; + + protected: + void parse(const std::string &payload); + private: + std::string templateCombineUrl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_COMBINELOARESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/ConvertImageToGrayRequest.h b/trademark/include/alibabacloud/trademark/model/ConvertImageToGrayRequest.h new file mode 100644 index 000000000..6b7e3b101 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/ConvertImageToGrayRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_CONVERTIMAGETOGRAYREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_CONVERTIMAGETOGRAYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT ConvertImageToGrayRequest : public RpcServiceRequest + { + + public: + ConvertImageToGrayRequest(); + ~ConvertImageToGrayRequest(); + + std::string getOssKey()const; + void setOssKey(const std::string& ossKey); + + private: + std::string ossKey_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_CONVERTIMAGETOGRAYREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/ConvertImageToGrayResult.h b/trademark/include/alibabacloud/trademark/model/ConvertImageToGrayResult.h new file mode 100644 index 000000000..0533619aa --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/ConvertImageToGrayResult.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_TRADEMARK_MODEL_CONVERTIMAGETOGRAYRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_CONVERTIMAGETOGRAYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT ConvertImageToGrayResult : public ServiceResult + { + public: + + + ConvertImageToGrayResult(); + explicit ConvertImageToGrayResult(const std::string &payload); + ~ConvertImageToGrayResult(); + std::string getSignatureUrl()const; + + protected: + void parse(const std::string &payload); + private: + std::string signatureUrl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_CONVERTIMAGETOGRAYRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/CreateTrademarkOrderRequest.h b/trademark/include/alibabacloud/trademark/model/CreateTrademarkOrderRequest.h new file mode 100644 index 000000000..9f49c0fe5 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/CreateTrademarkOrderRequest.h @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_CREATETRADEMARKORDERREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_CREATETRADEMARKORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT CreateTrademarkOrderRequest : public RpcServiceRequest + { + + public: + CreateTrademarkOrderRequest(); + ~CreateTrademarkOrderRequest(); + + std::string getTmName()const; + void setTmName(const std::string& tmName); + std::string getRealUserName()const; + void setRealUserName(const std::string& realUserName); + std::string getOrderData()const; + void setOrderData(const std::string& orderData); + std::string getChannel()const; + void setChannel(const std::string& channel); + std::string getPartnerCode()const; + void setPartnerCode(const std::string& partnerCode); + std::string getPhoneNum()const; + void setPhoneNum(const std::string& phoneNum); + int getType()const; + void setType(int type); + std::string getMaterialId()const; + void setMaterialId(const std::string& materialId); + long getUserId()const; + void setUserId(long userId); + std::string getTmComment()const; + void setTmComment(const std::string& tmComment); + std::string getRegisterName()const; + void setRegisterName(const std::string& registerName); + std::string getTmNameType()const; + void setTmNameType(const std::string& tmNameType); + std::string getTmIcon()const; + void setTmIcon(const std::string& tmIcon); + std::string getUid()const; + void setUid(const std::string& uid); + bool getIsBlackIcon()const; + void setIsBlackIcon(bool isBlackIcon); + std::string getRenewInfoId()const; + void setRenewInfoId(const std::string& renewInfoId); + std::string getBizId()const; + void setBizId(const std::string& bizId); + std::string getRootCode()const; + void setRootCode(const std::string& rootCode); + std::string getLoaOssKey()const; + void setLoaOssKey(const std::string& loaOssKey); + std::string getRegisterNumber()const; + void setRegisterNumber(const std::string& registerNumber); + + private: + std::string tmName_; + std::string realUserName_; + std::string orderData_; + std::string channel_; + std::string partnerCode_; + std::string phoneNum_; + int type_; + std::string materialId_; + long userId_; + std::string tmComment_; + std::string registerName_; + std::string tmNameType_; + std::string tmIcon_; + std::string uid_; + bool isBlackIcon_; + std::string renewInfoId_; + std::string bizId_; + std::string rootCode_; + std::string loaOssKey_; + std::string registerNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_CREATETRADEMARKORDERREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/CreateTrademarkOrderResult.h b/trademark/include/alibabacloud/trademark/model/CreateTrademarkOrderResult.h new file mode 100644 index 000000000..cfd668063 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/CreateTrademarkOrderResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_CREATETRADEMARKORDERRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_CREATETRADEMARKORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT CreateTrademarkOrderResult : public ServiceResult + { + public: + + + CreateTrademarkOrderResult(); + explicit CreateTrademarkOrderResult(const std::string &payload); + ~CreateTrademarkOrderResult(); + std::string getErrorMsg()const; + long getOrderId()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + long orderId_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_CREATETRADEMARKORDERRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/DeleteMaterialRequest.h b/trademark/include/alibabacloud/trademark/model/DeleteMaterialRequest.h new file mode 100644 index 000000000..5bcb4a55a --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/DeleteMaterialRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_DELETEMATERIALREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_DELETEMATERIALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT DeleteMaterialRequest : public RpcServiceRequest + { + + public: + DeleteMaterialRequest(); + ~DeleteMaterialRequest(); + + long getId()const; + void setId(long id); + + private: + long id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_DELETEMATERIALREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/DeleteMaterialResult.h b/trademark/include/alibabacloud/trademark/model/DeleteMaterialResult.h new file mode 100644 index 000000000..ac3b471fb --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/DeleteMaterialResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_DELETEMATERIALRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_DELETEMATERIALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT DeleteMaterialResult : public ServiceResult + { + public: + + + DeleteMaterialResult(); + explicit DeleteMaterialResult(const std::string &payload); + ~DeleteMaterialResult(); + std::string getErrorMsg()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_DELETEMATERIALRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/DeleteTmMonitorRuleRequest.h b/trademark/include/alibabacloud/trademark/model/DeleteTmMonitorRuleRequest.h new file mode 100644 index 000000000..da099fed0 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/DeleteTmMonitorRuleRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_DELETETMMONITORRULEREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_DELETETMMONITORRULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT DeleteTmMonitorRuleRequest : public RpcServiceRequest + { + + public: + DeleteTmMonitorRuleRequest(); + ~DeleteTmMonitorRuleRequest(); + + long getId()const; + void setId(long id); + + private: + long id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_DELETETMMONITORRULEREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/DeleteTmMonitorRuleResult.h b/trademark/include/alibabacloud/trademark/model/DeleteTmMonitorRuleResult.h new file mode 100644 index 000000000..8c87ef65b --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/DeleteTmMonitorRuleResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_DELETETMMONITORRULERESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_DELETETMMONITORRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT DeleteTmMonitorRuleResult : public ServiceResult + { + public: + + + DeleteTmMonitorRuleResult(); + explicit DeleteTmMonitorRuleResult(const std::string &payload); + ~DeleteTmMonitorRuleResult(); + std::string getErrorMsg()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_DELETETMMONITORRULERESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/DenySupplementRequest.h b/trademark/include/alibabacloud/trademark/model/DenySupplementRequest.h new file mode 100644 index 000000000..8795d9beb --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/DenySupplementRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_DENYSUPPLEMENTREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_DENYSUPPLEMENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT DenySupplementRequest : public RpcServiceRequest + { + + public: + DenySupplementRequest(); + ~DenySupplementRequest(); + + long getId()const; + void setId(long id); + + private: + long id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_DENYSUPPLEMENTREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/DenySupplementResult.h b/trademark/include/alibabacloud/trademark/model/DenySupplementResult.h new file mode 100644 index 000000000..1bcf6087d --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/DenySupplementResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_DENYSUPPLEMENTRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_DENYSUPPLEMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT DenySupplementResult : public ServiceResult + { + public: + + + DenySupplementResult(); + explicit DenySupplementResult(const std::string &payload); + ~DenySupplementResult(); + std::string getErrorMsg()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_DENYSUPPLEMENTRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/FillLogisticsRequest.h b/trademark/include/alibabacloud/trademark/model/FillLogisticsRequest.h new file mode 100644 index 000000000..4888f93d3 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/FillLogisticsRequest.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_TRADEMARK_MODEL_FILLLOGISTICSREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_FILLLOGISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT FillLogisticsRequest : public RpcServiceRequest + { + + public: + FillLogisticsRequest(); + ~FillLogisticsRequest(); + + std::string getBizId()const; + void setBizId(const std::string& bizId); + std::string getLogistics()const; + void setLogistics(const std::string& logistics); + + private: + std::string bizId_; + std::string logistics_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_FILLLOGISTICSREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/FillLogisticsResult.h b/trademark/include/alibabacloud/trademark/model/FillLogisticsResult.h new file mode 100644 index 000000000..a73cef004 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/FillLogisticsResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_FILLLOGISTICSRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_FILLLOGISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT FillLogisticsResult : public ServiceResult + { + public: + + + FillLogisticsResult(); + explicit FillLogisticsResult(const std::string &payload); + ~FillLogisticsResult(); + std::string getErrorMsg()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_FILLLOGISTICSRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/FilterUnavailableCodesRequest.h b/trademark/include/alibabacloud/trademark/model/FilterUnavailableCodesRequest.h new file mode 100644 index 000000000..cfc31877d --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/FilterUnavailableCodesRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_FILTERUNAVAILABLECODESREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_FILTERUNAVAILABLECODESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT FilterUnavailableCodesRequest : public RpcServiceRequest + { + + public: + FilterUnavailableCodesRequest(); + ~FilterUnavailableCodesRequest(); + + std::string getCodes()const; + void setCodes(const std::string& codes); + + private: + std::string codes_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_FILTERUNAVAILABLECODESREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/FilterUnavailableCodesResult.h b/trademark/include/alibabacloud/trademark/model/FilterUnavailableCodesResult.h new file mode 100644 index 000000000..8a6a763df --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/FilterUnavailableCodesResult.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_TRADEMARK_MODEL_FILTERUNAVAILABLECODESRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_FILTERUNAVAILABLECODESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT FilterUnavailableCodesResult : public ServiceResult + { + public: + + + FilterUnavailableCodesResult(); + explicit FilterUnavailableCodesResult(const std::string &payload); + ~FilterUnavailableCodesResult(); + std::vector getData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_FILTERUNAVAILABLECODESRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/GenerateQrCodeRequest.h b/trademark/include/alibabacloud/trademark/model/GenerateQrCodeRequest.h new file mode 100644 index 000000000..eabce642a --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/GenerateQrCodeRequest.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_TRADEMARK_MODEL_GENERATEQRCODEREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_GENERATEQRCODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT GenerateQrCodeRequest : public RpcServiceRequest + { + + public: + GenerateQrCodeRequest(); + ~GenerateQrCodeRequest(); + + std::string getOssKey()const; + void setOssKey(const std::string& ossKey); + std::string getFieldKey()const; + void setFieldKey(const std::string& fieldKey); + std::string getUuid()const; + void setUuid(const std::string& uuid); + + private: + std::string ossKey_; + std::string fieldKey_; + std::string uuid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_GENERATEQRCODEREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/GenerateQrCodeResult.h b/trademark/include/alibabacloud/trademark/model/GenerateQrCodeResult.h new file mode 100644 index 000000000..476207fd4 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/GenerateQrCodeResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_GENERATEQRCODERESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_GENERATEQRCODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT GenerateQrCodeResult : public ServiceResult + { + public: + + + GenerateQrCodeResult(); + explicit GenerateQrCodeResult(const std::string &payload); + ~GenerateQrCodeResult(); + std::string getQrcodeUrl()const; + std::string getUuid()const; + long getExpireTime()const; + bool getSuccess()const; + std::string getFieldKey()const; + + protected: + void parse(const std::string &payload); + private: + std::string qrcodeUrl_; + std::string uuid_; + long expireTime_; + bool success_; + std::string fieldKey_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_GENERATEQRCODERESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/GenerateUploadFilePolicyRequest.h b/trademark/include/alibabacloud/trademark/model/GenerateUploadFilePolicyRequest.h new file mode 100644 index 000000000..63fc6e1e6 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/GenerateUploadFilePolicyRequest.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_TRADEMARK_MODEL_GENERATEUPLOADFILEPOLICYREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_GENERATEUPLOADFILEPOLICYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT GenerateUploadFilePolicyRequest : public RpcServiceRequest + { + + public: + GenerateUploadFilePolicyRequest(); + ~GenerateUploadFilePolicyRequest(); + + std::string getFileType()const; + void setFileType(const std::string& fileType); + std::string getBizId()const; + void setBizId(const std::string& bizId); + + private: + std::string fileType_; + std::string bizId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_GENERATEUPLOADFILEPOLICYREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/GenerateUploadFilePolicyResult.h b/trademark/include/alibabacloud/trademark/model/GenerateUploadFilePolicyResult.h new file mode 100644 index 000000000..5e2c204a3 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/GenerateUploadFilePolicyResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_GENERATEUPLOADFILEPOLICYRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_GENERATEUPLOADFILEPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT GenerateUploadFilePolicyResult : public ServiceResult + { + public: + + + GenerateUploadFilePolicyResult(); + explicit GenerateUploadFilePolicyResult(const std::string &payload); + ~GenerateUploadFilePolicyResult(); + std::string getFileDir()const; + std::string getEncodedPolicy()const; + std::string getAccessId()const; + std::string getSignature()const; + std::string getHost()const; + long getExpireTime()const; + + protected: + void parse(const std::string &payload); + private: + std::string fileDir_; + std::string encodedPolicy_; + std::string accessId_; + std::string signature_; + std::string host_; + long expireTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_GENERATEUPLOADFILEPOLICYRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/GetNotaryOrderRequest.h b/trademark/include/alibabacloud/trademark/model/GetNotaryOrderRequest.h new file mode 100644 index 000000000..06b6a9426 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/GetNotaryOrderRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_GETNOTARYORDERREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_GETNOTARYORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT GetNotaryOrderRequest : public RpcServiceRequest + { + + public: + GetNotaryOrderRequest(); + ~GetNotaryOrderRequest(); + + long getNotaryOrderId()const; + void setNotaryOrderId(long notaryOrderId); + + private: + long notaryOrderId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_GETNOTARYORDERREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/GetNotaryOrderResult.h b/trademark/include/alibabacloud/trademark/model/GetNotaryOrderResult.h new file mode 100644 index 000000000..82a532121 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/GetNotaryOrderResult.h @@ -0,0 +1,133 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_GETNOTARYORDERRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_GETNOTARYORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT GetNotaryOrderResult : public ServiceResult + { + public: + + + GetNotaryOrderResult(); + explicit GetNotaryOrderResult(const std::string &payload); + ~GetNotaryOrderResult(); + std::string getTmImage()const; + std::string getTmClassification()const; + std::string getSellerFrontOfIdCard()const; + int getNotaryType()const; + std::string getNotaryPlatformName()const; + int getApplyPostStatus()const; + std::string getNotaryCertificate()const; + bool getSuccess()const; + std::string getName()const; + std::string getLegalPersonName()const; + std::string getBusinessLicenseId()const; + std::string getAliyunOrderId()const; + std::string getCompanyContactPhone()const; + std::string getTmAcceptCertificate()const; + std::string getReceiverPhone()const; + std::string getPhone()const; + std::string getTmRegisterCertificate()const; + long getNotaryAcceptDate()const; + long getNotaryOrderId()const; + std::string getReceiverAddress()const; + long getNotarySucceedDate()const; + std::string getLegalPersonPhone()const; + std::string getNotaryFailedReason()const; + float getOrderPrice()const; + long getNotaryFailedDate()const; + std::string getErrorMsg()const; + std::string getSellerBackOfIdCard()const; + int getNotaryStatus()const; + std::string getSellerCompanyName()const; + long getOrderDate()const; + std::string getType()const; + std::string getBusinessLicense()const; + std::string getReceiverPostalCode()const; + std::string getNotaryPostReceipt()const; + std::string getTmRegisterChangeCertificate()const; + std::string getTmName()const; + std::string getTmRegisterNo()const; + std::string getErrorCode()const; + std::string getLegalPersonIdCard()const; + std::string getCompanyContactName()const; + std::string getReceiverName()const; + std::string getBizId()const; + + protected: + void parse(const std::string &payload); + private: + std::string tmImage_; + std::string tmClassification_; + std::string sellerFrontOfIdCard_; + int notaryType_; + std::string notaryPlatformName_; + int applyPostStatus_; + std::string notaryCertificate_; + bool success_; + std::string name_; + std::string legalPersonName_; + std::string businessLicenseId_; + std::string aliyunOrderId_; + std::string companyContactPhone_; + std::string tmAcceptCertificate_; + std::string receiverPhone_; + std::string phone_; + std::string tmRegisterCertificate_; + long notaryAcceptDate_; + long notaryOrderId_; + std::string receiverAddress_; + long notarySucceedDate_; + std::string legalPersonPhone_; + std::string notaryFailedReason_; + float orderPrice_; + long notaryFailedDate_; + std::string errorMsg_; + std::string sellerBackOfIdCard_; + int notaryStatus_; + std::string sellerCompanyName_; + long orderDate_; + std::string type_; + std::string businessLicense_; + std::string receiverPostalCode_; + std::string notaryPostReceipt_; + std::string tmRegisterChangeCertificate_; + std::string tmName_; + std::string tmRegisterNo_; + std::string errorCode_; + std::string legalPersonIdCard_; + std::string companyContactName_; + std::string receiverName_; + std::string bizId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_GETNOTARYORDERRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/InsertMaterialRequest.h b/trademark/include/alibabacloud/trademark/model/InsertMaterialRequest.h new file mode 100644 index 000000000..c7f506517 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/InsertMaterialRequest.h @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_INSERTMATERIALREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_INSERTMATERIALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT InsertMaterialRequest : public RpcServiceRequest + { + + public: + InsertMaterialRequest(); + ~InsertMaterialRequest(); + + std::string getContactEmail()const; + void setContactEmail(const std::string& contactEmail); + std::string getContactAddress()const; + void setContactAddress(const std::string& contactAddress); + std::string getEAddress()const; + void setEAddress(const std::string& eAddress); + std::string getCountry()const; + void setCountry(const std::string& country); + std::string getLegalNoticeOssKey()const; + void setLegalNoticeOssKey(const std::string& legalNoticeOssKey); + std::string getAddress()const; + void setAddress(const std::string& address); + std::string getTown()const; + void setTown(const std::string& town); + std::string getContactNumber()const; + void setContactNumber(const std::string& contactNumber); + std::string getCity()const; + void setCity(const std::string& city); + std::string getIdCardOssKey()const; + void setIdCardOssKey(const std::string& idCardOssKey); + int getType()const; + void setType(int type); + std::string getContactName()const; + void setContactName(const std::string& contactName); + std::string getPassportOssKey()const; + void setPassportOssKey(const std::string& passportOssKey); + std::string getContactZipcode()const; + void setContactZipcode(const std::string& contactZipcode); + std::string getEName()const; + void setEName(const std::string& eName); + std::string getProvince()const; + void setProvince(const std::string& province); + std::string getBusinessLicenceOssKey()const; + void setBusinessLicenceOssKey(const std::string& businessLicenceOssKey); + std::string getName()const; + void setName(const std::string& name); + std::string getCardNumber()const; + void setCardNumber(const std::string& cardNumber); + int getRegion()const; + void setRegion(int region); + std::string getLoaOssKey()const; + void setLoaOssKey(const std::string& loaOssKey); + + private: + std::string contactEmail_; + std::string contactAddress_; + std::string eAddress_; + std::string country_; + std::string legalNoticeOssKey_; + std::string address_; + std::string town_; + std::string contactNumber_; + std::string city_; + std::string idCardOssKey_; + int type_; + std::string contactName_; + std::string passportOssKey_; + std::string contactZipcode_; + std::string eName_; + std::string province_; + std::string businessLicenceOssKey_; + std::string name_; + std::string cardNumber_; + int region_; + std::string loaOssKey_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_INSERTMATERIALREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/InsertMaterialResult.h b/trademark/include/alibabacloud/trademark/model/InsertMaterialResult.h new file mode 100644 index 000000000..b83695711 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/InsertMaterialResult.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_TRADEMARK_MODEL_INSERTMATERIALRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_INSERTMATERIALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT InsertMaterialResult : public ServiceResult + { + public: + + + InsertMaterialResult(); + explicit InsertMaterialResult(const std::string &payload); + ~InsertMaterialResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_INSERTMATERIALRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/InsertRenewInfoRequest.h b/trademark/include/alibabacloud/trademark/model/InsertRenewInfoRequest.h new file mode 100644 index 000000000..5f66a9e85 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/InsertRenewInfoRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_INSERTRENEWINFOREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_INSERTRENEWINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT InsertRenewInfoRequest : public RpcServiceRequest + { + + public: + InsertRenewInfoRequest(); + ~InsertRenewInfoRequest(); + + std::string getEngName()const; + void setEngName(const std::string& engName); + std::string getAddress()const; + void setAddress(const std::string& address); + long getRegisterTime()const; + void setRegisterTime(long registerTime); + std::string getEngAddress()const; + void setEngAddress(const std::string& engAddress); + std::string getName()const; + void setName(const std::string& name); + + private: + std::string engName_; + std::string address_; + long registerTime_; + std::string engAddress_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_INSERTRENEWINFOREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/InsertRenewInfoResult.h b/trademark/include/alibabacloud/trademark/model/InsertRenewInfoResult.h new file mode 100644 index 000000000..3db9429b5 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/InsertRenewInfoResult.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_TRADEMARK_MODEL_INSERTRENEWINFORESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_INSERTRENEWINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT InsertRenewInfoResult : public ServiceResult + { + public: + + + InsertRenewInfoResult(); + explicit InsertRenewInfoResult(const std::string &payload); + ~InsertRenewInfoResult(); + std::string getErrorMsg()const; + long getId()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + long id_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_INSERTRENEWINFORESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/InsertTmMonitorRuleRequest.h b/trademark/include/alibabacloud/trademark/model/InsertTmMonitorRuleRequest.h new file mode 100644 index 000000000..970d1385e --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/InsertTmMonitorRuleRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_INSERTTMMONITORRULEREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_INSERTTMMONITORRULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT InsertTmMonitorRuleRequest : public RpcServiceRequest + { + + public: + InsertTmMonitorRuleRequest(); + ~InsertTmMonitorRuleRequest(); + + std::string getStartApplyDate()const; + void setStartApplyDate(const std::string& startApplyDate); + std::string getNotifyStatus()const; + void setNotifyStatus(const std::string& notifyStatus); + int getRuleType()const; + void setRuleType(int ruleType); + std::string getRuleSource()const; + void setRuleSource(const std::string& ruleSource); + std::string getRuleName()const; + void setRuleName(const std::string& ruleName); + std::string getEndApplyDate()const; + void setEndApplyDate(const std::string& endApplyDate); + std::string getClassification()const; + void setClassification(const std::string& classification); + std::string getRuleKeyword()const; + void setRuleKeyword(const std::string& ruleKeyword); + + private: + std::string startApplyDate_; + std::string notifyStatus_; + int ruleType_; + std::string ruleSource_; + std::string ruleName_; + std::string endApplyDate_; + std::string classification_; + std::string ruleKeyword_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_INSERTTMMONITORRULEREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/InsertTmMonitorRuleResult.h b/trademark/include/alibabacloud/trademark/model/InsertTmMonitorRuleResult.h new file mode 100644 index 000000000..952630481 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/InsertTmMonitorRuleResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_INSERTTMMONITORRULERESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_INSERTTMMONITORRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT InsertTmMonitorRuleResult : public ServiceResult + { + public: + + + InsertTmMonitorRuleResult(); + explicit InsertTmMonitorRuleResult(const std::string &payload); + ~InsertTmMonitorRuleResult(); + std::string getErrorMsg()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_INSERTTMMONITORRULERESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/InsertTradeIntentionUserRequest.h b/trademark/include/alibabacloud/trademark/model/InsertTradeIntentionUserRequest.h new file mode 100644 index 000000000..c2ebd8d47 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/InsertTradeIntentionUserRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_INSERTTRADEINTENTIONUSERREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_INSERTTRADEINTENTIONUSERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT InsertTradeIntentionUserRequest : public RpcServiceRequest + { + + public: + InsertTradeIntentionUserRequest(); + ~InsertTradeIntentionUserRequest(); + + std::string getMobile()const; + void setMobile(const std::string& mobile); + std::string getPartnerCode()const; + void setPartnerCode(const std::string& partnerCode); + std::string getClassification()const; + void setClassification(const std::string& classification); + int getType()const; + void setType(int type); + std::string getRegisterNumber()const; + void setRegisterNumber(const std::string& registerNumber); + std::string getVcode()const; + void setVcode(const std::string& vcode); + std::string getUserName()const; + void setUserName(const std::string& userName); + + private: + std::string mobile_; + std::string partnerCode_; + std::string classification_; + int type_; + std::string registerNumber_; + std::string vcode_; + std::string userName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_INSERTTRADEINTENTIONUSERREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/InsertTradeIntentionUserResult.h b/trademark/include/alibabacloud/trademark/model/InsertTradeIntentionUserResult.h new file mode 100644 index 000000000..f23d146a8 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/InsertTradeIntentionUserResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_INSERTTRADEINTENTIONUSERRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_INSERTTRADEINTENTIONUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT InsertTradeIntentionUserResult : public ServiceResult + { + public: + + + InsertTradeIntentionUserResult(); + explicit InsertTradeIntentionUserResult(const std::string &payload); + ~InsertTradeIntentionUserResult(); + std::string getErrorMsg()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_INSERTTRADEINTENTIONUSERRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/ListNotaryInfosRequest.h b/trademark/include/alibabacloud/trademark/model/ListNotaryInfosRequest.h new file mode 100644 index 000000000..89339f460 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/ListNotaryInfosRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_LISTNOTARYINFOSREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_LISTNOTARYINFOSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT ListNotaryInfosRequest : public RpcServiceRequest + { + + public: + ListNotaryInfosRequest(); + ~ListNotaryInfosRequest(); + + std::string getBizOrderNo()const; + void setBizOrderNo(const std::string& bizOrderNo); + int getNotaryType()const; + void setNotaryType(int notaryType); + int getPageSize()const; + void setPageSize(int pageSize); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getToken()const; + void setToken(const std::string& token); + + private: + std::string bizOrderNo_; + int notaryType_; + int pageSize_; + int pageNum_; + std::string token_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_LISTNOTARYINFOSREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/ListNotaryInfosResult.h b/trademark/include/alibabacloud/trademark/model/ListNotaryInfosResult.h new file mode 100644 index 000000000..5039b8223 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/ListNotaryInfosResult.h @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_LISTNOTARYINFOSRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_LISTNOTARYINFOSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT ListNotaryInfosResult : public ServiceResult + { + public: + struct NotaryInfo + { + std::string tmClassification; + std::string notaryFailedReason; + long gmtModified; + std::string bizOrderNo; + std::string token; + std::string tmRegisterNo; + int notaryStatus; + }; + + + ListNotaryInfosResult(); + explicit ListNotaryInfosResult(const std::string &payload); + ~ListNotaryInfosResult(); + bool getPrePage()const; + int getCurrentPageNum()const; + int getPageSize()const; + int getTotalPageNum()const; + std::string getErrorMsg()const; + std::vector getData()const; + std::string getErrorCode()const; + int getTotalItemNum()const; + bool getNextPage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool prePage_; + int currentPageNum_; + int pageSize_; + int totalPageNum_; + std::string errorMsg_; + std::vector data_; + std::string errorCode_; + int totalItemNum_; + bool nextPage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_LISTNOTARYINFOSRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/ListNotaryOrdersRequest.h b/trademark/include/alibabacloud/trademark/model/ListNotaryOrdersRequest.h new file mode 100644 index 000000000..e57c4f1b0 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/ListNotaryOrdersRequest.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_TRADEMARK_MODEL_LISTNOTARYORDERSREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_LISTNOTARYORDERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT ListNotaryOrdersRequest : public RpcServiceRequest + { + + public: + ListNotaryOrdersRequest(); + ~ListNotaryOrdersRequest(); + + int getSortKeyType()const; + void setSortKeyType(int sortKeyType); + std::string getSortByType()const; + void setSortByType(const std::string& sortByType); + long getStartOrderDate()const; + void setStartOrderDate(long startOrderDate); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getBizId()const; + void setBizId(const std::string& bizId); + int getNotaryType()const; + void setNotaryType(int notaryType); + long getEndOrderDate()const; + void setEndOrderDate(long endOrderDate); + std::string getAliyunOrderId()const; + void setAliyunOrderId(const std::string& aliyunOrderId); + int getPageNum()const; + void setPageNum(int pageNum); + int getNotaryStatus()const; + void setNotaryStatus(int notaryStatus); + + private: + int sortKeyType_; + std::string sortByType_; + long startOrderDate_; + int pageSize_; + std::string bizId_; + int notaryType_; + long endOrderDate_; + std::string aliyunOrderId_; + int pageNum_; + int notaryStatus_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_LISTNOTARYORDERSREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/ListNotaryOrdersResult.h b/trademark/include/alibabacloud/trademark/model/ListNotaryOrdersResult.h new file mode 100644 index 000000000..bfb747c38 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/ListNotaryOrdersResult.h @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_LISTNOTARYORDERSRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_LISTNOTARYORDERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT ListNotaryOrdersResult : public ServiceResult + { + public: + struct NotaryOrder + { + long notaryOrderId; + std::string tmImage; + std::string tmClassification; + int notaryType; + std::string notaryPlatformName; + std::string applyPostStatus; + float orderPrice; + long gmtModified; + std::string notaryCertificate; + int notaryStatus; + long orderDate; + std::string aliyunOrderId; + std::string tmName; + std::string tmRegisterNo; + std::string bizId; + }; + + + ListNotaryOrdersResult(); + explicit ListNotaryOrdersResult(const std::string &payload); + ~ListNotaryOrdersResult(); + bool getPrePage()const; + int getCurrentPageNum()const; + int getPageSize()const; + int getTotalPageNum()const; + std::string getErrorMsg()const; + std::vector getData()const; + std::string getErrorCode()const; + int getTotalItemNum()const; + bool getNextPage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool prePage_; + int currentPageNum_; + int pageSize_; + int totalPageNum_; + std::string errorMsg_; + std::vector data_; + std::string errorCode_; + int totalItemNum_; + bool nextPage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_LISTNOTARYORDERSRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryCommunicationLogsRequest.h b/trademark/include/alibabacloud/trademark/model/QueryCommunicationLogsRequest.h new file mode 100644 index 000000000..cf773130b --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryCommunicationLogsRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_QUERYCOMMUNICATIONLOGSREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYCOMMUNICATIONLOGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryCommunicationLogsRequest : public RpcServiceRequest + { + + public: + QueryCommunicationLogsRequest(); + ~QueryCommunicationLogsRequest(); + + std::string getBizId()const; + void setBizId(const std::string& bizId); + + private: + std::string bizId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYCOMMUNICATIONLOGSREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryCommunicationLogsResult.h b/trademark/include/alibabacloud/trademark/model/QueryCommunicationLogsResult.h new file mode 100644 index 000000000..9b70bf236 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryCommunicationLogsResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYCOMMUNICATIONLOGSRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYCOMMUNICATIONLOGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryCommunicationLogsResult : public ServiceResult + { + public: + struct TaskList + { + std::string note; + long createTime; + long updateTime; + std::string bizId; + std::string partnerCode; + }; + + + QueryCommunicationLogsResult(); + explicit QueryCommunicationLogsResult(const std::string &payload); + ~QueryCommunicationLogsResult(); + std::vector getData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYCOMMUNICATIONLOGSRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryCredentialsInfoRequest.h b/trademark/include/alibabacloud/trademark/model/QueryCredentialsInfoRequest.h new file mode 100644 index 000000000..8995e05f2 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryCredentialsInfoRequest.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_TRADEMARK_MODEL_QUERYCREDENTIALSINFOREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYCREDENTIALSINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryCredentialsInfoRequest : public RpcServiceRequest + { + + public: + QueryCredentialsInfoRequest(); + ~QueryCredentialsInfoRequest(); + + std::string getOssKey()const; + void setOssKey(const std::string& ossKey); + std::string getMaterialType()const; + void setMaterialType(const std::string& materialType); + std::string getCompanyName()const; + void setCompanyName(const std::string& companyName); + + private: + std::string ossKey_; + std::string materialType_; + std::string companyName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYCREDENTIALSINFOREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryCredentialsInfoResult.h b/trademark/include/alibabacloud/trademark/model/QueryCredentialsInfoResult.h new file mode 100644 index 000000000..0d30c92f4 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryCredentialsInfoResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYCREDENTIALSINFORESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYCREDENTIALSINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryCredentialsInfoResult : public ServiceResult + { + public: + struct CredentialsInfo + { + std::string cardNumber; + std::string companyName; + std::string personName; + std::string address; + std::string province; + }; + + + QueryCredentialsInfoResult(); + explicit QueryCredentialsInfoResult(const std::string &payload); + ~QueryCredentialsInfoResult(); + CredentialsInfo getCredentialsInfo()const; + + protected: + void parse(const std::string &payload); + private: + CredentialsInfo credentialsInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYCREDENTIALSINFORESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryMaterialListRequest.h b/trademark/include/alibabacloud/trademark/model/QueryMaterialListRequest.h new file mode 100644 index 000000000..69371ed46 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryMaterialListRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYMATERIALLISTREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYMATERIALLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryMaterialListRequest : public RpcServiceRequest + { + + public: + QueryMaterialListRequest(); + ~QueryMaterialListRequest(); + + std::string getName()const; + void setName(const std::string& name); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getCardNumber()const; + void setCardNumber(const std::string& cardNumber); + int getType()const; + void setType(int type); + int getRegion()const; + void setRegion(int region); + int getPageNum()const; + void setPageNum(int pageNum); + int getStatus()const; + void setStatus(int status); + + private: + std::string name_; + int pageSize_; + std::string cardNumber_; + int type_; + int region_; + int pageNum_; + int status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYMATERIALLISTREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryMaterialListResult.h b/trademark/include/alibabacloud/trademark/model/QueryMaterialListResult.h new file mode 100644 index 000000000..5df5375db --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryMaterialListResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYMATERIALLISTRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYMATERIALLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryMaterialListResult : public ServiceResult + { + public: + struct Trademark + { + int status; + std::string cardNumber; + int type; + int loaStatus; + std::string loaKey; + int region; + long id; + std::string contactName; + std::string name; + }; + + + QueryMaterialListResult(); + explicit QueryMaterialListResult(const std::string &payload); + ~QueryMaterialListResult(); + int getCurrentPageNum()const; + int getPageSize()const; + int getTotalPageNum()const; + std::vector getData()const; + int getTotalItemNum()const; + + protected: + void parse(const std::string &payload); + private: + int currentPageNum_; + int pageSize_; + int totalPageNum_; + std::vector data_; + int totalItemNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYMATERIALLISTRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryMaterialRequest.h b/trademark/include/alibabacloud/trademark/model/QueryMaterialRequest.h new file mode 100644 index 000000000..96716a440 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryMaterialRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_QUERYMATERIALREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYMATERIALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryMaterialRequest : public RpcServiceRequest + { + + public: + QueryMaterialRequest(); + ~QueryMaterialRequest(); + + long getId()const; + void setId(long id); + + private: + long id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYMATERIALREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryMaterialResult.h b/trademark/include/alibabacloud/trademark/model/QueryMaterialResult.h new file mode 100644 index 000000000..1c7685173 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryMaterialResult.h @@ -0,0 +1,101 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYMATERIALRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYMATERIALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryMaterialResult : public ServiceResult + { + public: + + + QueryMaterialResult(); + explicit QueryMaterialResult(const std::string &payload); + ~QueryMaterialResult(); + std::string getCardNumber()const; + std::string getEName()const; + std::string getAddress()const; + std::string getLoaUrl()const; + std::string getPassportUrl()const; + std::string getName()const; + int getLoaStatus()const; + std::string getTown()const; + std::string getContactNumber()const; + std::string getLegalNoticeUrl()const; + std::string getContactAddress()const; + int getStatus()const; + std::string getCity()const; + std::string getProvince()const; + std::string getEAddress()const; + std::string getIdCardUrl()const; + int getType()const; + std::string getBusinessLicenceUrl()const; + long getExpirationDate()const; + std::string getContactZipcode()const; + std::string getNote()const; + int getRegion()const; + std::string getContactEmail()const; + std::string getCountry()const; + long getId()const; + std::string getContactName()const; + + protected: + void parse(const std::string &payload); + private: + std::string cardNumber_; + std::string eName_; + std::string address_; + std::string loaUrl_; + std::string passportUrl_; + std::string name_; + int loaStatus_; + std::string town_; + std::string contactNumber_; + std::string legalNoticeUrl_; + std::string contactAddress_; + int status_; + std::string city_; + std::string province_; + std::string eAddress_; + std::string idCardUrl_; + int type_; + std::string businessLicenceUrl_; + long expirationDate_; + std::string contactZipcode_; + std::string note_; + int region_; + std::string contactEmail_; + std::string country_; + long id_; + std::string contactName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYMATERIALRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryMonitorKeywordsRequest.h b/trademark/include/alibabacloud/trademark/model/QueryMonitorKeywordsRequest.h new file mode 100644 index 000000000..ed412ee07 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryMonitorKeywordsRequest.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_TRADEMARK_MODEL_QUERYMONITORKEYWORDSREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYMONITORKEYWORDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryMonitorKeywordsRequest : public RpcServiceRequest + { + + public: + QueryMonitorKeywordsRequest(); + ~QueryMonitorKeywordsRequest(); + + std::vector getKeywords()const; + void setKeywords(const std::vector& keywords); + int getRuleType()const; + void setRuleType(int ruleType); + + private: + std::vector keywords_; + int ruleType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYMONITORKEYWORDSREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryMonitorKeywordsResult.h b/trademark/include/alibabacloud/trademark/model/QueryMonitorKeywordsResult.h new file mode 100644 index 000000000..0291b18b8 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryMonitorKeywordsResult.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_TRADEMARK_MODEL_QUERYMONITORKEYWORDSRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYMONITORKEYWORDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryMonitorKeywordsResult : public ServiceResult + { + public: + + + QueryMonitorKeywordsResult(); + explicit QueryMonitorKeywordsResult(const std::string &payload); + ~QueryMonitorKeywordsResult(); + std::vector getData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYMONITORKEYWORDSRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryOssResourcesRequest.h b/trademark/include/alibabacloud/trademark/model/QueryOssResourcesRequest.h new file mode 100644 index 000000000..f02a2ad42 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryOssResourcesRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_QUERYOSSRESOURCESREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYOSSRESOURCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryOssResourcesRequest : public RpcServiceRequest + { + + public: + QueryOssResourcesRequest(); + ~QueryOssResourcesRequest(); + + std::string getBizId()const; + void setBizId(const std::string& bizId); + + private: + std::string bizId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYOSSRESOURCESREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryOssResourcesResult.h b/trademark/include/alibabacloud/trademark/model/QueryOssResourcesResult.h new file mode 100644 index 000000000..5584f9d2f --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryOssResourcesResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYOSSRESOURCESRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYOSSRESOURCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryOssResourcesResult : public ServiceResult + { + public: + struct TaskList + { + long createTime; + std::string ossUrl; + long updateTime; + std::string bizId; + std::string name; + }; + + + QueryOssResourcesResult(); + explicit QueryOssResourcesResult(const std::string &payload); + ~QueryOssResourcesResult(); + std::vector getData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYOSSRESOURCESRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryQrCodeUploadStatusRequest.h b/trademark/include/alibabacloud/trademark/model/QueryQrCodeUploadStatusRequest.h new file mode 100644 index 000000000..5a65252b9 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryQrCodeUploadStatusRequest.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_TRADEMARK_MODEL_QUERYQRCODEUPLOADSTATUSREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYQRCODEUPLOADSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryQrCodeUploadStatusRequest : public RpcServiceRequest + { + + public: + QueryQrCodeUploadStatusRequest(); + ~QueryQrCodeUploadStatusRequest(); + + std::string getOssKey()const; + void setOssKey(const std::string& ossKey); + std::string getFieldKey()const; + void setFieldKey(const std::string& fieldKey); + std::string getUuid()const; + void setUuid(const std::string& uuid); + + private: + std::string ossKey_; + std::string fieldKey_; + std::string uuid_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYQRCODEUPLOADSTATUSREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryQrCodeUploadStatusResult.h b/trademark/include/alibabacloud/trademark/model/QueryQrCodeUploadStatusResult.h new file mode 100644 index 000000000..dd0343200 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryQrCodeUploadStatusResult.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_TRADEMARK_MODEL_QUERYQRCODEUPLOADSTATUSRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYQRCODEUPLOADSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryQrCodeUploadStatusResult : public ServiceResult + { + public: + + + QueryQrCodeUploadStatusResult(); + explicit QueryQrCodeUploadStatusResult(const std::string &payload); + ~QueryQrCodeUploadStatusResult(); + int getStatus()const; + std::string getOssKey()const; + std::string getOssUrl()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int status_; + std::string ossKey_; + std::string ossUrl_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYQRCODEUPLOADSTATUSRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QuerySupplementDetailRequest.h b/trademark/include/alibabacloud/trademark/model/QuerySupplementDetailRequest.h new file mode 100644 index 000000000..7ce2929f7 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QuerySupplementDetailRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_QUERYSUPPLEMENTDETAILREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYSUPPLEMENTDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QuerySupplementDetailRequest : public RpcServiceRequest + { + + public: + QuerySupplementDetailRequest(); + ~QuerySupplementDetailRequest(); + + long getId()const; + void setId(long id); + + private: + long id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYSUPPLEMENTDETAILREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QuerySupplementDetailResult.h b/trademark/include/alibabacloud/trademark/model/QuerySupplementDetailResult.h new file mode 100644 index 000000000..df14c09e5 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QuerySupplementDetailResult.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_TRADEMARK_MODEL_QUERYSUPPLEMENTDETAILRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYSUPPLEMENTDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QuerySupplementDetailResult : public ServiceResult + { + public: + + + QuerySupplementDetailResult(); + explicit QuerySupplementDetailResult(const std::string &payload); + ~QuerySupplementDetailResult(); + int getStatus()const; + long getSendTime()const; + long getSbjDeadTime()const; + std::string getTmNumber()const; + long getOperateTime()const; + std::string getUploadFileTemplateUrl()const; + int getType()const; + std::string getSerialNumber()const; + std::string getContent()const; + long getAcceptDeadTime()const; + std::vector getFileTemplateUrls()const; + long getAcceptTime()const; + long getId()const; + + protected: + void parse(const std::string &payload); + private: + int status_; + long sendTime_; + long sbjDeadTime_; + std::string tmNumber_; + long operateTime_; + std::string uploadFileTemplateUrl_; + int type_; + std::string serialNumber_; + std::string content_; + long acceptDeadTime_; + std::vector fileTemplateUrls_; + long acceptTime_; + long id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYSUPPLEMENTDETAILRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTaskListRequest.h b/trademark/include/alibabacloud/trademark/model/QueryTaskListRequest.h new file mode 100644 index 000000000..7a73b83cd --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTaskListRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_QUERYTASKLISTREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTASKLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTaskListRequest : public RpcServiceRequest + { + + public: + QueryTaskListRequest(); + ~QueryTaskListRequest(); + + std::string getBizType()const; + void setBizType(const std::string& bizType); + + private: + std::string bizType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTASKLISTREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTaskListResult.h b/trademark/include/alibabacloud/trademark/model/QueryTaskListResult.h new file mode 100644 index 000000000..240936e81 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTaskListResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYTASKLISTRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTASKLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTaskListResult : public ServiceResult + { + public: + struct TaskList + { + std::string errMsg; + std::string taskType; + std::string taskStatus; + std::string result; + }; + + + QueryTaskListResult(); + explicit QueryTaskListResult(const std::string &payload); + ~QueryTaskListResult(); + std::vector getData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTASKLISTRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTradeIntentionUserListRequest.h b/trademark/include/alibabacloud/trademark/model/QueryTradeIntentionUserListRequest.h new file mode 100644 index 000000000..847e92e0e --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTradeIntentionUserListRequest.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_TRADEMARK_MODEL_QUERYTRADEINTENTIONUSERLISTREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEINTENTIONUSERLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTradeIntentionUserListRequest : public RpcServiceRequest + { + + public: + QueryTradeIntentionUserListRequest(); + ~QueryTradeIntentionUserListRequest(); + + long getEnd()const; + void setEnd(long end); + long getBegin()const; + void setBegin(long begin); + + private: + long end_; + long begin_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEINTENTIONUSERLISTREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTradeIntentionUserListResult.h b/trademark/include/alibabacloud/trademark/model/QueryTradeIntentionUserListResult.h new file mode 100644 index 000000000..a5dcf6d7b --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTradeIntentionUserListResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEINTENTIONUSERLISTRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEINTENTIONUSERLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTradeIntentionUserListResult : public ServiceResult + { + public: + struct Trademark + { + std::string registerNumber; + std::string userName; + std::string userId; + std::string classification; + long id; + int mobile; + }; + + + QueryTradeIntentionUserListResult(); + explicit QueryTradeIntentionUserListResult(const std::string &payload); + ~QueryTradeIntentionUserListResult(); + int getCurrentPageNum()const; + int getPageSize()const; + int getTotalPageNum()const; + std::vector getData()const; + int getTotalItemNum()const; + + protected: + void parse(const std::string &payload); + private: + int currentPageNum_; + int pageSize_; + int totalPageNum_; + std::vector data_; + int totalItemNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEINTENTIONUSERLISTRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationDetailRequest.h b/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationDetailRequest.h new file mode 100644 index 000000000..da59cdcb6 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationDetailRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONDETAILREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTradeMarkApplicationDetailRequest : public RpcServiceRequest + { + + public: + QueryTradeMarkApplicationDetailRequest(); + ~QueryTradeMarkApplicationDetailRequest(); + + std::string getBizId()const; + void setBizId(const std::string& bizId); + + private: + std::string bizId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONDETAILREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationDetailResult.h b/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationDetailResult.h new file mode 100644 index 000000000..aa3579419 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationDetailResult.h @@ -0,0 +1,173 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONDETAILRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTradeMarkApplicationDetailResult : public ServiceResult + { + public: + struct AdminUploads + { + std::string loaPicUrl; + std::string licensePicUrl; + }; + struct MaterialDetail + { + std::string cardNumber; + std::string contactAddress; + int status; + std::string eName; + std::string address; + std::string loaUrl; + std::string city; + std::string passportUrl; + std::string province; + std::string eAddress; + std::string name; + std::string idCardUrl; + std::string businessLicenceUrl; + int type; + std::string expirationDate; + std::string contactZipcode; + std::string town; + std::string contactNumber; + std::string contactEmail; + std::string country; + int region; + std::string legalNoticeUrl; + std::string contactName; + }; + struct FirstClassification + { + std::string code; + std::string name; + }; + struct RenewResponse + { + long registerTime; + long submitSbjtime; + std::string address; + std::string engName; + std::string engAddress; + std::string name; + }; + struct ThirdClassifications + { + std::string code; + std::string name; + }; + struct SupplementsItem + { + int status; + long sendTime; + long sbjDeadTime; + std::string tmNumber; + std::string orderId; + std::string uploadFileTemplateUrl; + long operateTime; + int type; + std::string batchNum; + std::string serialNumber; + std::string content; + long acceptDeadTime; + std::vector fileTemplateUrls; + long acceptTime; + long id; + }; + + + QueryTradeMarkApplicationDetailResult(); + explicit QueryTradeMarkApplicationDetailResult(const std::string &payload); + ~QueryTradeMarkApplicationDetailResult(); + FirstClassification getFirstClassification()const; + std::vector getJudgeResultUrl()const; + std::string getLoaUrl()const; + std::vector getReceiptUrl()const; + std::string getTmIcon()const; + std::string getAcceptUrl()const; + std::string getSendSbjLogistics()const; + int getTmNameType()const; + std::string getSendUserLogistics()const; + std::string getGrayIconUrl()const; + AdminUploads getAdminUploads()const; + std::vector getThirdClassification()const; + std::string getExtendInfo()const; + int getStatus()const; + long getMaterialId()const; + RenewResponse getRenewResponse()const; + MaterialDetail getMaterialDetail()const; + std::string getTmNumber()const; + long getCreateTime()const; + int getOrderPrice()const; + std::string getOrderId()const; + std::vector getSupplements()const; + int getType()const; + std::string getRecvUserLogistics()const; + std::string getNote()const; + std::string getTmName()const; + long getUpdateTime()const; + std::string getBizId()const; + + protected: + void parse(const std::string &payload); + private: + FirstClassification firstClassification_; + std::vector judgeResultUrl_; + std::string loaUrl_; + std::vector receiptUrl_; + std::string tmIcon_; + std::string acceptUrl_; + std::string sendSbjLogistics_; + int tmNameType_; + std::string sendUserLogistics_; + std::string grayIconUrl_; + AdminUploads adminUploads_; + std::vector thirdClassification_; + std::string extendInfo_; + int status_; + long materialId_; + RenewResponse renewResponse_; + MaterialDetail materialDetail_; + std::string tmNumber_; + long createTime_; + int orderPrice_; + std::string orderId_; + std::vector supplements_; + int type_; + std::string recvUserLogistics_; + std::string note_; + std::string tmName_; + long updateTime_; + std::string bizId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONDETAILRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationLogsRequest.h b/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationLogsRequest.h new file mode 100644 index 000000000..fa0489f97 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationLogsRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONLOGSREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONLOGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTradeMarkApplicationLogsRequest : public RpcServiceRequest + { + + public: + QueryTradeMarkApplicationLogsRequest(); + ~QueryTradeMarkApplicationLogsRequest(); + + std::string getBizId()const; + void setBizId(const std::string& bizId); + + private: + std::string bizId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONLOGSREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationLogsResult.h b/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationLogsResult.h new file mode 100644 index 000000000..7392f4393 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationLogsResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONLOGSRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONLOGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTradeMarkApplicationLogsResult : public ServiceResult + { + public: + struct DataItem + { + long operateTime; + std::string note; + std::string bizId; + int operateType; + int bizStatus; + }; + + + QueryTradeMarkApplicationLogsResult(); + explicit QueryTradeMarkApplicationLogsResult(const std::string &payload); + ~QueryTradeMarkApplicationLogsResult(); + std::vector getData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONLOGSRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationsRequest.h b/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationsRequest.h new file mode 100644 index 000000000..1e70b5a71 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationsRequest.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONSREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTradeMarkApplicationsRequest : public RpcServiceRequest + { + + public: + QueryTradeMarkApplicationsRequest(); + ~QueryTradeMarkApplicationsRequest(); + + std::string getTmName()const; + void setTmName(const std::string& tmName); + std::string getMaterialName()const; + void setMaterialName(const std::string& materialName); + std::string getOrderId()const; + void setOrderId(const std::string& orderId); + int getSupplementStatus()const; + void setSupplementStatus(int supplementStatus); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getBizId()const; + void setBizId(const std::string& bizId); + std::string getTmNumber()const; + void setTmNumber(const std::string& tmNumber); + std::string getSortOrder()const; + void setSortOrder(const std::string& sortOrder); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getType()const; + void setType(const std::string& type); + int getStatus()const; + void setStatus(int status); + + private: + std::string tmName_; + std::string materialName_; + std::string orderId_; + int supplementStatus_; + int pageSize_; + std::string bizId_; + std::string tmNumber_; + std::string sortOrder_; + int pageNum_; + std::string type_; + int status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONSREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationsResult.h b/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationsResult.h new file mode 100644 index 000000000..0e41b107a --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTradeMarkApplicationsResult.h @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONSRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTradeMarkApplicationsResult : public ServiceResult + { + public: + struct TmProduces + { + struct FirstClassification + { + std::string classificationCode; + std::string classificationName; + }; + struct RenewResponse + { + long registerTime; + long submitSbjtime; + std::string address; + std::string engName; + std::string engAddress; + std::string name; + }; + struct ThirdClassifications + { + std::string classificationCode; + std::string classificationName; + }; + int status; + long materialId; + FirstClassification firstClassification; + RenewResponse renewResponse; + std::string tmNumber; + long createTime; + float orderPrice; + std::string loaUrl; + std::string tmIcon; + std::vector flags; + std::string orderId; + int supplementStatus; + int type; + long supplementId; + std::string userId; + std::string note; + std::string tmName; + long updateTime; + std::string materialName; + std::string bizId; + std::vector thirdClassification; + }; + + + QueryTradeMarkApplicationsResult(); + explicit QueryTradeMarkApplicationsResult(const std::string &payload); + ~QueryTradeMarkApplicationsResult(); + int getCurrentPageNum()const; + int getPageSize()const; + int getTotalPageNum()const; + std::vector getData()const; + int getTotalItemNum()const; + + protected: + void parse(const std::string &payload); + private: + int currentPageNum_; + int pageSize_; + int totalPageNum_; + std::vector data_; + int totalItemNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKAPPLICATIONSRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTradeProduceDetailRequest.h b/trademark/include/alibabacloud/trademark/model/QueryTradeProduceDetailRequest.h new file mode 100644 index 000000000..615befc08 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTradeProduceDetailRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_QUERYTRADEPRODUCEDETAILREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEPRODUCEDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTradeProduceDetailRequest : public RpcServiceRequest + { + + public: + QueryTradeProduceDetailRequest(); + ~QueryTradeProduceDetailRequest(); + + std::string getBizId()const; + void setBizId(const std::string& bizId); + + private: + std::string bizId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEPRODUCEDETAILREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTradeProduceDetailResult.h b/trademark/include/alibabacloud/trademark/model/QueryTradeProduceDetailResult.h new file mode 100644 index 000000000..5eebf31db --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTradeProduceDetailResult.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_TRADEMARK_MODEL_QUERYTRADEPRODUCEDETAILRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEPRODUCEDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTradeProduceDetailResult : public ServiceResult + { + public: + struct Data + { + float preAmount; + long createTime; + float confiscateAmount; + int buyerStatus; + float refundAmount; + std::string operateNote; + float finalAmount; + std::string preOrderId; + float paidAmount; + bool allowCancel; + std::string registerNumber; + std::string thirdCode; + std::string extend; + std::string userId; + std::string classification; + long updateTime; + std::string tmName; + std::string icon; + std::string bizId; + std::string share; + std::string exclusiveDateLimit; + }; + + + QueryTradeProduceDetailResult(); + explicit QueryTradeProduceDetailResult(const std::string &payload); + ~QueryTradeProduceDetailResult(); + Data getData()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEPRODUCEDETAILRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTradeProduceListRequest.h b/trademark/include/alibabacloud/trademark/model/QueryTradeProduceListRequest.h new file mode 100644 index 000000000..5bebea029 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTradeProduceListRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEPRODUCELISTREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEPRODUCELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTradeProduceListRequest : public RpcServiceRequest + { + + public: + QueryTradeProduceListRequest(); + ~QueryTradeProduceListRequest(); + + int getBuyerStatus()const; + void setBuyerStatus(int buyerStatus); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getPreOrderId()const; + void setPreOrderId(const std::string& preOrderId); + std::string getBizId()const; + void setBizId(const std::string& bizId); + std::string getSortOrder()const; + void setSortOrder(const std::string& sortOrder); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getSortFiled()const; + void setSortFiled(const std::string& sortFiled); + std::string getRegisterNumber()const; + void setRegisterNumber(const std::string& registerNumber); + + private: + int buyerStatus_; + int pageSize_; + std::string preOrderId_; + std::string bizId_; + std::string sortOrder_; + int pageNum_; + std::string sortFiled_; + std::string registerNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEPRODUCELISTREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTradeProduceListResult.h b/trademark/include/alibabacloud/trademark/model/QueryTradeProduceListResult.h new file mode 100644 index 000000000..89b2a00ab --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTradeProduceListResult.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_TRADEMARK_MODEL_QUERYTRADEPRODUCELISTRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEPRODUCELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTradeProduceListResult : public ServiceResult + { + public: + struct TradeProduces + { + int preAmount; + long createTime; + int buyerStatus; + std::string operateNote; + int finalAmount; + std::string preOrderId; + bool allowCancel; + std::string registerNumber; + std::string userId; + std::string classification; + long updateTime; + std::string icon; + std::string bizId; + }; + + + QueryTradeProduceListResult(); + explicit QueryTradeProduceListResult(const std::string &payload); + ~QueryTradeProduceListResult(); + int getCurrentPageNum()const; + int getPageSize()const; + int getTotalPageNum()const; + std::vector getData()const; + int getTotalItemNum()const; + + protected: + void parse(const std::string &payload); + private: + int currentPageNum_; + int pageSize_; + int totalPageNum_; + std::vector data_; + int totalItemNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEPRODUCELISTRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTrademarkMonitorResultsRequest.h b/trademark/include/alibabacloud/trademark/model/QueryTrademarkMonitorResultsRequest.h new file mode 100644 index 000000000..d0e322691 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTrademarkMonitorResultsRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKMONITORRESULTSREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKMONITORRESULTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTrademarkMonitorResultsRequest : public RpcServiceRequest + { + + public: + QueryTrademarkMonitorResultsRequest(); + ~QueryTrademarkMonitorResultsRequest(); + + int getActionType()const; + void setActionType(int actionType); + std::string getTmName()const; + void setTmName(const std::string& tmName); + std::string getApplyYear()const; + void setApplyYear(const std::string& applyYear); + int getPageSize()const; + void setPageSize(int pageSize); + int getProcedureStatus()const; + void setProcedureStatus(int procedureStatus); + long getRuleId()const; + void setRuleId(long ruleId); + std::string getClassification()const; + void setClassification(const std::string& classification); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getRegistrationNumber()const; + void setRegistrationNumber(const std::string& registrationNumber); + + private: + int actionType_; + std::string tmName_; + std::string applyYear_; + int pageSize_; + int procedureStatus_; + long ruleId_; + std::string classification_; + int pageNum_; + std::string registrationNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKMONITORRESULTSREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTrademarkMonitorResultsResult.h b/trademark/include/alibabacloud/trademark/model/QueryTrademarkMonitorResultsResult.h new file mode 100644 index 000000000..fb6d410db --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTrademarkMonitorResultsResult.h @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKMONITORRESULTSRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKMONITORRESULTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTrademarkMonitorResultsResult : public ServiceResult + { + public: + struct TmMonitorResult + { + std::string tmImage; + std::string tmProcedureStatusDesc; + std::string ownerName; + long dataUpdateTime; + std::string tmUid; + std::string ruleId; + std::string ownerEnName; + std::string chesanEndDate; + std::string wuxiaoEndDate; + std::string applyDate; + std::string xuzhanEndDate; + std::string yiyiEndDate; + std::string userId; + long dataCreateTime; + std::string classification; + std::string tmName; + std::string registrationNumber; + }; + + + QueryTrademarkMonitorResultsResult(); + explicit QueryTrademarkMonitorResultsResult(const std::string &payload); + ~QueryTrademarkMonitorResultsResult(); + bool getPrePage()const; + int getCurrentPageNum()const; + int getPageSize()const; + int getTotalPageNum()const; + std::vector getData()const; + int getTotalItemNum()const; + bool getNextPage()const; + + protected: + void parse(const std::string &payload); + private: + bool prePage_; + int currentPageNum_; + int pageSize_; + int totalPageNum_; + std::vector data_; + int totalItemNum_; + bool nextPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKMONITORRESULTSRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTrademarkMonitorRulesRequest.h b/trademark/include/alibabacloud/trademark/model/QueryTrademarkMonitorRulesRequest.h new file mode 100644 index 000000000..dd7b17a27 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTrademarkMonitorRulesRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKMONITORRULESREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKMONITORRULESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTrademarkMonitorRulesRequest : public RpcServiceRequest + { + + public: + QueryTrademarkMonitorRulesRequest(); + ~QueryTrademarkMonitorRulesRequest(); + + int getNotifyUpdate()const; + void setNotifyUpdate(int notifyUpdate); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getRuleName()const; + void setRuleName(const std::string& ruleName); + std::string getId()const; + void setId(const std::string& id); + int getPageNum()const; + void setPageNum(int pageNum); + + private: + int notifyUpdate_; + int pageSize_; + std::string ruleName_; + std::string id_; + int pageNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKMONITORRULESREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTrademarkMonitorRulesResult.h b/trademark/include/alibabacloud/trademark/model/QueryTrademarkMonitorRulesResult.h new file mode 100644 index 000000000..f9c51db40 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTrademarkMonitorRulesResult.h @@ -0,0 +1,85 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKMONITORRULESRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKMONITORRULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTrademarkMonitorRulesResult : public ServiceResult + { + public: + struct TmMonitorRule + { + std::string ruleSource; + int notifyUpdate; + std::string endTime; + std::string ruleExtend; + std::string createTime; + std::string startTime; + int ruleType; + std::string env; + int version; + std::string lastUpdateTime; + std::string userId; + std::string lastFinishTime; + std::string ruleKeyword; + std::string lastRunTime; + std::string updateTime; + std::string ruleStatus; + std::string id; + std::string ruleDetail; + std::string ruleName; + }; + + + QueryTrademarkMonitorRulesResult(); + explicit QueryTrademarkMonitorRulesResult(const std::string &payload); + ~QueryTrademarkMonitorRulesResult(); + bool getPrePage()const; + int getCurrentPageNum()const; + int getPageSize()const; + int getTotalPageNum()const; + std::vector getData()const; + int getTotalItemNum()const; + bool getNextPage()const; + + protected: + void parse(const std::string &payload); + private: + bool prePage_; + int currentPageNum_; + int pageSize_; + int totalPageNum_; + std::vector data_; + int totalItemNum_; + bool nextPage_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKMONITORRULESRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTrademarkPriceRequest.h b/trademark/include/alibabacloud/trademark/model/QueryTrademarkPriceRequest.h new file mode 100644 index 000000000..c561bf70f --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTrademarkPriceRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKPRICEREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKPRICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTrademarkPriceRequest : public RpcServiceRequest + { + + public: + QueryTrademarkPriceRequest(); + ~QueryTrademarkPriceRequest(); + + std::string getTmName()const; + void setTmName(const std::string& tmName); + std::string getTmIcon()const; + void setTmIcon(const std::string& tmIcon); + std::string getOrderData()const; + void setOrderData(const std::string& orderData); + int getType()const; + void setType(int type); + long getUserId()const; + void setUserId(long userId); + + private: + std::string tmName_; + std::string tmIcon_; + std::string orderData_; + int type_; + long userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKPRICEREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/QueryTrademarkPriceResult.h b/trademark/include/alibabacloud/trademark/model/QueryTrademarkPriceResult.h new file mode 100644 index 000000000..1a50bf225 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/QueryTrademarkPriceResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKPRICERESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKPRICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT QueryTrademarkPriceResult : public ServiceResult + { + public: + struct PricesItem + { + float originalPrice; + std::string classificationCode; + float discountPrice; + std::string currency; + float tradePrice; + }; + + + QueryTrademarkPriceResult(); + explicit QueryTrademarkPriceResult(const std::string &payload); + ~QueryTrademarkPriceResult(); + std::vector getPrices()const; + float getOriginalPrice()const; + float getDiscountPrice()const; + std::string getCurrency()const; + float getTradePrice()const; + + protected: + void parse(const std::string &payload); + private: + std::vector prices_; + float originalPrice_; + float discountPrice_; + std::string currency_; + float tradePrice_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_QUERYTRADEMARKPRICERESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/RefundProduceRequest.h b/trademark/include/alibabacloud/trademark/model/RefundProduceRequest.h new file mode 100644 index 000000000..f4ce86229 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/RefundProduceRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_REFUNDPRODUCEREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_REFUNDPRODUCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT RefundProduceRequest : public RpcServiceRequest + { + + public: + RefundProduceRequest(); + ~RefundProduceRequest(); + + std::string getBizId()const; + void setBizId(const std::string& bizId); + + private: + std::string bizId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_REFUNDPRODUCEREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/RefundProduceResult.h b/trademark/include/alibabacloud/trademark/model/RefundProduceResult.h new file mode 100644 index 000000000..df2701740 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/RefundProduceResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_REFUNDPRODUCERESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_REFUNDPRODUCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT RefundProduceResult : public ServiceResult + { + public: + + + RefundProduceResult(); + explicit RefundProduceResult(const std::string &payload); + ~RefundProduceResult(); + std::string getErrorMsg()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_REFUNDPRODUCERESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/SaveTaskRequest.h b/trademark/include/alibabacloud/trademark/model/SaveTaskRequest.h new file mode 100644 index 000000000..7eb9f5034 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/SaveTaskRequest.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_TRADEMARK_MODEL_SAVETASKREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_SAVETASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT SaveTaskRequest : public RpcServiceRequest + { + + public: + SaveTaskRequest(); + ~SaveTaskRequest(); + + std::string getBizType()const; + void setBizType(const std::string& bizType); + std::string getRequest()const; + void setRequest(const std::string& request); + + private: + std::string bizType_; + std::string request_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_SAVETASKREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/SaveTaskResult.h b/trademark/include/alibabacloud/trademark/model/SaveTaskResult.h new file mode 100644 index 000000000..100e0c2dc --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/SaveTaskResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_SAVETASKRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_SAVETASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT SaveTaskResult : public ServiceResult + { + public: + + + SaveTaskResult(); + explicit SaveTaskResult(const std::string &payload); + ~SaveTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_SAVETASKRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/StartNotaryRequest.h b/trademark/include/alibabacloud/trademark/model/StartNotaryRequest.h new file mode 100644 index 000000000..8ed2aea8a --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/StartNotaryRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_STARTNOTARYREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_STARTNOTARYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT StartNotaryRequest : public RpcServiceRequest + { + + public: + StartNotaryRequest(); + ~StartNotaryRequest(); + + long getNotaryOrderId()const; + void setNotaryOrderId(long notaryOrderId); + + private: + long notaryOrderId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_STARTNOTARYREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/StartNotaryResult.h b/trademark/include/alibabacloud/trademark/model/StartNotaryResult.h new file mode 100644 index 000000000..103d45fc9 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/StartNotaryResult.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_TRADEMARK_MODEL_STARTNOTARYRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_STARTNOTARYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT StartNotaryResult : public ServiceResult + { + public: + + + StartNotaryResult(); + explicit StartNotaryResult(const std::string &payload); + ~StartNotaryResult(); + std::string getErrorMsg()const; + std::string getNotaryUrl()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::string notaryUrl_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_STARTNOTARYRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/StoreMaterialTemporarilyRequest.h b/trademark/include/alibabacloud/trademark/model/StoreMaterialTemporarilyRequest.h new file mode 100644 index 000000000..40a41c739 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/StoreMaterialTemporarilyRequest.h @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_STOREMATERIALTEMPORARILYREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_STOREMATERIALTEMPORARILYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT StoreMaterialTemporarilyRequest : public RpcServiceRequest + { + + public: + StoreMaterialTemporarilyRequest(); + ~StoreMaterialTemporarilyRequest(); + + std::string getContactEmail()const; + void setContactEmail(const std::string& contactEmail); + std::string getContactAddress()const; + void setContactAddress(const std::string& contactAddress); + std::string getEAddress()const; + void setEAddress(const std::string& eAddress); + std::string getCountry()const; + void setCountry(const std::string& country); + std::string getLegalNoticeOssKey()const; + void setLegalNoticeOssKey(const std::string& legalNoticeOssKey); + std::string getAddress()const; + void setAddress(const std::string& address); + std::string getTown()const; + void setTown(const std::string& town); + std::string getContactNumber()const; + void setContactNumber(const std::string& contactNumber); + std::string getCity()const; + void setCity(const std::string& city); + std::string getIdCardOssKey()const; + void setIdCardOssKey(const std::string& idCardOssKey); + std::string getType()const; + void setType(const std::string& type); + std::string getContactName()const; + void setContactName(const std::string& contactName); + std::string getPassportOssKey()const; + void setPassportOssKey(const std::string& passportOssKey); + std::string getContactZipcode()const; + void setContactZipcode(const std::string& contactZipcode); + std::string getEName()const; + void setEName(const std::string& eName); + std::string getProvince()const; + void setProvince(const std::string& province); + std::string getBusinessLicenceOssKey()const; + void setBusinessLicenceOssKey(const std::string& businessLicenceOssKey); + std::string getName()const; + void setName(const std::string& name); + std::string getCardNumber()const; + void setCardNumber(const std::string& cardNumber); + std::string getRegion()const; + void setRegion(const std::string& region); + std::string getLoaOssKey()const; + void setLoaOssKey(const std::string& loaOssKey); + + private: + std::string contactEmail_; + std::string contactAddress_; + std::string eAddress_; + std::string country_; + std::string legalNoticeOssKey_; + std::string address_; + std::string town_; + std::string contactNumber_; + std::string city_; + std::string idCardOssKey_; + std::string type_; + std::string contactName_; + std::string passportOssKey_; + std::string contactZipcode_; + std::string eName_; + std::string province_; + std::string businessLicenceOssKey_; + std::string name_; + std::string cardNumber_; + std::string region_; + std::string loaOssKey_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_STOREMATERIALTEMPORARILYREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/StoreMaterialTemporarilyResult.h b/trademark/include/alibabacloud/trademark/model/StoreMaterialTemporarilyResult.h new file mode 100644 index 000000000..c5b723bf9 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/StoreMaterialTemporarilyResult.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_TRADEMARK_MODEL_STOREMATERIALTEMPORARILYRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_STOREMATERIALTEMPORARILYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT StoreMaterialTemporarilyResult : public ServiceResult + { + public: + + + StoreMaterialTemporarilyResult(); + explicit StoreMaterialTemporarilyResult(const std::string &payload); + ~StoreMaterialTemporarilyResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_STOREMATERIALTEMPORARILYRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/SubmitSupplementRequest.h b/trademark/include/alibabacloud/trademark/model/SubmitSupplementRequest.h new file mode 100644 index 000000000..18e5681f8 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/SubmitSupplementRequest.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_TRADEMARK_MODEL_SUBMITSUPPLEMENTREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_SUBMITSUPPLEMENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT SubmitSupplementRequest : public RpcServiceRequest + { + + public: + SubmitSupplementRequest(); + ~SubmitSupplementRequest(); + + std::string getUploadOssKeyList()const; + void setUploadOssKeyList(const std::string& uploadOssKeyList); + long getId()const; + void setId(long id); + std::string getContent()const; + void setContent(const std::string& content); + + private: + std::string uploadOssKeyList_; + long id_; + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_SUBMITSUPPLEMENTREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/SubmitSupplementResult.h b/trademark/include/alibabacloud/trademark/model/SubmitSupplementResult.h new file mode 100644 index 000000000..fe35e7f73 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/SubmitSupplementResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_SUBMITSUPPLEMENTRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_SUBMITSUPPLEMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT SubmitSupplementResult : public ServiceResult + { + public: + + + SubmitSupplementResult(); + explicit SubmitSupplementResult(const std::string &payload); + ~SubmitSupplementResult(); + std::string getErrorMsg()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_SUBMITSUPPLEMENTRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/UpdateMaterialRequest.h b/trademark/include/alibabacloud/trademark/model/UpdateMaterialRequest.h new file mode 100644 index 000000000..81aeda857 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/UpdateMaterialRequest.h @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_TRADEMARK_MODEL_UPDATEMATERIALREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_UPDATEMATERIALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT UpdateMaterialRequest : public RpcServiceRequest + { + + public: + UpdateMaterialRequest(); + ~UpdateMaterialRequest(); + + std::string getContactEmail()const; + void setContactEmail(const std::string& contactEmail); + std::string getContactAddress()const; + void setContactAddress(const std::string& contactAddress); + std::string getEAddress()const; + void setEAddress(const std::string& eAddress); + std::string getLegalNoticeOssKey()const; + void setLegalNoticeOssKey(const std::string& legalNoticeOssKey); + std::string getAddress()const; + void setAddress(const std::string& address); + std::string getTown()const; + void setTown(const std::string& town); + std::string getContactNumber()const; + void setContactNumber(const std::string& contactNumber); + std::string getCity()const; + void setCity(const std::string& city); + std::string getIdCardOssKey()const; + void setIdCardOssKey(const std::string& idCardOssKey); + std::string getContactName()const; + void setContactName(const std::string& contactName); + std::string getPassportOssKey()const; + void setPassportOssKey(const std::string& passportOssKey); + std::string getContactZipcode()const; + void setContactZipcode(const std::string& contactZipcode); + std::string getEName()const; + void setEName(const std::string& eName); + std::string getProvince()const; + void setProvince(const std::string& province); + std::string getBusinessLicenceOssKey()const; + void setBusinessLicenceOssKey(const std::string& businessLicenceOssKey); + std::string getName()const; + void setName(const std::string& name); + long getId()const; + void setId(long id); + std::string getCardNumber()const; + void setCardNumber(const std::string& cardNumber); + long getLoaId()const; + void setLoaId(long loaId); + std::string getLoaOssKey()const; + void setLoaOssKey(const std::string& loaOssKey); + + private: + std::string contactEmail_; + std::string contactAddress_; + std::string eAddress_; + std::string legalNoticeOssKey_; + std::string address_; + std::string town_; + std::string contactNumber_; + std::string city_; + std::string idCardOssKey_; + std::string contactName_; + std::string passportOssKey_; + std::string contactZipcode_; + std::string eName_; + std::string province_; + std::string businessLicenceOssKey_; + std::string name_; + long id_; + std::string cardNumber_; + long loaId_; + std::string loaOssKey_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_UPDATEMATERIALREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/UpdateMaterialResult.h b/trademark/include/alibabacloud/trademark/model/UpdateMaterialResult.h new file mode 100644 index 000000000..fa70b5058 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/UpdateMaterialResult.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_TRADEMARK_MODEL_UPDATEMATERIALRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_UPDATEMATERIALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT UpdateMaterialResult : public ServiceResult + { + public: + + + UpdateMaterialResult(); + explicit UpdateMaterialResult(const std::string &payload); + ~UpdateMaterialResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_UPDATEMATERIALRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/UpdateSendMaterialNumRequest.h b/trademark/include/alibabacloud/trademark/model/UpdateSendMaterialNumRequest.h new file mode 100644 index 000000000..0e3221c97 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/UpdateSendMaterialNumRequest.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_TRADEMARK_MODEL_UPDATESENDMATERIALNUMREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_UPDATESENDMATERIALNUMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT UpdateSendMaterialNumRequest : public RpcServiceRequest + { + + public: + UpdateSendMaterialNumRequest(); + ~UpdateSendMaterialNumRequest(); + + std::string getNum()const; + void setNum(const std::string& num); + std::string getBizId()const; + void setBizId(const std::string& bizId); + int getOperateType()const; + void setOperateType(int operateType); + + private: + std::string num_; + std::string bizId_; + int operateType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_UPDATESENDMATERIALNUMREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/UpdateSendMaterialNumResult.h b/trademark/include/alibabacloud/trademark/model/UpdateSendMaterialNumResult.h new file mode 100644 index 000000000..157bb92e9 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/UpdateSendMaterialNumResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_UPDATESENDMATERIALNUMRESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_UPDATESENDMATERIALNUMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT UpdateSendMaterialNumResult : public ServiceResult + { + public: + + + UpdateSendMaterialNumResult(); + explicit UpdateSendMaterialNumResult(const std::string &payload); + ~UpdateSendMaterialNumResult(); + std::string getErrorMsg()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_UPDATESENDMATERIALNUMRESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/UpdateTmMonitorRuleRequest.h b/trademark/include/alibabacloud/trademark/model/UpdateTmMonitorRuleRequest.h new file mode 100644 index 000000000..6d583f99f --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/UpdateTmMonitorRuleRequest.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_TRADEMARK_MODEL_UPDATETMMONITORRULEREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_UPDATETMMONITORRULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT UpdateTmMonitorRuleRequest : public RpcServiceRequest + { + + public: + UpdateTmMonitorRuleRequest(); + ~UpdateTmMonitorRuleRequest(); + + std::vector getNotifyStatus()const; + void setNotifyStatus(const std::vector& notifyStatus); + std::string getRuleName()const; + void setRuleName(const std::string& ruleName); + long getId()const; + void setId(long id); + + private: + std::vector notifyStatus_; + std::string ruleName_; + long id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_UPDATETMMONITORRULEREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/UpdateTmMonitorRuleResult.h b/trademark/include/alibabacloud/trademark/model/UpdateTmMonitorRuleResult.h new file mode 100644 index 000000000..440d9bf9b --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/UpdateTmMonitorRuleResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_TRADEMARK_MODEL_UPDATETMMONITORRULERESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_UPDATETMMONITORRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT UpdateTmMonitorRuleResult : public ServiceResult + { + public: + + + UpdateTmMonitorRuleResult(); + explicit UpdateTmMonitorRuleResult(const std::string &payload); + ~UpdateTmMonitorRuleResult(); + std::string getErrorMsg()const; + std::string getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMsg_; + std::string errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_UPDATETMMONITORRULERESULT_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/UploadNotaryDataRequest.h b/trademark/include/alibabacloud/trademark/model/UploadNotaryDataRequest.h new file mode 100644 index 000000000..285ee1583 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/UploadNotaryDataRequest.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_TRADEMARK_MODEL_UPLOADNOTARYDATAREQUEST_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_UPLOADNOTARYDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT UploadNotaryDataRequest : public RpcServiceRequest + { + + public: + UploadNotaryDataRequest(); + ~UploadNotaryDataRequest(); + + std::string getUploadContext()const; + void setUploadContext(const std::string& uploadContext); + std::string getBizOrderNo()const; + void setBizOrderNo(const std::string& bizOrderNo); + int getNotaryType()const; + void setNotaryType(int notaryType); + + private: + std::string uploadContext_; + std::string bizOrderNo_; + int notaryType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_UPLOADNOTARYDATAREQUEST_H_ \ No newline at end of file diff --git a/trademark/include/alibabacloud/trademark/model/UploadNotaryDataResult.h b/trademark/include/alibabacloud/trademark/model/UploadNotaryDataResult.h new file mode 100644 index 000000000..0bccf84c7 --- /dev/null +++ b/trademark/include/alibabacloud/trademark/model/UploadNotaryDataResult.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_TRADEMARK_MODEL_UPLOADNOTARYDATARESULT_H_ +#define ALIBABACLOUD_TRADEMARK_MODEL_UPLOADNOTARYDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Trademark + { + namespace Model + { + class ALIBABACLOUD_TRADEMARK_EXPORT UploadNotaryDataResult : public ServiceResult + { + public: + + + UploadNotaryDataResult(); + explicit UploadNotaryDataResult(const std::string &payload); + ~UploadNotaryDataResult(); + std::string getUserAuthUrl()const; + + protected: + void parse(const std::string &payload); + private: + std::string userAuthUrl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_TRADEMARK_MODEL_UPLOADNOTARYDATARESULT_H_ \ No newline at end of file diff --git a/trademark/src/TrademarkClient.cc b/trademark/src/TrademarkClient.cc new file mode 100644 index 000000000..42141cd9c --- /dev/null +++ b/trademark/src/TrademarkClient.cc @@ -0,0 +1,1781 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +namespace +{ + const std::string SERVICE_NAME = "Trademark"; +} + +TrademarkClient::TrademarkClient(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, "trademark"); +} + +TrademarkClient::TrademarkClient(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, "trademark"); +} + +TrademarkClient::TrademarkClient(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, "trademark"); +} + +TrademarkClient::~TrademarkClient() +{} + +TrademarkClient::GenerateQrCodeOutcome TrademarkClient::generateQrCode(const GenerateQrCodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GenerateQrCodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GenerateQrCodeOutcome(GenerateQrCodeResult(outcome.result())); + else + return GenerateQrCodeOutcome(outcome.error()); +} + +void TrademarkClient::generateQrCodeAsync(const GenerateQrCodeRequest& request, const GenerateQrCodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, generateQrCode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::GenerateQrCodeOutcomeCallable TrademarkClient::generateQrCodeCallable(const GenerateQrCodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->generateQrCode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryTradeProduceListOutcome TrademarkClient::queryTradeProduceList(const QueryTradeProduceListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryTradeProduceListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryTradeProduceListOutcome(QueryTradeProduceListResult(outcome.result())); + else + return QueryTradeProduceListOutcome(outcome.error()); +} + +void TrademarkClient::queryTradeProduceListAsync(const QueryTradeProduceListRequest& request, const QueryTradeProduceListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryTradeProduceList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryTradeProduceListOutcomeCallable TrademarkClient::queryTradeProduceListCallable(const QueryTradeProduceListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryTradeProduceList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::FillLogisticsOutcome TrademarkClient::fillLogistics(const FillLogisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return FillLogisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return FillLogisticsOutcome(FillLogisticsResult(outcome.result())); + else + return FillLogisticsOutcome(outcome.error()); +} + +void TrademarkClient::fillLogisticsAsync(const FillLogisticsRequest& request, const FillLogisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, fillLogistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::FillLogisticsOutcomeCallable TrademarkClient::fillLogisticsCallable(const FillLogisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->fillLogistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::UpdateMaterialOutcome TrademarkClient::updateMaterial(const UpdateMaterialRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateMaterialOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateMaterialOutcome(UpdateMaterialResult(outcome.result())); + else + return UpdateMaterialOutcome(outcome.error()); +} + +void TrademarkClient::updateMaterialAsync(const UpdateMaterialRequest& request, const UpdateMaterialAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateMaterial(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::UpdateMaterialOutcomeCallable TrademarkClient::updateMaterialCallable(const UpdateMaterialRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateMaterial(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::RefundProduceOutcome TrademarkClient::refundProduce(const RefundProduceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RefundProduceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RefundProduceOutcome(RefundProduceResult(outcome.result())); + else + return RefundProduceOutcome(outcome.error()); +} + +void TrademarkClient::refundProduceAsync(const RefundProduceRequest& request, const RefundProduceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, refundProduce(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::RefundProduceOutcomeCallable TrademarkClient::refundProduceCallable(const RefundProduceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->refundProduce(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryTradeMarkApplicationLogsOutcome TrademarkClient::queryTradeMarkApplicationLogs(const QueryTradeMarkApplicationLogsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryTradeMarkApplicationLogsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryTradeMarkApplicationLogsOutcome(QueryTradeMarkApplicationLogsResult(outcome.result())); + else + return QueryTradeMarkApplicationLogsOutcome(outcome.error()); +} + +void TrademarkClient::queryTradeMarkApplicationLogsAsync(const QueryTradeMarkApplicationLogsRequest& request, const QueryTradeMarkApplicationLogsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryTradeMarkApplicationLogs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryTradeMarkApplicationLogsOutcomeCallable TrademarkClient::queryTradeMarkApplicationLogsCallable(const QueryTradeMarkApplicationLogsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryTradeMarkApplicationLogs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::ConvertImageToGrayOutcome TrademarkClient::convertImageToGray(const ConvertImageToGrayRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ConvertImageToGrayOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ConvertImageToGrayOutcome(ConvertImageToGrayResult(outcome.result())); + else + return ConvertImageToGrayOutcome(outcome.error()); +} + +void TrademarkClient::convertImageToGrayAsync(const ConvertImageToGrayRequest& request, const ConvertImageToGrayAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, convertImageToGray(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::ConvertImageToGrayOutcomeCallable TrademarkClient::convertImageToGrayCallable(const ConvertImageToGrayRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->convertImageToGray(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryTrademarkMonitorResultsOutcome TrademarkClient::queryTrademarkMonitorResults(const QueryTrademarkMonitorResultsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryTrademarkMonitorResultsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryTrademarkMonitorResultsOutcome(QueryTrademarkMonitorResultsResult(outcome.result())); + else + return QueryTrademarkMonitorResultsOutcome(outcome.error()); +} + +void TrademarkClient::queryTrademarkMonitorResultsAsync(const QueryTrademarkMonitorResultsRequest& request, const QueryTrademarkMonitorResultsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryTrademarkMonitorResults(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryTrademarkMonitorResultsOutcomeCallable TrademarkClient::queryTrademarkMonitorResultsCallable(const QueryTrademarkMonitorResultsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryTrademarkMonitorResults(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::CombineLoaOutcome TrademarkClient::combineLoa(const CombineLoaRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CombineLoaOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CombineLoaOutcome(CombineLoaResult(outcome.result())); + else + return CombineLoaOutcome(outcome.error()); +} + +void TrademarkClient::combineLoaAsync(const CombineLoaRequest& request, const CombineLoaAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, combineLoa(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::CombineLoaOutcomeCallable TrademarkClient::combineLoaCallable(const CombineLoaRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->combineLoa(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryTradeMarkApplicationsOutcome TrademarkClient::queryTradeMarkApplications(const QueryTradeMarkApplicationsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryTradeMarkApplicationsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryTradeMarkApplicationsOutcome(QueryTradeMarkApplicationsResult(outcome.result())); + else + return QueryTradeMarkApplicationsOutcome(outcome.error()); +} + +void TrademarkClient::queryTradeMarkApplicationsAsync(const QueryTradeMarkApplicationsRequest& request, const QueryTradeMarkApplicationsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryTradeMarkApplications(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryTradeMarkApplicationsOutcomeCallable TrademarkClient::queryTradeMarkApplicationsCallable(const QueryTradeMarkApplicationsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryTradeMarkApplications(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::CancelTradeOrderOutcome TrademarkClient::cancelTradeOrder(const CancelTradeOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CancelTradeOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CancelTradeOrderOutcome(CancelTradeOrderResult(outcome.result())); + else + return CancelTradeOrderOutcome(outcome.error()); +} + +void TrademarkClient::cancelTradeOrderAsync(const CancelTradeOrderRequest& request, const CancelTradeOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, cancelTradeOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::CancelTradeOrderOutcomeCallable TrademarkClient::cancelTradeOrderCallable(const CancelTradeOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->cancelTradeOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryTrademarkPriceOutcome TrademarkClient::queryTrademarkPrice(const QueryTrademarkPriceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryTrademarkPriceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryTrademarkPriceOutcome(QueryTrademarkPriceResult(outcome.result())); + else + return QueryTrademarkPriceOutcome(outcome.error()); +} + +void TrademarkClient::queryTrademarkPriceAsync(const QueryTrademarkPriceRequest& request, const QueryTrademarkPriceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryTrademarkPrice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryTrademarkPriceOutcomeCallable TrademarkClient::queryTrademarkPriceCallable(const QueryTrademarkPriceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryTrademarkPrice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::DeleteTmMonitorRuleOutcome TrademarkClient::deleteTmMonitorRule(const DeleteTmMonitorRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteTmMonitorRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteTmMonitorRuleOutcome(DeleteTmMonitorRuleResult(outcome.result())); + else + return DeleteTmMonitorRuleOutcome(outcome.error()); +} + +void TrademarkClient::deleteTmMonitorRuleAsync(const DeleteTmMonitorRuleRequest& request, const DeleteTmMonitorRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteTmMonitorRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::DeleteTmMonitorRuleOutcomeCallable TrademarkClient::deleteTmMonitorRuleCallable(const DeleteTmMonitorRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteTmMonitorRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::SaveTaskOutcome TrademarkClient::saveTask(const SaveTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SaveTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SaveTaskOutcome(SaveTaskResult(outcome.result())); + else + return SaveTaskOutcome(outcome.error()); +} + +void TrademarkClient::saveTaskAsync(const SaveTaskRequest& request, const SaveTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, saveTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::SaveTaskOutcomeCallable TrademarkClient::saveTaskCallable(const SaveTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->saveTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::FilterUnavailableCodesOutcome TrademarkClient::filterUnavailableCodes(const FilterUnavailableCodesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return FilterUnavailableCodesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return FilterUnavailableCodesOutcome(FilterUnavailableCodesResult(outcome.result())); + else + return FilterUnavailableCodesOutcome(outcome.error()); +} + +void TrademarkClient::filterUnavailableCodesAsync(const FilterUnavailableCodesRequest& request, const FilterUnavailableCodesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, filterUnavailableCodes(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::FilterUnavailableCodesOutcomeCallable TrademarkClient::filterUnavailableCodesCallable(const FilterUnavailableCodesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->filterUnavailableCodes(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::UploadNotaryDataOutcome TrademarkClient::uploadNotaryData(const UploadNotaryDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UploadNotaryDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UploadNotaryDataOutcome(UploadNotaryDataResult(outcome.result())); + else + return UploadNotaryDataOutcome(outcome.error()); +} + +void TrademarkClient::uploadNotaryDataAsync(const UploadNotaryDataRequest& request, const UploadNotaryDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, uploadNotaryData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::UploadNotaryDataOutcomeCallable TrademarkClient::uploadNotaryDataCallable(const UploadNotaryDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->uploadNotaryData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::InsertMaterialOutcome TrademarkClient::insertMaterial(const InsertMaterialRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return InsertMaterialOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return InsertMaterialOutcome(InsertMaterialResult(outcome.result())); + else + return InsertMaterialOutcome(outcome.error()); +} + +void TrademarkClient::insertMaterialAsync(const InsertMaterialRequest& request, const InsertMaterialAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, insertMaterial(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::InsertMaterialOutcomeCallable TrademarkClient::insertMaterialCallable(const InsertMaterialRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->insertMaterial(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryTaskListOutcome TrademarkClient::queryTaskList(const QueryTaskListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryTaskListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryTaskListOutcome(QueryTaskListResult(outcome.result())); + else + return QueryTaskListOutcome(outcome.error()); +} + +void TrademarkClient::queryTaskListAsync(const QueryTaskListRequest& request, const QueryTaskListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryTaskList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryTaskListOutcomeCallable TrademarkClient::queryTaskListCallable(const QueryTaskListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryTaskList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryMonitorKeywordsOutcome TrademarkClient::queryMonitorKeywords(const QueryMonitorKeywordsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryMonitorKeywordsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryMonitorKeywordsOutcome(QueryMonitorKeywordsResult(outcome.result())); + else + return QueryMonitorKeywordsOutcome(outcome.error()); +} + +void TrademarkClient::queryMonitorKeywordsAsync(const QueryMonitorKeywordsRequest& request, const QueryMonitorKeywordsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryMonitorKeywords(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryMonitorKeywordsOutcomeCallable TrademarkClient::queryMonitorKeywordsCallable(const QueryMonitorKeywordsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryMonitorKeywords(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::GetNotaryOrderOutcome TrademarkClient::getNotaryOrder(const GetNotaryOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetNotaryOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetNotaryOrderOutcome(GetNotaryOrderResult(outcome.result())); + else + return GetNotaryOrderOutcome(outcome.error()); +} + +void TrademarkClient::getNotaryOrderAsync(const GetNotaryOrderRequest& request, const GetNotaryOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getNotaryOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::GetNotaryOrderOutcomeCallable TrademarkClient::getNotaryOrderCallable(const GetNotaryOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getNotaryOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::InsertTmMonitorRuleOutcome TrademarkClient::insertTmMonitorRule(const InsertTmMonitorRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return InsertTmMonitorRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return InsertTmMonitorRuleOutcome(InsertTmMonitorRuleResult(outcome.result())); + else + return InsertTmMonitorRuleOutcome(outcome.error()); +} + +void TrademarkClient::insertTmMonitorRuleAsync(const InsertTmMonitorRuleRequest& request, const InsertTmMonitorRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, insertTmMonitorRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::InsertTmMonitorRuleOutcomeCallable TrademarkClient::insertTmMonitorRuleCallable(const InsertTmMonitorRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->insertTmMonitorRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::InsertRenewInfoOutcome TrademarkClient::insertRenewInfo(const InsertRenewInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return InsertRenewInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return InsertRenewInfoOutcome(InsertRenewInfoResult(outcome.result())); + else + return InsertRenewInfoOutcome(outcome.error()); +} + +void TrademarkClient::insertRenewInfoAsync(const InsertRenewInfoRequest& request, const InsertRenewInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, insertRenewInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::InsertRenewInfoOutcomeCallable TrademarkClient::insertRenewInfoCallable(const InsertRenewInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->insertRenewInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QuerySupplementDetailOutcome TrademarkClient::querySupplementDetail(const QuerySupplementDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QuerySupplementDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QuerySupplementDetailOutcome(QuerySupplementDetailResult(outcome.result())); + else + return QuerySupplementDetailOutcome(outcome.error()); +} + +void TrademarkClient::querySupplementDetailAsync(const QuerySupplementDetailRequest& request, const QuerySupplementDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, querySupplementDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QuerySupplementDetailOutcomeCallable TrademarkClient::querySupplementDetailCallable(const QuerySupplementDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->querySupplementDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::ApplyNotaryPostOutcome TrademarkClient::applyNotaryPost(const ApplyNotaryPostRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ApplyNotaryPostOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ApplyNotaryPostOutcome(ApplyNotaryPostResult(outcome.result())); + else + return ApplyNotaryPostOutcome(outcome.error()); +} + +void TrademarkClient::applyNotaryPostAsync(const ApplyNotaryPostRequest& request, const ApplyNotaryPostAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, applyNotaryPost(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::ApplyNotaryPostOutcomeCallable TrademarkClient::applyNotaryPostCallable(const ApplyNotaryPostRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->applyNotaryPost(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryCredentialsInfoOutcome TrademarkClient::queryCredentialsInfo(const QueryCredentialsInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryCredentialsInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryCredentialsInfoOutcome(QueryCredentialsInfoResult(outcome.result())); + else + return QueryCredentialsInfoOutcome(outcome.error()); +} + +void TrademarkClient::queryCredentialsInfoAsync(const QueryCredentialsInfoRequest& request, const QueryCredentialsInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryCredentialsInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryCredentialsInfoOutcomeCallable TrademarkClient::queryCredentialsInfoCallable(const QueryCredentialsInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryCredentialsInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryTrademarkMonitorRulesOutcome TrademarkClient::queryTrademarkMonitorRules(const QueryTrademarkMonitorRulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryTrademarkMonitorRulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryTrademarkMonitorRulesOutcome(QueryTrademarkMonitorRulesResult(outcome.result())); + else + return QueryTrademarkMonitorRulesOutcome(outcome.error()); +} + +void TrademarkClient::queryTrademarkMonitorRulesAsync(const QueryTrademarkMonitorRulesRequest& request, const QueryTrademarkMonitorRulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryTrademarkMonitorRules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryTrademarkMonitorRulesOutcomeCallable TrademarkClient::queryTrademarkMonitorRulesCallable(const QueryTrademarkMonitorRulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryTrademarkMonitorRules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::CheckLoaFillOutcome TrademarkClient::checkLoaFill(const CheckLoaFillRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckLoaFillOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckLoaFillOutcome(CheckLoaFillResult(outcome.result())); + else + return CheckLoaFillOutcome(outcome.error()); +} + +void TrademarkClient::checkLoaFillAsync(const CheckLoaFillRequest& request, const CheckLoaFillAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkLoaFill(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::CheckLoaFillOutcomeCallable TrademarkClient::checkLoaFillCallable(const CheckLoaFillRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkLoaFill(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryOssResourcesOutcome TrademarkClient::queryOssResources(const QueryOssResourcesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryOssResourcesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryOssResourcesOutcome(QueryOssResourcesResult(outcome.result())); + else + return QueryOssResourcesOutcome(outcome.error()); +} + +void TrademarkClient::queryOssResourcesAsync(const QueryOssResourcesRequest& request, const QueryOssResourcesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryOssResources(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryOssResourcesOutcomeCallable TrademarkClient::queryOssResourcesCallable(const QueryOssResourcesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryOssResources(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::GenerateUploadFilePolicyOutcome TrademarkClient::generateUploadFilePolicy(const GenerateUploadFilePolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GenerateUploadFilePolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GenerateUploadFilePolicyOutcome(GenerateUploadFilePolicyResult(outcome.result())); + else + return GenerateUploadFilePolicyOutcome(outcome.error()); +} + +void TrademarkClient::generateUploadFilePolicyAsync(const GenerateUploadFilePolicyRequest& request, const GenerateUploadFilePolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, generateUploadFilePolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::GenerateUploadFilePolicyOutcomeCallable TrademarkClient::generateUploadFilePolicyCallable(const GenerateUploadFilePolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->generateUploadFilePolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::DeleteMaterialOutcome TrademarkClient::deleteMaterial(const DeleteMaterialRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteMaterialOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteMaterialOutcome(DeleteMaterialResult(outcome.result())); + else + return DeleteMaterialOutcome(outcome.error()); +} + +void TrademarkClient::deleteMaterialAsync(const DeleteMaterialRequest& request, const DeleteMaterialAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteMaterial(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::DeleteMaterialOutcomeCallable TrademarkClient::deleteMaterialCallable(const DeleteMaterialRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteMaterial(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::DenySupplementOutcome TrademarkClient::denySupplement(const DenySupplementRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DenySupplementOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DenySupplementOutcome(DenySupplementResult(outcome.result())); + else + return DenySupplementOutcome(outcome.error()); +} + +void TrademarkClient::denySupplementAsync(const DenySupplementRequest& request, const DenySupplementAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, denySupplement(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::DenySupplementOutcomeCallable TrademarkClient::denySupplementCallable(const DenySupplementRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->denySupplement(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::InsertTradeIntentionUserOutcome TrademarkClient::insertTradeIntentionUser(const InsertTradeIntentionUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return InsertTradeIntentionUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return InsertTradeIntentionUserOutcome(InsertTradeIntentionUserResult(outcome.result())); + else + return InsertTradeIntentionUserOutcome(outcome.error()); +} + +void TrademarkClient::insertTradeIntentionUserAsync(const InsertTradeIntentionUserRequest& request, const InsertTradeIntentionUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, insertTradeIntentionUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::InsertTradeIntentionUserOutcomeCallable TrademarkClient::insertTradeIntentionUserCallable(const InsertTradeIntentionUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->insertTradeIntentionUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::ListNotaryOrdersOutcome TrademarkClient::listNotaryOrders(const ListNotaryOrdersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListNotaryOrdersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListNotaryOrdersOutcome(ListNotaryOrdersResult(outcome.result())); + else + return ListNotaryOrdersOutcome(outcome.error()); +} + +void TrademarkClient::listNotaryOrdersAsync(const ListNotaryOrdersRequest& request, const ListNotaryOrdersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listNotaryOrders(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::ListNotaryOrdersOutcomeCallable TrademarkClient::listNotaryOrdersCallable(const ListNotaryOrdersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listNotaryOrders(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryTradeProduceDetailOutcome TrademarkClient::queryTradeProduceDetail(const QueryTradeProduceDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryTradeProduceDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryTradeProduceDetailOutcome(QueryTradeProduceDetailResult(outcome.result())); + else + return QueryTradeProduceDetailOutcome(outcome.error()); +} + +void TrademarkClient::queryTradeProduceDetailAsync(const QueryTradeProduceDetailRequest& request, const QueryTradeProduceDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryTradeProduceDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryTradeProduceDetailOutcomeCallable TrademarkClient::queryTradeProduceDetailCallable(const QueryTradeProduceDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryTradeProduceDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::SubmitSupplementOutcome TrademarkClient::submitSupplement(const SubmitSupplementRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SubmitSupplementOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitSupplementOutcome(SubmitSupplementResult(outcome.result())); + else + return SubmitSupplementOutcome(outcome.error()); +} + +void TrademarkClient::submitSupplementAsync(const SubmitSupplementRequest& request, const SubmitSupplementAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitSupplement(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::SubmitSupplementOutcomeCallable TrademarkClient::submitSupplementCallable(const SubmitSupplementRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitSupplement(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryQrCodeUploadStatusOutcome TrademarkClient::queryQrCodeUploadStatus(const QueryQrCodeUploadStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryQrCodeUploadStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryQrCodeUploadStatusOutcome(QueryQrCodeUploadStatusResult(outcome.result())); + else + return QueryQrCodeUploadStatusOutcome(outcome.error()); +} + +void TrademarkClient::queryQrCodeUploadStatusAsync(const QueryQrCodeUploadStatusRequest& request, const QueryQrCodeUploadStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryQrCodeUploadStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryQrCodeUploadStatusOutcomeCallable TrademarkClient::queryQrCodeUploadStatusCallable(const QueryQrCodeUploadStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryQrCodeUploadStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryMaterialOutcome TrademarkClient::queryMaterial(const QueryMaterialRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryMaterialOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryMaterialOutcome(QueryMaterialResult(outcome.result())); + else + return QueryMaterialOutcome(outcome.error()); +} + +void TrademarkClient::queryMaterialAsync(const QueryMaterialRequest& request, const QueryMaterialAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryMaterial(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryMaterialOutcomeCallable TrademarkClient::queryMaterialCallable(const QueryMaterialRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryMaterial(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::BindMaterialOutcome TrademarkClient::bindMaterial(const BindMaterialRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BindMaterialOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BindMaterialOutcome(BindMaterialResult(outcome.result())); + else + return BindMaterialOutcome(outcome.error()); +} + +void TrademarkClient::bindMaterialAsync(const BindMaterialRequest& request, const BindMaterialAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, bindMaterial(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::BindMaterialOutcomeCallable TrademarkClient::bindMaterialCallable(const BindMaterialRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->bindMaterial(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryTradeIntentionUserListOutcome TrademarkClient::queryTradeIntentionUserList(const QueryTradeIntentionUserListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryTradeIntentionUserListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryTradeIntentionUserListOutcome(QueryTradeIntentionUserListResult(outcome.result())); + else + return QueryTradeIntentionUserListOutcome(outcome.error()); +} + +void TrademarkClient::queryTradeIntentionUserListAsync(const QueryTradeIntentionUserListRequest& request, const QueryTradeIntentionUserListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryTradeIntentionUserList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryTradeIntentionUserListOutcomeCallable TrademarkClient::queryTradeIntentionUserListCallable(const QueryTradeIntentionUserListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryTradeIntentionUserList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::UpdateTmMonitorRuleOutcome TrademarkClient::updateTmMonitorRule(const UpdateTmMonitorRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateTmMonitorRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateTmMonitorRuleOutcome(UpdateTmMonitorRuleResult(outcome.result())); + else + return UpdateTmMonitorRuleOutcome(outcome.error()); +} + +void TrademarkClient::updateTmMonitorRuleAsync(const UpdateTmMonitorRuleRequest& request, const UpdateTmMonitorRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateTmMonitorRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::UpdateTmMonitorRuleOutcomeCallable TrademarkClient::updateTmMonitorRuleCallable(const UpdateTmMonitorRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateTmMonitorRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::StoreMaterialTemporarilyOutcome TrademarkClient::storeMaterialTemporarily(const StoreMaterialTemporarilyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StoreMaterialTemporarilyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StoreMaterialTemporarilyOutcome(StoreMaterialTemporarilyResult(outcome.result())); + else + return StoreMaterialTemporarilyOutcome(outcome.error()); +} + +void TrademarkClient::storeMaterialTemporarilyAsync(const StoreMaterialTemporarilyRequest& request, const StoreMaterialTemporarilyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, storeMaterialTemporarily(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::StoreMaterialTemporarilyOutcomeCallable TrademarkClient::storeMaterialTemporarilyCallable(const StoreMaterialTemporarilyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->storeMaterialTemporarily(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::StartNotaryOutcome TrademarkClient::startNotary(const StartNotaryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartNotaryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartNotaryOutcome(StartNotaryResult(outcome.result())); + else + return StartNotaryOutcome(outcome.error()); +} + +void TrademarkClient::startNotaryAsync(const StartNotaryRequest& request, const StartNotaryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startNotary(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::StartNotaryOutcomeCallable TrademarkClient::startNotaryCallable(const StartNotaryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startNotary(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryMaterialListOutcome TrademarkClient::queryMaterialList(const QueryMaterialListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryMaterialListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryMaterialListOutcome(QueryMaterialListResult(outcome.result())); + else + return QueryMaterialListOutcome(outcome.error()); +} + +void TrademarkClient::queryMaterialListAsync(const QueryMaterialListRequest& request, const QueryMaterialListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryMaterialList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryMaterialListOutcomeCallable TrademarkClient::queryMaterialListCallable(const QueryMaterialListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryMaterialList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::CreateTrademarkOrderOutcome TrademarkClient::createTrademarkOrder(const CreateTrademarkOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateTrademarkOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateTrademarkOrderOutcome(CreateTrademarkOrderResult(outcome.result())); + else + return CreateTrademarkOrderOutcome(outcome.error()); +} + +void TrademarkClient::createTrademarkOrderAsync(const CreateTrademarkOrderRequest& request, const CreateTrademarkOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createTrademarkOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::CreateTrademarkOrderOutcomeCallable TrademarkClient::createTrademarkOrderCallable(const CreateTrademarkOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createTrademarkOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::UpdateSendMaterialNumOutcome TrademarkClient::updateSendMaterialNum(const UpdateSendMaterialNumRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateSendMaterialNumOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateSendMaterialNumOutcome(UpdateSendMaterialNumResult(outcome.result())); + else + return UpdateSendMaterialNumOutcome(outcome.error()); +} + +void TrademarkClient::updateSendMaterialNumAsync(const UpdateSendMaterialNumRequest& request, const UpdateSendMaterialNumAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateSendMaterialNum(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::UpdateSendMaterialNumOutcomeCallable TrademarkClient::updateSendMaterialNumCallable(const UpdateSendMaterialNumRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateSendMaterialNum(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::ListNotaryInfosOutcome TrademarkClient::listNotaryInfos(const ListNotaryInfosRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListNotaryInfosOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListNotaryInfosOutcome(ListNotaryInfosResult(outcome.result())); + else + return ListNotaryInfosOutcome(outcome.error()); +} + +void TrademarkClient::listNotaryInfosAsync(const ListNotaryInfosRequest& request, const ListNotaryInfosAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listNotaryInfos(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::ListNotaryInfosOutcomeCallable TrademarkClient::listNotaryInfosCallable(const ListNotaryInfosRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listNotaryInfos(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryCommunicationLogsOutcome TrademarkClient::queryCommunicationLogs(const QueryCommunicationLogsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryCommunicationLogsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryCommunicationLogsOutcome(QueryCommunicationLogsResult(outcome.result())); + else + return QueryCommunicationLogsOutcome(outcome.error()); +} + +void TrademarkClient::queryCommunicationLogsAsync(const QueryCommunicationLogsRequest& request, const QueryCommunicationLogsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryCommunicationLogs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryCommunicationLogsOutcomeCallable TrademarkClient::queryCommunicationLogsCallable(const QueryCommunicationLogsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryCommunicationLogs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +TrademarkClient::QueryTradeMarkApplicationDetailOutcome TrademarkClient::queryTradeMarkApplicationDetail(const QueryTradeMarkApplicationDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QueryTradeMarkApplicationDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QueryTradeMarkApplicationDetailOutcome(QueryTradeMarkApplicationDetailResult(outcome.result())); + else + return QueryTradeMarkApplicationDetailOutcome(outcome.error()); +} + +void TrademarkClient::queryTradeMarkApplicationDetailAsync(const QueryTradeMarkApplicationDetailRequest& request, const QueryTradeMarkApplicationDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, queryTradeMarkApplicationDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +TrademarkClient::QueryTradeMarkApplicationDetailOutcomeCallable TrademarkClient::queryTradeMarkApplicationDetailCallable(const QueryTradeMarkApplicationDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->queryTradeMarkApplicationDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/trademark/src/model/ApplyNotaryPostRequest.cc b/trademark/src/model/ApplyNotaryPostRequest.cc new file mode 100644 index 000000000..0ea98b412 --- /dev/null +++ b/trademark/src/model/ApplyNotaryPostRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::ApplyNotaryPostRequest; + +ApplyNotaryPostRequest::ApplyNotaryPostRequest() : + RpcServiceRequest("trademark", "2018-07-24", "ApplyNotaryPost") +{} + +ApplyNotaryPostRequest::~ApplyNotaryPostRequest() +{} + +std::string ApplyNotaryPostRequest::getReceiverName()const +{ + return receiverName_; +} + +void ApplyNotaryPostRequest::setReceiverName(const std::string& receiverName) +{ + receiverName_ = receiverName; + setCoreParameter("ReceiverName", receiverName); +} + +std::string ApplyNotaryPostRequest::getReceiverPhone()const +{ + return receiverPhone_; +} + +void ApplyNotaryPostRequest::setReceiverPhone(const std::string& receiverPhone) +{ + receiverPhone_ = receiverPhone; + setCoreParameter("ReceiverPhone", receiverPhone); +} + +long ApplyNotaryPostRequest::getNotaryOrderId()const +{ + return notaryOrderId_; +} + +void ApplyNotaryPostRequest::setNotaryOrderId(long notaryOrderId) +{ + notaryOrderId_ = notaryOrderId; + setCoreParameter("NotaryOrderId", std::to_string(notaryOrderId)); +} + +std::string ApplyNotaryPostRequest::getReceiverAddress()const +{ + return receiverAddress_; +} + +void ApplyNotaryPostRequest::setReceiverAddress(const std::string& receiverAddress) +{ + receiverAddress_ = receiverAddress; + setCoreParameter("ReceiverAddress", receiverAddress); +} + diff --git a/trademark/src/model/ApplyNotaryPostResult.cc b/trademark/src/model/ApplyNotaryPostResult.cc new file mode 100644 index 000000000..713ed6990 --- /dev/null +++ b/trademark/src/model/ApplyNotaryPostResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +ApplyNotaryPostResult::ApplyNotaryPostResult() : + ServiceResult() +{} + +ApplyNotaryPostResult::ApplyNotaryPostResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ApplyNotaryPostResult::~ApplyNotaryPostResult() +{} + +void ApplyNotaryPostResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +std::string ApplyNotaryPostResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::string ApplyNotaryPostResult::getErrorCode()const +{ + return errorCode_; +} + +bool ApplyNotaryPostResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/BindMaterialRequest.cc b/trademark/src/model/BindMaterialRequest.cc new file mode 100644 index 000000000..57e3e93cf --- /dev/null +++ b/trademark/src/model/BindMaterialRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::BindMaterialRequest; + +BindMaterialRequest::BindMaterialRequest() : + RpcServiceRequest("trademark", "2018-07-24", "BindMaterial") +{} + +BindMaterialRequest::~BindMaterialRequest() +{} + +std::string BindMaterialRequest::getBizId()const +{ + return bizId_; +} + +void BindMaterialRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + +std::string BindMaterialRequest::getMaterialId()const +{ + return materialId_; +} + +void BindMaterialRequest::setMaterialId(const std::string& materialId) +{ + materialId_ = materialId; + setCoreParameter("MaterialId", materialId); +} + +std::string BindMaterialRequest::getLoaOssKey()const +{ + return loaOssKey_; +} + +void BindMaterialRequest::setLoaOssKey(const std::string& loaOssKey) +{ + loaOssKey_ = loaOssKey; + setCoreParameter("LoaOssKey", loaOssKey); +} + diff --git a/trademark/src/model/BindMaterialResult.cc b/trademark/src/model/BindMaterialResult.cc new file mode 100644 index 000000000..a22f387e1 --- /dev/null +++ b/trademark/src/model/BindMaterialResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +BindMaterialResult::BindMaterialResult() : + ServiceResult() +{} + +BindMaterialResult::BindMaterialResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BindMaterialResult::~BindMaterialResult() +{} + +void BindMaterialResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/trademark/src/model/CancelTradeOrderRequest.cc b/trademark/src/model/CancelTradeOrderRequest.cc new file mode 100644 index 000000000..4d907e491 --- /dev/null +++ b/trademark/src/model/CancelTradeOrderRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::CancelTradeOrderRequest; + +CancelTradeOrderRequest::CancelTradeOrderRequest() : + RpcServiceRequest("trademark", "2018-07-24", "CancelTradeOrder") +{} + +CancelTradeOrderRequest::~CancelTradeOrderRequest() +{} + +std::string CancelTradeOrderRequest::getBizId()const +{ + return bizId_; +} + +void CancelTradeOrderRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + diff --git a/trademark/src/model/CancelTradeOrderResult.cc b/trademark/src/model/CancelTradeOrderResult.cc new file mode 100644 index 000000000..3a5a03544 --- /dev/null +++ b/trademark/src/model/CancelTradeOrderResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +CancelTradeOrderResult::CancelTradeOrderResult() : + ServiceResult() +{} + +CancelTradeOrderResult::CancelTradeOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CancelTradeOrderResult::~CancelTradeOrderResult() +{} + +void CancelTradeOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +std::string CancelTradeOrderResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::string CancelTradeOrderResult::getErrorCode()const +{ + return errorCode_; +} + +bool CancelTradeOrderResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/CheckLoaFillRequest.cc b/trademark/src/model/CheckLoaFillRequest.cc new file mode 100644 index 000000000..e2288487f --- /dev/null +++ b/trademark/src/model/CheckLoaFillRequest.cc @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::CheckLoaFillRequest; + +CheckLoaFillRequest::CheckLoaFillRequest() : + RpcServiceRequest("trademark", "2018-07-24", "CheckLoaFill") +{} + +CheckLoaFillRequest::~CheckLoaFillRequest() +{} + +std::string CheckLoaFillRequest::getOssKey()const +{ + return ossKey_; +} + +void CheckLoaFillRequest::setOssKey(const std::string& ossKey) +{ + ossKey_ = ossKey; + setCoreParameter("OssKey", ossKey); +} + +std::string CheckLoaFillRequest::getType()const +{ + return type_; +} + +void CheckLoaFillRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + diff --git a/trademark/src/model/CheckLoaFillResult.cc b/trademark/src/model/CheckLoaFillResult.cc new file mode 100644 index 000000000..c71d41779 --- /dev/null +++ b/trademark/src/model/CheckLoaFillResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +CheckLoaFillResult::CheckLoaFillResult() : + ServiceResult() +{} + +CheckLoaFillResult::CheckLoaFillResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckLoaFillResult::~CheckLoaFillResult() +{} + +void CheckLoaFillResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["StampFill"].isNull()) + data_.stampFill = dataNode["StampFill"].asString() == "true"; + if(!dataNode["AddressFill"].isNull()) + data_.addressFill = dataNode["AddressFill"].asString() == "true"; + if(!dataNode["TradeMarkNameFill"].isNull()) + data_.tradeMarkNameFill = dataNode["TradeMarkNameFill"].asString() == "true"; + if(!dataNode["CountryFill"].isNull()) + data_.countryFill = dataNode["CountryFill"].asString() == "true"; + if(!dataNode["NationalityFill"].isNull()) + data_.nationalityFill = dataNode["NationalityFill"].asString() == "true"; + if(!dataNode["MaterialNameFill"].isNull()) + data_.materialNameFill = dataNode["MaterialNameFill"].asString() == "true"; + if(!dataNode["TemplateUrl"].isNull()) + data_.templateUrl = dataNode["TemplateUrl"].asString(); + auto allErrorMsgs = dataNode["ErrorMsgs"]["ErrorMsg"]; + for (auto value : allErrorMsgs) + data_.errorMsgs.push_back(value.asString()); + +} + +CheckLoaFillResult::Data CheckLoaFillResult::getData()const +{ + return data_; +} + diff --git a/trademark/src/model/CombineLoaRequest.cc b/trademark/src/model/CombineLoaRequest.cc new file mode 100644 index 000000000..6713509af --- /dev/null +++ b/trademark/src/model/CombineLoaRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::CombineLoaRequest; + +CombineLoaRequest::CombineLoaRequest() : + RpcServiceRequest("trademark", "2018-07-24", "CombineLoa") +{} + +CombineLoaRequest::~CombineLoaRequest() +{} + +std::string CombineLoaRequest::getTrademarkName()const +{ + return trademarkName_; +} + +void CombineLoaRequest::setTrademarkName(const std::string& trademarkName) +{ + trademarkName_ = trademarkName; + setCoreParameter("TrademarkName", trademarkName); +} + +std::string CombineLoaRequest::getMaterialName()const +{ + return materialName_; +} + +void CombineLoaRequest::setMaterialName(const std::string& materialName) +{ + materialName_ = materialName; + setCoreParameter("MaterialName", materialName); +} + +std::string CombineLoaRequest::getAddress()const +{ + return address_; +} + +void CombineLoaRequest::setAddress(const std::string& address) +{ + address_ = address; + setCoreParameter("Address", address); +} + +std::string CombineLoaRequest::getNationality()const +{ + return nationality_; +} + +void CombineLoaRequest::setNationality(const std::string& nationality) +{ + nationality_ = nationality; + setCoreParameter("Nationality", nationality); +} + +std::string CombineLoaRequest::getTmProduceType()const +{ + return tmProduceType_; +} + +void CombineLoaRequest::setTmProduceType(const std::string& tmProduceType) +{ + tmProduceType_ = tmProduceType; + setCoreParameter("TmProduceType", tmProduceType); +} + +std::string CombineLoaRequest::getMaterialId()const +{ + return materialId_; +} + +void CombineLoaRequest::setMaterialId(const std::string& materialId) +{ + materialId_ = materialId; + setCoreParameter("MaterialId", materialId); +} + diff --git a/trademark/src/model/CombineLoaResult.cc b/trademark/src/model/CombineLoaResult.cc new file mode 100644 index 000000000..e19ed6cfd --- /dev/null +++ b/trademark/src/model/CombineLoaResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +CombineLoaResult::CombineLoaResult() : + ServiceResult() +{} + +CombineLoaResult::CombineLoaResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CombineLoaResult::~CombineLoaResult() +{} + +void CombineLoaResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["TemplateCombineUrl"].isNull()) + templateCombineUrl_ = value["TemplateCombineUrl"].asString(); + +} + +std::string CombineLoaResult::getTemplateCombineUrl()const +{ + return templateCombineUrl_; +} + diff --git a/trademark/src/model/ConvertImageToGrayRequest.cc b/trademark/src/model/ConvertImageToGrayRequest.cc new file mode 100644 index 000000000..158828bfa --- /dev/null +++ b/trademark/src/model/ConvertImageToGrayRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::ConvertImageToGrayRequest; + +ConvertImageToGrayRequest::ConvertImageToGrayRequest() : + RpcServiceRequest("trademark", "2018-07-24", "ConvertImageToGray") +{} + +ConvertImageToGrayRequest::~ConvertImageToGrayRequest() +{} + +std::string ConvertImageToGrayRequest::getOssKey()const +{ + return ossKey_; +} + +void ConvertImageToGrayRequest::setOssKey(const std::string& ossKey) +{ + ossKey_ = ossKey; + setCoreParameter("OssKey", ossKey); +} + diff --git a/trademark/src/model/ConvertImageToGrayResult.cc b/trademark/src/model/ConvertImageToGrayResult.cc new file mode 100644 index 000000000..8220feecb --- /dev/null +++ b/trademark/src/model/ConvertImageToGrayResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +ConvertImageToGrayResult::ConvertImageToGrayResult() : + ServiceResult() +{} + +ConvertImageToGrayResult::ConvertImageToGrayResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ConvertImageToGrayResult::~ConvertImageToGrayResult() +{} + +void ConvertImageToGrayResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["SignatureUrl"].isNull()) + signatureUrl_ = value["SignatureUrl"].asString(); + +} + +std::string ConvertImageToGrayResult::getSignatureUrl()const +{ + return signatureUrl_; +} + diff --git a/trademark/src/model/CreateTrademarkOrderRequest.cc b/trademark/src/model/CreateTrademarkOrderRequest.cc new file mode 100644 index 000000000..20c274f2a --- /dev/null +++ b/trademark/src/model/CreateTrademarkOrderRequest.cc @@ -0,0 +1,247 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::CreateTrademarkOrderRequest; + +CreateTrademarkOrderRequest::CreateTrademarkOrderRequest() : + RpcServiceRequest("trademark", "2018-07-24", "CreateTrademarkOrder") +{} + +CreateTrademarkOrderRequest::~CreateTrademarkOrderRequest() +{} + +std::string CreateTrademarkOrderRequest::getTmName()const +{ + return tmName_; +} + +void CreateTrademarkOrderRequest::setTmName(const std::string& tmName) +{ + tmName_ = tmName; + setCoreParameter("TmName", tmName); +} + +std::string CreateTrademarkOrderRequest::getRealUserName()const +{ + return realUserName_; +} + +void CreateTrademarkOrderRequest::setRealUserName(const std::string& realUserName) +{ + realUserName_ = realUserName; + setCoreParameter("RealUserName", realUserName); +} + +std::string CreateTrademarkOrderRequest::getOrderData()const +{ + return orderData_; +} + +void CreateTrademarkOrderRequest::setOrderData(const std::string& orderData) +{ + orderData_ = orderData; + setCoreParameter("OrderData", orderData); +} + +std::string CreateTrademarkOrderRequest::getChannel()const +{ + return channel_; +} + +void CreateTrademarkOrderRequest::setChannel(const std::string& channel) +{ + channel_ = channel; + setCoreParameter("Channel", channel); +} + +std::string CreateTrademarkOrderRequest::getPartnerCode()const +{ + return partnerCode_; +} + +void CreateTrademarkOrderRequest::setPartnerCode(const std::string& partnerCode) +{ + partnerCode_ = partnerCode; + setCoreParameter("PartnerCode", partnerCode); +} + +std::string CreateTrademarkOrderRequest::getPhoneNum()const +{ + return phoneNum_; +} + +void CreateTrademarkOrderRequest::setPhoneNum(const std::string& phoneNum) +{ + phoneNum_ = phoneNum; + setCoreParameter("PhoneNum", phoneNum); +} + +int CreateTrademarkOrderRequest::getType()const +{ + return type_; +} + +void CreateTrademarkOrderRequest::setType(int type) +{ + type_ = type; + setCoreParameter("Type", std::to_string(type)); +} + +std::string CreateTrademarkOrderRequest::getMaterialId()const +{ + return materialId_; +} + +void CreateTrademarkOrderRequest::setMaterialId(const std::string& materialId) +{ + materialId_ = materialId; + setCoreParameter("MaterialId", materialId); +} + +long CreateTrademarkOrderRequest::getUserId()const +{ + return userId_; +} + +void CreateTrademarkOrderRequest::setUserId(long userId) +{ + userId_ = userId; + setCoreParameter("UserId", std::to_string(userId)); +} + +std::string CreateTrademarkOrderRequest::getTmComment()const +{ + return tmComment_; +} + +void CreateTrademarkOrderRequest::setTmComment(const std::string& tmComment) +{ + tmComment_ = tmComment; + setCoreParameter("TmComment", tmComment); +} + +std::string CreateTrademarkOrderRequest::getRegisterName()const +{ + return registerName_; +} + +void CreateTrademarkOrderRequest::setRegisterName(const std::string& registerName) +{ + registerName_ = registerName; + setCoreParameter("RegisterName", registerName); +} + +std::string CreateTrademarkOrderRequest::getTmNameType()const +{ + return tmNameType_; +} + +void CreateTrademarkOrderRequest::setTmNameType(const std::string& tmNameType) +{ + tmNameType_ = tmNameType; + setCoreParameter("TmNameType", tmNameType); +} + +std::string CreateTrademarkOrderRequest::getTmIcon()const +{ + return tmIcon_; +} + +void CreateTrademarkOrderRequest::setTmIcon(const std::string& tmIcon) +{ + tmIcon_ = tmIcon; + setCoreParameter("TmIcon", tmIcon); +} + +std::string CreateTrademarkOrderRequest::getUid()const +{ + return uid_; +} + +void CreateTrademarkOrderRequest::setUid(const std::string& uid) +{ + uid_ = uid; + setCoreParameter("Uid", uid); +} + +bool CreateTrademarkOrderRequest::getIsBlackIcon()const +{ + return isBlackIcon_; +} + +void CreateTrademarkOrderRequest::setIsBlackIcon(bool isBlackIcon) +{ + isBlackIcon_ = isBlackIcon; + setCoreParameter("IsBlackIcon", isBlackIcon ? "true" : "false"); +} + +std::string CreateTrademarkOrderRequest::getRenewInfoId()const +{ + return renewInfoId_; +} + +void CreateTrademarkOrderRequest::setRenewInfoId(const std::string& renewInfoId) +{ + renewInfoId_ = renewInfoId; + setCoreParameter("RenewInfoId", renewInfoId); +} + +std::string CreateTrademarkOrderRequest::getBizId()const +{ + return bizId_; +} + +void CreateTrademarkOrderRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + +std::string CreateTrademarkOrderRequest::getRootCode()const +{ + return rootCode_; +} + +void CreateTrademarkOrderRequest::setRootCode(const std::string& rootCode) +{ + rootCode_ = rootCode; + setCoreParameter("RootCode", rootCode); +} + +std::string CreateTrademarkOrderRequest::getLoaOssKey()const +{ + return loaOssKey_; +} + +void CreateTrademarkOrderRequest::setLoaOssKey(const std::string& loaOssKey) +{ + loaOssKey_ = loaOssKey; + setCoreParameter("LoaOssKey", loaOssKey); +} + +std::string CreateTrademarkOrderRequest::getRegisterNumber()const +{ + return registerNumber_; +} + +void CreateTrademarkOrderRequest::setRegisterNumber(const std::string& registerNumber) +{ + registerNumber_ = registerNumber; + setCoreParameter("RegisterNumber", registerNumber); +} + diff --git a/trademark/src/model/CreateTrademarkOrderResult.cc b/trademark/src/model/CreateTrademarkOrderResult.cc new file mode 100644 index 000000000..454ab4f26 --- /dev/null +++ b/trademark/src/model/CreateTrademarkOrderResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +CreateTrademarkOrderResult::CreateTrademarkOrderResult() : + ServiceResult() +{} + +CreateTrademarkOrderResult::CreateTrademarkOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateTrademarkOrderResult::~CreateTrademarkOrderResult() +{} + +void CreateTrademarkOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["OrderId"].isNull()) + orderId_ = std::stol(value["OrderId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + +} + +std::string CreateTrademarkOrderResult::getErrorMsg()const +{ + return errorMsg_; +} + +long CreateTrademarkOrderResult::getOrderId()const +{ + return orderId_; +} + +bool CreateTrademarkOrderResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/DeleteMaterialRequest.cc b/trademark/src/model/DeleteMaterialRequest.cc new file mode 100644 index 000000000..37520dc73 --- /dev/null +++ b/trademark/src/model/DeleteMaterialRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::DeleteMaterialRequest; + +DeleteMaterialRequest::DeleteMaterialRequest() : + RpcServiceRequest("trademark", "2018-07-24", "DeleteMaterial") +{} + +DeleteMaterialRequest::~DeleteMaterialRequest() +{} + +long DeleteMaterialRequest::getId()const +{ + return id_; +} + +void DeleteMaterialRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + diff --git a/trademark/src/model/DeleteMaterialResult.cc b/trademark/src/model/DeleteMaterialResult.cc new file mode 100644 index 000000000..7ce102708 --- /dev/null +++ b/trademark/src/model/DeleteMaterialResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +DeleteMaterialResult::DeleteMaterialResult() : + ServiceResult() +{} + +DeleteMaterialResult::DeleteMaterialResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteMaterialResult::~DeleteMaterialResult() +{} + +void DeleteMaterialResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +std::string DeleteMaterialResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::string DeleteMaterialResult::getErrorCode()const +{ + return errorCode_; +} + +bool DeleteMaterialResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/DeleteTmMonitorRuleRequest.cc b/trademark/src/model/DeleteTmMonitorRuleRequest.cc new file mode 100644 index 000000000..44a096fd0 --- /dev/null +++ b/trademark/src/model/DeleteTmMonitorRuleRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::DeleteTmMonitorRuleRequest; + +DeleteTmMonitorRuleRequest::DeleteTmMonitorRuleRequest() : + RpcServiceRequest("trademark", "2018-07-24", "DeleteTmMonitorRule") +{} + +DeleteTmMonitorRuleRequest::~DeleteTmMonitorRuleRequest() +{} + +long DeleteTmMonitorRuleRequest::getId()const +{ + return id_; +} + +void DeleteTmMonitorRuleRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + diff --git a/trademark/src/model/DeleteTmMonitorRuleResult.cc b/trademark/src/model/DeleteTmMonitorRuleResult.cc new file mode 100644 index 000000000..3cf11ac67 --- /dev/null +++ b/trademark/src/model/DeleteTmMonitorRuleResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +DeleteTmMonitorRuleResult::DeleteTmMonitorRuleResult() : + ServiceResult() +{} + +DeleteTmMonitorRuleResult::DeleteTmMonitorRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteTmMonitorRuleResult::~DeleteTmMonitorRuleResult() +{} + +void DeleteTmMonitorRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +std::string DeleteTmMonitorRuleResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::string DeleteTmMonitorRuleResult::getErrorCode()const +{ + return errorCode_; +} + +bool DeleteTmMonitorRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/DenySupplementRequest.cc b/trademark/src/model/DenySupplementRequest.cc new file mode 100644 index 000000000..4963c6b84 --- /dev/null +++ b/trademark/src/model/DenySupplementRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::DenySupplementRequest; + +DenySupplementRequest::DenySupplementRequest() : + RpcServiceRequest("trademark", "2018-07-24", "DenySupplement") +{} + +DenySupplementRequest::~DenySupplementRequest() +{} + +long DenySupplementRequest::getId()const +{ + return id_; +} + +void DenySupplementRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + diff --git a/trademark/src/model/DenySupplementResult.cc b/trademark/src/model/DenySupplementResult.cc new file mode 100644 index 000000000..e4677a674 --- /dev/null +++ b/trademark/src/model/DenySupplementResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +DenySupplementResult::DenySupplementResult() : + ServiceResult() +{} + +DenySupplementResult::DenySupplementResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DenySupplementResult::~DenySupplementResult() +{} + +void DenySupplementResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +std::string DenySupplementResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::string DenySupplementResult::getErrorCode()const +{ + return errorCode_; +} + +bool DenySupplementResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/FillLogisticsRequest.cc b/trademark/src/model/FillLogisticsRequest.cc new file mode 100644 index 000000000..df088c369 --- /dev/null +++ b/trademark/src/model/FillLogisticsRequest.cc @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::FillLogisticsRequest; + +FillLogisticsRequest::FillLogisticsRequest() : + RpcServiceRequest("trademark", "2018-07-24", "FillLogistics") +{} + +FillLogisticsRequest::~FillLogisticsRequest() +{} + +std::string FillLogisticsRequest::getBizId()const +{ + return bizId_; +} + +void FillLogisticsRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + +std::string FillLogisticsRequest::getLogistics()const +{ + return logistics_; +} + +void FillLogisticsRequest::setLogistics(const std::string& logistics) +{ + logistics_ = logistics; + setCoreParameter("Logistics", logistics); +} + diff --git a/trademark/src/model/FillLogisticsResult.cc b/trademark/src/model/FillLogisticsResult.cc new file mode 100644 index 000000000..7b106ad95 --- /dev/null +++ b/trademark/src/model/FillLogisticsResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +FillLogisticsResult::FillLogisticsResult() : + ServiceResult() +{} + +FillLogisticsResult::FillLogisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +FillLogisticsResult::~FillLogisticsResult() +{} + +void FillLogisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +std::string FillLogisticsResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::string FillLogisticsResult::getErrorCode()const +{ + return errorCode_; +} + +bool FillLogisticsResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/FilterUnavailableCodesRequest.cc b/trademark/src/model/FilterUnavailableCodesRequest.cc new file mode 100644 index 000000000..265abe738 --- /dev/null +++ b/trademark/src/model/FilterUnavailableCodesRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::FilterUnavailableCodesRequest; + +FilterUnavailableCodesRequest::FilterUnavailableCodesRequest() : + RpcServiceRequest("trademark", "2018-07-24", "FilterUnavailableCodes") +{} + +FilterUnavailableCodesRequest::~FilterUnavailableCodesRequest() +{} + +std::string FilterUnavailableCodesRequest::getCodes()const +{ + return codes_; +} + +void FilterUnavailableCodesRequest::setCodes(const std::string& codes) +{ + codes_ = codes; + setCoreParameter("Codes", codes); +} + diff --git a/trademark/src/model/FilterUnavailableCodesResult.cc b/trademark/src/model/FilterUnavailableCodesResult.cc new file mode 100644 index 000000000..509fff2d3 --- /dev/null +++ b/trademark/src/model/FilterUnavailableCodesResult.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +FilterUnavailableCodesResult::FilterUnavailableCodesResult() : + ServiceResult() +{} + +FilterUnavailableCodesResult::FilterUnavailableCodesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +FilterUnavailableCodesResult::~FilterUnavailableCodesResult() +{} + +void FilterUnavailableCodesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["Codes"]; + for (const auto &item : allData) + data_.push_back(item.asString()); + +} + +std::vector FilterUnavailableCodesResult::getData()const +{ + return data_; +} + diff --git a/trademark/src/model/GenerateQrCodeRequest.cc b/trademark/src/model/GenerateQrCodeRequest.cc new file mode 100644 index 000000000..1174012cd --- /dev/null +++ b/trademark/src/model/GenerateQrCodeRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::GenerateQrCodeRequest; + +GenerateQrCodeRequest::GenerateQrCodeRequest() : + RpcServiceRequest("trademark", "2018-07-24", "GenerateQrCode") +{} + +GenerateQrCodeRequest::~GenerateQrCodeRequest() +{} + +std::string GenerateQrCodeRequest::getOssKey()const +{ + return ossKey_; +} + +void GenerateQrCodeRequest::setOssKey(const std::string& ossKey) +{ + ossKey_ = ossKey; + setCoreParameter("OssKey", ossKey); +} + +std::string GenerateQrCodeRequest::getFieldKey()const +{ + return fieldKey_; +} + +void GenerateQrCodeRequest::setFieldKey(const std::string& fieldKey) +{ + fieldKey_ = fieldKey; + setCoreParameter("FieldKey", fieldKey); +} + +std::string GenerateQrCodeRequest::getUuid()const +{ + return uuid_; +} + +void GenerateQrCodeRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + diff --git a/trademark/src/model/GenerateQrCodeResult.cc b/trademark/src/model/GenerateQrCodeResult.cc new file mode 100644 index 000000000..e0af42326 --- /dev/null +++ b/trademark/src/model/GenerateQrCodeResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +GenerateQrCodeResult::GenerateQrCodeResult() : + ServiceResult() +{} + +GenerateQrCodeResult::GenerateQrCodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GenerateQrCodeResult::~GenerateQrCodeResult() +{} + +void GenerateQrCodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Uuid"].isNull()) + uuid_ = value["Uuid"].asString(); + if(!value["ExpireTime"].isNull()) + expireTime_ = std::stol(value["ExpireTime"].asString()); + if(!value["QrcodeUrl"].isNull()) + qrcodeUrl_ = value["QrcodeUrl"].asString(); + if(!value["FieldKey"].isNull()) + fieldKey_ = value["FieldKey"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string GenerateQrCodeResult::getQrcodeUrl()const +{ + return qrcodeUrl_; +} + +std::string GenerateQrCodeResult::getUuid()const +{ + return uuid_; +} + +long GenerateQrCodeResult::getExpireTime()const +{ + return expireTime_; +} + +bool GenerateQrCodeResult::getSuccess()const +{ + return success_; +} + +std::string GenerateQrCodeResult::getFieldKey()const +{ + return fieldKey_; +} + diff --git a/trademark/src/model/GenerateUploadFilePolicyRequest.cc b/trademark/src/model/GenerateUploadFilePolicyRequest.cc new file mode 100644 index 000000000..a479b6b07 --- /dev/null +++ b/trademark/src/model/GenerateUploadFilePolicyRequest.cc @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::GenerateUploadFilePolicyRequest; + +GenerateUploadFilePolicyRequest::GenerateUploadFilePolicyRequest() : + RpcServiceRequest("trademark", "2018-07-24", "GenerateUploadFilePolicy") +{} + +GenerateUploadFilePolicyRequest::~GenerateUploadFilePolicyRequest() +{} + +std::string GenerateUploadFilePolicyRequest::getFileType()const +{ + return fileType_; +} + +void GenerateUploadFilePolicyRequest::setFileType(const std::string& fileType) +{ + fileType_ = fileType; + setCoreParameter("FileType", fileType); +} + +std::string GenerateUploadFilePolicyRequest::getBizId()const +{ + return bizId_; +} + +void GenerateUploadFilePolicyRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + diff --git a/trademark/src/model/GenerateUploadFilePolicyResult.cc b/trademark/src/model/GenerateUploadFilePolicyResult.cc new file mode 100644 index 000000000..850e6d24c --- /dev/null +++ b/trademark/src/model/GenerateUploadFilePolicyResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +GenerateUploadFilePolicyResult::GenerateUploadFilePolicyResult() : + ServiceResult() +{} + +GenerateUploadFilePolicyResult::GenerateUploadFilePolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GenerateUploadFilePolicyResult::~GenerateUploadFilePolicyResult() +{} + +void GenerateUploadFilePolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["EncodedPolicy"].isNull()) + encodedPolicy_ = value["EncodedPolicy"].asString(); + if(!value["AccessId"].isNull()) + accessId_ = value["AccessId"].asString(); + if(!value["Signature"].isNull()) + signature_ = value["Signature"].asString(); + if(!value["FileDir"].isNull()) + fileDir_ = value["FileDir"].asString(); + if(!value["Host"].isNull()) + host_ = value["Host"].asString(); + if(!value["ExpireTime"].isNull()) + expireTime_ = std::stol(value["ExpireTime"].asString()); + +} + +std::string GenerateUploadFilePolicyResult::getFileDir()const +{ + return fileDir_; +} + +std::string GenerateUploadFilePolicyResult::getEncodedPolicy()const +{ + return encodedPolicy_; +} + +std::string GenerateUploadFilePolicyResult::getAccessId()const +{ + return accessId_; +} + +std::string GenerateUploadFilePolicyResult::getSignature()const +{ + return signature_; +} + +std::string GenerateUploadFilePolicyResult::getHost()const +{ + return host_; +} + +long GenerateUploadFilePolicyResult::getExpireTime()const +{ + return expireTime_; +} + diff --git a/trademark/src/model/GetNotaryOrderRequest.cc b/trademark/src/model/GetNotaryOrderRequest.cc new file mode 100644 index 000000000..a4e7b877b --- /dev/null +++ b/trademark/src/model/GetNotaryOrderRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::GetNotaryOrderRequest; + +GetNotaryOrderRequest::GetNotaryOrderRequest() : + RpcServiceRequest("trademark", "2018-07-24", "GetNotaryOrder") +{} + +GetNotaryOrderRequest::~GetNotaryOrderRequest() +{} + +long GetNotaryOrderRequest::getNotaryOrderId()const +{ + return notaryOrderId_; +} + +void GetNotaryOrderRequest::setNotaryOrderId(long notaryOrderId) +{ + notaryOrderId_ = notaryOrderId; + setCoreParameter("NotaryOrderId", std::to_string(notaryOrderId)); +} + diff --git a/trademark/src/model/GetNotaryOrderResult.cc b/trademark/src/model/GetNotaryOrderResult.cc new file mode 100644 index 000000000..d718d99f0 --- /dev/null +++ b/trademark/src/model/GetNotaryOrderResult.cc @@ -0,0 +1,339 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +GetNotaryOrderResult::GetNotaryOrderResult() : + ServiceResult() +{} + +GetNotaryOrderResult::GetNotaryOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetNotaryOrderResult::~GetNotaryOrderResult() +{} + +void GetNotaryOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["NotaryOrderId"].isNull()) + notaryOrderId_ = std::stol(value["NotaryOrderId"].asString()); + if(!value["AliyunOrderId"].isNull()) + aliyunOrderId_ = value["AliyunOrderId"].asString(); + if(!value["TmRegisterNo"].isNull()) + tmRegisterNo_ = value["TmRegisterNo"].asString(); + if(!value["TmName"].isNull()) + tmName_ = value["TmName"].asString(); + if(!value["TmImage"].isNull()) + tmImage_ = value["TmImage"].asString(); + if(!value["TmClassification"].isNull()) + tmClassification_ = value["TmClassification"].asString(); + if(!value["OrderPrice"].isNull()) + orderPrice_ = std::stof(value["OrderPrice"].asString()); + if(!value["NotaryStatus"].isNull()) + notaryStatus_ = std::stoi(value["NotaryStatus"].asString()); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["Phone"].isNull()) + phone_ = value["Phone"].asString(); + if(!value["SellerCompanyName"].isNull()) + sellerCompanyName_ = value["SellerCompanyName"].asString(); + if(!value["BusinessLicenseId"].isNull()) + businessLicenseId_ = value["BusinessLicenseId"].asString(); + if(!value["LegalPersonName"].isNull()) + legalPersonName_ = value["LegalPersonName"].asString(); + if(!value["LegalPersonPhone"].isNull()) + legalPersonPhone_ = value["LegalPersonPhone"].asString(); + if(!value["LegalPersonIdCard"].isNull()) + legalPersonIdCard_ = value["LegalPersonIdCard"].asString(); + if(!value["CompanyContactName"].isNull()) + companyContactName_ = value["CompanyContactName"].asString(); + if(!value["CompanyContactPhone"].isNull()) + companyContactPhone_ = value["CompanyContactPhone"].asString(); + if(!value["TmRegisterCertificate"].isNull()) + tmRegisterCertificate_ = value["TmRegisterCertificate"].asString(); + if(!value["BusinessLicense"].isNull()) + businessLicense_ = value["BusinessLicense"].asString(); + if(!value["TmAcceptCertificate"].isNull()) + tmAcceptCertificate_ = value["TmAcceptCertificate"].asString(); + if(!value["SellerFrontOfIdCard"].isNull()) + sellerFrontOfIdCard_ = value["SellerFrontOfIdCard"].asString(); + if(!value["SellerBackOfIdCard"].isNull()) + sellerBackOfIdCard_ = value["SellerBackOfIdCard"].asString(); + if(!value["TmRegisterChangeCertificate"].isNull()) + tmRegisterChangeCertificate_ = value["TmRegisterChangeCertificate"].asString(); + if(!value["ReceiverName"].isNull()) + receiverName_ = value["ReceiverName"].asString(); + if(!value["ReceiverAddress"].isNull()) + receiverAddress_ = value["ReceiverAddress"].asString(); + if(!value["ReceiverPhone"].isNull()) + receiverPhone_ = value["ReceiverPhone"].asString(); + if(!value["ReceiverPostalCode"].isNull()) + receiverPostalCode_ = value["ReceiverPostalCode"].asString(); + if(!value["OrderDate"].isNull()) + orderDate_ = std::stol(value["OrderDate"].asString()); + if(!value["NotaryAcceptDate"].isNull()) + notaryAcceptDate_ = std::stol(value["NotaryAcceptDate"].asString()); + if(!value["NotarySucceedDate"].isNull()) + notarySucceedDate_ = std::stol(value["NotarySucceedDate"].asString()); + if(!value["NotaryFailedDate"].isNull()) + notaryFailedDate_ = std::stol(value["NotaryFailedDate"].asString()); + if(!value["NotaryFailedReason"].isNull()) + notaryFailedReason_ = value["NotaryFailedReason"].asString(); + if(!value["NotaryCertificate"].isNull()) + notaryCertificate_ = value["NotaryCertificate"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["BizId"].isNull()) + bizId_ = value["BizId"].asString(); + if(!value["NotaryType"].isNull()) + notaryType_ = std::stoi(value["NotaryType"].asString()); + if(!value["NotaryPlatformName"].isNull()) + notaryPlatformName_ = value["NotaryPlatformName"].asString(); + if(!value["ApplyPostStatus"].isNull()) + applyPostStatus_ = std::stoi(value["ApplyPostStatus"].asString()); + if(!value["NotaryPostReceipt"].isNull()) + notaryPostReceipt_ = value["NotaryPostReceipt"].asString(); + +} + +std::string GetNotaryOrderResult::getTmImage()const +{ + return tmImage_; +} + +std::string GetNotaryOrderResult::getTmClassification()const +{ + return tmClassification_; +} + +std::string GetNotaryOrderResult::getSellerFrontOfIdCard()const +{ + return sellerFrontOfIdCard_; +} + +int GetNotaryOrderResult::getNotaryType()const +{ + return notaryType_; +} + +std::string GetNotaryOrderResult::getNotaryPlatformName()const +{ + return notaryPlatformName_; +} + +int GetNotaryOrderResult::getApplyPostStatus()const +{ + return applyPostStatus_; +} + +std::string GetNotaryOrderResult::getNotaryCertificate()const +{ + return notaryCertificate_; +} + +bool GetNotaryOrderResult::getSuccess()const +{ + return success_; +} + +std::string GetNotaryOrderResult::getName()const +{ + return name_; +} + +std::string GetNotaryOrderResult::getLegalPersonName()const +{ + return legalPersonName_; +} + +std::string GetNotaryOrderResult::getBusinessLicenseId()const +{ + return businessLicenseId_; +} + +std::string GetNotaryOrderResult::getAliyunOrderId()const +{ + return aliyunOrderId_; +} + +std::string GetNotaryOrderResult::getCompanyContactPhone()const +{ + return companyContactPhone_; +} + +std::string GetNotaryOrderResult::getTmAcceptCertificate()const +{ + return tmAcceptCertificate_; +} + +std::string GetNotaryOrderResult::getReceiverPhone()const +{ + return receiverPhone_; +} + +std::string GetNotaryOrderResult::getPhone()const +{ + return phone_; +} + +std::string GetNotaryOrderResult::getTmRegisterCertificate()const +{ + return tmRegisterCertificate_; +} + +long GetNotaryOrderResult::getNotaryAcceptDate()const +{ + return notaryAcceptDate_; +} + +long GetNotaryOrderResult::getNotaryOrderId()const +{ + return notaryOrderId_; +} + +std::string GetNotaryOrderResult::getReceiverAddress()const +{ + return receiverAddress_; +} + +long GetNotaryOrderResult::getNotarySucceedDate()const +{ + return notarySucceedDate_; +} + +std::string GetNotaryOrderResult::getLegalPersonPhone()const +{ + return legalPersonPhone_; +} + +std::string GetNotaryOrderResult::getNotaryFailedReason()const +{ + return notaryFailedReason_; +} + +float GetNotaryOrderResult::getOrderPrice()const +{ + return orderPrice_; +} + +long GetNotaryOrderResult::getNotaryFailedDate()const +{ + return notaryFailedDate_; +} + +std::string GetNotaryOrderResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::string GetNotaryOrderResult::getSellerBackOfIdCard()const +{ + return sellerBackOfIdCard_; +} + +int GetNotaryOrderResult::getNotaryStatus()const +{ + return notaryStatus_; +} + +std::string GetNotaryOrderResult::getSellerCompanyName()const +{ + return sellerCompanyName_; +} + +long GetNotaryOrderResult::getOrderDate()const +{ + return orderDate_; +} + +std::string GetNotaryOrderResult::getType()const +{ + return type_; +} + +std::string GetNotaryOrderResult::getBusinessLicense()const +{ + return businessLicense_; +} + +std::string GetNotaryOrderResult::getReceiverPostalCode()const +{ + return receiverPostalCode_; +} + +std::string GetNotaryOrderResult::getNotaryPostReceipt()const +{ + return notaryPostReceipt_; +} + +std::string GetNotaryOrderResult::getTmRegisterChangeCertificate()const +{ + return tmRegisterChangeCertificate_; +} + +std::string GetNotaryOrderResult::getTmName()const +{ + return tmName_; +} + +std::string GetNotaryOrderResult::getTmRegisterNo()const +{ + return tmRegisterNo_; +} + +std::string GetNotaryOrderResult::getErrorCode()const +{ + return errorCode_; +} + +std::string GetNotaryOrderResult::getLegalPersonIdCard()const +{ + return legalPersonIdCard_; +} + +std::string GetNotaryOrderResult::getCompanyContactName()const +{ + return companyContactName_; +} + +std::string GetNotaryOrderResult::getReceiverName()const +{ + return receiverName_; +} + +std::string GetNotaryOrderResult::getBizId()const +{ + return bizId_; +} + diff --git a/trademark/src/model/InsertMaterialRequest.cc b/trademark/src/model/InsertMaterialRequest.cc new file mode 100644 index 000000000..4a05217ef --- /dev/null +++ b/trademark/src/model/InsertMaterialRequest.cc @@ -0,0 +1,258 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::InsertMaterialRequest; + +InsertMaterialRequest::InsertMaterialRequest() : + RpcServiceRequest("trademark", "2018-07-24", "InsertMaterial") +{} + +InsertMaterialRequest::~InsertMaterialRequest() +{} + +std::string InsertMaterialRequest::getContactEmail()const +{ + return contactEmail_; +} + +void InsertMaterialRequest::setContactEmail(const std::string& contactEmail) +{ + contactEmail_ = contactEmail; + setCoreParameter("ContactEmail", contactEmail); +} + +std::string InsertMaterialRequest::getContactAddress()const +{ + return contactAddress_; +} + +void InsertMaterialRequest::setContactAddress(const std::string& contactAddress) +{ + contactAddress_ = contactAddress; + setCoreParameter("ContactAddress", contactAddress); +} + +std::string InsertMaterialRequest::getEAddress()const +{ + return eAddress_; +} + +void InsertMaterialRequest::setEAddress(const std::string& eAddress) +{ + eAddress_ = eAddress; + setCoreParameter("EAddress", eAddress); +} + +std::string InsertMaterialRequest::getCountry()const +{ + return country_; +} + +void InsertMaterialRequest::setCountry(const std::string& country) +{ + country_ = country; + setCoreParameter("Country", country); +} + +std::string InsertMaterialRequest::getLegalNoticeOssKey()const +{ + return legalNoticeOssKey_; +} + +void InsertMaterialRequest::setLegalNoticeOssKey(const std::string& legalNoticeOssKey) +{ + legalNoticeOssKey_ = legalNoticeOssKey; + setCoreParameter("LegalNoticeOssKey", legalNoticeOssKey); +} + +std::string InsertMaterialRequest::getAddress()const +{ + return address_; +} + +void InsertMaterialRequest::setAddress(const std::string& address) +{ + address_ = address; + setCoreParameter("Address", address); +} + +std::string InsertMaterialRequest::getTown()const +{ + return town_; +} + +void InsertMaterialRequest::setTown(const std::string& town) +{ + town_ = town; + setCoreParameter("Town", town); +} + +std::string InsertMaterialRequest::getContactNumber()const +{ + return contactNumber_; +} + +void InsertMaterialRequest::setContactNumber(const std::string& contactNumber) +{ + contactNumber_ = contactNumber; + setCoreParameter("ContactNumber", contactNumber); +} + +std::string InsertMaterialRequest::getCity()const +{ + return city_; +} + +void InsertMaterialRequest::setCity(const std::string& city) +{ + city_ = city; + setCoreParameter("City", city); +} + +std::string InsertMaterialRequest::getIdCardOssKey()const +{ + return idCardOssKey_; +} + +void InsertMaterialRequest::setIdCardOssKey(const std::string& idCardOssKey) +{ + idCardOssKey_ = idCardOssKey; + setCoreParameter("IdCardOssKey", idCardOssKey); +} + +int InsertMaterialRequest::getType()const +{ + return type_; +} + +void InsertMaterialRequest::setType(int type) +{ + type_ = type; + setCoreParameter("Type", std::to_string(type)); +} + +std::string InsertMaterialRequest::getContactName()const +{ + return contactName_; +} + +void InsertMaterialRequest::setContactName(const std::string& contactName) +{ + contactName_ = contactName; + setCoreParameter("ContactName", contactName); +} + +std::string InsertMaterialRequest::getPassportOssKey()const +{ + return passportOssKey_; +} + +void InsertMaterialRequest::setPassportOssKey(const std::string& passportOssKey) +{ + passportOssKey_ = passportOssKey; + setCoreParameter("PassportOssKey", passportOssKey); +} + +std::string InsertMaterialRequest::getContactZipcode()const +{ + return contactZipcode_; +} + +void InsertMaterialRequest::setContactZipcode(const std::string& contactZipcode) +{ + contactZipcode_ = contactZipcode; + setCoreParameter("ContactZipcode", contactZipcode); +} + +std::string InsertMaterialRequest::getEName()const +{ + return eName_; +} + +void InsertMaterialRequest::setEName(const std::string& eName) +{ + eName_ = eName; + setCoreParameter("EName", eName); +} + +std::string InsertMaterialRequest::getProvince()const +{ + return province_; +} + +void InsertMaterialRequest::setProvince(const std::string& province) +{ + province_ = province; + setCoreParameter("Province", province); +} + +std::string InsertMaterialRequest::getBusinessLicenceOssKey()const +{ + return businessLicenceOssKey_; +} + +void InsertMaterialRequest::setBusinessLicenceOssKey(const std::string& businessLicenceOssKey) +{ + businessLicenceOssKey_ = businessLicenceOssKey; + setCoreParameter("BusinessLicenceOssKey", businessLicenceOssKey); +} + +std::string InsertMaterialRequest::getName()const +{ + return name_; +} + +void InsertMaterialRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +std::string InsertMaterialRequest::getCardNumber()const +{ + return cardNumber_; +} + +void InsertMaterialRequest::setCardNumber(const std::string& cardNumber) +{ + cardNumber_ = cardNumber; + setCoreParameter("CardNumber", cardNumber); +} + +int InsertMaterialRequest::getRegion()const +{ + return region_; +} + +void InsertMaterialRequest::setRegion(int region) +{ + region_ = region; + setCoreParameter("Region", std::to_string(region)); +} + +std::string InsertMaterialRequest::getLoaOssKey()const +{ + return loaOssKey_; +} + +void InsertMaterialRequest::setLoaOssKey(const std::string& loaOssKey) +{ + loaOssKey_ = loaOssKey; + setCoreParameter("LoaOssKey", loaOssKey); +} + diff --git a/trademark/src/model/InsertMaterialResult.cc b/trademark/src/model/InsertMaterialResult.cc new file mode 100644 index 000000000..aadb0eec2 --- /dev/null +++ b/trademark/src/model/InsertMaterialResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +InsertMaterialResult::InsertMaterialResult() : + ServiceResult() +{} + +InsertMaterialResult::InsertMaterialResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +InsertMaterialResult::~InsertMaterialResult() +{} + +void InsertMaterialResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool InsertMaterialResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/InsertRenewInfoRequest.cc b/trademark/src/model/InsertRenewInfoRequest.cc new file mode 100644 index 000000000..8c3921d2f --- /dev/null +++ b/trademark/src/model/InsertRenewInfoRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::InsertRenewInfoRequest; + +InsertRenewInfoRequest::InsertRenewInfoRequest() : + RpcServiceRequest("trademark", "2018-07-24", "InsertRenewInfo") +{} + +InsertRenewInfoRequest::~InsertRenewInfoRequest() +{} + +std::string InsertRenewInfoRequest::getEngName()const +{ + return engName_; +} + +void InsertRenewInfoRequest::setEngName(const std::string& engName) +{ + engName_ = engName; + setCoreParameter("EngName", engName); +} + +std::string InsertRenewInfoRequest::getAddress()const +{ + return address_; +} + +void InsertRenewInfoRequest::setAddress(const std::string& address) +{ + address_ = address; + setCoreParameter("Address", address); +} + +long InsertRenewInfoRequest::getRegisterTime()const +{ + return registerTime_; +} + +void InsertRenewInfoRequest::setRegisterTime(long registerTime) +{ + registerTime_ = registerTime; + setCoreParameter("RegisterTime", std::to_string(registerTime)); +} + +std::string InsertRenewInfoRequest::getEngAddress()const +{ + return engAddress_; +} + +void InsertRenewInfoRequest::setEngAddress(const std::string& engAddress) +{ + engAddress_ = engAddress; + setCoreParameter("EngAddress", engAddress); +} + +std::string InsertRenewInfoRequest::getName()const +{ + return name_; +} + +void InsertRenewInfoRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + diff --git a/trademark/src/model/InsertRenewInfoResult.cc b/trademark/src/model/InsertRenewInfoResult.cc new file mode 100644 index 000000000..a42e8cc3f --- /dev/null +++ b/trademark/src/model/InsertRenewInfoResult.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 +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +InsertRenewInfoResult::InsertRenewInfoResult() : + ServiceResult() +{} + +InsertRenewInfoResult::InsertRenewInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +InsertRenewInfoResult::~InsertRenewInfoResult() +{} + +void InsertRenewInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = std::stol(value["Id"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +std::string InsertRenewInfoResult::getErrorMsg()const +{ + return errorMsg_; +} + +long InsertRenewInfoResult::getId()const +{ + return id_; +} + +std::string InsertRenewInfoResult::getErrorCode()const +{ + return errorCode_; +} + +bool InsertRenewInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/InsertTmMonitorRuleRequest.cc b/trademark/src/model/InsertTmMonitorRuleRequest.cc new file mode 100644 index 000000000..bbd3ad6eb --- /dev/null +++ b/trademark/src/model/InsertTmMonitorRuleRequest.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::InsertTmMonitorRuleRequest; + +InsertTmMonitorRuleRequest::InsertTmMonitorRuleRequest() : + RpcServiceRequest("trademark", "2018-07-24", "InsertTmMonitorRule") +{} + +InsertTmMonitorRuleRequest::~InsertTmMonitorRuleRequest() +{} + +std::string InsertTmMonitorRuleRequest::getStartApplyDate()const +{ + return startApplyDate_; +} + +void InsertTmMonitorRuleRequest::setStartApplyDate(const std::string& startApplyDate) +{ + startApplyDate_ = startApplyDate; + setCoreParameter("StartApplyDate", startApplyDate); +} + +std::string InsertTmMonitorRuleRequest::getNotifyStatus()const +{ + return notifyStatus_; +} + +void InsertTmMonitorRuleRequest::setNotifyStatus(const std::string& notifyStatus) +{ + notifyStatus_ = notifyStatus; + setCoreParameter("NotifyStatus", notifyStatus); +} + +int InsertTmMonitorRuleRequest::getRuleType()const +{ + return ruleType_; +} + +void InsertTmMonitorRuleRequest::setRuleType(int ruleType) +{ + ruleType_ = ruleType; + setCoreParameter("RuleType", std::to_string(ruleType)); +} + +std::string InsertTmMonitorRuleRequest::getRuleSource()const +{ + return ruleSource_; +} + +void InsertTmMonitorRuleRequest::setRuleSource(const std::string& ruleSource) +{ + ruleSource_ = ruleSource; + setCoreParameter("RuleSource", ruleSource); +} + +std::string InsertTmMonitorRuleRequest::getRuleName()const +{ + return ruleName_; +} + +void InsertTmMonitorRuleRequest::setRuleName(const std::string& ruleName) +{ + ruleName_ = ruleName; + setCoreParameter("RuleName", ruleName); +} + +std::string InsertTmMonitorRuleRequest::getEndApplyDate()const +{ + return endApplyDate_; +} + +void InsertTmMonitorRuleRequest::setEndApplyDate(const std::string& endApplyDate) +{ + endApplyDate_ = endApplyDate; + setCoreParameter("EndApplyDate", endApplyDate); +} + +std::string InsertTmMonitorRuleRequest::getClassification()const +{ + return classification_; +} + +void InsertTmMonitorRuleRequest::setClassification(const std::string& classification) +{ + classification_ = classification; + setCoreParameter("Classification", classification); +} + +std::string InsertTmMonitorRuleRequest::getRuleKeyword()const +{ + return ruleKeyword_; +} + +void InsertTmMonitorRuleRequest::setRuleKeyword(const std::string& ruleKeyword) +{ + ruleKeyword_ = ruleKeyword; + setCoreParameter("RuleKeyword", ruleKeyword); +} + diff --git a/trademark/src/model/InsertTmMonitorRuleResult.cc b/trademark/src/model/InsertTmMonitorRuleResult.cc new file mode 100644 index 000000000..e19b81251 --- /dev/null +++ b/trademark/src/model/InsertTmMonitorRuleResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +InsertTmMonitorRuleResult::InsertTmMonitorRuleResult() : + ServiceResult() +{} + +InsertTmMonitorRuleResult::InsertTmMonitorRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +InsertTmMonitorRuleResult::~InsertTmMonitorRuleResult() +{} + +void InsertTmMonitorRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +std::string InsertTmMonitorRuleResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::string InsertTmMonitorRuleResult::getErrorCode()const +{ + return errorCode_; +} + +bool InsertTmMonitorRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/InsertTradeIntentionUserRequest.cc b/trademark/src/model/InsertTradeIntentionUserRequest.cc new file mode 100644 index 000000000..3ecb8203e --- /dev/null +++ b/trademark/src/model/InsertTradeIntentionUserRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::InsertTradeIntentionUserRequest; + +InsertTradeIntentionUserRequest::InsertTradeIntentionUserRequest() : + RpcServiceRequest("trademark", "2018-07-24", "InsertTradeIntentionUser") +{} + +InsertTradeIntentionUserRequest::~InsertTradeIntentionUserRequest() +{} + +std::string InsertTradeIntentionUserRequest::getMobile()const +{ + return mobile_; +} + +void InsertTradeIntentionUserRequest::setMobile(const std::string& mobile) +{ + mobile_ = mobile; + setCoreParameter("Mobile", mobile); +} + +std::string InsertTradeIntentionUserRequest::getPartnerCode()const +{ + return partnerCode_; +} + +void InsertTradeIntentionUserRequest::setPartnerCode(const std::string& partnerCode) +{ + partnerCode_ = partnerCode; + setCoreParameter("PartnerCode", partnerCode); +} + +std::string InsertTradeIntentionUserRequest::getClassification()const +{ + return classification_; +} + +void InsertTradeIntentionUserRequest::setClassification(const std::string& classification) +{ + classification_ = classification; + setCoreParameter("Classification", classification); +} + +int InsertTradeIntentionUserRequest::getType()const +{ + return type_; +} + +void InsertTradeIntentionUserRequest::setType(int type) +{ + type_ = type; + setCoreParameter("Type", std::to_string(type)); +} + +std::string InsertTradeIntentionUserRequest::getRegisterNumber()const +{ + return registerNumber_; +} + +void InsertTradeIntentionUserRequest::setRegisterNumber(const std::string& registerNumber) +{ + registerNumber_ = registerNumber; + setCoreParameter("RegisterNumber", registerNumber); +} + +std::string InsertTradeIntentionUserRequest::getVcode()const +{ + return vcode_; +} + +void InsertTradeIntentionUserRequest::setVcode(const std::string& vcode) +{ + vcode_ = vcode; + setCoreParameter("Vcode", vcode); +} + +std::string InsertTradeIntentionUserRequest::getUserName()const +{ + return userName_; +} + +void InsertTradeIntentionUserRequest::setUserName(const std::string& userName) +{ + userName_ = userName; + setCoreParameter("UserName", userName); +} + diff --git a/trademark/src/model/InsertTradeIntentionUserResult.cc b/trademark/src/model/InsertTradeIntentionUserResult.cc new file mode 100644 index 000000000..5bc325e09 --- /dev/null +++ b/trademark/src/model/InsertTradeIntentionUserResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +InsertTradeIntentionUserResult::InsertTradeIntentionUserResult() : + ServiceResult() +{} + +InsertTradeIntentionUserResult::InsertTradeIntentionUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +InsertTradeIntentionUserResult::~InsertTradeIntentionUserResult() +{} + +void InsertTradeIntentionUserResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + +} + +std::string InsertTradeIntentionUserResult::getErrorMsg()const +{ + return errorMsg_; +} + +bool InsertTradeIntentionUserResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/ListNotaryInfosRequest.cc b/trademark/src/model/ListNotaryInfosRequest.cc new file mode 100644 index 000000000..f9d50fc28 --- /dev/null +++ b/trademark/src/model/ListNotaryInfosRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::ListNotaryInfosRequest; + +ListNotaryInfosRequest::ListNotaryInfosRequest() : + RpcServiceRequest("trademark", "2018-07-24", "ListNotaryInfos") +{} + +ListNotaryInfosRequest::~ListNotaryInfosRequest() +{} + +std::string ListNotaryInfosRequest::getBizOrderNo()const +{ + return bizOrderNo_; +} + +void ListNotaryInfosRequest::setBizOrderNo(const std::string& bizOrderNo) +{ + bizOrderNo_ = bizOrderNo; + setCoreParameter("BizOrderNo", bizOrderNo); +} + +int ListNotaryInfosRequest::getNotaryType()const +{ + return notaryType_; +} + +void ListNotaryInfosRequest::setNotaryType(int notaryType) +{ + notaryType_ = notaryType; + setCoreParameter("NotaryType", std::to_string(notaryType)); +} + +int ListNotaryInfosRequest::getPageSize()const +{ + return pageSize_; +} + +void ListNotaryInfosRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int ListNotaryInfosRequest::getPageNum()const +{ + return pageNum_; +} + +void ListNotaryInfosRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setCoreParameter("PageNum", std::to_string(pageNum)); +} + +std::string ListNotaryInfosRequest::getToken()const +{ + return token_; +} + +void ListNotaryInfosRequest::setToken(const std::string& token) +{ + token_ = token; + setCoreParameter("Token", token); +} + diff --git a/trademark/src/model/ListNotaryInfosResult.cc b/trademark/src/model/ListNotaryInfosResult.cc new file mode 100644 index 000000000..8369c1cef --- /dev/null +++ b/trademark/src/model/ListNotaryInfosResult.cc @@ -0,0 +1,133 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +ListNotaryInfosResult::ListNotaryInfosResult() : + ServiceResult() +{} + +ListNotaryInfosResult::ListNotaryInfosResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListNotaryInfosResult::~ListNotaryInfosResult() +{} + +void ListNotaryInfosResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["NotaryInfo"]; + for (auto value : allData) + { + NotaryInfo dataObject; + if(!value["BizOrderNo"].isNull()) + dataObject.bizOrderNo = value["BizOrderNo"].asString(); + if(!value["Token"].isNull()) + dataObject.token = value["Token"].asString(); + if(!value["NotaryStatus"].isNull()) + dataObject.notaryStatus = std::stoi(value["NotaryStatus"].asString()); + if(!value["TmRegisterNo"].isNull()) + dataObject.tmRegisterNo = value["TmRegisterNo"].asString(); + if(!value["TmClassification"].isNull()) + dataObject.tmClassification = value["TmClassification"].asString(); + if(!value["GmtModified"].isNull()) + dataObject.gmtModified = std::stol(value["GmtModified"].asString()); + if(!value["NotaryFailedReason"].isNull()) + dataObject.notaryFailedReason = value["NotaryFailedReason"].asString(); + data_.push_back(dataObject); + } + if(!value["TotalItemNum"].isNull()) + totalItemNum_ = std::stoi(value["TotalItemNum"].asString()); + if(!value["CurrentPageNum"].isNull()) + currentPageNum_ = std::stoi(value["CurrentPageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalPageNum"].isNull()) + totalPageNum_ = std::stoi(value["TotalPageNum"].asString()); + if(!value["PrePage"].isNull()) + prePage_ = value["PrePage"].asString() == "true"; + if(!value["NextPage"].isNull()) + nextPage_ = value["NextPage"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +bool ListNotaryInfosResult::getPrePage()const +{ + return prePage_; +} + +int ListNotaryInfosResult::getCurrentPageNum()const +{ + return currentPageNum_; +} + +int ListNotaryInfosResult::getPageSize()const +{ + return pageSize_; +} + +int ListNotaryInfosResult::getTotalPageNum()const +{ + return totalPageNum_; +} + +std::string ListNotaryInfosResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::vector ListNotaryInfosResult::getData()const +{ + return data_; +} + +std::string ListNotaryInfosResult::getErrorCode()const +{ + return errorCode_; +} + +int ListNotaryInfosResult::getTotalItemNum()const +{ + return totalItemNum_; +} + +bool ListNotaryInfosResult::getNextPage()const +{ + return nextPage_; +} + +bool ListNotaryInfosResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/ListNotaryOrdersRequest.cc b/trademark/src/model/ListNotaryOrdersRequest.cc new file mode 100644 index 000000000..fd012a969 --- /dev/null +++ b/trademark/src/model/ListNotaryOrdersRequest.cc @@ -0,0 +1,137 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::ListNotaryOrdersRequest; + +ListNotaryOrdersRequest::ListNotaryOrdersRequest() : + RpcServiceRequest("trademark", "2018-07-24", "ListNotaryOrders") +{} + +ListNotaryOrdersRequest::~ListNotaryOrdersRequest() +{} + +int ListNotaryOrdersRequest::getSortKeyType()const +{ + return sortKeyType_; +} + +void ListNotaryOrdersRequest::setSortKeyType(int sortKeyType) +{ + sortKeyType_ = sortKeyType; + setCoreParameter("SortKeyType", std::to_string(sortKeyType)); +} + +std::string ListNotaryOrdersRequest::getSortByType()const +{ + return sortByType_; +} + +void ListNotaryOrdersRequest::setSortByType(const std::string& sortByType) +{ + sortByType_ = sortByType; + setCoreParameter("SortByType", sortByType); +} + +long ListNotaryOrdersRequest::getStartOrderDate()const +{ + return startOrderDate_; +} + +void ListNotaryOrdersRequest::setStartOrderDate(long startOrderDate) +{ + startOrderDate_ = startOrderDate; + setCoreParameter("StartOrderDate", std::to_string(startOrderDate)); +} + +int ListNotaryOrdersRequest::getPageSize()const +{ + return pageSize_; +} + +void ListNotaryOrdersRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListNotaryOrdersRequest::getBizId()const +{ + return bizId_; +} + +void ListNotaryOrdersRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + +int ListNotaryOrdersRequest::getNotaryType()const +{ + return notaryType_; +} + +void ListNotaryOrdersRequest::setNotaryType(int notaryType) +{ + notaryType_ = notaryType; + setCoreParameter("NotaryType", std::to_string(notaryType)); +} + +long ListNotaryOrdersRequest::getEndOrderDate()const +{ + return endOrderDate_; +} + +void ListNotaryOrdersRequest::setEndOrderDate(long endOrderDate) +{ + endOrderDate_ = endOrderDate; + setCoreParameter("EndOrderDate", std::to_string(endOrderDate)); +} + +std::string ListNotaryOrdersRequest::getAliyunOrderId()const +{ + return aliyunOrderId_; +} + +void ListNotaryOrdersRequest::setAliyunOrderId(const std::string& aliyunOrderId) +{ + aliyunOrderId_ = aliyunOrderId; + setCoreParameter("AliyunOrderId", aliyunOrderId); +} + +int ListNotaryOrdersRequest::getPageNum()const +{ + return pageNum_; +} + +void ListNotaryOrdersRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setCoreParameter("PageNum", std::to_string(pageNum)); +} + +int ListNotaryOrdersRequest::getNotaryStatus()const +{ + return notaryStatus_; +} + +void ListNotaryOrdersRequest::setNotaryStatus(int notaryStatus) +{ + notaryStatus_ = notaryStatus; + setCoreParameter("NotaryStatus", std::to_string(notaryStatus)); +} + diff --git a/trademark/src/model/ListNotaryOrdersResult.cc b/trademark/src/model/ListNotaryOrdersResult.cc new file mode 100644 index 000000000..080186110 --- /dev/null +++ b/trademark/src/model/ListNotaryOrdersResult.cc @@ -0,0 +1,149 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +ListNotaryOrdersResult::ListNotaryOrdersResult() : + ServiceResult() +{} + +ListNotaryOrdersResult::ListNotaryOrdersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListNotaryOrdersResult::~ListNotaryOrdersResult() +{} + +void ListNotaryOrdersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["NotaryOrder"]; + for (auto value : allData) + { + NotaryOrder dataObject; + if(!value["NotaryOrderId"].isNull()) + dataObject.notaryOrderId = std::stol(value["NotaryOrderId"].asString()); + if(!value["AliyunOrderId"].isNull()) + dataObject.aliyunOrderId = value["AliyunOrderId"].asString(); + if(!value["TmRegisterNo"].isNull()) + dataObject.tmRegisterNo = value["TmRegisterNo"].asString(); + if(!value["TmName"].isNull()) + dataObject.tmName = value["TmName"].asString(); + if(!value["TmImage"].isNull()) + dataObject.tmImage = value["TmImage"].asString(); + if(!value["TmClassification"].isNull()) + dataObject.tmClassification = value["TmClassification"].asString(); + if(!value["OrderPrice"].isNull()) + dataObject.orderPrice = std::stof(value["OrderPrice"].asString()); + if(!value["NotaryStatus"].isNull()) + dataObject.notaryStatus = std::stoi(value["NotaryStatus"].asString()); + if(!value["OrderDate"].isNull()) + dataObject.orderDate = std::stol(value["OrderDate"].asString()); + if(!value["GmtModified"].isNull()) + dataObject.gmtModified = std::stol(value["GmtModified"].asString()); + if(!value["NotaryCertificate"].isNull()) + dataObject.notaryCertificate = value["NotaryCertificate"].asString(); + if(!value["BizId"].isNull()) + dataObject.bizId = value["BizId"].asString(); + if(!value["NotaryType"].isNull()) + dataObject.notaryType = std::stoi(value["NotaryType"].asString()); + if(!value["NotaryPlatformName"].isNull()) + dataObject.notaryPlatformName = value["NotaryPlatformName"].asString(); + if(!value["ApplyPostStatus"].isNull()) + dataObject.applyPostStatus = value["ApplyPostStatus"].asString(); + data_.push_back(dataObject); + } + if(!value["TotalItemNum"].isNull()) + totalItemNum_ = std::stoi(value["TotalItemNum"].asString()); + if(!value["CurrentPageNum"].isNull()) + currentPageNum_ = std::stoi(value["CurrentPageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalPageNum"].isNull()) + totalPageNum_ = std::stoi(value["TotalPageNum"].asString()); + if(!value["PrePage"].isNull()) + prePage_ = value["PrePage"].asString() == "true"; + if(!value["NextPage"].isNull()) + nextPage_ = value["NextPage"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +bool ListNotaryOrdersResult::getPrePage()const +{ + return prePage_; +} + +int ListNotaryOrdersResult::getCurrentPageNum()const +{ + return currentPageNum_; +} + +int ListNotaryOrdersResult::getPageSize()const +{ + return pageSize_; +} + +int ListNotaryOrdersResult::getTotalPageNum()const +{ + return totalPageNum_; +} + +std::string ListNotaryOrdersResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::vector ListNotaryOrdersResult::getData()const +{ + return data_; +} + +std::string ListNotaryOrdersResult::getErrorCode()const +{ + return errorCode_; +} + +int ListNotaryOrdersResult::getTotalItemNum()const +{ + return totalItemNum_; +} + +bool ListNotaryOrdersResult::getNextPage()const +{ + return nextPage_; +} + +bool ListNotaryOrdersResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/QueryCommunicationLogsRequest.cc b/trademark/src/model/QueryCommunicationLogsRequest.cc new file mode 100644 index 000000000..5475ce464 --- /dev/null +++ b/trademark/src/model/QueryCommunicationLogsRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::QueryCommunicationLogsRequest; + +QueryCommunicationLogsRequest::QueryCommunicationLogsRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryCommunicationLogs") +{} + +QueryCommunicationLogsRequest::~QueryCommunicationLogsRequest() +{} + +std::string QueryCommunicationLogsRequest::getBizId()const +{ + return bizId_; +} + +void QueryCommunicationLogsRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + diff --git a/trademark/src/model/QueryCommunicationLogsResult.cc b/trademark/src/model/QueryCommunicationLogsResult.cc new file mode 100644 index 000000000..ec95e2b24 --- /dev/null +++ b/trademark/src/model/QueryCommunicationLogsResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryCommunicationLogsResult::QueryCommunicationLogsResult() : + ServiceResult() +{} + +QueryCommunicationLogsResult::QueryCommunicationLogsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryCommunicationLogsResult::~QueryCommunicationLogsResult() +{} + +void QueryCommunicationLogsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["TaskList"]; + for (auto value : allData) + { + TaskList dataObject; + if(!value["BizId"].isNull()) + dataObject.bizId = value["BizId"].asString(); + if(!value["Note"].isNull()) + dataObject.note = value["Note"].asString(); + if(!value["PartnerCode"].isNull()) + dataObject.partnerCode = value["PartnerCode"].asString(); + if(!value["UpdateTime"].isNull()) + dataObject.updateTime = std::stol(value["UpdateTime"].asString()); + if(!value["CreateTime"].isNull()) + dataObject.createTime = std::stol(value["CreateTime"].asString()); + data_.push_back(dataObject); + } + +} + +std::vector QueryCommunicationLogsResult::getData()const +{ + return data_; +} + diff --git a/trademark/src/model/QueryCredentialsInfoRequest.cc b/trademark/src/model/QueryCredentialsInfoRequest.cc new file mode 100644 index 000000000..75dfdc034 --- /dev/null +++ b/trademark/src/model/QueryCredentialsInfoRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::QueryCredentialsInfoRequest; + +QueryCredentialsInfoRequest::QueryCredentialsInfoRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryCredentialsInfo") +{} + +QueryCredentialsInfoRequest::~QueryCredentialsInfoRequest() +{} + +std::string QueryCredentialsInfoRequest::getOssKey()const +{ + return ossKey_; +} + +void QueryCredentialsInfoRequest::setOssKey(const std::string& ossKey) +{ + ossKey_ = ossKey; + setCoreParameter("OssKey", ossKey); +} + +std::string QueryCredentialsInfoRequest::getMaterialType()const +{ + return materialType_; +} + +void QueryCredentialsInfoRequest::setMaterialType(const std::string& materialType) +{ + materialType_ = materialType; + setCoreParameter("MaterialType", materialType); +} + +std::string QueryCredentialsInfoRequest::getCompanyName()const +{ + return companyName_; +} + +void QueryCredentialsInfoRequest::setCompanyName(const std::string& companyName) +{ + companyName_ = companyName; + setCoreParameter("CompanyName", companyName); +} + diff --git a/trademark/src/model/QueryCredentialsInfoResult.cc b/trademark/src/model/QueryCredentialsInfoResult.cc new file mode 100644 index 000000000..f9c17b762 --- /dev/null +++ b/trademark/src/model/QueryCredentialsInfoResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryCredentialsInfoResult::QueryCredentialsInfoResult() : + ServiceResult() +{} + +QueryCredentialsInfoResult::QueryCredentialsInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryCredentialsInfoResult::~QueryCredentialsInfoResult() +{} + +void QueryCredentialsInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto credentialsInfoNode = value["CredentialsInfo"]; + if(!credentialsInfoNode["CardNumber"].isNull()) + credentialsInfo_.cardNumber = credentialsInfoNode["CardNumber"].asString(); + if(!credentialsInfoNode["Address"].isNull()) + credentialsInfo_.address = credentialsInfoNode["Address"].asString(); + if(!credentialsInfoNode["CompanyName"].isNull()) + credentialsInfo_.companyName = credentialsInfoNode["CompanyName"].asString(); + if(!credentialsInfoNode["PersonName"].isNull()) + credentialsInfo_.personName = credentialsInfoNode["PersonName"].asString(); + if(!credentialsInfoNode["Province"].isNull()) + credentialsInfo_.province = credentialsInfoNode["Province"].asString(); + +} + +QueryCredentialsInfoResult::CredentialsInfo QueryCredentialsInfoResult::getCredentialsInfo()const +{ + return credentialsInfo_; +} + diff --git a/trademark/src/model/QueryMaterialListRequest.cc b/trademark/src/model/QueryMaterialListRequest.cc new file mode 100644 index 000000000..49476cbe4 --- /dev/null +++ b/trademark/src/model/QueryMaterialListRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::QueryMaterialListRequest; + +QueryMaterialListRequest::QueryMaterialListRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryMaterialList") +{} + +QueryMaterialListRequest::~QueryMaterialListRequest() +{} + +std::string QueryMaterialListRequest::getName()const +{ + return name_; +} + +void QueryMaterialListRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +int QueryMaterialListRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryMaterialListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryMaterialListRequest::getCardNumber()const +{ + return cardNumber_; +} + +void QueryMaterialListRequest::setCardNumber(const std::string& cardNumber) +{ + cardNumber_ = cardNumber; + setCoreParameter("CardNumber", cardNumber); +} + +int QueryMaterialListRequest::getType()const +{ + return type_; +} + +void QueryMaterialListRequest::setType(int type) +{ + type_ = type; + setCoreParameter("Type", std::to_string(type)); +} + +int QueryMaterialListRequest::getRegion()const +{ + return region_; +} + +void QueryMaterialListRequest::setRegion(int region) +{ + region_ = region; + setCoreParameter("Region", std::to_string(region)); +} + +int QueryMaterialListRequest::getPageNum()const +{ + return pageNum_; +} + +void QueryMaterialListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setCoreParameter("PageNum", std::to_string(pageNum)); +} + +int QueryMaterialListRequest::getStatus()const +{ + return status_; +} + +void QueryMaterialListRequest::setStatus(int status) +{ + status_ = status; + setCoreParameter("Status", std::to_string(status)); +} + diff --git a/trademark/src/model/QueryMaterialListResult.cc b/trademark/src/model/QueryMaterialListResult.cc new file mode 100644 index 000000000..ef26a3bb6 --- /dev/null +++ b/trademark/src/model/QueryMaterialListResult.cc @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryMaterialListResult::QueryMaterialListResult() : + ServiceResult() +{} + +QueryMaterialListResult::QueryMaterialListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryMaterialListResult::~QueryMaterialListResult() +{} + +void QueryMaterialListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["Trademark"]; + for (auto value : allData) + { + Trademark dataObject; + if(!value["Id"].isNull()) + dataObject.id = std::stol(value["Id"].asString()); + if(!value["Name"].isNull()) + dataObject.name = value["Name"].asString(); + if(!value["Type"].isNull()) + dataObject.type = std::stoi(value["Type"].asString()); + if(!value["Region"].isNull()) + dataObject.region = std::stoi(value["Region"].asString()); + if(!value["ContactName"].isNull()) + dataObject.contactName = value["ContactName"].asString(); + if(!value["Status"].isNull()) + dataObject.status = std::stoi(value["Status"].asString()); + if(!value["LoaKey"].isNull()) + dataObject.loaKey = value["LoaKey"].asString(); + if(!value["LoaStatus"].isNull()) + dataObject.loaStatus = std::stoi(value["LoaStatus"].asString()); + if(!value["CardNumber"].isNull()) + dataObject.cardNumber = value["CardNumber"].asString(); + data_.push_back(dataObject); + } + if(!value["TotalItemNum"].isNull()) + totalItemNum_ = std::stoi(value["TotalItemNum"].asString()); + if(!value["CurrentPageNum"].isNull()) + currentPageNum_ = std::stoi(value["CurrentPageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalPageNum"].isNull()) + totalPageNum_ = std::stoi(value["TotalPageNum"].asString()); + +} + +int QueryMaterialListResult::getCurrentPageNum()const +{ + return currentPageNum_; +} + +int QueryMaterialListResult::getPageSize()const +{ + return pageSize_; +} + +int QueryMaterialListResult::getTotalPageNum()const +{ + return totalPageNum_; +} + +std::vector QueryMaterialListResult::getData()const +{ + return data_; +} + +int QueryMaterialListResult::getTotalItemNum()const +{ + return totalItemNum_; +} + diff --git a/trademark/src/model/QueryMaterialRequest.cc b/trademark/src/model/QueryMaterialRequest.cc new file mode 100644 index 000000000..72cb99bdc --- /dev/null +++ b/trademark/src/model/QueryMaterialRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::QueryMaterialRequest; + +QueryMaterialRequest::QueryMaterialRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryMaterial") +{} + +QueryMaterialRequest::~QueryMaterialRequest() +{} + +long QueryMaterialRequest::getId()const +{ + return id_; +} + +void QueryMaterialRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + diff --git a/trademark/src/model/QueryMaterialResult.cc b/trademark/src/model/QueryMaterialResult.cc new file mode 100644 index 000000000..db8de2fb1 --- /dev/null +++ b/trademark/src/model/QueryMaterialResult.cc @@ -0,0 +1,227 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryMaterialResult::QueryMaterialResult() : + ServiceResult() +{} + +QueryMaterialResult::QueryMaterialResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryMaterialResult::~QueryMaterialResult() +{} + +void QueryMaterialResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Type"].isNull()) + type_ = std::stoi(value["Type"].asString()); + if(!value["Region"].isNull()) + region_ = std::stoi(value["Region"].asString()); + if(!value["ContactName"].isNull()) + contactName_ = value["ContactName"].asString(); + if(!value["ContactNumber"].isNull()) + contactNumber_ = value["ContactNumber"].asString(); + if(!value["ContactEmail"].isNull()) + contactEmail_ = value["ContactEmail"].asString(); + if(!value["ContactAddress"].isNull()) + contactAddress_ = value["ContactAddress"].asString(); + if(!value["ContactZipcode"].isNull()) + contactZipcode_ = value["ContactZipcode"].asString(); + if(!value["Status"].isNull()) + status_ = std::stoi(value["Status"].asString()); + if(!value["LoaUrl"].isNull()) + loaUrl_ = value["LoaUrl"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["CardNumber"].isNull()) + cardNumber_ = value["CardNumber"].asString(); + if(!value["ExpirationDate"].isNull()) + expirationDate_ = std::stol(value["ExpirationDate"].asString()); + if(!value["Province"].isNull()) + province_ = value["Province"].asString(); + if(!value["City"].isNull()) + city_ = value["City"].asString(); + if(!value["Town"].isNull()) + town_ = value["Town"].asString(); + if(!value["Address"].isNull()) + address_ = value["Address"].asString(); + if(!value["EName"].isNull()) + eName_ = value["EName"].asString(); + if(!value["EAddress"].isNull()) + eAddress_ = value["EAddress"].asString(); + if(!value["LoaStatus"].isNull()) + loaStatus_ = std::stoi(value["LoaStatus"].asString()); + if(!value["IdCardUrl"].isNull()) + idCardUrl_ = value["IdCardUrl"].asString(); + if(!value["BusinessLicenceUrl"].isNull()) + businessLicenceUrl_ = value["BusinessLicenceUrl"].asString(); + if(!value["PassportUrl"].isNull()) + passportUrl_ = value["PassportUrl"].asString(); + if(!value["Id"].isNull()) + id_ = std::stol(value["Id"].asString()); + if(!value["LegalNoticeUrl"].isNull()) + legalNoticeUrl_ = value["LegalNoticeUrl"].asString(); + if(!value["Note"].isNull()) + note_ = value["Note"].asString(); + if(!value["Country"].isNull()) + country_ = value["Country"].asString(); + +} + +std::string QueryMaterialResult::getCardNumber()const +{ + return cardNumber_; +} + +std::string QueryMaterialResult::getEName()const +{ + return eName_; +} + +std::string QueryMaterialResult::getAddress()const +{ + return address_; +} + +std::string QueryMaterialResult::getLoaUrl()const +{ + return loaUrl_; +} + +std::string QueryMaterialResult::getPassportUrl()const +{ + return passportUrl_; +} + +std::string QueryMaterialResult::getName()const +{ + return name_; +} + +int QueryMaterialResult::getLoaStatus()const +{ + return loaStatus_; +} + +std::string QueryMaterialResult::getTown()const +{ + return town_; +} + +std::string QueryMaterialResult::getContactNumber()const +{ + return contactNumber_; +} + +std::string QueryMaterialResult::getLegalNoticeUrl()const +{ + return legalNoticeUrl_; +} + +std::string QueryMaterialResult::getContactAddress()const +{ + return contactAddress_; +} + +int QueryMaterialResult::getStatus()const +{ + return status_; +} + +std::string QueryMaterialResult::getCity()const +{ + return city_; +} + +std::string QueryMaterialResult::getProvince()const +{ + return province_; +} + +std::string QueryMaterialResult::getEAddress()const +{ + return eAddress_; +} + +std::string QueryMaterialResult::getIdCardUrl()const +{ + return idCardUrl_; +} + +int QueryMaterialResult::getType()const +{ + return type_; +} + +std::string QueryMaterialResult::getBusinessLicenceUrl()const +{ + return businessLicenceUrl_; +} + +long QueryMaterialResult::getExpirationDate()const +{ + return expirationDate_; +} + +std::string QueryMaterialResult::getContactZipcode()const +{ + return contactZipcode_; +} + +std::string QueryMaterialResult::getNote()const +{ + return note_; +} + +int QueryMaterialResult::getRegion()const +{ + return region_; +} + +std::string QueryMaterialResult::getContactEmail()const +{ + return contactEmail_; +} + +std::string QueryMaterialResult::getCountry()const +{ + return country_; +} + +long QueryMaterialResult::getId()const +{ + return id_; +} + +std::string QueryMaterialResult::getContactName()const +{ + return contactName_; +} + diff --git a/trademark/src/model/QueryMonitorKeywordsRequest.cc b/trademark/src/model/QueryMonitorKeywordsRequest.cc new file mode 100644 index 000000000..d6848c363 --- /dev/null +++ b/trademark/src/model/QueryMonitorKeywordsRequest.cc @@ -0,0 +1,50 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::QueryMonitorKeywordsRequest; + +QueryMonitorKeywordsRequest::QueryMonitorKeywordsRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryMonitorKeywords") +{} + +QueryMonitorKeywordsRequest::~QueryMonitorKeywordsRequest() +{} + +std::vector QueryMonitorKeywordsRequest::getKeywords()const +{ + return keywords_; +} + +void QueryMonitorKeywordsRequest::setKeywords(const std::vector& keywords) +{ + keywords_ = keywords; + for(int i = 0; i!= keywords.size(); i++) + setCoreParameter("Keywords."+ std::to_string(i), keywords.at(i)); +} + +int QueryMonitorKeywordsRequest::getRuleType()const +{ + return ruleType_; +} + +void QueryMonitorKeywordsRequest::setRuleType(int ruleType) +{ + ruleType_ = ruleType; + setCoreParameter("RuleType", std::to_string(ruleType)); +} + diff --git a/trademark/src/model/QueryMonitorKeywordsResult.cc b/trademark/src/model/QueryMonitorKeywordsResult.cc new file mode 100644 index 000000000..67eea916e --- /dev/null +++ b/trademark/src/model/QueryMonitorKeywordsResult.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryMonitorKeywordsResult::QueryMonitorKeywordsResult() : + ServiceResult() +{} + +QueryMonitorKeywordsResult::QueryMonitorKeywordsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryMonitorKeywordsResult::~QueryMonitorKeywordsResult() +{} + +void QueryMonitorKeywordsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["Keywords"]; + for (const auto &item : allData) + data_.push_back(item.asString()); + +} + +std::vector QueryMonitorKeywordsResult::getData()const +{ + return data_; +} + diff --git a/trademark/src/model/QueryOssResourcesRequest.cc b/trademark/src/model/QueryOssResourcesRequest.cc new file mode 100644 index 000000000..61ed8f1af --- /dev/null +++ b/trademark/src/model/QueryOssResourcesRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::QueryOssResourcesRequest; + +QueryOssResourcesRequest::QueryOssResourcesRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryOssResources") +{} + +QueryOssResourcesRequest::~QueryOssResourcesRequest() +{} + +std::string QueryOssResourcesRequest::getBizId()const +{ + return bizId_; +} + +void QueryOssResourcesRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + diff --git a/trademark/src/model/QueryOssResourcesResult.cc b/trademark/src/model/QueryOssResourcesResult.cc new file mode 100644 index 000000000..0e8284542 --- /dev/null +++ b/trademark/src/model/QueryOssResourcesResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryOssResourcesResult::QueryOssResourcesResult() : + ServiceResult() +{} + +QueryOssResourcesResult::QueryOssResourcesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryOssResourcesResult::~QueryOssResourcesResult() +{} + +void QueryOssResourcesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["TaskList"]; + for (auto value : allData) + { + TaskList dataObject; + if(!value["BizId"].isNull()) + dataObject.bizId = value["BizId"].asString(); + if(!value["Name"].isNull()) + dataObject.name = value["Name"].asString(); + if(!value["OssUrl"].isNull()) + dataObject.ossUrl = value["OssUrl"].asString(); + if(!value["UpdateTime"].isNull()) + dataObject.updateTime = std::stol(value["UpdateTime"].asString()); + if(!value["CreateTime"].isNull()) + dataObject.createTime = std::stol(value["CreateTime"].asString()); + data_.push_back(dataObject); + } + +} + +std::vector QueryOssResourcesResult::getData()const +{ + return data_; +} + diff --git a/trademark/src/model/QueryQrCodeUploadStatusRequest.cc b/trademark/src/model/QueryQrCodeUploadStatusRequest.cc new file mode 100644 index 000000000..a1b3336ac --- /dev/null +++ b/trademark/src/model/QueryQrCodeUploadStatusRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::QueryQrCodeUploadStatusRequest; + +QueryQrCodeUploadStatusRequest::QueryQrCodeUploadStatusRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryQrCodeUploadStatus") +{} + +QueryQrCodeUploadStatusRequest::~QueryQrCodeUploadStatusRequest() +{} + +std::string QueryQrCodeUploadStatusRequest::getOssKey()const +{ + return ossKey_; +} + +void QueryQrCodeUploadStatusRequest::setOssKey(const std::string& ossKey) +{ + ossKey_ = ossKey; + setCoreParameter("OssKey", ossKey); +} + +std::string QueryQrCodeUploadStatusRequest::getFieldKey()const +{ + return fieldKey_; +} + +void QueryQrCodeUploadStatusRequest::setFieldKey(const std::string& fieldKey) +{ + fieldKey_ = fieldKey; + setCoreParameter("FieldKey", fieldKey); +} + +std::string QueryQrCodeUploadStatusRequest::getUuid()const +{ + return uuid_; +} + +void QueryQrCodeUploadStatusRequest::setUuid(const std::string& uuid) +{ + uuid_ = uuid; + setCoreParameter("Uuid", uuid); +} + diff --git a/trademark/src/model/QueryQrCodeUploadStatusResult.cc b/trademark/src/model/QueryQrCodeUploadStatusResult.cc new file mode 100644 index 000000000..bf6e076f2 --- /dev/null +++ b/trademark/src/model/QueryQrCodeUploadStatusResult.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 +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryQrCodeUploadStatusResult::QueryQrCodeUploadStatusResult() : + ServiceResult() +{} + +QueryQrCodeUploadStatusResult::QueryQrCodeUploadStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryQrCodeUploadStatusResult::~QueryQrCodeUploadStatusResult() +{} + +void QueryQrCodeUploadStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["OssKey"].isNull()) + ossKey_ = value["OssKey"].asString(); + if(!value["OssUrl"].isNull()) + ossUrl_ = value["OssUrl"].asString(); + if(!value["Status"].isNull()) + status_ = std::stoi(value["Status"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +int QueryQrCodeUploadStatusResult::getStatus()const +{ + return status_; +} + +std::string QueryQrCodeUploadStatusResult::getOssKey()const +{ + return ossKey_; +} + +std::string QueryQrCodeUploadStatusResult::getOssUrl()const +{ + return ossUrl_; +} + +bool QueryQrCodeUploadStatusResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/QuerySupplementDetailRequest.cc b/trademark/src/model/QuerySupplementDetailRequest.cc new file mode 100644 index 000000000..906144003 --- /dev/null +++ b/trademark/src/model/QuerySupplementDetailRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::QuerySupplementDetailRequest; + +QuerySupplementDetailRequest::QuerySupplementDetailRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QuerySupplementDetail") +{} + +QuerySupplementDetailRequest::~QuerySupplementDetailRequest() +{} + +long QuerySupplementDetailRequest::getId()const +{ + return id_; +} + +void QuerySupplementDetailRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + diff --git a/trademark/src/model/QuerySupplementDetailResult.cc b/trademark/src/model/QuerySupplementDetailResult.cc new file mode 100644 index 000000000..0980fd371 --- /dev/null +++ b/trademark/src/model/QuerySupplementDetailResult.cc @@ -0,0 +1,137 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QuerySupplementDetailResult::QuerySupplementDetailResult() : + ServiceResult() +{} + +QuerySupplementDetailResult::QuerySupplementDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QuerySupplementDetailResult::~QuerySupplementDetailResult() +{} + +void QuerySupplementDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allFileTemplateUrls = value["FileTemplateUrls"]["FileTemplateUrls"]; + for (const auto &item : allFileTemplateUrls) + fileTemplateUrls_.push_back(item.asString()); + if(!value["Id"].isNull()) + id_ = std::stol(value["Id"].asString()); + if(!value["SerialNumber"].isNull()) + serialNumber_ = value["SerialNumber"].asString(); + if(!value["Type"].isNull()) + type_ = std::stoi(value["Type"].asString()); + if(!value["Status"].isNull()) + status_ = std::stoi(value["Status"].asString()); + if(!value["TmNumber"].isNull()) + tmNumber_ = value["TmNumber"].asString(); + if(!value["SendTime"].isNull()) + sendTime_ = std::stol(value["SendTime"].asString()); + if(!value["AcceptTime"].isNull()) + acceptTime_ = std::stol(value["AcceptTime"].asString()); + if(!value["SbjDeadTime"].isNull()) + sbjDeadTime_ = std::stol(value["SbjDeadTime"].asString()); + if(!value["AcceptDeadTime"].isNull()) + acceptDeadTime_ = std::stol(value["AcceptDeadTime"].asString()); + if(!value["OperateTime"].isNull()) + operateTime_ = std::stol(value["OperateTime"].asString()); + if(!value["UploadFileTemplateUrl"].isNull()) + uploadFileTemplateUrl_ = value["UploadFileTemplateUrl"].asString(); + if(!value["Content"].isNull()) + content_ = value["Content"].asString(); + +} + +int QuerySupplementDetailResult::getStatus()const +{ + return status_; +} + +long QuerySupplementDetailResult::getSendTime()const +{ + return sendTime_; +} + +long QuerySupplementDetailResult::getSbjDeadTime()const +{ + return sbjDeadTime_; +} + +std::string QuerySupplementDetailResult::getTmNumber()const +{ + return tmNumber_; +} + +long QuerySupplementDetailResult::getOperateTime()const +{ + return operateTime_; +} + +std::string QuerySupplementDetailResult::getUploadFileTemplateUrl()const +{ + return uploadFileTemplateUrl_; +} + +int QuerySupplementDetailResult::getType()const +{ + return type_; +} + +std::string QuerySupplementDetailResult::getSerialNumber()const +{ + return serialNumber_; +} + +std::string QuerySupplementDetailResult::getContent()const +{ + return content_; +} + +long QuerySupplementDetailResult::getAcceptDeadTime()const +{ + return acceptDeadTime_; +} + +std::vector QuerySupplementDetailResult::getFileTemplateUrls()const +{ + return fileTemplateUrls_; +} + +long QuerySupplementDetailResult::getAcceptTime()const +{ + return acceptTime_; +} + +long QuerySupplementDetailResult::getId()const +{ + return id_; +} + diff --git a/trademark/src/model/QueryTaskListRequest.cc b/trademark/src/model/QueryTaskListRequest.cc new file mode 100644 index 000000000..d1063470d --- /dev/null +++ b/trademark/src/model/QueryTaskListRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::QueryTaskListRequest; + +QueryTaskListRequest::QueryTaskListRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryTaskList") +{} + +QueryTaskListRequest::~QueryTaskListRequest() +{} + +std::string QueryTaskListRequest::getBizType()const +{ + return bizType_; +} + +void QueryTaskListRequest::setBizType(const std::string& bizType) +{ + bizType_ = bizType; + setCoreParameter("BizType", bizType); +} + diff --git a/trademark/src/model/QueryTaskListResult.cc b/trademark/src/model/QueryTaskListResult.cc new file mode 100644 index 000000000..58df4fcf4 --- /dev/null +++ b/trademark/src/model/QueryTaskListResult.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryTaskListResult::QueryTaskListResult() : + ServiceResult() +{} + +QueryTaskListResult::QueryTaskListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryTaskListResult::~QueryTaskListResult() +{} + +void QueryTaskListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["TaskList"]; + for (auto value : allData) + { + TaskList dataObject; + if(!value["TaskStatus"].isNull()) + dataObject.taskStatus = value["TaskStatus"].asString(); + if(!value["TaskType"].isNull()) + dataObject.taskType = value["TaskType"].asString(); + if(!value["ErrMsg"].isNull()) + dataObject.errMsg = value["ErrMsg"].asString(); + if(!value["Result"].isNull()) + dataObject.result = value["Result"].asString(); + data_.push_back(dataObject); + } + +} + +std::vector QueryTaskListResult::getData()const +{ + return data_; +} + diff --git a/trademark/src/model/QueryTradeIntentionUserListRequest.cc b/trademark/src/model/QueryTradeIntentionUserListRequest.cc new file mode 100644 index 000000000..bacae07f5 --- /dev/null +++ b/trademark/src/model/QueryTradeIntentionUserListRequest.cc @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::QueryTradeIntentionUserListRequest; + +QueryTradeIntentionUserListRequest::QueryTradeIntentionUserListRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryTradeIntentionUserList") +{} + +QueryTradeIntentionUserListRequest::~QueryTradeIntentionUserListRequest() +{} + +long QueryTradeIntentionUserListRequest::getEnd()const +{ + return end_; +} + +void QueryTradeIntentionUserListRequest::setEnd(long end) +{ + end_ = end; + setCoreParameter("End", std::to_string(end)); +} + +long QueryTradeIntentionUserListRequest::getBegin()const +{ + return begin_; +} + +void QueryTradeIntentionUserListRequest::setBegin(long begin) +{ + begin_ = begin; + setCoreParameter("Begin", std::to_string(begin)); +} + diff --git a/trademark/src/model/QueryTradeIntentionUserListResult.cc b/trademark/src/model/QueryTradeIntentionUserListResult.cc new file mode 100644 index 000000000..ad485a84b --- /dev/null +++ b/trademark/src/model/QueryTradeIntentionUserListResult.cc @@ -0,0 +1,96 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryTradeIntentionUserListResult::QueryTradeIntentionUserListResult() : + ServiceResult() +{} + +QueryTradeIntentionUserListResult::QueryTradeIntentionUserListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryTradeIntentionUserListResult::~QueryTradeIntentionUserListResult() +{} + +void QueryTradeIntentionUserListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["Trademark"]; + for (auto value : allData) + { + Trademark dataObject; + if(!value["UserId"].isNull()) + dataObject.userId = value["UserId"].asString(); + if(!value["RegisterNumber"].isNull()) + dataObject.registerNumber = value["RegisterNumber"].asString(); + if(!value["Classification"].isNull()) + dataObject.classification = value["Classification"].asString(); + if(!value["Mobile"].isNull()) + dataObject.mobile = std::stoi(value["Mobile"].asString()); + if(!value["Id"].isNull()) + dataObject.id = std::stol(value["Id"].asString()); + if(!value["UserName"].isNull()) + dataObject.userName = value["UserName"].asString(); + data_.push_back(dataObject); + } + if(!value["TotalItemNum"].isNull()) + totalItemNum_ = std::stoi(value["TotalItemNum"].asString()); + if(!value["CurrentPageNum"].isNull()) + currentPageNum_ = std::stoi(value["CurrentPageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalPageNum"].isNull()) + totalPageNum_ = std::stoi(value["TotalPageNum"].asString()); + +} + +int QueryTradeIntentionUserListResult::getCurrentPageNum()const +{ + return currentPageNum_; +} + +int QueryTradeIntentionUserListResult::getPageSize()const +{ + return pageSize_; +} + +int QueryTradeIntentionUserListResult::getTotalPageNum()const +{ + return totalPageNum_; +} + +std::vector QueryTradeIntentionUserListResult::getData()const +{ + return data_; +} + +int QueryTradeIntentionUserListResult::getTotalItemNum()const +{ + return totalItemNum_; +} + diff --git a/trademark/src/model/QueryTradeMarkApplicationDetailRequest.cc b/trademark/src/model/QueryTradeMarkApplicationDetailRequest.cc new file mode 100644 index 000000000..6aec5ef4e --- /dev/null +++ b/trademark/src/model/QueryTradeMarkApplicationDetailRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::QueryTradeMarkApplicationDetailRequest; + +QueryTradeMarkApplicationDetailRequest::QueryTradeMarkApplicationDetailRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryTradeMarkApplicationDetail") +{} + +QueryTradeMarkApplicationDetailRequest::~QueryTradeMarkApplicationDetailRequest() +{} + +std::string QueryTradeMarkApplicationDetailRequest::getBizId()const +{ + return bizId_; +} + +void QueryTradeMarkApplicationDetailRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + diff --git a/trademark/src/model/QueryTradeMarkApplicationDetailResult.cc b/trademark/src/model/QueryTradeMarkApplicationDetailResult.cc new file mode 100644 index 000000000..862f21b62 --- /dev/null +++ b/trademark/src/model/QueryTradeMarkApplicationDetailResult.cc @@ -0,0 +1,348 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryTradeMarkApplicationDetailResult::QueryTradeMarkApplicationDetailResult() : + ServiceResult() +{} + +QueryTradeMarkApplicationDetailResult::QueryTradeMarkApplicationDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryTradeMarkApplicationDetailResult::~QueryTradeMarkApplicationDetailResult() +{} + +void QueryTradeMarkApplicationDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allThirdClassification = value["ThirdClassification"]["ThirdClassifications"]; + for (auto value : allThirdClassification) + { + ThirdClassifications thirdClassificationObject; + if(!value["Code"].isNull()) + thirdClassificationObject.code = value["Code"].asString(); + if(!value["Name"].isNull()) + thirdClassificationObject.name = value["Name"].asString(); + thirdClassification_.push_back(thirdClassificationObject); + } + auto allSupplements = value["Supplements"]["SupplementsItem"]; + for (auto value : allSupplements) + { + SupplementsItem supplementsObject; + if(!value["Id"].isNull()) + supplementsObject.id = std::stol(value["Id"].asString()); + if(!value["SerialNumber"].isNull()) + supplementsObject.serialNumber = value["SerialNumber"].asString(); + if(!value["Type"].isNull()) + supplementsObject.type = std::stoi(value["Type"].asString()); + if(!value["Status"].isNull()) + supplementsObject.status = std::stoi(value["Status"].asString()); + if(!value["OrderId"].isNull()) + supplementsObject.orderId = value["OrderId"].asString(); + if(!value["TmNumber"].isNull()) + supplementsObject.tmNumber = value["TmNumber"].asString(); + if(!value["SendTime"].isNull()) + supplementsObject.sendTime = std::stol(value["SendTime"].asString()); + if(!value["AcceptTime"].isNull()) + supplementsObject.acceptTime = std::stol(value["AcceptTime"].asString()); + if(!value["SbjDeadTime"].isNull()) + supplementsObject.sbjDeadTime = std::stol(value["SbjDeadTime"].asString()); + if(!value["AcceptDeadTime"].isNull()) + supplementsObject.acceptDeadTime = std::stol(value["AcceptDeadTime"].asString()); + if(!value["UploadFileTemplateUrl"].isNull()) + supplementsObject.uploadFileTemplateUrl = value["UploadFileTemplateUrl"].asString(); + if(!value["Content"].isNull()) + supplementsObject.content = value["Content"].asString(); + if(!value["BatchNum"].isNull()) + supplementsObject.batchNum = value["BatchNum"].asString(); + if(!value["OperateTime"].isNull()) + supplementsObject.operateTime = std::stol(value["OperateTime"].asString()); + auto allFileTemplateUrls = value["FileTemplateUrls"]["FileTemplateUrls"]; + for (auto value : allFileTemplateUrls) + supplementsObject.fileTemplateUrls.push_back(value.asString()); + supplements_.push_back(supplementsObject); + } + auto adminUploadsNode = value["AdminUploads"]; + if(!adminUploadsNode["LoaPicUrl"].isNull()) + adminUploads_.loaPicUrl = adminUploadsNode["LoaPicUrl"].asString(); + if(!adminUploadsNode["LicensePicUrl"].isNull()) + adminUploads_.licensePicUrl = adminUploadsNode["LicensePicUrl"].asString(); + auto materialDetailNode = value["MaterialDetail"]; + if(!materialDetailNode["CardNumber"].isNull()) + materialDetail_.cardNumber = materialDetailNode["CardNumber"].asString(); + if(!materialDetailNode["ContactAddress"].isNull()) + materialDetail_.contactAddress = materialDetailNode["ContactAddress"].asString(); + if(!materialDetailNode["Status"].isNull()) + materialDetail_.status = std::stoi(materialDetailNode["Status"].asString()); + if(!materialDetailNode["EName"].isNull()) + materialDetail_.eName = materialDetailNode["EName"].asString(); + if(!materialDetailNode["Address"].isNull()) + materialDetail_.address = materialDetailNode["Address"].asString(); + if(!materialDetailNode["LoaUrl"].isNull()) + materialDetail_.loaUrl = materialDetailNode["LoaUrl"].asString(); + if(!materialDetailNode["City"].isNull()) + materialDetail_.city = materialDetailNode["City"].asString(); + if(!materialDetailNode["PassportUrl"].isNull()) + materialDetail_.passportUrl = materialDetailNode["PassportUrl"].asString(); + if(!materialDetailNode["Province"].isNull()) + materialDetail_.province = materialDetailNode["Province"].asString(); + if(!materialDetailNode["EAddress"].isNull()) + materialDetail_.eAddress = materialDetailNode["EAddress"].asString(); + if(!materialDetailNode["Name"].isNull()) + materialDetail_.name = materialDetailNode["Name"].asString(); + if(!materialDetailNode["IdCardUrl"].isNull()) + materialDetail_.idCardUrl = materialDetailNode["IdCardUrl"].asString(); + if(!materialDetailNode["BusinessLicenceUrl"].isNull()) + materialDetail_.businessLicenceUrl = materialDetailNode["BusinessLicenceUrl"].asString(); + if(!materialDetailNode["Type"].isNull()) + materialDetail_.type = std::stoi(materialDetailNode["Type"].asString()); + if(!materialDetailNode["ExpirationDate"].isNull()) + materialDetail_.expirationDate = materialDetailNode["ExpirationDate"].asString(); + if(!materialDetailNode["ContactZipcode"].isNull()) + materialDetail_.contactZipcode = materialDetailNode["ContactZipcode"].asString(); + if(!materialDetailNode["Town"].isNull()) + materialDetail_.town = materialDetailNode["Town"].asString(); + if(!materialDetailNode["ContactNumber"].isNull()) + materialDetail_.contactNumber = materialDetailNode["ContactNumber"].asString(); + if(!materialDetailNode["ContactEmail"].isNull()) + materialDetail_.contactEmail = materialDetailNode["ContactEmail"].asString(); + if(!materialDetailNode["Country"].isNull()) + materialDetail_.country = materialDetailNode["Country"].asString(); + if(!materialDetailNode["Region"].isNull()) + materialDetail_.region = std::stoi(materialDetailNode["Region"].asString()); + if(!materialDetailNode["ContactName"].isNull()) + materialDetail_.contactName = materialDetailNode["ContactName"].asString(); + if(!materialDetailNode["LegalNoticeUrl"].isNull()) + materialDetail_.legalNoticeUrl = materialDetailNode["LegalNoticeUrl"].asString(); + auto firstClassificationNode = value["FirstClassification"]; + if(!firstClassificationNode["Code"].isNull()) + firstClassification_.code = firstClassificationNode["Code"].asString(); + if(!firstClassificationNode["Name"].isNull()) + firstClassification_.name = firstClassificationNode["Name"].asString(); + auto renewResponseNode = value["RenewResponse"]; + if(!renewResponseNode["Name"].isNull()) + renewResponse_.name = renewResponseNode["Name"].asString(); + if(!renewResponseNode["EngName"].isNull()) + renewResponse_.engName = renewResponseNode["EngName"].asString(); + if(!renewResponseNode["Address"].isNull()) + renewResponse_.address = renewResponseNode["Address"].asString(); + if(!renewResponseNode["EngAddress"].isNull()) + renewResponse_.engAddress = renewResponseNode["EngAddress"].asString(); + if(!renewResponseNode["RegisterTime"].isNull()) + renewResponse_.registerTime = std::stol(renewResponseNode["RegisterTime"].asString()); + if(!renewResponseNode["SubmitSbjtime"].isNull()) + renewResponse_.submitSbjtime = std::stol(renewResponseNode["SubmitSbjtime"].asString()); + auto allReceiptUrl = value["ReceiptUrl"]["ReceiptUrl"]; + for (const auto &item : allReceiptUrl) + receiptUrl_.push_back(item.asString()); + auto allJudgeResultUrl = value["JudgeResultUrl"]["JudgeResultUrl"]; + for (const auto &item : allJudgeResultUrl) + judgeResultUrl_.push_back(item.asString()); + if(!value["Status"].isNull()) + status_ = std::stoi(value["Status"].asString()); + if(!value["LoaUrl"].isNull()) + loaUrl_ = value["LoaUrl"].asString(); + if(!value["OrderPrice"].isNull()) + orderPrice_ = std::stoi(value["OrderPrice"].asString()); + if(!value["TmIcon"].isNull()) + tmIcon_ = value["TmIcon"].asString(); + if(!value["OrderId"].isNull()) + orderId_ = value["OrderId"].asString(); + if(!value["Type"].isNull()) + type_ = std::stoi(value["Type"].asString()); + if(!value["TmNameType"].isNull()) + tmNameType_ = std::stoi(value["TmNameType"].asString()); + if(!value["TmName"].isNull()) + tmName_ = value["TmName"].asString(); + if(!value["BizId"].isNull()) + bizId_ = value["BizId"].asString(); + if(!value["GrayIconUrl"].isNull()) + grayIconUrl_ = value["GrayIconUrl"].asString(); + if(!value["Note"].isNull()) + note_ = value["Note"].asString(); + if(!value["TmNumber"].isNull()) + tmNumber_ = value["TmNumber"].asString(); + if(!value["AcceptUrl"].isNull()) + acceptUrl_ = value["AcceptUrl"].asString(); + if(!value["CreateTime"].isNull()) + createTime_ = std::stol(value["CreateTime"].asString()); + if(!value["UpdateTime"].isNull()) + updateTime_ = std::stol(value["UpdateTime"].asString()); + if(!value["ExtendInfo"].isNull()) + extendInfo_ = value["ExtendInfo"].asString(); + if(!value["SendSbjLogistics"].isNull()) + sendSbjLogistics_ = value["SendSbjLogistics"].asString(); + if(!value["SendUserLogistics"].isNull()) + sendUserLogistics_ = value["SendUserLogistics"].asString(); + if(!value["RecvUserLogistics"].isNull()) + recvUserLogistics_ = value["RecvUserLogistics"].asString(); + if(!value["MaterialId"].isNull()) + materialId_ = std::stol(value["MaterialId"].asString()); + +} + +QueryTradeMarkApplicationDetailResult::FirstClassification QueryTradeMarkApplicationDetailResult::getFirstClassification()const +{ + return firstClassification_; +} + +std::vector QueryTradeMarkApplicationDetailResult::getJudgeResultUrl()const +{ + return judgeResultUrl_; +} + +std::string QueryTradeMarkApplicationDetailResult::getLoaUrl()const +{ + return loaUrl_; +} + +std::vector QueryTradeMarkApplicationDetailResult::getReceiptUrl()const +{ + return receiptUrl_; +} + +std::string QueryTradeMarkApplicationDetailResult::getTmIcon()const +{ + return tmIcon_; +} + +std::string QueryTradeMarkApplicationDetailResult::getAcceptUrl()const +{ + return acceptUrl_; +} + +std::string QueryTradeMarkApplicationDetailResult::getSendSbjLogistics()const +{ + return sendSbjLogistics_; +} + +int QueryTradeMarkApplicationDetailResult::getTmNameType()const +{ + return tmNameType_; +} + +std::string QueryTradeMarkApplicationDetailResult::getSendUserLogistics()const +{ + return sendUserLogistics_; +} + +std::string QueryTradeMarkApplicationDetailResult::getGrayIconUrl()const +{ + return grayIconUrl_; +} + +QueryTradeMarkApplicationDetailResult::AdminUploads QueryTradeMarkApplicationDetailResult::getAdminUploads()const +{ + return adminUploads_; +} + +std::vector QueryTradeMarkApplicationDetailResult::getThirdClassification()const +{ + return thirdClassification_; +} + +std::string QueryTradeMarkApplicationDetailResult::getExtendInfo()const +{ + return extendInfo_; +} + +int QueryTradeMarkApplicationDetailResult::getStatus()const +{ + return status_; +} + +long QueryTradeMarkApplicationDetailResult::getMaterialId()const +{ + return materialId_; +} + +QueryTradeMarkApplicationDetailResult::RenewResponse QueryTradeMarkApplicationDetailResult::getRenewResponse()const +{ + return renewResponse_; +} + +QueryTradeMarkApplicationDetailResult::MaterialDetail QueryTradeMarkApplicationDetailResult::getMaterialDetail()const +{ + return materialDetail_; +} + +std::string QueryTradeMarkApplicationDetailResult::getTmNumber()const +{ + return tmNumber_; +} + +long QueryTradeMarkApplicationDetailResult::getCreateTime()const +{ + return createTime_; +} + +int QueryTradeMarkApplicationDetailResult::getOrderPrice()const +{ + return orderPrice_; +} + +std::string QueryTradeMarkApplicationDetailResult::getOrderId()const +{ + return orderId_; +} + +std::vector QueryTradeMarkApplicationDetailResult::getSupplements()const +{ + return supplements_; +} + +int QueryTradeMarkApplicationDetailResult::getType()const +{ + return type_; +} + +std::string QueryTradeMarkApplicationDetailResult::getRecvUserLogistics()const +{ + return recvUserLogistics_; +} + +std::string QueryTradeMarkApplicationDetailResult::getNote()const +{ + return note_; +} + +std::string QueryTradeMarkApplicationDetailResult::getTmName()const +{ + return tmName_; +} + +long QueryTradeMarkApplicationDetailResult::getUpdateTime()const +{ + return updateTime_; +} + +std::string QueryTradeMarkApplicationDetailResult::getBizId()const +{ + return bizId_; +} + diff --git a/trademark/src/model/QueryTradeMarkApplicationLogsRequest.cc b/trademark/src/model/QueryTradeMarkApplicationLogsRequest.cc new file mode 100644 index 000000000..7b5dcf870 --- /dev/null +++ b/trademark/src/model/QueryTradeMarkApplicationLogsRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::QueryTradeMarkApplicationLogsRequest; + +QueryTradeMarkApplicationLogsRequest::QueryTradeMarkApplicationLogsRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryTradeMarkApplicationLogs") +{} + +QueryTradeMarkApplicationLogsRequest::~QueryTradeMarkApplicationLogsRequest() +{} + +std::string QueryTradeMarkApplicationLogsRequest::getBizId()const +{ + return bizId_; +} + +void QueryTradeMarkApplicationLogsRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + diff --git a/trademark/src/model/QueryTradeMarkApplicationLogsResult.cc b/trademark/src/model/QueryTradeMarkApplicationLogsResult.cc new file mode 100644 index 000000000..137c4eea8 --- /dev/null +++ b/trademark/src/model/QueryTradeMarkApplicationLogsResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryTradeMarkApplicationLogsResult::QueryTradeMarkApplicationLogsResult() : + ServiceResult() +{} + +QueryTradeMarkApplicationLogsResult::QueryTradeMarkApplicationLogsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryTradeMarkApplicationLogsResult::~QueryTradeMarkApplicationLogsResult() +{} + +void QueryTradeMarkApplicationLogsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["DataItem"]; + for (auto value : allData) + { + DataItem dataObject; + if(!value["BizId"].isNull()) + dataObject.bizId = value["BizId"].asString(); + if(!value["Note"].isNull()) + dataObject.note = value["Note"].asString(); + if(!value["OperateType"].isNull()) + dataObject.operateType = std::stoi(value["OperateType"].asString()); + if(!value["OperateTime"].isNull()) + dataObject.operateTime = std::stol(value["OperateTime"].asString()); + if(!value["BizStatus"].isNull()) + dataObject.bizStatus = std::stoi(value["BizStatus"].asString()); + data_.push_back(dataObject); + } + +} + +std::vector QueryTradeMarkApplicationLogsResult::getData()const +{ + return data_; +} + diff --git a/trademark/src/model/QueryTradeMarkApplicationsRequest.cc b/trademark/src/model/QueryTradeMarkApplicationsRequest.cc new file mode 100644 index 000000000..913a92477 --- /dev/null +++ b/trademark/src/model/QueryTradeMarkApplicationsRequest.cc @@ -0,0 +1,148 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::QueryTradeMarkApplicationsRequest; + +QueryTradeMarkApplicationsRequest::QueryTradeMarkApplicationsRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryTradeMarkApplications") +{} + +QueryTradeMarkApplicationsRequest::~QueryTradeMarkApplicationsRequest() +{} + +std::string QueryTradeMarkApplicationsRequest::getTmName()const +{ + return tmName_; +} + +void QueryTradeMarkApplicationsRequest::setTmName(const std::string& tmName) +{ + tmName_ = tmName; + setCoreParameter("TmName", tmName); +} + +std::string QueryTradeMarkApplicationsRequest::getMaterialName()const +{ + return materialName_; +} + +void QueryTradeMarkApplicationsRequest::setMaterialName(const std::string& materialName) +{ + materialName_ = materialName; + setCoreParameter("MaterialName", materialName); +} + +std::string QueryTradeMarkApplicationsRequest::getOrderId()const +{ + return orderId_; +} + +void QueryTradeMarkApplicationsRequest::setOrderId(const std::string& orderId) +{ + orderId_ = orderId; + setCoreParameter("OrderId", orderId); +} + +int QueryTradeMarkApplicationsRequest::getSupplementStatus()const +{ + return supplementStatus_; +} + +void QueryTradeMarkApplicationsRequest::setSupplementStatus(int supplementStatus) +{ + supplementStatus_ = supplementStatus; + setCoreParameter("SupplementStatus", std::to_string(supplementStatus)); +} + +int QueryTradeMarkApplicationsRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryTradeMarkApplicationsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryTradeMarkApplicationsRequest::getBizId()const +{ + return bizId_; +} + +void QueryTradeMarkApplicationsRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + +std::string QueryTradeMarkApplicationsRequest::getTmNumber()const +{ + return tmNumber_; +} + +void QueryTradeMarkApplicationsRequest::setTmNumber(const std::string& tmNumber) +{ + tmNumber_ = tmNumber; + setCoreParameter("TmNumber", tmNumber); +} + +std::string QueryTradeMarkApplicationsRequest::getSortOrder()const +{ + return sortOrder_; +} + +void QueryTradeMarkApplicationsRequest::setSortOrder(const std::string& sortOrder) +{ + sortOrder_ = sortOrder; + setCoreParameter("SortOrder", sortOrder); +} + +int QueryTradeMarkApplicationsRequest::getPageNum()const +{ + return pageNum_; +} + +void QueryTradeMarkApplicationsRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setCoreParameter("PageNum", std::to_string(pageNum)); +} + +std::string QueryTradeMarkApplicationsRequest::getType()const +{ + return type_; +} + +void QueryTradeMarkApplicationsRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +int QueryTradeMarkApplicationsRequest::getStatus()const +{ + return status_; +} + +void QueryTradeMarkApplicationsRequest::setStatus(int status) +{ + status_ = status; + setCoreParameter("Status", std::to_string(status)); +} + diff --git a/trademark/src/model/QueryTradeMarkApplicationsResult.cc b/trademark/src/model/QueryTradeMarkApplicationsResult.cc new file mode 100644 index 000000000..5dd9c3019 --- /dev/null +++ b/trademark/src/model/QueryTradeMarkApplicationsResult.cc @@ -0,0 +1,149 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryTradeMarkApplicationsResult::QueryTradeMarkApplicationsResult() : + ServiceResult() +{} + +QueryTradeMarkApplicationsResult::QueryTradeMarkApplicationsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryTradeMarkApplicationsResult::~QueryTradeMarkApplicationsResult() +{} + +void QueryTradeMarkApplicationsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["TmProduces"]; + for (auto value : allData) + { + TmProduces dataObject; + if(!value["BizId"].isNull()) + dataObject.bizId = value["BizId"].asString(); + if(!value["OrderId"].isNull()) + dataObject.orderId = value["OrderId"].asString(); + if(!value["MaterialName"].isNull()) + dataObject.materialName = value["MaterialName"].asString(); + if(!value["TmIcon"].isNull()) + dataObject.tmIcon = value["TmIcon"].asString(); + if(!value["TmName"].isNull()) + dataObject.tmName = value["TmName"].asString(); + if(!value["TmNumber"].isNull()) + dataObject.tmNumber = value["TmNumber"].asString(); + if(!value["CreateTime"].isNull()) + dataObject.createTime = std::stol(value["CreateTime"].asString()); + if(!value["Type"].isNull()) + dataObject.type = std::stoi(value["Type"].asString()); + if(!value["Status"].isNull()) + dataObject.status = std::stoi(value["Status"].asString()); + if(!value["UserId"].isNull()) + dataObject.userId = value["UserId"].asString(); + if(!value["OrderPrice"].isNull()) + dataObject.orderPrice = std::stof(value["OrderPrice"].asString()); + if(!value["MaterialId"].isNull()) + dataObject.materialId = std::stol(value["MaterialId"].asString()); + if(!value["LoaUrl"].isNull()) + dataObject.loaUrl = value["LoaUrl"].asString(); + if(!value["Note"].isNull()) + dataObject.note = value["Note"].asString(); + if(!value["UpdateTime"].isNull()) + dataObject.updateTime = std::stol(value["UpdateTime"].asString()); + if(!value["SupplementStatus"].isNull()) + dataObject.supplementStatus = std::stoi(value["SupplementStatus"].asString()); + if(!value["SupplementId"].isNull()) + dataObject.supplementId = std::stol(value["SupplementId"].asString()); + auto allThirdClassification = value["ThirdClassification"]["ThirdClassifications"]; + for (auto value : allThirdClassification) + { + TmProduces::ThirdClassifications thirdClassificationObject; + if(!value["ClassificationCode"].isNull()) + thirdClassificationObject.classificationCode = value["ClassificationCode"].asString(); + if(!value["ClassificationName"].isNull()) + thirdClassificationObject.classificationName = value["ClassificationName"].asString(); + dataObject.thirdClassification.push_back(thirdClassificationObject); + } + auto firstClassificationNode = value["FirstClassification"]; + if(!firstClassificationNode["ClassificationCode"].isNull()) + dataObject.firstClassification.classificationCode = firstClassificationNode["ClassificationCode"].asString(); + if(!firstClassificationNode["ClassificationName"].isNull()) + dataObject.firstClassification.classificationName = firstClassificationNode["ClassificationName"].asString(); + auto renewResponseNode = value["RenewResponse"]; + if(!renewResponseNode["Name"].isNull()) + dataObject.renewResponse.name = renewResponseNode["Name"].asString(); + if(!renewResponseNode["EngName"].isNull()) + dataObject.renewResponse.engName = renewResponseNode["EngName"].asString(); + if(!renewResponseNode["Address"].isNull()) + dataObject.renewResponse.address = renewResponseNode["Address"].asString(); + if(!renewResponseNode["EngAddress"].isNull()) + dataObject.renewResponse.engAddress = renewResponseNode["EngAddress"].asString(); + if(!renewResponseNode["RegisterTime"].isNull()) + dataObject.renewResponse.registerTime = std::stol(renewResponseNode["RegisterTime"].asString()); + if(!renewResponseNode["SubmitSbjtime"].isNull()) + dataObject.renewResponse.submitSbjtime = std::stol(renewResponseNode["SubmitSbjtime"].asString()); + auto allFlags = value["Flags"]["Flags"]; + for (auto value : allFlags) + dataObject.flags.push_back(value.asString()); + data_.push_back(dataObject); + } + if(!value["TotalItemNum"].isNull()) + totalItemNum_ = std::stoi(value["TotalItemNum"].asString()); + if(!value["CurrentPageNum"].isNull()) + currentPageNum_ = std::stoi(value["CurrentPageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalPageNum"].isNull()) + totalPageNum_ = std::stoi(value["TotalPageNum"].asString()); + +} + +int QueryTradeMarkApplicationsResult::getCurrentPageNum()const +{ + return currentPageNum_; +} + +int QueryTradeMarkApplicationsResult::getPageSize()const +{ + return pageSize_; +} + +int QueryTradeMarkApplicationsResult::getTotalPageNum()const +{ + return totalPageNum_; +} + +std::vector QueryTradeMarkApplicationsResult::getData()const +{ + return data_; +} + +int QueryTradeMarkApplicationsResult::getTotalItemNum()const +{ + return totalItemNum_; +} + diff --git a/trademark/src/model/QueryTradeProduceDetailRequest.cc b/trademark/src/model/QueryTradeProduceDetailRequest.cc new file mode 100644 index 000000000..7ffe1b66e --- /dev/null +++ b/trademark/src/model/QueryTradeProduceDetailRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::QueryTradeProduceDetailRequest; + +QueryTradeProduceDetailRequest::QueryTradeProduceDetailRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryTradeProduceDetail") +{} + +QueryTradeProduceDetailRequest::~QueryTradeProduceDetailRequest() +{} + +std::string QueryTradeProduceDetailRequest::getBizId()const +{ + return bizId_; +} + +void QueryTradeProduceDetailRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + diff --git a/trademark/src/model/QueryTradeProduceDetailResult.cc b/trademark/src/model/QueryTradeProduceDetailResult.cc new file mode 100644 index 000000000..df1b443c3 --- /dev/null +++ b/trademark/src/model/QueryTradeProduceDetailResult.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryTradeProduceDetailResult::QueryTradeProduceDetailResult() : + ServiceResult() +{} + +QueryTradeProduceDetailResult::QueryTradeProduceDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryTradeProduceDetailResult::~QueryTradeProduceDetailResult() +{} + +void QueryTradeProduceDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["BizId"].isNull()) + data_.bizId = dataNode["BizId"].asString(); + if(!dataNode["PreOrderId"].isNull()) + data_.preOrderId = dataNode["PreOrderId"].asString(); + if(!dataNode["PreAmount"].isNull()) + data_.preAmount = std::stof(dataNode["PreAmount"].asString()); + if(!dataNode["FinalAmount"].isNull()) + data_.finalAmount = std::stof(dataNode["FinalAmount"].asString()); + if(!dataNode["RegisterNumber"].isNull()) + data_.registerNumber = dataNode["RegisterNumber"].asString(); + if(!dataNode["Classification"].isNull()) + data_.classification = dataNode["Classification"].asString(); + if(!dataNode["Icon"].isNull()) + data_.icon = dataNode["Icon"].asString(); + if(!dataNode["OperateNote"].isNull()) + data_.operateNote = dataNode["OperateNote"].asString(); + if(!dataNode["BuyerStatus"].isNull()) + data_.buyerStatus = std::stoi(dataNode["BuyerStatus"].asString()); + if(!dataNode["UserId"].isNull()) + data_.userId = dataNode["UserId"].asString(); + if(!dataNode["CreateTime"].isNull()) + data_.createTime = std::stol(dataNode["CreateTime"].asString()); + if(!dataNode["UpdateTime"].isNull()) + data_.updateTime = std::stol(dataNode["UpdateTime"].asString()); + if(!dataNode["Extend"].isNull()) + data_.extend = dataNode["Extend"].asString(); + if(!dataNode["ThirdCode"].isNull()) + data_.thirdCode = dataNode["ThirdCode"].asString(); + if(!dataNode["Share"].isNull()) + data_.share = dataNode["Share"].asString(); + if(!dataNode["ExclusiveDateLimit"].isNull()) + data_.exclusiveDateLimit = dataNode["ExclusiveDateLimit"].asString(); + if(!dataNode["AllowCancel"].isNull()) + data_.allowCancel = dataNode["AllowCancel"].asString() == "true"; + if(!dataNode["TmName"].isNull()) + data_.tmName = dataNode["TmName"].asString(); + if(!dataNode["PaidAmount"].isNull()) + data_.paidAmount = std::stof(dataNode["PaidAmount"].asString()); + if(!dataNode["ConfiscateAmount"].isNull()) + data_.confiscateAmount = std::stof(dataNode["ConfiscateAmount"].asString()); + if(!dataNode["RefundAmount"].isNull()) + data_.refundAmount = std::stof(dataNode["RefundAmount"].asString()); + +} + +QueryTradeProduceDetailResult::Data QueryTradeProduceDetailResult::getData()const +{ + return data_; +} + diff --git a/trademark/src/model/QueryTradeProduceListRequest.cc b/trademark/src/model/QueryTradeProduceListRequest.cc new file mode 100644 index 000000000..36f43c62c --- /dev/null +++ b/trademark/src/model/QueryTradeProduceListRequest.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::QueryTradeProduceListRequest; + +QueryTradeProduceListRequest::QueryTradeProduceListRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryTradeProduceList") +{} + +QueryTradeProduceListRequest::~QueryTradeProduceListRequest() +{} + +int QueryTradeProduceListRequest::getBuyerStatus()const +{ + return buyerStatus_; +} + +void QueryTradeProduceListRequest::setBuyerStatus(int buyerStatus) +{ + buyerStatus_ = buyerStatus; + setCoreParameter("BuyerStatus", std::to_string(buyerStatus)); +} + +int QueryTradeProduceListRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryTradeProduceListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryTradeProduceListRequest::getPreOrderId()const +{ + return preOrderId_; +} + +void QueryTradeProduceListRequest::setPreOrderId(const std::string& preOrderId) +{ + preOrderId_ = preOrderId; + setCoreParameter("PreOrderId", preOrderId); +} + +std::string QueryTradeProduceListRequest::getBizId()const +{ + return bizId_; +} + +void QueryTradeProduceListRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + +std::string QueryTradeProduceListRequest::getSortOrder()const +{ + return sortOrder_; +} + +void QueryTradeProduceListRequest::setSortOrder(const std::string& sortOrder) +{ + sortOrder_ = sortOrder; + setCoreParameter("SortOrder", sortOrder); +} + +int QueryTradeProduceListRequest::getPageNum()const +{ + return pageNum_; +} + +void QueryTradeProduceListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setCoreParameter("PageNum", std::to_string(pageNum)); +} + +std::string QueryTradeProduceListRequest::getSortFiled()const +{ + return sortFiled_; +} + +void QueryTradeProduceListRequest::setSortFiled(const std::string& sortFiled) +{ + sortFiled_ = sortFiled; + setCoreParameter("SortFiled", sortFiled); +} + +std::string QueryTradeProduceListRequest::getRegisterNumber()const +{ + return registerNumber_; +} + +void QueryTradeProduceListRequest::setRegisterNumber(const std::string& registerNumber) +{ + registerNumber_ = registerNumber; + setCoreParameter("RegisterNumber", registerNumber); +} + diff --git a/trademark/src/model/QueryTradeProduceListResult.cc b/trademark/src/model/QueryTradeProduceListResult.cc new file mode 100644 index 000000000..91410495a --- /dev/null +++ b/trademark/src/model/QueryTradeProduceListResult.cc @@ -0,0 +1,110 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryTradeProduceListResult::QueryTradeProduceListResult() : + ServiceResult() +{} + +QueryTradeProduceListResult::QueryTradeProduceListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryTradeProduceListResult::~QueryTradeProduceListResult() +{} + +void QueryTradeProduceListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["TradeProduces"]; + for (auto value : allData) + { + TradeProduces dataObject; + if(!value["BizId"].isNull()) + dataObject.bizId = value["BizId"].asString(); + if(!value["PreOrderId"].isNull()) + dataObject.preOrderId = value["PreOrderId"].asString(); + if(!value["PreAmount"].isNull()) + dataObject.preAmount = std::stoi(value["PreAmount"].asString()); + if(!value["FinalAmount"].isNull()) + dataObject.finalAmount = std::stoi(value["FinalAmount"].asString()); + if(!value["RegisterNumber"].isNull()) + dataObject.registerNumber = value["RegisterNumber"].asString(); + if(!value["Classification"].isNull()) + dataObject.classification = value["Classification"].asString(); + if(!value["Icon"].isNull()) + dataObject.icon = value["Icon"].asString(); + if(!value["OperateNote"].isNull()) + dataObject.operateNote = value["OperateNote"].asString(); + if(!value["BuyerStatus"].isNull()) + dataObject.buyerStatus = std::stoi(value["BuyerStatus"].asString()); + if(!value["UserId"].isNull()) + dataObject.userId = value["UserId"].asString(); + if(!value["CreateTime"].isNull()) + dataObject.createTime = std::stol(value["CreateTime"].asString()); + if(!value["UpdateTime"].isNull()) + dataObject.updateTime = std::stol(value["UpdateTime"].asString()); + if(!value["AllowCancel"].isNull()) + dataObject.allowCancel = value["AllowCancel"].asString() == "true"; + data_.push_back(dataObject); + } + if(!value["TotalItemNum"].isNull()) + totalItemNum_ = std::stoi(value["TotalItemNum"].asString()); + if(!value["CurrentPageNum"].isNull()) + currentPageNum_ = std::stoi(value["CurrentPageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalPageNum"].isNull()) + totalPageNum_ = std::stoi(value["TotalPageNum"].asString()); + +} + +int QueryTradeProduceListResult::getCurrentPageNum()const +{ + return currentPageNum_; +} + +int QueryTradeProduceListResult::getPageSize()const +{ + return pageSize_; +} + +int QueryTradeProduceListResult::getTotalPageNum()const +{ + return totalPageNum_; +} + +std::vector QueryTradeProduceListResult::getData()const +{ + return data_; +} + +int QueryTradeProduceListResult::getTotalItemNum()const +{ + return totalItemNum_; +} + diff --git a/trademark/src/model/QueryTrademarkMonitorResultsRequest.cc b/trademark/src/model/QueryTrademarkMonitorResultsRequest.cc new file mode 100644 index 000000000..94f8bf49f --- /dev/null +++ b/trademark/src/model/QueryTrademarkMonitorResultsRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::QueryTrademarkMonitorResultsRequest; + +QueryTrademarkMonitorResultsRequest::QueryTrademarkMonitorResultsRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryTrademarkMonitorResults") +{} + +QueryTrademarkMonitorResultsRequest::~QueryTrademarkMonitorResultsRequest() +{} + +int QueryTrademarkMonitorResultsRequest::getActionType()const +{ + return actionType_; +} + +void QueryTrademarkMonitorResultsRequest::setActionType(int actionType) +{ + actionType_ = actionType; + setCoreParameter("ActionType", std::to_string(actionType)); +} + +std::string QueryTrademarkMonitorResultsRequest::getTmName()const +{ + return tmName_; +} + +void QueryTrademarkMonitorResultsRequest::setTmName(const std::string& tmName) +{ + tmName_ = tmName; + setCoreParameter("TmName", tmName); +} + +std::string QueryTrademarkMonitorResultsRequest::getApplyYear()const +{ + return applyYear_; +} + +void QueryTrademarkMonitorResultsRequest::setApplyYear(const std::string& applyYear) +{ + applyYear_ = applyYear; + setCoreParameter("ApplyYear", applyYear); +} + +int QueryTrademarkMonitorResultsRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryTrademarkMonitorResultsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +int QueryTrademarkMonitorResultsRequest::getProcedureStatus()const +{ + return procedureStatus_; +} + +void QueryTrademarkMonitorResultsRequest::setProcedureStatus(int procedureStatus) +{ + procedureStatus_ = procedureStatus; + setCoreParameter("ProcedureStatus", std::to_string(procedureStatus)); +} + +long QueryTrademarkMonitorResultsRequest::getRuleId()const +{ + return ruleId_; +} + +void QueryTrademarkMonitorResultsRequest::setRuleId(long ruleId) +{ + ruleId_ = ruleId; + setCoreParameter("RuleId", std::to_string(ruleId)); +} + +std::string QueryTrademarkMonitorResultsRequest::getClassification()const +{ + return classification_; +} + +void QueryTrademarkMonitorResultsRequest::setClassification(const std::string& classification) +{ + classification_ = classification; + setCoreParameter("Classification", classification); +} + +int QueryTrademarkMonitorResultsRequest::getPageNum()const +{ + return pageNum_; +} + +void QueryTrademarkMonitorResultsRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setCoreParameter("PageNum", std::to_string(pageNum)); +} + +std::string QueryTrademarkMonitorResultsRequest::getRegistrationNumber()const +{ + return registrationNumber_; +} + +void QueryTrademarkMonitorResultsRequest::setRegistrationNumber(const std::string& registrationNumber) +{ + registrationNumber_ = registrationNumber; + setCoreParameter("RegistrationNumber", registrationNumber); +} + diff --git a/trademark/src/model/QueryTrademarkMonitorResultsResult.cc b/trademark/src/model/QueryTrademarkMonitorResultsResult.cc new file mode 100644 index 000000000..bdd26fc5a --- /dev/null +++ b/trademark/src/model/QueryTrademarkMonitorResultsResult.cc @@ -0,0 +1,132 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryTrademarkMonitorResultsResult::QueryTrademarkMonitorResultsResult() : + ServiceResult() +{} + +QueryTrademarkMonitorResultsResult::QueryTrademarkMonitorResultsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryTrademarkMonitorResultsResult::~QueryTrademarkMonitorResultsResult() +{} + +void QueryTrademarkMonitorResultsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["TmMonitorResult"]; + for (auto value : allData) + { + TmMonitorResult dataObject; + if(!value["UserId"].isNull()) + dataObject.userId = value["UserId"].asString(); + if(!value["RuleId"].isNull()) + dataObject.ruleId = value["RuleId"].asString(); + if(!value["TmUid"].isNull()) + dataObject.tmUid = value["TmUid"].asString(); + if(!value["DataCreateTime"].isNull()) + dataObject.dataCreateTime = std::stol(value["DataCreateTime"].asString()); + if(!value["DataUpdateTime"].isNull()) + dataObject.dataUpdateTime = std::stol(value["DataUpdateTime"].asString()); + if(!value["TmName"].isNull()) + dataObject.tmName = value["TmName"].asString(); + if(!value["TmImage"].isNull()) + dataObject.tmImage = value["TmImage"].asString(); + if(!value["Classification"].isNull()) + dataObject.classification = value["Classification"].asString(); + if(!value["RegistrationNumber"].isNull()) + dataObject.registrationNumber = value["RegistrationNumber"].asString(); + if(!value["TmProcedureStatusDesc"].isNull()) + dataObject.tmProcedureStatusDesc = value["TmProcedureStatusDesc"].asString(); + if(!value["OwnerName"].isNull()) + dataObject.ownerName = value["OwnerName"].asString(); + if(!value["OwnerEnName"].isNull()) + dataObject.ownerEnName = value["OwnerEnName"].asString(); + if(!value["ApplyDate"].isNull()) + dataObject.applyDate = value["ApplyDate"].asString(); + if(!value["XuzhanEndDate"].isNull()) + dataObject.xuzhanEndDate = value["XuzhanEndDate"].asString(); + if(!value["ChesanEndDate"].isNull()) + dataObject.chesanEndDate = value["ChesanEndDate"].asString(); + if(!value["WuxiaoEndDate"].isNull()) + dataObject.wuxiaoEndDate = value["WuxiaoEndDate"].asString(); + if(!value["YiyiEndDate"].isNull()) + dataObject.yiyiEndDate = value["YiyiEndDate"].asString(); + data_.push_back(dataObject); + } + if(!value["TotalItemNum"].isNull()) + totalItemNum_ = std::stoi(value["TotalItemNum"].asString()); + if(!value["CurrentPageNum"].isNull()) + currentPageNum_ = std::stoi(value["CurrentPageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalPageNum"].isNull()) + totalPageNum_ = std::stoi(value["TotalPageNum"].asString()); + if(!value["PrePage"].isNull()) + prePage_ = value["PrePage"].asString() == "true"; + if(!value["NextPage"].isNull()) + nextPage_ = value["NextPage"].asString() == "true"; + +} + +bool QueryTrademarkMonitorResultsResult::getPrePage()const +{ + return prePage_; +} + +int QueryTrademarkMonitorResultsResult::getCurrentPageNum()const +{ + return currentPageNum_; +} + +int QueryTrademarkMonitorResultsResult::getPageSize()const +{ + return pageSize_; +} + +int QueryTrademarkMonitorResultsResult::getTotalPageNum()const +{ + return totalPageNum_; +} + +std::vector QueryTrademarkMonitorResultsResult::getData()const +{ + return data_; +} + +int QueryTrademarkMonitorResultsResult::getTotalItemNum()const +{ + return totalItemNum_; +} + +bool QueryTrademarkMonitorResultsResult::getNextPage()const +{ + return nextPage_; +} + diff --git a/trademark/src/model/QueryTrademarkMonitorRulesRequest.cc b/trademark/src/model/QueryTrademarkMonitorRulesRequest.cc new file mode 100644 index 000000000..a76ea91c7 --- /dev/null +++ b/trademark/src/model/QueryTrademarkMonitorRulesRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::QueryTrademarkMonitorRulesRequest; + +QueryTrademarkMonitorRulesRequest::QueryTrademarkMonitorRulesRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryTrademarkMonitorRules") +{} + +QueryTrademarkMonitorRulesRequest::~QueryTrademarkMonitorRulesRequest() +{} + +int QueryTrademarkMonitorRulesRequest::getNotifyUpdate()const +{ + return notifyUpdate_; +} + +void QueryTrademarkMonitorRulesRequest::setNotifyUpdate(int notifyUpdate) +{ + notifyUpdate_ = notifyUpdate; + setCoreParameter("NotifyUpdate", std::to_string(notifyUpdate)); +} + +int QueryTrademarkMonitorRulesRequest::getPageSize()const +{ + return pageSize_; +} + +void QueryTrademarkMonitorRulesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setCoreParameter("PageSize", std::to_string(pageSize)); +} + +std::string QueryTrademarkMonitorRulesRequest::getRuleName()const +{ + return ruleName_; +} + +void QueryTrademarkMonitorRulesRequest::setRuleName(const std::string& ruleName) +{ + ruleName_ = ruleName; + setCoreParameter("RuleName", ruleName); +} + +std::string QueryTrademarkMonitorRulesRequest::getId()const +{ + return id_; +} + +void QueryTrademarkMonitorRulesRequest::setId(const std::string& id) +{ + id_ = id; + setCoreParameter("Id", id); +} + +int QueryTrademarkMonitorRulesRequest::getPageNum()const +{ + return pageNum_; +} + +void QueryTrademarkMonitorRulesRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setCoreParameter("PageNum", std::to_string(pageNum)); +} + diff --git a/trademark/src/model/QueryTrademarkMonitorRulesResult.cc b/trademark/src/model/QueryTrademarkMonitorRulesResult.cc new file mode 100644 index 000000000..5607b2869 --- /dev/null +++ b/trademark/src/model/QueryTrademarkMonitorRulesResult.cc @@ -0,0 +1,136 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryTrademarkMonitorRulesResult::QueryTrademarkMonitorRulesResult() : + ServiceResult() +{} + +QueryTrademarkMonitorRulesResult::QueryTrademarkMonitorRulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryTrademarkMonitorRulesResult::~QueryTrademarkMonitorRulesResult() +{} + +void QueryTrademarkMonitorRulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["TmMonitorRule"]; + for (auto value : allData) + { + TmMonitorRule dataObject; + if(!value["Id"].isNull()) + dataObject.id = value["Id"].asString(); + if(!value["UserId"].isNull()) + dataObject.userId = value["UserId"].asString(); + if(!value["RuleStatus"].isNull()) + dataObject.ruleStatus = value["RuleStatus"].asString(); + if(!value["RuleSource"].isNull()) + dataObject.ruleSource = value["RuleSource"].asString(); + if(!value["RuleName"].isNull()) + dataObject.ruleName = value["RuleName"].asString(); + if(!value["RuleType"].isNull()) + dataObject.ruleType = std::stoi(value["RuleType"].asString()); + if(!value["RuleKeyword"].isNull()) + dataObject.ruleKeyword = value["RuleKeyword"].asString(); + if(!value["RuleDetail"].isNull()) + dataObject.ruleDetail = value["RuleDetail"].asString(); + if(!value["NotifyUpdate"].isNull()) + dataObject.notifyUpdate = std::stoi(value["NotifyUpdate"].asString()); + if(!value["Version"].isNull()) + dataObject.version = std::stoi(value["Version"].asString()); + if(!value["StartTime"].isNull()) + dataObject.startTime = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + dataObject.endTime = value["EndTime"].asString(); + if(!value["LastRunTime"].isNull()) + dataObject.lastRunTime = value["LastRunTime"].asString(); + if(!value["LastFinishTime"].isNull()) + dataObject.lastFinishTime = value["LastFinishTime"].asString(); + if(!value["LastUpdateTime"].isNull()) + dataObject.lastUpdateTime = value["LastUpdateTime"].asString(); + if(!value["Env"].isNull()) + dataObject.env = value["Env"].asString(); + if(!value["RuleExtend"].isNull()) + dataObject.ruleExtend = value["RuleExtend"].asString(); + if(!value["CreateTime"].isNull()) + dataObject.createTime = value["CreateTime"].asString(); + if(!value["UpdateTime"].isNull()) + dataObject.updateTime = value["UpdateTime"].asString(); + data_.push_back(dataObject); + } + if(!value["TotalItemNum"].isNull()) + totalItemNum_ = std::stoi(value["TotalItemNum"].asString()); + if(!value["CurrentPageNum"].isNull()) + currentPageNum_ = std::stoi(value["CurrentPageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalPageNum"].isNull()) + totalPageNum_ = std::stoi(value["TotalPageNum"].asString()); + if(!value["PrePage"].isNull()) + prePage_ = value["PrePage"].asString() == "true"; + if(!value["NextPage"].isNull()) + nextPage_ = value["NextPage"].asString() == "true"; + +} + +bool QueryTrademarkMonitorRulesResult::getPrePage()const +{ + return prePage_; +} + +int QueryTrademarkMonitorRulesResult::getCurrentPageNum()const +{ + return currentPageNum_; +} + +int QueryTrademarkMonitorRulesResult::getPageSize()const +{ + return pageSize_; +} + +int QueryTrademarkMonitorRulesResult::getTotalPageNum()const +{ + return totalPageNum_; +} + +std::vector QueryTrademarkMonitorRulesResult::getData()const +{ + return data_; +} + +int QueryTrademarkMonitorRulesResult::getTotalItemNum()const +{ + return totalItemNum_; +} + +bool QueryTrademarkMonitorRulesResult::getNextPage()const +{ + return nextPage_; +} + diff --git a/trademark/src/model/QueryTrademarkPriceRequest.cc b/trademark/src/model/QueryTrademarkPriceRequest.cc new file mode 100644 index 000000000..f6af24337 --- /dev/null +++ b/trademark/src/model/QueryTrademarkPriceRequest.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::QueryTrademarkPriceRequest; + +QueryTrademarkPriceRequest::QueryTrademarkPriceRequest() : + RpcServiceRequest("trademark", "2018-07-24", "QueryTrademarkPrice") +{} + +QueryTrademarkPriceRequest::~QueryTrademarkPriceRequest() +{} + +std::string QueryTrademarkPriceRequest::getTmName()const +{ + return tmName_; +} + +void QueryTrademarkPriceRequest::setTmName(const std::string& tmName) +{ + tmName_ = tmName; + setCoreParameter("TmName", tmName); +} + +std::string QueryTrademarkPriceRequest::getTmIcon()const +{ + return tmIcon_; +} + +void QueryTrademarkPriceRequest::setTmIcon(const std::string& tmIcon) +{ + tmIcon_ = tmIcon; + setCoreParameter("TmIcon", tmIcon); +} + +std::string QueryTrademarkPriceRequest::getOrderData()const +{ + return orderData_; +} + +void QueryTrademarkPriceRequest::setOrderData(const std::string& orderData) +{ + orderData_ = orderData; + setCoreParameter("OrderData", orderData); +} + +int QueryTrademarkPriceRequest::getType()const +{ + return type_; +} + +void QueryTrademarkPriceRequest::setType(int type) +{ + type_ = type; + setCoreParameter("Type", std::to_string(type)); +} + +long QueryTrademarkPriceRequest::getUserId()const +{ + return userId_; +} + +void QueryTrademarkPriceRequest::setUserId(long userId) +{ + userId_ = userId; + setCoreParameter("UserId", std::to_string(userId)); +} + diff --git a/trademark/src/model/QueryTrademarkPriceResult.cc b/trademark/src/model/QueryTrademarkPriceResult.cc new file mode 100644 index 000000000..2c16483ac --- /dev/null +++ b/trademark/src/model/QueryTrademarkPriceResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +QueryTrademarkPriceResult::QueryTrademarkPriceResult() : + ServiceResult() +{} + +QueryTrademarkPriceResult::QueryTrademarkPriceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QueryTrademarkPriceResult::~QueryTrademarkPriceResult() +{} + +void QueryTrademarkPriceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allPrices = value["Prices"]["PricesItem"]; + for (auto value : allPrices) + { + PricesItem pricesObject; + if(!value["ClassificationCode"].isNull()) + pricesObject.classificationCode = value["ClassificationCode"].asString(); + if(!value["DiscountPrice"].isNull()) + pricesObject.discountPrice = std::stof(value["DiscountPrice"].asString()); + if(!value["OriginalPrice"].isNull()) + pricesObject.originalPrice = std::stof(value["OriginalPrice"].asString()); + if(!value["TradePrice"].isNull()) + pricesObject.tradePrice = std::stof(value["TradePrice"].asString()); + if(!value["Currency"].isNull()) + pricesObject.currency = value["Currency"].asString(); + prices_.push_back(pricesObject); + } + if(!value["DiscountPrice"].isNull()) + discountPrice_ = std::stof(value["DiscountPrice"].asString()); + if(!value["OriginalPrice"].isNull()) + originalPrice_ = std::stof(value["OriginalPrice"].asString()); + if(!value["TradePrice"].isNull()) + tradePrice_ = std::stof(value["TradePrice"].asString()); + if(!value["Currency"].isNull()) + currency_ = value["Currency"].asString(); + +} + +std::vector QueryTrademarkPriceResult::getPrices()const +{ + return prices_; +} + +float QueryTrademarkPriceResult::getOriginalPrice()const +{ + return originalPrice_; +} + +float QueryTrademarkPriceResult::getDiscountPrice()const +{ + return discountPrice_; +} + +std::string QueryTrademarkPriceResult::getCurrency()const +{ + return currency_; +} + +float QueryTrademarkPriceResult::getTradePrice()const +{ + return tradePrice_; +} + diff --git a/trademark/src/model/RefundProduceRequest.cc b/trademark/src/model/RefundProduceRequest.cc new file mode 100644 index 000000000..33666a851 --- /dev/null +++ b/trademark/src/model/RefundProduceRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::RefundProduceRequest; + +RefundProduceRequest::RefundProduceRequest() : + RpcServiceRequest("trademark", "2018-07-24", "RefundProduce") +{} + +RefundProduceRequest::~RefundProduceRequest() +{} + +std::string RefundProduceRequest::getBizId()const +{ + return bizId_; +} + +void RefundProduceRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + diff --git a/trademark/src/model/RefundProduceResult.cc b/trademark/src/model/RefundProduceResult.cc new file mode 100644 index 000000000..89e5d1ffc --- /dev/null +++ b/trademark/src/model/RefundProduceResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +RefundProduceResult::RefundProduceResult() : + ServiceResult() +{} + +RefundProduceResult::RefundProduceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RefundProduceResult::~RefundProduceResult() +{} + +void RefundProduceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +std::string RefundProduceResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::string RefundProduceResult::getErrorCode()const +{ + return errorCode_; +} + +bool RefundProduceResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/SaveTaskRequest.cc b/trademark/src/model/SaveTaskRequest.cc new file mode 100644 index 000000000..8598af6af --- /dev/null +++ b/trademark/src/model/SaveTaskRequest.cc @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::SaveTaskRequest; + +SaveTaskRequest::SaveTaskRequest() : + RpcServiceRequest("trademark", "2018-07-24", "SaveTask") +{} + +SaveTaskRequest::~SaveTaskRequest() +{} + +std::string SaveTaskRequest::getBizType()const +{ + return bizType_; +} + +void SaveTaskRequest::setBizType(const std::string& bizType) +{ + bizType_ = bizType; + setCoreParameter("BizType", bizType); +} + +std::string SaveTaskRequest::getRequest()const +{ + return request_; +} + +void SaveTaskRequest::setRequest(const std::string& request) +{ + request_ = request; + setCoreParameter("Request", request); +} + diff --git a/trademark/src/model/SaveTaskResult.cc b/trademark/src/model/SaveTaskResult.cc new file mode 100644 index 000000000..12cd21392 --- /dev/null +++ b/trademark/src/model/SaveTaskResult.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +SaveTaskResult::SaveTaskResult() : + ServiceResult() +{} + +SaveTaskResult::SaveTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SaveTaskResult::~SaveTaskResult() +{} + +void SaveTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/trademark/src/model/StartNotaryRequest.cc b/trademark/src/model/StartNotaryRequest.cc new file mode 100644 index 000000000..7c2ec65c1 --- /dev/null +++ b/trademark/src/model/StartNotaryRequest.cc @@ -0,0 +1,38 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::StartNotaryRequest; + +StartNotaryRequest::StartNotaryRequest() : + RpcServiceRequest("trademark", "2018-07-24", "StartNotary") +{} + +StartNotaryRequest::~StartNotaryRequest() +{} + +long StartNotaryRequest::getNotaryOrderId()const +{ + return notaryOrderId_; +} + +void StartNotaryRequest::setNotaryOrderId(long notaryOrderId) +{ + notaryOrderId_ = notaryOrderId; + setCoreParameter("NotaryOrderId", std::to_string(notaryOrderId)); +} + diff --git a/trademark/src/model/StartNotaryResult.cc b/trademark/src/model/StartNotaryResult.cc new file mode 100644 index 000000000..ad43c968a --- /dev/null +++ b/trademark/src/model/StartNotaryResult.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 +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +StartNotaryResult::StartNotaryResult() : + ServiceResult() +{} + +StartNotaryResult::StartNotaryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartNotaryResult::~StartNotaryResult() +{} + +void StartNotaryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["NotaryUrl"].isNull()) + notaryUrl_ = value["NotaryUrl"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +std::string StartNotaryResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::string StartNotaryResult::getNotaryUrl()const +{ + return notaryUrl_; +} + +std::string StartNotaryResult::getErrorCode()const +{ + return errorCode_; +} + +bool StartNotaryResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/StoreMaterialTemporarilyRequest.cc b/trademark/src/model/StoreMaterialTemporarilyRequest.cc new file mode 100644 index 000000000..d6f9752b3 --- /dev/null +++ b/trademark/src/model/StoreMaterialTemporarilyRequest.cc @@ -0,0 +1,258 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::StoreMaterialTemporarilyRequest; + +StoreMaterialTemporarilyRequest::StoreMaterialTemporarilyRequest() : + RpcServiceRequest("trademark", "2018-07-24", "StoreMaterialTemporarily") +{} + +StoreMaterialTemporarilyRequest::~StoreMaterialTemporarilyRequest() +{} + +std::string StoreMaterialTemporarilyRequest::getContactEmail()const +{ + return contactEmail_; +} + +void StoreMaterialTemporarilyRequest::setContactEmail(const std::string& contactEmail) +{ + contactEmail_ = contactEmail; + setCoreParameter("ContactEmail", contactEmail); +} + +std::string StoreMaterialTemporarilyRequest::getContactAddress()const +{ + return contactAddress_; +} + +void StoreMaterialTemporarilyRequest::setContactAddress(const std::string& contactAddress) +{ + contactAddress_ = contactAddress; + setCoreParameter("ContactAddress", contactAddress); +} + +std::string StoreMaterialTemporarilyRequest::getEAddress()const +{ + return eAddress_; +} + +void StoreMaterialTemporarilyRequest::setEAddress(const std::string& eAddress) +{ + eAddress_ = eAddress; + setCoreParameter("EAddress", eAddress); +} + +std::string StoreMaterialTemporarilyRequest::getCountry()const +{ + return country_; +} + +void StoreMaterialTemporarilyRequest::setCountry(const std::string& country) +{ + country_ = country; + setCoreParameter("Country", country); +} + +std::string StoreMaterialTemporarilyRequest::getLegalNoticeOssKey()const +{ + return legalNoticeOssKey_; +} + +void StoreMaterialTemporarilyRequest::setLegalNoticeOssKey(const std::string& legalNoticeOssKey) +{ + legalNoticeOssKey_ = legalNoticeOssKey; + setCoreParameter("LegalNoticeOssKey", legalNoticeOssKey); +} + +std::string StoreMaterialTemporarilyRequest::getAddress()const +{ + return address_; +} + +void StoreMaterialTemporarilyRequest::setAddress(const std::string& address) +{ + address_ = address; + setCoreParameter("Address", address); +} + +std::string StoreMaterialTemporarilyRequest::getTown()const +{ + return town_; +} + +void StoreMaterialTemporarilyRequest::setTown(const std::string& town) +{ + town_ = town; + setCoreParameter("Town", town); +} + +std::string StoreMaterialTemporarilyRequest::getContactNumber()const +{ + return contactNumber_; +} + +void StoreMaterialTemporarilyRequest::setContactNumber(const std::string& contactNumber) +{ + contactNumber_ = contactNumber; + setCoreParameter("ContactNumber", contactNumber); +} + +std::string StoreMaterialTemporarilyRequest::getCity()const +{ + return city_; +} + +void StoreMaterialTemporarilyRequest::setCity(const std::string& city) +{ + city_ = city; + setCoreParameter("City", city); +} + +std::string StoreMaterialTemporarilyRequest::getIdCardOssKey()const +{ + return idCardOssKey_; +} + +void StoreMaterialTemporarilyRequest::setIdCardOssKey(const std::string& idCardOssKey) +{ + idCardOssKey_ = idCardOssKey; + setCoreParameter("IdCardOssKey", idCardOssKey); +} + +std::string StoreMaterialTemporarilyRequest::getType()const +{ + return type_; +} + +void StoreMaterialTemporarilyRequest::setType(const std::string& type) +{ + type_ = type; + setCoreParameter("Type", type); +} + +std::string StoreMaterialTemporarilyRequest::getContactName()const +{ + return contactName_; +} + +void StoreMaterialTemporarilyRequest::setContactName(const std::string& contactName) +{ + contactName_ = contactName; + setCoreParameter("ContactName", contactName); +} + +std::string StoreMaterialTemporarilyRequest::getPassportOssKey()const +{ + return passportOssKey_; +} + +void StoreMaterialTemporarilyRequest::setPassportOssKey(const std::string& passportOssKey) +{ + passportOssKey_ = passportOssKey; + setCoreParameter("PassportOssKey", passportOssKey); +} + +std::string StoreMaterialTemporarilyRequest::getContactZipcode()const +{ + return contactZipcode_; +} + +void StoreMaterialTemporarilyRequest::setContactZipcode(const std::string& contactZipcode) +{ + contactZipcode_ = contactZipcode; + setCoreParameter("ContactZipcode", contactZipcode); +} + +std::string StoreMaterialTemporarilyRequest::getEName()const +{ + return eName_; +} + +void StoreMaterialTemporarilyRequest::setEName(const std::string& eName) +{ + eName_ = eName; + setCoreParameter("EName", eName); +} + +std::string StoreMaterialTemporarilyRequest::getProvince()const +{ + return province_; +} + +void StoreMaterialTemporarilyRequest::setProvince(const std::string& province) +{ + province_ = province; + setCoreParameter("Province", province); +} + +std::string StoreMaterialTemporarilyRequest::getBusinessLicenceOssKey()const +{ + return businessLicenceOssKey_; +} + +void StoreMaterialTemporarilyRequest::setBusinessLicenceOssKey(const std::string& businessLicenceOssKey) +{ + businessLicenceOssKey_ = businessLicenceOssKey; + setCoreParameter("BusinessLicenceOssKey", businessLicenceOssKey); +} + +std::string StoreMaterialTemporarilyRequest::getName()const +{ + return name_; +} + +void StoreMaterialTemporarilyRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +std::string StoreMaterialTemporarilyRequest::getCardNumber()const +{ + return cardNumber_; +} + +void StoreMaterialTemporarilyRequest::setCardNumber(const std::string& cardNumber) +{ + cardNumber_ = cardNumber; + setCoreParameter("CardNumber", cardNumber); +} + +std::string StoreMaterialTemporarilyRequest::getRegion()const +{ + return region_; +} + +void StoreMaterialTemporarilyRequest::setRegion(const std::string& region) +{ + region_ = region; + setCoreParameter("Region", region); +} + +std::string StoreMaterialTemporarilyRequest::getLoaOssKey()const +{ + return loaOssKey_; +} + +void StoreMaterialTemporarilyRequest::setLoaOssKey(const std::string& loaOssKey) +{ + loaOssKey_ = loaOssKey; + setCoreParameter("LoaOssKey", loaOssKey); +} + diff --git a/trademark/src/model/StoreMaterialTemporarilyResult.cc b/trademark/src/model/StoreMaterialTemporarilyResult.cc new file mode 100644 index 000000000..cebe03010 --- /dev/null +++ b/trademark/src/model/StoreMaterialTemporarilyResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +StoreMaterialTemporarilyResult::StoreMaterialTemporarilyResult() : + ServiceResult() +{} + +StoreMaterialTemporarilyResult::StoreMaterialTemporarilyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StoreMaterialTemporarilyResult::~StoreMaterialTemporarilyResult() +{} + +void StoreMaterialTemporarilyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool StoreMaterialTemporarilyResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/SubmitSupplementRequest.cc b/trademark/src/model/SubmitSupplementRequest.cc new file mode 100644 index 000000000..b2b7168bc --- /dev/null +++ b/trademark/src/model/SubmitSupplementRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::SubmitSupplementRequest; + +SubmitSupplementRequest::SubmitSupplementRequest() : + RpcServiceRequest("trademark", "2018-07-24", "SubmitSupplement") +{} + +SubmitSupplementRequest::~SubmitSupplementRequest() +{} + +std::string SubmitSupplementRequest::getUploadOssKeyList()const +{ + return uploadOssKeyList_; +} + +void SubmitSupplementRequest::setUploadOssKeyList(const std::string& uploadOssKeyList) +{ + uploadOssKeyList_ = uploadOssKeyList; + setCoreParameter("UploadOssKeyList", uploadOssKeyList); +} + +long SubmitSupplementRequest::getId()const +{ + return id_; +} + +void SubmitSupplementRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +std::string SubmitSupplementRequest::getContent()const +{ + return content_; +} + +void SubmitSupplementRequest::setContent(const std::string& content) +{ + content_ = content; + setCoreParameter("Content", content); +} + diff --git a/trademark/src/model/SubmitSupplementResult.cc b/trademark/src/model/SubmitSupplementResult.cc new file mode 100644 index 000000000..bf39b9fde --- /dev/null +++ b/trademark/src/model/SubmitSupplementResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +SubmitSupplementResult::SubmitSupplementResult() : + ServiceResult() +{} + +SubmitSupplementResult::SubmitSupplementResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitSupplementResult::~SubmitSupplementResult() +{} + +void SubmitSupplementResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +std::string SubmitSupplementResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::string SubmitSupplementResult::getErrorCode()const +{ + return errorCode_; +} + +bool SubmitSupplementResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/UpdateMaterialRequest.cc b/trademark/src/model/UpdateMaterialRequest.cc new file mode 100644 index 000000000..6dc256914 --- /dev/null +++ b/trademark/src/model/UpdateMaterialRequest.cc @@ -0,0 +1,247 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Trademark::Model::UpdateMaterialRequest; + +UpdateMaterialRequest::UpdateMaterialRequest() : + RpcServiceRequest("trademark", "2018-07-24", "UpdateMaterial") +{} + +UpdateMaterialRequest::~UpdateMaterialRequest() +{} + +std::string UpdateMaterialRequest::getContactEmail()const +{ + return contactEmail_; +} + +void UpdateMaterialRequest::setContactEmail(const std::string& contactEmail) +{ + contactEmail_ = contactEmail; + setCoreParameter("ContactEmail", contactEmail); +} + +std::string UpdateMaterialRequest::getContactAddress()const +{ + return contactAddress_; +} + +void UpdateMaterialRequest::setContactAddress(const std::string& contactAddress) +{ + contactAddress_ = contactAddress; + setCoreParameter("ContactAddress", contactAddress); +} + +std::string UpdateMaterialRequest::getEAddress()const +{ + return eAddress_; +} + +void UpdateMaterialRequest::setEAddress(const std::string& eAddress) +{ + eAddress_ = eAddress; + setCoreParameter("EAddress", eAddress); +} + +std::string UpdateMaterialRequest::getLegalNoticeOssKey()const +{ + return legalNoticeOssKey_; +} + +void UpdateMaterialRequest::setLegalNoticeOssKey(const std::string& legalNoticeOssKey) +{ + legalNoticeOssKey_ = legalNoticeOssKey; + setCoreParameter("LegalNoticeOssKey", legalNoticeOssKey); +} + +std::string UpdateMaterialRequest::getAddress()const +{ + return address_; +} + +void UpdateMaterialRequest::setAddress(const std::string& address) +{ + address_ = address; + setCoreParameter("Address", address); +} + +std::string UpdateMaterialRequest::getTown()const +{ + return town_; +} + +void UpdateMaterialRequest::setTown(const std::string& town) +{ + town_ = town; + setCoreParameter("Town", town); +} + +std::string UpdateMaterialRequest::getContactNumber()const +{ + return contactNumber_; +} + +void UpdateMaterialRequest::setContactNumber(const std::string& contactNumber) +{ + contactNumber_ = contactNumber; + setCoreParameter("ContactNumber", contactNumber); +} + +std::string UpdateMaterialRequest::getCity()const +{ + return city_; +} + +void UpdateMaterialRequest::setCity(const std::string& city) +{ + city_ = city; + setCoreParameter("City", city); +} + +std::string UpdateMaterialRequest::getIdCardOssKey()const +{ + return idCardOssKey_; +} + +void UpdateMaterialRequest::setIdCardOssKey(const std::string& idCardOssKey) +{ + idCardOssKey_ = idCardOssKey; + setCoreParameter("IdCardOssKey", idCardOssKey); +} + +std::string UpdateMaterialRequest::getContactName()const +{ + return contactName_; +} + +void UpdateMaterialRequest::setContactName(const std::string& contactName) +{ + contactName_ = contactName; + setCoreParameter("ContactName", contactName); +} + +std::string UpdateMaterialRequest::getPassportOssKey()const +{ + return passportOssKey_; +} + +void UpdateMaterialRequest::setPassportOssKey(const std::string& passportOssKey) +{ + passportOssKey_ = passportOssKey; + setCoreParameter("PassportOssKey", passportOssKey); +} + +std::string UpdateMaterialRequest::getContactZipcode()const +{ + return contactZipcode_; +} + +void UpdateMaterialRequest::setContactZipcode(const std::string& contactZipcode) +{ + contactZipcode_ = contactZipcode; + setCoreParameter("ContactZipcode", contactZipcode); +} + +std::string UpdateMaterialRequest::getEName()const +{ + return eName_; +} + +void UpdateMaterialRequest::setEName(const std::string& eName) +{ + eName_ = eName; + setCoreParameter("EName", eName); +} + +std::string UpdateMaterialRequest::getProvince()const +{ + return province_; +} + +void UpdateMaterialRequest::setProvince(const std::string& province) +{ + province_ = province; + setCoreParameter("Province", province); +} + +std::string UpdateMaterialRequest::getBusinessLicenceOssKey()const +{ + return businessLicenceOssKey_; +} + +void UpdateMaterialRequest::setBusinessLicenceOssKey(const std::string& businessLicenceOssKey) +{ + businessLicenceOssKey_ = businessLicenceOssKey; + setCoreParameter("BusinessLicenceOssKey", businessLicenceOssKey); +} + +std::string UpdateMaterialRequest::getName()const +{ + return name_; +} + +void UpdateMaterialRequest::setName(const std::string& name) +{ + name_ = name; + setCoreParameter("Name", name); +} + +long UpdateMaterialRequest::getId()const +{ + return id_; +} + +void UpdateMaterialRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + +std::string UpdateMaterialRequest::getCardNumber()const +{ + return cardNumber_; +} + +void UpdateMaterialRequest::setCardNumber(const std::string& cardNumber) +{ + cardNumber_ = cardNumber; + setCoreParameter("CardNumber", cardNumber); +} + +long UpdateMaterialRequest::getLoaId()const +{ + return loaId_; +} + +void UpdateMaterialRequest::setLoaId(long loaId) +{ + loaId_ = loaId; + setCoreParameter("LoaId", std::to_string(loaId)); +} + +std::string UpdateMaterialRequest::getLoaOssKey()const +{ + return loaOssKey_; +} + +void UpdateMaterialRequest::setLoaOssKey(const std::string& loaOssKey) +{ + loaOssKey_ = loaOssKey; + setCoreParameter("LoaOssKey", loaOssKey); +} + diff --git a/trademark/src/model/UpdateMaterialResult.cc b/trademark/src/model/UpdateMaterialResult.cc new file mode 100644 index 000000000..9b4132e59 --- /dev/null +++ b/trademark/src/model/UpdateMaterialResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +UpdateMaterialResult::UpdateMaterialResult() : + ServiceResult() +{} + +UpdateMaterialResult::UpdateMaterialResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateMaterialResult::~UpdateMaterialResult() +{} + +void UpdateMaterialResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateMaterialResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/UpdateSendMaterialNumRequest.cc b/trademark/src/model/UpdateSendMaterialNumRequest.cc new file mode 100644 index 000000000..cb8ae5edc --- /dev/null +++ b/trademark/src/model/UpdateSendMaterialNumRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::UpdateSendMaterialNumRequest; + +UpdateSendMaterialNumRequest::UpdateSendMaterialNumRequest() : + RpcServiceRequest("trademark", "2018-07-24", "UpdateSendMaterialNum") +{} + +UpdateSendMaterialNumRequest::~UpdateSendMaterialNumRequest() +{} + +std::string UpdateSendMaterialNumRequest::getNum()const +{ + return num_; +} + +void UpdateSendMaterialNumRequest::setNum(const std::string& num) +{ + num_ = num; + setCoreParameter("Num", num); +} + +std::string UpdateSendMaterialNumRequest::getBizId()const +{ + return bizId_; +} + +void UpdateSendMaterialNumRequest::setBizId(const std::string& bizId) +{ + bizId_ = bizId; + setCoreParameter("BizId", bizId); +} + +int UpdateSendMaterialNumRequest::getOperateType()const +{ + return operateType_; +} + +void UpdateSendMaterialNumRequest::setOperateType(int operateType) +{ + operateType_ = operateType; + setCoreParameter("OperateType", std::to_string(operateType)); +} + diff --git a/trademark/src/model/UpdateSendMaterialNumResult.cc b/trademark/src/model/UpdateSendMaterialNumResult.cc new file mode 100644 index 000000000..7adaa4321 --- /dev/null +++ b/trademark/src/model/UpdateSendMaterialNumResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +UpdateSendMaterialNumResult::UpdateSendMaterialNumResult() : + ServiceResult() +{} + +UpdateSendMaterialNumResult::UpdateSendMaterialNumResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateSendMaterialNumResult::~UpdateSendMaterialNumResult() +{} + +void UpdateSendMaterialNumResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +std::string UpdateSendMaterialNumResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::string UpdateSendMaterialNumResult::getErrorCode()const +{ + return errorCode_; +} + +bool UpdateSendMaterialNumResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/UpdateTmMonitorRuleRequest.cc b/trademark/src/model/UpdateTmMonitorRuleRequest.cc new file mode 100644 index 000000000..ee6b73f80 --- /dev/null +++ b/trademark/src/model/UpdateTmMonitorRuleRequest.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::UpdateTmMonitorRuleRequest; + +UpdateTmMonitorRuleRequest::UpdateTmMonitorRuleRequest() : + RpcServiceRequest("trademark", "2018-07-24", "UpdateTmMonitorRule") +{} + +UpdateTmMonitorRuleRequest::~UpdateTmMonitorRuleRequest() +{} + +std::vector UpdateTmMonitorRuleRequest::getNotifyStatus()const +{ + return notifyStatus_; +} + +void UpdateTmMonitorRuleRequest::setNotifyStatus(const std::vector& notifyStatus) +{ + notifyStatus_ = notifyStatus; + for(int i = 0; i!= notifyStatus.size(); i++) + setCoreParameter("NotifyStatus."+ std::to_string(i), std::to_string(notifyStatus.at(i))); +} + +std::string UpdateTmMonitorRuleRequest::getRuleName()const +{ + return ruleName_; +} + +void UpdateTmMonitorRuleRequest::setRuleName(const std::string& ruleName) +{ + ruleName_ = ruleName; + setCoreParameter("RuleName", ruleName); +} + +long UpdateTmMonitorRuleRequest::getId()const +{ + return id_; +} + +void UpdateTmMonitorRuleRequest::setId(long id) +{ + id_ = id; + setCoreParameter("Id", std::to_string(id)); +} + diff --git a/trademark/src/model/UpdateTmMonitorRuleResult.cc b/trademark/src/model/UpdateTmMonitorRuleResult.cc new file mode 100644 index 000000000..0c57eab03 --- /dev/null +++ b/trademark/src/model/UpdateTmMonitorRuleResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +UpdateTmMonitorRuleResult::UpdateTmMonitorRuleResult() : + ServiceResult() +{} + +UpdateTmMonitorRuleResult::UpdateTmMonitorRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateTmMonitorRuleResult::~UpdateTmMonitorRuleResult() +{} + +void UpdateTmMonitorRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorMsg"].isNull()) + errorMsg_ = value["ErrorMsg"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + +} + +std::string UpdateTmMonitorRuleResult::getErrorMsg()const +{ + return errorMsg_; +} + +std::string UpdateTmMonitorRuleResult::getErrorCode()const +{ + return errorCode_; +} + +bool UpdateTmMonitorRuleResult::getSuccess()const +{ + return success_; +} + diff --git a/trademark/src/model/UploadNotaryDataRequest.cc b/trademark/src/model/UploadNotaryDataRequest.cc new file mode 100644 index 000000000..d599f6627 --- /dev/null +++ b/trademark/src/model/UploadNotaryDataRequest.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Trademark::Model::UploadNotaryDataRequest; + +UploadNotaryDataRequest::UploadNotaryDataRequest() : + RpcServiceRequest("trademark", "2018-07-24", "UploadNotaryData") +{} + +UploadNotaryDataRequest::~UploadNotaryDataRequest() +{} + +std::string UploadNotaryDataRequest::getUploadContext()const +{ + return uploadContext_; +} + +void UploadNotaryDataRequest::setUploadContext(const std::string& uploadContext) +{ + uploadContext_ = uploadContext; + setCoreParameter("UploadContext", uploadContext); +} + +std::string UploadNotaryDataRequest::getBizOrderNo()const +{ + return bizOrderNo_; +} + +void UploadNotaryDataRequest::setBizOrderNo(const std::string& bizOrderNo) +{ + bizOrderNo_ = bizOrderNo; + setCoreParameter("BizOrderNo", bizOrderNo); +} + +int UploadNotaryDataRequest::getNotaryType()const +{ + return notaryType_; +} + +void UploadNotaryDataRequest::setNotaryType(int notaryType) +{ + notaryType_ = notaryType; + setCoreParameter("NotaryType", std::to_string(notaryType)); +} + diff --git a/trademark/src/model/UploadNotaryDataResult.cc b/trademark/src/model/UploadNotaryDataResult.cc new file mode 100644 index 000000000..2b74f7743 --- /dev/null +++ b/trademark/src/model/UploadNotaryDataResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Trademark; +using namespace AlibabaCloud::Trademark::Model; + +UploadNotaryDataResult::UploadNotaryDataResult() : + ServiceResult() +{} + +UploadNotaryDataResult::UploadNotaryDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UploadNotaryDataResult::~UploadNotaryDataResult() +{} + +void UploadNotaryDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["UserAuthUrl"].isNull()) + userAuthUrl_ = value["UserAuthUrl"].asString(); + +} + +std::string UploadNotaryDataResult::getUserAuthUrl()const +{ + return userAuthUrl_; +} +