regenerate code
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
117
companyreg/src/model/AcceptBookkeepingAuditResultRequest.cc
Normal file
117
companyreg/src/model/AcceptBookkeepingAuditResultRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
44
companyreg/src/model/AcceptBookkeepingAuditResultResult.cc
Normal file
44
companyreg/src/model/AcceptBookkeepingAuditResultResult.cc
Normal 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());
|
||||
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
@@ -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());
|
||||
|
||||
}
|
||||
|
||||
62
companyreg/src/model/AcceptPartnerNotificationRequest.cc
Normal file
62
companyreg/src/model/AcceptPartnerNotificationRequest.cc
Normal 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));
|
||||
}
|
||||
|
||||
44
companyreg/src/model/AcceptPartnerNotificationResult.cc
Normal file
44
companyreg/src/model/AcceptPartnerNotificationResult.cc
Normal 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());
|
||||
|
||||
}
|
||||
|
||||
51
companyreg/src/model/CloseIcpProduceRequest.cc
Normal file
51
companyreg/src/model/CloseIcpProduceRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
65
companyreg/src/model/CloseIcpProduceResult.cc
Normal file
65
companyreg/src/model/CloseIcpProduceResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
51
companyreg/src/model/CloseIntentionRequest.cc
Normal file
51
companyreg/src/model/CloseIntentionRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
65
companyreg/src/model/CloseIntentionResult.cc
Normal file
65
companyreg/src/model/CloseIntentionResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
40
companyreg/src/model/ConfirmIntentionRequest.cc
Normal file
40
companyreg/src/model/ConfirmIntentionRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
58
companyreg/src/model/ConfirmIntentionResult.cc
Normal file
58
companyreg/src/model/ConfirmIntentionResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
51
companyreg/src/model/ConfirmMaterialRequest.cc
Normal file
51
companyreg/src/model/ConfirmMaterialRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
44
companyreg/src/model/ConfirmMaterialResult.cc
Normal file
44
companyreg/src/model/ConfirmMaterialResult.cc
Normal 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());
|
||||
|
||||
}
|
||||
|
||||
40
companyreg/src/model/ConfirmTaxAmountRequest.cc
Normal file
40
companyreg/src/model/ConfirmTaxAmountRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
51
companyreg/src/model/ConfirmTaxAmountResult.cc
Normal file
51
companyreg/src/model/ConfirmTaxAmountResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
84
companyreg/src/model/CreateBookkeepingIntentionRequest.cc
Normal file
84
companyreg/src/model/CreateBookkeepingIntentionRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
44
companyreg/src/model/CreateBookkeepingIntentionResult.cc
Normal file
44
companyreg/src/model/CreateBookkeepingIntentionResult.cc
Normal 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());
|
||||
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
40
companyreg/src/model/GenerateUploadFilePolicyRequest.cc
Normal file
40
companyreg/src/model/GenerateUploadFilePolicyRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
86
companyreg/src/model/GenerateUploadFilePolicyResult.cc
Normal file
86
companyreg/src/model/GenerateUploadFilePolicyResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
40
companyreg/src/model/ListApplicationLogsRequest.cc
Normal file
40
companyreg/src/model/ListApplicationLogsRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
67
companyreg/src/model/ListApplicationLogsResult.cc
Normal file
67
companyreg/src/model/ListApplicationLogsResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
84
companyreg/src/model/ListBookkeepingStatisticsesRequest.cc
Normal file
84
companyreg/src/model/ListBookkeepingStatisticsesRequest.cc
Normal 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));
|
||||
}
|
||||
|
||||
172
companyreg/src/model/ListBookkeepingStatisticsesResult.cc
Normal file
172
companyreg/src/model/ListBookkeepingStatisticsesResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
118
companyreg/src/model/ListBookkeepingSubjectBalancesResult.cc
Normal file
118
companyreg/src/model/ListBookkeepingSubjectBalancesResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
51
companyreg/src/model/ListBookkeepingsRequest.cc
Normal file
51
companyreg/src/model/ListBookkeepingsRequest.cc
Normal 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));
|
||||
}
|
||||
|
||||
95
companyreg/src/model/ListBookkeepingsResult.cc
Normal file
95
companyreg/src/model/ListBookkeepingsResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
117
companyreg/src/model/ListIcpApplicationsRequest.cc
Normal file
117
companyreg/src/model/ListIcpApplicationsRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
108
companyreg/src/model/ListIcpApplicationsResult.cc
Normal file
108
companyreg/src/model/ListIcpApplicationsResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
73
companyreg/src/model/QueryCommunicationLogsRequest.cc
Normal file
73
companyreg/src/model/QueryCommunicationLogsRequest.cc
Normal 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));
|
||||
}
|
||||
|
||||
65
companyreg/src/model/QueryCommunicationLogsResult.cc
Normal file
65
companyreg/src/model/QueryCommunicationLogsResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
106
companyreg/src/model/QueryIntentionListRequest.cc
Normal file
106
companyreg/src/model/QueryIntentionListRequest.cc
Normal 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));
|
||||
}
|
||||
|
||||
103
companyreg/src/model/QueryIntentionListResult.cc
Normal file
103
companyreg/src/model/QueryIntentionListResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
117
companyreg/src/model/QueryTradeIntentionUserListRequest.cc
Normal file
117
companyreg/src/model/QueryTradeIntentionUserListRequest.cc
Normal 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));
|
||||
}
|
||||
|
||||
105
companyreg/src/model/QueryTradeIntentionUserListResult.cc
Normal file
105
companyreg/src/model/QueryTradeIntentionUserListResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
51
companyreg/src/model/RefuseMaterialRequest.cc
Normal file
51
companyreg/src/model/RefuseMaterialRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
44
companyreg/src/model/RefuseMaterialResult.cc
Normal file
44
companyreg/src/model/RefuseMaterialResult.cc
Normal 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());
|
||||
|
||||
}
|
||||
|
||||
51
companyreg/src/model/RejectIcpIntentionRequest.cc
Normal file
51
companyreg/src/model/RejectIcpIntentionRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
65
companyreg/src/model/RejectIcpIntentionResult.cc
Normal file
65
companyreg/src/model/RejectIcpIntentionResult.cc
Normal 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_;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
95
companyreg/src/model/SubmitIcpSolutionRequest.cc
Normal file
95
companyreg/src/model/SubmitIcpSolutionRequest.cc
Normal 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);
|
||||
}
|
||||
|
||||
58
companyreg/src/model/SubmitIcpSolutionResult.cc
Normal file
58
companyreg/src/model/SubmitIcpSolutionResult.cc
Normal 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/SubmitIcpSolutionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Companyreg;
|
||||
using namespace AlibabaCloud::Companyreg::Model;
|
||||
|
||||
SubmitIcpSolutionResult::SubmitIcpSolutionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SubmitIcpSolutionResult::SubmitIcpSolutionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SubmitIcpSolutionResult::~SubmitIcpSolutionResult()
|
||||
{}
|
||||
|
||||
void SubmitIcpSolutionResult::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["BizId"].isNull())
|
||||
bizId_ = value["BizId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string SubmitIcpSolutionResult::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
bool SubmitIcpSolutionResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
73
companyreg/src/model/UpdateBookkeepingOrgRequest.cc
Normal file
73
companyreg/src/model/UpdateBookkeepingOrgRequest.cc
Normal 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/UpdateBookkeepingOrgRequest.h>
|
||||
|
||||
using AlibabaCloud::Companyreg::Model::UpdateBookkeepingOrgRequest;
|
||||
|
||||
UpdateBookkeepingOrgRequest::UpdateBookkeepingOrgRequest() :
|
||||
RpcServiceRequest("companyreg", "2019-05-08", "UpdateBookkeepingOrg")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateBookkeepingOrgRequest::~UpdateBookkeepingOrgRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateBookkeepingOrgRequest::getOrgAddress()const
|
||||
{
|
||||
return orgAddress_;
|
||||
}
|
||||
|
||||
void UpdateBookkeepingOrgRequest::setOrgAddress(const std::string& orgAddress)
|
||||
{
|
||||
orgAddress_ = orgAddress;
|
||||
setParameter("OrgAddress", orgAddress);
|
||||
}
|
||||
|
||||
std::string UpdateBookkeepingOrgRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
void UpdateBookkeepingOrgRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
std::string UpdateBookkeepingOrgRequest::getOrgCode()const
|
||||
{
|
||||
return orgCode_;
|
||||
}
|
||||
|
||||
void UpdateBookkeepingOrgRequest::setOrgCode(const std::string& orgCode)
|
||||
{
|
||||
orgCode_ = orgCode;
|
||||
setParameter("OrgCode", orgCode);
|
||||
}
|
||||
|
||||
std::string UpdateBookkeepingOrgRequest::getOrgMobile()const
|
||||
{
|
||||
return orgMobile_;
|
||||
}
|
||||
|
||||
void UpdateBookkeepingOrgRequest::setOrgMobile(const std::string& orgMobile)
|
||||
{
|
||||
orgMobile_ = orgMobile;
|
||||
setParameter("OrgMobile", orgMobile);
|
||||
}
|
||||
|
||||
44
companyreg/src/model/UpdateBookkeepingOrgResult.cc
Normal file
44
companyreg/src/model/UpdateBookkeepingOrgResult.cc
Normal 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/UpdateBookkeepingOrgResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Companyreg;
|
||||
using namespace AlibabaCloud::Companyreg::Model;
|
||||
|
||||
UpdateBookkeepingOrgResult::UpdateBookkeepingOrgResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateBookkeepingOrgResult::UpdateBookkeepingOrgResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateBookkeepingOrgResult::~UpdateBookkeepingOrgResult()
|
||||
{}
|
||||
|
||||
void UpdateBookkeepingOrgResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
62
companyreg/src/model/UploadIcpBasicMaterialRequest.cc
Normal file
62
companyreg/src/model/UploadIcpBasicMaterialRequest.cc
Normal 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/UploadIcpBasicMaterialRequest.h>
|
||||
|
||||
using AlibabaCloud::Companyreg::Model::UploadIcpBasicMaterialRequest;
|
||||
|
||||
UploadIcpBasicMaterialRequest::UploadIcpBasicMaterialRequest() :
|
||||
RpcServiceRequest("companyreg", "2019-05-08", "UploadIcpBasicMaterial")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UploadIcpBasicMaterialRequest::~UploadIcpBasicMaterialRequest()
|
||||
{}
|
||||
|
||||
std::string UploadIcpBasicMaterialRequest::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
void UploadIcpBasicMaterialRequest::setBizId(const std::string& bizId)
|
||||
{
|
||||
bizId_ = bizId;
|
||||
setParameter("BizId", bizId);
|
||||
}
|
||||
|
||||
std::string UploadIcpBasicMaterialRequest::getBusinessLicense()const
|
||||
{
|
||||
return businessLicense_;
|
||||
}
|
||||
|
||||
void UploadIcpBasicMaterialRequest::setBusinessLicense(const std::string& businessLicense)
|
||||
{
|
||||
businessLicense_ = businessLicense;
|
||||
setParameter("BusinessLicense", businessLicense);
|
||||
}
|
||||
|
||||
std::string UploadIcpBasicMaterialRequest::getIdCardList()const
|
||||
{
|
||||
return idCardList_;
|
||||
}
|
||||
|
||||
void UploadIcpBasicMaterialRequest::setIdCardList(const std::string& idCardList)
|
||||
{
|
||||
idCardList_ = idCardList;
|
||||
setParameter("IdCardList", idCardList);
|
||||
}
|
||||
|
||||
44
companyreg/src/model/UploadIcpBasicMaterialResult.cc
Normal file
44
companyreg/src/model/UploadIcpBasicMaterialResult.cc
Normal 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/UploadIcpBasicMaterialResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Companyreg;
|
||||
using namespace AlibabaCloud::Companyreg::Model;
|
||||
|
||||
UploadIcpBasicMaterialResult::UploadIcpBasicMaterialResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UploadIcpBasicMaterialResult::UploadIcpBasicMaterialResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UploadIcpBasicMaterialResult::~UploadIcpBasicMaterialResult()
|
||||
{}
|
||||
|
||||
void UploadIcpBasicMaterialResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
62
companyreg/src/model/WriteCommunicationLogRequest.cc
Normal file
62
companyreg/src/model/WriteCommunicationLogRequest.cc
Normal 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/WriteCommunicationLogRequest.h>
|
||||
|
||||
using AlibabaCloud::Companyreg::Model::WriteCommunicationLogRequest;
|
||||
|
||||
WriteCommunicationLogRequest::WriteCommunicationLogRequest() :
|
||||
RpcServiceRequest("companyreg", "2019-05-08", "WriteCommunicationLog")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
WriteCommunicationLogRequest::~WriteCommunicationLogRequest()
|
||||
{}
|
||||
|
||||
std::string WriteCommunicationLogRequest::getNote()const
|
||||
{
|
||||
return note_;
|
||||
}
|
||||
|
||||
void WriteCommunicationLogRequest::setNote(const std::string& note)
|
||||
{
|
||||
note_ = note;
|
||||
setParameter("Note", note);
|
||||
}
|
||||
|
||||
std::string WriteCommunicationLogRequest::getTargetId()const
|
||||
{
|
||||
return targetId_;
|
||||
}
|
||||
|
||||
void WriteCommunicationLogRequest::setTargetId(const std::string& targetId)
|
||||
{
|
||||
targetId_ = targetId;
|
||||
setParameter("TargetId", targetId);
|
||||
}
|
||||
|
||||
std::string WriteCommunicationLogRequest::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
void WriteCommunicationLogRequest::setBizId(const std::string& bizId)
|
||||
{
|
||||
bizId_ = bizId;
|
||||
setParameter("BizId", bizId);
|
||||
}
|
||||
|
||||
65
companyreg/src/model/WriteCommunicationLogResult.cc
Normal file
65
companyreg/src/model/WriteCommunicationLogResult.cc
Normal 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/WriteCommunicationLogResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Companyreg;
|
||||
using namespace AlibabaCloud::Companyreg::Model;
|
||||
|
||||
WriteCommunicationLogResult::WriteCommunicationLogResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
WriteCommunicationLogResult::WriteCommunicationLogResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
WriteCommunicationLogResult::~WriteCommunicationLogResult()
|
||||
{}
|
||||
|
||||
void WriteCommunicationLogResult::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 WriteCommunicationLogResult::getErrorMsg()const
|
||||
{
|
||||
return errorMsg_;
|
||||
}
|
||||
|
||||
std::string WriteCommunicationLogResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool WriteCommunicationLogResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user