Compare commits

..

10 Commits

Author SHA1 Message Date
haowei.yao
eea054f3c4 YUNDUN SDK Auto Released By shenshi,Version:1.34.35
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 18:02:59 +08:00
zhangzifa
619a7827de timeout support when create client or make request 2019-03-15 17:20:18 +08:00
haowei.yao
8c9353a007 UBSMS SDK Auto Released By shenshi,Version:1.34.34
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 16:33:42 +08:00
haowei.yao
191f3c859f SNSUAPI SDK Auto Released By shenshi,Version:1.34.33
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 16:23:30 +08:00
haowei.yao
4a0a5164c7 RTC SDK Auto Released By shenshi,Version:1.34.32
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 16:02:06 +08:00
haowei.yao
7f97b2de78 OPENANALYTICS SDK Auto Released By shenshi,Version:1.34.31
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 15:50:09 +08:00
haowei.yao
e0174350ec FINMALL SDK Auto Released By shenshi,Version:1.34.30
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 15:35:52 +08:00
haowei.yao
f3507a5be6 CLOUDPHOTO SDK Auto Released By shenshi,Version:1.34.29
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 13:32:41 +08:00
haowei.yao
e9b2a0c830 PVTZ SDK Auto Released By shenshi,Version:1.34.28
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 12:18:40 +08:00
haowei.yao
e62af34b2a CR SDK Auto Released By shenshi,Version:1.34.27
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-15 11:24:49 +08:00
372 changed files with 26462 additions and 1250 deletions

1
.gitignore vendored
View File

@@ -7,6 +7,7 @@ Testing/
ft_build/
ut_build/
sdk_build/
examples/build/
test/httpserver/node_modules
test/httpserver/package-lock.json
test/httpserver/nohup.out

View File

@@ -1,3 +1,30 @@
2019-03-15 Version: 1.34.35
1, Update Dependency
2019-03-15 Version: 1.34.34
1, Update Dependency
2019-03-15 Version: 1.34.33
1, Update Dependency
2019-03-15 Version: 1.34.32
1, Update Dependency
2019-03-15 Version: 1.34.31
1, Update Dependency
2019-03-15 Version: 1.34.30
1, Update Dependency
2019-03-15 Version: 1.34.29
1, Update Dependency
2019-03-15 Version: 1.34.28
1, Update Dependency
2019-03-15 Version: 1.34.27
1, Update Dependency
2019-03-15 Version: 1.34.26
1, Update Dependency

View File

@@ -37,9 +37,10 @@ if(BUILD_UNIT_TESTS)
endif()
if(BUILD_FUNCTION_TESTS)
enable_testing()
add_subdirectory(test/function_test/cdn)
enable_testing()
add_subdirectory(test/function_test/cdn)
add_subdirectory(test/function_test/core)
add_subdirectory(test/function_test/cs)
add_subdirectory(test/function_test/ecs)
add_subdirectory(test/function_test/nlp)
add_subdirectory(test/function_test/rds)
@@ -90,13 +91,19 @@ add_subdirectory(saf)
add_subdirectory(arms)
add_subdirectory(lubancloud)
add_subdirectory(alimt)
add_subdirectory(xspace)
add_subdirectory(jarvis-public)
add_subdirectory(cbn)
add_subdirectory(emr)
add_subdirectory(ram)
add_subdirectory(sts)
add_subdirectory(gpdb)
add_subdirectory(sas-api)
add_subdirectory(cr)
add_subdirectory(finmall)
add_subdirectory(openanalytics)
add_subdirectory(snsuapi)
add_subdirectory(ubsms)
add_subdirectory(xspace)
add_subdirectory(jarvis-public)
add_subdirectory(cbn)
add_subdirectory(emr)
add_subdirectory(ram)
add_subdirectory(sts)
add_subdirectory(gpdb)
add_subdirectory(sas-api)
add_subdirectory(cr)
add_subdirectory(yundun)

View File

