regenerate code

This commit is contained in:
wb-hx510875
2020-03-26 17:27:13 +08:00
committed by Axios
parent cba94f2119
commit f0c2600a26
6249 changed files with 188711 additions and 43443 deletions

View File

@@ -21,41 +21,137 @@ set(companyreg_public_header
include/alibabacloud/companyreg/CompanyregExport.h )
set(companyreg_public_header_model
include/alibabacloud/companyreg/model/AcceptBookkeepingAuditResultRequest.h
include/alibabacloud/companyreg/model/AcceptBookkeepingAuditResultResult.h
include/alibabacloud/companyreg/model/AcceptBookkeepingDetailStatusChangeRequest.h
include/alibabacloud/companyreg/model/AcceptBookkeepingDetailStatusChangeResult.h
include/alibabacloud/companyreg/model/AcceptPartnerNotificationRequest.h
include/alibabacloud/companyreg/model/AcceptPartnerNotificationResult.h
include/alibabacloud/companyreg/model/CloseIcpProduceRequest.h
include/alibabacloud/companyreg/model/CloseIcpProduceResult.h
include/alibabacloud/companyreg/model/CloseIntentionRequest.h
include/alibabacloud/companyreg/model/CloseIntentionResult.h
include/alibabacloud/companyreg/model/ConfirmIntentionRequest.h
include/alibabacloud/companyreg/model/ConfirmIntentionResult.h
include/alibabacloud/companyreg/model/ConfirmMaterialRequest.h
include/alibabacloud/companyreg/model/ConfirmMaterialResult.h
include/alibabacloud/companyreg/model/ConfirmTaxAmountRequest.h
include/alibabacloud/companyreg/model/ConfirmTaxAmountResult.h
include/alibabacloud/companyreg/model/CreateBookkeepingIntentionRequest.h
include/alibabacloud/companyreg/model/CreateBookkeepingIntentionResult.h
include/alibabacloud/companyreg/model/GenerateCompanyRegUploadPolicyRequest.h
include/alibabacloud/companyreg/model/GenerateCompanyRegUploadPolicyResult.h
include/alibabacloud/companyreg/model/GenerateUploadFilePolicyRequest.h
include/alibabacloud/companyreg/model/GenerateUploadFilePolicyResult.h
include/alibabacloud/companyreg/model/GetCompanyRegOrderRequest.h
include/alibabacloud/companyreg/model/GetCompanyRegOrderResult.h
include/alibabacloud/companyreg/model/ListApplicationLogsRequest.h
include/alibabacloud/companyreg/model/ListApplicationLogsResult.h
include/alibabacloud/companyreg/model/ListBookkeepingStatisticsesRequest.h
include/alibabacloud/companyreg/model/ListBookkeepingStatisticsesResult.h
include/alibabacloud/companyreg/model/ListBookkeepingSubjectBalancesRequest.h
include/alibabacloud/companyreg/model/ListBookkeepingSubjectBalancesResult.h
include/alibabacloud/companyreg/model/ListBookkeepingsRequest.h
include/alibabacloud/companyreg/model/ListBookkeepingsResult.h
include/alibabacloud/companyreg/model/ListCompanyRegConsultationsRequest.h
include/alibabacloud/companyreg/model/ListCompanyRegConsultationsResult.h
include/alibabacloud/companyreg/model/ListCompanyRegOrdersRequest.h
include/alibabacloud/companyreg/model/ListCompanyRegOrdersResult.h
include/alibabacloud/companyreg/model/ListIcpApplicationsRequest.h
include/alibabacloud/companyreg/model/ListIcpApplicationsResult.h
include/alibabacloud/companyreg/model/ProcessCompanyRegOrderRequest.h
include/alibabacloud/companyreg/model/ProcessCompanyRegOrderResult.h
include/alibabacloud/companyreg/model/QueryCommunicationLogsRequest.h
include/alibabacloud/companyreg/model/QueryCommunicationLogsResult.h
include/alibabacloud/companyreg/model/QueryIntentionListRequest.h
include/alibabacloud/companyreg/model/QueryIntentionListResult.h
include/alibabacloud/companyreg/model/QueryTradeIntentionUserListRequest.h
include/alibabacloud/companyreg/model/QueryTradeIntentionUserListResult.h
include/alibabacloud/companyreg/model/RefuseMaterialRequest.h
include/alibabacloud/companyreg/model/RefuseMaterialResult.h
include/alibabacloud/companyreg/model/RejectIcpIntentionRequest.h
include/alibabacloud/companyreg/model/RejectIcpIntentionResult.h
include/alibabacloud/companyreg/model/SendVcodeRequest.h
include/alibabacloud/companyreg/model/SendVcodeResult.h
include/alibabacloud/companyreg/model/SubmitCommunicationNoteRequest.h
include/alibabacloud/companyreg/model/SubmitCommunicationNoteResult.h
include/alibabacloud/companyreg/model/SubmitConsultationRequest.h
include/alibabacloud/companyreg/model/SubmitConsultationResult.h )
include/alibabacloud/companyreg/model/SubmitConsultationResult.h
include/alibabacloud/companyreg/model/SubmitIcpSolutionRequest.h
include/alibabacloud/companyreg/model/SubmitIcpSolutionResult.h
include/alibabacloud/companyreg/model/UpdateBookkeepingOrgRequest.h
include/alibabacloud/companyreg/model/UpdateBookkeepingOrgResult.h
include/alibabacloud/companyreg/model/UploadIcpBasicMaterialRequest.h
include/alibabacloud/companyreg/model/UploadIcpBasicMaterialResult.h
include/alibabacloud/companyreg/model/WriteCommunicationLogRequest.h
include/alibabacloud/companyreg/model/WriteCommunicationLogResult.h )
set(companyreg_src
src/CompanyregClient.cc
src/model/AcceptBookkeepingAuditResultRequest.cc
src/model/AcceptBookkeepingAuditResultResult.cc
src/model/AcceptBookkeepingDetailStatusChangeRequest.cc
src/model/AcceptBookkeepingDetailStatusChangeResult.cc
src/model/AcceptPartnerNotificationRequest.cc
src/model/AcceptPartnerNotificationResult.cc
src/model/CloseIcpProduceRequest.cc
src/model/CloseIcpProduceResult.cc
src/model/CloseIntentionRequest.cc
src/model/CloseIntentionResult.cc
src/model/ConfirmIntentionRequest.cc
src/model/ConfirmIntentionResult.cc
src/model/ConfirmMaterialRequest.cc
src/model/ConfirmMaterialResult.cc
src/model/ConfirmTaxAmountRequest.cc
src/model/ConfirmTaxAmountResult.cc
src/model/CreateBookkeepingIntentionRequest.cc
src/model/CreateBookkeepingIntentionResult.cc
src/model/GenerateCompanyRegUploadPolicyRequest.cc
src/model/GenerateCompanyRegUploadPolicyResult.cc
src/model/GenerateUploadFilePolicyRequest.cc
src/model/GenerateUploadFilePolicyResult.cc
src/model/GetCompanyRegOrderRequest.cc
src/model/GetCompanyRegOrderResult.cc
src/model/ListApplicationLogsRequest.cc
src/model/ListApplicationLogsResult.cc
src/model/ListBookkeepingStatisticsesRequest.cc
src/model/ListBookkeepingStatisticsesResult.cc
src/model/ListBookkeepingSubjectBalancesRequest.cc
src/model/ListBookkeepingSubjectBalancesResult.cc
src/model/ListBookkeepingsRequest.cc
src/model/ListBookkeepingsResult.cc
src/model/ListCompanyRegConsultationsRequest.cc
src/model/ListCompanyRegConsultationsResult.cc
src/model/ListCompanyRegOrdersRequest.cc
src/model/ListCompanyRegOrdersResult.cc
src/model/ListIcpApplicationsRequest.cc
src/model/ListIcpApplicationsResult.cc
src/model/ProcessCompanyRegOrderRequest.cc
src/model/ProcessCompanyRegOrderResult.cc
src/model/QueryCommunicationLogsRequest.cc
src/model/QueryCommunicationLogsResult.cc
src/model/QueryIntentionListRequest.cc
src/model/QueryIntentionListResult.cc
src/model/QueryTradeIntentionUserListRequest.cc
src/model/QueryTradeIntentionUserListResult.cc
src/model/RefuseMaterialRequest.cc
src/model/RefuseMaterialResult.cc
src/model/RejectIcpIntentionRequest.cc
src/model/RejectIcpIntentionResult.cc
src/model/SendVcodeRequest.cc
src/model/SendVcodeResult.cc
src/model/SubmitCommunicationNoteRequest.cc
src/model/SubmitCommunicationNoteResult.cc
src/model/SubmitConsultationRequest.cc
src/model/SubmitConsultationResult.cc )
src/model/SubmitConsultationResult.cc
src/model/SubmitIcpSolutionRequest.cc
src/model/SubmitIcpSolutionResult.cc
src/model/UpdateBookkeepingOrgRequest.cc
src/model/UpdateBookkeepingOrgResult.cc
src/model/UploadIcpBasicMaterialRequest.cc
src/model/UploadIcpBasicMaterialResult.cc
src/model/WriteCommunicationLogRequest.cc
src/model/WriteCommunicationLogResult.cc )
add_library(companyreg ${LIB_TYPE}
${companyreg_public_header}

View File

@@ -22,22 +22,70 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "CompanyregExport.h"
#include "model/AcceptBookkeepingAuditResultRequest.h"
#include "model/AcceptBookkeepingAuditResultResult.h"
#include "model/AcceptBookkeepingDetailStatusChangeRequest.h"
#include "model/AcceptBookkeepingDetailStatusChangeResult.h"
#include "model/AcceptPartnerNotificationRequest.h"
#include "model/AcceptPartnerNotificationResult.h"
#include "model/CloseIcpProduceRequest.h"
#include "model/CloseIcpProduceResult.h"
#include "model/CloseIntentionRequest.h"
#include "model/CloseIntentionResult.h"
#include "model/ConfirmIntentionRequest.h"
#include "model/ConfirmIntentionResult.h"
#include "model/ConfirmMaterialRequest.h"
#include "model/ConfirmMaterialResult.h"
#include "model/ConfirmTaxAmountRequest.h"
#include "model/ConfirmTaxAmountResult.h"
#include "model/CreateBookkeepingIntentionRequest.h"
#include "model/CreateBookkeepingIntentionResult.h"
#include "model/GenerateCompanyRegUploadPolicyRequest.h"
#include "model/GenerateCompanyRegUploadPolicyResult.h"
#include "model/GenerateUploadFilePolicyRequest.h"
#include "model/GenerateUploadFilePolicyResult.h"
#include "model/GetCompanyRegOrderRequest.h"
#include "model/GetCompanyRegOrderResult.h"
#include "model/ListApplicationLogsRequest.h"
#include "model/ListApplicationLogsResult.h"
#include "model/ListBookkeepingStatisticsesRequest.h"
#include "model/ListBookkeepingStatisticsesResult.h"
#include "model/ListBookkeepingSubjectBalancesRequest.h"
#include "model/ListBookkeepingSubjectBalancesResult.h"
#include "model/ListBookkeepingsRequest.h"
#include "model/ListBookkeepingsResult.h"
#include "model/ListCompanyRegConsultationsRequest.h"
#include "model/ListCompanyRegConsultationsResult.h"
#include "model/ListCompanyRegOrdersRequest.h"
#include "model/ListCompanyRegOrdersResult.h"
#include "model/ListIcpApplicationsRequest.h"
#include "model/ListIcpApplicationsResult.h"
#include "model/ProcessCompanyRegOrderRequest.h"
#include "model/ProcessCompanyRegOrderResult.h"
#include "model/QueryCommunicationLogsRequest.h"
#include "model/QueryCommunicationLogsResult.h"
#include "model/QueryIntentionListRequest.h"
#include "model/QueryIntentionListResult.h"
#include "model/QueryTradeIntentionUserListRequest.h"
#include "model/QueryTradeIntentionUserListResult.h"
#include "model/RefuseMaterialRequest.h"
#include "model/RefuseMaterialResult.h"
#include "model/RejectIcpIntentionRequest.h"
#include "model/RejectIcpIntentionResult.h"
#include "model/SendVcodeRequest.h"
#include "model/SendVcodeResult.h"
#include "model/SubmitCommunicationNoteRequest.h"
#include "model/SubmitCommunicationNoteResult.h"
#include "model/SubmitConsultationRequest.h"
#include "model/SubmitConsultationResult.h"
#include "model/SubmitIcpSolutionRequest.h"
#include "model/SubmitIcpSolutionResult.h"
#include "model/UpdateBookkeepingOrgRequest.h"
#include "model/UpdateBookkeepingOrgResult.h"
#include "model/UploadIcpBasicMaterialRequest.h"
#include "model/UploadIcpBasicMaterialResult.h"
#include "model/WriteCommunicationLogRequest.h"
#include "model/WriteCommunicationLogResult.h"
namespace AlibabaCloud
@@ -47,21 +95,81 @@ namespace AlibabaCloud
class ALIBABACLOUD_COMPANYREG_EXPORT CompanyregClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::AcceptBookkeepingAuditResultResult> AcceptBookkeepingAuditResultOutcome;
typedef std::future<AcceptBookkeepingAuditResultOutcome> AcceptBookkeepingAuditResultOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::AcceptBookkeepingAuditResultRequest&, const AcceptBookkeepingAuditResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AcceptBookkeepingAuditResultAsyncHandler;
typedef Outcome<Error, Model::AcceptBookkeepingDetailStatusChangeResult> AcceptBookkeepingDetailStatusChangeOutcome;
typedef std::future<AcceptBookkeepingDetailStatusChangeOutcome> AcceptBookkeepingDetailStatusChangeOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::AcceptBookkeepingDetailStatusChangeRequest&, const AcceptBookkeepingDetailStatusChangeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AcceptBookkeepingDetailStatusChangeAsyncHandler;
typedef Outcome<Error, Model::AcceptPartnerNotificationResult> AcceptPartnerNotificationOutcome;
typedef std::future<AcceptPartnerNotificationOutcome> AcceptPartnerNotificationOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::AcceptPartnerNotificationRequest&, const AcceptPartnerNotificationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AcceptPartnerNotificationAsyncHandler;
typedef Outcome<Error, Model::CloseIcpProduceResult> CloseIcpProduceOutcome;
typedef std::future<CloseIcpProduceOutcome> CloseIcpProduceOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::CloseIcpProduceRequest&, const CloseIcpProduceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloseIcpProduceAsyncHandler;
typedef Outcome<Error, Model::CloseIntentionResult> CloseIntentionOutcome;
typedef std::future<CloseIntentionOutcome> CloseIntentionOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::CloseIntentionRequest&, const CloseIntentionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloseIntentionAsyncHandler;
typedef Outcome<Error, Model::ConfirmIntentionResult> ConfirmIntentionOutcome;
typedef std::future<ConfirmIntentionOutcome> ConfirmIntentionOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::ConfirmIntentionRequest&, const ConfirmIntentionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfirmIntentionAsyncHandler;
typedef Outcome<Error, Model::ConfirmMaterialResult> ConfirmMaterialOutcome;
typedef std::future<ConfirmMaterialOutcome> ConfirmMaterialOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::ConfirmMaterialRequest&, const ConfirmMaterialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfirmMaterialAsyncHandler;
typedef Outcome<Error, Model::ConfirmTaxAmountResult> ConfirmTaxAmountOutcome;
typedef std::future<ConfirmTaxAmountOutcome> ConfirmTaxAmountOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::ConfirmTaxAmountRequest&, const ConfirmTaxAmountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfirmTaxAmountAsyncHandler;
typedef Outcome<Error, Model::CreateBookkeepingIntentionResult> CreateBookkeepingIntentionOutcome;
typedef std::future<CreateBookkeepingIntentionOutcome> CreateBookkeepingIntentionOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::CreateBookkeepingIntentionRequest&, const CreateBookkeepingIntentionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBookkeepingIntentionAsyncHandler;
typedef Outcome<Error, Model::GenerateCompanyRegUploadPolicyResult> GenerateCompanyRegUploadPolicyOutcome;
typedef std::future<GenerateCompanyRegUploadPolicyOutcome> GenerateCompanyRegUploadPolicyOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::GenerateCompanyRegUploadPolicyRequest&, const GenerateCompanyRegUploadPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GenerateCompanyRegUploadPolicyAsyncHandler;
typedef Outcome<Error, Model::GenerateUploadFilePolicyResult> GenerateUploadFilePolicyOutcome;
typedef std::future<GenerateUploadFilePolicyOutcome> GenerateUploadFilePolicyOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::GenerateUploadFilePolicyRequest&, const GenerateUploadFilePolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GenerateUploadFilePolicyAsyncHandler;
typedef Outcome<Error, Model::GetCompanyRegOrderResult> GetCompanyRegOrderOutcome;
typedef std::future<GetCompanyRegOrderOutcome> GetCompanyRegOrderOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::GetCompanyRegOrderRequest&, const GetCompanyRegOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCompanyRegOrderAsyncHandler;
typedef Outcome<Error, Model::ListApplicationLogsResult> ListApplicationLogsOutcome;
typedef std::future<ListApplicationLogsOutcome> ListApplicationLogsOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::ListApplicationLogsRequest&, const ListApplicationLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListApplicationLogsAsyncHandler;
typedef Outcome<Error, Model::ListBookkeepingStatisticsesResult> ListBookkeepingStatisticsesOutcome;
typedef std::future<ListBookkeepingStatisticsesOutcome> ListBookkeepingStatisticsesOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::ListBookkeepingStatisticsesRequest&, const ListBookkeepingStatisticsesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListBookkeepingStatisticsesAsyncHandler;
typedef Outcome<Error, Model::ListBookkeepingSubjectBalancesResult> ListBookkeepingSubjectBalancesOutcome;
typedef std::future<ListBookkeepingSubjectBalancesOutcome> ListBookkeepingSubjectBalancesOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::ListBookkeepingSubjectBalancesRequest&, const ListBookkeepingSubjectBalancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListBookkeepingSubjectBalancesAsyncHandler;
typedef Outcome<Error, Model::ListBookkeepingsResult> ListBookkeepingsOutcome;
typedef std::future<ListBookkeepingsOutcome> ListBookkeepingsOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::ListBookkeepingsRequest&, const ListBookkeepingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListBookkeepingsAsyncHandler;
typedef Outcome<Error, Model::ListCompanyRegConsultationsResult> ListCompanyRegConsultationsOutcome;
typedef std::future<ListCompanyRegConsultationsOutcome> ListCompanyRegConsultationsOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::ListCompanyRegConsultationsRequest&, const ListCompanyRegConsultationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCompanyRegConsultationsAsyncHandler;
typedef Outcome<Error, Model::ListCompanyRegOrdersResult> ListCompanyRegOrdersOutcome;
typedef std::future<ListCompanyRegOrdersOutcome> ListCompanyRegOrdersOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::ListCompanyRegOrdersRequest&, const ListCompanyRegOrdersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCompanyRegOrdersAsyncHandler;
typedef Outcome<Error, Model::ListIcpApplicationsResult> ListIcpApplicationsOutcome;
typedef std::future<ListIcpApplicationsOutcome> ListIcpApplicationsOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::ListIcpApplicationsRequest&, const ListIcpApplicationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListIcpApplicationsAsyncHandler;
typedef Outcome<Error, Model::ProcessCompanyRegOrderResult> ProcessCompanyRegOrderOutcome;
typedef std::future<ProcessCompanyRegOrderOutcome> ProcessCompanyRegOrderOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::ProcessCompanyRegOrderRequest&, const ProcessCompanyRegOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ProcessCompanyRegOrderAsyncHandler;
typedef Outcome<Error, Model::QueryCommunicationLogsResult> QueryCommunicationLogsOutcome;
typedef std::future<QueryCommunicationLogsOutcome> QueryCommunicationLogsOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::QueryCommunicationLogsRequest&, const QueryCommunicationLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCommunicationLogsAsyncHandler;
typedef Outcome<Error, Model::QueryIntentionListResult> QueryIntentionListOutcome;
typedef std::future<QueryIntentionListOutcome> QueryIntentionListOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::QueryIntentionListRequest&, const QueryIntentionListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryIntentionListAsyncHandler;
typedef Outcome<Error, Model::QueryTradeIntentionUserListResult> QueryTradeIntentionUserListOutcome;
typedef std::future<QueryTradeIntentionUserListOutcome> QueryTradeIntentionUserListOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::QueryTradeIntentionUserListRequest&, const QueryTradeIntentionUserListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryTradeIntentionUserListAsyncHandler;
typedef Outcome<Error, Model::RefuseMaterialResult> RefuseMaterialOutcome;
typedef std::future<RefuseMaterialOutcome> RefuseMaterialOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::RefuseMaterialRequest&, const RefuseMaterialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefuseMaterialAsyncHandler;
typedef Outcome<Error, Model::RejectIcpIntentionResult> RejectIcpIntentionOutcome;
typedef std::future<RejectIcpIntentionOutcome> RejectIcpIntentionOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::RejectIcpIntentionRequest&, const RejectIcpIntentionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RejectIcpIntentionAsyncHandler;
typedef Outcome<Error, Model::SendVcodeResult> SendVcodeOutcome;
typedef std::future<SendVcodeOutcome> SendVcodeOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::SendVcodeRequest&, const SendVcodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendVcodeAsyncHandler;
@@ -71,26 +179,98 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SubmitConsultationResult> SubmitConsultationOutcome;
typedef std::future<SubmitConsultationOutcome> SubmitConsultationOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::SubmitConsultationRequest&, const SubmitConsultationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitConsultationAsyncHandler;
typedef Outcome<Error, Model::SubmitIcpSolutionResult> SubmitIcpSolutionOutcome;
typedef std::future<SubmitIcpSolutionOutcome> SubmitIcpSolutionOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::SubmitIcpSolutionRequest&, const SubmitIcpSolutionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitIcpSolutionAsyncHandler;
typedef Outcome<Error, Model::UpdateBookkeepingOrgResult> UpdateBookkeepingOrgOutcome;
typedef std::future<UpdateBookkeepingOrgOutcome> UpdateBookkeepingOrgOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::UpdateBookkeepingOrgRequest&, const UpdateBookkeepingOrgOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateBookkeepingOrgAsyncHandler;
typedef Outcome<Error, Model::UploadIcpBasicMaterialResult> UploadIcpBasicMaterialOutcome;
typedef std::future<UploadIcpBasicMaterialOutcome> UploadIcpBasicMaterialOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::UploadIcpBasicMaterialRequest&, const UploadIcpBasicMaterialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UploadIcpBasicMaterialAsyncHandler;
typedef Outcome<Error, Model::WriteCommunicationLogResult> WriteCommunicationLogOutcome;
typedef std::future<WriteCommunicationLogOutcome> WriteCommunicationLogOutcomeCallable;
typedef std::function<void(const CompanyregClient*, const Model::WriteCommunicationLogRequest&, const WriteCommunicationLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> WriteCommunicationLogAsyncHandler;
CompanyregClient(const Credentials &credentials, const ClientConfiguration &configuration);
CompanyregClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
CompanyregClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~CompanyregClient();
AcceptBookkeepingAuditResultOutcome acceptBookkeepingAuditResult(const Model::AcceptBookkeepingAuditResultRequest &request)const;
void acceptBookkeepingAuditResultAsync(const Model::AcceptBookkeepingAuditResultRequest& request, const AcceptBookkeepingAuditResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AcceptBookkeepingAuditResultOutcomeCallable acceptBookkeepingAuditResultCallable(const Model::AcceptBookkeepingAuditResultRequest& request) const;
AcceptBookkeepingDetailStatusChangeOutcome acceptBookkeepingDetailStatusChange(const Model::AcceptBookkeepingDetailStatusChangeRequest &request)const;
void acceptBookkeepingDetailStatusChangeAsync(const Model::AcceptBookkeepingDetailStatusChangeRequest& request, const AcceptBookkeepingDetailStatusChangeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AcceptBookkeepingDetailStatusChangeOutcomeCallable acceptBookkeepingDetailStatusChangeCallable(const Model::AcceptBookkeepingDetailStatusChangeRequest& request) const;
AcceptPartnerNotificationOutcome acceptPartnerNotification(const Model::AcceptPartnerNotificationRequest &request)const;
void acceptPartnerNotificationAsync(const Model::AcceptPartnerNotificationRequest& request, const AcceptPartnerNotificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AcceptPartnerNotificationOutcomeCallable acceptPartnerNotificationCallable(const Model::AcceptPartnerNotificationRequest& request) const;
CloseIcpProduceOutcome closeIcpProduce(const Model::CloseIcpProduceRequest &request)const;
void closeIcpProduceAsync(const Model::CloseIcpProduceRequest& request, const CloseIcpProduceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CloseIcpProduceOutcomeCallable closeIcpProduceCallable(const Model::CloseIcpProduceRequest& request) const;
CloseIntentionOutcome closeIntention(const Model::CloseIntentionRequest &request)const;
void closeIntentionAsync(const Model::CloseIntentionRequest& request, const CloseIntentionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CloseIntentionOutcomeCallable closeIntentionCallable(const Model::CloseIntentionRequest& request) const;
ConfirmIntentionOutcome confirmIntention(const Model::ConfirmIntentionRequest &request)const;
void confirmIntentionAsync(const Model::ConfirmIntentionRequest& request, const ConfirmIntentionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfirmIntentionOutcomeCallable confirmIntentionCallable(const Model::ConfirmIntentionRequest& request) const;
ConfirmMaterialOutcome confirmMaterial(const Model::ConfirmMaterialRequest &request)const;
void confirmMaterialAsync(const Model::ConfirmMaterialRequest& request, const ConfirmMaterialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfirmMaterialOutcomeCallable confirmMaterialCallable(const Model::ConfirmMaterialRequest& request) const;
ConfirmTaxAmountOutcome confirmTaxAmount(const Model::ConfirmTaxAmountRequest &request)const;
void confirmTaxAmountAsync(const Model::ConfirmTaxAmountRequest& request, const ConfirmTaxAmountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfirmTaxAmountOutcomeCallable confirmTaxAmountCallable(const Model::ConfirmTaxAmountRequest& request) const;
CreateBookkeepingIntentionOutcome createBookkeepingIntention(const Model::CreateBookkeepingIntentionRequest &request)const;
void createBookkeepingIntentionAsync(const Model::CreateBookkeepingIntentionRequest& request, const CreateBookkeepingIntentionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateBookkeepingIntentionOutcomeCallable createBookkeepingIntentionCallable(const Model::CreateBookkeepingIntentionRequest& request) const;
GenerateCompanyRegUploadPolicyOutcome generateCompanyRegUploadPolicy(const Model::GenerateCompanyRegUploadPolicyRequest &request)const;
void generateCompanyRegUploadPolicyAsync(const Model::GenerateCompanyRegUploadPolicyRequest& request, const GenerateCompanyRegUploadPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GenerateCompanyRegUploadPolicyOutcomeCallable generateCompanyRegUploadPolicyCallable(const Model::GenerateCompanyRegUploadPolicyRequest& request) const;
GenerateUploadFilePolicyOutcome generateUploadFilePolicy(const Model::GenerateUploadFilePolicyRequest &request)const;
void generateUploadFilePolicyAsync(const Model::GenerateUploadFilePolicyRequest& request, const GenerateUploadFilePolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GenerateUploadFilePolicyOutcomeCallable generateUploadFilePolicyCallable(const Model::GenerateUploadFilePolicyRequest& request) const;
GetCompanyRegOrderOutcome getCompanyRegOrder(const Model::GetCompanyRegOrderRequest &request)const;
void getCompanyRegOrderAsync(const Model::GetCompanyRegOrderRequest& request, const GetCompanyRegOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCompanyRegOrderOutcomeCallable getCompanyRegOrderCallable(const Model::GetCompanyRegOrderRequest& request) const;
ListApplicationLogsOutcome listApplicationLogs(const Model::ListApplicationLogsRequest &request)const;
void listApplicationLogsAsync(const Model::ListApplicationLogsRequest& request, const ListApplicationLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListApplicationLogsOutcomeCallable listApplicationLogsCallable(const Model::ListApplicationLogsRequest& request) const;
ListBookkeepingStatisticsesOutcome listBookkeepingStatisticses(const Model::ListBookkeepingStatisticsesRequest &request)const;
void listBookkeepingStatisticsesAsync(const Model::ListBookkeepingStatisticsesRequest& request, const ListBookkeepingStatisticsesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListBookkeepingStatisticsesOutcomeCallable listBookkeepingStatisticsesCallable(const Model::ListBookkeepingStatisticsesRequest& request) const;
ListBookkeepingSubjectBalancesOutcome listBookkeepingSubjectBalances(const Model::ListBookkeepingSubjectBalancesRequest &request)const;
void listBookkeepingSubjectBalancesAsync(const Model::ListBookkeepingSubjectBalancesRequest& request, const ListBookkeepingSubjectBalancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListBookkeepingSubjectBalancesOutcomeCallable listBookkeepingSubjectBalancesCallable(const Model::ListBookkeepingSubjectBalancesRequest& request) const;
ListBookkeepingsOutcome listBookkeepings(const Model::ListBookkeepingsRequest &request)const;
void listBookkeepingsAsync(const Model::ListBookkeepingsRequest& request, const ListBookkeepingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListBookkeepingsOutcomeCallable listBookkeepingsCallable(const Model::ListBookkeepingsRequest& request) const;
ListCompanyRegConsultationsOutcome listCompanyRegConsultations(const Model::ListCompanyRegConsultationsRequest &request)const;
void listCompanyRegConsultationsAsync(const Model::ListCompanyRegConsultationsRequest& request, const ListCompanyRegConsultationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCompanyRegConsultationsOutcomeCallable listCompanyRegConsultationsCallable(const Model::ListCompanyRegConsultationsRequest& request) const;
ListCompanyRegOrdersOutcome listCompanyRegOrders(const Model::ListCompanyRegOrdersRequest &request)const;
void listCompanyRegOrdersAsync(const Model::ListCompanyRegOrdersRequest& request, const ListCompanyRegOrdersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCompanyRegOrdersOutcomeCallable listCompanyRegOrdersCallable(const Model::ListCompanyRegOrdersRequest& request) const;
ListIcpApplicationsOutcome listIcpApplications(const Model::ListIcpApplicationsRequest &request)const;
void listIcpApplicationsAsync(const Model::ListIcpApplicationsRequest& request, const ListIcpApplicationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListIcpApplicationsOutcomeCallable listIcpApplicationsCallable(const Model::ListIcpApplicationsRequest& request) const;
ProcessCompanyRegOrderOutcome processCompanyRegOrder(const Model::ProcessCompanyRegOrderRequest &request)const;
void processCompanyRegOrderAsync(const Model::ProcessCompanyRegOrderRequest& request, const ProcessCompanyRegOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ProcessCompanyRegOrderOutcomeCallable processCompanyRegOrderCallable(const Model::ProcessCompanyRegOrderRequest& request) const;
QueryCommunicationLogsOutcome queryCommunicationLogs(const Model::QueryCommunicationLogsRequest &request)const;
void queryCommunicationLogsAsync(const Model::QueryCommunicationLogsRequest& request, const QueryCommunicationLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCommunicationLogsOutcomeCallable queryCommunicationLogsCallable(const Model::QueryCommunicationLogsRequest& request) const;
QueryIntentionListOutcome queryIntentionList(const Model::QueryIntentionListRequest &request)const;
void queryIntentionListAsync(const Model::QueryIntentionListRequest& request, const QueryIntentionListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryIntentionListOutcomeCallable queryIntentionListCallable(const Model::QueryIntentionListRequest& request) const;
QueryTradeIntentionUserListOutcome queryTradeIntentionUserList(const Model::QueryTradeIntentionUserListRequest &request)const;
void queryTradeIntentionUserListAsync(const Model::QueryTradeIntentionUserListRequest& request, const QueryTradeIntentionUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryTradeIntentionUserListOutcomeCallable queryTradeIntentionUserListCallable(const Model::QueryTradeIntentionUserListRequest& request) const;
RefuseMaterialOutcome refuseMaterial(const Model::RefuseMaterialRequest &request)const;
void refuseMaterialAsync(const Model::RefuseMaterialRequest& request, const RefuseMaterialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RefuseMaterialOutcomeCallable refuseMaterialCallable(const Model::RefuseMaterialRequest& request) const;
RejectIcpIntentionOutcome rejectIcpIntention(const Model::RejectIcpIntentionRequest &request)const;
void rejectIcpIntentionAsync(const Model::RejectIcpIntentionRequest& request, const RejectIcpIntentionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RejectIcpIntentionOutcomeCallable rejectIcpIntentionCallable(const Model::RejectIcpIntentionRequest& request) const;
SendVcodeOutcome sendVcode(const Model::SendVcodeRequest &request)const;
void sendVcodeAsync(const Model::SendVcodeRequest& request, const SendVcodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SendVcodeOutcomeCallable sendVcodeCallable(const Model::SendVcodeRequest& request) const;
@@ -100,6 +280,18 @@ namespace AlibabaCloud
SubmitConsultationOutcome submitConsultation(const Model::SubmitConsultationRequest &request)const;
void submitConsultationAsync(const Model::SubmitConsultationRequest& request, const SubmitConsultationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitConsultationOutcomeCallable submitConsultationCallable(const Model::SubmitConsultationRequest& request) const;
SubmitIcpSolutionOutcome submitIcpSolution(const Model::SubmitIcpSolutionRequest &request)const;
void submitIcpSolutionAsync(const Model::SubmitIcpSolutionRequest& request, const SubmitIcpSolutionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitIcpSolutionOutcomeCallable submitIcpSolutionCallable(const Model::SubmitIcpSolutionRequest& request) const;
UpdateBookkeepingOrgOutcome updateBookkeepingOrg(const Model::UpdateBookkeepingOrgRequest &request)const;
void updateBookkeepingOrgAsync(const Model::UpdateBookkeepingOrgRequest& request, const UpdateBookkeepingOrgAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateBookkeepingOrgOutcomeCallable updateBookkeepingOrgCallable(const Model::UpdateBookkeepingOrgRequest& request) const;
UploadIcpBasicMaterialOutcome uploadIcpBasicMaterial(const Model::UploadIcpBasicMaterialRequest &request)const;
void uploadIcpBasicMaterialAsync(const Model::UploadIcpBasicMaterialRequest& request, const UploadIcpBasicMaterialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UploadIcpBasicMaterialOutcomeCallable uploadIcpBasicMaterialCallable(const Model::UploadIcpBasicMaterialRequest& request) const;
WriteCommunicationLogOutcome writeCommunicationLog(const Model::WriteCommunicationLogRequest &request)const;
void writeCommunicationLogAsync(const Model::WriteCommunicationLogRequest& request, const WriteCommunicationLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
WriteCommunicationLogOutcomeCallable writeCommunicationLogCallable(const Model::WriteCommunicationLogRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -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_COMPANYREG_MODEL_ACCEPTBOOKKEEPINGAUDITRESULTREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_ACCEPTBOOKKEEPINGAUDITRESULTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT AcceptBookkeepingAuditResultRequest : public RpcServiceRequest
{
public:
AcceptBookkeepingAuditResultRequest();
~AcceptBookkeepingAuditResultRequest();
std::string getNote()const;
void setNote(const std::string& note);
std::string getOrgCode()const;
void setOrgCode(const std::string& orgCode);
std::string getOrgAddress()const;
void setOrgAddress(const std::string& orgAddress);
std::string getOrgName()const;
void setOrgName(const std::string& orgName);
long getServiceStartTime()const;
void setServiceStartTime(long serviceStartTime);
bool getAuditResult()const;
void setAuditResult(bool auditResult);
std::string getBizId()const;
void setBizId(const std::string& bizId);
std::string getOrgMobile()const;
void setOrgMobile(const std::string& orgMobile);
private:
std::string note_;
std::string orgCode_;
std::string orgAddress_;
std::string orgName_;
long serviceStartTime_;
bool auditResult_;
std::string bizId_;
std::string orgMobile_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_ACCEPTBOOKKEEPINGAUDITRESULTREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_ACCEPTBOOKKEEPINGAUDITRESULTRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_ACCEPTBOOKKEEPINGAUDITRESULTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT AcceptBookkeepingAuditResultResult : public ServiceResult
{
public:
AcceptBookkeepingAuditResultResult();
explicit AcceptBookkeepingAuditResultResult(const std::string &payload);
~AcceptBookkeepingAuditResultResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_ACCEPTBOOKKEEPINGAUDITRESULTRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_ACCEPTBOOKKEEPINGDETAILSTATUSCHANGEREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_ACCEPTBOOKKEEPINGDETAILSTATUSCHANGEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT AcceptBookkeepingDetailStatusChangeRequest : public RpcServiceRequest
{
public:
AcceptBookkeepingDetailStatusChangeRequest();
~AcceptBookkeepingDetailStatusChangeRequest();
std::string getBizId()const;
void setBizId(const std::string& bizId);
std::string getTaxAmount()const;
void setTaxAmount(const std::string& taxAmount);
int getStatus()const;
void setStatus(int status);
private:
std::string bizId_;
std::string taxAmount_;
int status_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_ACCEPTBOOKKEEPINGDETAILSTATUSCHANGEREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_ACCEPTBOOKKEEPINGDETAILSTATUSCHANGERESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_ACCEPTBOOKKEEPINGDETAILSTATUSCHANGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT AcceptBookkeepingDetailStatusChangeResult : public ServiceResult
{
public:
AcceptBookkeepingDetailStatusChangeResult();
explicit AcceptBookkeepingDetailStatusChangeResult(const std::string &payload);
~AcceptBookkeepingDetailStatusChangeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_ACCEPTBOOKKEEPINGDETAILSTATUSCHANGERESULT_H_

View File

@@ -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_COMPANYREG_MODEL_ACCEPTPARTNERNOTIFICATIONREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_ACCEPTPARTNERNOTIFICATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT AcceptPartnerNotificationRequest : public RpcServiceRequest
{
public:
AcceptPartnerNotificationRequest();
~AcceptPartnerNotificationRequest();
std::string getOfficialFileURL()const;
void setOfficialFileURL(const std::string& officialFileURL);
std::string getBizId()const;
void setBizId(const std::string& bizId);
int getApplicationStatus()const;
void setApplicationStatus(int applicationStatus);
private:
std::string officialFileURL_;
std::string bizId_;
int applicationStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_ACCEPTPARTNERNOTIFICATIONREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_ACCEPTPARTNERNOTIFICATIONRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_ACCEPTPARTNERNOTIFICATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT AcceptPartnerNotificationResult : public ServiceResult
{
public:
AcceptPartnerNotificationResult();
explicit AcceptPartnerNotificationResult(const std::string &payload);
~AcceptPartnerNotificationResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_ACCEPTPARTNERNOTIFICATIONRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_CLOSEICPPRODUCEREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_CLOSEICPPRODUCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT CloseIcpProduceRequest : public RpcServiceRequest
{
public:
CloseIcpProduceRequest();
~CloseIcpProduceRequest();
std::string getNote()const;
void setNote(const std::string& note);
std::string getBizId()const;
void setBizId(const std::string& bizId);
private:
std::string note_;
std::string bizId_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_CLOSEICPPRODUCEREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_CLOSEICPPRODUCERESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_CLOSEICPPRODUCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT CloseIcpProduceResult : public ServiceResult
{
public:
CloseIcpProduceResult();
explicit CloseIcpProduceResult(const std::string &payload);
~CloseIcpProduceResult();
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_COMPANYREG_MODEL_CLOSEICPPRODUCERESULT_H_

View File

@@ -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_COMPANYREG_MODEL_CLOSEINTENTIONREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_CLOSEINTENTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT CloseIntentionRequest : public RpcServiceRequest
{
public:
CloseIntentionRequest();
~CloseIntentionRequest();
std::string getNote()const;
void setNote(const std::string& note);
std::string getBizId()const;
void setBizId(const std::string& bizId);
private:
std::string note_;
std::string bizId_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_CLOSEINTENTIONREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_CLOSEINTENTIONRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_CLOSEINTENTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT CloseIntentionResult : public ServiceResult
{
public:
CloseIntentionResult();
explicit CloseIntentionResult(const std::string &payload);
~CloseIntentionResult();
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_COMPANYREG_MODEL_CLOSEINTENTIONRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_CONFIRMINTENTIONREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_CONFIRMINTENTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT ConfirmIntentionRequest : public RpcServiceRequest
{
public:
ConfirmIntentionRequest();
~ConfirmIntentionRequest();
std::string getBizId()const;
void setBizId(const std::string& bizId);
private:
std::string bizId_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_CONFIRMINTENTIONREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_CONFIRMINTENTIONRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_CONFIRMINTENTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT ConfirmIntentionResult : public ServiceResult
{
public:
ConfirmIntentionResult();
explicit ConfirmIntentionResult(const std::string &payload);
~ConfirmIntentionResult();
std::string getConfirmUrl()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string confirmUrl_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_CONFIRMINTENTIONRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_CONFIRMMATERIALREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_CONFIRMMATERIALREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT ConfirmMaterialRequest : public RpcServiceRequest
{
public:
ConfirmMaterialRequest();
~ConfirmMaterialRequest();
std::string getBizId()const;
void setBizId(const std::string& bizId);
std::string getUserOtherList()const;
void setUserOtherList(const std::string& userOtherList);
private:
std::string bizId_;
std::string userOtherList_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_CONFIRMMATERIALREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_CONFIRMMATERIALRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_CONFIRMMATERIALRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT ConfirmMaterialResult : public ServiceResult
{
public:
ConfirmMaterialResult();
explicit ConfirmMaterialResult(const std::string &payload);
~ConfirmMaterialResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_CONFIRMMATERIALRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_CONFIRMTAXAMOUNTREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_CONFIRMTAXAMOUNTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT ConfirmTaxAmountRequest : public RpcServiceRequest
{
public:
ConfirmTaxAmountRequest();
~ConfirmTaxAmountRequest();
std::string getBizId()const;
void setBizId(const std::string& bizId);
private:
std::string bizId_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_CONFIRMTAXAMOUNTREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_CONFIRMTAXAMOUNTRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_CONFIRMTAXAMOUNTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT ConfirmTaxAmountResult : public ServiceResult
{
public:
ConfirmTaxAmountResult();
explicit ConfirmTaxAmountResult(const std::string &payload);
~ConfirmTaxAmountResult();
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_CONFIRMTAXAMOUNTRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_CREATEBOOKKEEPINGINTENTIONREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_CREATEBOOKKEEPINGINTENTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT CreateBookkeepingIntentionRequest : public RpcServiceRequest
{
public:
CreateBookkeepingIntentionRequest();
~CreateBookkeepingIntentionRequest();
std::string getArea()const;
void setArea(const std::string& area);
std::string getMobile()const;
void setMobile(const std::string& mobile);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getVerifyCode()const;
void setVerifyCode(const std::string& verifyCode);
std::string getUserName()const;
void setUserName(const std::string& userName);
private:
std::string area_;
std::string mobile_;
std::string description_;
std::string verifyCode_;
std::string userName_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_CREATEBOOKKEEPINGINTENTIONREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_CREATEBOOKKEEPINGINTENTIONRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_CREATEBOOKKEEPINGINTENTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT CreateBookkeepingIntentionResult : public ServiceResult
{
public:
CreateBookkeepingIntentionResult();
explicit CreateBookkeepingIntentionResult(const std::string &payload);
~CreateBookkeepingIntentionResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_CREATEBOOKKEEPINGINTENTIONRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_GENERATEUPLOADFILEPOLICYREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_GENERATEUPLOADFILEPOLICYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT GenerateUploadFilePolicyRequest : public RpcServiceRequest
{
public:
GenerateUploadFilePolicyRequest();
~GenerateUploadFilePolicyRequest();
std::string getFileType()const;
void setFileType(const std::string& fileType);
private:
std::string fileType_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_GENERATEUPLOADFILEPOLICYREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_GENERATEUPLOADFILEPOLICYRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_GENERATEUPLOADFILEPOLICYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_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_COMPANYREG_MODEL_GENERATEUPLOADFILEPOLICYRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_LISTAPPLICATIONLOGSREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_LISTAPPLICATIONLOGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT ListApplicationLogsRequest : public RpcServiceRequest
{
public:
ListApplicationLogsRequest();
~ListApplicationLogsRequest();
std::string getBizId()const;
void setBizId(const std::string& bizId);
private:
std::string bizId_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTAPPLICATIONLOGSREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_LISTAPPLICATIONLOGSRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_LISTAPPLICATIONLOGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT ListApplicationLogsResult : public ServiceResult
{
public:
struct DataItem
{
long operateTime;
std::string extendContent;
std::string note;
std::string bizId;
int operateType;
int bizStatus;
};
ListApplicationLogsResult();
explicit ListApplicationLogsResult(const std::string &payload);
~ListApplicationLogsResult();
std::vector<DataItem> getData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DataItem> data_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTAPPLICATIONLOGSRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_LISTBOOKKEEPINGSTATISTICSESREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_LISTBOOKKEEPINGSTATISTICSESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT ListBookkeepingStatisticsesRequest : public RpcServiceRequest
{
public:
ListBookkeepingStatisticsesRequest();
~ListBookkeepingStatisticsesRequest();
int getYear()const;
void setYear(int year);
std::string getProduceBizId()const;
void setProduceBizId(const std::string& produceBizId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getMonth()const;
void setMonth(int month);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int year_;
std::string produceBizId_;
int pageNumber_;
int month_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTBOOKKEEPINGSTATISTICSESREQUEST_H_

View File

@@ -0,0 +1,103 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_COMPANYREG_MODEL_LISTBOOKKEEPINGSTATISTICSESRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_LISTBOOKKEEPINGSTATISTICSESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT ListBookkeepingStatisticsesResult : public ServiceResult
{
public:
struct BookkeepingStatistics
{
struct TaxDetail
{
int month;
int year;
std::string taxName;
float amount;
std::string remark;
};
float taxFjs;
std::string taxOtherNote;
float taxGhjf;
float income;
std::string taxGhjfNote;
float taxZzs;
int month;
std::vector<BookkeepingStatistics::TaxDetail> taxDetails;
float taxAmount;
std::string taxFjsNote;
float taxSljj;
std::string taxZzsNote;
float profit;
std::string taxYhsNote;
float taxYhs;
float taxQysds;
std::string taxQysdsNote;
std::string produceBizId;
float taxCjrbzj;
int subjectCount;
std::string taxCjrbzjNote;
std::string taxSljjNote;
float taxOther;
float expend;
int year;
std::string taxAmountNote;
int voucherCount;
};
ListBookkeepingStatisticsesResult();
explicit ListBookkeepingStatisticsesResult(const std::string &payload);
~ListBookkeepingStatisticsesResult();
int getTotalCount()const;
float getExpendSum()const;
int getPageSize()const;
float getIncomeSum()const;
int getPageNumber()const;
float getTaxAmountSum()const;
std::vector<BookkeepingStatistics> getBookkeepingStatisticses()const;
float getProfitSum()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
float expendSum_;
int pageSize_;
float incomeSum_;
int pageNumber_;
float taxAmountSum_;
std::vector<BookkeepingStatistics> bookkeepingStatisticses_;
float profitSum_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTBOOKKEEPINGSTATISTICSESRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_LISTBOOKKEEPINGSUBJECTBALANCESREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_LISTBOOKKEEPINGSUBJECTBALANCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT ListBookkeepingSubjectBalancesRequest : public RpcServiceRequest
{
public:
ListBookkeepingSubjectBalancesRequest();
~ListBookkeepingSubjectBalancesRequest();
int getPeriod()const;
void setPeriod(int period);
int getYear()const;
void setYear(int year);
std::string getProduceBizId()const;
void setProduceBizId(const std::string& produceBizId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int period_;
int year_;
std::string produceBizId_;
int pageNumber_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTBOOKKEEPINGSUBJECTBALANCESREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_LISTBOOKKEEPINGSUBJECTBALANCESRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_LISTBOOKKEEPINGSUBJECTBALANCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT ListBookkeepingSubjectBalancesResult : public ServiceResult
{
public:
struct BookkeepingSubjectBalancesItem
{
float currentDebitValue;
float startDebitValue;
float yearCreditValue;
std::string subjectName;
std::string parentSubjectCode;
float currentCreditValue;
std::string parentBizId;
float startCreditValue;
float yearDebitValue;
std::string subjectCode;
float endDebitValue;
float endCreditValue;
std::string subjectLevel;
std::string bizId;
};
ListBookkeepingSubjectBalancesResult();
explicit ListBookkeepingSubjectBalancesResult(const std::string &payload);
~ListBookkeepingSubjectBalancesResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::string getErrorMsg()const;
std::vector<BookkeepingSubjectBalancesItem> getBookkeepingSubjectBalances()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::string errorMsg_;
std::vector<BookkeepingSubjectBalancesItem> bookkeepingSubjectBalances_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTBOOKKEEPINGSUBJECTBALANCESRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_LISTBOOKKEEPINGSREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_LISTBOOKKEEPINGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT ListBookkeepingsRequest : public RpcServiceRequest
{
public:
ListBookkeepingsRequest();
~ListBookkeepingsRequest();
int getPageSize()const;
void setPageSize(int pageSize);
int getPageNumber()const;
void setPageNumber(int pageNumber);
private:
int pageSize_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTBOOKKEEPINGSREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_LISTBOOKKEEPINGSRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_LISTBOOKKEEPINGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT ListBookkeepingsResult : public ServiceResult
{
public:
struct Bookkeeping
{
int status;
std::string companyName;
std::string note;
std::string orderId;
std::string bizId;
bool renew;
};
ListBookkeepingsResult();
explicit ListBookkeepingsResult(const std::string &payload);
~ListBookkeepingsResult();
int getTotalItemNumber()const;
int getPageSize()const;
int getCurrentPageNumber()const;
int getTotalPageNumber()const;
std::vector<Bookkeeping> getBookkeepings()const;
protected:
void parse(const std::string &payload);
private:
int totalItemNumber_;
int pageSize_;
int currentPageNumber_;
int totalPageNumber_;
std::vector<Bookkeeping> bookkeepings_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTBOOKKEEPINGSRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_LISTICPAPPLICATIONSREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_LISTICPAPPLICATIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT ListIcpApplicationsRequest : public RpcServiceRequest
{
public:
ListIcpApplicationsRequest();
~ListIcpApplicationsRequest();
std::string getIntentionBizId()const;
void setIntentionBizId(const std::string& intentionBizId);
int getType()const;
void setType(int type);
int getApplicationStatus()const;
void setApplicationStatus(int applicationStatus);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getCompanyName()const;
void setCompanyName(const std::string& companyName);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getSortOrder()const;
void setSortOrder(const std::string& sortOrder);
std::string getSortField()const;
void setSortField(const std::string& sortField);
private:
std::string intentionBizId_;
int type_;
int applicationStatus_;
int pageNumber_;
std::string companyName_;
int pageSize_;
std::string sortOrder_;
std::string sortField_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTICPAPPLICATIONSREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_COMPANYREG_MODEL_LISTICPAPPLICATIONSRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_LISTICPAPPLICATIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT ListIcpApplicationsResult : public ServiceResult
{
public:
struct Application
{
float orderPrice;
std::string orderId;
std::string partnerCode;
std::string intentionBizId;
std::string legalPersonName;
std::string companyAddress;
std::string companyName;
int applicationType;
int type;
std::string userId;
int applicationStatus;
long updateTime;
std::string companyArea;
std::string domain;
bool includeForeignInvestment;
std::string bizId;
};
ListIcpApplicationsResult();
explicit ListIcpApplicationsResult(const std::string &payload);
~ListIcpApplicationsResult();
int getTotalCount()const;
std::vector<Application> getApplications()const;
int getPageSize()const;
int getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<Application> applications_;
int pageSize_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTICPAPPLICATIONSRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_QUERYCOMMUNICATIONLOGSREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_QUERYCOMMUNICATIONLOGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT QueryCommunicationLogsRequest : public RpcServiceRequest
{
public:
QueryCommunicationLogsRequest();
~QueryCommunicationLogsRequest();
std::string getBizId()const;
void setBizId(const std::string& bizId);
int getPageSize()const;
void setPageSize(int pageSize);
int getType()const;
void setType(int type);
int getPageNum()const;
void setPageNum(int pageNum);
private:
std::string bizId_;
int pageSize_;
int type_;
int pageNum_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_QUERYCOMMUNICATIONLOGSREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_QUERYCOMMUNICATIONLOGSRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_QUERYCOMMUNICATIONLOGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_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<TaskList> getData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<TaskList> data_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_QUERYCOMMUNICATIONLOGSRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_QUERYINTENTIONLISTREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_QUERYINTENTIONLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT QueryIntentionListRequest : public RpcServiceRequest
{
public:
QueryIntentionListRequest();
~QueryIntentionListRequest();
std::string getTypeList()const;
void setTypeList(const std::string& typeList);
int getType()const;
void setType(int type);
int getPageNum()const;
void setPageNum(int pageNum);
std::string getSortFiled()const;
void setSortFiled(const std::string& sortFiled);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getSortOrder()const;
void setSortOrder(const std::string& sortOrder);
int getStatus()const;
void setStatus(int status);
private:
std::string typeList_;
int type_;
int pageNum_;
std::string sortFiled_;
int pageSize_;
std::string sortOrder_;
int status_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_QUERYINTENTIONLISTREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_QUERYINTENTIONLISTRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_QUERYINTENTIONLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT QueryIntentionListResult : public ServiceResult
{
public:
struct Intention
{
int status;
std::string registerNumber;
int type;
int area;
std::string description;
std::string userId;
std::string classification;
long createTime;
long updateTime;
std::string bizId;
};
QueryIntentionListResult();
explicit QueryIntentionListResult(const std::string &payload);
~QueryIntentionListResult();
int getCurrentPageNum()const;
int getPageSize()const;
int getTotalPageNum()const;
std::vector<Intention> getData()const;
int getTotalItemNum()const;
protected:
void parse(const std::string &payload);
private:
int currentPageNum_;
int pageSize_;
int totalPageNum_;
std::vector<Intention> data_;
int totalItemNum_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_QUERYINTENTIONLISTRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_QUERYTRADEINTENTIONUSERLISTREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_QUERYTRADEINTENTIONUSERLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT QueryTradeIntentionUserListRequest : public RpcServiceRequest
{
public:
QueryTradeIntentionUserListRequest();
~QueryTradeIntentionUserListRequest();
int getArea()const;
void setArea(int area);
int getPageNum()const;
void setPageNum(int pageNum);
int getType()const;
void setType(int type);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getBizId()const;
void setBizId(const std::string& bizId);
long getEnd()const;
void setEnd(long end);
long getBegin()const;
void setBegin(long begin);
int getStatus()const;
void setStatus(int status);
private:
int area_;
int pageNum_;
int type_;
int pageSize_;
std::string bizId_;
long end_;
long begin_;
int status_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_QUERYTRADEINTENTIONUSERLISTREQUEST_H_

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_COMPANYREG_MODEL_QUERYTRADEINTENTIONUSERLISTRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_QUERYTRADEINTENTIONUSERLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT QueryTradeIntentionUserListResult : public ServiceResult
{
public:
struct Trademark
{
int status;
std::string registerNumber;
int area;
int type;
std::string userName;
std::string description;
std::string classification;
long createTime;
long updateTime;
std::string mobile;
std::string bizId;
};
QueryTradeIntentionUserListResult();
explicit QueryTradeIntentionUserListResult(const std::string &payload);
~QueryTradeIntentionUserListResult();
int getCurrentPageNum()const;
int getPageSize()const;
int getTotalPageNum()const;
std::vector<Trademark> getData()const;
int getTotalItemNum()const;
protected:
void parse(const std::string &payload);
private:
int currentPageNum_;
int pageSize_;
int totalPageNum_;
std::vector<Trademark> data_;
int totalItemNum_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_QUERYTRADEINTENTIONUSERLISTRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_REFUSEMATERIALREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_REFUSEMATERIALREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT RefuseMaterialRequest : public RpcServiceRequest
{
public:
RefuseMaterialRequest();
~RefuseMaterialRequest();
std::string getNote()const;
void setNote(const std::string& note);
std::string getBizId()const;
void setBizId(const std::string& bizId);
private:
std::string note_;
std::string bizId_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_REFUSEMATERIALREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_REFUSEMATERIALRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_REFUSEMATERIALRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT RefuseMaterialResult : public ServiceResult
{
public:
RefuseMaterialResult();
explicit RefuseMaterialResult(const std::string &payload);
~RefuseMaterialResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_REFUSEMATERIALRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_REJECTICPINTENTIONREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_REJECTICPINTENTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT RejectIcpIntentionRequest : public RpcServiceRequest
{
public:
RejectIcpIntentionRequest();
~RejectIcpIntentionRequest();
std::string getNote()const;
void setNote(const std::string& note);
std::string getBizId()const;
void setBizId(const std::string& bizId);
private:
std::string note_;
std::string bizId_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_REJECTICPINTENTIONREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_REJECTICPINTENTIONRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_REJECTICPINTENTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT RejectIcpIntentionResult : public ServiceResult
{
public:
RejectIcpIntentionResult();
explicit RejectIcpIntentionResult(const std::string &payload);
~RejectIcpIntentionResult();
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_COMPANYREG_MODEL_REJECTICPINTENTIONRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_SUBMITICPSOLUTIONREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_SUBMITICPSOLUTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT SubmitIcpSolutionRequest : public RpcServiceRequest
{
public:
SubmitIcpSolutionRequest();
~SubmitIcpSolutionRequest();
std::string getArea()const;
void setArea(const std::string& area);
std::string getIntentionBizId()const;
void setIntentionBizId(const std::string& intentionBizId);
int getIcpType()const;
void setIcpType(int icpType);
std::string getCompanyAddress()const;
void setCompanyAddress(const std::string& companyAddress);
std::string getCompanyName()const;
void setCompanyName(const std::string& companyName);
std::string getBizId()const;
void setBizId(const std::string& bizId);
private:
std::string area_;
std::string intentionBizId_;
int icpType_;
std::string companyAddress_;
std::string companyName_;
std::string bizId_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_SUBMITICPSOLUTIONREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_SUBMITICPSOLUTIONRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_SUBMITICPSOLUTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT SubmitIcpSolutionResult : public ServiceResult
{
public:
SubmitIcpSolutionResult();
explicit SubmitIcpSolutionResult(const std::string &payload);
~SubmitIcpSolutionResult();
std::string getBizId()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string bizId_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_SUBMITICPSOLUTIONRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_UPDATEBOOKKEEPINGORGREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_UPDATEBOOKKEEPINGORGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT UpdateBookkeepingOrgRequest : public RpcServiceRequest
{
public:
UpdateBookkeepingOrgRequest();
~UpdateBookkeepingOrgRequest();
std::string getOrgAddress()const;
void setOrgAddress(const std::string& orgAddress);
std::string getOrgName()const;
void setOrgName(const std::string& orgName);
std::string getOrgCode()const;
void setOrgCode(const std::string& orgCode);
std::string getOrgMobile()const;
void setOrgMobile(const std::string& orgMobile);
private:
std::string orgAddress_;
std::string orgName_;
std::string orgCode_;
std::string orgMobile_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_UPDATEBOOKKEEPINGORGREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_UPDATEBOOKKEEPINGORGRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_UPDATEBOOKKEEPINGORGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT UpdateBookkeepingOrgResult : public ServiceResult
{
public:
UpdateBookkeepingOrgResult();
explicit UpdateBookkeepingOrgResult(const std::string &payload);
~UpdateBookkeepingOrgResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_UPDATEBOOKKEEPINGORGRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_UPLOADICPBASICMATERIALREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_UPLOADICPBASICMATERIALREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT UploadIcpBasicMaterialRequest : public RpcServiceRequest
{
public:
UploadIcpBasicMaterialRequest();
~UploadIcpBasicMaterialRequest();
std::string getBizId()const;
void setBizId(const std::string& bizId);
std::string getBusinessLicense()const;
void setBusinessLicense(const std::string& businessLicense);
std::string getIdCardList()const;
void setIdCardList(const std::string& idCardList);
private:
std::string bizId_;
std::string businessLicense_;
std::string idCardList_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_UPLOADICPBASICMATERIALREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_UPLOADICPBASICMATERIALRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_UPLOADICPBASICMATERIALRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT UploadIcpBasicMaterialResult : public ServiceResult
{
public:
UploadIcpBasicMaterialResult();
explicit UploadIcpBasicMaterialResult(const std::string &payload);
~UploadIcpBasicMaterialResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_UPLOADICPBASICMATERIALRESULT_H_

View File

@@ -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_COMPANYREG_MODEL_WRITECOMMUNICATIONLOGREQUEST_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_WRITECOMMUNICATIONLOGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT WriteCommunicationLogRequest : public RpcServiceRequest
{
public:
WriteCommunicationLogRequest();
~WriteCommunicationLogRequest();
std::string getNote()const;
void setNote(const std::string& note);
std::string getTargetId()const;
void setTargetId(const std::string& targetId);
std::string getBizId()const;
void setBizId(const std::string& bizId);
private:
std::string note_;
std::string targetId_;
std::string bizId_;
};
}
}
}
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_WRITECOMMUNICATIONLOGREQUEST_H_

View File

@@ -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_COMPANYREG_MODEL_WRITECOMMUNICATIONLOGRESULT_H_
#define ALIBABACLOUD_COMPANYREG_MODEL_WRITECOMMUNICATIONLOGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/companyreg/CompanyregExport.h>
namespace AlibabaCloud
{
namespace Companyreg
{
namespace Model
{
class ALIBABACLOUD_COMPANYREG_EXPORT WriteCommunicationLogResult : public ServiceResult
{
public:
WriteCommunicationLogResult();
explicit WriteCommunicationLogResult(const std::string &payload);
~WriteCommunicationLogResult();
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_COMPANYREG_MODEL_WRITECOMMUNICATIONLOGRESULT_H_

View File

@@ -51,6 +51,330 @@ CompanyregClient::CompanyregClient(const std::string & accessKeyId, const std::s
CompanyregClient::~CompanyregClient()
{}
CompanyregClient::AcceptBookkeepingAuditResultOutcome CompanyregClient::acceptBookkeepingAuditResult(const AcceptBookkeepingAuditResultRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AcceptBookkeepingAuditResultOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AcceptBookkeepingAuditResultOutcome(AcceptBookkeepingAuditResultResult(outcome.result()));
else
return AcceptBookkeepingAuditResultOutcome(outcome.error());
}
void CompanyregClient::acceptBookkeepingAuditResultAsync(const AcceptBookkeepingAuditResultRequest& request, const AcceptBookkeepingAuditResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, acceptBookkeepingAuditResult(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::AcceptBookkeepingAuditResultOutcomeCallable CompanyregClient::acceptBookkeepingAuditResultCallable(const AcceptBookkeepingAuditResultRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AcceptBookkeepingAuditResultOutcome()>>(
[this, request]()
{
return this->acceptBookkeepingAuditResult(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::AcceptBookkeepingDetailStatusChangeOutcome CompanyregClient::acceptBookkeepingDetailStatusChange(const AcceptBookkeepingDetailStatusChangeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AcceptBookkeepingDetailStatusChangeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AcceptBookkeepingDetailStatusChangeOutcome(AcceptBookkeepingDetailStatusChangeResult(outcome.result()));
else
return AcceptBookkeepingDetailStatusChangeOutcome(outcome.error());
}
void CompanyregClient::acceptBookkeepingDetailStatusChangeAsync(const AcceptBookkeepingDetailStatusChangeRequest& request, const AcceptBookkeepingDetailStatusChangeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, acceptBookkeepingDetailStatusChange(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::AcceptBookkeepingDetailStatusChangeOutcomeCallable CompanyregClient::acceptBookkeepingDetailStatusChangeCallable(const AcceptBookkeepingDetailStatusChangeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AcceptBookkeepingDetailStatusChangeOutcome()>>(
[this, request]()
{
return this->acceptBookkeepingDetailStatusChange(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::AcceptPartnerNotificationOutcome CompanyregClient::acceptPartnerNotification(const AcceptPartnerNotificationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AcceptPartnerNotificationOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AcceptPartnerNotificationOutcome(AcceptPartnerNotificationResult(outcome.result()));
else
return AcceptPartnerNotificationOutcome(outcome.error());
}
void CompanyregClient::acceptPartnerNotificationAsync(const AcceptPartnerNotificationRequest& request, const AcceptPartnerNotificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, acceptPartnerNotification(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::AcceptPartnerNotificationOutcomeCallable CompanyregClient::acceptPartnerNotificationCallable(const AcceptPartnerNotificationRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AcceptPartnerNotificationOutcome()>>(
[this, request]()
{
return this->acceptPartnerNotification(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::CloseIcpProduceOutcome CompanyregClient::closeIcpProduce(const CloseIcpProduceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CloseIcpProduceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CloseIcpProduceOutcome(CloseIcpProduceResult(outcome.result()));
else
return CloseIcpProduceOutcome(outcome.error());
}
void CompanyregClient::closeIcpProduceAsync(const CloseIcpProduceRequest& request, const CloseIcpProduceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, closeIcpProduce(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::CloseIcpProduceOutcomeCallable CompanyregClient::closeIcpProduceCallable(const CloseIcpProduceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CloseIcpProduceOutcome()>>(
[this, request]()
{
return this->closeIcpProduce(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::CloseIntentionOutcome CompanyregClient::closeIntention(const CloseIntentionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CloseIntentionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CloseIntentionOutcome(CloseIntentionResult(outcome.result()));
else
return CloseIntentionOutcome(outcome.error());
}
void CompanyregClient::closeIntentionAsync(const CloseIntentionRequest& request, const CloseIntentionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, closeIntention(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::CloseIntentionOutcomeCallable CompanyregClient::closeIntentionCallable(const CloseIntentionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CloseIntentionOutcome()>>(
[this, request]()
{
return this->closeIntention(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::ConfirmIntentionOutcome CompanyregClient::confirmIntention(const ConfirmIntentionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ConfirmIntentionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ConfirmIntentionOutcome(ConfirmIntentionResult(outcome.result()));
else
return ConfirmIntentionOutcome(outcome.error());
}
void CompanyregClient::confirmIntentionAsync(const ConfirmIntentionRequest& request, const ConfirmIntentionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, confirmIntention(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::ConfirmIntentionOutcomeCallable CompanyregClient::confirmIntentionCallable(const ConfirmIntentionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ConfirmIntentionOutcome()>>(
[this, request]()
{
return this->confirmIntention(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::ConfirmMaterialOutcome CompanyregClient::confirmMaterial(const ConfirmMaterialRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ConfirmMaterialOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ConfirmMaterialOutcome(ConfirmMaterialResult(outcome.result()));
else
return ConfirmMaterialOutcome(outcome.error());
}
void CompanyregClient::confirmMaterialAsync(const ConfirmMaterialRequest& request, const ConfirmMaterialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, confirmMaterial(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::ConfirmMaterialOutcomeCallable CompanyregClient::confirmMaterialCallable(const ConfirmMaterialRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ConfirmMaterialOutcome()>>(
[this, request]()
{
return this->confirmMaterial(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::ConfirmTaxAmountOutcome CompanyregClient::confirmTaxAmount(const ConfirmTaxAmountRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ConfirmTaxAmountOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ConfirmTaxAmountOutcome(ConfirmTaxAmountResult(outcome.result()));
else
return ConfirmTaxAmountOutcome(outcome.error());
}
void CompanyregClient::confirmTaxAmountAsync(const ConfirmTaxAmountRequest& request, const ConfirmTaxAmountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, confirmTaxAmount(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::ConfirmTaxAmountOutcomeCallable CompanyregClient::confirmTaxAmountCallable(const ConfirmTaxAmountRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ConfirmTaxAmountOutcome()>>(
[this, request]()
{
return this->confirmTaxAmount(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::CreateBookkeepingIntentionOutcome CompanyregClient::createBookkeepingIntention(const CreateBookkeepingIntentionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateBookkeepingIntentionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateBookkeepingIntentionOutcome(CreateBookkeepingIntentionResult(outcome.result()));
else
return CreateBookkeepingIntentionOutcome(outcome.error());
}
void CompanyregClient::createBookkeepingIntentionAsync(const CreateBookkeepingIntentionRequest& request, const CreateBookkeepingIntentionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createBookkeepingIntention(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::CreateBookkeepingIntentionOutcomeCallable CompanyregClient::createBookkeepingIntentionCallable(const CreateBookkeepingIntentionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateBookkeepingIntentionOutcome()>>(
[this, request]()
{
return this->createBookkeepingIntention(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::GenerateCompanyRegUploadPolicyOutcome CompanyregClient::generateCompanyRegUploadPolicy(const GenerateCompanyRegUploadPolicyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -87,6 +411,42 @@ CompanyregClient::GenerateCompanyRegUploadPolicyOutcomeCallable CompanyregClient
return task->get_future();
}
CompanyregClient::GenerateUploadFilePolicyOutcome CompanyregClient::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 CompanyregClient::generateUploadFilePolicyAsync(const GenerateUploadFilePolicyRequest& request, const GenerateUploadFilePolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, generateUploadFilePolicy(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::GenerateUploadFilePolicyOutcomeCallable CompanyregClient::generateUploadFilePolicyCallable(const GenerateUploadFilePolicyRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GenerateUploadFilePolicyOutcome()>>(
[this, request]()
{
return this->generateUploadFilePolicy(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::GetCompanyRegOrderOutcome CompanyregClient::getCompanyRegOrder(const GetCompanyRegOrderRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -123,6 +483,150 @@ CompanyregClient::GetCompanyRegOrderOutcomeCallable CompanyregClient::getCompany
return task->get_future();
}
CompanyregClient::ListApplicationLogsOutcome CompanyregClient::listApplicationLogs(const ListApplicationLogsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListApplicationLogsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListApplicationLogsOutcome(ListApplicationLogsResult(outcome.result()));
else
return ListApplicationLogsOutcome(outcome.error());
}
void CompanyregClient::listApplicationLogsAsync(const ListApplicationLogsRequest& request, const ListApplicationLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listApplicationLogs(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::ListApplicationLogsOutcomeCallable CompanyregClient::listApplicationLogsCallable(const ListApplicationLogsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListApplicationLogsOutcome()>>(
[this, request]()
{
return this->listApplicationLogs(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::ListBookkeepingStatisticsesOutcome CompanyregClient::listBookkeepingStatisticses(const ListBookkeepingStatisticsesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListBookkeepingStatisticsesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListBookkeepingStatisticsesOutcome(ListBookkeepingStatisticsesResult(outcome.result()));
else
return ListBookkeepingStatisticsesOutcome(outcome.error());
}
void CompanyregClient::listBookkeepingStatisticsesAsync(const ListBookkeepingStatisticsesRequest& request, const ListBookkeepingStatisticsesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listBookkeepingStatisticses(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::ListBookkeepingStatisticsesOutcomeCallable CompanyregClient::listBookkeepingStatisticsesCallable(const ListBookkeepingStatisticsesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListBookkeepingStatisticsesOutcome()>>(
[this, request]()
{
return this->listBookkeepingStatisticses(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::ListBookkeepingSubjectBalancesOutcome CompanyregClient::listBookkeepingSubjectBalances(const ListBookkeepingSubjectBalancesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListBookkeepingSubjectBalancesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListBookkeepingSubjectBalancesOutcome(ListBookkeepingSubjectBalancesResult(outcome.result()));
else
return ListBookkeepingSubjectBalancesOutcome(outcome.error());
}
void CompanyregClient::listBookkeepingSubjectBalancesAsync(const ListBookkeepingSubjectBalancesRequest& request, const ListBookkeepingSubjectBalancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listBookkeepingSubjectBalances(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::ListBookkeepingSubjectBalancesOutcomeCallable CompanyregClient::listBookkeepingSubjectBalancesCallable(const ListBookkeepingSubjectBalancesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListBookkeepingSubjectBalancesOutcome()>>(
[this, request]()
{
return this->listBookkeepingSubjectBalances(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::ListBookkeepingsOutcome CompanyregClient::listBookkeepings(const ListBookkeepingsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListBookkeepingsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListBookkeepingsOutcome(ListBookkeepingsResult(outcome.result()));
else
return ListBookkeepingsOutcome(outcome.error());
}
void CompanyregClient::listBookkeepingsAsync(const ListBookkeepingsRequest& request, const ListBookkeepingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listBookkeepings(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::ListBookkeepingsOutcomeCallable CompanyregClient::listBookkeepingsCallable(const ListBookkeepingsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListBookkeepingsOutcome()>>(
[this, request]()
{
return this->listBookkeepings(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::ListCompanyRegConsultationsOutcome CompanyregClient::listCompanyRegConsultations(const ListCompanyRegConsultationsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -195,6 +699,42 @@ CompanyregClient::ListCompanyRegOrdersOutcomeCallable CompanyregClient::listComp
return task->get_future();
}
CompanyregClient::ListIcpApplicationsOutcome CompanyregClient::listIcpApplications(const ListIcpApplicationsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListIcpApplicationsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListIcpApplicationsOutcome(ListIcpApplicationsResult(outcome.result()));
else
return ListIcpApplicationsOutcome(outcome.error());
}
void CompanyregClient::listIcpApplicationsAsync(const ListIcpApplicationsRequest& request, const ListIcpApplicationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listIcpApplications(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::ListIcpApplicationsOutcomeCallable CompanyregClient::listIcpApplicationsCallable(const ListIcpApplicationsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListIcpApplicationsOutcome()>>(
[this, request]()
{
return this->listIcpApplications(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::ProcessCompanyRegOrderOutcome CompanyregClient::processCompanyRegOrder(const ProcessCompanyRegOrderRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -231,6 +771,186 @@ CompanyregClient::ProcessCompanyRegOrderOutcomeCallable CompanyregClient::proces
return task->get_future();
}
CompanyregClient::QueryCommunicationLogsOutcome CompanyregClient::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 CompanyregClient::queryCommunicationLogsAsync(const QueryCommunicationLogsRequest& request, const QueryCommunicationLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryCommunicationLogs(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::QueryCommunicationLogsOutcomeCallable CompanyregClient::queryCommunicationLogsCallable(const QueryCommunicationLogsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryCommunicationLogsOutcome()>>(
[this, request]()
{
return this->queryCommunicationLogs(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::QueryIntentionListOutcome CompanyregClient::queryIntentionList(const QueryIntentionListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryIntentionListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryIntentionListOutcome(QueryIntentionListResult(outcome.result()));
else
return QueryIntentionListOutcome(outcome.error());
}
void CompanyregClient::queryIntentionListAsync(const QueryIntentionListRequest& request, const QueryIntentionListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryIntentionList(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::QueryIntentionListOutcomeCallable CompanyregClient::queryIntentionListCallable(const QueryIntentionListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryIntentionListOutcome()>>(
[this, request]()
{
return this->queryIntentionList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::QueryTradeIntentionUserListOutcome CompanyregClient::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 CompanyregClient::queryTradeIntentionUserListAsync(const QueryTradeIntentionUserListRequest& request, const QueryTradeIntentionUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryTradeIntentionUserList(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::QueryTradeIntentionUserListOutcomeCallable CompanyregClient::queryTradeIntentionUserListCallable(const QueryTradeIntentionUserListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryTradeIntentionUserListOutcome()>>(
[this, request]()
{
return this->queryTradeIntentionUserList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::RefuseMaterialOutcome CompanyregClient::refuseMaterial(const RefuseMaterialRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RefuseMaterialOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RefuseMaterialOutcome(RefuseMaterialResult(outcome.result()));
else
return RefuseMaterialOutcome(outcome.error());
}
void CompanyregClient::refuseMaterialAsync(const RefuseMaterialRequest& request, const RefuseMaterialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, refuseMaterial(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::RefuseMaterialOutcomeCallable CompanyregClient::refuseMaterialCallable(const RefuseMaterialRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RefuseMaterialOutcome()>>(
[this, request]()
{
return this->refuseMaterial(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::RejectIcpIntentionOutcome CompanyregClient::rejectIcpIntention(const RejectIcpIntentionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RejectIcpIntentionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RejectIcpIntentionOutcome(RejectIcpIntentionResult(outcome.result()));
else
return RejectIcpIntentionOutcome(outcome.error());
}
void CompanyregClient::rejectIcpIntentionAsync(const RejectIcpIntentionRequest& request, const RejectIcpIntentionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, rejectIcpIntention(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::RejectIcpIntentionOutcomeCallable CompanyregClient::rejectIcpIntentionCallable(const RejectIcpIntentionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RejectIcpIntentionOutcome()>>(
[this, request]()
{
return this->rejectIcpIntention(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::SendVcodeOutcome CompanyregClient::sendVcode(const SendVcodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -339,3 +1059,147 @@ CompanyregClient::SubmitConsultationOutcomeCallable CompanyregClient::submitCons
return task->get_future();
}
CompanyregClient::SubmitIcpSolutionOutcome CompanyregClient::submitIcpSolution(const SubmitIcpSolutionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SubmitIcpSolutionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SubmitIcpSolutionOutcome(SubmitIcpSolutionResult(outcome.result()));
else
return SubmitIcpSolutionOutcome(outcome.error());
}
void CompanyregClient::submitIcpSolutionAsync(const SubmitIcpSolutionRequest& request, const SubmitIcpSolutionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, submitIcpSolution(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::SubmitIcpSolutionOutcomeCallable CompanyregClient::submitIcpSolutionCallable(const SubmitIcpSolutionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SubmitIcpSolutionOutcome()>>(
[this, request]()
{
return this->submitIcpSolution(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::UpdateBookkeepingOrgOutcome CompanyregClient::updateBookkeepingOrg(const UpdateBookkeepingOrgRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateBookkeepingOrgOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateBookkeepingOrgOutcome(UpdateBookkeepingOrgResult(outcome.result()));
else
return UpdateBookkeepingOrgOutcome(outcome.error());
}
void CompanyregClient::updateBookkeepingOrgAsync(const UpdateBookkeepingOrgRequest& request, const UpdateBookkeepingOrgAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateBookkeepingOrg(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::UpdateBookkeepingOrgOutcomeCallable CompanyregClient::updateBookkeepingOrgCallable(const UpdateBookkeepingOrgRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateBookkeepingOrgOutcome()>>(
[this, request]()
{
return this->updateBookkeepingOrg(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::UploadIcpBasicMaterialOutcome CompanyregClient::uploadIcpBasicMaterial(const UploadIcpBasicMaterialRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UploadIcpBasicMaterialOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UploadIcpBasicMaterialOutcome(UploadIcpBasicMaterialResult(outcome.result()));
else
return UploadIcpBasicMaterialOutcome(outcome.error());
}
void CompanyregClient::uploadIcpBasicMaterialAsync(const UploadIcpBasicMaterialRequest& request, const UploadIcpBasicMaterialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, uploadIcpBasicMaterial(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::UploadIcpBasicMaterialOutcomeCallable CompanyregClient::uploadIcpBasicMaterialCallable(const UploadIcpBasicMaterialRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UploadIcpBasicMaterialOutcome()>>(
[this, request]()
{
return this->uploadIcpBasicMaterial(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CompanyregClient::WriteCommunicationLogOutcome CompanyregClient::writeCommunicationLog(const WriteCommunicationLogRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return WriteCommunicationLogOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return WriteCommunicationLogOutcome(WriteCommunicationLogResult(outcome.result()));
else
return WriteCommunicationLogOutcome(outcome.error());
}
void CompanyregClient::writeCommunicationLogAsync(const WriteCommunicationLogRequest& request, const WriteCommunicationLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, writeCommunicationLog(request), context);
};
asyncExecute(new Runnable(fn));
}
CompanyregClient::WriteCommunicationLogOutcomeCallable CompanyregClient::writeCommunicationLogCallable(const WriteCommunicationLogRequest &request) const
{
auto task = std::make_shared<std::packaged_task<WriteCommunicationLogOutcome()>>(
[this, request]()
{
return this->writeCommunicationLog(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/AcceptBookkeepingAuditResultRequest.h>
using AlibabaCloud::Companyreg::Model::AcceptBookkeepingAuditResultRequest;
AcceptBookkeepingAuditResultRequest::AcceptBookkeepingAuditResultRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "AcceptBookkeepingAuditResult")
{
setMethod(HttpRequest::Method::Post);
}
AcceptBookkeepingAuditResultRequest::~AcceptBookkeepingAuditResultRequest()
{}
std::string AcceptBookkeepingAuditResultRequest::getNote()const
{
return note_;
}
void AcceptBookkeepingAuditResultRequest::setNote(const std::string& note)
{
note_ = note;
setParameter("Note", note);
}
std::string AcceptBookkeepingAuditResultRequest::getOrgCode()const
{
return orgCode_;
}
void AcceptBookkeepingAuditResultRequest::setOrgCode(const std::string& orgCode)
{
orgCode_ = orgCode;
setParameter("OrgCode", orgCode);
}
std::string AcceptBookkeepingAuditResultRequest::getOrgAddress()const
{
return orgAddress_;
}
void AcceptBookkeepingAuditResultRequest::setOrgAddress(const std::string& orgAddress)
{
orgAddress_ = orgAddress;
setParameter("OrgAddress", orgAddress);
}
std::string AcceptBookkeepingAuditResultRequest::getOrgName()const
{
return orgName_;
}
void AcceptBookkeepingAuditResultRequest::setOrgName(const std::string& orgName)
{
orgName_ = orgName;
setParameter("OrgName", orgName);
}
long AcceptBookkeepingAuditResultRequest::getServiceStartTime()const
{
return serviceStartTime_;
}
void AcceptBookkeepingAuditResultRequest::setServiceStartTime(long serviceStartTime)
{
serviceStartTime_ = serviceStartTime;
setParameter("ServiceStartTime", std::to_string(serviceStartTime));
}
bool AcceptBookkeepingAuditResultRequest::getAuditResult()const
{
return auditResult_;
}
void AcceptBookkeepingAuditResultRequest::setAuditResult(bool auditResult)
{
auditResult_ = auditResult;
setParameter("AuditResult", auditResult ? "true" : "false");
}
std::string AcceptBookkeepingAuditResultRequest::getBizId()const
{
return bizId_;
}
void AcceptBookkeepingAuditResultRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}
std::string AcceptBookkeepingAuditResultRequest::getOrgMobile()const
{
return orgMobile_;
}
void AcceptBookkeepingAuditResultRequest::setOrgMobile(const std::string& orgMobile)
{
orgMobile_ = orgMobile;
setParameter("OrgMobile", orgMobile);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/AcceptBookkeepingAuditResultResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
AcceptBookkeepingAuditResultResult::AcceptBookkeepingAuditResultResult() :
ServiceResult()
{}
AcceptBookkeepingAuditResultResult::AcceptBookkeepingAuditResultResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AcceptBookkeepingAuditResultResult::~AcceptBookkeepingAuditResultResult()
{}
void AcceptBookkeepingAuditResultResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/AcceptBookkeepingDetailStatusChangeRequest.h>
using AlibabaCloud::Companyreg::Model::AcceptBookkeepingDetailStatusChangeRequest;
AcceptBookkeepingDetailStatusChangeRequest::AcceptBookkeepingDetailStatusChangeRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "AcceptBookkeepingDetailStatusChange")
{
setMethod(HttpRequest::Method::Post);
}
AcceptBookkeepingDetailStatusChangeRequest::~AcceptBookkeepingDetailStatusChangeRequest()
{}
std::string AcceptBookkeepingDetailStatusChangeRequest::getBizId()const
{
return bizId_;
}
void AcceptBookkeepingDetailStatusChangeRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}
std::string AcceptBookkeepingDetailStatusChangeRequest::getTaxAmount()const
{
return taxAmount_;
}
void AcceptBookkeepingDetailStatusChangeRequest::setTaxAmount(const std::string& taxAmount)
{
taxAmount_ = taxAmount;
setParameter("TaxAmount", taxAmount);
}
int AcceptBookkeepingDetailStatusChangeRequest::getStatus()const
{
return status_;
}
void AcceptBookkeepingDetailStatusChangeRequest::setStatus(int status)
{
status_ = status;
setParameter("Status", std::to_string(status));
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/AcceptBookkeepingDetailStatusChangeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
AcceptBookkeepingDetailStatusChangeResult::AcceptBookkeepingDetailStatusChangeResult() :
ServiceResult()
{}
AcceptBookkeepingDetailStatusChangeResult::AcceptBookkeepingDetailStatusChangeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AcceptBookkeepingDetailStatusChangeResult::~AcceptBookkeepingDetailStatusChangeResult()
{}
void AcceptBookkeepingDetailStatusChangeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/AcceptPartnerNotificationRequest.h>
using AlibabaCloud::Companyreg::Model::AcceptPartnerNotificationRequest;
AcceptPartnerNotificationRequest::AcceptPartnerNotificationRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "AcceptPartnerNotification")
{
setMethod(HttpRequest::Method::Post);
}
AcceptPartnerNotificationRequest::~AcceptPartnerNotificationRequest()
{}
std::string AcceptPartnerNotificationRequest::getOfficialFileURL()const
{
return officialFileURL_;
}
void AcceptPartnerNotificationRequest::setOfficialFileURL(const std::string& officialFileURL)
{
officialFileURL_ = officialFileURL;
setParameter("OfficialFileURL", officialFileURL);
}
std::string AcceptPartnerNotificationRequest::getBizId()const
{
return bizId_;
}
void AcceptPartnerNotificationRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}
int AcceptPartnerNotificationRequest::getApplicationStatus()const
{
return applicationStatus_;
}
void AcceptPartnerNotificationRequest::setApplicationStatus(int applicationStatus)
{
applicationStatus_ = applicationStatus;
setParameter("ApplicationStatus", std::to_string(applicationStatus));
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/AcceptPartnerNotificationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
AcceptPartnerNotificationResult::AcceptPartnerNotificationResult() :
ServiceResult()
{}
AcceptPartnerNotificationResult::AcceptPartnerNotificationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AcceptPartnerNotificationResult::~AcceptPartnerNotificationResult()
{}
void AcceptPartnerNotificationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/CloseIcpProduceRequest.h>
using AlibabaCloud::Companyreg::Model::CloseIcpProduceRequest;
CloseIcpProduceRequest::CloseIcpProduceRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "CloseIcpProduce")
{
setMethod(HttpRequest::Method::Post);
}
CloseIcpProduceRequest::~CloseIcpProduceRequest()
{}
std::string CloseIcpProduceRequest::getNote()const
{
return note_;
}
void CloseIcpProduceRequest::setNote(const std::string& note)
{
note_ = note;
setParameter("Note", note);
}
std::string CloseIcpProduceRequest::getBizId()const
{
return bizId_;
}
void CloseIcpProduceRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/CloseIcpProduceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
CloseIcpProduceResult::CloseIcpProduceResult() :
ServiceResult()
{}
CloseIcpProduceResult::CloseIcpProduceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CloseIcpProduceResult::~CloseIcpProduceResult()
{}
void CloseIcpProduceResult::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 CloseIcpProduceResult::getErrorMsg()const
{
return errorMsg_;
}
std::string CloseIcpProduceResult::getErrorCode()const
{
return errorCode_;
}
bool CloseIcpProduceResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/CloseIntentionRequest.h>
using AlibabaCloud::Companyreg::Model::CloseIntentionRequest;
CloseIntentionRequest::CloseIntentionRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "CloseIntention")
{
setMethod(HttpRequest::Method::Post);
}
CloseIntentionRequest::~CloseIntentionRequest()
{}
std::string CloseIntentionRequest::getNote()const
{
return note_;
}
void CloseIntentionRequest::setNote(const std::string& note)
{
note_ = note;
setParameter("Note", note);
}
std::string CloseIntentionRequest::getBizId()const
{
return bizId_;
}
void CloseIntentionRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/CloseIntentionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
CloseIntentionResult::CloseIntentionResult() :
ServiceResult()
{}
CloseIntentionResult::CloseIntentionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CloseIntentionResult::~CloseIntentionResult()
{}
void CloseIntentionResult::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 CloseIntentionResult::getErrorMsg()const
{
return errorMsg_;
}
std::string CloseIntentionResult::getErrorCode()const
{
return errorCode_;
}
bool CloseIntentionResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/ConfirmIntentionRequest.h>
using AlibabaCloud::Companyreg::Model::ConfirmIntentionRequest;
ConfirmIntentionRequest::ConfirmIntentionRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "ConfirmIntention")
{
setMethod(HttpRequest::Method::Post);
}
ConfirmIntentionRequest::~ConfirmIntentionRequest()
{}
std::string ConfirmIntentionRequest::getBizId()const
{
return bizId_;
}
void ConfirmIntentionRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setBodyParameter("BizId", bizId);
}

View File

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/ConfirmIntentionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
ConfirmIntentionResult::ConfirmIntentionResult() :
ServiceResult()
{}
ConfirmIntentionResult::ConfirmIntentionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ConfirmIntentionResult::~ConfirmIntentionResult()
{}
void ConfirmIntentionResult::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["ConfirmUrl"].isNull())
confirmUrl_ = value["ConfirmUrl"].asString();
}
std::string ConfirmIntentionResult::getConfirmUrl()const
{
return confirmUrl_;
}
bool ConfirmIntentionResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/ConfirmMaterialRequest.h>
using AlibabaCloud::Companyreg::Model::ConfirmMaterialRequest;
ConfirmMaterialRequest::ConfirmMaterialRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "ConfirmMaterial")
{
setMethod(HttpRequest::Method::Post);
}
ConfirmMaterialRequest::~ConfirmMaterialRequest()
{}
std::string ConfirmMaterialRequest::getBizId()const
{
return bizId_;
}
void ConfirmMaterialRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}
std::string ConfirmMaterialRequest::getUserOtherList()const
{
return userOtherList_;
}
void ConfirmMaterialRequest::setUserOtherList(const std::string& userOtherList)
{
userOtherList_ = userOtherList;
setParameter("UserOtherList", userOtherList);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/ConfirmMaterialResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
ConfirmMaterialResult::ConfirmMaterialResult() :
ServiceResult()
{}
ConfirmMaterialResult::ConfirmMaterialResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ConfirmMaterialResult::~ConfirmMaterialResult()
{}
void ConfirmMaterialResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/ConfirmTaxAmountRequest.h>
using AlibabaCloud::Companyreg::Model::ConfirmTaxAmountRequest;
ConfirmTaxAmountRequest::ConfirmTaxAmountRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "ConfirmTaxAmount")
{
setMethod(HttpRequest::Method::Post);
}
ConfirmTaxAmountRequest::~ConfirmTaxAmountRequest()
{}
std::string ConfirmTaxAmountRequest::getBizId()const
{
return bizId_;
}
void ConfirmTaxAmountRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setBodyParameter("BizId", bizId);
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/ConfirmTaxAmountResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
ConfirmTaxAmountResult::ConfirmTaxAmountResult() :
ServiceResult()
{}
ConfirmTaxAmountResult::ConfirmTaxAmountResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ConfirmTaxAmountResult::~ConfirmTaxAmountResult()
{}
void ConfirmTaxAmountResult::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 ConfirmTaxAmountResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/CreateBookkeepingIntentionRequest.h>
using AlibabaCloud::Companyreg::Model::CreateBookkeepingIntentionRequest;
CreateBookkeepingIntentionRequest::CreateBookkeepingIntentionRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "CreateBookkeepingIntention")
{
setMethod(HttpRequest::Method::Post);
}
CreateBookkeepingIntentionRequest::~CreateBookkeepingIntentionRequest()
{}
std::string CreateBookkeepingIntentionRequest::getArea()const
{
return area_;
}
void CreateBookkeepingIntentionRequest::setArea(const std::string& area)
{
area_ = area;
setParameter("Area", area);
}
std::string CreateBookkeepingIntentionRequest::getMobile()const
{
return mobile_;
}
void CreateBookkeepingIntentionRequest::setMobile(const std::string& mobile)
{
mobile_ = mobile;
setParameter("Mobile", mobile);
}
std::string CreateBookkeepingIntentionRequest::getDescription()const
{
return description_;
}
void CreateBookkeepingIntentionRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
std::string CreateBookkeepingIntentionRequest::getVerifyCode()const
{
return verifyCode_;
}
void CreateBookkeepingIntentionRequest::setVerifyCode(const std::string& verifyCode)
{
verifyCode_ = verifyCode;
setParameter("VerifyCode", verifyCode);
}
std::string CreateBookkeepingIntentionRequest::getUserName()const
{
return userName_;
}
void CreateBookkeepingIntentionRequest::setUserName(const std::string& userName)
{
userName_ = userName;
setParameter("UserName", userName);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/CreateBookkeepingIntentionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
CreateBookkeepingIntentionResult::CreateBookkeepingIntentionResult() :
ServiceResult()
{}
CreateBookkeepingIntentionResult::CreateBookkeepingIntentionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateBookkeepingIntentionResult::~CreateBookkeepingIntentionResult()
{}
void CreateBookkeepingIntentionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Companyreg::Model::GenerateCompanyRegUploadPolicyRequest;
GenerateCompanyRegUploadPolicyRequest::GenerateCompanyRegUploadPolicyRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "GenerateCompanyRegUploadPolicy")
{}
{
setMethod(HttpRequest::Method::Post);
}
GenerateCompanyRegUploadPolicyRequest::~GenerateCompanyRegUploadPolicyRequest()
{}
@@ -33,7 +35,7 @@ std::string GenerateCompanyRegUploadPolicyRequest::getData()const
void GenerateCompanyRegUploadPolicyRequest::setData(const std::string& data)
{
data_ = data;
setCoreParameter("Data", data);
setParameter("Data", data);
}
std::string GenerateCompanyRegUploadPolicyRequest::getBizCode()const
@@ -44,7 +46,7 @@ std::string GenerateCompanyRegUploadPolicyRequest::getBizCode()const
void GenerateCompanyRegUploadPolicyRequest::setBizCode(const std::string& bizCode)
{
bizCode_ = bizCode;
setCoreParameter("BizCode", bizCode);
setParameter("BizCode", bizCode);
}
std::string GenerateCompanyRegUploadPolicyRequest::getBizSubCode()const
@@ -55,6 +57,6 @@ std::string GenerateCompanyRegUploadPolicyRequest::getBizSubCode()const
void GenerateCompanyRegUploadPolicyRequest::setBizSubCode(const std::string& bizSubCode)
{
bizSubCode_ = bizSubCode;
setCoreParameter("BizSubCode", bizSubCode);
setParameter("BizSubCode", bizSubCode);
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/GenerateUploadFilePolicyRequest.h>
using AlibabaCloud::Companyreg::Model::GenerateUploadFilePolicyRequest;
GenerateUploadFilePolicyRequest::GenerateUploadFilePolicyRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "GenerateUploadFilePolicy")
{
setMethod(HttpRequest::Method::Post);
}
GenerateUploadFilePolicyRequest::~GenerateUploadFilePolicyRequest()
{}
std::string GenerateUploadFilePolicyRequest::getFileType()const
{
return fileType_;
}
void GenerateUploadFilePolicyRequest::setFileType(const std::string& fileType)
{
fileType_ = fileType;
setParameter("FileType", fileType);
}

View File

@@ -0,0 +1,86 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/GenerateUploadFilePolicyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::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_;
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Companyreg::Model::GetCompanyRegOrderRequest;
GetCompanyRegOrderRequest::GetCompanyRegOrderRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "GetCompanyRegOrder")
{}
{
setMethod(HttpRequest::Method::Post);
}
GetCompanyRegOrderRequest::~GetCompanyRegOrderRequest()
{}
@@ -33,7 +35,7 @@ std::string GetCompanyRegOrderRequest::getActionTypes()const
void GetCompanyRegOrderRequest::setActionTypes(const std::string& actionTypes)
{
actionTypes_ = actionTypes;
setCoreParameter("ActionTypes", actionTypes);
setParameter("ActionTypes", actionTypes);
}
std::string GetCompanyRegOrderRequest::getBizCode()const
@@ -44,7 +46,7 @@ std::string GetCompanyRegOrderRequest::getBizCode()const
void GetCompanyRegOrderRequest::setBizCode(const std::string& bizCode)
{
bizCode_ = bizCode;
setCoreParameter("BizCode", bizCode);
setParameter("BizCode", bizCode);
}
std::string GetCompanyRegOrderRequest::getBizId()const
@@ -55,7 +57,7 @@ std::string GetCompanyRegOrderRequest::getBizId()const
void GetCompanyRegOrderRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setCoreParameter("BizId", bizId);
setParameter("BizId", bizId);
}
int GetCompanyRegOrderRequest::getMaxOperationSize()const
@@ -66,7 +68,7 @@ int GetCompanyRegOrderRequest::getMaxOperationSize()const
void GetCompanyRegOrderRequest::setMaxOperationSize(int maxOperationSize)
{
maxOperationSize_ = maxOperationSize;
setCoreParameter("MaxOperationSize", std::to_string(maxOperationSize));
setParameter("MaxOperationSize", std::to_string(maxOperationSize));
}
std::string GetCompanyRegOrderRequest::getBizSubCode()const
@@ -77,6 +79,6 @@ std::string GetCompanyRegOrderRequest::getBizSubCode()const
void GetCompanyRegOrderRequest::setBizSubCode(const std::string& bizSubCode)
{
bizSubCode_ = bizSubCode;
setCoreParameter("BizSubCode", bizSubCode);
setParameter("BizSubCode", bizSubCode);
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/ListApplicationLogsRequest.h>
using AlibabaCloud::Companyreg::Model::ListApplicationLogsRequest;
ListApplicationLogsRequest::ListApplicationLogsRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "ListApplicationLogs")
{
setMethod(HttpRequest::Method::Post);
}
ListApplicationLogsRequest::~ListApplicationLogsRequest()
{}
std::string ListApplicationLogsRequest::getBizId()const
{
return bizId_;
}
void ListApplicationLogsRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}

View File

@@ -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.
*/
#include <alibabacloud/companyreg/model/ListApplicationLogsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
ListApplicationLogsResult::ListApplicationLogsResult() :
ServiceResult()
{}
ListApplicationLogsResult::ListApplicationLogsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListApplicationLogsResult::~ListApplicationLogsResult()
{}
void ListApplicationLogsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataNode = value["Data"]["DataItem"];
for (auto valueDataDataItem : allDataNode)
{
DataItem dataObject;
if(!valueDataDataItem["BizId"].isNull())
dataObject.bizId = valueDataDataItem["BizId"].asString();
if(!valueDataDataItem["Note"].isNull())
dataObject.note = valueDataDataItem["Note"].asString();
if(!valueDataDataItem["OperateType"].isNull())
dataObject.operateType = std::stoi(valueDataDataItem["OperateType"].asString());
if(!valueDataDataItem["OperateTime"].isNull())
dataObject.operateTime = std::stol(valueDataDataItem["OperateTime"].asString());
if(!valueDataDataItem["BizStatus"].isNull())
dataObject.bizStatus = std::stoi(valueDataDataItem["BizStatus"].asString());
if(!valueDataDataItem["ExtendContent"].isNull())
dataObject.extendContent = valueDataDataItem["ExtendContent"].asString();
data_.push_back(dataObject);
}
}
std::vector<ListApplicationLogsResult::DataItem> ListApplicationLogsResult::getData()const
{
return data_;
}

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/ListBookkeepingStatisticsesRequest.h>
using AlibabaCloud::Companyreg::Model::ListBookkeepingStatisticsesRequest;
ListBookkeepingStatisticsesRequest::ListBookkeepingStatisticsesRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "ListBookkeepingStatisticses")
{
setMethod(HttpRequest::Method::Post);
}
ListBookkeepingStatisticsesRequest::~ListBookkeepingStatisticsesRequest()
{}
int ListBookkeepingStatisticsesRequest::getYear()const
{
return year_;
}
void ListBookkeepingStatisticsesRequest::setYear(int year)
{
year_ = year;
setParameter("Year", std::to_string(year));
}
std::string ListBookkeepingStatisticsesRequest::getProduceBizId()const
{
return produceBizId_;
}
void ListBookkeepingStatisticsesRequest::setProduceBizId(const std::string& produceBizId)
{
produceBizId_ = produceBizId;
setParameter("ProduceBizId", produceBizId);
}
int ListBookkeepingStatisticsesRequest::getPageNumber()const
{
return pageNumber_;
}
void ListBookkeepingStatisticsesRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
int ListBookkeepingStatisticsesRequest::getMonth()const
{
return month_;
}
void ListBookkeepingStatisticsesRequest::setMonth(int month)
{
month_ = month;
setParameter("Month", std::to_string(month));
}
int ListBookkeepingStatisticsesRequest::getPageSize()const
{
return pageSize_;
}
void ListBookkeepingStatisticsesRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -0,0 +1,172 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/ListBookkeepingStatisticsesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
ListBookkeepingStatisticsesResult::ListBookkeepingStatisticsesResult() :
ServiceResult()
{}
ListBookkeepingStatisticsesResult::ListBookkeepingStatisticsesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListBookkeepingStatisticsesResult::~ListBookkeepingStatisticsesResult()
{}
void ListBookkeepingStatisticsesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allBookkeepingStatisticsesNode = value["BookkeepingStatisticses"]["BookkeepingStatistics"];
for (auto valueBookkeepingStatisticsesBookkeepingStatistics : allBookkeepingStatisticsesNode)
{
BookkeepingStatistics bookkeepingStatisticsesObject;
if(!valueBookkeepingStatisticsesBookkeepingStatistics["ProduceBizId"].isNull())
bookkeepingStatisticsesObject.produceBizId = valueBookkeepingStatisticsesBookkeepingStatistics["ProduceBizId"].asString();
if(!valueBookkeepingStatisticsesBookkeepingStatistics["Year"].isNull())
bookkeepingStatisticsesObject.year = std::stoi(valueBookkeepingStatisticsesBookkeepingStatistics["Year"].asString());
if(!valueBookkeepingStatisticsesBookkeepingStatistics["Month"].isNull())
bookkeepingStatisticsesObject.month = std::stoi(valueBookkeepingStatisticsesBookkeepingStatistics["Month"].asString());
if(!valueBookkeepingStatisticsesBookkeepingStatistics["Income"].isNull())
bookkeepingStatisticsesObject.income = std::stof(valueBookkeepingStatisticsesBookkeepingStatistics["Income"].asString());
if(!valueBookkeepingStatisticsesBookkeepingStatistics["Expend"].isNull())
bookkeepingStatisticsesObject.expend = std::stof(valueBookkeepingStatisticsesBookkeepingStatistics["Expend"].asString());
if(!valueBookkeepingStatisticsesBookkeepingStatistics["Profit"].isNull())
bookkeepingStatisticsesObject.profit = std::stof(valueBookkeepingStatisticsesBookkeepingStatistics["Profit"].asString());
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxAmount"].isNull())
bookkeepingStatisticsesObject.taxAmount = std::stof(valueBookkeepingStatisticsesBookkeepingStatistics["TaxAmount"].asString());
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxZzs"].isNull())
bookkeepingStatisticsesObject.taxZzs = std::stof(valueBookkeepingStatisticsesBookkeepingStatistics["TaxZzs"].asString());
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxFjs"].isNull())
bookkeepingStatisticsesObject.taxFjs = std::stof(valueBookkeepingStatisticsesBookkeepingStatistics["TaxFjs"].asString());
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxQysds"].isNull())
bookkeepingStatisticsesObject.taxQysds = std::stof(valueBookkeepingStatisticsesBookkeepingStatistics["TaxQysds"].asString());
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxYhs"].isNull())
bookkeepingStatisticsesObject.taxYhs = std::stof(valueBookkeepingStatisticsesBookkeepingStatistics["TaxYhs"].asString());
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxGhjf"].isNull())
bookkeepingStatisticsesObject.taxGhjf = std::stof(valueBookkeepingStatisticsesBookkeepingStatistics["TaxGhjf"].asString());
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxSljj"].isNull())
bookkeepingStatisticsesObject.taxSljj = std::stof(valueBookkeepingStatisticsesBookkeepingStatistics["TaxSljj"].asString());
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxCjrbzj"].isNull())
bookkeepingStatisticsesObject.taxCjrbzj = std::stof(valueBookkeepingStatisticsesBookkeepingStatistics["TaxCjrbzj"].asString());
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxOther"].isNull())
bookkeepingStatisticsesObject.taxOther = std::stof(valueBookkeepingStatisticsesBookkeepingStatistics["TaxOther"].asString());
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxAmountNote"].isNull())
bookkeepingStatisticsesObject.taxAmountNote = valueBookkeepingStatisticsesBookkeepingStatistics["TaxAmountNote"].asString();
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxZzsNote"].isNull())
bookkeepingStatisticsesObject.taxZzsNote = valueBookkeepingStatisticsesBookkeepingStatistics["TaxZzsNote"].asString();
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxFjsNote"].isNull())
bookkeepingStatisticsesObject.taxFjsNote = valueBookkeepingStatisticsesBookkeepingStatistics["TaxFjsNote"].asString();
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxQysdsNote"].isNull())
bookkeepingStatisticsesObject.taxQysdsNote = valueBookkeepingStatisticsesBookkeepingStatistics["TaxQysdsNote"].asString();
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxYhsNote"].isNull())
bookkeepingStatisticsesObject.taxYhsNote = valueBookkeepingStatisticsesBookkeepingStatistics["TaxYhsNote"].asString();
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxGhjfNote"].isNull())
bookkeepingStatisticsesObject.taxGhjfNote = valueBookkeepingStatisticsesBookkeepingStatistics["TaxGhjfNote"].asString();
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxSljjNote"].isNull())
bookkeepingStatisticsesObject.taxSljjNote = valueBookkeepingStatisticsesBookkeepingStatistics["TaxSljjNote"].asString();
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxCjrbzjNote"].isNull())
bookkeepingStatisticsesObject.taxCjrbzjNote = valueBookkeepingStatisticsesBookkeepingStatistics["TaxCjrbzjNote"].asString();
if(!valueBookkeepingStatisticsesBookkeepingStatistics["TaxOtherNote"].isNull())
bookkeepingStatisticsesObject.taxOtherNote = valueBookkeepingStatisticsesBookkeepingStatistics["TaxOtherNote"].asString();
if(!valueBookkeepingStatisticsesBookkeepingStatistics["VoucherCount"].isNull())
bookkeepingStatisticsesObject.voucherCount = std::stoi(valueBookkeepingStatisticsesBookkeepingStatistics["VoucherCount"].asString());
if(!valueBookkeepingStatisticsesBookkeepingStatistics["SubjectCount"].isNull())
bookkeepingStatisticsesObject.subjectCount = std::stoi(valueBookkeepingStatisticsesBookkeepingStatistics["SubjectCount"].asString());
auto allTaxDetailsNode = allBookkeepingStatisticsesNode["TaxDetails"]["TaxDetail"];
for (auto allBookkeepingStatisticsesNodeTaxDetailsTaxDetail : allTaxDetailsNode)
{
BookkeepingStatistics::TaxDetail taxDetailsObject;
if(!allBookkeepingStatisticsesNodeTaxDetailsTaxDetail["TaxName"].isNull())
taxDetailsObject.taxName = allBookkeepingStatisticsesNodeTaxDetailsTaxDetail["TaxName"].asString();
if(!allBookkeepingStatisticsesNodeTaxDetailsTaxDetail["Year"].isNull())
taxDetailsObject.year = std::stoi(allBookkeepingStatisticsesNodeTaxDetailsTaxDetail["Year"].asString());
if(!allBookkeepingStatisticsesNodeTaxDetailsTaxDetail["Month"].isNull())
taxDetailsObject.month = std::stoi(allBookkeepingStatisticsesNodeTaxDetailsTaxDetail["Month"].asString());
if(!allBookkeepingStatisticsesNodeTaxDetailsTaxDetail["Amount"].isNull())
taxDetailsObject.amount = std::stof(allBookkeepingStatisticsesNodeTaxDetailsTaxDetail["Amount"].asString());
if(!allBookkeepingStatisticsesNodeTaxDetailsTaxDetail["Remark"].isNull())
taxDetailsObject.remark = allBookkeepingStatisticsesNodeTaxDetailsTaxDetail["Remark"].asString();
bookkeepingStatisticsesObject.taxDetails.push_back(taxDetailsObject);
}
bookkeepingStatisticses_.push_back(bookkeepingStatisticsesObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["IncomeSum"].isNull())
incomeSum_ = std::stof(value["IncomeSum"].asString());
if(!value["ExpendSum"].isNull())
expendSum_ = std::stof(value["ExpendSum"].asString());
if(!value["ProfitSum"].isNull())
profitSum_ = std::stof(value["ProfitSum"].asString());
if(!value["TaxAmountSum"].isNull())
taxAmountSum_ = std::stof(value["TaxAmountSum"].asString());
}
int ListBookkeepingStatisticsesResult::getTotalCount()const
{
return totalCount_;
}
float ListBookkeepingStatisticsesResult::getExpendSum()const
{
return expendSum_;
}
int ListBookkeepingStatisticsesResult::getPageSize()const
{
return pageSize_;
}
float ListBookkeepingStatisticsesResult::getIncomeSum()const
{
return incomeSum_;
}
int ListBookkeepingStatisticsesResult::getPageNumber()const
{
return pageNumber_;
}
float ListBookkeepingStatisticsesResult::getTaxAmountSum()const
{
return taxAmountSum_;
}
std::vector<ListBookkeepingStatisticsesResult::BookkeepingStatistics> ListBookkeepingStatisticsesResult::getBookkeepingStatisticses()const
{
return bookkeepingStatisticses_;
}
float ListBookkeepingStatisticsesResult::getProfitSum()const
{
return profitSum_;
}

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/ListBookkeepingSubjectBalancesRequest.h>
using AlibabaCloud::Companyreg::Model::ListBookkeepingSubjectBalancesRequest;
ListBookkeepingSubjectBalancesRequest::ListBookkeepingSubjectBalancesRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "ListBookkeepingSubjectBalances")
{
setMethod(HttpRequest::Method::Post);
}
ListBookkeepingSubjectBalancesRequest::~ListBookkeepingSubjectBalancesRequest()
{}
int ListBookkeepingSubjectBalancesRequest::getPeriod()const
{
return period_;
}
void ListBookkeepingSubjectBalancesRequest::setPeriod(int period)
{
period_ = period;
setParameter("Period", std::to_string(period));
}
int ListBookkeepingSubjectBalancesRequest::getYear()const
{
return year_;
}
void ListBookkeepingSubjectBalancesRequest::setYear(int year)
{
year_ = year;
setParameter("Year", std::to_string(year));
}
std::string ListBookkeepingSubjectBalancesRequest::getProduceBizId()const
{
return produceBizId_;
}
void ListBookkeepingSubjectBalancesRequest::setProduceBizId(const std::string& produceBizId)
{
produceBizId_ = produceBizId;
setParameter("ProduceBizId", produceBizId);
}
int ListBookkeepingSubjectBalancesRequest::getPageNumber()const
{
return pageNumber_;
}
void ListBookkeepingSubjectBalancesRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
int ListBookkeepingSubjectBalancesRequest::getPageSize()const
{
return pageSize_;
}
void ListBookkeepingSubjectBalancesRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -0,0 +1,118 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/ListBookkeepingSubjectBalancesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
ListBookkeepingSubjectBalancesResult::ListBookkeepingSubjectBalancesResult() :
ServiceResult()
{}
ListBookkeepingSubjectBalancesResult::ListBookkeepingSubjectBalancesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListBookkeepingSubjectBalancesResult::~ListBookkeepingSubjectBalancesResult()
{}
void ListBookkeepingSubjectBalancesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allBookkeepingSubjectBalancesNode = value["BookkeepingSubjectBalances"]["BookkeepingSubjectBalancesItem"];
for (auto valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem : allBookkeepingSubjectBalancesNode)
{
BookkeepingSubjectBalancesItem bookkeepingSubjectBalancesObject;
if(!valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["BizId"].isNull())
bookkeepingSubjectBalancesObject.bizId = valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["BizId"].asString();
if(!valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["ParentBizId"].isNull())
bookkeepingSubjectBalancesObject.parentBizId = valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["ParentBizId"].asString();
if(!valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["ParentSubjectCode"].isNull())
bookkeepingSubjectBalancesObject.parentSubjectCode = valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["ParentSubjectCode"].asString();
if(!valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["SubjectCode"].isNull())
bookkeepingSubjectBalancesObject.subjectCode = valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["SubjectCode"].asString();
if(!valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["SubjectName"].isNull())
bookkeepingSubjectBalancesObject.subjectName = valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["SubjectName"].asString();
if(!valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["StartDebitValue"].isNull())
bookkeepingSubjectBalancesObject.startDebitValue = std::stof(valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["StartDebitValue"].asString());
if(!valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["StartCreditValue"].isNull())
bookkeepingSubjectBalancesObject.startCreditValue = std::stof(valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["StartCreditValue"].asString());
if(!valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["CurrentDebitValue"].isNull())
bookkeepingSubjectBalancesObject.currentDebitValue = std::stof(valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["CurrentDebitValue"].asString());
if(!valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["CurrentCreditValue"].isNull())
bookkeepingSubjectBalancesObject.currentCreditValue = std::stof(valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["CurrentCreditValue"].asString());
if(!valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["EndDebitValue"].isNull())
bookkeepingSubjectBalancesObject.endDebitValue = std::stof(valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["EndDebitValue"].asString());
if(!valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["EndCreditValue"].isNull())
bookkeepingSubjectBalancesObject.endCreditValue = std::stof(valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["EndCreditValue"].asString());
if(!valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["YearDebitValue"].isNull())
bookkeepingSubjectBalancesObject.yearDebitValue = std::stof(valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["YearDebitValue"].asString());
if(!valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["YearCreditValue"].isNull())
bookkeepingSubjectBalancesObject.yearCreditValue = std::stof(valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["YearCreditValue"].asString());
if(!valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["SubjectLevel"].isNull())
bookkeepingSubjectBalancesObject.subjectLevel = valueBookkeepingSubjectBalancesBookkeepingSubjectBalancesItem["SubjectLevel"].asString();
bookkeepingSubjectBalances_.push_back(bookkeepingSubjectBalancesObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
int ListBookkeepingSubjectBalancesResult::getTotalCount()const
{
return totalCount_;
}
int ListBookkeepingSubjectBalancesResult::getPageSize()const
{
return pageSize_;
}
int ListBookkeepingSubjectBalancesResult::getPageNumber()const
{
return pageNumber_;
}
std::string ListBookkeepingSubjectBalancesResult::getErrorMsg()const
{
return errorMsg_;
}
std::vector<ListBookkeepingSubjectBalancesResult::BookkeepingSubjectBalancesItem> ListBookkeepingSubjectBalancesResult::getBookkeepingSubjectBalances()const
{
return bookkeepingSubjectBalances_;
}
bool ListBookkeepingSubjectBalancesResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/ListBookkeepingsRequest.h>
using AlibabaCloud::Companyreg::Model::ListBookkeepingsRequest;
ListBookkeepingsRequest::ListBookkeepingsRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "ListBookkeepings")
{
setMethod(HttpRequest::Method::Post);
}
ListBookkeepingsRequest::~ListBookkeepingsRequest()
{}
int ListBookkeepingsRequest::getPageSize()const
{
return pageSize_;
}
void ListBookkeepingsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
int ListBookkeepingsRequest::getPageNumber()const
{
return pageNumber_;
}
void ListBookkeepingsRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/ListBookkeepingsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
ListBookkeepingsResult::ListBookkeepingsResult() :
ServiceResult()
{}
ListBookkeepingsResult::ListBookkeepingsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListBookkeepingsResult::~ListBookkeepingsResult()
{}
void ListBookkeepingsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allBookkeepingsNode = value["Bookkeepings"]["Bookkeeping"];
for (auto valueBookkeepingsBookkeeping : allBookkeepingsNode)
{
Bookkeeping bookkeepingsObject;
if(!valueBookkeepingsBookkeeping["BizId"].isNull())
bookkeepingsObject.bizId = valueBookkeepingsBookkeeping["BizId"].asString();
if(!valueBookkeepingsBookkeeping["CompanyName"].isNull())
bookkeepingsObject.companyName = valueBookkeepingsBookkeeping["CompanyName"].asString();
if(!valueBookkeepingsBookkeeping["OrderId"].isNull())
bookkeepingsObject.orderId = valueBookkeepingsBookkeeping["OrderId"].asString();
if(!valueBookkeepingsBookkeeping["Status"].isNull())
bookkeepingsObject.status = std::stoi(valueBookkeepingsBookkeeping["Status"].asString());
if(!valueBookkeepingsBookkeeping["Renew"].isNull())
bookkeepingsObject.renew = valueBookkeepingsBookkeeping["Renew"].asString() == "true";
if(!valueBookkeepingsBookkeeping["Note"].isNull())
bookkeepingsObject.note = valueBookkeepingsBookkeeping["Note"].asString();
bookkeepings_.push_back(bookkeepingsObject);
}
if(!value["TotalItemNumber"].isNull())
totalItemNumber_ = std::stoi(value["TotalItemNumber"].asString());
if(!value["CurrentPageNumber"].isNull())
currentPageNumber_ = std::stoi(value["CurrentPageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["TotalPageNumber"].isNull())
totalPageNumber_ = std::stoi(value["TotalPageNumber"].asString());
}
int ListBookkeepingsResult::getTotalItemNumber()const
{
return totalItemNumber_;
}
int ListBookkeepingsResult::getPageSize()const
{
return pageSize_;
}
int ListBookkeepingsResult::getCurrentPageNumber()const
{
return currentPageNumber_;
}
int ListBookkeepingsResult::getTotalPageNumber()const
{
return totalPageNumber_;
}
std::vector<ListBookkeepingsResult::Bookkeeping> ListBookkeepingsResult::getBookkeepings()const
{
return bookkeepings_;
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Companyreg::Model::ListCompanyRegConsultationsRequest;
ListCompanyRegConsultationsRequest::ListCompanyRegConsultationsRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "ListCompanyRegConsultations")
{}
{
setMethod(HttpRequest::Method::Post);
}
ListCompanyRegConsultationsRequest::~ListCompanyRegConsultationsRequest()
{}
@@ -33,7 +35,7 @@ long ListCompanyRegConsultationsRequest::getEndGmtCreate()const
void ListCompanyRegConsultationsRequest::setEndGmtCreate(long endGmtCreate)
{
endGmtCreate_ = endGmtCreate;
setCoreParameter("EndGmtCreate", std::to_string(endGmtCreate));
setParameter("EndGmtCreate", std::to_string(endGmtCreate));
}
std::string ListCompanyRegConsultationsRequest::getCity()const
@@ -44,7 +46,7 @@ std::string ListCompanyRegConsultationsRequest::getCity()const
void ListCompanyRegConsultationsRequest::setCity(const std::string& city)
{
city_ = city;
setCoreParameter("City", city);
setParameter("City", city);
}
int ListCompanyRegConsultationsRequest::getPageNum()const
@@ -55,7 +57,7 @@ int ListCompanyRegConsultationsRequest::getPageNum()const
void ListCompanyRegConsultationsRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setCoreParameter("PageNum", std::to_string(pageNum));
setParameter("PageNum", std::to_string(pageNum));
}
std::string ListCompanyRegConsultationsRequest::getBizCode()const
@@ -66,7 +68,7 @@ std::string ListCompanyRegConsultationsRequest::getBizCode()const
void ListCompanyRegConsultationsRequest::setBizCode(const std::string& bizCode)
{
bizCode_ = bizCode;
setCoreParameter("BizCode", bizCode);
setParameter("BizCode", bizCode);
}
int ListCompanyRegConsultationsRequest::getPageSize()const
@@ -77,7 +79,7 @@ int ListCompanyRegConsultationsRequest::getPageSize()const
void ListCompanyRegConsultationsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
setParameter("PageSize", std::to_string(pageSize));
}
std::string ListCompanyRegConsultationsRequest::getBizId()const
@@ -88,7 +90,7 @@ std::string ListCompanyRegConsultationsRequest::getBizId()const
void ListCompanyRegConsultationsRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setCoreParameter("BizId", bizId);
setParameter("BizId", bizId);
}
long ListCompanyRegConsultationsRequest::getStartGmtCreate()const
@@ -99,6 +101,6 @@ long ListCompanyRegConsultationsRequest::getStartGmtCreate()const
void ListCompanyRegConsultationsRequest::setStartGmtCreate(long startGmtCreate)
{
startGmtCreate_ = startGmtCreate;
setCoreParameter("StartGmtCreate", std::to_string(startGmtCreate));
setParameter("StartGmtCreate", std::to_string(startGmtCreate));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Companyreg::Model::ListCompanyRegOrdersRequest;
ListCompanyRegOrdersRequest::ListCompanyRegOrdersRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "ListCompanyRegOrders")
{}
{
setMethod(HttpRequest::Method::Post);
}
ListCompanyRegOrdersRequest::~ListCompanyRegOrdersRequest()
{}
@@ -33,7 +35,7 @@ int ListCompanyRegOrdersRequest::getPageNum()const
void ListCompanyRegOrdersRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setCoreParameter("PageNum", std::to_string(pageNum));
setParameter("PageNum", std::to_string(pageNum));
}
std::string ListCompanyRegOrdersRequest::getBizCode()const
@@ -44,7 +46,7 @@ std::string ListCompanyRegOrdersRequest::getBizCode()const
void ListCompanyRegOrdersRequest::setBizCode(const std::string& bizCode)
{
bizCode_ = bizCode;
setCoreParameter("BizCode", bizCode);
setParameter("BizCode", bizCode);
}
std::string ListCompanyRegOrdersRequest::getBizStatus()const
@@ -55,7 +57,7 @@ std::string ListCompanyRegOrdersRequest::getBizStatus()const
void ListCompanyRegOrdersRequest::setBizStatus(const std::string& bizStatus)
{
bizStatus_ = bizStatus;
setCoreParameter("BizStatus", bizStatus);
setParameter("BizStatus", bizStatus);
}
std::string ListCompanyRegOrdersRequest::getCompanyName()const
@@ -66,7 +68,7 @@ std::string ListCompanyRegOrdersRequest::getCompanyName()const
void ListCompanyRegOrdersRequest::setCompanyName(const std::string& companyName)
{
companyName_ = companyName;
setCoreParameter("CompanyName", companyName);
setParameter("CompanyName", companyName);
}
int ListCompanyRegOrdersRequest::getPageSize()const
@@ -77,7 +79,7 @@ int ListCompanyRegOrdersRequest::getPageSize()const
void ListCompanyRegOrdersRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
setParameter("PageSize", std::to_string(pageSize));
}
std::string ListCompanyRegOrdersRequest::getAliyunOrderId()const
@@ -88,7 +90,7 @@ std::string ListCompanyRegOrdersRequest::getAliyunOrderId()const
void ListCompanyRegOrdersRequest::setAliyunOrderId(const std::string& aliyunOrderId)
{
aliyunOrderId_ = aliyunOrderId;
setCoreParameter("AliyunOrderId", aliyunOrderId);
setParameter("AliyunOrderId", aliyunOrderId);
}
std::string ListCompanyRegOrdersRequest::getBizSubCode()const
@@ -99,6 +101,6 @@ std::string ListCompanyRegOrdersRequest::getBizSubCode()const
void ListCompanyRegOrdersRequest::setBizSubCode(const std::string& bizSubCode)
{
bizSubCode_ = bizSubCode;
setCoreParameter("BizSubCode", bizSubCode);
setParameter("BizSubCode", bizSubCode);
}

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/ListIcpApplicationsRequest.h>
using AlibabaCloud::Companyreg::Model::ListIcpApplicationsRequest;
ListIcpApplicationsRequest::ListIcpApplicationsRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "ListIcpApplications")
{
setMethod(HttpRequest::Method::Post);
}
ListIcpApplicationsRequest::~ListIcpApplicationsRequest()
{}
std::string ListIcpApplicationsRequest::getIntentionBizId()const
{
return intentionBizId_;
}
void ListIcpApplicationsRequest::setIntentionBizId(const std::string& intentionBizId)
{
intentionBizId_ = intentionBizId;
setParameter("IntentionBizId", intentionBizId);
}
int ListIcpApplicationsRequest::getType()const
{
return type_;
}
void ListIcpApplicationsRequest::setType(int type)
{
type_ = type;
setParameter("Type", std::to_string(type));
}
int ListIcpApplicationsRequest::getApplicationStatus()const
{
return applicationStatus_;
}
void ListIcpApplicationsRequest::setApplicationStatus(int applicationStatus)
{
applicationStatus_ = applicationStatus;
setParameter("ApplicationStatus", std::to_string(applicationStatus));
}
int ListIcpApplicationsRequest::getPageNumber()const
{
return pageNumber_;
}
void ListIcpApplicationsRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string ListIcpApplicationsRequest::getCompanyName()const
{
return companyName_;
}
void ListIcpApplicationsRequest::setCompanyName(const std::string& companyName)
{
companyName_ = companyName;
setParameter("CompanyName", companyName);
}
int ListIcpApplicationsRequest::getPageSize()const
{
return pageSize_;
}
void ListIcpApplicationsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string ListIcpApplicationsRequest::getSortOrder()const
{
return sortOrder_;
}
void ListIcpApplicationsRequest::setSortOrder(const std::string& sortOrder)
{
sortOrder_ = sortOrder;
setParameter("SortOrder", sortOrder);
}
std::string ListIcpApplicationsRequest::getSortField()const
{
return sortField_;
}
void ListIcpApplicationsRequest::setSortField(const std::string& sortField)
{
sortField_ = sortField;
setParameter("SortField", sortField);
}

View File

@@ -0,0 +1,108 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/ListIcpApplicationsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
ListIcpApplicationsResult::ListIcpApplicationsResult() :
ServiceResult()
{}
ListIcpApplicationsResult::ListIcpApplicationsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListIcpApplicationsResult::~ListIcpApplicationsResult()
{}
void ListIcpApplicationsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allApplicationsNode = value["Applications"]["Application"];
for (auto valueApplicationsApplication : allApplicationsNode)
{
Application applicationsObject;
if(!valueApplicationsApplication["OrderId"].isNull())
applicationsObject.orderId = valueApplicationsApplication["OrderId"].asString();
if(!valueApplicationsApplication["OrderPrice"].isNull())
applicationsObject.orderPrice = std::stof(valueApplicationsApplication["OrderPrice"].asString());
if(!valueApplicationsApplication["ApplicationStatus"].isNull())
applicationsObject.applicationStatus = std::stoi(valueApplicationsApplication["ApplicationStatus"].asString());
if(!valueApplicationsApplication["CompanyName"].isNull())
applicationsObject.companyName = valueApplicationsApplication["CompanyName"].asString();
if(!valueApplicationsApplication["LegalPersonName"].isNull())
applicationsObject.legalPersonName = valueApplicationsApplication["LegalPersonName"].asString();
if(!valueApplicationsApplication["ApplicationType"].isNull())
applicationsObject.applicationType = std::stoi(valueApplicationsApplication["ApplicationType"].asString());
if(!valueApplicationsApplication["CompanyAddress"].isNull())
applicationsObject.companyAddress = valueApplicationsApplication["CompanyAddress"].asString();
if(!valueApplicationsApplication["Domain"].isNull())
applicationsObject.domain = valueApplicationsApplication["Domain"].asString();
if(!valueApplicationsApplication["IncludeForeignInvestment"].isNull())
applicationsObject.includeForeignInvestment = valueApplicationsApplication["IncludeForeignInvestment"].asString() == "true";
if(!valueApplicationsApplication["PartnerCode"].isNull())
applicationsObject.partnerCode = valueApplicationsApplication["PartnerCode"].asString();
if(!valueApplicationsApplication["UserId"].isNull())
applicationsObject.userId = valueApplicationsApplication["UserId"].asString();
if(!valueApplicationsApplication["BizId"].isNull())
applicationsObject.bizId = valueApplicationsApplication["BizId"].asString();
if(!valueApplicationsApplication["IntentionBizId"].isNull())
applicationsObject.intentionBizId = valueApplicationsApplication["IntentionBizId"].asString();
if(!valueApplicationsApplication["CompanyArea"].isNull())
applicationsObject.companyArea = valueApplicationsApplication["CompanyArea"].asString();
if(!valueApplicationsApplication["UpdateTime"].isNull())
applicationsObject.updateTime = std::stol(valueApplicationsApplication["UpdateTime"].asString());
if(!valueApplicationsApplication["Type"].isNull())
applicationsObject.type = std::stoi(valueApplicationsApplication["Type"].asString());
applications_.push_back(applicationsObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
}
int ListIcpApplicationsResult::getTotalCount()const
{
return totalCount_;
}
std::vector<ListIcpApplicationsResult::Application> ListIcpApplicationsResult::getApplications()const
{
return applications_;
}
int ListIcpApplicationsResult::getPageSize()const
{
return pageSize_;
}
int ListIcpApplicationsResult::getPageNumber()const
{
return pageNumber_;
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Companyreg::Model::ProcessCompanyRegOrderRequest;
ProcessCompanyRegOrderRequest::ProcessCompanyRegOrderRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "ProcessCompanyRegOrder")
{}
{
setMethod(HttpRequest::Method::Post);
}
ProcessCompanyRegOrderRequest::~ProcessCompanyRegOrderRequest()
{}
@@ -33,7 +35,7 @@ std::string ProcessCompanyRegOrderRequest::getActionType()const
void ProcessCompanyRegOrderRequest::setActionType(const std::string& actionType)
{
actionType_ = actionType;
setCoreParameter("ActionType", actionType);
setParameter("ActionType", actionType);
}
std::string ProcessCompanyRegOrderRequest::getActionRequestId()const
@@ -44,7 +46,7 @@ std::string ProcessCompanyRegOrderRequest::getActionRequestId()const
void ProcessCompanyRegOrderRequest::setActionRequestId(const std::string& actionRequestId)
{
actionRequestId_ = actionRequestId;
setCoreParameter("ActionRequestId", actionRequestId);
setParameter("ActionRequestId", actionRequestId);
}
int ProcessCompanyRegOrderRequest::getOperatorType()const
@@ -55,7 +57,7 @@ int ProcessCompanyRegOrderRequest::getOperatorType()const
void ProcessCompanyRegOrderRequest::setOperatorType(int operatorType)
{
operatorType_ = operatorType;
setCoreParameter("OperatorType", std::to_string(operatorType));
setParameter("OperatorType", std::to_string(operatorType));
}
std::string ProcessCompanyRegOrderRequest::getActionInfo()const
@@ -66,7 +68,7 @@ std::string ProcessCompanyRegOrderRequest::getActionInfo()const
void ProcessCompanyRegOrderRequest::setActionInfo(const std::string& actionInfo)
{
actionInfo_ = actionInfo;
setCoreParameter("ActionInfo", actionInfo);
setParameter("ActionInfo", actionInfo);
}
std::string ProcessCompanyRegOrderRequest::getBizCode()const
@@ -77,7 +79,7 @@ std::string ProcessCompanyRegOrderRequest::getBizCode()const
void ProcessCompanyRegOrderRequest::setBizCode(const std::string& bizCode)
{
bizCode_ = bizCode;
setCoreParameter("BizCode", bizCode);
setParameter("BizCode", bizCode);
}
std::string ProcessCompanyRegOrderRequest::getBizId()const
@@ -88,7 +90,7 @@ std::string ProcessCompanyRegOrderRequest::getBizId()const
void ProcessCompanyRegOrderRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setCoreParameter("BizId", bizId);
setParameter("BizId", bizId);
}
std::string ProcessCompanyRegOrderRequest::getBizSubCode()const
@@ -99,6 +101,6 @@ std::string ProcessCompanyRegOrderRequest::getBizSubCode()const
void ProcessCompanyRegOrderRequest::setBizSubCode(const std::string& bizSubCode)
{
bizSubCode_ = bizSubCode;
setCoreParameter("BizSubCode", bizSubCode);
setParameter("BizSubCode", bizSubCode);
}

View File

@@ -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 <alibabacloud/companyreg/model/QueryCommunicationLogsRequest.h>
using AlibabaCloud::Companyreg::Model::QueryCommunicationLogsRequest;
QueryCommunicationLogsRequest::QueryCommunicationLogsRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "QueryCommunicationLogs")
{
setMethod(HttpRequest::Method::Post);
}
QueryCommunicationLogsRequest::~QueryCommunicationLogsRequest()
{}
std::string QueryCommunicationLogsRequest::getBizId()const
{
return bizId_;
}
void QueryCommunicationLogsRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}
int QueryCommunicationLogsRequest::getPageSize()const
{
return pageSize_;
}
void QueryCommunicationLogsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
int QueryCommunicationLogsRequest::getType()const
{
return type_;
}
void QueryCommunicationLogsRequest::setType(int type)
{
type_ = type;
setParameter("Type", std::to_string(type));
}
int QueryCommunicationLogsRequest::getPageNum()const
{
return pageNum_;
}
void QueryCommunicationLogsRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setParameter("PageNum", std::to_string(pageNum));
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/QueryCommunicationLogsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::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 allDataNode = value["Data"]["TaskList"];
for (auto valueDataTaskList : allDataNode)
{
TaskList dataObject;
if(!valueDataTaskList["BizId"].isNull())
dataObject.bizId = valueDataTaskList["BizId"].asString();
if(!valueDataTaskList["Note"].isNull())
dataObject.note = valueDataTaskList["Note"].asString();
if(!valueDataTaskList["PartnerCode"].isNull())
dataObject.partnerCode = valueDataTaskList["PartnerCode"].asString();
if(!valueDataTaskList["UpdateTime"].isNull())
dataObject.updateTime = std::stol(valueDataTaskList["UpdateTime"].asString());
if(!valueDataTaskList["CreateTime"].isNull())
dataObject.createTime = std::stol(valueDataTaskList["CreateTime"].asString());
data_.push_back(dataObject);
}
}
std::vector<QueryCommunicationLogsResult::TaskList> QueryCommunicationLogsResult::getData()const
{
return data_;
}

View File

@@ -0,0 +1,106 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/QueryIntentionListRequest.h>
using AlibabaCloud::Companyreg::Model::QueryIntentionListRequest;
QueryIntentionListRequest::QueryIntentionListRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "QueryIntentionList")
{
setMethod(HttpRequest::Method::Post);
}
QueryIntentionListRequest::~QueryIntentionListRequest()
{}
std::string QueryIntentionListRequest::getTypeList()const
{
return typeList_;
}
void QueryIntentionListRequest::setTypeList(const std::string& typeList)
{
typeList_ = typeList;
setParameter("TypeList", typeList);
}
int QueryIntentionListRequest::getType()const
{
return type_;
}
void QueryIntentionListRequest::setType(int type)
{
type_ = type;
setParameter("Type", std::to_string(type));
}
int QueryIntentionListRequest::getPageNum()const
{
return pageNum_;
}
void QueryIntentionListRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setParameter("PageNum", std::to_string(pageNum));
}
std::string QueryIntentionListRequest::getSortFiled()const
{
return sortFiled_;
}
void QueryIntentionListRequest::setSortFiled(const std::string& sortFiled)
{
sortFiled_ = sortFiled;
setParameter("SortFiled", sortFiled);
}
int QueryIntentionListRequest::getPageSize()const
{
return pageSize_;
}
void QueryIntentionListRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string QueryIntentionListRequest::getSortOrder()const
{
return sortOrder_;
}
void QueryIntentionListRequest::setSortOrder(const std::string& sortOrder)
{
sortOrder_ = sortOrder;
setParameter("SortOrder", sortOrder);
}
int QueryIntentionListRequest::getStatus()const
{
return status_;
}
void QueryIntentionListRequest::setStatus(int status)
{
status_ = status;
setParameter("Status", std::to_string(status));
}

View File

@@ -0,0 +1,103 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/QueryIntentionListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
QueryIntentionListResult::QueryIntentionListResult() :
ServiceResult()
{}
QueryIntentionListResult::QueryIntentionListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryIntentionListResult::~QueryIntentionListResult()
{}
void QueryIntentionListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataNode = value["Data"]["Intention"];
for (auto valueDataIntention : allDataNode)
{
Intention dataObject;
if(!valueDataIntention["UserId"].isNull())
dataObject.userId = valueDataIntention["UserId"].asString();
if(!valueDataIntention["RegisterNumber"].isNull())
dataObject.registerNumber = valueDataIntention["RegisterNumber"].asString();
if(!valueDataIntention["Classification"].isNull())
dataObject.classification = valueDataIntention["Classification"].asString();
if(!valueDataIntention["Type"].isNull())
dataObject.type = std::stoi(valueDataIntention["Type"].asString());
if(!valueDataIntention["BizId"].isNull())
dataObject.bizId = valueDataIntention["BizId"].asString();
if(!valueDataIntention["Description"].isNull())
dataObject.description = valueDataIntention["Description"].asString();
if(!valueDataIntention["Status"].isNull())
dataObject.status = std::stoi(valueDataIntention["Status"].asString());
if(!valueDataIntention["UpdateTime"].isNull())
dataObject.updateTime = std::stol(valueDataIntention["UpdateTime"].asString());
if(!valueDataIntention["CreateTime"].isNull())
dataObject.createTime = std::stol(valueDataIntention["CreateTime"].asString());
if(!valueDataIntention["Area"].isNull())
dataObject.area = std::stoi(valueDataIntention["Area"].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 QueryIntentionListResult::getCurrentPageNum()const
{
return currentPageNum_;
}
int QueryIntentionListResult::getPageSize()const
{
return pageSize_;
}
int QueryIntentionListResult::getTotalPageNum()const
{
return totalPageNum_;
}
std::vector<QueryIntentionListResult::Intention> QueryIntentionListResult::getData()const
{
return data_;
}
int QueryIntentionListResult::getTotalItemNum()const
{
return totalItemNum_;
}

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/QueryTradeIntentionUserListRequest.h>
using AlibabaCloud::Companyreg::Model::QueryTradeIntentionUserListRequest;
QueryTradeIntentionUserListRequest::QueryTradeIntentionUserListRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "QueryTradeIntentionUserList")
{
setMethod(HttpRequest::Method::Post);
}
QueryTradeIntentionUserListRequest::~QueryTradeIntentionUserListRequest()
{}
int QueryTradeIntentionUserListRequest::getArea()const
{
return area_;
}
void QueryTradeIntentionUserListRequest::setArea(int area)
{
area_ = area;
setParameter("Area", std::to_string(area));
}
int QueryTradeIntentionUserListRequest::getPageNum()const
{
return pageNum_;
}
void QueryTradeIntentionUserListRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setParameter("PageNum", std::to_string(pageNum));
}
int QueryTradeIntentionUserListRequest::getType()const
{
return type_;
}
void QueryTradeIntentionUserListRequest::setType(int type)
{
type_ = type;
setParameter("Type", std::to_string(type));
}
int QueryTradeIntentionUserListRequest::getPageSize()const
{
return pageSize_;
}
void QueryTradeIntentionUserListRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string QueryTradeIntentionUserListRequest::getBizId()const
{
return bizId_;
}
void QueryTradeIntentionUserListRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}
long QueryTradeIntentionUserListRequest::getEnd()const
{
return end_;
}
void QueryTradeIntentionUserListRequest::setEnd(long end)
{
end_ = end;
setParameter("End", std::to_string(end));
}
long QueryTradeIntentionUserListRequest::getBegin()const
{
return begin_;
}
void QueryTradeIntentionUserListRequest::setBegin(long begin)
{
begin_ = begin;
setParameter("Begin", std::to_string(begin));
}
int QueryTradeIntentionUserListRequest::getStatus()const
{
return status_;
}
void QueryTradeIntentionUserListRequest::setStatus(int status)
{
status_ = status;
setParameter("Status", std::to_string(status));
}

View File

@@ -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.
*/
#include <alibabacloud/companyreg/model/QueryTradeIntentionUserListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::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 allDataNode = value["Data"]["Trademark"];
for (auto valueDataTrademark : allDataNode)
{
Trademark dataObject;
if(!valueDataTrademark["RegisterNumber"].isNull())
dataObject.registerNumber = valueDataTrademark["RegisterNumber"].asString();
if(!valueDataTrademark["Classification"].isNull())
dataObject.classification = valueDataTrademark["Classification"].asString();
if(!valueDataTrademark["Mobile"].isNull())
dataObject.mobile = valueDataTrademark["Mobile"].asString();
if(!valueDataTrademark["UserName"].isNull())
dataObject.userName = valueDataTrademark["UserName"].asString();
if(!valueDataTrademark["BizId"].isNull())
dataObject.bizId = valueDataTrademark["BizId"].asString();
if(!valueDataTrademark["Description"].isNull())
dataObject.description = valueDataTrademark["Description"].asString();
if(!valueDataTrademark["Status"].isNull())
dataObject.status = std::stoi(valueDataTrademark["Status"].asString());
if(!valueDataTrademark["Area"].isNull())
dataObject.area = std::stoi(valueDataTrademark["Area"].asString());
if(!valueDataTrademark["Type"].isNull())
dataObject.type = std::stoi(valueDataTrademark["Type"].asString());
if(!valueDataTrademark["CreateTime"].isNull())
dataObject.createTime = std::stol(valueDataTrademark["CreateTime"].asString());
if(!valueDataTrademark["UpdateTime"].isNull())
dataObject.updateTime = std::stol(valueDataTrademark["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());
}
int QueryTradeIntentionUserListResult::getCurrentPageNum()const
{
return currentPageNum_;
}
int QueryTradeIntentionUserListResult::getPageSize()const
{
return pageSize_;
}
int QueryTradeIntentionUserListResult::getTotalPageNum()const
{
return totalPageNum_;
}
std::vector<QueryTradeIntentionUserListResult::Trademark> QueryTradeIntentionUserListResult::getData()const
{
return data_;
}
int QueryTradeIntentionUserListResult::getTotalItemNum()const
{
return totalItemNum_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/RefuseMaterialRequest.h>
using AlibabaCloud::Companyreg::Model::RefuseMaterialRequest;
RefuseMaterialRequest::RefuseMaterialRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "RefuseMaterial")
{
setMethod(HttpRequest::Method::Post);
}
RefuseMaterialRequest::~RefuseMaterialRequest()
{}
std::string RefuseMaterialRequest::getNote()const
{
return note_;
}
void RefuseMaterialRequest::setNote(const std::string& note)
{
note_ = note;
setParameter("Note", note);
}
std::string RefuseMaterialRequest::getBizId()const
{
return bizId_;
}
void RefuseMaterialRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/RefuseMaterialResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
RefuseMaterialResult::RefuseMaterialResult() :
ServiceResult()
{}
RefuseMaterialResult::RefuseMaterialResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RefuseMaterialResult::~RefuseMaterialResult()
{}
void RefuseMaterialResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/RejectIcpIntentionRequest.h>
using AlibabaCloud::Companyreg::Model::RejectIcpIntentionRequest;
RejectIcpIntentionRequest::RejectIcpIntentionRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "RejectIcpIntention")
{
setMethod(HttpRequest::Method::Post);
}
RejectIcpIntentionRequest::~RejectIcpIntentionRequest()
{}
std::string RejectIcpIntentionRequest::getNote()const
{
return note_;
}
void RejectIcpIntentionRequest::setNote(const std::string& note)
{
note_ = note;
setParameter("Note", note);
}
std::string RejectIcpIntentionRequest::getBizId()const
{
return bizId_;
}
void RejectIcpIntentionRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/RejectIcpIntentionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Companyreg;
using namespace AlibabaCloud::Companyreg::Model;
RejectIcpIntentionResult::RejectIcpIntentionResult() :
ServiceResult()
{}
RejectIcpIntentionResult::RejectIcpIntentionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RejectIcpIntentionResult::~RejectIcpIntentionResult()
{}
void RejectIcpIntentionResult::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 RejectIcpIntentionResult::getErrorMsg()const
{
return errorMsg_;
}
std::string RejectIcpIntentionResult::getErrorCode()const
{
return errorCode_;
}
bool RejectIcpIntentionResult::getSuccess()const
{
return success_;
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Companyreg::Model::SendVcodeRequest;
SendVcodeRequest::SendVcodeRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "SendVcode")
{}
{
setMethod(HttpRequest::Method::Post);
}
SendVcodeRequest::~SendVcodeRequest()
{}
@@ -33,7 +35,7 @@ std::string SendVcodeRequest::getMobile()const
void SendVcodeRequest::setMobile(const std::string& mobile)
{
mobile_ = mobile;
setCoreParameter("Mobile", mobile);
setParameter("Mobile", mobile);
}
std::string SendVcodeRequest::getBizCode()const
@@ -44,6 +46,6 @@ std::string SendVcodeRequest::getBizCode()const
void SendVcodeRequest::setBizCode(const std::string& bizCode)
{
bizCode_ = bizCode;
setCoreParameter("BizCode", bizCode);
setParameter("BizCode", bizCode);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Companyreg::Model::SubmitCommunicationNoteRequest;
SubmitCommunicationNoteRequest::SubmitCommunicationNoteRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "SubmitCommunicationNote")
{}
{
setMethod(HttpRequest::Method::Post);
}
SubmitCommunicationNoteRequest::~SubmitCommunicationNoteRequest()
{}
@@ -33,7 +35,7 @@ std::string SubmitCommunicationNoteRequest::getNote()const
void SubmitCommunicationNoteRequest::setNote(const std::string& note)
{
note_ = note;
setCoreParameter("Note", note);
setParameter("Note", note);
}
int SubmitCommunicationNoteRequest::getType()const
@@ -44,7 +46,7 @@ int SubmitCommunicationNoteRequest::getType()const
void SubmitCommunicationNoteRequest::setType(int type)
{
type_ = type;
setCoreParameter("Type", std::to_string(type));
setParameter("Type", std::to_string(type));
}
std::string SubmitCommunicationNoteRequest::getActionRequestId()const
@@ -55,7 +57,7 @@ std::string SubmitCommunicationNoteRequest::getActionRequestId()const
void SubmitCommunicationNoteRequest::setActionRequestId(const std::string& actionRequestId)
{
actionRequestId_ = actionRequestId;
setCoreParameter("ActionRequestId", actionRequestId);
setParameter("ActionRequestId", actionRequestId);
}
int SubmitCommunicationNoteRequest::getOperatorType()const
@@ -66,7 +68,7 @@ int SubmitCommunicationNoteRequest::getOperatorType()const
void SubmitCommunicationNoteRequest::setOperatorType(int operatorType)
{
operatorType_ = operatorType;
setCoreParameter("OperatorType", std::to_string(operatorType));
setParameter("OperatorType", std::to_string(operatorType));
}
std::string SubmitCommunicationNoteRequest::getBizCode()const
@@ -77,7 +79,7 @@ std::string SubmitCommunicationNoteRequest::getBizCode()const
void SubmitCommunicationNoteRequest::setBizCode(const std::string& bizCode)
{
bizCode_ = bizCode;
setCoreParameter("BizCode", bizCode);
setParameter("BizCode", bizCode);
}
std::string SubmitCommunicationNoteRequest::getBizId()const
@@ -88,6 +90,6 @@ std::string SubmitCommunicationNoteRequest::getBizId()const
void SubmitCommunicationNoteRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setCoreParameter("BizId", bizId);
setParameter("BizId", bizId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Companyreg::Model::SubmitConsultationRequest;
SubmitConsultationRequest::SubmitConsultationRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "SubmitConsultation")
{}
{
setMethod(HttpRequest::Method::Post);
}
SubmitConsultationRequest::~SubmitConsultationRequest()
{}
@@ -33,7 +35,7 @@ std::string SubmitConsultationRequest::getData()const
void SubmitConsultationRequest::setData(const std::string& data)
{
data_ = data;
setCoreParameter("Data", data);
setParameter("Data", data);
}
std::string SubmitConsultationRequest::getVcode()const
@@ -44,7 +46,7 @@ std::string SubmitConsultationRequest::getVcode()const
void SubmitConsultationRequest::setVcode(const std::string& vcode)
{
vcode_ = vcode;
setCoreParameter("Vcode", vcode);
setParameter("Vcode", vcode);
}
std::string SubmitConsultationRequest::getBizCode()const
@@ -55,7 +57,7 @@ std::string SubmitConsultationRequest::getBizCode()const
void SubmitConsultationRequest::setBizCode(const std::string& bizCode)
{
bizCode_ = bizCode;
setCoreParameter("BizCode", bizCode);
setParameter("BizCode", bizCode);
}
std::string SubmitConsultationRequest::getConsultRequestId()const
@@ -66,7 +68,7 @@ std::string SubmitConsultationRequest::getConsultRequestId()const
void SubmitConsultationRequest::setConsultRequestId(const std::string& consultRequestId)
{
consultRequestId_ = consultRequestId;
setCoreParameter("ConsultRequestId", consultRequestId);
setParameter("ConsultRequestId", consultRequestId);
}
std::string SubmitConsultationRequest::getBizSubCode()const
@@ -77,6 +79,6 @@ std::string SubmitConsultationRequest::getBizSubCode()const
void SubmitConsultationRequest::setBizSubCode(const std::string& bizSubCode)
{
bizSubCode_ = bizSubCode;
setCoreParameter("BizSubCode", bizSubCode);
setParameter("BizSubCode", bizSubCode);
}

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/companyreg/model/SubmitIcpSolutionRequest.h>
using AlibabaCloud::Companyreg::Model::SubmitIcpSolutionRequest;
SubmitIcpSolutionRequest::SubmitIcpSolutionRequest() :
RpcServiceRequest("companyreg", "2019-05-08", "SubmitIcpSolution")
{
setMethod(HttpRequest::Method::Post);
}
SubmitIcpSolutionRequest::~SubmitIcpSolutionRequest()
{}
std::string SubmitIcpSolutionRequest::getArea()const
{
return area_;
}
void SubmitIcpSolutionRequest::setArea(const std::string& area)
{
area_ = area;
setBodyParameter("Area", area);
}
std::string SubmitIcpSolutionRequest::getIntentionBizId()const
{
return intentionBizId_;
}
void SubmitIcpSolutionRequest::setIntentionBizId(const std::string& intentionBizId)
{
intentionBizId_ = intentionBizId;
setBodyParameter("IntentionBizId", intentionBizId);
}
int SubmitIcpSolutionRequest::getIcpType()const
{
return icpType_;
}
void SubmitIcpSolutionRequest::setIcpType(int icpType)
{
icpType_ = icpType;
setBodyParameter("IcpType", std::to_string(icpType));
}
std::string SubmitIcpSolutionRequest::getCompanyAddress()const
{
return companyAddress_;
}
void SubmitIcpSolutionRequest::setCompanyAddress(const std::string& companyAddress)
{
companyAddress_ = companyAddress;
setBodyParameter("CompanyAddress", companyAddress);
}
std::string SubmitIcpSolutionRequest::getCompanyName()const
{
return companyName_;
}
void SubmitIcpSolutionRequest::setCompanyName(const std::string& companyName)
{
companyName_ = companyName;
setBodyParameter("CompanyName", companyName);
}
std::string SubmitIcpSolutionRequest::getBizId()const
{
return bizId_;
}
void SubmitIcpSolutionRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setBodyParameter("BizId", bizId);
}

Some files were not shown because too many files have changed in this diff Show More