@@ -157,6 +157,73 @@ Copy the above to ecs_test.cc, then build with the following command.
~$
```
## Timeout Configuration
CPP SDK uses libcurl to do HTTP transfer.
- The following timeout parameters are used to for libcurl.
- `connectTimeout`: timeout for the connect phase. [Refer](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html).
- `readTimeout`: maximum time the request is allowed to take, [Refer](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT_MS.html)
- Default Value
- `connectTimeout`: 5000ms
- `readTimeout`: 10000ms
- You may specify `timeout` parameters when create a client or make a request.
- Request timeout has higher priority than client timeout.
- If you want to disable timeout feature, deliver `0` or `-1` to `setConnectTimeout` and `setReadTimeout`.
The following code shows hot to specify `timeout` parameters, and the final connectTimeout is 1000ms and readTimeout 6000ms.
```cpp
#include <iostream>
#include <alibabacloud/core/AlibabaCloud.h>
#include <alibabacloud/ecs/EcsClient.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Ecs;
int main(int argc, char** argv) {
// Initialize the SDK
AlibabaCloud::InitializeSdk();
// Configure the ECS instance
ClientConfiguration configuration("<your-region-id>");
// specify timeout when create client.
configuration.setConnectTimeout(1500);
configuration.setReadTimeout(4000);
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// Create an API request and set parameters
Model::DescribeInstancesRequest request;
request.setPageSize(10);
// specify timeout when request
request.setConnectTimeout(1000);
request.setReadTimeout(6000);
auto outcome = client.describeInstances(request);
if (!outcome.isSuccess()) {
// Handle exceptions
std::cout << outcome.error().errorCode() << std::endl;
AlibabaCloud::ShutdownSdk();
return -1;
}
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
// Close the SDK
AlibabaCloud::ShutdownSdk();
return 0;
}
```
**More [examples](https://github.com/aliyun/aliyun-openapi-cpp-sdk/tree/master/examples)**
## LICENSE

View File

@@ -165,6 +165,76 @@ Linux 下
~$
```
## Timeout 设置
CPP SDK 使用 libcurl 作为底层 HTTP 传输库。
- 下面两个参数用来传递超时参数到 libcurl。
- `connectTimeout`: 连接超时设置。 [参考](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html).
- `readTimeout`: 传输超时设置。[参考](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT_MS.html)
- 默认值
- connectTimeout: 5000ms
- readTimeout: 10000ms
- 可以在创建 Client 或者发 Requst 设置超时参数。
- Requst 设置优先级高于 Client 设置。
- 输入 0 或者 -1 到 `setConnectTimeout``setReadTimeout` 可以禁用此功能。
下面代码是设置超时参数的例子,由于 Request 优先级高于 Client所以最终 `ConnectTimeout``1000ms` `readTimeout``6000ms`
```cpp
#include <iostream>
#include <alibabacloud/core/AlibabaCloud.h>
#include <alibabacloud/ecs/EcsClient.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Ecs;
int main(int argc, char** argv) {
// Initialize the SDK
AlibabaCloud::InitializeSdk();
// Configure the ECS instance
ClientConfiguration configuration("<your-region-id>");
// specify timeout when create client.
configuration.setConnectTimeout(1500);
configuration.setReadTimeout(4000);
EcsClient client("<your-access-key-id>", "<your-access-key-secret>", configuration);
// Create an API request and set parameters
Model::DescribeInstancesRequest request;
request.setPageSize(10);
// specify timeout when request
request.setConnectTimeout(1000);
request.setReadTimeout(6000);
auto outcome = client.describeInstances(request);
if (!outcome.isSuccess()) {
// Handle exceptions
std::cout << outcome.error().errorCode() << std::endl;
AlibabaCloud::ShutdownSdk();
return -1;
}
std::cout << "totalCount: " << outcome.result().getTotalCount() << std::endl;
// Close the SDK
AlibabaCloud::ShutdownSdk();
return 0;
}
```
**更多 [例程](https://github.com/aliyun/aliyun-openapi-cpp-sdk/tree/master/examples) 请(参考)[https://github.com/aliyun/aliyun-openapi-cpp-sdk/blob/master/examples/README_zh.md]**
## 许可协议

View File

@@ -1 +1 @@
1.34.26
1.34.35

View File

@@ -23,10 +23,10 @@ set(cloudphoto_public_header
set(cloudphoto_public_header_model
include/alibabacloud/cloudphoto/model/RemoveFacePhotosRequest.h
include/alibabacloud/cloudphoto/model/RemoveFacePhotosResult.h
include/alibabacloud/cloudphoto/model/ReactivatePhotosRequest.h
include/alibabacloud/cloudphoto/model/ReactivatePhotosResult.h
include/alibabacloud/cloudphoto/model/GetQuotaRequest.h
include/alibabacloud/cloudphoto/model/GetQuotaResult.h
include/alibabacloud/cloudphoto/model/ReactivatePhotosRequest.h
include/alibabacloud/cloudphoto/model/ReactivatePhotosResult.h
include/alibabacloud/cloudphoto/model/GetThumbnailsRequest.h
include/alibabacloud/cloudphoto/model/GetThumbnailsResult.h
include/alibabacloud/cloudphoto/model/DeleteFacesRequest.h
@@ -39,40 +39,40 @@ set(cloudphoto_public_header_model
include/alibabacloud/cloudphoto/model/MoveFacePhotosResult.h
include/alibabacloud/cloudphoto/model/DeleteEventRequest.h
include/alibabacloud/cloudphoto/model/DeleteEventResult.h
include/alibabacloud/cloudphoto/model/ListPhotosRequest.h
include/alibabacloud/cloudphoto/model/ListPhotosResult.h
include/alibabacloud/cloudphoto/model/RegisterTagRequest.h
include/alibabacloud/cloudphoto/model/RegisterTagResult.h
include/alibabacloud/cloudphoto/model/ListTimeLinePhotosRequest.h
include/alibabacloud/cloudphoto/model/ListTimeLinePhotosResult.h
include/alibabacloud/cloudphoto/model/ListPhotosRequest.h
include/alibabacloud/cloudphoto/model/ListPhotosResult.h
include/alibabacloud/cloudphoto/model/FetchMomentPhotosRequest.h
include/alibabacloud/cloudphoto/model/FetchMomentPhotosResult.h
include/alibabacloud/cloudphoto/model/ListTimeLinePhotosRequest.h
include/alibabacloud/cloudphoto/model/ListTimeLinePhotosResult.h
include/alibabacloud/cloudphoto/model/DeletePhotosRequest.h
include/alibabacloud/cloudphoto/model/DeletePhotosResult.h
include/alibabacloud/cloudphoto/model/MergeFacesRequest.h
include/alibabacloud/cloudphoto/model/MergeFacesResult.h
include/alibabacloud/cloudphoto/model/GetPhotosByMd5sRequest.h
include/alibabacloud/cloudphoto/model/GetPhotosByMd5sResult.h
include/alibabacloud/cloudphoto/model/MergeFacesRequest.h
include/alibabacloud/cloudphoto/model/MergeFacesResult.h
include/alibabacloud/cloudphoto/model/FetchLibrariesRequest.h
include/alibabacloud/cloudphoto/model/FetchLibrariesResult.h
include/alibabacloud/cloudphoto/model/FetchAlbumTagPhotosRequest.h
include/alibabacloud/cloudphoto/model/FetchAlbumTagPhotosResult.h
include/alibabacloud/cloudphoto/model/CreateTransactionRequest.h
include/alibabacloud/cloudphoto/model/CreateTransactionResult.h
include/alibabacloud/cloudphoto/model/InactivatePhotosRequest.h
include/alibabacloud/cloudphoto/model/InactivatePhotosResult.h
include/alibabacloud/cloudphoto/model/CreateTransactionRequest.h
include/alibabacloud/cloudphoto/model/CreateTransactionResult.h
include/alibabacloud/cloudphoto/model/GetLibraryRequest.h
include/alibabacloud/cloudphoto/model/GetLibraryResult.h
include/alibabacloud/cloudphoto/model/CreatePhotoStoreRequest.h
include/alibabacloud/cloudphoto/model/CreatePhotoStoreResult.h
include/alibabacloud/cloudphoto/model/TagPhotoRequest.h
include/alibabacloud/cloudphoto/model/TagPhotoResult.h
include/alibabacloud/cloudphoto/model/GetLibraryRequest.h
include/alibabacloud/cloudphoto/model/GetLibraryResult.h
include/alibabacloud/cloudphoto/model/SetQuotaRequest.h
include/alibabacloud/cloudphoto/model/SetQuotaResult.h
include/alibabacloud/cloudphoto/model/ListAlbumPhotosRequest.h
include/alibabacloud/cloudphoto/model/ListAlbumPhotosResult.h
include/alibabacloud/cloudphoto/model/RemoveAlbumPhotosRequest.h
include/alibabacloud/cloudphoto/model/RemoveAlbumPhotosResult.h
include/alibabacloud/cloudphoto/model/ListAlbumPhotosRequest.h
include/alibabacloud/cloudphoto/model/ListAlbumPhotosResult.h
include/alibabacloud/cloudphoto/model/ListAlbumsRequest.h
include/alibabacloud/cloudphoto/model/ListAlbumsResult.h
include/alibabacloud/cloudphoto/model/FetchPhotosRequest.h
@@ -85,10 +85,10 @@ set(cloudphoto_public_header_model
include/alibabacloud/cloudphoto/model/ActivatePhotosResult.h
include/alibabacloud/cloudphoto/model/GetPrivateAccessUrlsRequest.h
include/alibabacloud/cloudphoto/model/GetPrivateAccessUrlsResult.h
include/alibabacloud/cloudphoto/model/GetSimilarPhotosRequest.h
include/alibabacloud/cloudphoto/model/GetSimilarPhotosResult.h
include/alibabacloud/cloudphoto/model/ListEventsRequest.h
include/alibabacloud/cloudphoto/model/ListEventsResult.h
include/alibabacloud/cloudphoto/model/GetSimilarPhotosRequest.h
include/alibabacloud/cloudphoto/model/GetSimilarPhotosResult.h
include/alibabacloud/cloudphoto/model/GetVideoCoverRequest.h
include/alibabacloud/cloudphoto/model/GetVideoCoverResult.h
include/alibabacloud/cloudphoto/model/GetFramedPhotoUrlsRequest.h
@@ -103,10 +103,10 @@ set(cloudphoto_public_header_model
include/alibabacloud/cloudphoto/model/DeleteAlbumsResult.h
include/alibabacloud/cloudphoto/model/GetDownloadUrlsRequest.h
include/alibabacloud/cloudphoto/model/GetDownloadUrlsResult.h
include/alibabacloud/cloudphoto/model/GetPhotosRequest.h
include/alibabacloud/cloudphoto/model/GetPhotosResult.h
include/alibabacloud/cloudphoto/model/RegisterPhotoRequest.h
include/alibabacloud/cloudphoto/model/RegisterPhotoResult.h
include/alibabacloud/cloudphoto/model/GetPhotosRequest.h
include/alibabacloud/cloudphoto/model/GetPhotosResult.h
include/alibabacloud/cloudphoto/model/EditPhotoStoreRequest.h
include/alibabacloud/cloudphoto/model/EditPhotoStoreResult.h
include/alibabacloud/cloudphoto/model/ListTimeLinesRequest.h
@@ -166,10 +166,10 @@ set(cloudphoto_src
src/CloudPhotoClient.cc
src/model/RemoveFacePhotosRequest.cc
src/model/RemoveFacePhotosResult.cc
src/model/ReactivatePhotosRequest.cc
src/model/ReactivatePhotosResult.cc
src/model/GetQuotaRequest.cc
src/model/GetQuotaResult.cc
src/model/ReactivatePhotosRequest.cc
src/model/ReactivatePhotosResult.cc
src/model/GetThumbnailsRequest.cc
src/model/GetThumbnailsResult.cc
src/model/DeleteFacesRequest.cc
@@ -182,40 +182,40 @@ set(cloudphoto_src
src/model/MoveFacePhotosResult.cc
src/model/DeleteEventRequest.cc
src/model/DeleteEventResult.cc
src/model/ListPhotosRequest.cc
src/model/ListPhotosResult.cc
src/model/RegisterTagRequest.cc
src/model/RegisterTagResult.cc
src/model/ListTimeLinePhotosRequest.cc
src/model/ListTimeLinePhotosResult.cc
src/model/ListPhotosRequest.cc
src/model/ListPhotosResult.cc
src/model/FetchMomentPhotosRequest.cc
src/model/FetchMomentPhotosResult.cc
src/model/ListTimeLinePhotosRequest.cc
src/model/ListTimeLinePhotosResult.cc
src/model/DeletePhotosRequest.cc
src/model/DeletePhotosResult.cc
src/model/MergeFacesRequest.cc
src/model/MergeFacesResult.cc
src/model/GetPhotosByMd5sRequest.cc
src/model/GetPhotosByMd5sResult.cc
src/model/MergeFacesRequest.cc
src/model/MergeFacesResult.cc
src/model/FetchLibrariesRequest.cc
src/model/FetchLibrariesResult.cc
src/model/FetchAlbumTagPhotosRequest.cc
src/model/FetchAlbumTagPhotosResult.cc
src/model/CreateTransactionRequest.cc
src/model/CreateTransactionResult.cc
src/model/InactivatePhotosRequest.cc
src/model/InactivatePhotosResult.cc
src/model/CreateTransactionRequest.cc
src/model/CreateTransactionResult.cc
src/model/GetLibraryRequest.cc
src/model/GetLibraryResult.cc
src/model/CreatePhotoStoreRequest.cc
src/model/CreatePhotoStoreResult.cc
src/model/TagPhotoRequest.cc
src/model/TagPhotoResult.cc
src/model/GetLibraryRequest.cc
src/model/GetLibraryResult.cc
src/model/SetQuotaRequest.cc
src/model/SetQuotaResult.cc
src/model/ListAlbumPhotosRequest.cc
src/model/ListAlbumPhotosResult.cc
src/model/RemoveAlbumPhotosRequest.cc
src/model/RemoveAlbumPhotosResult.cc
src/model/ListAlbumPhotosRequest.cc
src/model/ListAlbumPhotosResult.cc
src/model/ListAlbumsRequest.cc
src/model/ListAlbumsResult.cc
src/model/FetchPhotosRequest.cc
@@ -228,10 +228,10 @@ set(cloudphoto_src
src/model/ActivatePhotosResult.cc
src/model/GetPrivateAccessUrlsRequest.cc
src/model/GetPrivateAccessUrlsResult.cc
src/model/GetSimilarPhotosRequest.cc
src/model/GetSimilarPhotosResult.cc
src/model/ListEventsRequest.cc
src/model/ListEventsResult.cc
src/model/GetSimilarPhotosRequest.cc
src/model/GetSimilarPhotosResult.cc
src/model/GetVideoCoverRequest.cc
src/model/GetVideoCoverResult.cc
src/model/GetFramedPhotoUrlsRequest.cc
@@ -246,10 +246,10 @@ set(cloudphoto_src
src/model/DeleteAlbumsResult.cc
src/model/GetDownloadUrlsRequest.cc
src/model/GetDownloadUrlsResult.cc
src/model/GetPhotosRequest.cc
src/model/GetPhotosResult.cc
src/model/RegisterPhotoRequest.cc
src/model/RegisterPhotoResult.cc
src/model/GetPhotosRequest.cc
src/model/GetPhotosResult.cc
src/model/EditPhotoStoreRequest.cc
src/model/EditPhotoStoreResult.cc
src/model/ListTimeLinesRequest.cc

View File

@@ -24,10 +24,10 @@
#include "CloudPhotoExport.h"
#include "model/RemoveFacePhotosRequest.h"
#include "model/RemoveFacePhotosResult.h"
#include "model/ReactivatePhotosRequest.h"
#include "model/ReactivatePhotosResult.h"
#include "model/GetQuotaRequest.h"
#include "model/GetQuotaResult.h"
#include "model/ReactivatePhotosRequest.h"
#include "model/ReactivatePhotosResult.h"
#include "model/GetThumbnailsRequest.h"
#include "model/GetThumbnailsResult.h"
#include "model/DeleteFacesRequest.h"
@@ -40,40 +40,40 @@
#include "model/MoveFacePhotosResult.h"
#include "model/DeleteEventRequest.h"
#include "model/DeleteEventResult.h"
#include "model/ListPhotosRequest.h"
#include "model/ListPhotosResult.h"
#include "model/RegisterTagRequest.h"
#include "model/RegisterTagResult.h"
#include "model/ListTimeLinePhotosRequest.h"
#include "model/ListTimeLinePhotosResult.h"
#include "model/ListPhotosRequest.h"
#include "model/ListPhotosResult.h"
#include "model/FetchMomentPhotosRequest.h"
#include "model/FetchMomentPhotosResult.h"
#include "model/ListTimeLinePhotosRequest.h"
#include "model/ListTimeLinePhotosResult.h"
#include "model/DeletePhotosRequest.h"
#include "model/DeletePhotosResult.h"
#include "model/MergeFacesRequest.h"
#include "model/MergeFacesResult.h"
#include "model/GetPhotosByMd5sRequest.h"
#include "model/GetPhotosByMd5sResult.h"
#include "model/MergeFacesRequest.h"
#include "model/MergeFacesResult.h"
#include "model/FetchLibrariesRequest.h"
#include "model/FetchLibrariesResult.h"
#include "model/FetchAlbumTagPhotosRequest.h"
#include "model/FetchAlbumTagPhotosResult.h"
#include "model/CreateTransactionRequest.h"
#include "model/CreateTransactionResult.h"
#include "model/InactivatePhotosRequest.h"
#include "model/InactivatePhotosResult.h"
#include "model/CreateTransactionRequest.h"
#include "model/CreateTransactionResult.h"
#include "model/GetLibraryRequest.h"
#include "model/GetLibraryResult.h"
#include "model/CreatePhotoStoreRequest.h"
#include "model/CreatePhotoStoreResult.h"
#include "model/TagPhotoRequest.h"
#include "model/TagPhotoResult.h"
#include "model/GetLibraryRequest.h"
#include "model/GetLibraryResult.h"
#include "model/SetQuotaRequest.h"
#include "model/SetQuotaResult.h"
#include "model/ListAlbumPhotosRequest.h"
#include "model/ListAlbumPhotosResult.h"
#include "model/RemoveAlbumPhotosRequest.h"
#include "model/RemoveAlbumPhotosResult.h"
#include "model/ListAlbumPhotosRequest.h"
#include "model/ListAlbumPhotosResult.h"
#include "model/ListAlbumsRequest.h"
#include "model/ListAlbumsResult.h"
#include "model/FetchPhotosRequest.h"
@@ -86,10 +86,10 @@
#include "model/ActivatePhotosResult.h"
#include "model/GetPrivateAccessUrlsRequest.h"
#include "model/GetPrivateAccessUrlsResult.h"
#include "model/GetSimilarPhotosRequest.h"
#include "model/GetSimilarPhotosResult.h"
#include "model/ListEventsRequest.h"
#include "model/ListEventsResult.h"
#include "model/GetSimilarPhotosRequest.h"
#include "model/GetSimilarPhotosResult.h"
#include "model/GetVideoCoverRequest.h"
#include "model/GetVideoCoverResult.h"
#include "model/GetFramedPhotoUrlsRequest.h"
@@ -104,10 +104,10 @@
#include "model/DeleteAlbumsResult.h"
#include "model/GetDownloadUrlsRequest.h"
#include "model/GetDownloadUrlsResult.h"
#include "model/GetPhotosRequest.h"
#include "model/GetPhotosResult.h"
#include "model/RegisterPhotoRequest.h"
#include "model/RegisterPhotoResult.h"
#include "model/GetPhotosRequest.h"
#include "model/GetPhotosResult.h"
#include "model/EditPhotoStoreRequest.h"
#include "model/EditPhotoStoreResult.h"
#include "model/ListTimeLinesRequest.h"
@@ -174,12 +174,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RemoveFacePhotosResult> RemoveFacePhotosOutcome;
typedef std::future<RemoveFacePhotosOutcome> RemoveFacePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::RemoveFacePhotosRequest&, const RemoveFacePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveFacePhotosAsyncHandler;
typedef Outcome<Error, Model::ReactivatePhotosResult> ReactivatePhotosOutcome;
typedef std::future<ReactivatePhotosOutcome> ReactivatePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ReactivatePhotosRequest&, const ReactivatePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReactivatePhotosAsyncHandler;
typedef Outcome<Error, Model::GetQuotaResult> GetQuotaOutcome;
typedef std::future<GetQuotaOutcome> GetQuotaOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetQuotaRequest&, const GetQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetQuotaAsyncHandler;
typedef Outcome<Error, Model::ReactivatePhotosResult> ReactivatePhotosOutcome;
typedef std::future<ReactivatePhotosOutcome> ReactivatePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ReactivatePhotosRequest&, const ReactivatePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReactivatePhotosAsyncHandler;
typedef Outcome<Error, Model::GetThumbnailsResult> GetThumbnailsOutcome;
typedef std::future<GetThumbnailsOutcome> GetThumbnailsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetThumbnailsRequest&, const GetThumbnailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetThumbnailsAsyncHandler;
@@ -198,57 +198,57 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteEventResult> DeleteEventOutcome;
typedef std::future<DeleteEventOutcome> DeleteEventOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::DeleteEventRequest&, const DeleteEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEventAsyncHandler;
typedef Outcome<Error, Model::ListPhotosResult> ListPhotosOutcome;
typedef std::future<ListPhotosOutcome> ListPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListPhotosRequest&, const ListPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhotosAsyncHandler;
typedef Outcome<Error, Model::RegisterTagResult> RegisterTagOutcome;
typedef std::future<RegisterTagOutcome> RegisterTagOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::RegisterTagRequest&, const RegisterTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterTagAsyncHandler;
typedef Outcome<Error, Model::ListTimeLinePhotosResult> ListTimeLinePhotosOutcome;
typedef std::future<ListTimeLinePhotosOutcome> ListTimeLinePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListTimeLinePhotosRequest&, const ListTimeLinePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTimeLinePhotosAsyncHandler;
typedef Outcome<Error, Model::ListPhotosResult> ListPhotosOutcome;
typedef std::future<ListPhotosOutcome> ListPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListPhotosRequest&, const ListPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhotosAsyncHandler;
typedef Outcome<Error, Model::FetchMomentPhotosResult> FetchMomentPhotosOutcome;
typedef std::future<FetchMomentPhotosOutcome> FetchMomentPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::FetchMomentPhotosRequest&, const FetchMomentPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FetchMomentPhotosAsyncHandler;
typedef Outcome<Error, Model::ListTimeLinePhotosResult> ListTimeLinePhotosOutcome;
typedef std::future<ListTimeLinePhotosOutcome> ListTimeLinePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListTimeLinePhotosRequest&, const ListTimeLinePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTimeLinePhotosAsyncHandler;
typedef Outcome<Error, Model::DeletePhotosResult> DeletePhotosOutcome;
typedef std::future<DeletePhotosOutcome> DeletePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::DeletePhotosRequest&, const DeletePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePhotosAsyncHandler;
typedef Outcome<Error, Model::MergeFacesResult> MergeFacesOutcome;
typedef std::future<MergeFacesOutcome> MergeFacesOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::MergeFacesRequest&, const MergeFacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MergeFacesAsyncHandler;
typedef Outcome<Error, Model::GetPhotosByMd5sResult> GetPhotosByMd5sOutcome;
typedef std::future<GetPhotosByMd5sOutcome> GetPhotosByMd5sOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetPhotosByMd5sRequest&, const GetPhotosByMd5sOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPhotosByMd5sAsyncHandler;
typedef Outcome<Error, Model::MergeFacesResult> MergeFacesOutcome;
typedef std::future<MergeFacesOutcome> MergeFacesOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::MergeFacesRequest&, const MergeFacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MergeFacesAsyncHandler;
typedef Outcome<Error, Model::FetchLibrariesResult> FetchLibrariesOutcome;
typedef std::future<FetchLibrariesOutcome> FetchLibrariesOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::FetchLibrariesRequest&, const FetchLibrariesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FetchLibrariesAsyncHandler;
typedef Outcome<Error, Model::FetchAlbumTagPhotosResult> FetchAlbumTagPhotosOutcome;
typedef std::future<FetchAlbumTagPhotosOutcome> FetchAlbumTagPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::FetchAlbumTagPhotosRequest&, const FetchAlbumTagPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FetchAlbumTagPhotosAsyncHandler;
typedef Outcome<Error, Model::CreateTransactionResult> CreateTransactionOutcome;
typedef std::future<CreateTransactionOutcome> CreateTransactionOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::CreateTransactionRequest&, const CreateTransactionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTransactionAsyncHandler;
typedef Outcome<Error, Model::InactivatePhotosResult> InactivatePhotosOutcome;
typedef std::future<InactivatePhotosOutcome> InactivatePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::InactivatePhotosRequest&, const InactivatePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InactivatePhotosAsyncHandler;
typedef Outcome<Error, Model::CreateTransactionResult> CreateTransactionOutcome;
typedef std::future<CreateTransactionOutcome> CreateTransactionOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::CreateTransactionRequest&, const CreateTransactionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTransactionAsyncHandler;
typedef Outcome<Error, Model::GetLibraryResult> GetLibraryOutcome;
typedef std::future<GetLibraryOutcome> GetLibraryOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetLibraryRequest&, const GetLibraryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLibraryAsyncHandler;
typedef Outcome<Error, Model::CreatePhotoStoreResult> CreatePhotoStoreOutcome;
typedef std::future<CreatePhotoStoreOutcome> CreatePhotoStoreOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::CreatePhotoStoreRequest&, const CreatePhotoStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePhotoStoreAsyncHandler;
typedef Outcome<Error, Model::TagPhotoResult> TagPhotoOutcome;
typedef std::future<TagPhotoOutcome> TagPhotoOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::TagPhotoRequest&, const TagPhotoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagPhotoAsyncHandler;
typedef Outcome<Error, Model::GetLibraryResult> GetLibraryOutcome;
typedef std::future<GetLibraryOutcome> GetLibraryOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetLibraryRequest&, const GetLibraryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLibraryAsyncHandler;
typedef Outcome<Error, Model::SetQuotaResult> SetQuotaOutcome;
typedef std::future<SetQuotaOutcome> SetQuotaOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::SetQuotaRequest&, const SetQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetQuotaAsyncHandler;
typedef Outcome<Error, Model::ListAlbumPhotosResult> ListAlbumPhotosOutcome;
typedef std::future<ListAlbumPhotosOutcome> ListAlbumPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListAlbumPhotosRequest&, const ListAlbumPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAlbumPhotosAsyncHandler;
typedef Outcome<Error, Model::RemoveAlbumPhotosResult> RemoveAlbumPhotosOutcome;
typedef std::future<RemoveAlbumPhotosOutcome> RemoveAlbumPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::RemoveAlbumPhotosRequest&, const RemoveAlbumPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveAlbumPhotosAsyncHandler;
typedef Outcome<Error, Model::ListAlbumPhotosResult> ListAlbumPhotosOutcome;
typedef std::future<ListAlbumPhotosOutcome> ListAlbumPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListAlbumPhotosRequest&, const ListAlbumPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAlbumPhotosAsyncHandler;
typedef Outcome<Error, Model::ListAlbumsResult> ListAlbumsOutcome;
typedef std::future<ListAlbumsOutcome> ListAlbumsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListAlbumsRequest&, const ListAlbumsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAlbumsAsyncHandler;
@@ -267,12 +267,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetPrivateAccessUrlsResult> GetPrivateAccessUrlsOutcome;
typedef std::future<GetPrivateAccessUrlsOutcome> GetPrivateAccessUrlsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetPrivateAccessUrlsRequest&, const GetPrivateAccessUrlsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPrivateAccessUrlsAsyncHandler;
typedef Outcome<Error, Model::GetSimilarPhotosResult> GetSimilarPhotosOutcome;
typedef std::future<GetSimilarPhotosOutcome> GetSimilarPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetSimilarPhotosRequest&, const GetSimilarPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSimilarPhotosAsyncHandler;
typedef Outcome<Error, Model::ListEventsResult> ListEventsOutcome;
typedef std::future<ListEventsOutcome> ListEventsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListEventsRequest&, const ListEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListEventsAsyncHandler;
typedef Outcome<Error, Model::GetSimilarPhotosResult> GetSimilarPhotosOutcome;
typedef std::future<GetSimilarPhotosOutcome> GetSimilarPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetSimilarPhotosRequest&, const GetSimilarPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSimilarPhotosAsyncHandler;
typedef Outcome<Error, Model::GetVideoCoverResult> GetVideoCoverOutcome;
typedef std::future<GetVideoCoverOutcome> GetVideoCoverOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetVideoCoverRequest&, const GetVideoCoverOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVideoCoverAsyncHandler;
@@ -294,12 +294,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetDownloadUrlsResult> GetDownloadUrlsOutcome;
typedef std::future<GetDownloadUrlsOutcome> GetDownloadUrlsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetDownloadUrlsRequest&, const GetDownloadUrlsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDownloadUrlsAsyncHandler;
typedef Outcome<Error, Model::GetPhotosResult> GetPhotosOutcome;
typedef std::future<GetPhotosOutcome> GetPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetPhotosRequest&, const GetPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPhotosAsyncHandler;
typedef Outcome<Error, Model::RegisterPhotoResult> RegisterPhotoOutcome;
typedef std::future<RegisterPhotoOutcome> RegisterPhotoOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::RegisterPhotoRequest&, const RegisterPhotoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterPhotoAsyncHandler;
typedef Outcome<Error, Model::GetPhotosResult> GetPhotosOutcome;
typedef std::future<GetPhotosOutcome> GetPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetPhotosRequest&, const GetPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPhotosAsyncHandler;
typedef Outcome<Error, Model::EditPhotoStoreResult> EditPhotoStoreOutcome;
typedef std::future<EditPhotoStoreOutcome> EditPhotoStoreOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::EditPhotoStoreRequest&, const EditPhotoStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EditPhotoStoreAsyncHandler;
@@ -389,12 +389,12 @@ namespace AlibabaCloud
RemoveFacePhotosOutcome removeFacePhotos(const Model::RemoveFacePhotosRequest &request)const;
void removeFacePhotosAsync(const Model::RemoveFacePhotosRequest& request, const RemoveFacePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveFacePhotosOutcomeCallable removeFacePhotosCallable(const Model::RemoveFacePhotosRequest& request) const;
ReactivatePhotosOutcome reactivatePhotos(const Model::ReactivatePhotosRequest &request)const;
void reactivatePhotosAsync(const Model::ReactivatePhotosRequest& request, const ReactivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReactivatePhotosOutcomeCallable reactivatePhotosCallable(const Model::ReactivatePhotosRequest& request) const;
GetQuotaOutcome getQuota(const Model::GetQuotaRequest &request)const;
void getQuotaAsync(const Model::GetQuotaRequest& request, const GetQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetQuotaOutcomeCallable getQuotaCallable(const Model::GetQuotaRequest& request) const;
ReactivatePhotosOutcome reactivatePhotos(const Model::ReactivatePhotosRequest &request)const;
void reactivatePhotosAsync(const Model::ReactivatePhotosRequest& request, const ReactivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReactivatePhotosOutcomeCallable reactivatePhotosCallable(const Model::ReactivatePhotosRequest& request) const;
GetThumbnailsOutcome getThumbnails(const Model::GetThumbnailsRequest &request)const;
void getThumbnailsAsync(const Model::GetThumbnailsRequest& request, const GetThumbnailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetThumbnailsOutcomeCallable getThumbnailsCallable(const Model::GetThumbnailsRequest& request) const;
@@ -413,57 +413,57 @@ namespace AlibabaCloud
DeleteEventOutcome deleteEvent(const Model::DeleteEventRequest &request)const;
void deleteEventAsync(const Model::DeleteEventRequest& request, const DeleteEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteEventOutcomeCallable deleteEventCallable(const Model::DeleteEventRequest& request) const;
ListPhotosOutcome listPhotos(const Model::ListPhotosRequest &request)const;
void listPhotosAsync(const Model::ListPhotosRequest& request, const ListPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPhotosOutcomeCallable listPhotosCallable(const Model::ListPhotosRequest& request) const;
RegisterTagOutcome registerTag(const Model::RegisterTagRequest &request)const;
void registerTagAsync(const Model::RegisterTagRequest& request, const RegisterTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegisterTagOutcomeCallable registerTagCallable(const Model::RegisterTagRequest& request) const;
ListTimeLinePhotosOutcome listTimeLinePhotos(const Model::ListTimeLinePhotosRequest &request)const;
void listTimeLinePhotosAsync(const Model::ListTimeLinePhotosRequest& request, const ListTimeLinePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTimeLinePhotosOutcomeCallable listTimeLinePhotosCallable(const Model::ListTimeLinePhotosRequest& request) const;
ListPhotosOutcome listPhotos(const Model::ListPhotosRequest &request)const;
void listPhotosAsync(const Model::ListPhotosRequest& request, const ListPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPhotosOutcomeCallable listPhotosCallable(const Model::ListPhotosRequest& request) const;
FetchMomentPhotosOutcome fetchMomentPhotos(const Model::FetchMomentPhotosRequest &request)const;
void fetchMomentPhotosAsync(const Model::FetchMomentPhotosRequest& request, const FetchMomentPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FetchMomentPhotosOutcomeCallable fetchMomentPhotosCallable(const Model::FetchMomentPhotosRequest& request) const;
ListTimeLinePhotosOutcome listTimeLinePhotos(const Model::ListTimeLinePhotosRequest &request)const;
void listTimeLinePhotosAsync(const Model::ListTimeLinePhotosRequest& request, const ListTimeLinePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTimeLinePhotosOutcomeCallable listTimeLinePhotosCallable(const Model::ListTimeLinePhotosRequest& request) const;
DeletePhotosOutcome deletePhotos(const Model::DeletePhotosRequest &request)const;
void deletePhotosAsync(const Model::DeletePhotosRequest& request, const DeletePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeletePhotosOutcomeCallable deletePhotosCallable(const Model::DeletePhotosRequest& request) const;
MergeFacesOutcome mergeFaces(const Model::MergeFacesRequest &request)const;
void mergeFacesAsync(const Model::MergeFacesRequest& request, const MergeFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MergeFacesOutcomeCallable mergeFacesCallable(const Model::MergeFacesRequest& request) const;
GetPhotosByMd5sOutcome getPhotosByMd5s(const Model::GetPhotosByMd5sRequest &request)const;
void getPhotosByMd5sAsync(const Model::GetPhotosByMd5sRequest& request, const GetPhotosByMd5sAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPhotosByMd5sOutcomeCallable getPhotosByMd5sCallable(const Model::GetPhotosByMd5sRequest& request) const;
MergeFacesOutcome mergeFaces(const Model::MergeFacesRequest &request)const;
void mergeFacesAsync(const Model::MergeFacesRequest& request, const MergeFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MergeFacesOutcomeCallable mergeFacesCallable(const Model::MergeFacesRequest& request) const;
FetchLibrariesOutcome fetchLibraries(const Model::FetchLibrariesRequest &request)const;
void fetchLibrariesAsync(const Model::FetchLibrariesRequest& request, const FetchLibrariesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FetchLibrariesOutcomeCallable fetchLibrariesCallable(const Model::FetchLibrariesRequest& request) const;
FetchAlbumTagPhotosOutcome fetchAlbumTagPhotos(const Model::FetchAlbumTagPhotosRequest &request)const;
void fetchAlbumTagPhotosAsync(const Model::FetchAlbumTagPhotosRequest& request, const FetchAlbumTagPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FetchAlbumTagPhotosOutcomeCallable fetchAlbumTagPhotosCallable(const Model::FetchAlbumTagPhotosRequest& request) const;
CreateTransactionOutcome createTransaction(const Model::CreateTransactionRequest &request)const;
void createTransactionAsync(const Model::CreateTransactionRequest& request, const CreateTransactionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTransactionOutcomeCallable createTransactionCallable(const Model::CreateTransactionRequest& request) const;
InactivatePhotosOutcome inactivatePhotos(const Model::InactivatePhotosRequest &request)const;
void inactivatePhotosAsync(const Model::InactivatePhotosRequest& request, const InactivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InactivatePhotosOutcomeCallable inactivatePhotosCallable(const Model::InactivatePhotosRequest& request) const;
CreateTransactionOutcome createTransaction(const Model::CreateTransactionRequest &request)const;
void createTransactionAsync(const Model::CreateTransactionRequest& request, const CreateTransactionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTransactionOutcomeCallable createTransactionCallable(const Model::CreateTransactionRequest& request) const;
GetLibraryOutcome getLibrary(const Model::GetLibraryRequest &request)const;
void getLibraryAsync(const Model::GetLibraryRequest& request, const GetLibraryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetLibraryOutcomeCallable getLibraryCallable(const Model::GetLibraryRequest& request) const;
CreatePhotoStoreOutcome createPhotoStore(const Model::CreatePhotoStoreRequest &request)const;
void createPhotoStoreAsync(const Model::CreatePhotoStoreRequest& request, const CreatePhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreatePhotoStoreOutcomeCallable createPhotoStoreCallable(const Model::CreatePhotoStoreRequest& request) const;
TagPhotoOutcome tagPhoto(const Model::TagPhotoRequest &request)const;
void tagPhotoAsync(const Model::TagPhotoRequest& request, const TagPhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagPhotoOutcomeCallable tagPhotoCallable(const Model::TagPhotoRequest& request) const;
GetLibraryOutcome getLibrary(const Model::GetLibraryRequest &request)const;
void getLibraryAsync(const Model::GetLibraryRequest& request, const GetLibraryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetLibraryOutcomeCallable getLibraryCallable(const Model::GetLibraryRequest& request) const;
SetQuotaOutcome setQuota(const Model::SetQuotaRequest &request)const;
void setQuotaAsync(const Model::SetQuotaRequest& request, const SetQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetQuotaOutcomeCallable setQuotaCallable(const Model::SetQuotaRequest& request) const;
ListAlbumPhotosOutcome listAlbumPhotos(const Model::ListAlbumPhotosRequest &request)const;
void listAlbumPhotosAsync(const Model::ListAlbumPhotosRequest& request, const ListAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAlbumPhotosOutcomeCallable listAlbumPhotosCallable(const Model::ListAlbumPhotosRequest& request) const;
RemoveAlbumPhotosOutcome removeAlbumPhotos(const Model::RemoveAlbumPhotosRequest &request)const;
void removeAlbumPhotosAsync(const Model::RemoveAlbumPhotosRequest& request, const RemoveAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveAlbumPhotosOutcomeCallable removeAlbumPhotosCallable(const Model::RemoveAlbumPhotosRequest& request) const;
ListAlbumPhotosOutcome listAlbumPhotos(const Model::ListAlbumPhotosRequest &request)const;
void listAlbumPhotosAsync(const Model::ListAlbumPhotosRequest& request, const ListAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAlbumPhotosOutcomeCallable listAlbumPhotosCallable(const Model::ListAlbumPhotosRequest& request) const;
ListAlbumsOutcome listAlbums(const Model::ListAlbumsRequest &request)const;
void listAlbumsAsync(const Model::ListAlbumsRequest& request, const ListAlbumsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAlbumsOutcomeCallable listAlbumsCallable(const Model::ListAlbumsRequest& request) const;
@@ -482,12 +482,12 @@ namespace AlibabaCloud
GetPrivateAccessUrlsOutcome getPrivateAccessUrls(const Model::GetPrivateAccessUrlsRequest &request)const;
void getPrivateAccessUrlsAsync(const Model::GetPrivateAccessUrlsRequest& request, const GetPrivateAccessUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPrivateAccessUrlsOutcomeCallable getPrivateAccessUrlsCallable(const Model::GetPrivateAccessUrlsRequest& request) const;
GetSimilarPhotosOutcome getSimilarPhotos(const Model::GetSimilarPhotosRequest &request)const;
void getSimilarPhotosAsync(const Model::GetSimilarPhotosRequest& request, const GetSimilarPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSimilarPhotosOutcomeCallable getSimilarPhotosCallable(const Model::GetSimilarPhotosRequest& request) const;
ListEventsOutcome listEvents(const Model::ListEventsRequest &request)const;
void listEventsAsync(const Model::ListEventsRequest& request, const ListEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListEventsOutcomeCallable listEventsCallable(const Model::ListEventsRequest& request) const;
GetSimilarPhotosOutcome getSimilarPhotos(const Model::GetSimilarPhotosRequest &request)const;
void getSimilarPhotosAsync(const Model::GetSimilarPhotosRequest& request, const GetSimilarPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSimilarPhotosOutcomeCallable getSimilarPhotosCallable(const Model::GetSimilarPhotosRequest& request) const;
GetVideoCoverOutcome getVideoCover(const Model::GetVideoCoverRequest &request)const;
void getVideoCoverAsync(const Model::GetVideoCoverRequest& request, const GetVideoCoverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetVideoCoverOutcomeCallable getVideoCoverCallable(const Model::GetVideoCoverRequest& request) const;
@@ -509,12 +509,12 @@ namespace AlibabaCloud
GetDownloadUrlsOutcome getDownloadUrls(const Model::GetDownloadUrlsRequest &request)const;
void getDownloadUrlsAsync(const Model::GetDownloadUrlsRequest& request, const GetDownloadUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDownloadUrlsOutcomeCallable getDownloadUrlsCallable(const Model::GetDownloadUrlsRequest& request) const;
GetPhotosOutcome getPhotos(const Model::GetPhotosRequest &request)const;
void getPhotosAsync(const Model::GetPhotosRequest& request, const GetPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPhotosOutcomeCallable getPhotosCallable(const Model::GetPhotosRequest& request) const;
RegisterPhotoOutcome registerPhoto(const Model::RegisterPhotoRequest &request)const;
void registerPhotoAsync(const Model::RegisterPhotoRequest& request, const RegisterPhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegisterPhotoOutcomeCallable registerPhotoCallable(const Model::RegisterPhotoRequest& request) const;
GetPhotosOutcome getPhotos(const Model::GetPhotosRequest &request)const;
void getPhotosAsync(const Model::GetPhotosRequest& request, const GetPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPhotosOutcomeCallable getPhotosCallable(const Model::GetPhotosRequest& request) const;
EditPhotoStoreOutcome editPhotoStore(const Model::EditPhotoStoreRequest &request)const;
void editPhotoStoreAsync(const Model::EditPhotoStoreRequest& request, const EditPhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EditPhotoStoreOutcomeCallable editPhotoStoreCallable(const Model::EditPhotoStoreRequest& request) const;

View File

@@ -87,42 +87,6 @@ CloudPhotoClient::RemoveFacePhotosOutcomeCallable CloudPhotoClient::removeFacePh
return task->get_future();
}
CloudPhotoClient::ReactivatePhotosOutcome CloudPhotoClient::reactivatePhotos(const ReactivatePhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ReactivatePhotosOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ReactivatePhotosOutcome(ReactivatePhotosResult(outcome.result()));
else
return ReactivatePhotosOutcome(outcome.error());
}
void CloudPhotoClient::reactivatePhotosAsync(const ReactivatePhotosRequest& request, const ReactivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, reactivatePhotos(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::ReactivatePhotosOutcomeCallable CloudPhotoClient::reactivatePhotosCallable(const ReactivatePhotosRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ReactivatePhotosOutcome()>>(
[this, request]()
{
return this->reactivatePhotos(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::GetQuotaOutcome CloudPhotoClient::getQuota(const GetQuotaRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -159,6 +123,42 @@ CloudPhotoClient::GetQuotaOutcomeCallable CloudPhotoClient::getQuotaCallable(con
return task->get_future();
}
CloudPhotoClient::ReactivatePhotosOutcome CloudPhotoClient::reactivatePhotos(const ReactivatePhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ReactivatePhotosOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ReactivatePhotosOutcome(ReactivatePhotosResult(outcome.result()));
else
return ReactivatePhotosOutcome(outcome.error());
}
void CloudPhotoClient::reactivatePhotosAsync(const ReactivatePhotosRequest& request, const ReactivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, reactivatePhotos(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::ReactivatePhotosOutcomeCallable CloudPhotoClient::reactivatePhotosCallable(const ReactivatePhotosRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ReactivatePhotosOutcome()>>(
[this, request]()
{
return this->reactivatePhotos(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::GetThumbnailsOutcome CloudPhotoClient::getThumbnails(const GetThumbnailsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -375,42 +375,6 @@ CloudPhotoClient::DeleteEventOutcomeCallable CloudPhotoClient::deleteEventCallab
return task->get_future();
}
CloudPhotoClient::ListPhotosOutcome CloudPhotoClient::listPhotos(const ListPhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListPhotosOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListPhotosOutcome(ListPhotosResult(outcome.result()));
else
return ListPhotosOutcome(outcome.error());
}
void CloudPhotoClient::listPhotosAsync(const ListPhotosRequest& request, const ListPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listPhotos(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::ListPhotosOutcomeCallable CloudPhotoClient::listPhotosCallable(const ListPhotosRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListPhotosOutcome()>>(
[this, request]()
{
return this->listPhotos(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::RegisterTagOutcome CloudPhotoClient::registerTag(const RegisterTagRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -447,36 +411,36 @@ CloudPhotoClient::RegisterTagOutcomeCallable CloudPhotoClient::registerTagCallab
return task->get_future();
}
CloudPhotoClient::ListTimeLinePhotosOutcome CloudPhotoClient::listTimeLinePhotos(const ListTimeLinePhotosRequest &request) const
CloudPhotoClient::ListPhotosOutcome CloudPhotoClient::listPhotos(const ListPhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListTimeLinePhotosOutcome(endpointOutcome.error());
return ListPhotosOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListTimeLinePhotosOutcome(ListTimeLinePhotosResult(outcome.result()));
return ListPhotosOutcome(ListPhotosResult(outcome.result()));
else
return ListTimeLinePhotosOutcome(outcome.error());
return ListPhotosOutcome(outcome.error());
}
void CloudPhotoClient::listTimeLinePhotosAsync(const ListTimeLinePhotosRequest& request, const ListTimeLinePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void CloudPhotoClient::listPhotosAsync(const ListPhotosRequest& request, const ListPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listTimeLinePhotos(request), context);
handler(this, request, listPhotos(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::ListTimeLinePhotosOutcomeCallable CloudPhotoClient::listTimeLinePhotosCallable(const ListTimeLinePhotosRequest &request) const
CloudPhotoClient::ListPhotosOutcomeCallable CloudPhotoClient::listPhotosCallable(const ListPhotosRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListTimeLinePhotosOutcome()>>(
auto task = std::make_shared<std::packaged_task<ListPhotosOutcome()>>(
[this, request]()
{
return this->listTimeLinePhotos(request);
return this->listPhotos(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
@@ -519,6 +483,42 @@ CloudPhotoClient::FetchMomentPhotosOutcomeCallable CloudPhotoClient::fetchMoment
return task->get_future();
}
CloudPhotoClient::ListTimeLinePhotosOutcome CloudPhotoClient::listTimeLinePhotos(const ListTimeLinePhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListTimeLinePhotosOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListTimeLinePhotosOutcome(ListTimeLinePhotosResult(outcome.result()));
else
return ListTimeLinePhotosOutcome(outcome.error());
}
void CloudPhotoClient::listTimeLinePhotosAsync(const ListTimeLinePhotosRequest& request, const ListTimeLinePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listTimeLinePhotos(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::ListTimeLinePhotosOutcomeCallable CloudPhotoClient::listTimeLinePhotosCallable(const ListTimeLinePhotosRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListTimeLinePhotosOutcome()>>(
[this, request]()
{
return this->listTimeLinePhotos(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::DeletePhotosOutcome CloudPhotoClient::deletePhotos(const DeletePhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -555,42 +555,6 @@ CloudPhotoClient::DeletePhotosOutcomeCallable CloudPhotoClient::deletePhotosCall
return task->get_future();
}
CloudPhotoClient::MergeFacesOutcome CloudPhotoClient::mergeFaces(const MergeFacesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return MergeFacesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return MergeFacesOutcome(MergeFacesResult(outcome.result()));
else
return MergeFacesOutcome(outcome.error());
}
void CloudPhotoClient::mergeFacesAsync(const MergeFacesRequest& request, const MergeFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, mergeFaces(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::MergeFacesOutcomeCallable CloudPhotoClient::mergeFacesCallable(const MergeFacesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<MergeFacesOutcome()>>(
[this, request]()
{
return this->mergeFaces(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::GetPhotosByMd5sOutcome CloudPhotoClient::getPhotosByMd5s(const GetPhotosByMd5sRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -627,6 +591,42 @@ CloudPhotoClient::GetPhotosByMd5sOutcomeCallable CloudPhotoClient::getPhotosByMd
return task->get_future();
}
CloudPhotoClient::MergeFacesOutcome CloudPhotoClient::mergeFaces(const MergeFacesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return MergeFacesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return MergeFacesOutcome(MergeFacesResult(outcome.result()));
else
return MergeFacesOutcome(outcome.error());
}
void CloudPhotoClient::mergeFacesAsync(const MergeFacesRequest& request, const MergeFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, mergeFaces(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::MergeFacesOutcomeCallable CloudPhotoClient::mergeFacesCallable(const MergeFacesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<MergeFacesOutcome()>>(
[this, request]()
{
return this->mergeFaces(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::FetchLibrariesOutcome CloudPhotoClient::fetchLibraries(const FetchLibrariesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -699,6 +699,42 @@ CloudPhotoClient::FetchAlbumTagPhotosOutcomeCallable CloudPhotoClient::fetchAlbu
return task->get_future();
}
CloudPhotoClient::InactivatePhotosOutcome CloudPhotoClient::inactivatePhotos(const InactivatePhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return InactivatePhotosOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return InactivatePhotosOutcome(InactivatePhotosResult(outcome.result()));
else
return InactivatePhotosOutcome(outcome.error());
}
void CloudPhotoClient::inactivatePhotosAsync(const InactivatePhotosRequest& request, const InactivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, inactivatePhotos(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::InactivatePhotosOutcomeCallable CloudPhotoClient::inactivatePhotosCallable(const InactivatePhotosRequest &request) const
{
auto task = std::make_shared<std::packaged_task<InactivatePhotosOutcome()>>(
[this, request]()
{
return this->inactivatePhotos(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::CreateTransactionOutcome CloudPhotoClient::createTransaction(const CreateTransactionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -735,36 +771,36 @@ CloudPhotoClient::CreateTransactionOutcomeCallable CloudPhotoClient::createTrans
return task->get_future();
}
CloudPhotoClient::InactivatePhotosOutcome CloudPhotoClient::inactivatePhotos(const InactivatePhotosRequest &request) const
CloudPhotoClient::GetLibraryOutcome CloudPhotoClient::getLibrary(const GetLibraryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return InactivatePhotosOutcome(endpointOutcome.error());
return GetLibraryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return InactivatePhotosOutcome(InactivatePhotosResult(outcome.result()));
return GetLibraryOutcome(GetLibraryResult(outcome.result()));
else
return InactivatePhotosOutcome(outcome.error());
return GetLibraryOutcome(outcome.error());
}
void CloudPhotoClient::inactivatePhotosAsync(const InactivatePhotosRequest& request, const InactivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void CloudPhotoClient::getLibraryAsync(const GetLibraryRequest& request, const GetLibraryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, inactivatePhotos(request), context);
handler(this, request, getLibrary(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::InactivatePhotosOutcomeCallable CloudPhotoClient::inactivatePhotosCallable(const InactivatePhotosRequest &request) const
CloudPhotoClient::GetLibraryOutcomeCallable CloudPhotoClient::getLibraryCallable(const GetLibraryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<InactivatePhotosOutcome()>>(
auto task = std::make_shared<std::packaged_task<GetLibraryOutcome()>>(
[this, request]()
{
return this->inactivatePhotos(request);
return this->getLibrary(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
@@ -843,42 +879,6 @@ CloudPhotoClient::TagPhotoOutcomeCallable CloudPhotoClient::tagPhotoCallable(con
return task->get_future();
}
CloudPhotoClient::GetLibraryOutcome CloudPhotoClient::getLibrary(const GetLibraryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetLibraryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetLibraryOutcome(GetLibraryResult(outcome.result()));
else
return GetLibraryOutcome(outcome.error());
}
void CloudPhotoClient::getLibraryAsync(const GetLibraryRequest& request, const GetLibraryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getLibrary(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::GetLibraryOutcomeCallable CloudPhotoClient::getLibraryCallable(const GetLibraryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetLibraryOutcome()>>(
[this, request]()
{
return this->getLibrary(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::SetQuotaOutcome CloudPhotoClient::setQuota(const SetQuotaRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -915,42 +915,6 @@ CloudPhotoClient::SetQuotaOutcomeCallable CloudPhotoClient::setQuotaCallable(con
return task->get_future();
}
CloudPhotoClient::ListAlbumPhotosOutcome CloudPhotoClient::listAlbumPhotos(const ListAlbumPhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListAlbumPhotosOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListAlbumPhotosOutcome(ListAlbumPhotosResult(outcome.result()));
else
return ListAlbumPhotosOutcome(outcome.error());
}
void CloudPhotoClient::listAlbumPhotosAsync(const ListAlbumPhotosRequest& request, const ListAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listAlbumPhotos(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::ListAlbumPhotosOutcomeCallable CloudPhotoClient::listAlbumPhotosCallable(const ListAlbumPhotosRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListAlbumPhotosOutcome()>>(
[this, request]()
{
return this->listAlbumPhotos(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::RemoveAlbumPhotosOutcome CloudPhotoClient::removeAlbumPhotos(const RemoveAlbumPhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -987,6 +951,42 @@ CloudPhotoClient::RemoveAlbumPhotosOutcomeCallable CloudPhotoClient::removeAlbum
return task->get_future();
}
CloudPhotoClient::ListAlbumPhotosOutcome CloudPhotoClient::listAlbumPhotos(const ListAlbumPhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListAlbumPhotosOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListAlbumPhotosOutcome(ListAlbumPhotosResult(outcome.result()));
else
return ListAlbumPhotosOutcome(outcome.error());
}
void CloudPhotoClient::listAlbumPhotosAsync(const ListAlbumPhotosRequest& request, const ListAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listAlbumPhotos(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::ListAlbumPhotosOutcomeCallable CloudPhotoClient::listAlbumPhotosCallable(const ListAlbumPhotosRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListAlbumPhotosOutcome()>>(
[this, request]()
{
return this->listAlbumPhotos(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::ListAlbumsOutcome CloudPhotoClient::listAlbums(const ListAlbumsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1203,42 +1203,6 @@ CloudPhotoClient::GetPrivateAccessUrlsOutcomeCallable CloudPhotoClient::getPriva
return task->get_future();
}
CloudPhotoClient::GetSimilarPhotosOutcome CloudPhotoClient::getSimilarPhotos(const GetSimilarPhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetSimilarPhotosOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetSimilarPhotosOutcome(GetSimilarPhotosResult(outcome.result()));
else
return GetSimilarPhotosOutcome(outcome.error());
}
void CloudPhotoClient::getSimilarPhotosAsync(const GetSimilarPhotosRequest& request, const GetSimilarPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getSimilarPhotos(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::GetSimilarPhotosOutcomeCallable CloudPhotoClient::getSimilarPhotosCallable(const GetSimilarPhotosRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetSimilarPhotosOutcome()>>(
[this, request]()
{
return this->getSimilarPhotos(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::ListEventsOutcome CloudPhotoClient::listEvents(const ListEventsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1275,6 +1239,42 @@ CloudPhotoClient::ListEventsOutcomeCallable CloudPhotoClient::listEventsCallable
return task->get_future();
}
CloudPhotoClient::GetSimilarPhotosOutcome CloudPhotoClient::getSimilarPhotos(const GetSimilarPhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetSimilarPhotosOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetSimilarPhotosOutcome(GetSimilarPhotosResult(outcome.result()));
else
return GetSimilarPhotosOutcome(outcome.error());
}
void CloudPhotoClient::getSimilarPhotosAsync(const GetSimilarPhotosRequest& request, const GetSimilarPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getSimilarPhotos(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::GetSimilarPhotosOutcomeCallable CloudPhotoClient::getSimilarPhotosCallable(const GetSimilarPhotosRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetSimilarPhotosOutcome()>>(
[this, request]()
{
return this->getSimilarPhotos(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::GetVideoCoverOutcome CloudPhotoClient::getVideoCover(const GetVideoCoverRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1527,42 +1527,6 @@ CloudPhotoClient::GetDownloadUrlsOutcomeCallable CloudPhotoClient::getDownloadUr
return task->get_future();
}
CloudPhotoClient::GetPhotosOutcome CloudPhotoClient::getPhotos(const GetPhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetPhotosOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetPhotosOutcome(GetPhotosResult(outcome.result()));
else
return GetPhotosOutcome(outcome.error());
}
void CloudPhotoClient::getPhotosAsync(const GetPhotosRequest& request, const GetPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getPhotos(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::GetPhotosOutcomeCallable CloudPhotoClient::getPhotosCallable(const GetPhotosRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetPhotosOutcome()>>(
[this, request]()
{
return this->getPhotos(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::RegisterPhotoOutcome CloudPhotoClient::registerPhoto(const RegisterPhotoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1599,6 +1563,42 @@ CloudPhotoClient::RegisterPhotoOutcomeCallable CloudPhotoClient::registerPhotoCa
return task->get_future();
}
CloudPhotoClient::GetPhotosOutcome CloudPhotoClient::getPhotos(const GetPhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetPhotosOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetPhotosOutcome(GetPhotosResult(outcome.result()));
else
return GetPhotosOutcome(outcome.error());
}
void CloudPhotoClient::getPhotosAsync(const GetPhotosRequest& request, const GetPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getPhotos(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::GetPhotosOutcomeCallable CloudPhotoClient::getPhotosCallable(const GetPhotosRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetPhotosOutcome()>>(
[this, request]()
{
return this->getPhotos(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::EditPhotoStoreOutcome CloudPhotoClient::editPhotoStore(const EditPhotoStoreRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -18,8 +18,15 @@
#define CORE_INCLUDE_ALIBABACLOUD_CORE_ALIBABACLOUD_H_
#include "CoreExport.h"
#include <limits>
namespace AlibabaCloud {
const long kInvalidTimeout = (std::numeric_limits<long>::min)();
const long kDefaultConnectTimeout = 5000;
const long kDefaultReadTimeout = 10000;
ALIBABACLOUD_CORE_EXPORT void InitializeSdk();
ALIBABACLOUD_CORE_EXPORT bool IsSdkInitialized();
ALIBABACLOUD_CORE_EXPORT void ShutdownSdk();

View File

@@ -38,10 +38,17 @@ class ALIBABACLOUD_CORE_EXPORT ClientConfiguration {
void setProxy(const NetworkProxy &proxy);
void setRegionId(const std::string &regionId);
long connectTimeout() const;
long readTimeout() const;
void setConnectTimeout(const long connectTimeout);
void setReadTimeout(const long readTimeout);
private:
std::string endpoint_;
NetworkProxy proxy_;
std::string regionId_;
long connectTimeout_;
long readTimeout_;
};
} // namespace AlibabaCloud

View File

@@ -42,10 +42,16 @@ class ALIBABACLOUD_CORE_EXPORT HttpRequest : public HttpMessage {
void setMethod(Method method);
void setUrl(const Url &url);
Url url()const;
long connectTimeout() const;
long readTimeout() const;
void setConnectTimeout(const long connectTimeout);
void setReadTimeout(const long readTimeout);
private:
Method method_;
Url url_;
long connectTimeout_;
long readTimeout_;
};
} // namespace AlibabaCloud
#endif // CORE_INCLUDE_ALIBABACLOUD_CORE_HTTPREQUEST_H_

View File

@@ -39,6 +39,10 @@ class ALIBABACLOUD_CORE_EXPORT ServiceRequest {
std::string resourcePath() const;
std::string version() const;
std::string scheme() const;
long connectTimeout() const;
long readTimeout() const;
void setConnectTimeout(const long connectTimeout);
void setReadTimeout(const long readTimeout);
protected:
ServiceRequest(const std::string &product, const std::string &version);
@@ -68,6 +72,8 @@ class ALIBABACLOUD_CORE_EXPORT ServiceRequest {
std::string resourcePath_;
std::string version_;
std::string scheme_;
long connectTimeout_;
long readTimeout_;
};
} // namespace AlibabaCloud

View File

@@ -26,14 +26,13 @@ class ALIBABACLOUD_CORE_EXPORT ServiceResult {
public:
ServiceResult();
virtual ~ServiceResult();
std::string requestId()const;
protected:
void setRequestId(const std::string &requestId);
private:
std::string requestId_;
std::string requestId_;
};
} // namespace AlibabaCloud

View File

@@ -15,6 +15,7 @@
*/
#include <alibabacloud/core/ClientConfiguration.h>
#include <alibabacloud/core/AlibabaCloud.h>
namespace AlibabaCloud {
@@ -22,7 +23,9 @@ ClientConfiguration::ClientConfiguration(const std::string &regionId,
const NetworkProxy &proxy):
regionId_(regionId),
proxy_(proxy),
endpoint_() {
endpoint_(),
connectTimeout_(kDefaultConnectTimeout),
readTimeout_(kDefaultReadTimeout) {
}
ClientConfiguration::~ClientConfiguration() {
@@ -52,4 +55,20 @@ void ClientConfiguration::setRegionId(const std::string &regionId) {
regionId_ = regionId;
}
long ClientConfiguration::connectTimeout() const {
return connectTimeout_;
}
long ClientConfiguration::readTimeout() const {
return readTimeout_;
}
void ClientConfiguration::setConnectTimeout(const long connectTimeout) {
connectTimeout_ = connectTimeout;
}
void ClientConfiguration::setReadTimeout(const long readTimeout) {
readTimeout_ = readTimeout;
}
} // namespace AlibabaCloud

View File

@@ -14,6 +14,7 @@
* limitations under the License.
*/
#include <alibabacloud/core/AlibabaCloud.h>
#include <alibabacloud/core/CommonClient.h>
#include <alibabacloud/core/location/LocationClient.h>
#include <alibabacloud/core/SimpleCredentialsProvider.h>
@@ -145,6 +146,19 @@ HttpRequest CommonClient::buildRoaHttpRequest(const std::string & endpoint,
HttpRequest request(url);
request.setMethod(method);
if (msg.connectTimeout() != kInvalidTimeout) {
request.setConnectTimeout(msg.connectTimeout());
} else {
request.setConnectTimeout(configuration().connectTimeout());
}
if (msg.readTimeout() != kInvalidTimeout) {
request.setReadTimeout(msg.readTimeout());
} else {
request.setReadTimeout(configuration().readTimeout());
}
if (msg.headerParameter("Accept").empty()) {
request.setHeader("Accept", "application/json");
} else {
@@ -260,6 +274,18 @@ HttpRequest CommonClient::buildRpcHttpRequest(const std::string & endpoint,
url.setQuery(queryString.str().substr(1));
HttpRequest request(url);
if (msg.connectTimeout() != kInvalidTimeout) {
request.setConnectTimeout(msg.connectTimeout());
} else {
request.setConnectTimeout(configuration().connectTimeout());
}
if (msg.readTimeout() != kInvalidTimeout) {
request.setReadTimeout(msg.readTimeout());
} else {
request.setReadTimeout(configuration().readTimeout());
}
request.setMethod(method);
request.setHeader("Host", url.host());
request.setHeader("x-sdk-client",

View File

@@ -20,12 +20,7 @@
#include <sstream>
#include <string>
#include <vector>
#include <iostream>
#include <string.h>
#include <stdio.h>
using namespace std;
namespace AlibabaCloud {
@@ -56,7 +51,6 @@ static size_t readCallback(void *ptr, size_t size, size_t nmemb, void *stream) {
return len;
}
size_t recvBody(char *ptr, size_t size, size_t nmemb, void *userdata) {
std::ostringstream &out = *static_cast<std::ostringstream*>(userdata);
out << std::string(ptr, nmemb*size);
@@ -120,49 +114,52 @@ CurlHttpClient::makeRequest(const HttpRequest &request) {
curl_easy_reset(curlHandle_);
HttpResponse response(request);
long connect_timeout = request.connectTimeout();
long read_timeout = request.readTimeout();
std::string url = request.url().toString();
switch (request.method()) {
case HttpRequest::Method::Get:
break;
case HttpRequest::Method::Post: {
if (request.bodySize() > 0) {
curl_easy_setopt(curlHandle_, CURLOPT_POSTFIELDS, request.body());
} else {
curl_easy_setopt(curlHandle_, CURLOPT_POSTFIELDS, "");
case HttpRequest::Method::Get:
break;
case HttpRequest::Method::Post: {
if (request.bodySize() > 0) {
curl_easy_setopt(curlHandle_, CURLOPT_POSTFIELDS, request.body());
} else {
curl_easy_setopt(curlHandle_, CURLOPT_POSTFIELDS, "");
}
}
}
break;
break;
case HttpRequest::Method::Put: {
uploadContext* ctx = (uploadContext *)malloc(sizeof(uploadContext));
// this is impossible, as the size is 24 Bytes
if (ctx == nullptr) {
return HttpResponseOutcome(
Error("MemoryAllocateError",
"There is not enough memory for http transfer."));
case HttpRequest::Method::Put: {
uploadContext* ctx = (uploadContext *)malloc(sizeof(uploadContext));
// this is impossible, as the size is 24 Bytes
if (ctx == nullptr) {
return HttpResponseOutcome(
Error("MemoryAllocateError",
"There is not enough memory for http transfer."));
}
ctx->data = request.body();
ctx->pos = request.body();
ctx->last = ctx->pos + request.bodySize();
curl_easy_setopt(curlHandle_, CURLOPT_READFUNCTION, readCallback);
curl_easy_setopt(curlHandle_, CURLOPT_UPLOAD, 1L);
curl_easy_setopt(curlHandle_, CURLOPT_READDATA, ctx);
}
ctx->data = request.body();
ctx->pos = request.body();
ctx->last = ctx->pos + request.bodySize();
break;
curl_easy_setopt(curlHandle_, CURLOPT_READFUNCTION, readCallback);
curl_easy_setopt(curlHandle_, CURLOPT_UPLOAD, 1L);
curl_easy_setopt(curlHandle_, CURLOPT_READDATA, ctx);
}
break;
case HttpRequest::Method::Delete: {
curl_easy_setopt(curlHandle_, CURLOPT_CUSTOMREQUEST, "DELETE");
if (request.bodySize() > 0) {
curl_easy_setopt(curlHandle_, CURLOPT_POSTFIELDS, request.body());
} else {
curl_easy_setopt(curlHandle_, CURLOPT_POSTFIELDS, "");
case HttpRequest::Method::Delete: {
curl_easy_setopt(curlHandle_, CURLOPT_CUSTOMREQUEST, "DELETE");
if (request.bodySize() > 0) {
curl_easy_setopt(curlHandle_, CURLOPT_POSTFIELDS, request.body());
} else {
curl_easy_setopt(curlHandle_, CURLOPT_POSTFIELDS, "");
}
}
}
break;
break;
default:
break;
default:
break;
}
curl_easy_setopt(curlHandle_, CURLOPT_URL, url.c_str());
@@ -171,6 +168,14 @@ CurlHttpClient::makeRequest(const HttpRequest &request) {
curl_easy_setopt(curlHandle_, CURLOPT_HEADERDATA, &response);
curl_easy_setopt(curlHandle_, CURLOPT_HEADERFUNCTION, recvHeaders);
if (connect_timeout > 0) {
curl_easy_setopt(curlHandle_, CURLOPT_CONNECTTIMEOUT_MS, connect_timeout);
}
if (read_timeout > 0) {
curl_easy_setopt(curlHandle_, CURLOPT_TIMEOUT_MS, read_timeout);
}
curl_slist *list = nullptr;
auto headers = request.headers();
for (const auto &p : headers) {
@@ -190,22 +195,31 @@ CurlHttpClient::makeRequest(const HttpRequest &request) {
CURLcode res = curl_easy_perform(curlHandle_);
switch (res) {
case CURLE_OK: {
long response_code;
curl_easy_getinfo(curlHandle_, CURLINFO_RESPONSE_CODE, &response_code);
response.setStatusCode(response_code);
response.setBody(out.str().c_str(), out.str().length());
return HttpResponseOutcome(response);
}
case CURLE_SSL_CONNECT_ERROR:
return HttpResponseOutcome(
Error("SSLConnectError",
"A problem occurred somewhere in the SSL/TLS handshake."));
default:
return HttpResponseOutcome(
Error("NetworkError",
"Failed to connect to host or proxy: " +
HttpMethodToString(request.method()) + " " + request.url().toString()));
case CURLE_OK: {
long response_code;
curl_easy_getinfo(curlHandle_, CURLINFO_RESPONSE_CODE, &response_code);
response.setStatusCode(response_code);
response.setBody(out.str().c_str(), out.str().length());
return HttpResponseOutcome(response);
}
case CURLE_SSL_CONNECT_ERROR:
return HttpResponseOutcome(
Error("SSLConnectError",
"A problem occurred somewhere in the SSL/TLS handshake."));
case CURLE_OPERATION_TIMEDOUT:
return HttpResponseOutcome(
Error("OperationTimeoutError",
"Timeout (connectTimeout: " +
std::to_string(connect_timeout) + "ms, readTimeout: " +
std::to_string(read_timeout) + "ms) when connect or read data: " +
HttpMethodToString(request.method()) + " " + request.url().toString()));
default: {
return HttpResponseOutcome(
Error("NetworkError",
"Failed to connect to host or proxy: " +
HttpMethodToString(request.method()) + " " + request.url().toString()));
}
}
}

View File

@@ -15,13 +15,16 @@
*/
#include <alibabacloud/core/HttpRequest.h>
#include <alibabacloud/core/AlibabaCloud.h>
namespace AlibabaCloud {
HttpRequest::HttpRequest(const Url &url, Method method) :
HttpMessage(),
url_(url),
method_(method) {
method_(method),
connectTimeout_(kDefaultConnectTimeout),
readTimeout_(kDefaultReadTimeout) {
}
HttpRequest::~HttpRequest() {
@@ -44,4 +47,20 @@ Url HttpRequest::url()const {
return url_;
}
long HttpRequest::connectTimeout() const {
return connectTimeout_;
}
long HttpRequest::readTimeout() const {
return readTimeout_;
}
void HttpRequest::setConnectTimeout(const long connectTimeout) {
connectTimeout_ = connectTimeout;
}
void HttpRequest::setReadTimeout(const long readTimeout) {
readTimeout_ = readTimeout;
}
} // namespace AlibabaCloud

View File

@@ -14,6 +14,7 @@
* limitations under the License.
*/
#include <alibabacloud/core/AlibabaCloud.h>
#include <alibabacloud/core/RoaServiceClient.h>
#include <alibabacloud/core/HmacSha1Signer.h>
#include <algorithm>
@@ -85,6 +86,18 @@ HttpRequest RoaServiceClient::buildHttpRequest(const std::string & endpoint,
HttpRequest request(url);
request.setMethod(method);
if (msg.connectTimeout() != kInvalidTimeout) {
request.setConnectTimeout(msg.connectTimeout());
} else {
request.setConnectTimeout(configuration().connectTimeout());
}
if (msg.readTimeout() != kInvalidTimeout) {
request.setReadTimeout(msg.readTimeout());
} else {
request.setReadTimeout(configuration().readTimeout());
}
if (msg.parameter("Accept").empty()) {
request.setHeader("Accept", "application/json");
} else {

View File

@@ -14,6 +14,7 @@
* limitations under the License.
*/
#include <alibabacloud/core/AlibabaCloud.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include <alibabacloud/core/HmacSha1Signer.h>
#include <algorithm>
@@ -107,6 +108,18 @@ HttpRequest RpcServiceClient::buildHttpRequest(const std::string & endpoint,
url.setQuery(queryString.str().substr(1));
HttpRequest request(url);
if (msg.connectTimeout() != kInvalidTimeout) {
request.setConnectTimeout(msg.connectTimeout());
} else {
request.setConnectTimeout(configuration().connectTimeout());
}
if (msg.readTimeout() != kInvalidTimeout) {
request.setReadTimeout(msg.readTimeout());
} else {
request.setReadTimeout(configuration().readTimeout());
}
request.setMethod(method);
request.setHeader("Host", url.host());
request.setHeader("x-sdk-client",

View File

@@ -31,7 +31,6 @@ std::string RpcServiceRequest::actionName()const {
return parameter("Action");
}
void RpcServiceRequest::setActionName(const std::string & name) {
setParameter("Action", name);
}

View File

@@ -15,6 +15,7 @@
*/
#include <alibabacloud/core/ServiceRequest.h>
#include <alibabacloud/core/AlibabaCloud.h>
namespace AlibabaCloud {
@@ -26,7 +27,9 @@ ServiceRequest::ServiceRequest(const std::string &product,
product_(product),
resourcePath_("/"),
version_(version),
scheme_("https") {
scheme_("https"),
connectTimeout_(kInvalidTimeout),
readTimeout_(kInvalidTimeout) {
}
ServiceRequest::ServiceRequest(const ServiceRequest &other) :
@@ -36,7 +39,9 @@ ServiceRequest::ServiceRequest(const ServiceRequest &other) :
product_(other.product_),
resourcePath_(other.resourcePath_),
version_(other.version_),
scheme_(other.scheme_) {
scheme_(other.scheme_),
connectTimeout_(other.connectTimeout_),
readTimeout_(other.readTimeout_) {
setContent(other.content_, other.contentSize_);
}
@@ -49,6 +54,8 @@ ServiceRequest& ServiceRequest::operator=(const ServiceRequest &other) {
content_ = nullptr;
contentSize_ = 0;
params_ = other.params_;
connectTimeout_ = other.connectTimeout_;
readTimeout_ = other.readTimeout_;
setContent(other.content_, other.contentSize_);
}
return *this;
@@ -152,4 +159,20 @@ std::string ServiceRequest::scheme() const {
return scheme_;
}
long ServiceRequest::connectTimeout() const{
return connectTimeout_;
}
long ServiceRequest::readTimeout() const{
return readTimeout_;
}
void ServiceRequest::setConnectTimeout(const long connectTimeout) {
connectTimeout_ = connectTimeout;
}
void ServiceRequest::setReadTimeout(const long readTimeout) {
readTimeout_ = readTimeout;
}
} // namespace AlibabaCloud

238
finmall/CMakeLists.txt Normal file
View File

@@ -0,0 +1,238 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
set(finmall_public_header
include/alibabacloud/finmall/FinmallClient.h
include/alibabacloud/finmall/FinmallExport.h )
set(finmall_public_header_model
include/alibabacloud/finmall/model/GetCreditDetailRequest.h
include/alibabacloud/finmall/model/GetCreditDetailResult.h
include/alibabacloud/finmall/model/GetDocumentDownloadUrlRequest.h
include/alibabacloud/finmall/model/GetDocumentDownloadUrlResult.h
include/alibabacloud/finmall/model/GetCreditWithdrawRecordRequest.h
include/alibabacloud/finmall/model/GetCreditWithdrawRecordResult.h
include/alibabacloud/finmall/model/GetCustomerVerifyInfoRequest.h
include/alibabacloud/finmall/model/GetCustomerVerifyInfoResult.h
include/alibabacloud/finmall/model/QueryFundPartyListRequest.h
include/alibabacloud/finmall/model/QueryFundPartyListResult.h
include/alibabacloud/finmall/model/GetCreditStatusRequest.h
include/alibabacloud/finmall/model/GetCreditStatusResult.h
include/alibabacloud/finmall/model/SaveAuthenticationInfoRequest.h
include/alibabacloud/finmall/model/SaveAuthenticationInfoResult.h
include/alibabacloud/finmall/model/GetTradeDataRequest.h
include/alibabacloud/finmall/model/GetTradeDataResult.h
include/alibabacloud/finmall/model/UploadCustomIDImageRequest.h
include/alibabacloud/finmall/model/UploadCustomIDImageResult.h
include/alibabacloud/finmall/model/QuerySignResultRequest.h
include/alibabacloud/finmall/model/QuerySignResultResult.h
include/alibabacloud/finmall/model/ApplyForLoanRequest.h
include/alibabacloud/finmall/model/ApplyForLoanResult.h
include/alibabacloud/finmall/model/GetZhimaScoreRequest.h
include/alibabacloud/finmall/model/GetZhimaScoreResult.h
include/alibabacloud/finmall/model/PayForOrderRequest.h
include/alibabacloud/finmall/model/PayForOrderResult.h
include/alibabacloud/finmall/model/QueryTrialRecordsRequest.h
include/alibabacloud/finmall/model/QueryTrialRecordsResult.h
include/alibabacloud/finmall/model/GetCurrentTermRepayInfoRequest.h
include/alibabacloud/finmall/model/GetCurrentTermRepayInfoResult.h
include/alibabacloud/finmall/model/UpdateAuthenticationInfoRequest.h
include/alibabacloud/finmall/model/UpdateAuthenticationInfoResult.h
include/alibabacloud/finmall/model/UpdateEnterpriseCustomInfoRequest.h
include/alibabacloud/finmall/model/UpdateEnterpriseCustomInfoResult.h
include/alibabacloud/finmall/model/GetCreditSignatureInfoRequest.h
include/alibabacloud/finmall/model/GetCreditSignatureInfoResult.h
include/alibabacloud/finmall/model/AddTrialRecordRequest.h
include/alibabacloud/finmall/model/AddTrialRecordResult.h
include/alibabacloud/finmall/model/GetAuthorizeCreditQueryRequest.h
include/alibabacloud/finmall/model/GetAuthorizeCreditQueryResult.h
include/alibabacloud/finmall/model/CancelCreditRequest.h
include/alibabacloud/finmall/model/CancelCreditResult.h
include/alibabacloud/finmall/model/GetCustomStatusInfoRequest.h
include/alibabacloud/finmall/model/GetCustomStatusInfoResult.h
include/alibabacloud/finmall/model/GetOverdueRecordListRequest.h
include/alibabacloud/finmall/model/GetOverdueRecordListResult.h
include/alibabacloud/finmall/model/GetProductDetailRequest.h
include/alibabacloud/finmall/model/GetProductDetailResult.h
include/alibabacloud/finmall/model/VerifyCustomerRequest.h
include/alibabacloud/finmall/model/VerifyCustomerResult.h
include/alibabacloud/finmall/model/SignLoanAgreementRequest.h
include/alibabacloud/finmall/model/SignLoanAgreementResult.h
include/alibabacloud/finmall/model/AddCustomInfoRequest.h
include/alibabacloud/finmall/model/AddCustomInfoResult.h
include/alibabacloud/finmall/model/GetProductListRequest.h
include/alibabacloud/finmall/model/GetProductListResult.h
include/alibabacloud/finmall/model/GetLoanAgreementRequest.h
include/alibabacloud/finmall/model/GetLoanAgreementResult.h
include/alibabacloud/finmall/model/GetUserInfoAuthorizationAgreementRequest.h
include/alibabacloud/finmall/model/GetUserInfoAuthorizationAgreementResult.h
include/alibabacloud/finmall/model/SignedPageResultRequest.h
include/alibabacloud/finmall/model/SignedPageResultResult.h
include/alibabacloud/finmall/model/GetLoanApplyRecordListRequest.h
include/alibabacloud/finmall/model/GetLoanApplyRecordListResult.h
include/alibabacloud/finmall/model/GetLatestOverdueRecordRequest.h
include/alibabacloud/finmall/model/GetLatestOverdueRecordResult.h
include/alibabacloud/finmall/model/GetCreditListRequest.h
include/alibabacloud/finmall/model/GetCreditListResult.h
include/alibabacloud/finmall/model/SignResultNotifyRequest.h
include/alibabacloud/finmall/model/SignResultNotifyResult.h
include/alibabacloud/finmall/model/VerifySMSTokenRequest.h
include/alibabacloud/finmall/model/VerifySMSTokenResult.h
include/alibabacloud/finmall/model/GetCreditRepayListRequest.h
include/alibabacloud/finmall/model/GetCreditRepayListResult.h
include/alibabacloud/finmall/model/GetSignContractUrlRequest.h
include/alibabacloud/finmall/model/GetSignContractUrlResult.h
include/alibabacloud/finmall/model/GetRepayPlanTrialRequest.h
include/alibabacloud/finmall/model/GetRepayPlanTrialResult.h )
set(finmall_src
src/FinmallClient.cc
src/model/GetCreditDetailRequest.cc
src/model/GetCreditDetailResult.cc
src/model/GetDocumentDownloadUrlRequest.cc
src/model/GetDocumentDownloadUrlResult.cc
src/model/GetCreditWithdrawRecordRequest.cc
src/model/GetCreditWithdrawRecordResult.cc
src/model/GetCustomerVerifyInfoRequest.cc
src/model/GetCustomerVerifyInfoResult.cc
src/model/QueryFundPartyListRequest.cc
src/model/QueryFundPartyListResult.cc
src/model/GetCreditStatusRequest.cc
src/model/GetCreditStatusResult.cc
src/model/SaveAuthenticationInfoRequest.cc
src/model/SaveAuthenticationInfoResult.cc
src/model/GetTradeDataRequest.cc
src/model/GetTradeDataResult.cc
src/model/UploadCustomIDImageRequest.cc
src/model/UploadCustomIDImageResult.cc
src/model/QuerySignResultRequest.cc
src/model/QuerySignResultResult.cc
src/model/ApplyForLoanRequest.cc
src/model/ApplyForLoanResult.cc
src/model/GetZhimaScoreRequest.cc
src/model/GetZhimaScoreResult.cc
src/model/PayForOrderRequest.cc
src/model/PayForOrderResult.cc
src/model/QueryTrialRecordsRequest.cc
src/model/QueryTrialRecordsResult.cc
src/model/GetCurrentTermRepayInfoRequest.cc
src/model/GetCurrentTermRepayInfoResult.cc
src/model/UpdateAuthenticationInfoRequest.cc
src/model/UpdateAuthenticationInfoResult.cc
src/model/UpdateEnterpriseCustomInfoRequest.cc
src/model/UpdateEnterpriseCustomInfoResult.cc
src/model/GetCreditSignatureInfoRequest.cc
src/model/GetCreditSignatureInfoResult.cc
src/model/AddTrialRecordRequest.cc
src/model/AddTrialRecordResult.cc
src/model/GetAuthorizeCreditQueryRequest.cc
src/model/GetAuthorizeCreditQueryResult.cc
src/model/CancelCreditRequest.cc
src/model/CancelCreditResult.cc
src/model/GetCustomStatusInfoRequest.cc
src/model/GetCustomStatusInfoResult.cc
src/model/GetOverdueRecordListRequest.cc
src/model/GetOverdueRecordListResult.cc
src/model/GetProductDetailRequest.cc
src/model/GetProductDetailResult.cc
src/model/VerifyCustomerRequest.cc
src/model/VerifyCustomerResult.cc
src/model/SignLoanAgreementRequest.cc
src/model/SignLoanAgreementResult.cc
src/model/AddCustomInfoRequest.cc
src/model/AddCustomInfoResult.cc
src/model/GetProductListRequest.cc
src/model/GetProductListResult.cc
src/model/GetLoanAgreementRequest.cc
src/model/GetLoanAgreementResult.cc
src/model/GetUserInfoAuthorizationAgreementRequest.cc
src/model/GetUserInfoAuthorizationAgreementResult.cc
src/model/SignedPageResultRequest.cc
src/model/SignedPageResultResult.cc
src/model/GetLoanApplyRecordListRequest.cc
src/model/GetLoanApplyRecordListResult.cc
src/model/GetLatestOverdueRecordRequest.cc
src/model/GetLatestOverdueRecordResult.cc
src/model/GetCreditListRequest.cc
src/model/GetCreditListResult.cc
src/model/SignResultNotifyRequest.cc
src/model/SignResultNotifyResult.cc
src/model/VerifySMSTokenRequest.cc
src/model/VerifySMSTokenResult.cc
src/model/GetCreditRepayListRequest.cc
src/model/GetCreditRepayListResult.cc
src/model/GetSignContractUrlRequest.cc
src/model/GetSignContractUrlResult.cc
src/model/GetRepayPlanTrialRequest.cc
src/model/GetRepayPlanTrialResult.cc )
add_library(finmall ${LIB_TYPE}
${finmall_public_header}
${finmall_public_header_model}
${finmall_src})
set_target_properties(finmall
PROPERTIES
LINKER_LANGUAGE CXX
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}finmall
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(finmall
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_FINMALL_LIBRARY)
endif()
target_include_directories(finmall
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(finmall
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(finmall
jsoncpp)
target_include_directories(finmall
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(finmall
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(finmall
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(finmall
PRIVATE /usr/include/jsoncpp)
target_link_libraries(finmall
jsoncpp)
endif()
install(FILES ${finmall_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/finmall)
install(FILES ${finmall_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/finmall/model)
install(TARGETS finmall
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,358 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_FINMALLCLIENT_H_
#define ALIBABACLOUD_FINMALL_FINMALLCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "FinmallExport.h"
#include "model/GetCreditDetailRequest.h"
#include "model/GetCreditDetailResult.h"
#include "model/GetDocumentDownloadUrlRequest.h"
#include "model/GetDocumentDownloadUrlResult.h"
#include "model/GetCreditWithdrawRecordRequest.h"
#include "model/GetCreditWithdrawRecordResult.h"
#include "model/GetCustomerVerifyInfoRequest.h"
#include "model/GetCustomerVerifyInfoResult.h"
#include "model/QueryFundPartyListRequest.h"
#include "model/QueryFundPartyListResult.h"
#include "model/GetCreditStatusRequest.h"
#include "model/GetCreditStatusResult.h"
#include "model/SaveAuthenticationInfoRequest.h"
#include "model/SaveAuthenticationInfoResult.h"
#include "model/GetTradeDataRequest.h"
#include "model/GetTradeDataResult.h"
#include "model/UploadCustomIDImageRequest.h"
#include "model/UploadCustomIDImageResult.h"
#include "model/QuerySignResultRequest.h"
#include "model/QuerySignResultResult.h"
#include "model/ApplyForLoanRequest.h"
#include "model/ApplyForLoanResult.h"
#include "model/GetZhimaScoreRequest.h"
#include "model/GetZhimaScoreResult.h"
#include "model/PayForOrderRequest.h"
#include "model/PayForOrderResult.h"
#include "model/QueryTrialRecordsRequest.h"
#include "model/QueryTrialRecordsResult.h"
#include "model/GetCurrentTermRepayInfoRequest.h"
#include "model/GetCurrentTermRepayInfoResult.h"
#include "model/UpdateAuthenticationInfoRequest.h"
#include "model/UpdateAuthenticationInfoResult.h"
#include "model/UpdateEnterpriseCustomInfoRequest.h"
#include "model/UpdateEnterpriseCustomInfoResult.h"
#include "model/GetCreditSignatureInfoRequest.h"
#include "model/GetCreditSignatureInfoResult.h"
#include "model/AddTrialRecordRequest.h"
#include "model/AddTrialRecordResult.h"
#include "model/GetAuthorizeCreditQueryRequest.h"
#include "model/GetAuthorizeCreditQueryResult.h"
#include "model/CancelCreditRequest.h"
#include "model/CancelCreditResult.h"
#include "model/GetCustomStatusInfoRequest.h"
#include "model/GetCustomStatusInfoResult.h"
#include "model/GetOverdueRecordListRequest.h"
#include "model/GetOverdueRecordListResult.h"
#include "model/GetProductDetailRequest.h"
#include "model/GetProductDetailResult.h"
#include "model/VerifyCustomerRequest.h"
#include "model/VerifyCustomerResult.h"
#include "model/SignLoanAgreementRequest.h"
#include "model/SignLoanAgreementResult.h"
#include "model/AddCustomInfoRequest.h"
#include "model/AddCustomInfoResult.h"
#include "model/GetProductListRequest.h"
#include "model/GetProductListResult.h"
#include "model/GetLoanAgreementRequest.h"
#include "model/GetLoanAgreementResult.h"
#include "model/GetUserInfoAuthorizationAgreementRequest.h"
#include "model/GetUserInfoAuthorizationAgreementResult.h"
#include "model/SignedPageResultRequest.h"
#include "model/SignedPageResultResult.h"
#include "model/GetLoanApplyRecordListRequest.h"
#include "model/GetLoanApplyRecordListResult.h"
#include "model/GetLatestOverdueRecordRequest.h"
#include "model/GetLatestOverdueRecordResult.h"
#include "model/GetCreditListRequest.h"
#include "model/GetCreditListResult.h"
#include "model/SignResultNotifyRequest.h"
#include "model/SignResultNotifyResult.h"
#include "model/VerifySMSTokenRequest.h"
#include "model/VerifySMSTokenResult.h"
#include "model/GetCreditRepayListRequest.h"
#include "model/GetCreditRepayListResult.h"
#include "model/GetSignContractUrlRequest.h"
#include "model/GetSignContractUrlResult.h"
#include "model/GetRepayPlanTrialRequest.h"
#include "model/GetRepayPlanTrialResult.h"
namespace AlibabaCloud
{
namespace Finmall
{
class ALIBABACLOUD_FINMALL_EXPORT FinmallClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::GetCreditDetailResult> GetCreditDetailOutcome;
typedef std::future<GetCreditDetailOutcome> GetCreditDetailOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetCreditDetailRequest&, const GetCreditDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCreditDetailAsyncHandler;
typedef Outcome<Error, Model::GetDocumentDownloadUrlResult> GetDocumentDownloadUrlOutcome;
typedef std::future<GetDocumentDownloadUrlOutcome> GetDocumentDownloadUrlOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetDocumentDownloadUrlRequest&, const GetDocumentDownloadUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDocumentDownloadUrlAsyncHandler;
typedef Outcome<Error, Model::GetCreditWithdrawRecordResult> GetCreditWithdrawRecordOutcome;
typedef std::future<GetCreditWithdrawRecordOutcome> GetCreditWithdrawRecordOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetCreditWithdrawRecordRequest&, const GetCreditWithdrawRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCreditWithdrawRecordAsyncHandler;
typedef Outcome<Error, Model::GetCustomerVerifyInfoResult> GetCustomerVerifyInfoOutcome;
typedef std::future<GetCustomerVerifyInfoOutcome> GetCustomerVerifyInfoOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetCustomerVerifyInfoRequest&, const GetCustomerVerifyInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCustomerVerifyInfoAsyncHandler;
typedef Outcome<Error, Model::QueryFundPartyListResult> QueryFundPartyListOutcome;
typedef std::future<QueryFundPartyListOutcome> QueryFundPartyListOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::QueryFundPartyListRequest&, const QueryFundPartyListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryFundPartyListAsyncHandler;
typedef Outcome<Error, Model::GetCreditStatusResult> GetCreditStatusOutcome;
typedef std::future<GetCreditStatusOutcome> GetCreditStatusOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetCreditStatusRequest&, const GetCreditStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCreditStatusAsyncHandler;
typedef Outcome<Error, Model::SaveAuthenticationInfoResult> SaveAuthenticationInfoOutcome;
typedef std::future<SaveAuthenticationInfoOutcome> SaveAuthenticationInfoOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::SaveAuthenticationInfoRequest&, const SaveAuthenticationInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveAuthenticationInfoAsyncHandler;
typedef Outcome<Error, Model::GetTradeDataResult> GetTradeDataOutcome;
typedef std::future<GetTradeDataOutcome> GetTradeDataOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetTradeDataRequest&, const GetTradeDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTradeDataAsyncHandler;
typedef Outcome<Error, Model::UploadCustomIDImageResult> UploadCustomIDImageOutcome;
typedef std::future<UploadCustomIDImageOutcome> UploadCustomIDImageOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::UploadCustomIDImageRequest&, const UploadCustomIDImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UploadCustomIDImageAsyncHandler;
typedef Outcome<Error, Model::QuerySignResultResult> QuerySignResultOutcome;
typedef std::future<QuerySignResultOutcome> QuerySignResultOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::QuerySignResultRequest&, const QuerySignResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySignResultAsyncHandler;
typedef Outcome<Error, Model::ApplyForLoanResult> ApplyForLoanOutcome;
typedef std::future<ApplyForLoanOutcome> ApplyForLoanOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::ApplyForLoanRequest&, const ApplyForLoanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApplyForLoanAsyncHandler;
typedef Outcome<Error, Model::GetZhimaScoreResult> GetZhimaScoreOutcome;
typedef std::future<GetZhimaScoreOutcome> GetZhimaScoreOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetZhimaScoreRequest&, const GetZhimaScoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetZhimaScoreAsyncHandler;
typedef Outcome<Error, Model::PayForOrderResult> PayForOrderOutcome;
typedef std::future<PayForOrderOutcome> PayForOrderOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::PayForOrderRequest&, const PayForOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PayForOrderAsyncHandler;
typedef Outcome<Error, Model::QueryTrialRecordsResult> QueryTrialRecordsOutcome;
typedef std::future<QueryTrialRecordsOutcome> QueryTrialRecordsOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::QueryTrialRecordsRequest&, const QueryTrialRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryTrialRecordsAsyncHandler;
typedef Outcome<Error, Model::GetCurrentTermRepayInfoResult> GetCurrentTermRepayInfoOutcome;
typedef std::future<GetCurrentTermRepayInfoOutcome> GetCurrentTermRepayInfoOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetCurrentTermRepayInfoRequest&, const GetCurrentTermRepayInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCurrentTermRepayInfoAsyncHandler;
typedef Outcome<Error, Model::UpdateAuthenticationInfoResult> UpdateAuthenticationInfoOutcome;
typedef std::future<UpdateAuthenticationInfoOutcome> UpdateAuthenticationInfoOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::UpdateAuthenticationInfoRequest&, const UpdateAuthenticationInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAuthenticationInfoAsyncHandler;
typedef Outcome<Error, Model::UpdateEnterpriseCustomInfoResult> UpdateEnterpriseCustomInfoOutcome;
typedef std::future<UpdateEnterpriseCustomInfoOutcome> UpdateEnterpriseCustomInfoOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::UpdateEnterpriseCustomInfoRequest&, const UpdateEnterpriseCustomInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateEnterpriseCustomInfoAsyncHandler;
typedef Outcome<Error, Model::GetCreditSignatureInfoResult> GetCreditSignatureInfoOutcome;
typedef std::future<GetCreditSignatureInfoOutcome> GetCreditSignatureInfoOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetCreditSignatureInfoRequest&, const GetCreditSignatureInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCreditSignatureInfoAsyncHandler;
typedef Outcome<Error, Model::AddTrialRecordResult> AddTrialRecordOutcome;
typedef std::future<AddTrialRecordOutcome> AddTrialRecordOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::AddTrialRecordRequest&, const AddTrialRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddTrialRecordAsyncHandler;
typedef Outcome<Error, Model::GetAuthorizeCreditQueryResult> GetAuthorizeCreditQueryOutcome;
typedef std::future<GetAuthorizeCreditQueryOutcome> GetAuthorizeCreditQueryOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetAuthorizeCreditQueryRequest&, const GetAuthorizeCreditQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAuthorizeCreditQueryAsyncHandler;
typedef Outcome<Error, Model::CancelCreditResult> CancelCreditOutcome;
typedef std::future<CancelCreditOutcome> CancelCreditOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::CancelCreditRequest&, const CancelCreditOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelCreditAsyncHandler;
typedef Outcome<Error, Model::GetCustomStatusInfoResult> GetCustomStatusInfoOutcome;
typedef std::future<GetCustomStatusInfoOutcome> GetCustomStatusInfoOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetCustomStatusInfoRequest&, const GetCustomStatusInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCustomStatusInfoAsyncHandler;
typedef Outcome<Error, Model::GetOverdueRecordListResult> GetOverdueRecordListOutcome;
typedef std::future<GetOverdueRecordListOutcome> GetOverdueRecordListOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetOverdueRecordListRequest&, const GetOverdueRecordListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOverdueRecordListAsyncHandler;
typedef Outcome<Error, Model::GetProductDetailResult> GetProductDetailOutcome;
typedef std::future<GetProductDetailOutcome> GetProductDetailOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetProductDetailRequest&, const GetProductDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProductDetailAsyncHandler;
typedef Outcome<Error, Model::VerifyCustomerResult> VerifyCustomerOutcome;
typedef std::future<VerifyCustomerOutcome> VerifyCustomerOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::VerifyCustomerRequest&, const VerifyCustomerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VerifyCustomerAsyncHandler;
typedef Outcome<Error, Model::SignLoanAgreementResult> SignLoanAgreementOutcome;
typedef std::future<SignLoanAgreementOutcome> SignLoanAgreementOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::SignLoanAgreementRequest&, const SignLoanAgreementOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SignLoanAgreementAsyncHandler;
typedef Outcome<Error, Model::AddCustomInfoResult> AddCustomInfoOutcome;
typedef std::future<AddCustomInfoOutcome> AddCustomInfoOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::AddCustomInfoRequest&, const AddCustomInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddCustomInfoAsyncHandler;
typedef Outcome<Error, Model::GetProductListResult> GetProductListOutcome;
typedef std::future<GetProductListOutcome> GetProductListOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetProductListRequest&, const GetProductListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProductListAsyncHandler;
typedef Outcome<Error, Model::GetLoanAgreementResult> GetLoanAgreementOutcome;
typedef std::future<GetLoanAgreementOutcome> GetLoanAgreementOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetLoanAgreementRequest&, const GetLoanAgreementOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLoanAgreementAsyncHandler;
typedef Outcome<Error, Model::GetUserInfoAuthorizationAgreementResult> GetUserInfoAuthorizationAgreementOutcome;
typedef std::future<GetUserInfoAuthorizationAgreementOutcome> GetUserInfoAuthorizationAgreementOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetUserInfoAuthorizationAgreementRequest&, const GetUserInfoAuthorizationAgreementOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserInfoAuthorizationAgreementAsyncHandler;
typedef Outcome<Error, Model::SignedPageResultResult> SignedPageResultOutcome;
typedef std::future<SignedPageResultOutcome> SignedPageResultOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::SignedPageResultRequest&, const SignedPageResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SignedPageResultAsyncHandler;
typedef Outcome<Error, Model::GetLoanApplyRecordListResult> GetLoanApplyRecordListOutcome;
typedef std::future<GetLoanApplyRecordListOutcome> GetLoanApplyRecordListOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetLoanApplyRecordListRequest&, const GetLoanApplyRecordListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLoanApplyRecordListAsyncHandler;
typedef Outcome<Error, Model::GetLatestOverdueRecordResult> GetLatestOverdueRecordOutcome;
typedef std::future<GetLatestOverdueRecordOutcome> GetLatestOverdueRecordOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetLatestOverdueRecordRequest&, const GetLatestOverdueRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLatestOverdueRecordAsyncHandler;
typedef Outcome<Error, Model::GetCreditListResult> GetCreditListOutcome;
typedef std::future<GetCreditListOutcome> GetCreditListOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetCreditListRequest&, const GetCreditListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCreditListAsyncHandler;
typedef Outcome<Error, Model::SignResultNotifyResult> SignResultNotifyOutcome;
typedef std::future<SignResultNotifyOutcome> SignResultNotifyOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::SignResultNotifyRequest&, const SignResultNotifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SignResultNotifyAsyncHandler;
typedef Outcome<Error, Model::VerifySMSTokenResult> VerifySMSTokenOutcome;
typedef std::future<VerifySMSTokenOutcome> VerifySMSTokenOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::VerifySMSTokenRequest&, const VerifySMSTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VerifySMSTokenAsyncHandler;
typedef Outcome<Error, Model::GetCreditRepayListResult> GetCreditRepayListOutcome;
typedef std::future<GetCreditRepayListOutcome> GetCreditRepayListOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetCreditRepayListRequest&, const GetCreditRepayListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCreditRepayListAsyncHandler;
typedef Outcome<Error, Model::GetSignContractUrlResult> GetSignContractUrlOutcome;
typedef std::future<GetSignContractUrlOutcome> GetSignContractUrlOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetSignContractUrlRequest&, const GetSignContractUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSignContractUrlAsyncHandler;
typedef Outcome<Error, Model::GetRepayPlanTrialResult> GetRepayPlanTrialOutcome;
typedef std::future<GetRepayPlanTrialOutcome> GetRepayPlanTrialOutcomeCallable;
typedef std::function<void(const FinmallClient*, const Model::GetRepayPlanTrialRequest&, const GetRepayPlanTrialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRepayPlanTrialAsyncHandler;
FinmallClient(const Credentials &credentials, const ClientConfiguration &configuration);
FinmallClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
FinmallClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~FinmallClient();
GetCreditDetailOutcome getCreditDetail(const Model::GetCreditDetailRequest &request)const;
void getCreditDetailAsync(const Model::GetCreditDetailRequest& request, const GetCreditDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCreditDetailOutcomeCallable getCreditDetailCallable(const Model::GetCreditDetailRequest& request) const;
GetDocumentDownloadUrlOutcome getDocumentDownloadUrl(const Model::GetDocumentDownloadUrlRequest &request)const;
void getDocumentDownloadUrlAsync(const Model::GetDocumentDownloadUrlRequest& request, const GetDocumentDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDocumentDownloadUrlOutcomeCallable getDocumentDownloadUrlCallable(const Model::GetDocumentDownloadUrlRequest& request) const;
GetCreditWithdrawRecordOutcome getCreditWithdrawRecord(const Model::GetCreditWithdrawRecordRequest &request)const;
void getCreditWithdrawRecordAsync(const Model::GetCreditWithdrawRecordRequest& request, const GetCreditWithdrawRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCreditWithdrawRecordOutcomeCallable getCreditWithdrawRecordCallable(const Model::GetCreditWithdrawRecordRequest& request) const;
GetCustomerVerifyInfoOutcome getCustomerVerifyInfo(const Model::GetCustomerVerifyInfoRequest &request)const;
void getCustomerVerifyInfoAsync(const Model::GetCustomerVerifyInfoRequest& request, const GetCustomerVerifyInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCustomerVerifyInfoOutcomeCallable getCustomerVerifyInfoCallable(const Model::GetCustomerVerifyInfoRequest& request) const;
QueryFundPartyListOutcome queryFundPartyList(const Model::QueryFundPartyListRequest &request)const;
void queryFundPartyListAsync(const Model::QueryFundPartyListRequest& request, const QueryFundPartyListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryFundPartyListOutcomeCallable queryFundPartyListCallable(const Model::QueryFundPartyListRequest& request) const;
GetCreditStatusOutcome getCreditStatus(const Model::GetCreditStatusRequest &request)const;
void getCreditStatusAsync(const Model::GetCreditStatusRequest& request, const GetCreditStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCreditStatusOutcomeCallable getCreditStatusCallable(const Model::GetCreditStatusRequest& request) const;
SaveAuthenticationInfoOutcome saveAuthenticationInfo(const Model::SaveAuthenticationInfoRequest &request)const;
void saveAuthenticationInfoAsync(const Model::SaveAuthenticationInfoRequest& request, const SaveAuthenticationInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveAuthenticationInfoOutcomeCallable saveAuthenticationInfoCallable(const Model::SaveAuthenticationInfoRequest& request) const;
GetTradeDataOutcome getTradeData(const Model::GetTradeDataRequest &request)const;
void getTradeDataAsync(const Model::GetTradeDataRequest& request, const GetTradeDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTradeDataOutcomeCallable getTradeDataCallable(const Model::GetTradeDataRequest& request) const;
UploadCustomIDImageOutcome uploadCustomIDImage(const Model::UploadCustomIDImageRequest &request)const;
void uploadCustomIDImageAsync(const Model::UploadCustomIDImageRequest& request, const UploadCustomIDImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UploadCustomIDImageOutcomeCallable uploadCustomIDImageCallable(const Model::UploadCustomIDImageRequest& request) const;
QuerySignResultOutcome querySignResult(const Model::QuerySignResultRequest &request)const;
void querySignResultAsync(const Model::QuerySignResultRequest& request, const QuerySignResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySignResultOutcomeCallable querySignResultCallable(const Model::QuerySignResultRequest& request) const;
ApplyForLoanOutcome applyForLoan(const Model::ApplyForLoanRequest &request)const;
void applyForLoanAsync(const Model::ApplyForLoanRequest& request, const ApplyForLoanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ApplyForLoanOutcomeCallable applyForLoanCallable(const Model::ApplyForLoanRequest& request) const;
GetZhimaScoreOutcome getZhimaScore(const Model::GetZhimaScoreRequest &request)const;
void getZhimaScoreAsync(const Model::GetZhimaScoreRequest& request, const GetZhimaScoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetZhimaScoreOutcomeCallable getZhimaScoreCallable(const Model::GetZhimaScoreRequest& request) const;
PayForOrderOutcome payForOrder(const Model::PayForOrderRequest &request)const;
void payForOrderAsync(const Model::PayForOrderRequest& request, const PayForOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PayForOrderOutcomeCallable payForOrderCallable(const Model::PayForOrderRequest& request) const;
QueryTrialRecordsOutcome queryTrialRecords(const Model::QueryTrialRecordsRequest &request)const;
void queryTrialRecordsAsync(const Model::QueryTrialRecordsRequest& request, const QueryTrialRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryTrialRecordsOutcomeCallable queryTrialRecordsCallable(const Model::QueryTrialRecordsRequest& request) const;
GetCurrentTermRepayInfoOutcome getCurrentTermRepayInfo(const Model::GetCurrentTermRepayInfoRequest &request)const;
void getCurrentTermRepayInfoAsync(const Model::GetCurrentTermRepayInfoRequest& request, const GetCurrentTermRepayInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCurrentTermRepayInfoOutcomeCallable getCurrentTermRepayInfoCallable(const Model::GetCurrentTermRepayInfoRequest& request) const;
UpdateAuthenticationInfoOutcome updateAuthenticationInfo(const Model::UpdateAuthenticationInfoRequest &request)const;
void updateAuthenticationInfoAsync(const Model::UpdateAuthenticationInfoRequest& request, const UpdateAuthenticationInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateAuthenticationInfoOutcomeCallable updateAuthenticationInfoCallable(const Model::UpdateAuthenticationInfoRequest& request) const;
UpdateEnterpriseCustomInfoOutcome updateEnterpriseCustomInfo(const Model::UpdateEnterpriseCustomInfoRequest &request)const;
void updateEnterpriseCustomInfoAsync(const Model::UpdateEnterpriseCustomInfoRequest& request, const UpdateEnterpriseCustomInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateEnterpriseCustomInfoOutcomeCallable updateEnterpriseCustomInfoCallable(const Model::UpdateEnterpriseCustomInfoRequest& request) const;
GetCreditSignatureInfoOutcome getCreditSignatureInfo(const Model::GetCreditSignatureInfoRequest &request)const;
void getCreditSignatureInfoAsync(const Model::GetCreditSignatureInfoRequest& request, const GetCreditSignatureInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCreditSignatureInfoOutcomeCallable getCreditSignatureInfoCallable(const Model::GetCreditSignatureInfoRequest& request) const;
AddTrialRecordOutcome addTrialRecord(const Model::AddTrialRecordRequest &request)const;
void addTrialRecordAsync(const Model::AddTrialRecordRequest& request, const AddTrialRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddTrialRecordOutcomeCallable addTrialRecordCallable(const Model::AddTrialRecordRequest& request) const;
GetAuthorizeCreditQueryOutcome getAuthorizeCreditQuery(const Model::GetAuthorizeCreditQueryRequest &request)const;
void getAuthorizeCreditQueryAsync(const Model::GetAuthorizeCreditQueryRequest& request, const GetAuthorizeCreditQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAuthorizeCreditQueryOutcomeCallable getAuthorizeCreditQueryCallable(const Model::GetAuthorizeCreditQueryRequest& request) const;
CancelCreditOutcome cancelCredit(const Model::CancelCreditRequest &request)const;
void cancelCreditAsync(const Model::CancelCreditRequest& request, const CancelCreditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelCreditOutcomeCallable cancelCreditCallable(const Model::CancelCreditRequest& request) const;
GetCustomStatusInfoOutcome getCustomStatusInfo(const Model::GetCustomStatusInfoRequest &request)const;
void getCustomStatusInfoAsync(const Model::GetCustomStatusInfoRequest& request, const GetCustomStatusInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCustomStatusInfoOutcomeCallable getCustomStatusInfoCallable(const Model::GetCustomStatusInfoRequest& request) const;
GetOverdueRecordListOutcome getOverdueRecordList(const Model::GetOverdueRecordListRequest &request)const;
void getOverdueRecordListAsync(const Model::GetOverdueRecordListRequest& request, const GetOverdueRecordListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetOverdueRecordListOutcomeCallable getOverdueRecordListCallable(const Model::GetOverdueRecordListRequest& request) const;
GetProductDetailOutcome getProductDetail(const Model::GetProductDetailRequest &request)const;
void getProductDetailAsync(const Model::GetProductDetailRequest& request, const GetProductDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetProductDetailOutcomeCallable getProductDetailCallable(const Model::GetProductDetailRequest& request) const;
VerifyCustomerOutcome verifyCustomer(const Model::VerifyCustomerRequest &request)const;
void verifyCustomerAsync(const Model::VerifyCustomerRequest& request, const VerifyCustomerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VerifyCustomerOutcomeCallable verifyCustomerCallable(const Model::VerifyCustomerRequest& request) const;
SignLoanAgreementOutcome signLoanAgreement(const Model::SignLoanAgreementRequest &request)const;
void signLoanAgreementAsync(const Model::SignLoanAgreementRequest& request, const SignLoanAgreementAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SignLoanAgreementOutcomeCallable signLoanAgreementCallable(const Model::SignLoanAgreementRequest& request) const;
AddCustomInfoOutcome addCustomInfo(const Model::AddCustomInfoRequest &request)const;
void addCustomInfoAsync(const Model::AddCustomInfoRequest& request, const AddCustomInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddCustomInfoOutcomeCallable addCustomInfoCallable(const Model::AddCustomInfoRequest& request) const;
GetProductListOutcome getProductList(const Model::GetProductListRequest &request)const;
void getProductListAsync(const Model::GetProductListRequest& request, const GetProductListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetProductListOutcomeCallable getProductListCallable(const Model::GetProductListRequest& request) const;
GetLoanAgreementOutcome getLoanAgreement(const Model::GetLoanAgreementRequest &request)const;
void getLoanAgreementAsync(const Model::GetLoanAgreementRequest& request, const GetLoanAgreementAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetLoanAgreementOutcomeCallable getLoanAgreementCallable(const Model::GetLoanAgreementRequest& request) const;
GetUserInfoAuthorizationAgreementOutcome getUserInfoAuthorizationAgreement(const Model::GetUserInfoAuthorizationAgreementRequest &request)const;
void getUserInfoAuthorizationAgreementAsync(const Model::GetUserInfoAuthorizationAgreementRequest& request, const GetUserInfoAuthorizationAgreementAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserInfoAuthorizationAgreementOutcomeCallable getUserInfoAuthorizationAgreementCallable(const Model::GetUserInfoAuthorizationAgreementRequest& request) const;
SignedPageResultOutcome signedPageResult(const Model::SignedPageResultRequest &request)const;
void signedPageResultAsync(const Model::SignedPageResultRequest& request, const SignedPageResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SignedPageResultOutcomeCallable signedPageResultCallable(const Model::SignedPageResultRequest& request) const;
GetLoanApplyRecordListOutcome getLoanApplyRecordList(const Model::GetLoanApplyRecordListRequest &request)const;
void getLoanApplyRecordListAsync(const Model::GetLoanApplyRecordListRequest& request, const GetLoanApplyRecordListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetLoanApplyRecordListOutcomeCallable getLoanApplyRecordListCallable(const Model::GetLoanApplyRecordListRequest& request) const;
GetLatestOverdueRecordOutcome getLatestOverdueRecord(const Model::GetLatestOverdueRecordRequest &request)const;
void getLatestOverdueRecordAsync(const Model::GetLatestOverdueRecordRequest& request, const GetLatestOverdueRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetLatestOverdueRecordOutcomeCallable getLatestOverdueRecordCallable(const Model::GetLatestOverdueRecordRequest& request) const;
GetCreditListOutcome getCreditList(const Model::GetCreditListRequest &request)const;
void getCreditListAsync(const Model::GetCreditListRequest& request, const GetCreditListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCreditListOutcomeCallable getCreditListCallable(const Model::GetCreditListRequest& request) const;
SignResultNotifyOutcome signResultNotify(const Model::SignResultNotifyRequest &request)const;
void signResultNotifyAsync(const Model::SignResultNotifyRequest& request, const SignResultNotifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SignResultNotifyOutcomeCallable signResultNotifyCallable(const Model::SignResultNotifyRequest& request) const;
VerifySMSTokenOutcome verifySMSToken(const Model::VerifySMSTokenRequest &request)const;
void verifySMSTokenAsync(const Model::VerifySMSTokenRequest& request, const VerifySMSTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VerifySMSTokenOutcomeCallable verifySMSTokenCallable(const Model::VerifySMSTokenRequest& request) const;
GetCreditRepayListOutcome getCreditRepayList(const Model::GetCreditRepayListRequest &request)const;
void getCreditRepayListAsync(const Model::GetCreditRepayListRequest& request, const GetCreditRepayListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCreditRepayListOutcomeCallable getCreditRepayListCallable(const Model::GetCreditRepayListRequest& request) const;
GetSignContractUrlOutcome getSignContractUrl(const Model::GetSignContractUrlRequest &request)const;
void getSignContractUrlAsync(const Model::GetSignContractUrlRequest& request, const GetSignContractUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSignContractUrlOutcomeCallable getSignContractUrlCallable(const Model::GetSignContractUrlRequest& request) const;
GetRepayPlanTrialOutcome getRepayPlanTrial(const Model::GetRepayPlanTrialRequest &request)const;
void getRepayPlanTrialAsync(const Model::GetRepayPlanTrialRequest& request, const GetRepayPlanTrialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetRepayPlanTrialOutcomeCallable getRepayPlanTrialCallable(const Model::GetRepayPlanTrialRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_FINMALL_FINMALLCLIENT_H_

View File

@@ -0,0 +1,32 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_FINMALLEXPORT_H_
#define ALIBABACLOUD_FINMALL_FINMALLEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_FINMALL_LIBRARY)
# define ALIBABACLOUD_FINMALL_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_FINMALL_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_FINMALL_EXPORT
#endif
#endif // !ALIBABACLOUD_FINMALL_FINMALLEXPORT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_ADDCUSTOMINFOREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_ADDCUSTOMINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT AddCustomInfoRequest : public RpcServiceRequest
{
public:
AddCustomInfoRequest();
~AddCustomInfoRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_ADDCUSTOMINFOREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_ADDCUSTOMINFORESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_ADDCUSTOMINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT AddCustomInfoResult : public ServiceResult
{
public:
struct Data
{
std::string userState;
std::string customId;
std::string validateState;
std::string validateTime;
};
AddCustomInfoResult();
explicit AddCustomInfoResult(const std::string &payload);
~AddCustomInfoResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_ADDCUSTOMINFORESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_ADDTRIALRECORDREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_ADDTRIALRECORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT AddTrialRecordRequest : public RpcServiceRequest
{
public:
AddTrialRecordRequest();
~AddTrialRecordRequest();
std::string getNote()const;
void setNote(const std::string& note);
std::string getEnterpriseEmail()const;
void setEnterpriseEmail(const std::string& enterpriseEmail);
std::string getContractPhoneNumber()const;
void setContractPhoneNumber(const std::string& contractPhoneNumber);
std::string getContractName()const;
void setContractName(const std::string& contractName);
std::string getChannel()const;
void setChannel(const std::string& channel);
std::string getEnterpriseName()const;
void setEnterpriseName(const std::string& enterpriseName);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getProducts()const;
void setProducts(const std::string& products);
std::string getBudget()const;
void setBudget(const std::string& budget);
private:
std::string note_;
std::string enterpriseEmail_;
std::string contractPhoneNumber_;
std::string contractName_;
std::string channel_;
std::string enterpriseName_;
std::string userId_;
std::string products_;
std::string budget_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_ADDTRIALRECORDREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_ADDTRIALRECORDRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_ADDTRIALRECORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT AddTrialRecordResult : public ServiceResult
{
public:
struct Data
{
std::string customId;
};
AddTrialRecordResult();
explicit AddTrialRecordResult(const std::string &payload);
~AddTrialRecordResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_ADDTRIALRECORDRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_APPLYFORLOANREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_APPLYFORLOANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT ApplyForLoanRequest : public RpcServiceRequest
{
public:
ApplyForLoanRequest();
~ApplyForLoanRequest();
std::string getBizType()const;
void setBizType(const std::string& bizType);
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getProductId()const;
void setProductId(const std::string& productId);
std::string getFundpartyId()const;
void setFundpartyId(const std::string& fundpartyId);
std::string getBizData()const;
void setBizData(const std::string& bizData);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string bizType_;
std::string creditId_;
std::string productId_;
std::string fundpartyId_;
std::string bizData_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_APPLYFORLOANREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_APPLYFORLOANRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_APPLYFORLOANRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT ApplyForLoanResult : public ServiceResult
{
public:
struct Data
{
std::string returnCode;
};
ApplyForLoanResult();
explicit ApplyForLoanResult(const std::string &payload);
~ApplyForLoanResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_APPLYFORLOANRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_CANCELCREDITREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_CANCELCREDITREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT CancelCreditRequest : public RpcServiceRequest
{
public:
CancelCreditRequest();
~CancelCreditRequest();
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string creditId_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_CANCELCREDITREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_CANCELCREDITRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_CANCELCREDITRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT CancelCreditResult : public ServiceResult
{
public:
struct Data
{
std::string returnCode;
std::string creditId;
};
CancelCreditResult();
explicit CancelCreditResult(const std::string &payload);
~CancelCreditResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_CANCELCREDITRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETAUTHORIZECREDITQUERYREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETAUTHORIZECREDITQUERYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetAuthorizeCreditQueryRequest : public RpcServiceRequest
{
public:
GetAuthorizeCreditQueryRequest();
~GetAuthorizeCreditQueryRequest();
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getFundPartyId()const;
void setFundPartyId(const std::string& fundPartyId);
std::string getReturnUrl()const;
void setReturnUrl(const std::string& returnUrl);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string creditId_;
std::string fundPartyId_;
std::string returnUrl_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETAUTHORIZECREDITQUERYREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETAUTHORIZECREDITQUERYRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETAUTHORIZECREDITQUERYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetAuthorizeCreditQueryResult : public ServiceResult
{
public:
struct Data
{
std::string viewUrl;
std::string returnCode;
std::string url;
std::string downloadUrl;
};
GetAuthorizeCreditQueryResult();
explicit GetAuthorizeCreditQueryResult(const std::string &payload);
~GetAuthorizeCreditQueryResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETAUTHORIZECREDITQUERYRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITDETAILREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCreditDetailRequest : public RpcServiceRequest
{
public:
GetCreditDetailRequest();
~GetCreditDetailRequest();
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string creditId_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITDETAILREQUEST_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITDETAILRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCreditDetailResult : public ServiceResult
{
public:
struct Data
{
std::string loanBalance;
std::string downPaymentRate;
std::string productName;
std::string amount;
std::string downPaymentAmount;
std::string productId;
std::string createDate;
std::string fundPartyId;
std::string updateDate;
std::string creditId;
std::string state;
std::string debtorName;
std::string repayPhase;
std::string lineOfCredit;
};
GetCreditDetailResult();
explicit GetCreditDetailResult(const std::string &payload);
~GetCreditDetailResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITDETAILRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITLISTREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCreditListRequest : public RpcServiceRequest
{
public:
GetCreditListRequest();
~GetCreditListRequest();
std::string getQueryExpression()const;
void setQueryExpression(const std::string& queryExpression);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getUserId()const;
void setUserId(const std::string& userId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
private:
std::string queryExpression_;
int pageSize_;
std::string userId_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITLISTREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITLISTRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCreditListResult : public ServiceResult
{
public:
GetCreditListResult();
explicit GetCreditListResult(const std::string &payload);
~GetCreditListResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITLISTRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITREPAYLISTREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITREPAYLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCreditRepayListRequest : public RpcServiceRequest
{
public:
GetCreditRepayListRequest();
~GetCreditRepayListRequest();
std::string getQueryExpression()const;
void setQueryExpression(const std::string& queryExpression);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getUserId()const;
void setUserId(const std::string& userId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
private:
std::string queryExpression_;
int pageSize_;
std::string userId_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITREPAYLISTREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITREPAYLISTRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITREPAYLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCreditRepayListResult : public ServiceResult
{
public:
GetCreditRepayListResult();
explicit GetCreditRepayListResult(const std::string &payload);
~GetCreditRepayListResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITREPAYLISTRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITSIGNATUREINFOREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITSIGNATUREINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCreditSignatureInfoRequest : public RpcServiceRequest
{
public:
GetCreditSignatureInfoRequest();
~GetCreditSignatureInfoRequest();
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string creditId_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITSIGNATUREINFOREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITSIGNATUREINFORESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITSIGNATUREINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCreditSignatureInfoResult : public ServiceResult
{
public:
GetCreditSignatureInfoResult();
explicit GetCreditSignatureInfoResult(const std::string &payload);
~GetCreditSignatureInfoResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITSIGNATUREINFORESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITSTATUSREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITSTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCreditStatusRequest : public RpcServiceRequest
{
public:
GetCreditStatusRequest();
~GetCreditStatusRequest();
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string creditId_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITSTATUSREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITSTATUSRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCreditStatusResult : public ServiceResult
{
public:
struct Data
{
std::string status;
std::string fundPartyId;
std::string creditApproveComment;
std::string createTime;
std::string tradeDataId;
std::string productId;
};
GetCreditStatusResult();
explicit GetCreditStatusResult(const std::string &payload);
~GetCreditStatusResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITSTATUSRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITWITHDRAWRECORDREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITWITHDRAWRECORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCreditWithdrawRecordRequest : public RpcServiceRequest
{
public:
GetCreditWithdrawRecordRequest();
~GetCreditWithdrawRecordRequest();
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string creditId_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITWITHDRAWRECORDREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCREDITWITHDRAWRECORDRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCREDITWITHDRAWRECORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCreditWithdrawRecordResult : public ServiceResult
{
public:
GetCreditWithdrawRecordResult();
explicit GetCreditWithdrawRecordResult(const std::string &payload);
~GetCreditWithdrawRecordResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCREDITWITHDRAWRECORDRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCURRENTTERMREPAYINFOREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCURRENTTERMREPAYINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCurrentTermRepayInfoRequest : public RpcServiceRequest
{
public:
GetCurrentTermRepayInfoRequest();
~GetCurrentTermRepayInfoRequest();
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string creditId_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCURRENTTERMREPAYINFOREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCURRENTTERMREPAYINFORESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCURRENTTERMREPAYINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCurrentTermRepayInfoResult : public ServiceResult
{
public:
struct Data
{
std::string fineAmt;
std::string loanBalance;
std::string expiryDate;
std::string balAmt;
std::string fineInter;
std::string creditId;
std::string interAmt;
std::string interInter;
std::string totalLoanAmount;
std::string repayPrincipalAmount;
};
GetCurrentTermRepayInfoResult();
explicit GetCurrentTermRepayInfoResult(const std::string &payload);
~GetCurrentTermRepayInfoResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCURRENTTERMREPAYINFORESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMSTATUSINFOREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMSTATUSINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCustomStatusInfoRequest : public RpcServiceRequest
{
public:
GetCustomStatusInfoRequest();
~GetCustomStatusInfoRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMSTATUSINFOREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMSTATUSINFORESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMSTATUSINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCustomStatusInfoResult : public ServiceResult
{
public:
struct Data
{
std::string userState;
std::string customId;
std::string validateState;
std::string validateTime;
};
GetCustomStatusInfoResult();
explicit GetCustomStatusInfoResult(const std::string &payload);
~GetCustomStatusInfoResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMSTATUSINFORESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMERVERIFYINFOREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMERVERIFYINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCustomerVerifyInfoRequest : public RpcServiceRequest
{
public:
GetCustomerVerifyInfoRequest();
~GetCustomerVerifyInfoRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMERVERIFYINFOREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMERVERIFYINFORESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMERVERIFYINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetCustomerVerifyInfoResult : public ServiceResult
{
public:
struct Data
{
std::string idCardNumber;
std::string email;
std::string address;
std::string idCardBackPage;
std::string validateState;
std::string bankCard;
std::string idCardFrontPage;
std::string legalPersonName;
std::string businessLicense;
std::string loanSubject;
std::string enterpriseName;
std::string phoneNumber;
std::string validateTime;
};
GetCustomerVerifyInfoResult();
explicit GetCustomerVerifyInfoResult(const std::string &payload);
~GetCustomerVerifyInfoResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETCUSTOMERVERIFYINFORESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETDOCUMENTDOWNLOADURLREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETDOCUMENTDOWNLOADURLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetDocumentDownloadUrlRequest : public RpcServiceRequest
{
public:
GetDocumentDownloadUrlRequest();
~GetDocumentDownloadUrlRequest();
std::string getBizType()const;
void setBizType(const std::string& bizType);
std::string getBizId()const;
void setBizId(const std::string& bizId);
std::string getDocumentId()const;
void setDocumentId(const std::string& documentId);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string bizType_;
std::string bizId_;
std::string documentId_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETDOCUMENTDOWNLOADURLREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETDOCUMENTDOWNLOADURLRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETDOCUMENTDOWNLOADURLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetDocumentDownloadUrlResult : public ServiceResult
{
public:
struct Data
{
std::string viewUrl;
std::string downloadUrl;
};
GetDocumentDownloadUrlResult();
explicit GetDocumentDownloadUrlResult(const std::string &payload);
~GetDocumentDownloadUrlResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETDOCUMENTDOWNLOADURLRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETLATESTOVERDUERECORDREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETLATESTOVERDUERECORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetLatestOverdueRecordRequest : public RpcServiceRequest
{
public:
GetLatestOverdueRecordRequest();
~GetLatestOverdueRecordRequest();
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string creditId_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETLATESTOVERDUERECORDREQUEST_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETLATESTOVERDUERECORDRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETLATESTOVERDUERECORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetLatestOverdueRecordResult : public ServiceResult
{
public:
struct Data
{
std::string interestAmount;
std::string creditAccount;
std::string overdueStartDate;
std::string overdueId;
std::string creditId;
std::string interestOfInterest;
std::string overdueType;
std::string fineInterest;
std::string principal;
std::string fineAmount;
std::string overdueDays;
};
GetLatestOverdueRecordResult();
explicit GetLatestOverdueRecordResult(const std::string &payload);
~GetLatestOverdueRecordResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETLATESTOVERDUERECORDRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETLOANAGREEMENTREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETLOANAGREEMENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetLoanAgreementRequest : public RpcServiceRequest
{
public:
GetLoanAgreementRequest();
~GetLoanAgreementRequest();
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getFundPartyId()const;
void setFundPartyId(const std::string& fundPartyId);
std::string getReturnUrl()const;
void setReturnUrl(const std::string& returnUrl);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string creditId_;
std::string fundPartyId_;
std::string returnUrl_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETLOANAGREEMENTREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETLOANAGREEMENTRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETLOANAGREEMENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetLoanAgreementResult : public ServiceResult
{
public:
struct Data
{
std::string viewUrl;
std::string returnCode;
std::string url;
std::string downloadUrl;
};
GetLoanAgreementResult();
explicit GetLoanAgreementResult(const std::string &payload);
~GetLoanAgreementResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETLOANAGREEMENTRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETLOANAPPLYRECORDLISTREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETLOANAPPLYRECORDLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetLoanApplyRecordListRequest : public RpcServiceRequest
{
public:
GetLoanApplyRecordListRequest();
~GetLoanApplyRecordListRequest();
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string creditId_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETLOANAPPLYRECORDLISTREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETLOANAPPLYRECORDLISTRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETLOANAPPLYRECORDLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetLoanApplyRecordListResult : public ServiceResult
{
public:
GetLoanApplyRecordListResult();
explicit GetLoanApplyRecordListResult(const std::string &payload);
~GetLoanApplyRecordListResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETLOANAPPLYRECORDLISTRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETOVERDUERECORDLISTREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETOVERDUERECORDLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetOverdueRecordListRequest : public RpcServiceRequest
{
public:
GetOverdueRecordListRequest();
~GetOverdueRecordListRequest();
int getPageSize()const;
void setPageSize(int pageSize);
std::string getQueryExpression()const;
void setQueryExpression(const std::string& queryExpression);
std::string getUserId()const;
void setUserId(const std::string& userId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
private:
int pageSize_;
std::string queryExpression_;
std::string userId_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETOVERDUERECORDLISTREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETOVERDUERECORDLISTRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETOVERDUERECORDLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetOverdueRecordListResult : public ServiceResult
{
public:
GetOverdueRecordListResult();
explicit GetOverdueRecordListResult(const std::string &payload);
~GetOverdueRecordListResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETOVERDUERECORDLISTRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTDETAILREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetProductDetailRequest : public RpcServiceRequest
{
public:
GetProductDetailRequest();
~GetProductDetailRequest();
std::string getProductId()const;
void setProductId(const std::string& productId);
std::string getFundPartyId()const;
void setFundPartyId(const std::string& fundPartyId);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string productId_;
std::string fundPartyId_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTDETAILREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTDETAILRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetProductDetailResult : public ServiceResult
{
public:
struct Data
{
std::string principalLimit;
std::string comment;
std::string productName;
std::string terms;
std::string productId;
std::string yearRate;
std::string fineAmount;
std::string lendingOrganizations;
std::string dailyRate;
std::string financialInfo;
std::string foundPartyName;
std::string interestRate;
std::string foundPartyId;
};
GetProductDetailResult();
explicit GetProductDetailResult(const std::string &payload);
~GetProductDetailResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTDETAILRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTLISTREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetProductListRequest : public RpcServiceRequest
{
public:
GetProductListRequest();
~GetProductListRequest();
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getFundPartyId()const;
void setFundPartyId(const std::string& fundPartyId);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string creditId_;
std::string fundPartyId_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTLISTREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTLISTRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetProductListResult : public ServiceResult
{
public:
GetProductListResult();
explicit GetProductListResult(const std::string &payload);
~GetProductListResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETPRODUCTLISTRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETREPAYPLANTRIALREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETREPAYPLANTRIALREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetRepayPlanTrialRequest : public RpcServiceRequest
{
public:
GetRepayPlanTrialRequest();
~GetRepayPlanTrialRequest();
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getProductId()const;
void setProductId(const std::string& productId);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string creditId_;
std::string productId_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETREPAYPLANTRIALREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETREPAYPLANTRIALRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETREPAYPLANTRIALRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetRepayPlanTrialResult : public ServiceResult
{
public:
struct Data
{
std::string amount;
std::string loanRate;
std::string terms;
std::string plan;
std::string repayMethod;
std::string prepayment;
};
GetRepayPlanTrialResult();
explicit GetRepayPlanTrialResult(const std::string &payload);
~GetRepayPlanTrialResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETREPAYPLANTRIALRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETSIGNCONTRACTURLREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETSIGNCONTRACTURLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetSignContractUrlRequest : public RpcServiceRequest
{
public:
GetSignContractUrlRequest();
~GetSignContractUrlRequest();
std::string getExtInfo()const;
void setExtInfo(const std::string& extInfo);
std::string getBizId()const;
void setBizId(const std::string& bizId);
std::string getSceneId()const;
void setSceneId(const std::string& sceneId);
std::string getReturnUrl()const;
void setReturnUrl(const std::string& returnUrl);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string extInfo_;
std::string bizId_;
std::string sceneId_;
std::string returnUrl_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETSIGNCONTRACTURLREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETSIGNCONTRACTURLRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETSIGNCONTRACTURLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetSignContractUrlResult : public ServiceResult
{
public:
struct Data
{
std::string url;
};
GetSignContractUrlResult();
explicit GetSignContractUrlResult(const std::string &payload);
~GetSignContractUrlResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETSIGNCONTRACTURLRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETTRADEDATAREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETTRADEDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetTradeDataRequest : public RpcServiceRequest
{
public:
GetTradeDataRequest();
~GetTradeDataRequest();
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string creditId_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETTRADEDATAREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETTRADEDATARESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETTRADEDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetTradeDataResult : public ServiceResult
{
public:
GetTradeDataResult();
explicit GetTradeDataResult(const std::string &payload);
~GetTradeDataResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETTRADEDATARESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETUSERINFOAUTHORIZATIONAGREEMENTREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETUSERINFOAUTHORIZATIONAGREEMENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetUserInfoAuthorizationAgreementRequest : public RpcServiceRequest
{
public:
GetUserInfoAuthorizationAgreementRequest();
~GetUserInfoAuthorizationAgreementRequest();
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getFundPartyId()const;
void setFundPartyId(const std::string& fundPartyId);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string creditId_;
std::string fundPartyId_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETUSERINFOAUTHORIZATIONAGREEMENTREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETUSERINFOAUTHORIZATIONAGREEMENTRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETUSERINFOAUTHORIZATIONAGREEMENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetUserInfoAuthorizationAgreementResult : public ServiceResult
{
public:
struct Data
{
std::string content;
std::string url;
};
GetUserInfoAuthorizationAgreementResult();
explicit GetUserInfoAuthorizationAgreementResult(const std::string &payload);
~GetUserInfoAuthorizationAgreementResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETUSERINFOAUTHORIZATIONAGREEMENTRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETZHIMASCOREREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETZHIMASCOREREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetZhimaScoreRequest : public RpcServiceRequest
{
public:
GetZhimaScoreRequest();
~GetZhimaScoreRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETZHIMASCOREREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_GETZHIMASCORERESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_GETZHIMASCORERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT GetZhimaScoreResult : public ServiceResult
{
public:
struct Data
{
std::string score;
};
GetZhimaScoreResult();
explicit GetZhimaScoreResult(const std::string &payload);
~GetZhimaScoreResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_GETZHIMASCORERESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_PAYFORORDERREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_PAYFORORDERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT PayForOrderRequest : public RpcServiceRequest
{
public:
PayForOrderRequest();
~PayForOrderRequest();
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getSmsIvToken()const;
void setSmsIvToken(const std::string& smsIvToken);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string creditId_;
std::string smsIvToken_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_PAYFORORDERREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_PAYFORORDERRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_PAYFORORDERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT PayForOrderResult : public ServiceResult
{
public:
struct Data
{
std::string returnCode;
};
PayForOrderResult();
explicit PayForOrderResult(const std::string &payload);
~PayForOrderResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_PAYFORORDERRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_QUERYFUNDPARTYLISTREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_QUERYFUNDPARTYLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT QueryFundPartyListRequest : public RpcServiceRequest
{
public:
QueryFundPartyListRequest();
~QueryFundPartyListRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_QUERYFUNDPARTYLISTREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_QUERYFUNDPARTYLISTRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_QUERYFUNDPARTYLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT QueryFundPartyListResult : public ServiceResult
{
public:
QueryFundPartyListResult();
explicit QueryFundPartyListResult(const std::string &payload);
~QueryFundPartyListResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_QUERYFUNDPARTYLISTRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_QUERYSIGNRESULTREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_QUERYSIGNRESULTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT QuerySignResultRequest : public RpcServiceRequest
{
public:
QuerySignResultRequest();
~QuerySignResultRequest();
std::string getExtInfo()const;
void setExtInfo(const std::string& extInfo);
std::string getBizId()const;
void setBizId(const std::string& bizId);
std::string getSceneId()const;
void setSceneId(const std::string& sceneId);
std::string getType()const;
void setType(const std::string& type);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string extInfo_;
std::string bizId_;
std::string sceneId_;
std::string type_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_QUERYSIGNRESULTREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_QUERYSIGNRESULTRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_QUERYSIGNRESULTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT QuerySignResultResult : public ServiceResult
{
public:
struct Data
{
std::string status;
std::string url;
};
QuerySignResultResult();
explicit QuerySignResultResult(const std::string &payload);
~QuerySignResultResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_QUERYSIGNRESULTRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_QUERYTRIALRECORDSREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_QUERYTRIALRECORDSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT QueryTrialRecordsRequest : public RpcServiceRequest
{
public:
QueryTrialRecordsRequest();
~QueryTrialRecordsRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_QUERYTRIALRECORDSREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_QUERYTRIALRECORDSRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_QUERYTRIALRECORDSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT QueryTrialRecordsResult : public ServiceResult
{
public:
QueryTrialRecordsResult();
explicit QueryTrialRecordsResult(const std::string &payload);
~QueryTrialRecordsResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_QUERYTRIALRECORDSRESULT_H_

View File

@@ -0,0 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_SAVEAUTHENTICATIONINFOREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_SAVEAUTHENTICATIONINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT SaveAuthenticationInfoRequest : public RpcServiceRequest
{
public:
SaveAuthenticationInfoRequest();
~SaveAuthenticationInfoRequest();
std::string getIdCardNumber()const;
void setIdCardNumber(const std::string& idCardNumber);
std::string getAddress()const;
void setAddress(const std::string& address);
std::string getEmployeeEmail()const;
void setEmployeeEmail(const std::string& employeeEmail);
std::string getEmployeePhoneNumber()const;
void setEmployeePhoneNumber(const std::string& employeePhoneNumber);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
std::string getBusinessLicense()const;
void setBusinessLicense(const std::string& businessLicense);
std::string getLegalPersonName()const;
void setLegalPersonName(const std::string& legalPersonName);
std::string getEnterpriseName()const;
void setEnterpriseName(const std::string& enterpriseName);
std::string getAuthenticateType()const;
void setAuthenticateType(const std::string& authenticateType);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getZhimaReturnUrl()const;
void setZhimaReturnUrl(const std::string& zhimaReturnUrl);
std::string getBankCard()const;
void setBankCard(const std::string& bankCard);
std::string getEmail()const;
void setEmail(const std::string& email);
std::string getEmployeeName()const;
void setEmployeeName(const std::string& employeeName);
std::string getEmployeeIdCardNumber()const;
void setEmployeeIdCardNumber(const std::string& employeeIdCardNumber);
private:
std::string idCardNumber_;
std::string address_;
std::string employeeEmail_;
std::string employeePhoneNumber_;
std::string phoneNumber_;
std::string businessLicense_;
std::string legalPersonName_;
std::string enterpriseName_;
std::string authenticateType_;
std::string userId_;
std::string zhimaReturnUrl_;
std::string bankCard_;
std::string email_;
std::string employeeName_;
std::string employeeIdCardNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_SAVEAUTHENTICATIONINFOREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_SAVEAUTHENTICATIONINFORESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_SAVEAUTHENTICATIONINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT SaveAuthenticationInfoResult : public ServiceResult
{
public:
SaveAuthenticationInfoResult();
explicit SaveAuthenticationInfoResult(const std::string &payload);
~SaveAuthenticationInfoResult();
std::string getMessage()const;
bool getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
bool data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_SAVEAUTHENTICATIONINFORESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_SIGNLOANAGREEMENTREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_SIGNLOANAGREEMENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT SignLoanAgreementRequest : public RpcServiceRequest
{
public:
SignLoanAgreementRequest();
~SignLoanAgreementRequest();
std::string getCreditId()const;
void setCreditId(const std::string& creditId);
std::string getReserved()const;
void setReserved(const std::string& reserved);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string creditId_;
std::string reserved_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_SIGNLOANAGREEMENTREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_SIGNLOANAGREEMENTRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_SIGNLOANAGREEMENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT SignLoanAgreementResult : public ServiceResult
{
public:
struct Data
{
std::string returnCode;
};
SignLoanAgreementResult();
explicit SignLoanAgreementResult(const std::string &payload);
~SignLoanAgreementResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_SIGNLOANAGREEMENTRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_SIGNRESULTNOTIFYREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_SIGNRESULTNOTIFYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT SignResultNotifyRequest : public RpcServiceRequest
{
public:
SignResultNotifyRequest();
~SignResultNotifyRequest();
std::string getDocId()const;
void setDocId(const std::string& docId);
std::string getDocContent()const;
void setDocContent(const std::string& docContent);
std::string getSign()const;
void setSign(const std::string& sign);
int getResultCode()const;
void setResultCode(int resultCode);
long getTime()const;
void setTime(long time);
std::string getTransactionId()const;
void setTransactionId(const std::string& transactionId);
std::string getResultDesc()const;
void setResultDesc(const std::string& resultDesc);
private:
std::string docId_;
std::string docContent_;
std::string sign_;
int resultCode_;
long time_;
std::string transactionId_;
std::string resultDesc_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_SIGNRESULTNOTIFYREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_SIGNRESULTNOTIFYRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_SIGNRESULTNOTIFYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT SignResultNotifyResult : public ServiceResult
{
public:
SignResultNotifyResult();
explicit SignResultNotifyResult(const std::string &payload);
~SignResultNotifyResult();
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_SIGNRESULTNOTIFYRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_SIGNEDPAGERESULTREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_SIGNEDPAGERESULTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT SignedPageResultRequest : public RpcServiceRequest
{
public:
SignedPageResultRequest();
~SignedPageResultRequest();
std::string getDownloadUrl()const;
void setDownloadUrl(const std::string& downloadUrl);
std::string getDigest()const;
void setDigest(const std::string& digest);
std::string getViewUrl()const;
void setViewUrl(const std::string& viewUrl);
int getResultCode()const;
void setResultCode(int resultCode);
std::string getTransactionId()const;
void setTransactionId(const std::string& transactionId);
std::string getResultDesc()const;
void setResultDesc(const std::string& resultDesc);
std::string getTimestamp()const;
void setTimestamp(const std::string& timestamp);
private:
std::string downloadUrl_;
std::string digest_;
std::string viewUrl_;
int resultCode_;
std::string transactionId_;
std::string resultDesc_;
std::string timestamp_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_SIGNEDPAGERESULTREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_SIGNEDPAGERESULTRESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_SIGNEDPAGERESULTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT SignedPageResultResult : public ServiceResult
{
public:
struct Data
{
std::string returnCode;
};
SignedPageResultResult();
explicit SignedPageResultResult(const std::string &payload);
~SignedPageResultResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_SIGNEDPAGERESULTRESULT_H_

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_UPDATEAUTHENTICATIONINFOREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_UPDATEAUTHENTICATIONINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT UpdateAuthenticationInfoRequest : public RpcServiceRequest
{
public:
UpdateAuthenticationInfoRequest();
~UpdateAuthenticationInfoRequest();
std::string getIdCardNumber()const;
void setIdCardNumber(const std::string& idCardNumber);
std::string getAddress()const;
void setAddress(const std::string& address);
std::string getEmployeeEmail()const;
void setEmployeeEmail(const std::string& employeeEmail);
std::string getEmployeePhoneNumber()const;
void setEmployeePhoneNumber(const std::string& employeePhoneNumber);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
std::string getBusinessLicense()const;
void setBusinessLicense(const std::string& businessLicense);
std::string getLegalPersonName()const;
void setLegalPersonName(const std::string& legalPersonName);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getSmsIvToken()const;
void setSmsIvToken(const std::string& smsIvToken);
std::string getBankCard()const;
void setBankCard(const std::string& bankCard);
std::string getEmail()const;
void setEmail(const std::string& email);
std::string getEmployeeName()const;
void setEmployeeName(const std::string& employeeName);
std::string getEmployeeIdCardNumber()const;
void setEmployeeIdCardNumber(const std::string& employeeIdCardNumber);
private:
std::string idCardNumber_;
std::string address_;
std::string employeeEmail_;
std::string employeePhoneNumber_;
std::string phoneNumber_;
std::string businessLicense_;
std::string legalPersonName_;
std::string userId_;
std::string smsIvToken_;
std::string bankCard_;
std::string email_;
std::string employeeName_;
std::string employeeIdCardNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_UPDATEAUTHENTICATIONINFOREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_UPDATEAUTHENTICATIONINFORESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_UPDATEAUTHENTICATIONINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT UpdateAuthenticationInfoResult : public ServiceResult
{
public:
UpdateAuthenticationInfoResult();
explicit UpdateAuthenticationInfoResult(const std::string &payload);
~UpdateAuthenticationInfoResult();
std::string getMessage()const;
bool getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
bool data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_UPDATEAUTHENTICATIONINFORESULT_H_

View File

@@ -0,0 +1,87 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_UPDATEENTERPRISECUSTOMINFOREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_UPDATEENTERPRISECUSTOMINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT UpdateEnterpriseCustomInfoRequest : public RpcServiceRequest
{
public:
UpdateEnterpriseCustomInfoRequest();
~UpdateEnterpriseCustomInfoRequest();
std::string getIdCardNumber()const;
void setIdCardNumber(const std::string& idCardNumber);
std::string getAddress()const;
void setAddress(const std::string& address);
std::string getIdCardFrontPage()const;
void setIdCardFrontPage(const std::string& idCardFrontPage);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
std::string getBusinessLicense()const;
void setBusinessLicense(const std::string& businessLicense);
std::string getIdCardBackPage()const;
void setIdCardBackPage(const std::string& idCardBackPage);
std::string getLegalPersonName()const;
void setLegalPersonName(const std::string& legalPersonName);
std::string getEnterpriseName()const;
void setEnterpriseName(const std::string& enterpriseName);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getLoanSubject()const;
void setLoanSubject(const std::string& loanSubject);
std::string getZhimaReturnUrl()const;
void setZhimaReturnUrl(const std::string& zhimaReturnUrl);
std::string getSmsIvToken()const;
void setSmsIvToken(const std::string& smsIvToken);
std::string getBankCard()const;
void setBankCard(const std::string& bankCard);
std::string getEmail()const;
void setEmail(const std::string& email);
private:
std::string idCardNumber_;
std::string address_;
std::string idCardFrontPage_;
std::string phoneNumber_;
std::string businessLicense_;
std::string idCardBackPage_;
std::string legalPersonName_;
std::string enterpriseName_;
std::string userId_;
std::string loanSubject_;
std::string zhimaReturnUrl_;
std::string smsIvToken_;
std::string bankCard_;
std::string email_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_UPDATEENTERPRISECUSTOMINFOREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_UPDATEENTERPRISECUSTOMINFORESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_UPDATEENTERPRISECUSTOMINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT UpdateEnterpriseCustomInfoResult : public ServiceResult
{
public:
UpdateEnterpriseCustomInfoResult();
explicit UpdateEnterpriseCustomInfoResult(const std::string &payload);
~UpdateEnterpriseCustomInfoResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_UPDATEENTERPRISECUSTOMINFORESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_UPLOADCUSTOMIDIMAGEREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_UPLOADCUSTOMIDIMAGEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT UploadCustomIDImageRequest : public RpcServiceRequest
{
public:
UploadCustomIDImageRequest();
~UploadCustomIDImageRequest();
std::string getImageType()const;
void setImageType(const std::string& imageType);
std::string getSide()const;
void setSide(const std::string& side);
std::string getImageFile()const;
void setImageFile(const std::string& imageFile);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string imageType_;
std::string side_;
std::string imageFile_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_UPLOADCUSTOMIDIMAGEREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_UPLOADCUSTOMIDIMAGERESULT_H_
#define ALIBABACLOUD_FINMALL_MODEL_UPLOADCUSTOMIDIMAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT UploadCustomIDImageResult : public ServiceResult
{
public:
struct Data
{
std::string returnCode;
std::string url;
};
UploadCustomIDImageResult();
explicit UploadCustomIDImageResult(const std::string &payload);
~UploadCustomIDImageResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_UPLOADCUSTOMIDIMAGERESULT_H_

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_FINMALL_MODEL_VERIFYCUSTOMERREQUEST_H_
#define ALIBABACLOUD_FINMALL_MODEL_VERIFYCUSTOMERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/finmall/FinmallExport.h>
namespace AlibabaCloud
{
namespace Finmall
{
namespace Model
{
class ALIBABACLOUD_FINMALL_EXPORT VerifyCustomerRequest : public RpcServiceRequest
{
public:
VerifyCustomerRequest();
~VerifyCustomerRequest();
std::string getIdCardNumber()const;
void setIdCardNumber(const std::string& idCardNumber);
std::string getAddress()const;
void setAddress(const std::string& address);
std::string getIdCardFrontPage()const;
void setIdCardFrontPage(const std::string& idCardFrontPage);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
std::string getBusinessLicense()const;
void setBusinessLicense(const std::string& businessLicense);
std::string getIdCardBackPage()const;
void setIdCardBackPage(const std::string& idCardBackPage);
std::string getLegalPersonName()const;
void setLegalPersonName(const std::string& legalPersonName);
std::string getEnterpriseName()const;
void setEnterpriseName(const std::string& enterpriseName);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getLoanSubject()const;
void setLoanSubject(const std::string& loanSubject);
std::string getZhimaReturnUrl()const;
void setZhimaReturnUrl(const std::string& zhimaReturnUrl);
std::string getBankCard()const;
void setBankCard(const std::string& bankCard);
std::string getEmail()const;
void setEmail(const std::string& email);
private:
std::string idCardNumber_;
std::string address_;
std::string idCardFrontPage_;
std::string phoneNumber_;
std::string businessLicense_;
std::string idCardBackPage_;
std::string legalPersonName_;
std::string enterpriseName_;
std::string userId_;
std::string loanSubject_;
std::string zhimaReturnUrl_;
std::string bankCard_;
std::string email_;
};
}
}
}
#endif // !ALIBABACLOUD_FINMALL_MODEL_VERIFYCUSTOMERREQUEST_H_

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