Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e7c17519db | ||
|
|
549e90ee7c | ||
|
|
d51acd44d7 | ||
|
|
da8c6b2c70 | ||
|
|
feae502d3a | ||
|
|
6d54401df2 | ||
|
|
38e88e6678 | ||
|
|
eea054f3c4 | ||
|
|
619a7827de | ||
|
|
8c9353a007 | ||
|
|
191f3c859f | ||
|
|
4a0a5164c7 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -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
|
||||
|
||||
36
CHANGELOG
36
CHANGELOG
@@ -1,3 +1,39 @@
|
||||
2019-03-18 Version: 1.34.42
|
||||
1, Signature Document SDK.
|
||||
2, First version publish.
|
||||
3, Beta Version SDK
|
||||
|
||||
2019-03-18 Version: 1.34.41
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-18 Version: 1.34.40
|
||||
1, move AssociatePerson\Tag field
|
||||
2, Optimize RealName field
|
||||
|
||||
2019-03-18 Version: 1.34.39
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-18 Version: 1.34.38
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-18 Version: 1.34.37
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-18 Version: 1.34.36
|
||||
1, Update Dependency
|
||||
|
||||
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
|
||||
|
||||
|
||||
@@ -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,15 +91,22 @@ 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(finmall)
|
||||
add_subdirectory(openanalytics)
|
||||
add_subdirectory(yundun)
|
||||
add_subdirectory(arms4finance)
|
||||
add_subdirectory(imagesearch)
|
||||
add_subdirectory(cas)
|
||||
67
README.md
67
README.md
@@ -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
|
||||
|
||||
70
README_zh.md
70
README_zh.md
@@ -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]**
|
||||
|
||||
## 许可协议
|
||||
|
||||
@@ -23,55 +23,67 @@ set(afs_public_header
|
||||
set(afs_public_header_model
|
||||
include/alibabacloud/afs/model/DescribeEarlyWarningRequest.h
|
||||
include/alibabacloud/afs/model/DescribeEarlyWarningResult.h
|
||||
include/alibabacloud/afs/model/SetEarlyWarningRequest.h
|
||||
include/alibabacloud/afs/model/SetEarlyWarningResult.h
|
||||
include/alibabacloud/afs/model/DescribeCaptchaIpCityRequest.h
|
||||
include/alibabacloud/afs/model/DescribeCaptchaIpCityResult.h
|
||||
include/alibabacloud/afs/model/DescribeOrderInfoRequest.h
|
||||
include/alibabacloud/afs/model/DescribeOrderInfoResult.h
|
||||
include/alibabacloud/afs/model/DescribeCaptchaRiskRequest.h
|
||||
include/alibabacloud/afs/model/DescribeCaptchaRiskResult.h
|
||||
include/alibabacloud/afs/model/DescribeCaptchaOrderRequest.h
|
||||
include/alibabacloud/afs/model/DescribeCaptchaOrderResult.h
|
||||
include/alibabacloud/afs/model/CreateConfigurationRequest.h
|
||||
include/alibabacloud/afs/model/CreateConfigurationResult.h
|
||||
include/alibabacloud/afs/model/AnalyzeNvcRequest.h
|
||||
include/alibabacloud/afs/model/AnalyzeNvcResult.h
|
||||
include/alibabacloud/afs/model/SetEarlyWarningRequest.h
|
||||
include/alibabacloud/afs/model/SetEarlyWarningResult.h
|
||||
include/alibabacloud/afs/model/ConfigurationStyleRequest.h
|
||||
include/alibabacloud/afs/model/ConfigurationStyleResult.h
|
||||
include/alibabacloud/afs/model/DescribeCaptchaMinRequest.h
|
||||
include/alibabacloud/afs/model/DescribeCaptchaMinResult.h
|
||||
include/alibabacloud/afs/model/DescribeCaptchaRiskRequest.h
|
||||
include/alibabacloud/afs/model/DescribeCaptchaRiskResult.h
|
||||
include/alibabacloud/afs/model/AuthenticateSigRequest.h
|
||||
include/alibabacloud/afs/model/AuthenticateSigResult.h
|
||||
include/alibabacloud/afs/model/DescribeConfigNameRequest.h
|
||||
include/alibabacloud/afs/model/DescribeConfigNameResult.h
|
||||
include/alibabacloud/afs/model/DescribeCaptchaDayRequest.h
|
||||
include/alibabacloud/afs/model/DescribeCaptchaDayResult.h
|
||||
include/alibabacloud/afs/model/UpdateConfigNameRequest.h
|
||||
include/alibabacloud/afs/model/UpdateConfigNameResult.h
|
||||
include/alibabacloud/afs/model/DescribePersonMachineListRequest.h
|
||||
include/alibabacloud/afs/model/DescribePersonMachineListResult.h
|
||||
include/alibabacloud/afs/model/CreateConfigurationRequest.h
|
||||
include/alibabacloud/afs/model/CreateConfigurationResult.h
|
||||
include/alibabacloud/afs/model/AnalyzeNvcRequest.h
|
||||
include/alibabacloud/afs/model/AnalyzeNvcResult.h )
|
||||
include/alibabacloud/afs/model/DescribePersonMachineListResult.h )
|
||||
|
||||
set(afs_src
|
||||
src/AfsClient.cc
|
||||
src/model/DescribeEarlyWarningRequest.cc
|
||||
src/model/DescribeEarlyWarningResult.cc
|
||||
src/model/SetEarlyWarningRequest.cc
|
||||
src/model/SetEarlyWarningResult.cc
|
||||
src/model/DescribeCaptchaIpCityRequest.cc
|
||||
src/model/DescribeCaptchaIpCityResult.cc
|
||||
src/model/DescribeOrderInfoRequest.cc
|
||||
src/model/DescribeOrderInfoResult.cc
|
||||
src/model/DescribeCaptchaRiskRequest.cc
|
||||
src/model/DescribeCaptchaRiskResult.cc
|
||||
src/model/DescribeCaptchaOrderRequest.cc
|
||||
src/model/DescribeCaptchaOrderResult.cc
|
||||
src/model/CreateConfigurationRequest.cc
|
||||
src/model/CreateConfigurationResult.cc
|
||||
src/model/AnalyzeNvcRequest.cc
|
||||
src/model/AnalyzeNvcResult.cc
|
||||
src/model/SetEarlyWarningRequest.cc
|
||||
src/model/SetEarlyWarningResult.cc
|
||||
src/model/ConfigurationStyleRequest.cc
|
||||
src/model/ConfigurationStyleResult.cc
|
||||
src/model/DescribeCaptchaMinRequest.cc
|
||||
src/model/DescribeCaptchaMinResult.cc
|
||||
src/model/DescribeCaptchaRiskRequest.cc
|
||||
src/model/DescribeCaptchaRiskResult.cc
|
||||
src/model/AuthenticateSigRequest.cc
|
||||
src/model/AuthenticateSigResult.cc
|
||||
src/model/DescribeConfigNameRequest.cc
|
||||
src/model/DescribeConfigNameResult.cc
|
||||
src/model/DescribeCaptchaDayRequest.cc
|
||||
src/model/DescribeCaptchaDayResult.cc
|
||||
src/model/UpdateConfigNameRequest.cc
|
||||
src/model/UpdateConfigNameResult.cc
|
||||
src/model/DescribePersonMachineListRequest.cc
|
||||
src/model/DescribePersonMachineListResult.cc
|
||||
src/model/CreateConfigurationRequest.cc
|
||||
src/model/CreateConfigurationResult.cc
|
||||
src/model/AnalyzeNvcRequest.cc
|
||||
src/model/AnalyzeNvcResult.cc )
|
||||
src/model/DescribePersonMachineListResult.cc )
|
||||
|
||||
add_library(afs ${LIB_TYPE}
|
||||
${afs_public_header}
|
||||
|
||||
@@ -24,28 +24,34 @@
|
||||
#include "AfsExport.h"
|
||||
#include "model/DescribeEarlyWarningRequest.h"
|
||||
#include "model/DescribeEarlyWarningResult.h"
|
||||
#include "model/SetEarlyWarningRequest.h"
|
||||
#include "model/SetEarlyWarningResult.h"
|
||||
#include "model/DescribeCaptchaIpCityRequest.h"
|
||||
#include "model/DescribeCaptchaIpCityResult.h"
|
||||
#include "model/DescribeOrderInfoRequest.h"
|
||||
#include "model/DescribeOrderInfoResult.h"
|
||||
#include "model/DescribeCaptchaRiskRequest.h"
|
||||
#include "model/DescribeCaptchaRiskResult.h"
|
||||
#include "model/DescribeCaptchaOrderRequest.h"
|
||||
#include "model/DescribeCaptchaOrderResult.h"
|
||||
#include "model/CreateConfigurationRequest.h"
|
||||
#include "model/CreateConfigurationResult.h"
|
||||
#include "model/AnalyzeNvcRequest.h"
|
||||
#include "model/AnalyzeNvcResult.h"
|
||||
#include "model/SetEarlyWarningRequest.h"
|
||||
#include "model/SetEarlyWarningResult.h"
|
||||
#include "model/ConfigurationStyleRequest.h"
|
||||
#include "model/ConfigurationStyleResult.h"
|
||||
#include "model/DescribeCaptchaMinRequest.h"
|
||||
#include "model/DescribeCaptchaMinResult.h"
|
||||
#include "model/DescribeCaptchaRiskRequest.h"
|
||||
#include "model/DescribeCaptchaRiskResult.h"
|
||||
#include "model/AuthenticateSigRequest.h"
|
||||
#include "model/AuthenticateSigResult.h"
|
||||
#include "model/DescribeConfigNameRequest.h"
|
||||
#include "model/DescribeConfigNameResult.h"
|
||||
#include "model/DescribeCaptchaDayRequest.h"
|
||||
#include "model/DescribeCaptchaDayResult.h"
|
||||
#include "model/UpdateConfigNameRequest.h"
|
||||
#include "model/UpdateConfigNameResult.h"
|
||||
#include "model/DescribePersonMachineListRequest.h"
|
||||
#include "model/DescribePersonMachineListResult.h"
|
||||
#include "model/CreateConfigurationRequest.h"
|
||||
#include "model/CreateConfigurationResult.h"
|
||||
#include "model/AnalyzeNvcRequest.h"
|
||||
#include "model/AnalyzeNvcResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -55,83 +61,101 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_AFS_EXPORT AfsClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::DescribeEarlyWarningResult> DescribeEarlyWarningOutcome;
|
||||
typedef std::future<DescribeEarlyWarningOutcome> DescribeEarlyWarningOutcomeCallable;
|
||||
typedef Outcome<Error, Model::DescribeEarlyWarningResult> DescribeEarlyWarningOutcome;
|
||||
typedef std::future<DescribeEarlyWarningOutcome> DescribeEarlyWarningOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribeEarlyWarningRequest&, const DescribeEarlyWarningOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEarlyWarningAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetEarlyWarningResult> SetEarlyWarningOutcome;
|
||||
typedef std::future<SetEarlyWarningOutcome> SetEarlyWarningOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::SetEarlyWarningRequest&, const SetEarlyWarningOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetEarlyWarningAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCaptchaIpCityResult> DescribeCaptchaIpCityOutcome;
|
||||
typedef std::future<DescribeCaptchaIpCityOutcome> DescribeCaptchaIpCityOutcomeCallable;
|
||||
typedef Outcome<Error, Model::DescribeCaptchaIpCityResult> DescribeCaptchaIpCityOutcome;
|
||||
typedef std::future<DescribeCaptchaIpCityOutcome> DescribeCaptchaIpCityOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribeCaptchaIpCityRequest&, const DescribeCaptchaIpCityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCaptchaIpCityAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConfigurationStyleResult> ConfigurationStyleOutcome;
|
||||
typedef std::future<ConfigurationStyleOutcome> ConfigurationStyleOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::ConfigurationStyleRequest&, const ConfigurationStyleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigurationStyleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCaptchaMinResult> DescribeCaptchaMinOutcome;
|
||||
typedef std::future<DescribeCaptchaMinOutcome> DescribeCaptchaMinOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribeCaptchaMinRequest&, const DescribeCaptchaMinOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCaptchaMinAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCaptchaRiskResult> DescribeCaptchaRiskOutcome;
|
||||
typedef std::future<DescribeCaptchaRiskOutcome> DescribeCaptchaRiskOutcomeCallable;
|
||||
typedef Outcome<Error, Model::DescribeOrderInfoResult> DescribeOrderInfoOutcome;
|
||||
typedef std::future<DescribeOrderInfoOutcome> DescribeOrderInfoOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribeOrderInfoRequest&, const DescribeOrderInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOrderInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCaptchaRiskResult> DescribeCaptchaRiskOutcome;
|
||||
typedef std::future<DescribeCaptchaRiskOutcome> DescribeCaptchaRiskOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribeCaptchaRiskRequest&, const DescribeCaptchaRiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCaptchaRiskAsyncHandler;
|
||||
typedef Outcome<Error, Model::AuthenticateSigResult> AuthenticateSigOutcome;
|
||||
typedef std::future<AuthenticateSigOutcome> AuthenticateSigOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::AuthenticateSigRequest&, const AuthenticateSigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AuthenticateSigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeConfigNameResult> DescribeConfigNameOutcome;
|
||||
typedef std::future<DescribeConfigNameOutcome> DescribeConfigNameOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribeConfigNameRequest&, const DescribeConfigNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConfigNameAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCaptchaDayResult> DescribeCaptchaDayOutcome;
|
||||
typedef std::future<DescribeCaptchaDayOutcome> DescribeCaptchaDayOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribeCaptchaDayRequest&, const DescribeCaptchaDayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCaptchaDayAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePersonMachineListResult> DescribePersonMachineListOutcome;
|
||||
typedef std::future<DescribePersonMachineListOutcome> DescribePersonMachineListOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribePersonMachineListRequest&, const DescribePersonMachineListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePersonMachineListAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateConfigurationResult> CreateConfigurationOutcome;
|
||||
typedef std::future<CreateConfigurationOutcome> CreateConfigurationOutcomeCallable;
|
||||
typedef Outcome<Error, Model::DescribeCaptchaOrderResult> DescribeCaptchaOrderOutcome;
|
||||
typedef std::future<DescribeCaptchaOrderOutcome> DescribeCaptchaOrderOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribeCaptchaOrderRequest&, const DescribeCaptchaOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCaptchaOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateConfigurationResult> CreateConfigurationOutcome;
|
||||
typedef std::future<CreateConfigurationOutcome> CreateConfigurationOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::CreateConfigurationRequest&, const CreateConfigurationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConfigurationAsyncHandler;
|
||||
typedef Outcome<Error, Model::AnalyzeNvcResult> AnalyzeNvcOutcome;
|
||||
typedef std::future<AnalyzeNvcOutcome> AnalyzeNvcOutcomeCallable;
|
||||
typedef Outcome<Error, Model::AnalyzeNvcResult> AnalyzeNvcOutcome;
|
||||
typedef std::future<AnalyzeNvcOutcome> AnalyzeNvcOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::AnalyzeNvcRequest&, const AnalyzeNvcOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AnalyzeNvcAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetEarlyWarningResult> SetEarlyWarningOutcome;
|
||||
typedef std::future<SetEarlyWarningOutcome> SetEarlyWarningOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::SetEarlyWarningRequest&, const SetEarlyWarningOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetEarlyWarningAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConfigurationStyleResult> ConfigurationStyleOutcome;
|
||||
typedef std::future<ConfigurationStyleOutcome> ConfigurationStyleOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::ConfigurationStyleRequest&, const ConfigurationStyleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigurationStyleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCaptchaMinResult> DescribeCaptchaMinOutcome;
|
||||
typedef std::future<DescribeCaptchaMinOutcome> DescribeCaptchaMinOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribeCaptchaMinRequest&, const DescribeCaptchaMinOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCaptchaMinAsyncHandler;
|
||||
typedef Outcome<Error, Model::AuthenticateSigResult> AuthenticateSigOutcome;
|
||||
typedef std::future<AuthenticateSigOutcome> AuthenticateSigOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::AuthenticateSigRequest&, const AuthenticateSigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AuthenticateSigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeConfigNameResult> DescribeConfigNameOutcome;
|
||||
typedef std::future<DescribeConfigNameOutcome> DescribeConfigNameOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribeConfigNameRequest&, const DescribeConfigNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConfigNameAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCaptchaDayResult> DescribeCaptchaDayOutcome;
|
||||
typedef std::future<DescribeCaptchaDayOutcome> DescribeCaptchaDayOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribeCaptchaDayRequest&, const DescribeCaptchaDayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCaptchaDayAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateConfigNameResult> UpdateConfigNameOutcome;
|
||||
typedef std::future<UpdateConfigNameOutcome> UpdateConfigNameOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::UpdateConfigNameRequest&, const UpdateConfigNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateConfigNameAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePersonMachineListResult> DescribePersonMachineListOutcome;
|
||||
typedef std::future<DescribePersonMachineListOutcome> DescribePersonMachineListOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribePersonMachineListRequest&, const DescribePersonMachineListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePersonMachineListAsyncHandler;
|
||||
|
||||
AfsClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
AfsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
AfsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~AfsClient();
|
||||
DescribeEarlyWarningOutcome describeEarlyWarning(const Model::DescribeEarlyWarningRequest &request)const;
|
||||
void describeEarlyWarningAsync(const Model::DescribeEarlyWarningRequest& request, const DescribeEarlyWarningAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeEarlyWarningOutcomeCallable describeEarlyWarningCallable(const Model::DescribeEarlyWarningRequest& request) const;
|
||||
SetEarlyWarningOutcome setEarlyWarning(const Model::SetEarlyWarningRequest &request)const;
|
||||
void setEarlyWarningAsync(const Model::SetEarlyWarningRequest& request, const SetEarlyWarningAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetEarlyWarningOutcomeCallable setEarlyWarningCallable(const Model::SetEarlyWarningRequest& request) const;
|
||||
DescribeCaptchaIpCityOutcome describeCaptchaIpCity(const Model::DescribeCaptchaIpCityRequest &request)const;
|
||||
void describeCaptchaIpCityAsync(const Model::DescribeCaptchaIpCityRequest& request, const DescribeCaptchaIpCityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCaptchaIpCityOutcomeCallable describeCaptchaIpCityCallable(const Model::DescribeCaptchaIpCityRequest& request) const;
|
||||
ConfigurationStyleOutcome configurationStyle(const Model::ConfigurationStyleRequest &request)const;
|
||||
void configurationStyleAsync(const Model::ConfigurationStyleRequest& request, const ConfigurationStyleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigurationStyleOutcomeCallable configurationStyleCallable(const Model::ConfigurationStyleRequest& request) const;
|
||||
DescribeCaptchaMinOutcome describeCaptchaMin(const Model::DescribeCaptchaMinRequest &request)const;
|
||||
void describeCaptchaMinAsync(const Model::DescribeCaptchaMinRequest& request, const DescribeCaptchaMinAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCaptchaMinOutcomeCallable describeCaptchaMinCallable(const Model::DescribeCaptchaMinRequest& request) const;
|
||||
DescribeCaptchaRiskOutcome describeCaptchaRisk(const Model::DescribeCaptchaRiskRequest &request)const;
|
||||
void describeCaptchaRiskAsync(const Model::DescribeCaptchaRiskRequest& request, const DescribeCaptchaRiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCaptchaRiskOutcomeCallable describeCaptchaRiskCallable(const Model::DescribeCaptchaRiskRequest& request) const;
|
||||
AuthenticateSigOutcome authenticateSig(const Model::AuthenticateSigRequest &request)const;
|
||||
void authenticateSigAsync(const Model::AuthenticateSigRequest& request, const AuthenticateSigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AuthenticateSigOutcomeCallable authenticateSigCallable(const Model::AuthenticateSigRequest& request) const;
|
||||
DescribeConfigNameOutcome describeConfigName(const Model::DescribeConfigNameRequest &request)const;
|
||||
void describeConfigNameAsync(const Model::DescribeConfigNameRequest& request, const DescribeConfigNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeConfigNameOutcomeCallable describeConfigNameCallable(const Model::DescribeConfigNameRequest& request) const;
|
||||
DescribeCaptchaDayOutcome describeCaptchaDay(const Model::DescribeCaptchaDayRequest &request)const;
|
||||
void describeCaptchaDayAsync(const Model::DescribeCaptchaDayRequest& request, const DescribeCaptchaDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCaptchaDayOutcomeCallable describeCaptchaDayCallable(const Model::DescribeCaptchaDayRequest& request) const;
|
||||
DescribePersonMachineListOutcome describePersonMachineList(const Model::DescribePersonMachineListRequest &request)const;
|
||||
void describePersonMachineListAsync(const Model::DescribePersonMachineListRequest& request, const DescribePersonMachineListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePersonMachineListOutcomeCallable describePersonMachineListCallable(const Model::DescribePersonMachineListRequest& request) const;
|
||||
CreateConfigurationOutcome createConfiguration(const Model::CreateConfigurationRequest &request)const;
|
||||
void createConfigurationAsync(const Model::CreateConfigurationRequest& request, const CreateConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateConfigurationOutcomeCallable createConfigurationCallable(const Model::CreateConfigurationRequest& request) const;
|
||||
AnalyzeNvcOutcome analyzeNvc(const Model::AnalyzeNvcRequest &request)const;
|
||||
void analyzeNvcAsync(const Model::AnalyzeNvcRequest& request, const AnalyzeNvcAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AnalyzeNvcOutcomeCallable analyzeNvcCallable(const Model::AnalyzeNvcRequest& request) const;
|
||||
DescribeEarlyWarningOutcome describeEarlyWarning(const Model::DescribeEarlyWarningRequest &request)const;
|
||||
void describeEarlyWarningAsync(const Model::DescribeEarlyWarningRequest& request, const DescribeEarlyWarningAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeEarlyWarningOutcomeCallable describeEarlyWarningCallable(const Model::DescribeEarlyWarningRequest& request) const;
|
||||
DescribeCaptchaIpCityOutcome describeCaptchaIpCity(const Model::DescribeCaptchaIpCityRequest &request)const;
|
||||
void describeCaptchaIpCityAsync(const Model::DescribeCaptchaIpCityRequest& request, const DescribeCaptchaIpCityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCaptchaIpCityOutcomeCallable describeCaptchaIpCityCallable(const Model::DescribeCaptchaIpCityRequest& request) const;
|
||||
DescribeOrderInfoOutcome describeOrderInfo(const Model::DescribeOrderInfoRequest &request)const;
|
||||
void describeOrderInfoAsync(const Model::DescribeOrderInfoRequest& request, const DescribeOrderInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeOrderInfoOutcomeCallable describeOrderInfoCallable(const Model::DescribeOrderInfoRequest& request) const;
|
||||
DescribeCaptchaRiskOutcome describeCaptchaRisk(const Model::DescribeCaptchaRiskRequest &request)const;
|
||||
void describeCaptchaRiskAsync(const Model::DescribeCaptchaRiskRequest& request, const DescribeCaptchaRiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCaptchaRiskOutcomeCallable describeCaptchaRiskCallable(const Model::DescribeCaptchaRiskRequest& request) const;
|
||||
DescribeCaptchaOrderOutcome describeCaptchaOrder(const Model::DescribeCaptchaOrderRequest &request)const;
|
||||
void describeCaptchaOrderAsync(const Model::DescribeCaptchaOrderRequest& request, const DescribeCaptchaOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCaptchaOrderOutcomeCallable describeCaptchaOrderCallable(const Model::DescribeCaptchaOrderRequest& request) const;
|
||||
CreateConfigurationOutcome createConfiguration(const Model::CreateConfigurationRequest &request)const;
|
||||
void createConfigurationAsync(const Model::CreateConfigurationRequest& request, const CreateConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateConfigurationOutcomeCallable createConfigurationCallable(const Model::CreateConfigurationRequest& request) const;
|
||||
AnalyzeNvcOutcome analyzeNvc(const Model::AnalyzeNvcRequest &request)const;
|
||||
void analyzeNvcAsync(const Model::AnalyzeNvcRequest& request, const AnalyzeNvcAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AnalyzeNvcOutcomeCallable analyzeNvcCallable(const Model::AnalyzeNvcRequest& request) const;
|
||||
SetEarlyWarningOutcome setEarlyWarning(const Model::SetEarlyWarningRequest &request)const;
|
||||
void setEarlyWarningAsync(const Model::SetEarlyWarningRequest& request, const SetEarlyWarningAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetEarlyWarningOutcomeCallable setEarlyWarningCallable(const Model::SetEarlyWarningRequest& request) const;
|
||||
ConfigurationStyleOutcome configurationStyle(const Model::ConfigurationStyleRequest &request)const;
|
||||
void configurationStyleAsync(const Model::ConfigurationStyleRequest& request, const ConfigurationStyleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigurationStyleOutcomeCallable configurationStyleCallable(const Model::ConfigurationStyleRequest& request) const;
|
||||
DescribeCaptchaMinOutcome describeCaptchaMin(const Model::DescribeCaptchaMinRequest &request)const;
|
||||
void describeCaptchaMinAsync(const Model::DescribeCaptchaMinRequest& request, const DescribeCaptchaMinAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCaptchaMinOutcomeCallable describeCaptchaMinCallable(const Model::DescribeCaptchaMinRequest& request) const;
|
||||
AuthenticateSigOutcome authenticateSig(const Model::AuthenticateSigRequest &request)const;
|
||||
void authenticateSigAsync(const Model::AuthenticateSigRequest& request, const AuthenticateSigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AuthenticateSigOutcomeCallable authenticateSigCallable(const Model::AuthenticateSigRequest& request) const;
|
||||
DescribeConfigNameOutcome describeConfigName(const Model::DescribeConfigNameRequest &request)const;
|
||||
void describeConfigNameAsync(const Model::DescribeConfigNameRequest& request, const DescribeConfigNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeConfigNameOutcomeCallable describeConfigNameCallable(const Model::DescribeConfigNameRequest& request) const;
|
||||
DescribeCaptchaDayOutcome describeCaptchaDay(const Model::DescribeCaptchaDayRequest &request)const;
|
||||
void describeCaptchaDayAsync(const Model::DescribeCaptchaDayRequest& request, const DescribeCaptchaDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCaptchaDayOutcomeCallable describeCaptchaDayCallable(const Model::DescribeCaptchaDayRequest& request) const;
|
||||
UpdateConfigNameOutcome updateConfigName(const Model::UpdateConfigNameRequest &request)const;
|
||||
void updateConfigNameAsync(const Model::UpdateConfigNameRequest& request, const UpdateConfigNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateConfigNameOutcomeCallable updateConfigNameCallable(const Model::UpdateConfigNameRequest& request) const;
|
||||
DescribePersonMachineListOutcome describePersonMachineList(const Model::DescribePersonMachineListRequest &request)const;
|
||||
void describePersonMachineListAsync(const Model::DescribePersonMachineListRequest& request, const DescribePersonMachineListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePersonMachineListOutcomeCallable describePersonMachineListCallable(const Model::DescribePersonMachineListRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
AnalyzeNvcRequest();
|
||||
~AnalyzeNvcRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getData()const;
|
||||
@@ -45,7 +43,6 @@ namespace AlibabaCloud
|
||||
void setScoreJsonStr(const std::string& scoreJsonStr);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
std::string data_;
|
||||
std::string scoreJsonStr_;
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
AnalyzeNvcResult();
|
||||
explicit AnalyzeNvcResult(const std::string &payload);
|
||||
~AnalyzeNvcResult();
|
||||
std::string getBizCode()const;
|
||||
std::string getBizCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string bizCode_;
|
||||
std::string bizCode_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,8 +37,6 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getSig()const;
|
||||
void setSig(const std::string& sig);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRemoteIp()const;
|
||||
void setRemoteIp(const std::string& remoteIp);
|
||||
std::string getSourceIp()const;
|
||||
@@ -54,7 +52,6 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string sig_;
|
||||
long resourceOwnerId_;
|
||||
std::string remoteIp_;
|
||||
std::string sourceIp_;
|
||||
std::string appKey_;
|
||||
|
||||
@@ -37,18 +37,18 @@ namespace AlibabaCloud
|
||||
AuthenticateSigResult();
|
||||
explicit AuthenticateSigResult(const std::string &payload);
|
||||
~AuthenticateSigResult();
|
||||
std::string getMsg()const;
|
||||
int getCode()const;
|
||||
std::string getRiskLevel()const;
|
||||
std::string getDetail()const;
|
||||
std::string getMsg()const;
|
||||
int getCode()const;
|
||||
std::string getRiskLevel()const;
|
||||
std::string getDetail()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string msg_;
|
||||
int code_;
|
||||
std::string riskLevel_;
|
||||
std::string detail_;
|
||||
std::string msg_;
|
||||
int code_;
|
||||
std::string riskLevel_;
|
||||
std::string detail_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,21 +35,21 @@ namespace AlibabaCloud
|
||||
ConfigurationStyleRequest();
|
||||
~ConfigurationStyleRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getConfigurationMethod()const;
|
||||
void setConfigurationMethod(const std::string& configurationMethod);
|
||||
std::string getRefExtId()const;
|
||||
void setRefExtId(const std::string& refExtId);
|
||||
std::string getApplyType()const;
|
||||
void setApplyType(const std::string& applyType);
|
||||
std::string getScene()const;
|
||||
void setScene(const std::string& scene);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
std::string configurationMethod_;
|
||||
std::string refExtId_;
|
||||
std::string applyType_;
|
||||
std::string scene_;
|
||||
|
||||
|
||||
@@ -32,28 +32,33 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_AFS_EXPORT ConfigurationStyleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CodeData
|
||||
{
|
||||
std::string java;
|
||||
std::string html;
|
||||
std::string php;
|
||||
std::string net;
|
||||
std::string nodeJs;
|
||||
std::string python;
|
||||
};
|
||||
struct CodeData
|
||||
{
|
||||
std::string java;
|
||||
std::string javaUrl;
|
||||
std::string phpUrl;
|
||||
std::string pythonUrl;
|
||||
std::string html;
|
||||
std::string php;
|
||||
std::string nodeJsUrl;
|
||||
std::string net;
|
||||
std::string netUrl;
|
||||
std::string nodeJs;
|
||||
std::string python;
|
||||
};
|
||||
|
||||
|
||||
ConfigurationStyleResult();
|
||||
explicit ConfigurationStyleResult(const std::string &payload);
|
||||
~ConfigurationStyleResult();
|
||||
std::vector<CodeData> getCodeData()const;
|
||||
std::string getBizCode()const;
|
||||
CodeData getCodeData()const;
|
||||
std::string getBizCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<CodeData> codeData_;
|
||||
std::string bizCode_;
|
||||
CodeData codeData_;
|
||||
std::string bizCode_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
CreateConfigurationRequest();
|
||||
~CreateConfigurationRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getConfigurationName()const;
|
||||
@@ -51,7 +49,6 @@ namespace AlibabaCloud
|
||||
void setScene(const std::string& scene);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
std::string configurationName_;
|
||||
std::string maxPV_;
|
||||
|
||||
@@ -37,12 +37,14 @@ namespace AlibabaCloud
|
||||
CreateConfigurationResult();
|
||||
explicit CreateConfigurationResult(const std::string &payload);
|
||||
~CreateConfigurationResult();
|
||||
std::string getBizCode()const;
|
||||
std::string getRefExtId()const;
|
||||
std::string getBizCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string bizCode_;
|
||||
std::string refExtId_;
|
||||
std::string bizCode_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,21 +35,21 @@ namespace AlibabaCloud
|
||||
DescribeCaptchaDayRequest();
|
||||
~DescribeCaptchaDayRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getConfigName()const;
|
||||
void setConfigName(const std::string& configName);
|
||||
std::string getRefExtId()const;
|
||||
void setRefExtId(const std::string& refExtId);
|
||||
std::string getTime()const;
|
||||
void setTime(const std::string& time);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
std::string configName_;
|
||||
std::string refExtId_;
|
||||
std::string time_;
|
||||
std::string type_;
|
||||
|
||||
|
||||
@@ -32,33 +32,33 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeCaptchaDayResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CaptchaDay
|
||||
{
|
||||
int init;
|
||||
int maliciousFlow;
|
||||
int pass;
|
||||
int checkTested;
|
||||
int askForVerify;
|
||||
int uncheckTested;
|
||||
int legalSign;
|
||||
int direcetStrategyInterception;
|
||||
int twiceVerify;
|
||||
};
|
||||
struct CaptchaDay
|
||||
{
|
||||
int init;
|
||||
int maliciousFlow;
|
||||
int pass;
|
||||
int checkTested;
|
||||
int askForVerify;
|
||||
int uncheckTested;
|
||||
int legalSign;
|
||||
int direcetStrategyInterception;
|
||||
int twiceVerify;
|
||||
};
|
||||
|
||||
|
||||
DescribeCaptchaDayResult();
|
||||
explicit DescribeCaptchaDayResult(const std::string &payload);
|
||||
~DescribeCaptchaDayResult();
|
||||
std::vector<CaptchaDay> getCaptchaDay()const;
|
||||
std::string getBizCode()const;
|
||||
bool getHasData()const;
|
||||
CaptchaDay getCaptchaDay()const;
|
||||
std::string getBizCode()const;
|
||||
bool getHasData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<CaptchaDay> captchaDay_;
|
||||
std::string bizCode_;
|
||||
bool hasData_;
|
||||
CaptchaDay captchaDay_;
|
||||
std::string bizCode_;
|
||||
bool hasData_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,21 +35,21 @@ namespace AlibabaCloud
|
||||
DescribeCaptchaIpCityRequest();
|
||||
~DescribeCaptchaIpCityRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getConfigName()const;
|
||||
void setConfigName(const std::string& configName);
|
||||
std::string getRefExtId()const;
|
||||
void setRefExtId(const std::string& refExtId);
|
||||
std::string getTime()const;
|
||||
void setTime(const std::string& time);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
std::string configName_;
|
||||
std::string refExtId_;
|
||||
std::string time_;
|
||||
std::string type_;
|
||||
|
||||
|
||||
@@ -32,35 +32,35 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeCaptchaIpCityResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CaptchaCitie
|
||||
{
|
||||
std::string lng;
|
||||
int pv;
|
||||
std::string lat;
|
||||
std::string location;
|
||||
};
|
||||
struct CaptchaIp
|
||||
{
|
||||
std::string ip;
|
||||
int value;
|
||||
};
|
||||
struct CaptchaCitie
|
||||
{
|
||||
std::string lng;
|
||||
int pv;
|
||||
std::string lat;
|
||||
std::string location;
|
||||
};
|
||||
struct CaptchaIp
|
||||
{
|
||||
std::string ip;
|
||||
int value;
|
||||
};
|
||||
|
||||
|
||||
DescribeCaptchaIpCityResult();
|
||||
explicit DescribeCaptchaIpCityResult(const std::string &payload);
|
||||
~DescribeCaptchaIpCityResult();
|
||||
std::vector<CaptchaIp> getCaptchaIps()const;
|
||||
std::vector<CaptchaCitie> getCaptchaCities()const;
|
||||
std::string getBizCode()const;
|
||||
bool getHasData()const;
|
||||
std::vector<CaptchaIp> getCaptchaIps()const;
|
||||
std::vector<CaptchaCitie> getCaptchaCities()const;
|
||||
std::string getBizCode()const;
|
||||
bool getHasData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<CaptchaIp> captchaIps_;
|
||||
std::vector<CaptchaCitie> captchaCities_;
|
||||
std::string bizCode_;
|
||||
bool hasData_;
|
||||
std::vector<CaptchaIp> captchaIps_;
|
||||
std::vector<CaptchaCitie> captchaCities_;
|
||||
std::string bizCode_;
|
||||
bool hasData_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,21 +35,21 @@ namespace AlibabaCloud
|
||||
DescribeCaptchaMinRequest();
|
||||
~DescribeCaptchaMinRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getConfigName()const;
|
||||
void setConfigName(const std::string& configName);
|
||||
std::string getRefExtId()const;
|
||||
void setRefExtId(const std::string& refExtId);
|
||||
std::string getTime()const;
|
||||
void setTime(const std::string& time);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
std::string configName_;
|
||||
std::string refExtId_;
|
||||
std::string time_;
|
||||
std::string type_;
|
||||
|
||||
|
||||
@@ -32,27 +32,27 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeCaptchaMinResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CaptchaMin
|
||||
{
|
||||
std::string pass;
|
||||
std::string time;
|
||||
std::string interception;
|
||||
};
|
||||
struct CaptchaMin
|
||||
{
|
||||
std::string pass;
|
||||
std::string time;
|
||||
std::string interception;
|
||||
};
|
||||
|
||||
|
||||
DescribeCaptchaMinResult();
|
||||
explicit DescribeCaptchaMinResult(const std::string &payload);
|
||||
~DescribeCaptchaMinResult();
|
||||
std::vector<CaptchaMin> getCaptchaMins()const;
|
||||
std::string getBizCode()const;
|
||||
bool getHasData()const;
|
||||
std::vector<CaptchaMin> getCaptchaMins()const;
|
||||
std::string getBizCode()const;
|
||||
bool getHasData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<CaptchaMin> captchaMins_;
|
||||
std::string bizCode_;
|
||||
bool hasData_;
|
||||
std::vector<CaptchaMin> captchaMins_;
|
||||
std::string bizCode_;
|
||||
bool hasData_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_AFS_MODEL_DESCRIBECAPTCHAORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_AFS_MODEL_DESCRIBECAPTCHAORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/afs/AfsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Afs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeCaptchaOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCaptchaOrderRequest();
|
||||
~DescribeCaptchaOrderRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AFS_MODEL_DESCRIBECAPTCHAORDERREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AFS_MODEL_DESCRIBECAPTCHAORDERRESULT_H_
|
||||
#define ALIBABACLOUD_AFS_MODEL_DESCRIBECAPTCHAORDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/afs/AfsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Afs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeCaptchaOrderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeCaptchaOrderResult();
|
||||
explicit DescribeCaptchaOrderResult(const std::string &payload);
|
||||
~DescribeCaptchaOrderResult();
|
||||
std::string getBizCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string bizCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AFS_MODEL_DESCRIBECAPTCHAORDERRESULT_H_
|
||||
@@ -35,19 +35,19 @@ namespace AlibabaCloud
|
||||
DescribeCaptchaRiskRequest();
|
||||
~DescribeCaptchaRiskRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getConfigName()const;
|
||||
void setConfigName(const std::string& configName);
|
||||
std::string getRefExtId()const;
|
||||
void setRefExtId(const std::string& refExtId);
|
||||
std::string getTime()const;
|
||||
void setTime(const std::string& time);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
std::string configName_;
|
||||
std::string refExtId_;
|
||||
std::string time_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,18 +37,18 @@ namespace AlibabaCloud
|
||||
DescribeCaptchaRiskResult();
|
||||
explicit DescribeCaptchaRiskResult(const std::string &payload);
|
||||
~DescribeCaptchaRiskResult();
|
||||
int getNumOfLastMonth()const;
|
||||
std::string getRiskLevel()const;
|
||||
std::string getBizCode()const;
|
||||
int getNumOfThisMonth()const;
|
||||
int getNumOfLastMonth()const;
|
||||
std::string getRiskLevel()const;
|
||||
std::string getBizCode()const;
|
||||
int getNumOfThisMonth()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int numOfLastMonth_;
|
||||
std::string riskLevel_;
|
||||
std::string bizCode_;
|
||||
int numOfThisMonth_;
|
||||
int numOfLastMonth_;
|
||||
std::string riskLevel_;
|
||||
std::string bizCode_;
|
||||
int numOfThisMonth_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,13 +35,10 @@ namespace AlibabaCloud
|
||||
DescribeConfigNameRequest();
|
||||
~DescribeConfigNameRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
|
||||
@@ -32,21 +32,27 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeConfigNameResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ConfigName
|
||||
{
|
||||
std::string refExtId;
|
||||
std::string configName;
|
||||
std::string aliUid;
|
||||
};
|
||||
|
||||
|
||||
DescribeConfigNameResult();
|
||||
explicit DescribeConfigNameResult(const std::string &payload);
|
||||
~DescribeConfigNameResult();
|
||||
std::string getConfigNames()const;
|
||||
bool getHasConfig()const;
|
||||
std::string getBizCode()const;
|
||||
std::vector<ConfigName> getConfigNames()const;
|
||||
bool getHasConfig()const;
|
||||
std::string getBizCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string configNames_;
|
||||
bool hasConfig_;
|
||||
std::string bizCode_;
|
||||
std::vector<ConfigName> configNames_;
|
||||
bool hasConfig_;
|
||||
std::string bizCode_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,13 +35,10 @@ namespace AlibabaCloud
|
||||
DescribeEarlyWarningRequest();
|
||||
~DescribeEarlyWarningRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
|
||||
@@ -32,32 +32,32 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeEarlyWarningResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct EarlyWarning
|
||||
{
|
||||
bool timeOpen;
|
||||
std::string content;
|
||||
std::string channel;
|
||||
std::string title;
|
||||
std::string frequency;
|
||||
std::string timeEnd;
|
||||
bool warnOpen;
|
||||
std::string timeBegin;
|
||||
};
|
||||
struct EarlyWarning
|
||||
{
|
||||
bool timeOpen;
|
||||
std::string content;
|
||||
std::string channel;
|
||||
std::string title;
|
||||
std::string frequency;
|
||||
std::string timeEnd;
|
||||
bool warnOpen;
|
||||
std::string timeBegin;
|
||||
};
|
||||
|
||||
|
||||
DescribeEarlyWarningResult();
|
||||
explicit DescribeEarlyWarningResult(const std::string &payload);
|
||||
~DescribeEarlyWarningResult();
|
||||
bool getHasWarning()const;
|
||||
std::vector<EarlyWarning> getEarlyWarnings()const;
|
||||
std::string getBizCode()const;
|
||||
bool getHasWarning()const;
|
||||
std::vector<EarlyWarning> getEarlyWarnings()const;
|
||||
std::string getBizCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool hasWarning_;
|
||||
std::vector<EarlyWarning> earlyWarnings_;
|
||||
std::string bizCode_;
|
||||
bool hasWarning_;
|
||||
std::vector<EarlyWarning> earlyWarnings_;
|
||||
std::string bizCode_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_AFS_MODEL_DESCRIBEORDERINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_AFS_MODEL_DESCRIBEORDERINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/afs/AfsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Afs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeOrderInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeOrderInfoRequest();
|
||||
~DescribeOrderInfoRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AFS_MODEL_DESCRIBEORDERINFOREQUEST_H_
|
||||
59
afs/include/alibabacloud/afs/model/DescribeOrderInfoResult.h
Normal file
59
afs/include/alibabacloud/afs/model/DescribeOrderInfoResult.h
Normal 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_AFS_MODEL_DESCRIBEORDERINFORESULT_H_
|
||||
#define ALIBABACLOUD_AFS_MODEL_DESCRIBEORDERINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/afs/AfsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Afs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeOrderInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeOrderInfoResult();
|
||||
explicit DescribeOrderInfoResult(const std::string &payload);
|
||||
~DescribeOrderInfoResult();
|
||||
std::string getOrderLevel()const;
|
||||
std::string getNum()const;
|
||||
std::string getEndDate()const;
|
||||
std::string getBizCode()const;
|
||||
std::string getBeginDate()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string orderLevel_;
|
||||
std::string num_;
|
||||
std::string endDate_;
|
||||
std::string bizCode_;
|
||||
std::string beginDate_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AFS_MODEL_DESCRIBEORDERINFORESULT_H_
|
||||
@@ -35,13 +35,10 @@ namespace AlibabaCloud
|
||||
DescribePersonMachineListRequest();
|
||||
~DescribePersonMachineListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
|
||||
@@ -32,33 +32,35 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribePersonMachineListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PersonMachineRes
|
||||
{
|
||||
struct PersonMachine
|
||||
{
|
||||
std::string configurationMethod;
|
||||
std::string applyType;
|
||||
std::string lastUpdate;
|
||||
std::string appkey;
|
||||
std::string configurationName;
|
||||
std::string scene;
|
||||
};
|
||||
std::string hasConfiguration;
|
||||
std::vector<PersonMachine> personMachines;
|
||||
};
|
||||
struct PersonMachineRes
|
||||
{
|
||||
struct PersonMachine
|
||||
{
|
||||
std::string configurationMethod;
|
||||
std::string applyType;
|
||||
std::string lastUpdate;
|
||||
std::string appkey;
|
||||
std::string extId;
|
||||
std::string configurationName;
|
||||
std::string scene;
|
||||
std::string sceneOriginal;
|
||||
};
|
||||
std::string hasConfiguration;
|
||||
std::vector<PersonMachine> personMachines;
|
||||
};
|
||||
|
||||
|
||||
DescribePersonMachineListResult();
|
||||
explicit DescribePersonMachineListResult(const std::string &payload);
|
||||
~DescribePersonMachineListResult();
|
||||
std::vector<PersonMachineRes> getPersonMachineRes()const;
|
||||
std::string getBizCode()const;
|
||||
PersonMachineRes getPersonMachineRes()const;
|
||||
std::string getBizCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PersonMachineRes> personMachineRes_;
|
||||
std::string bizCode_;
|
||||
PersonMachineRes personMachineRes_;
|
||||
std::string bizCode_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,8 +37,6 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getTimeEnd()const;
|
||||
void setTimeEnd(const std::string& timeEnd);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
bool getWarnOpen()const;
|
||||
void setWarnOpen(bool warnOpen);
|
||||
std::string getSourceIp()const;
|
||||
@@ -56,7 +54,6 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string timeEnd_;
|
||||
long resourceOwnerId_;
|
||||
bool warnOpen_;
|
||||
std::string sourceIp_;
|
||||
std::string channel_;
|
||||
|
||||
@@ -37,12 +37,12 @@ namespace AlibabaCloud
|
||||
SetEarlyWarningResult();
|
||||
explicit SetEarlyWarningResult(const std::string &payload);
|
||||
~SetEarlyWarningResult();
|
||||
std::string getBizCode()const;
|
||||
std::string getBizCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string bizCode_;
|
||||
std::string bizCode_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
57
afs/include/alibabacloud/afs/model/UpdateConfigNameRequest.h
Normal file
57
afs/include/alibabacloud/afs/model/UpdateConfigNameRequest.h
Normal 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_AFS_MODEL_UPDATECONFIGNAMEREQUEST_H_
|
||||
#define ALIBABACLOUD_AFS_MODEL_UPDATECONFIGNAMEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/afs/AfsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Afs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AFS_EXPORT UpdateConfigNameRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateConfigNameRequest();
|
||||
~UpdateConfigNameRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getConfigName()const;
|
||||
void setConfigName(const std::string& configName);
|
||||
std::string getRefExtId()const;
|
||||
void setRefExtId(const std::string& refExtId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string configName_;
|
||||
std::string refExtId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AFS_MODEL_UPDATECONFIGNAMEREQUEST_H_
|
||||
51
afs/include/alibabacloud/afs/model/UpdateConfigNameResult.h
Normal file
51
afs/include/alibabacloud/afs/model/UpdateConfigNameResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AFS_MODEL_UPDATECONFIGNAMERESULT_H_
|
||||
#define ALIBABACLOUD_AFS_MODEL_UPDATECONFIGNAMERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/afs/AfsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Afs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AFS_EXPORT UpdateConfigNameResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateConfigNameResult();
|
||||
explicit UpdateConfigNameResult(const std::string &payload);
|
||||
~UpdateConfigNameResult();
|
||||
std::string getBizCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string bizCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AFS_MODEL_UPDATECONFIGNAMERESULT_H_
|
||||
@@ -31,21 +31,21 @@ AfsClient::AfsClient(const Credentials &credentials, const ClientConfiguration &
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "afs");
|
||||
}
|
||||
|
||||
AfsClient::AfsClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "afs");
|
||||
}
|
||||
|
||||
AfsClient::AfsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "afs");
|
||||
}
|
||||
|
||||
AfsClient::~AfsClient()
|
||||
@@ -86,43 +86,7 @@ AfsClient::DescribeEarlyWarningOutcomeCallable AfsClient::describeEarlyWarningCa
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::SetEarlyWarningOutcome AfsClient::setEarlyWarning(const SetEarlyWarningRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SetEarlyWarningOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SetEarlyWarningOutcome(SetEarlyWarningResult(outcome.result()));
|
||||
else
|
||||
return SetEarlyWarningOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::setEarlyWarningAsync(const SetEarlyWarningRequest& request, const SetEarlyWarningAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, setEarlyWarning(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::SetEarlyWarningOutcomeCallable AfsClient::setEarlyWarningCallable(const SetEarlyWarningRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SetEarlyWarningOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->setEarlyWarning(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
AfsClient::DescribeCaptchaIpCityOutcome AfsClient::describeCaptchaIpCity(const DescribeCaptchaIpCityRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -158,79 +122,43 @@ AfsClient::DescribeCaptchaIpCityOutcomeCallable AfsClient::describeCaptchaIpCity
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::ConfigurationStyleOutcome AfsClient::configurationStyle(const ConfigurationStyleRequest &request) const
|
||||
|
||||
AfsClient::DescribeOrderInfoOutcome AfsClient::describeOrderInfo(const DescribeOrderInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ConfigurationStyleOutcome(endpointOutcome.error());
|
||||
return DescribeOrderInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ConfigurationStyleOutcome(ConfigurationStyleResult(outcome.result()));
|
||||
return DescribeOrderInfoOutcome(DescribeOrderInfoResult(outcome.result()));
|
||||
else
|
||||
return ConfigurationStyleOutcome(outcome.error());
|
||||
return DescribeOrderInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::configurationStyleAsync(const ConfigurationStyleRequest& request, const ConfigurationStyleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void AfsClient::describeOrderInfoAsync(const DescribeOrderInfoRequest& request, const DescribeOrderInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, configurationStyle(request), context);
|
||||
handler(this, request, describeOrderInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::ConfigurationStyleOutcomeCallable AfsClient::configurationStyleCallable(const ConfigurationStyleRequest &request) const
|
||||
AfsClient::DescribeOrderInfoOutcomeCallable AfsClient::describeOrderInfoCallable(const DescribeOrderInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ConfigurationStyleOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<DescribeOrderInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->configurationStyle(request);
|
||||
return this->describeOrderInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::DescribeCaptchaMinOutcome AfsClient::describeCaptchaMin(const DescribeCaptchaMinRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCaptchaMinOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCaptchaMinOutcome(DescribeCaptchaMinResult(outcome.result()));
|
||||
else
|
||||
return DescribeCaptchaMinOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::describeCaptchaMinAsync(const DescribeCaptchaMinRequest& request, const DescribeCaptchaMinAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCaptchaMin(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::DescribeCaptchaMinOutcomeCallable AfsClient::describeCaptchaMinCallable(const DescribeCaptchaMinRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCaptchaMinOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCaptchaMin(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
AfsClient::DescribeCaptchaRiskOutcome AfsClient::describeCaptchaRisk(const DescribeCaptchaRiskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -266,151 +194,43 @@ AfsClient::DescribeCaptchaRiskOutcomeCallable AfsClient::describeCaptchaRiskCall
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::AuthenticateSigOutcome AfsClient::authenticateSig(const AuthenticateSigRequest &request) const
|
||||
|
||||
AfsClient::DescribeCaptchaOrderOutcome AfsClient::describeCaptchaOrder(const DescribeCaptchaOrderRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AuthenticateSigOutcome(endpointOutcome.error());
|
||||
return DescribeCaptchaOrderOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AuthenticateSigOutcome(AuthenticateSigResult(outcome.result()));
|
||||
return DescribeCaptchaOrderOutcome(DescribeCaptchaOrderResult(outcome.result()));
|
||||
else
|
||||
return AuthenticateSigOutcome(outcome.error());
|
||||
return DescribeCaptchaOrderOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::authenticateSigAsync(const AuthenticateSigRequest& request, const AuthenticateSigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void AfsClient::describeCaptchaOrderAsync(const DescribeCaptchaOrderRequest& request, const DescribeCaptchaOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, authenticateSig(request), context);
|
||||
handler(this, request, describeCaptchaOrder(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::AuthenticateSigOutcomeCallable AfsClient::authenticateSigCallable(const AuthenticateSigRequest &request) const
|
||||
AfsClient::DescribeCaptchaOrderOutcomeCallable AfsClient::describeCaptchaOrderCallable(const DescribeCaptchaOrderRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AuthenticateSigOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCaptchaOrderOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->authenticateSig(request);
|
||||
return this->describeCaptchaOrder(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::DescribeConfigNameOutcome AfsClient::describeConfigName(const DescribeConfigNameRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeConfigNameOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeConfigNameOutcome(DescribeConfigNameResult(outcome.result()));
|
||||
else
|
||||
return DescribeConfigNameOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::describeConfigNameAsync(const DescribeConfigNameRequest& request, const DescribeConfigNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeConfigName(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::DescribeConfigNameOutcomeCallable AfsClient::describeConfigNameCallable(const DescribeConfigNameRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeConfigNameOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeConfigName(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::DescribeCaptchaDayOutcome AfsClient::describeCaptchaDay(const DescribeCaptchaDayRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCaptchaDayOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCaptchaDayOutcome(DescribeCaptchaDayResult(outcome.result()));
|
||||
else
|
||||
return DescribeCaptchaDayOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::describeCaptchaDayAsync(const DescribeCaptchaDayRequest& request, const DescribeCaptchaDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCaptchaDay(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::DescribeCaptchaDayOutcomeCallable AfsClient::describeCaptchaDayCallable(const DescribeCaptchaDayRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCaptchaDayOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCaptchaDay(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::DescribePersonMachineListOutcome AfsClient::describePersonMachineList(const DescribePersonMachineListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribePersonMachineListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribePersonMachineListOutcome(DescribePersonMachineListResult(outcome.result()));
|
||||
else
|
||||
return DescribePersonMachineListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::describePersonMachineListAsync(const DescribePersonMachineListRequest& request, const DescribePersonMachineListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describePersonMachineList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::DescribePersonMachineListOutcomeCallable AfsClient::describePersonMachineListCallable(const DescribePersonMachineListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribePersonMachineListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describePersonMachineList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
AfsClient::CreateConfigurationOutcome AfsClient::createConfiguration(const CreateConfigurationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -446,7 +266,7 @@ AfsClient::CreateConfigurationOutcomeCallable AfsClient::createConfigurationCall
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
AfsClient::AnalyzeNvcOutcome AfsClient::analyzeNvc(const AnalyzeNvcRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -482,4 +302,292 @@ AfsClient::AnalyzeNvcOutcomeCallable AfsClient::analyzeNvcCallable(const Analyze
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::SetEarlyWarningOutcome AfsClient::setEarlyWarning(const SetEarlyWarningRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SetEarlyWarningOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SetEarlyWarningOutcome(SetEarlyWarningResult(outcome.result()));
|
||||
else
|
||||
return SetEarlyWarningOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::setEarlyWarningAsync(const SetEarlyWarningRequest& request, const SetEarlyWarningAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, setEarlyWarning(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::SetEarlyWarningOutcomeCallable AfsClient::setEarlyWarningCallable(const SetEarlyWarningRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SetEarlyWarningOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->setEarlyWarning(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::ConfigurationStyleOutcome AfsClient::configurationStyle(const ConfigurationStyleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ConfigurationStyleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ConfigurationStyleOutcome(ConfigurationStyleResult(outcome.result()));
|
||||
else
|
||||
return ConfigurationStyleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::configurationStyleAsync(const ConfigurationStyleRequest& request, const ConfigurationStyleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, configurationStyle(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::ConfigurationStyleOutcomeCallable AfsClient::configurationStyleCallable(const ConfigurationStyleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ConfigurationStyleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->configurationStyle(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::DescribeCaptchaMinOutcome AfsClient::describeCaptchaMin(const DescribeCaptchaMinRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCaptchaMinOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCaptchaMinOutcome(DescribeCaptchaMinResult(outcome.result()));
|
||||
else
|
||||
return DescribeCaptchaMinOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::describeCaptchaMinAsync(const DescribeCaptchaMinRequest& request, const DescribeCaptchaMinAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCaptchaMin(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::DescribeCaptchaMinOutcomeCallable AfsClient::describeCaptchaMinCallable(const DescribeCaptchaMinRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCaptchaMinOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCaptchaMin(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::AuthenticateSigOutcome AfsClient::authenticateSig(const AuthenticateSigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AuthenticateSigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AuthenticateSigOutcome(AuthenticateSigResult(outcome.result()));
|
||||
else
|
||||
return AuthenticateSigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::authenticateSigAsync(const AuthenticateSigRequest& request, const AuthenticateSigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, authenticateSig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::AuthenticateSigOutcomeCallable AfsClient::authenticateSigCallable(const AuthenticateSigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AuthenticateSigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->authenticateSig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::DescribeConfigNameOutcome AfsClient::describeConfigName(const DescribeConfigNameRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeConfigNameOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeConfigNameOutcome(DescribeConfigNameResult(outcome.result()));
|
||||
else
|
||||
return DescribeConfigNameOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::describeConfigNameAsync(const DescribeConfigNameRequest& request, const DescribeConfigNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeConfigName(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::DescribeConfigNameOutcomeCallable AfsClient::describeConfigNameCallable(const DescribeConfigNameRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeConfigNameOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeConfigName(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::DescribeCaptchaDayOutcome AfsClient::describeCaptchaDay(const DescribeCaptchaDayRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCaptchaDayOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCaptchaDayOutcome(DescribeCaptchaDayResult(outcome.result()));
|
||||
else
|
||||
return DescribeCaptchaDayOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::describeCaptchaDayAsync(const DescribeCaptchaDayRequest& request, const DescribeCaptchaDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCaptchaDay(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::DescribeCaptchaDayOutcomeCallable AfsClient::describeCaptchaDayCallable(const DescribeCaptchaDayRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCaptchaDayOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCaptchaDay(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::UpdateConfigNameOutcome AfsClient::updateConfigName(const UpdateConfigNameRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateConfigNameOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateConfigNameOutcome(UpdateConfigNameResult(outcome.result()));
|
||||
else
|
||||
return UpdateConfigNameOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::updateConfigNameAsync(const UpdateConfigNameRequest& request, const UpdateConfigNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateConfigName(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::UpdateConfigNameOutcomeCallable AfsClient::updateConfigNameCallable(const UpdateConfigNameRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateConfigNameOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateConfigName(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::DescribePersonMachineListOutcome AfsClient::describePersonMachineList(const DescribePersonMachineListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribePersonMachineListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribePersonMachineListOutcome(DescribePersonMachineListResult(outcome.result()));
|
||||
else
|
||||
return DescribePersonMachineListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::describePersonMachineListAsync(const DescribePersonMachineListRequest& request, const DescribePersonMachineListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describePersonMachineList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::DescribePersonMachineListOutcomeCallable AfsClient::describePersonMachineListCallable(const DescribePersonMachineListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribePersonMachineListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describePersonMachineList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ AnalyzeNvcRequest::AnalyzeNvcRequest() :
|
||||
AnalyzeNvcRequest::~AnalyzeNvcRequest()
|
||||
{}
|
||||
|
||||
long AnalyzeNvcRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AnalyzeNvcRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AnalyzeNvcRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
|
||||
@@ -40,13 +40,13 @@ void AnalyzeNvcResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AnalyzeNvcResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
std::string AnalyzeNvcResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
|
||||
@@ -36,17 +36,6 @@ void AuthenticateSigRequest::setSig(const std::string& sig)
|
||||
setParameter("Sig", sig);
|
||||
}
|
||||
|
||||
long AuthenticateSigRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AuthenticateSigRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AuthenticateSigRequest::getRemoteIp()const
|
||||
{
|
||||
return remoteIp_;
|
||||
|
||||
@@ -40,34 +40,34 @@ void AuthenticateSigResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Msg"].isNull())
|
||||
msg_ = value["Msg"].asString();
|
||||
if(!value["RiskLevel"].isNull())
|
||||
riskLevel_ = value["RiskLevel"].asString();
|
||||
if(!value["Detail"].isNull())
|
||||
detail_ = value["Detail"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Msg"].isNull())
|
||||
msg_ = value["Msg"].asString();
|
||||
if(!value["RiskLevel"].isNull())
|
||||
riskLevel_ = value["RiskLevel"].asString();
|
||||
if(!value["Detail"].isNull())
|
||||
detail_ = value["Detail"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AuthenticateSigResult::getMsg()const
|
||||
{
|
||||
return msg_;
|
||||
}
|
||||
|
||||
int AuthenticateSigResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string AuthenticateSigResult::getRiskLevel()const
|
||||
{
|
||||
return riskLevel_;
|
||||
}
|
||||
|
||||
std::string AuthenticateSigResult::getDetail()const
|
||||
{
|
||||
return detail_;
|
||||
}
|
||||
|
||||
std::string AuthenticateSigResult::getMsg()const
|
||||
{
|
||||
return msg_;
|
||||
}
|
||||
|
||||
int AuthenticateSigResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string AuthenticateSigResult::getRiskLevel()const
|
||||
{
|
||||
return riskLevel_;
|
||||
}
|
||||
|
||||
std::string AuthenticateSigResult::getDetail()const
|
||||
{
|
||||
return detail_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ ConfigurationStyleRequest::ConfigurationStyleRequest() :
|
||||
ConfigurationStyleRequest::~ConfigurationStyleRequest()
|
||||
{}
|
||||
|
||||
long ConfigurationStyleRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ConfigurationStyleRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ConfigurationStyleRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
@@ -58,6 +47,17 @@ void ConfigurationStyleRequest::setConfigurationMethod(const std::string& config
|
||||
setParameter("ConfigurationMethod", configurationMethod);
|
||||
}
|
||||
|
||||
std::string ConfigurationStyleRequest::getRefExtId()const
|
||||
{
|
||||
return refExtId_;
|
||||
}
|
||||
|
||||
void ConfigurationStyleRequest::setRefExtId(const std::string& refExtId)
|
||||
{
|
||||
refExtId_ = refExtId;
|
||||
setParameter("RefExtId", refExtId);
|
||||
}
|
||||
|
||||
std::string ConfigurationStyleRequest::getApplyType()const
|
||||
{
|
||||
return applyType_;
|
||||
|
||||
@@ -40,36 +40,41 @@ void ConfigurationStyleResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCodeData = value["CodeData"];
|
||||
for (auto value : allCodeData)
|
||||
{
|
||||
CodeData codeDataObject;
|
||||
if(!value["Html"].isNull())
|
||||
codeDataObject.html = value["Html"].asString();
|
||||
if(!value["Net"].isNull())
|
||||
codeDataObject.net = value["Net"].asString();
|
||||
if(!value["Php"].isNull())
|
||||
codeDataObject.php = value["Php"].asString();
|
||||
if(!value["Python"].isNull())
|
||||
codeDataObject.python = value["Python"].asString();
|
||||
if(!value["Java"].isNull())
|
||||
codeDataObject.java = value["Java"].asString();
|
||||
if(!value["NodeJs"].isNull())
|
||||
codeDataObject.nodeJs = value["NodeJs"].asString();
|
||||
codeData_.push_back(codeDataObject);
|
||||
}
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
auto codeDataNode = value["CodeData"];
|
||||
if(!codeDataNode["Html"].isNull())
|
||||
codeData_.html = codeDataNode["Html"].asString();
|
||||
if(!codeDataNode["Net"].isNull())
|
||||
codeData_.net = codeDataNode["Net"].asString();
|
||||
if(!codeDataNode["Php"].isNull())
|
||||
codeData_.php = codeDataNode["Php"].asString();
|
||||
if(!codeDataNode["Python"].isNull())
|
||||
codeData_.python = codeDataNode["Python"].asString();
|
||||
if(!codeDataNode["Java"].isNull())
|
||||
codeData_.java = codeDataNode["Java"].asString();
|
||||
if(!codeDataNode["NodeJs"].isNull())
|
||||
codeData_.nodeJs = codeDataNode["NodeJs"].asString();
|
||||
if(!codeDataNode["NetUrl"].isNull())
|
||||
codeData_.netUrl = codeDataNode["NetUrl"].asString();
|
||||
if(!codeDataNode["PhpUrl"].isNull())
|
||||
codeData_.phpUrl = codeDataNode["PhpUrl"].asString();
|
||||
if(!codeDataNode["PythonUrl"].isNull())
|
||||
codeData_.pythonUrl = codeDataNode["PythonUrl"].asString();
|
||||
if(!codeDataNode["JavaUrl"].isNull())
|
||||
codeData_.javaUrl = codeDataNode["JavaUrl"].asString();
|
||||
if(!codeDataNode["NodeJsUrl"].isNull())
|
||||
codeData_.nodeJsUrl = codeDataNode["NodeJsUrl"].asString();
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<ConfigurationStyleResult::CodeData> ConfigurationStyleResult::getCodeData()const
|
||||
{
|
||||
return codeData_;
|
||||
}
|
||||
|
||||
std::string ConfigurationStyleResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
ConfigurationStyleResult::CodeData ConfigurationStyleResult::getCodeData()const
|
||||
{
|
||||
return codeData_;
|
||||
}
|
||||
|
||||
std::string ConfigurationStyleResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ CreateConfigurationRequest::CreateConfigurationRequest() :
|
||||
CreateConfigurationRequest::~CreateConfigurationRequest()
|
||||
{}
|
||||
|
||||
long CreateConfigurationRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateConfigurationRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateConfigurationRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
|
||||
@@ -40,13 +40,20 @@ void CreateConfigurationResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["RefExtId"].isNull())
|
||||
refExtId_ = value["RefExtId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateConfigurationResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
std::string CreateConfigurationResult::getRefExtId()const
|
||||
{
|
||||
return refExtId_;
|
||||
}
|
||||
|
||||
std::string CreateConfigurationResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeCaptchaDayRequest::DescribeCaptchaDayRequest() :
|
||||
DescribeCaptchaDayRequest::~DescribeCaptchaDayRequest()
|
||||
{}
|
||||
|
||||
long DescribeCaptchaDayRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeCaptchaDayRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaDayRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
@@ -58,6 +47,17 @@ void DescribeCaptchaDayRequest::setConfigName(const std::string& configName)
|
||||
setParameter("ConfigName", configName);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaDayRequest::getRefExtId()const
|
||||
{
|
||||
return refExtId_;
|
||||
}
|
||||
|
||||
void DescribeCaptchaDayRequest::setRefExtId(const std::string& refExtId)
|
||||
{
|
||||
refExtId_ = refExtId;
|
||||
setParameter("RefExtId", refExtId);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaDayRequest::getTime()const
|
||||
{
|
||||
return time_;
|
||||
|
||||
@@ -40,49 +40,44 @@ void DescribeCaptchaDayResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCaptchaDay = value["CaptchaDay"];
|
||||
for (auto value : allCaptchaDay)
|
||||
{
|
||||
CaptchaDay captchaDayObject;
|
||||
if(!value["Init"].isNull())
|
||||
captchaDayObject.init = std::stoi(value["Init"].asString());
|
||||
if(!value["AskForVerify"].isNull())
|
||||
captchaDayObject.askForVerify = std::stoi(value["AskForVerify"].asString());
|
||||
if(!value["DirecetStrategyInterception"].isNull())
|
||||
captchaDayObject.direcetStrategyInterception = std::stoi(value["DirecetStrategyInterception"].asString());
|
||||
if(!value["TwiceVerify"].isNull())
|
||||
captchaDayObject.twiceVerify = std::stoi(value["TwiceVerify"].asString());
|
||||
if(!value["Pass"].isNull())
|
||||
captchaDayObject.pass = std::stoi(value["Pass"].asString());
|
||||
if(!value["CheckTested"].isNull())
|
||||
captchaDayObject.checkTested = std::stoi(value["CheckTested"].asString());
|
||||
if(!value["UncheckTested"].isNull())
|
||||
captchaDayObject.uncheckTested = std::stoi(value["UncheckTested"].asString());
|
||||
if(!value["LegalSign"].isNull())
|
||||
captchaDayObject.legalSign = std::stoi(value["LegalSign"].asString());
|
||||
if(!value["MaliciousFlow"].isNull())
|
||||
captchaDayObject.maliciousFlow = std::stoi(value["MaliciousFlow"].asString());
|
||||
captchaDay_.push_back(captchaDayObject);
|
||||
}
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["HasData"].isNull())
|
||||
hasData_ = value["HasData"].asString() == "true";
|
||||
auto captchaDayNode = value["CaptchaDay"];
|
||||
if(!captchaDayNode["Init"].isNull())
|
||||
captchaDay_.init = std::stoi(captchaDayNode["Init"].asString());
|
||||
if(!captchaDayNode["AskForVerify"].isNull())
|
||||
captchaDay_.askForVerify = std::stoi(captchaDayNode["AskForVerify"].asString());
|
||||
if(!captchaDayNode["DirecetStrategyInterception"].isNull())
|
||||
captchaDay_.direcetStrategyInterception = std::stoi(captchaDayNode["DirecetStrategyInterception"].asString());
|
||||
if(!captchaDayNode["TwiceVerify"].isNull())
|
||||
captchaDay_.twiceVerify = std::stoi(captchaDayNode["TwiceVerify"].asString());
|
||||
if(!captchaDayNode["Pass"].isNull())
|
||||
captchaDay_.pass = std::stoi(captchaDayNode["Pass"].asString());
|
||||
if(!captchaDayNode["CheckTested"].isNull())
|
||||
captchaDay_.checkTested = std::stoi(captchaDayNode["CheckTested"].asString());
|
||||
if(!captchaDayNode["UncheckTested"].isNull())
|
||||
captchaDay_.uncheckTested = std::stoi(captchaDayNode["UncheckTested"].asString());
|
||||
if(!captchaDayNode["LegalSign"].isNull())
|
||||
captchaDay_.legalSign = std::stoi(captchaDayNode["LegalSign"].asString());
|
||||
if(!captchaDayNode["MaliciousFlow"].isNull())
|
||||
captchaDay_.maliciousFlow = std::stoi(captchaDayNode["MaliciousFlow"].asString());
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["HasData"].isNull())
|
||||
hasData_ = value["HasData"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeCaptchaDayResult::CaptchaDay> DescribeCaptchaDayResult::getCaptchaDay()const
|
||||
{
|
||||
return captchaDay_;
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaDayResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
bool DescribeCaptchaDayResult::getHasData()const
|
||||
{
|
||||
return hasData_;
|
||||
}
|
||||
|
||||
DescribeCaptchaDayResult::CaptchaDay DescribeCaptchaDayResult::getCaptchaDay()const
|
||||
{
|
||||
return captchaDay_;
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaDayResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
bool DescribeCaptchaDayResult::getHasData()const
|
||||
{
|
||||
return hasData_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeCaptchaIpCityRequest::DescribeCaptchaIpCityRequest() :
|
||||
DescribeCaptchaIpCityRequest::~DescribeCaptchaIpCityRequest()
|
||||
{}
|
||||
|
||||
long DescribeCaptchaIpCityRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeCaptchaIpCityRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaIpCityRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
@@ -58,6 +47,17 @@ void DescribeCaptchaIpCityRequest::setConfigName(const std::string& configName)
|
||||
setParameter("ConfigName", configName);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaIpCityRequest::getRefExtId()const
|
||||
{
|
||||
return refExtId_;
|
||||
}
|
||||
|
||||
void DescribeCaptchaIpCityRequest::setRefExtId(const std::string& refExtId)
|
||||
{
|
||||
refExtId_ = refExtId;
|
||||
setParameter("RefExtId", refExtId);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaIpCityRequest::getTime()const
|
||||
{
|
||||
return time_;
|
||||
|
||||
@@ -40,54 +40,54 @@ void DescribeCaptchaIpCityResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCaptchaCities = value["CaptchaCities"]["CaptchaCitie"];
|
||||
for (auto value : allCaptchaCities)
|
||||
{
|
||||
CaptchaCitie captchaCitiesObject;
|
||||
if(!value["Location"].isNull())
|
||||
captchaCitiesObject.location = value["Location"].asString();
|
||||
if(!value["Lat"].isNull())
|
||||
captchaCitiesObject.lat = value["Lat"].asString();
|
||||
if(!value["Lng"].isNull())
|
||||
captchaCitiesObject.lng = value["Lng"].asString();
|
||||
if(!value["Pv"].isNull())
|
||||
captchaCitiesObject.pv = std::stoi(value["Pv"].asString());
|
||||
captchaCities_.push_back(captchaCitiesObject);
|
||||
}
|
||||
auto allCaptchaIps = value["CaptchaIps"]["CaptchaIp"];
|
||||
for (auto value : allCaptchaIps)
|
||||
{
|
||||
CaptchaIp captchaIpsObject;
|
||||
if(!value["Ip"].isNull())
|
||||
captchaIpsObject.ip = value["Ip"].asString();
|
||||
if(!value["Value"].isNull())
|
||||
captchaIpsObject.value = std::stoi(value["Value"].asString());
|
||||
captchaIps_.push_back(captchaIpsObject);
|
||||
}
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["HasData"].isNull())
|
||||
hasData_ = value["HasData"].asString() == "true";
|
||||
auto allCaptchaCities = value["CaptchaCities"]["CaptchaCitie"];
|
||||
for (auto value : allCaptchaCities)
|
||||
{
|
||||
CaptchaCitie captchaCitiesObject;
|
||||
if(!value["Location"].isNull())
|
||||
captchaCitiesObject.location = value["Location"].asString();
|
||||
if(!value["Lat"].isNull())
|
||||
captchaCitiesObject.lat = value["Lat"].asString();
|
||||
if(!value["Lng"].isNull())
|
||||
captchaCitiesObject.lng = value["Lng"].asString();
|
||||
if(!value["Pv"].isNull())
|
||||
captchaCitiesObject.pv = std::stoi(value["Pv"].asString());
|
||||
captchaCities_.push_back(captchaCitiesObject);
|
||||
}
|
||||
auto allCaptchaIps = value["CaptchaIps"]["CaptchaIp"];
|
||||
for (auto value : allCaptchaIps)
|
||||
{
|
||||
CaptchaIp captchaIpsObject;
|
||||
if(!value["Ip"].isNull())
|
||||
captchaIpsObject.ip = value["Ip"].asString();
|
||||
if(!value["Value"].isNull())
|
||||
captchaIpsObject.value = std::stoi(value["Value"].asString());
|
||||
captchaIps_.push_back(captchaIpsObject);
|
||||
}
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["HasData"].isNull())
|
||||
hasData_ = value["HasData"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeCaptchaIpCityResult::CaptchaIp> DescribeCaptchaIpCityResult::getCaptchaIps()const
|
||||
{
|
||||
return captchaIps_;
|
||||
}
|
||||
|
||||
std::vector<DescribeCaptchaIpCityResult::CaptchaCitie> DescribeCaptchaIpCityResult::getCaptchaCities()const
|
||||
{
|
||||
return captchaCities_;
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaIpCityResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
bool DescribeCaptchaIpCityResult::getHasData()const
|
||||
{
|
||||
return hasData_;
|
||||
}
|
||||
|
||||
std::vector<DescribeCaptchaIpCityResult::CaptchaIp> DescribeCaptchaIpCityResult::getCaptchaIps()const
|
||||
{
|
||||
return captchaIps_;
|
||||
}
|
||||
|
||||
std::vector<DescribeCaptchaIpCityResult::CaptchaCitie> DescribeCaptchaIpCityResult::getCaptchaCities()const
|
||||
{
|
||||
return captchaCities_;
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaIpCityResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
bool DescribeCaptchaIpCityResult::getHasData()const
|
||||
{
|
||||
return hasData_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeCaptchaMinRequest::DescribeCaptchaMinRequest() :
|
||||
DescribeCaptchaMinRequest::~DescribeCaptchaMinRequest()
|
||||
{}
|
||||
|
||||
long DescribeCaptchaMinRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeCaptchaMinRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaMinRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
@@ -58,6 +47,17 @@ void DescribeCaptchaMinRequest::setConfigName(const std::string& configName)
|
||||
setParameter("ConfigName", configName);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaMinRequest::getRefExtId()const
|
||||
{
|
||||
return refExtId_;
|
||||
}
|
||||
|
||||
void DescribeCaptchaMinRequest::setRefExtId(const std::string& refExtId)
|
||||
{
|
||||
refExtId_ = refExtId;
|
||||
setParameter("RefExtId", refExtId);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaMinRequest::getTime()const
|
||||
{
|
||||
return time_;
|
||||
|
||||
@@ -40,37 +40,37 @@ void DescribeCaptchaMinResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCaptchaMins = value["CaptchaMins"]["CaptchaMin"];
|
||||
for (auto value : allCaptchaMins)
|
||||
{
|
||||
CaptchaMin captchaMinsObject;
|
||||
if(!value["Time"].isNull())
|
||||
captchaMinsObject.time = value["Time"].asString();
|
||||
if(!value["Pass"].isNull())
|
||||
captchaMinsObject.pass = value["Pass"].asString();
|
||||
if(!value["Interception"].isNull())
|
||||
captchaMinsObject.interception = value["Interception"].asString();
|
||||
captchaMins_.push_back(captchaMinsObject);
|
||||
}
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["HasData"].isNull())
|
||||
hasData_ = value["HasData"].asString() == "true";
|
||||
auto allCaptchaMins = value["CaptchaMins"]["CaptchaMin"];
|
||||
for (auto value : allCaptchaMins)
|
||||
{
|
||||
CaptchaMin captchaMinsObject;
|
||||
if(!value["Time"].isNull())
|
||||
captchaMinsObject.time = value["Time"].asString();
|
||||
if(!value["Pass"].isNull())
|
||||
captchaMinsObject.pass = value["Pass"].asString();
|
||||
if(!value["Interception"].isNull())
|
||||
captchaMinsObject.interception = value["Interception"].asString();
|
||||
captchaMins_.push_back(captchaMinsObject);
|
||||
}
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["HasData"].isNull())
|
||||
hasData_ = value["HasData"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeCaptchaMinResult::CaptchaMin> DescribeCaptchaMinResult::getCaptchaMins()const
|
||||
{
|
||||
return captchaMins_;
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaMinResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
bool DescribeCaptchaMinResult::getHasData()const
|
||||
{
|
||||
return hasData_;
|
||||
}
|
||||
|
||||
std::vector<DescribeCaptchaMinResult::CaptchaMin> DescribeCaptchaMinResult::getCaptchaMins()const
|
||||
{
|
||||
return captchaMins_;
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaMinResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
bool DescribeCaptchaMinResult::getHasData()const
|
||||
{
|
||||
return hasData_;
|
||||
}
|
||||
|
||||
|
||||
49
afs/src/model/DescribeCaptchaOrderRequest.cc
Normal file
49
afs/src/model/DescribeCaptchaOrderRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/afs/model/DescribeCaptchaOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Afs::Model::DescribeCaptchaOrderRequest;
|
||||
|
||||
DescribeCaptchaOrderRequest::DescribeCaptchaOrderRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "DescribeCaptchaOrder")
|
||||
{}
|
||||
|
||||
DescribeCaptchaOrderRequest::~DescribeCaptchaOrderRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCaptchaOrderRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeCaptchaOrderRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaOrderRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeCaptchaOrderRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
52
afs/src/model/DescribeCaptchaOrderResult.cc
Normal file
52
afs/src/model/DescribeCaptchaOrderResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/afs/model/DescribeCaptchaOrderResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Afs;
|
||||
using namespace AlibabaCloud::Afs::Model;
|
||||
|
||||
DescribeCaptchaOrderResult::DescribeCaptchaOrderResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCaptchaOrderResult::DescribeCaptchaOrderResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCaptchaOrderResult::~DescribeCaptchaOrderResult()
|
||||
{}
|
||||
|
||||
void DescribeCaptchaOrderResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaOrderResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeCaptchaRiskRequest::DescribeCaptchaRiskRequest() :
|
||||
DescribeCaptchaRiskRequest::~DescribeCaptchaRiskRequest()
|
||||
{}
|
||||
|
||||
long DescribeCaptchaRiskRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeCaptchaRiskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaRiskRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
@@ -58,6 +47,17 @@ void DescribeCaptchaRiskRequest::setConfigName(const std::string& configName)
|
||||
setParameter("ConfigName", configName);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaRiskRequest::getRefExtId()const
|
||||
{
|
||||
return refExtId_;
|
||||
}
|
||||
|
||||
void DescribeCaptchaRiskRequest::setRefExtId(const std::string& refExtId)
|
||||
{
|
||||
refExtId_ = refExtId;
|
||||
setParameter("RefExtId", refExtId);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaRiskRequest::getTime()const
|
||||
{
|
||||
return time_;
|
||||
|
||||
@@ -40,34 +40,34 @@ void DescribeCaptchaRiskResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["NumOfThisMonth"].isNull())
|
||||
numOfThisMonth_ = std::stoi(value["NumOfThisMonth"].asString());
|
||||
if(!value["NumOfLastMonth"].isNull())
|
||||
numOfLastMonth_ = std::stoi(value["NumOfLastMonth"].asString());
|
||||
if(!value["RiskLevel"].isNull())
|
||||
riskLevel_ = value["RiskLevel"].asString();
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["NumOfThisMonth"].isNull())
|
||||
numOfThisMonth_ = std::stoi(value["NumOfThisMonth"].asString());
|
||||
if(!value["NumOfLastMonth"].isNull())
|
||||
numOfLastMonth_ = std::stoi(value["NumOfLastMonth"].asString());
|
||||
if(!value["RiskLevel"].isNull())
|
||||
riskLevel_ = value["RiskLevel"].asString();
|
||||
|
||||
}
|
||||
|
||||
int DescribeCaptchaRiskResult::getNumOfLastMonth()const
|
||||
{
|
||||
return numOfLastMonth_;
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaRiskResult::getRiskLevel()const
|
||||
{
|
||||
return riskLevel_;
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaRiskResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
int DescribeCaptchaRiskResult::getNumOfThisMonth()const
|
||||
{
|
||||
return numOfThisMonth_;
|
||||
}
|
||||
|
||||
int DescribeCaptchaRiskResult::getNumOfLastMonth()const
|
||||
{
|
||||
return numOfLastMonth_;
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaRiskResult::getRiskLevel()const
|
||||
{
|
||||
return riskLevel_;
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaRiskResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
int DescribeCaptchaRiskResult::getNumOfThisMonth()const
|
||||
{
|
||||
return numOfThisMonth_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeConfigNameRequest::DescribeConfigNameRequest() :
|
||||
DescribeConfigNameRequest::~DescribeConfigNameRequest()
|
||||
{}
|
||||
|
||||
long DescribeConfigNameRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeConfigNameRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeConfigNameRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
|
||||
@@ -40,27 +40,37 @@ void DescribeConfigNameResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HasConfig"].isNull())
|
||||
hasConfig_ = value["HasConfig"].asString() == "true";
|
||||
if(!value["ConfigNames"].isNull())
|
||||
configNames_ = value["ConfigNames"].asString();
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
auto allConfigNames = value["ConfigNames"]["ConfigName"];
|
||||
for (auto value : allConfigNames)
|
||||
{
|
||||
ConfigName configNamesObject;
|
||||
if(!value["AliUid"].isNull())
|
||||
configNamesObject.aliUid = value["AliUid"].asString();
|
||||
if(!value["ConfigName"].isNull())
|
||||
configNamesObject.configName = value["ConfigName"].asString();
|
||||
if(!value["RefExtId"].isNull())
|
||||
configNamesObject.refExtId = value["RefExtId"].asString();
|
||||
configNames_.push_back(configNamesObject);
|
||||
}
|
||||
if(!value["HasConfig"].isNull())
|
||||
hasConfig_ = value["HasConfig"].asString() == "true";
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeConfigNameResult::getConfigNames()const
|
||||
{
|
||||
return configNames_;
|
||||
}
|
||||
|
||||
bool DescribeConfigNameResult::getHasConfig()const
|
||||
{
|
||||
return hasConfig_;
|
||||
}
|
||||
|
||||
std::string DescribeConfigNameResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
std::vector<DescribeConfigNameResult::ConfigName> DescribeConfigNameResult::getConfigNames()const
|
||||
{
|
||||
return configNames_;
|
||||
}
|
||||
|
||||
bool DescribeConfigNameResult::getHasConfig()const
|
||||
{
|
||||
return hasConfig_;
|
||||
}
|
||||
|
||||
std::string DescribeConfigNameResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeEarlyWarningRequest::DescribeEarlyWarningRequest() :
|
||||
DescribeEarlyWarningRequest::~DescribeEarlyWarningRequest()
|
||||
{}
|
||||
|
||||
long DescribeEarlyWarningRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeEarlyWarningRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeEarlyWarningRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
|
||||
@@ -40,47 +40,47 @@ void DescribeEarlyWarningResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEarlyWarnings = value["EarlyWarnings"]["EarlyWarning"];
|
||||
for (auto value : allEarlyWarnings)
|
||||
{
|
||||
EarlyWarning earlyWarningsObject;
|
||||
if(!value["WarnOpen"].isNull())
|
||||
earlyWarningsObject.warnOpen = value["WarnOpen"].asString() == "true";
|
||||
if(!value["Title"].isNull())
|
||||
earlyWarningsObject.title = value["Title"].asString();
|
||||
if(!value["Content"].isNull())
|
||||
earlyWarningsObject.content = value["Content"].asString();
|
||||
if(!value["Frequency"].isNull())
|
||||
earlyWarningsObject.frequency = value["Frequency"].asString();
|
||||
if(!value["TimeOpen"].isNull())
|
||||
earlyWarningsObject.timeOpen = value["TimeOpen"].asString() == "true";
|
||||
if(!value["TimeBegin"].isNull())
|
||||
earlyWarningsObject.timeBegin = value["TimeBegin"].asString();
|
||||
if(!value["TimeEnd"].isNull())
|
||||
earlyWarningsObject.timeEnd = value["TimeEnd"].asString();
|
||||
if(!value["Channel"].isNull())
|
||||
earlyWarningsObject.channel = value["Channel"].asString();
|
||||
earlyWarnings_.push_back(earlyWarningsObject);
|
||||
}
|
||||
if(!value["HasWarning"].isNull())
|
||||
hasWarning_ = value["HasWarning"].asString() == "true";
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
auto allEarlyWarnings = value["EarlyWarnings"]["EarlyWarning"];
|
||||
for (auto value : allEarlyWarnings)
|
||||
{
|
||||
EarlyWarning earlyWarningsObject;
|
||||
if(!value["WarnOpen"].isNull())
|
||||
earlyWarningsObject.warnOpen = value["WarnOpen"].asString() == "true";
|
||||
if(!value["Title"].isNull())
|
||||
earlyWarningsObject.title = value["Title"].asString();
|
||||
if(!value["Content"].isNull())
|
||||
earlyWarningsObject.content = value["Content"].asString();
|
||||
if(!value["Frequency"].isNull())
|
||||
earlyWarningsObject.frequency = value["Frequency"].asString();
|
||||
if(!value["TimeOpen"].isNull())
|
||||
earlyWarningsObject.timeOpen = value["TimeOpen"].asString() == "true";
|
||||
if(!value["TimeBegin"].isNull())
|
||||
earlyWarningsObject.timeBegin = value["TimeBegin"].asString();
|
||||
if(!value["TimeEnd"].isNull())
|
||||
earlyWarningsObject.timeEnd = value["TimeEnd"].asString();
|
||||
if(!value["Channel"].isNull())
|
||||
earlyWarningsObject.channel = value["Channel"].asString();
|
||||
earlyWarnings_.push_back(earlyWarningsObject);
|
||||
}
|
||||
if(!value["HasWarning"].isNull())
|
||||
hasWarning_ = value["HasWarning"].asString() == "true";
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
bool DescribeEarlyWarningResult::getHasWarning()const
|
||||
{
|
||||
return hasWarning_;
|
||||
}
|
||||
|
||||
std::vector<DescribeEarlyWarningResult::EarlyWarning> DescribeEarlyWarningResult::getEarlyWarnings()const
|
||||
{
|
||||
return earlyWarnings_;
|
||||
}
|
||||
|
||||
std::string DescribeEarlyWarningResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
bool DescribeEarlyWarningResult::getHasWarning()const
|
||||
{
|
||||
return hasWarning_;
|
||||
}
|
||||
|
||||
std::vector<DescribeEarlyWarningResult::EarlyWarning> DescribeEarlyWarningResult::getEarlyWarnings()const
|
||||
{
|
||||
return earlyWarnings_;
|
||||
}
|
||||
|
||||
std::string DescribeEarlyWarningResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
|
||||
38
afs/src/model/DescribeOrderInfoRequest.cc
Normal file
38
afs/src/model/DescribeOrderInfoRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/afs/model/DescribeOrderInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Afs::Model::DescribeOrderInfoRequest;
|
||||
|
||||
DescribeOrderInfoRequest::DescribeOrderInfoRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "DescribeOrderInfo")
|
||||
{}
|
||||
|
||||
DescribeOrderInfoRequest::~DescribeOrderInfoRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeOrderInfoRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeOrderInfoRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
80
afs/src/model/DescribeOrderInfoResult.cc
Normal file
80
afs/src/model/DescribeOrderInfoResult.cc
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/afs/model/DescribeOrderInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Afs;
|
||||
using namespace AlibabaCloud::Afs::Model;
|
||||
|
||||
DescribeOrderInfoResult::DescribeOrderInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeOrderInfoResult::DescribeOrderInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeOrderInfoResult::~DescribeOrderInfoResult()
|
||||
{}
|
||||
|
||||
void DescribeOrderInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["OrderLevel"].isNull())
|
||||
orderLevel_ = value["OrderLevel"].asString();
|
||||
if(!value["Num"].isNull())
|
||||
num_ = value["Num"].asString();
|
||||
if(!value["BeginDate"].isNull())
|
||||
beginDate_ = value["BeginDate"].asString();
|
||||
if(!value["EndDate"].isNull())
|
||||
endDate_ = value["EndDate"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeOrderInfoResult::getOrderLevel()const
|
||||
{
|
||||
return orderLevel_;
|
||||
}
|
||||
|
||||
std::string DescribeOrderInfoResult::getNum()const
|
||||
{
|
||||
return num_;
|
||||
}
|
||||
|
||||
std::string DescribeOrderInfoResult::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
std::string DescribeOrderInfoResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
std::string DescribeOrderInfoResult::getBeginDate()const
|
||||
{
|
||||
return beginDate_;
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribePersonMachineListRequest::DescribePersonMachineListRequest() :
|
||||
DescribePersonMachineListRequest::~DescribePersonMachineListRequest()
|
||||
{}
|
||||
|
||||
long DescribePersonMachineListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribePersonMachineListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribePersonMachineListRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
|
||||
@@ -40,44 +40,43 @@ void DescribePersonMachineListResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPersonMachineRes = value["PersonMachineRes"];
|
||||
for (auto value : allPersonMachineRes)
|
||||
{
|
||||
PersonMachineRes personMachineResObject;
|
||||
if(!value["HasConfiguration"].isNull())
|
||||
personMachineResObject.hasConfiguration = value["HasConfiguration"].asString();
|
||||
auto allPersonMachines = value["PersonMachines"]["PersonMachine"];
|
||||
for (auto value : allPersonMachines)
|
||||
{
|
||||
PersonMachineRes::PersonMachine personMachineObject;
|
||||
if(!value["ConfigurationName"].isNull())
|
||||
personMachineObject.configurationName = value["ConfigurationName"].asString();
|
||||
if(!value["Appkey"].isNull())
|
||||
personMachineObject.appkey = value["Appkey"].asString();
|
||||
if(!value["ConfigurationMethod"].isNull())
|
||||
personMachineObject.configurationMethod = value["ConfigurationMethod"].asString();
|
||||
if(!value["ApplyType"].isNull())
|
||||
personMachineObject.applyType = value["ApplyType"].asString();
|
||||
if(!value["Scene"].isNull())
|
||||
personMachineObject.scene = value["Scene"].asString();
|
||||
if(!value["LastUpdate"].isNull())
|
||||
personMachineObject.lastUpdate = value["LastUpdate"].asString();
|
||||
personMachineResObject.personMachines.push_back(personMachineObject);
|
||||
}
|
||||
personMachineRes_.push_back(personMachineResObject);
|
||||
}
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
auto personMachineResNode = value["PersonMachineRes"];
|
||||
if(!personMachineResNode["HasConfiguration"].isNull())
|
||||
personMachineRes_.hasConfiguration = personMachineResNode["HasConfiguration"].asString();
|
||||
auto allPersonMachines = value["PersonMachines"]["PersonMachine"];
|
||||
for (auto value : allPersonMachines)
|
||||
{
|
||||
PersonMachineRes::PersonMachine personMachineObject;
|
||||
if(!value["ConfigurationName"].isNull())
|
||||
personMachineObject.configurationName = value["ConfigurationName"].asString();
|
||||
if(!value["Appkey"].isNull())
|
||||
personMachineObject.appkey = value["Appkey"].asString();
|
||||
if(!value["ConfigurationMethod"].isNull())
|
||||
personMachineObject.configurationMethod = value["ConfigurationMethod"].asString();
|
||||
if(!value["ApplyType"].isNull())
|
||||
personMachineObject.applyType = value["ApplyType"].asString();
|
||||
if(!value["Scene"].isNull())
|
||||
personMachineObject.scene = value["Scene"].asString();
|
||||
if(!value["LastUpdate"].isNull())
|
||||
personMachineObject.lastUpdate = value["LastUpdate"].asString();
|
||||
if(!value["ExtId"].isNull())
|
||||
personMachineObject.extId = value["ExtId"].asString();
|
||||
if(!value["SceneOriginal"].isNull())
|
||||
personMachineObject.sceneOriginal = value["SceneOriginal"].asString();
|
||||
personMachineRes_.personMachines.push_back(personMachineObject);
|
||||
}
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribePersonMachineListResult::PersonMachineRes> DescribePersonMachineListResult::getPersonMachineRes()const
|
||||
{
|
||||
return personMachineRes_;
|
||||
}
|
||||
|
||||
std::string DescribePersonMachineListResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
DescribePersonMachineListResult::PersonMachineRes DescribePersonMachineListResult::getPersonMachineRes()const
|
||||
{
|
||||
return personMachineRes_;
|
||||
}
|
||||
|
||||
std::string DescribePersonMachineListResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
|
||||
@@ -36,17 +36,6 @@ void SetEarlyWarningRequest::setTimeEnd(const std::string& timeEnd)
|
||||
setParameter("TimeEnd", timeEnd);
|
||||
}
|
||||
|
||||
long SetEarlyWarningRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void SetEarlyWarningRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
bool SetEarlyWarningRequest::getWarnOpen()const
|
||||
{
|
||||
return warnOpen_;
|
||||
|
||||
@@ -40,13 +40,13 @@ void SetEarlyWarningResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string SetEarlyWarningResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
std::string SetEarlyWarningResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
|
||||
71
afs/src/model/UpdateConfigNameRequest.cc
Normal file
71
afs/src/model/UpdateConfigNameRequest.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/afs/model/UpdateConfigNameRequest.h>
|
||||
|
||||
using AlibabaCloud::Afs::Model::UpdateConfigNameRequest;
|
||||
|
||||
UpdateConfigNameRequest::UpdateConfigNameRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "UpdateConfigName")
|
||||
{}
|
||||
|
||||
UpdateConfigNameRequest::~UpdateConfigNameRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateConfigNameRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void UpdateConfigNameRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string UpdateConfigNameRequest::getConfigName()const
|
||||
{
|
||||
return configName_;
|
||||
}
|
||||
|
||||
void UpdateConfigNameRequest::setConfigName(const std::string& configName)
|
||||
{
|
||||
configName_ = configName;
|
||||
setParameter("ConfigName", configName);
|
||||
}
|
||||
|
||||
std::string UpdateConfigNameRequest::getRefExtId()const
|
||||
{
|
||||
return refExtId_;
|
||||
}
|
||||
|
||||
void UpdateConfigNameRequest::setRefExtId(const std::string& refExtId)
|
||||
{
|
||||
refExtId_ = refExtId;
|
||||
setParameter("RefExtId", refExtId);
|
||||
}
|
||||
|
||||
std::string UpdateConfigNameRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void UpdateConfigNameRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
52
afs/src/model/UpdateConfigNameResult.cc
Normal file
52
afs/src/model/UpdateConfigNameResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/afs/model/UpdateConfigNameResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Afs;
|
||||
using namespace AlibabaCloud::Afs::Model;
|
||||
|
||||
UpdateConfigNameResult::UpdateConfigNameResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateConfigNameResult::UpdateConfigNameResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateConfigNameResult::~UpdateConfigNameResult()
|
||||
{}
|
||||
|
||||
void UpdateConfigNameResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string UpdateConfigNameResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
90
arms4finance/CMakeLists.txt
Normal file
90
arms4finance/CMakeLists.txt
Normal 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.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(arms4finance_public_header
|
||||
include/alibabacloud/arms4finance/ARMS4FINANCEClient.h
|
||||
include/alibabacloud/arms4finance/ARMS4FINANCEExport.h )
|
||||
|
||||
set(arms4finance_public_header_model
|
||||
include/alibabacloud/arms4finance/model/WhereInDimQueryRequest.h
|
||||
include/alibabacloud/arms4finance/model/WhereInDimQueryResult.h
|
||||
include/alibabacloud/arms4finance/model/ARMSQueryDataSetRequest.h
|
||||
include/alibabacloud/arms4finance/model/ARMSQueryDataSetResult.h )
|
||||
|
||||
set(arms4finance_src
|
||||
src/ARMS4FINANCEClient.cc
|
||||
src/model/WhereInDimQueryRequest.cc
|
||||
src/model/WhereInDimQueryResult.cc
|
||||
src/model/ARMSQueryDataSetRequest.cc
|
||||
src/model/ARMSQueryDataSetResult.cc )
|
||||
|
||||
add_library(arms4finance ${LIB_TYPE}
|
||||
${arms4finance_public_header}
|
||||
${arms4finance_public_header_model}
|
||||
${arms4finance_src})
|
||||
|
||||
set_target_properties(arms4finance
|
||||
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}arms4finance
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(arms4finance
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_ARMS4FINANCE_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(arms4finance
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(arms4finance
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(arms4finance
|
||||
jsoncpp)
|
||||
target_include_directories(arms4finance
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(arms4finance
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(arms4finance
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(arms4finance
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(arms4finance
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${arms4finance_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/arms4finance)
|
||||
install(FILES ${arms4finance_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/arms4finance/model)
|
||||
install(TARGETS arms4finance
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
@@ -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_ARMS4FINANCE_ARMS4FINANCECLIENT_H_
|
||||
#define ALIBABACLOUD_ARMS4FINANCE_ARMS4FINANCECLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "ARMS4FINANCEExport.h"
|
||||
#include "model/WhereInDimQueryRequest.h"
|
||||
#include "model/WhereInDimQueryResult.h"
|
||||
#include "model/ARMSQueryDataSetRequest.h"
|
||||
#include "model/ARMSQueryDataSetResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS4FINANCE
|
||||
{
|
||||
class ALIBABACLOUD_ARMS4FINANCE_EXPORT ARMS4FINANCEClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::WhereInDimQueryResult> WhereInDimQueryOutcome;
|
||||
typedef std::future<WhereInDimQueryOutcome> WhereInDimQueryOutcomeCallable;
|
||||
typedef std::function<void(const ARMS4FINANCEClient*, const Model::WhereInDimQueryRequest&, const WhereInDimQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> WhereInDimQueryAsyncHandler;
|
||||
typedef Outcome<Error, Model::ARMSQueryDataSetResult> ARMSQueryDataSetOutcome;
|
||||
typedef std::future<ARMSQueryDataSetOutcome> ARMSQueryDataSetOutcomeCallable;
|
||||
typedef std::function<void(const ARMS4FINANCEClient*, const Model::ARMSQueryDataSetRequest&, const ARMSQueryDataSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ARMSQueryDataSetAsyncHandler;
|
||||
|
||||
ARMS4FINANCEClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
ARMS4FINANCEClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
ARMS4FINANCEClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~ARMS4FINANCEClient();
|
||||
WhereInDimQueryOutcome whereInDimQuery(const Model::WhereInDimQueryRequest &request)const;
|
||||
void whereInDimQueryAsync(const Model::WhereInDimQueryRequest& request, const WhereInDimQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
WhereInDimQueryOutcomeCallable whereInDimQueryCallable(const Model::WhereInDimQueryRequest& request) const;
|
||||
ARMSQueryDataSetOutcome aRMSQueryDataSet(const Model::ARMSQueryDataSetRequest &request)const;
|
||||
void aRMSQueryDataSetAsync(const Model::ARMSQueryDataSetRequest& request, const ARMSQueryDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ARMSQueryDataSetOutcomeCallable aRMSQueryDataSetCallable(const Model::ARMSQueryDataSetRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_ARMS4FINANCE_ARMS4FINANCECLIENT_H_
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS4FINANCE_ARMS4FINANCEEXPORT_H_
|
||||
#define ALIBABACLOUD_ARMS4FINANCE_ARMS4FINANCEEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_ARMS4FINANCE_LIBRARY)
|
||||
# define ALIBABACLOUD_ARMS4FINANCE_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_ARMS4FINANCE_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_ARMS4FINANCE_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_ARMS4FINANCE_ARMS4FINANCEEXPORT_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ARMS4FINANCE_MODEL_ARMSQUERYDATASETREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS4FINANCE_MODEL_ARMSQUERYDATASETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms4finance/ARMS4FINANCEExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS4FINANCE
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS4FINANCE_EXPORT ARMSQueryDataSetRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Dimensions
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
ARMSQueryDataSetRequest();
|
||||
~ARMSQueryDataSetRequest();
|
||||
|
||||
std::vector<std::string> getMeasures()const;
|
||||
void setMeasures(const std::vector<std::string>& measures);
|
||||
int getIntervalInSec()const;
|
||||
void setIntervalInSec(int intervalInSec);
|
||||
std::string getDateStr()const;
|
||||
void setDateStr(const std::string& dateStr);
|
||||
bool getIsDrillDown()const;
|
||||
void setIsDrillDown(bool isDrillDown);
|
||||
long getMinTime()const;
|
||||
void setMinTime(long minTime);
|
||||
long getDatasetId()const;
|
||||
void setDatasetId(long datasetId);
|
||||
long getMaxTime()const;
|
||||
void setMaxTime(long maxTime);
|
||||
std::vector<Dimensions> getDimensions()const;
|
||||
void setDimensions(const std::vector<Dimensions>& dimensions);
|
||||
|
||||
private:
|
||||
std::vector<std::string> measures_;
|
||||
int intervalInSec_;
|
||||
std::string dateStr_;
|
||||
bool isDrillDown_;
|
||||
long minTime_;
|
||||
long datasetId_;
|
||||
long maxTime_;
|
||||
std::vector<Dimensions> dimensions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS4FINANCE_MODEL_ARMSQUERYDATASETREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS4FINANCE_MODEL_ARMSQUERYDATASETRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS4FINANCE_MODEL_ARMSQUERYDATASETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms4finance/ARMS4FINANCEExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS4FINANCE
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS4FINANCE_EXPORT ARMSQueryDataSetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ARMSQueryDataSetResult();
|
||||
explicit ARMSQueryDataSetResult(const std::string &payload);
|
||||
~ARMSQueryDataSetResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS4FINANCE_MODEL_ARMSQUERYDATASETRESULT_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS4FINANCE_MODEL_WHEREINDIMQUERYREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS4FINANCE_MODEL_WHEREINDIMQUERYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms4finance/ARMS4FINANCEExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS4FINANCE
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS4FINANCE_EXPORT WhereInDimQueryRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Dimensions
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
WhereInDimQueryRequest();
|
||||
~WhereInDimQueryRequest();
|
||||
|
||||
std::string getWhereInKey()const;
|
||||
void setWhereInKey(const std::string& whereInKey);
|
||||
std::vector<std::string> getMeasures()const;
|
||||
void setMeasures(const std::vector<std::string>& measures);
|
||||
int getIntervalInSec()const;
|
||||
void setIntervalInSec(int intervalInSec);
|
||||
std::string getDateStr()const;
|
||||
void setDateStr(const std::string& dateStr);
|
||||
bool getIsDrillDown()const;
|
||||
void setIsDrillDown(bool isDrillDown);
|
||||
long getMinTime()const;
|
||||
void setMinTime(long minTime);
|
||||
long getDatasetId()const;
|
||||
void setDatasetId(long datasetId);
|
||||
std::vector<std::string> getWhereInValues()const;
|
||||
void setWhereInValues(const std::vector<std::string>& whereInValues);
|
||||
long getMaxTime()const;
|
||||
void setMaxTime(long maxTime);
|
||||
std::vector<Dimensions> getDimensions()const;
|
||||
void setDimensions(const std::vector<Dimensions>& dimensions);
|
||||
|
||||
private:
|
||||
std::string whereInKey_;
|
||||
std::vector<std::string> measures_;
|
||||
int intervalInSec_;
|
||||
std::string dateStr_;
|
||||
bool isDrillDown_;
|
||||
long minTime_;
|
||||
long datasetId_;
|
||||
std::vector<std::string> whereInValues_;
|
||||
long maxTime_;
|
||||
std::vector<Dimensions> dimensions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS4FINANCE_MODEL_WHEREINDIMQUERYREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS4FINANCE_MODEL_WHEREINDIMQUERYRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS4FINANCE_MODEL_WHEREINDIMQUERYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms4finance/ARMS4FINANCEExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS4FINANCE
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS4FINANCE_EXPORT WhereInDimQueryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
WhereInDimQueryResult();
|
||||
explicit WhereInDimQueryResult(const std::string &payload);
|
||||
~WhereInDimQueryResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS4FINANCE_MODEL_WHEREINDIMQUERYRESULT_H_
|
||||
125
arms4finance/src/ARMS4FINANCEClient.cc
Normal file
125
arms4finance/src/ARMS4FINANCEClient.cc
Normal file
@@ -0,0 +1,125 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms4finance/ARMS4FINANCEClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::ARMS4FINANCE;
|
||||
using namespace AlibabaCloud::ARMS4FINANCE::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "ARMS4FINANCE";
|
||||
}
|
||||
|
||||
ARMS4FINANCEClient::ARMS4FINANCEClient(const Credentials &credentials, const ClientConfiguration &configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "arms4finance");
|
||||
}
|
||||
|
||||
ARMS4FINANCEClient::ARMS4FINANCEClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "arms4finance");
|
||||
}
|
||||
|
||||
ARMS4FINANCEClient::ARMS4FINANCEClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "arms4finance");
|
||||
}
|
||||
|
||||
ARMS4FINANCEClient::~ARMS4FINANCEClient()
|
||||
{}
|
||||
|
||||
ARMS4FINANCEClient::WhereInDimQueryOutcome ARMS4FINANCEClient::whereInDimQuery(const WhereInDimQueryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return WhereInDimQueryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return WhereInDimQueryOutcome(WhereInDimQueryResult(outcome.result()));
|
||||
else
|
||||
return WhereInDimQueryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMS4FINANCEClient::whereInDimQueryAsync(const WhereInDimQueryRequest& request, const WhereInDimQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, whereInDimQuery(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMS4FINANCEClient::WhereInDimQueryOutcomeCallable ARMS4FINANCEClient::whereInDimQueryCallable(const WhereInDimQueryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<WhereInDimQueryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->whereInDimQuery(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMS4FINANCEClient::ARMSQueryDataSetOutcome ARMS4FINANCEClient::aRMSQueryDataSet(const ARMSQueryDataSetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ARMSQueryDataSetOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ARMSQueryDataSetOutcome(ARMSQueryDataSetResult(outcome.result()));
|
||||
else
|
||||
return ARMSQueryDataSetOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMS4FINANCEClient::aRMSQueryDataSetAsync(const ARMSQueryDataSetRequest& request, const ARMSQueryDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, aRMSQueryDataSet(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMS4FINANCEClient::ARMSQueryDataSetOutcomeCallable ARMS4FINANCEClient::aRMSQueryDataSetCallable(const ARMSQueryDataSetRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ARMSQueryDataSetOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->aRMSQueryDataSet(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
122
arms4finance/src/model/ARMSQueryDataSetRequest.cc
Normal file
122
arms4finance/src/model/ARMSQueryDataSetRequest.cc
Normal file
@@ -0,0 +1,122 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms4finance/model/ARMSQueryDataSetRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS4FINANCE::Model::ARMSQueryDataSetRequest;
|
||||
|
||||
ARMSQueryDataSetRequest::ARMSQueryDataSetRequest() :
|
||||
RpcServiceRequest("arms4finance", "2017-11-30", "ARMSQueryDataSet")
|
||||
{}
|
||||
|
||||
ARMSQueryDataSetRequest::~ARMSQueryDataSetRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> ARMSQueryDataSetRequest::getMeasures()const
|
||||
{
|
||||
return measures_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setMeasures(const std::vector<std::string>& measures)
|
||||
{
|
||||
measures_ = measures;
|
||||
for(int i = 0; i!= measures.size(); i++)
|
||||
setParameter("Measures."+ std::to_string(i), measures.at(i));
|
||||
}
|
||||
|
||||
int ARMSQueryDataSetRequest::getIntervalInSec()const
|
||||
{
|
||||
return intervalInSec_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setIntervalInSec(int intervalInSec)
|
||||
{
|
||||
intervalInSec_ = intervalInSec;
|
||||
setParameter("IntervalInSec", std::to_string(intervalInSec));
|
||||
}
|
||||
|
||||
std::string ARMSQueryDataSetRequest::getDateStr()const
|
||||
{
|
||||
return dateStr_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setDateStr(const std::string& dateStr)
|
||||
{
|
||||
dateStr_ = dateStr;
|
||||
setParameter("DateStr", dateStr);
|
||||
}
|
||||
|
||||
bool ARMSQueryDataSetRequest::getIsDrillDown()const
|
||||
{
|
||||
return isDrillDown_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setIsDrillDown(bool isDrillDown)
|
||||
{
|
||||
isDrillDown_ = isDrillDown;
|
||||
setParameter("IsDrillDown", std::to_string(isDrillDown));
|
||||
}
|
||||
|
||||
long ARMSQueryDataSetRequest::getMinTime()const
|
||||
{
|
||||
return minTime_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setMinTime(long minTime)
|
||||
{
|
||||
minTime_ = minTime;
|
||||
setParameter("MinTime", std::to_string(minTime));
|
||||
}
|
||||
|
||||
long ARMSQueryDataSetRequest::getDatasetId()const
|
||||
{
|
||||
return datasetId_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setDatasetId(long datasetId)
|
||||
{
|
||||
datasetId_ = datasetId;
|
||||
setParameter("DatasetId", std::to_string(datasetId));
|
||||
}
|
||||
|
||||
long ARMSQueryDataSetRequest::getMaxTime()const
|
||||
{
|
||||
return maxTime_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setMaxTime(long maxTime)
|
||||
{
|
||||
maxTime_ = maxTime;
|
||||
setParameter("MaxTime", std::to_string(maxTime));
|
||||
}
|
||||
|
||||
std::vector<ARMSQueryDataSetRequest::Dimensions> ARMSQueryDataSetRequest::getDimensions()const
|
||||
{
|
||||
return dimensions_;
|
||||
}
|
||||
|
||||
void ARMSQueryDataSetRequest::setDimensions(const std::vector<Dimensions>& dimensions)
|
||||
{
|
||||
dimensions_ = dimensions;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= dimensions.size(); i++) {
|
||||
auto obj = dimensions.at(i);
|
||||
std::string str ="Dimensions."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
52
arms4finance/src/model/ARMSQueryDataSetResult.cc
Normal file
52
arms4finance/src/model/ARMSQueryDataSetResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms4finance/model/ARMSQueryDataSetResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS4FINANCE;
|
||||
using namespace AlibabaCloud::ARMS4FINANCE::Model;
|
||||
|
||||
ARMSQueryDataSetResult::ARMSQueryDataSetResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ARMSQueryDataSetResult::ARMSQueryDataSetResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ARMSQueryDataSetResult::~ARMSQueryDataSetResult()
|
||||
{}
|
||||
|
||||
void ARMSQueryDataSetResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ARMSQueryDataSetResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
145
arms4finance/src/model/WhereInDimQueryRequest.cc
Normal file
145
arms4finance/src/model/WhereInDimQueryRequest.cc
Normal file
@@ -0,0 +1,145 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms4finance/model/WhereInDimQueryRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS4FINANCE::Model::WhereInDimQueryRequest;
|
||||
|
||||
WhereInDimQueryRequest::WhereInDimQueryRequest() :
|
||||
RpcServiceRequest("arms4finance", "2017-11-30", "WhereInDimQuery")
|
||||
{}
|
||||
|
||||
WhereInDimQueryRequest::~WhereInDimQueryRequest()
|
||||
{}
|
||||
|
||||
std::string WhereInDimQueryRequest::getWhereInKey()const
|
||||
{
|
||||
return whereInKey_;
|
||||
}
|
||||
|
||||
void WhereInDimQueryRequest::setWhereInKey(const std::string& whereInKey)
|
||||
{
|
||||
whereInKey_ = whereInKey;
|
||||
setParameter("WhereInKey", whereInKey);
|
||||
}
|
||||
|
||||
std::vector<std::string> WhereInDimQueryRequest::getMeasures()const
|
||||
{
|
||||
return measures_;
|
||||
}
|
||||
|
||||
void WhereInDimQueryRequest::setMeasures(const std::vector<std::string>& measures)
|
||||
{
|
||||
measures_ = measures;
|
||||
for(int i = 0; i!= measures.size(); i++)
|
||||
setParameter("Measures."+ std::to_string(i), measures.at(i));
|
||||
}
|
||||
|
||||
int WhereInDimQueryRequest::getIntervalInSec()const
|
||||
{
|
||||
return intervalInSec_;
|
||||
}
|
||||
|
||||
void WhereInDimQueryRequest::setIntervalInSec(int intervalInSec)
|
||||
{
|
||||
intervalInSec_ = intervalInSec;
|
||||
setParameter("IntervalInSec", std::to_string(intervalInSec));
|
||||
}
|
||||
|
||||
std::string WhereInDimQueryRequest::getDateStr()const
|
||||
{
|
||||
return dateStr_;
|
||||
}
|
||||
|
||||
void WhereInDimQueryRequest::setDateStr(const std::string& dateStr)
|
||||
{
|
||||
dateStr_ = dateStr;
|
||||
setParameter("DateStr", dateStr);
|
||||
}
|
||||
|
||||
bool WhereInDimQueryRequest::getIsDrillDown()const
|
||||
{
|
||||
return isDrillDown_;
|
||||
}
|
||||
|
||||
void WhereInDimQueryRequest::setIsDrillDown(bool isDrillDown)
|
||||
{
|
||||
isDrillDown_ = isDrillDown;
|
||||
setParameter("IsDrillDown", std::to_string(isDrillDown));
|
||||
}
|
||||
|
||||
long WhereInDimQueryRequest::getMinTime()const
|
||||
{
|
||||
return minTime_;
|
||||
}
|
||||
|
||||
void WhereInDimQueryRequest::setMinTime(long minTime)
|
||||
{
|
||||
minTime_ = minTime;
|
||||
setParameter("MinTime", std::to_string(minTime));
|
||||
}
|
||||
|
||||
long WhereInDimQueryRequest::getDatasetId()const
|
||||
{
|
||||
return datasetId_;
|
||||
}
|
||||
|
||||
void WhereInDimQueryRequest::setDatasetId(long datasetId)
|
||||
{
|
||||
datasetId_ = datasetId;
|
||||
setParameter("DatasetId", std::to_string(datasetId));
|
||||
}
|
||||
|
||||
std::vector<std::string> WhereInDimQueryRequest::getWhereInValues()const
|
||||
{
|
||||
return whereInValues_;
|
||||
}
|
||||
|
||||
void WhereInDimQueryRequest::setWhereInValues(const std::vector<std::string>& whereInValues)
|
||||
{
|
||||
whereInValues_ = whereInValues;
|
||||
for(int i = 0; i!= whereInValues.size(); i++)
|
||||
setParameter("WhereInValues."+ std::to_string(i), whereInValues.at(i));
|
||||
}
|
||||
|
||||
long WhereInDimQueryRequest::getMaxTime()const
|
||||
{
|
||||
return maxTime_;
|
||||
}
|
||||
|
||||
void WhereInDimQueryRequest::setMaxTime(long maxTime)
|
||||
{
|
||||
maxTime_ = maxTime;
|
||||
setParameter("MaxTime", std::to_string(maxTime));
|
||||
}
|
||||
|
||||
std::vector<WhereInDimQueryRequest::Dimensions> WhereInDimQueryRequest::getDimensions()const
|
||||
{
|
||||
return dimensions_;
|
||||
}
|
||||
|
||||
void WhereInDimQueryRequest::setDimensions(const std::vector<Dimensions>& dimensions)
|
||||
{
|
||||
dimensions_ = dimensions;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= dimensions.size(); i++) {
|
||||
auto obj = dimensions.at(i);
|
||||
std::string str ="Dimensions."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
52
arms4finance/src/model/WhereInDimQueryResult.cc
Normal file
52
arms4finance/src/model/WhereInDimQueryResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms4finance/model/WhereInDimQueryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS4FINANCE;
|
||||
using namespace AlibabaCloud::ARMS4FINANCE::Model;
|
||||
|
||||
WhereInDimQueryResult::WhereInDimQueryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
WhereInDimQueryResult::WhereInDimQueryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
WhereInDimQueryResult::~WhereInDimQueryResult()
|
||||
{}
|
||||
|
||||
void WhereInDimQueryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string WhereInDimQueryResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
266
cas/CMakeLists.txt
Normal file
266
cas/CMakeLists.txt
Normal file
@@ -0,0 +1,266 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT 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(cas_public_header
|
||||
include/alibabacloud/cas/CasClient.h
|
||||
include/alibabacloud/cas/CasExport.h )
|
||||
|
||||
set(cas_public_header_model
|
||||
include/alibabacloud/cas/model/CreateSignatureRequest.h
|
||||
include/alibabacloud/cas/model/CreateSignatureResult.h
|
||||
include/alibabacloud/cas/model/DescribeCertificateStatusCountRequest.h
|
||||
include/alibabacloud/cas/model/DescribeCertificateStatusCountResult.h
|
||||
include/alibabacloud/cas/model/CreateOrderDocumentRequest.h
|
||||
include/alibabacloud/cas/model/CreateOrderDocumentResult.h
|
||||
include/alibabacloud/cas/model/DescribeExpectationResultRequest.h
|
||||
include/alibabacloud/cas/model/DescribeExpectationResultResult.h
|
||||
include/alibabacloud/cas/model/DescribeOrderMaterialRequest.h
|
||||
include/alibabacloud/cas/model/DescribeOrderMaterialResult.h
|
||||
include/alibabacloud/cas/model/CreateSignaturePeopleCertificateRequest.h
|
||||
include/alibabacloud/cas/model/CreateSignaturePeopleCertificateResult.h
|
||||
include/alibabacloud/cas/model/DescribeCertificateListRequest.h
|
||||
include/alibabacloud/cas/model/DescribeCertificateListResult.h
|
||||
include/alibabacloud/cas/model/DescribeCertificateBrandListRequest.h
|
||||
include/alibabacloud/cas/model/DescribeCertificateBrandListResult.h
|
||||
include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusRequest.h
|
||||
include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusResult.h
|
||||
include/alibabacloud/cas/model/CreateOrderCancelRequest.h
|
||||
include/alibabacloud/cas/model/CreateOrderCancelResult.h
|
||||
include/alibabacloud/cas/model/CreateAliDnsRecordIdRequest.h
|
||||
include/alibabacloud/cas/model/CreateAliDnsRecordIdResult.h
|
||||
include/alibabacloud/cas/model/CreateCertificateRequest.h
|
||||
include/alibabacloud/cas/model/CreateCertificateResult.h
|
||||
include/alibabacloud/cas/model/CreateWebSignatureRequest.h
|
||||
include/alibabacloud/cas/model/CreateWebSignatureResult.h
|
||||
include/alibabacloud/cas/model/CreateUnDeploymentRequest.h
|
||||
include/alibabacloud/cas/model/CreateUnDeploymentResult.h
|
||||
include/alibabacloud/cas/model/DescribeDownloadCertificateRequest.h
|
||||
include/alibabacloud/cas/model/DescribeDownloadCertificateResult.h
|
||||
include/alibabacloud/cas/model/DescribeCertificateDetailRequest.h
|
||||
include/alibabacloud/cas/model/DescribeCertificateDetailResult.h
|
||||
include/alibabacloud/cas/model/CreateOrderMaterialRequest.h
|
||||
include/alibabacloud/cas/model/CreateOrderMaterialResult.h
|
||||
include/alibabacloud/cas/model/DescribeSignatureStatisticsRequest.h
|
||||
include/alibabacloud/cas/model/DescribeSignatureStatisticsResult.h
|
||||
include/alibabacloud/cas/model/DescribeSignatureTradeListRequest.h
|
||||
include/alibabacloud/cas/model/DescribeSignatureTradeListResult.h
|
||||
include/alibabacloud/cas/model/CreateFilingSignatureDocumentRequest.h
|
||||
include/alibabacloud/cas/model/CreateFilingSignatureDocumentResult.h
|
||||
include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationRequest.h
|
||||
include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationResult.h
|
||||
include/alibabacloud/cas/model/DescribeOSSDownloadInfoRequest.h
|
||||
include/alibabacloud/cas/model/DescribeOSSDownloadInfoResult.h
|
||||
include/alibabacloud/cas/model/CreateCooperationOrderRequest.h
|
||||
include/alibabacloud/cas/model/CreateCooperationOrderResult.h
|
||||
include/alibabacloud/cas/model/DescribeDeploymentRegionListRequest.h
|
||||
include/alibabacloud/cas/model/DescribeDeploymentRegionListResult.h
|
||||
include/alibabacloud/cas/model/CreateOrderAuditRequest.h
|
||||
include/alibabacloud/cas/model/CreateOrderAuditResult.h
|
||||
include/alibabacloud/cas/model/DeleteOrderRequest.h
|
||||
include/alibabacloud/cas/model/DeleteOrderResult.h
|
||||
include/alibabacloud/cas/model/DescribeHelpListRequest.h
|
||||
include/alibabacloud/cas/model/DescribeHelpListResult.h
|
||||
include/alibabacloud/cas/model/DescribeStsAuthStatusRequest.h
|
||||
include/alibabacloud/cas/model/DescribeStsAuthStatusResult.h
|
||||
include/alibabacloud/cas/model/DescribeDeploymentDetailRequest.h
|
||||
include/alibabacloud/cas/model/DescribeDeploymentDetailResult.h
|
||||
include/alibabacloud/cas/model/DescribeDomainVerifyInfoRequest.h
|
||||
include/alibabacloud/cas/model/DescribeDomainVerifyInfoResult.h
|
||||
include/alibabacloud/cas/model/CreateDeploymentRequest.h
|
||||
include/alibabacloud/cas/model/CreateDeploymentResult.h
|
||||
include/alibabacloud/cas/model/DescribeOrderDocumentRequest.h
|
||||
include/alibabacloud/cas/model/DescribeOrderDocumentResult.h
|
||||
include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusRequest.h
|
||||
include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusResult.h
|
||||
include/alibabacloud/cas/model/CreateSignatureDocumentRequest.h
|
||||
include/alibabacloud/cas/model/CreateSignatureDocumentResult.h
|
||||
include/alibabacloud/cas/model/DescribeOrderAuditFailRecordRequest.h
|
||||
include/alibabacloud/cas/model/DescribeOrderAuditFailRecordResult.h
|
||||
include/alibabacloud/cas/model/DescribeOrderListRequest.h
|
||||
include/alibabacloud/cas/model/DescribeOrderListResult.h
|
||||
include/alibabacloud/cas/model/CreateOrderRevokeRequest.h
|
||||
include/alibabacloud/cas/model/CreateOrderRevokeResult.h
|
||||
include/alibabacloud/cas/model/DeleteCertificateRequest.h
|
||||
include/alibabacloud/cas/model/DeleteCertificateResult.h
|
||||
include/alibabacloud/cas/model/DescribeOrderDetailRequest.h
|
||||
include/alibabacloud/cas/model/DescribeOrderDetailResult.h
|
||||
include/alibabacloud/cas/model/DescribeOSSUploadInfoRequest.h
|
||||
include/alibabacloud/cas/model/DescribeOSSUploadInfoResult.h
|
||||
include/alibabacloud/cas/model/DescribeLocationListRequest.h
|
||||
include/alibabacloud/cas/model/DescribeLocationListResult.h
|
||||
include/alibabacloud/cas/model/DescribeDeploymentProductRequest.h
|
||||
include/alibabacloud/cas/model/DescribeDeploymentProductResult.h
|
||||
include/alibabacloud/cas/model/DescribeSignatureCapacityRequest.h
|
||||
include/alibabacloud/cas/model/DescribeSignatureCapacityResult.h
|
||||
include/alibabacloud/cas/model/DescribeDeploymentDomainListRequest.h
|
||||
include/alibabacloud/cas/model/DescribeDeploymentDomainListResult.h
|
||||
include/alibabacloud/cas/model/DescribeSignatureTradeDetailRequest.h
|
||||
include/alibabacloud/cas/model/DescribeSignatureTradeDetailResult.h
|
||||
include/alibabacloud/cas/model/CreateCertificateNameRequest.h
|
||||
include/alibabacloud/cas/model/CreateCertificateNameResult.h )
|
||||
|
||||
set(cas_src
|
||||
src/CasClient.cc
|
||||
src/model/CreateSignatureRequest.cc
|
||||
src/model/CreateSignatureResult.cc
|
||||
src/model/DescribeCertificateStatusCountRequest.cc
|
||||
src/model/DescribeCertificateStatusCountResult.cc
|
||||
src/model/CreateOrderDocumentRequest.cc
|
||||
src/model/CreateOrderDocumentResult.cc
|
||||
src/model/DescribeExpectationResultRequest.cc
|
||||
src/model/DescribeExpectationResultResult.cc
|
||||
src/model/DescribeOrderMaterialRequest.cc
|
||||
src/model/DescribeOrderMaterialResult.cc
|
||||
src/model/CreateSignaturePeopleCertificateRequest.cc
|
||||
src/model/CreateSignaturePeopleCertificateResult.cc
|
||||
src/model/DescribeCertificateListRequest.cc
|
||||
src/model/DescribeCertificateListResult.cc
|
||||
src/model/DescribeCertificateBrandListRequest.cc
|
||||
src/model/DescribeCertificateBrandListResult.cc
|
||||
src/model/DescribeDomainVerifyConfigurationStatusRequest.cc
|
||||
src/model/DescribeDomainVerifyConfigurationStatusResult.cc
|
||||
src/model/CreateOrderCancelRequest.cc
|
||||
src/model/CreateOrderCancelResult.cc
|
||||
src/model/CreateAliDnsRecordIdRequest.cc
|
||||
src/model/CreateAliDnsRecordIdResult.cc
|
||||
src/model/CreateCertificateRequest.cc
|
||||
src/model/CreateCertificateResult.cc
|
||||
src/model/CreateWebSignatureRequest.cc
|
||||
src/model/CreateWebSignatureResult.cc
|
||||
src/model/CreateUnDeploymentRequest.cc
|
||||
src/model/CreateUnDeploymentResult.cc
|
||||
src/model/DescribeDownloadCertificateRequest.cc
|
||||
src/model/DescribeDownloadCertificateResult.cc
|
||||
src/model/DescribeCertificateDetailRequest.cc
|
||||
src/model/DescribeCertificateDetailResult.cc
|
||||
src/model/CreateOrderMaterialRequest.cc
|
||||
src/model/CreateOrderMaterialResult.cc
|
||||
src/model/DescribeSignatureStatisticsRequest.cc
|
||||
src/model/DescribeSignatureStatisticsResult.cc
|
||||
src/model/DescribeSignatureTradeListRequest.cc
|
||||
src/model/DescribeSignatureTradeListResult.cc
|
||||
src/model/CreateFilingSignatureDocumentRequest.cc
|
||||
src/model/CreateFilingSignatureDocumentResult.cc
|
||||
src/model/DescribeDownloadDomainVerifyConfigurationRequest.cc
|
||||
src/model/DescribeDownloadDomainVerifyConfigurationResult.cc
|
||||
src/model/DescribeOSSDownloadInfoRequest.cc
|
||||
src/model/DescribeOSSDownloadInfoResult.cc
|
||||
src/model/CreateCooperationOrderRequest.cc
|
||||
src/model/CreateCooperationOrderResult.cc
|
||||
src/model/DescribeDeploymentRegionListRequest.cc
|
||||
src/model/DescribeDeploymentRegionListResult.cc
|
||||
src/model/CreateOrderAuditRequest.cc
|
||||
src/model/CreateOrderAuditResult.cc
|
||||
src/model/DeleteOrderRequest.cc
|
||||
src/model/DeleteOrderResult.cc
|
||||
src/model/DescribeHelpListRequest.cc
|
||||
src/model/DescribeHelpListResult.cc
|
||||
src/model/DescribeStsAuthStatusRequest.cc
|
||||
src/model/DescribeStsAuthStatusResult.cc
|
||||
src/model/DescribeDeploymentDetailRequest.cc
|
||||
src/model/DescribeDeploymentDetailResult.cc
|
||||
src/model/DescribeDomainVerifyInfoRequest.cc
|
||||
src/model/DescribeDomainVerifyInfoResult.cc
|
||||
src/model/CreateDeploymentRequest.cc
|
||||
src/model/CreateDeploymentResult.cc
|
||||
src/model/DescribeOrderDocumentRequest.cc
|
||||
src/model/DescribeOrderDocumentResult.cc
|
||||
src/model/CreateDomainVerifyConfigurationStatusRequest.cc
|
||||
src/model/CreateDomainVerifyConfigurationStatusResult.cc
|
||||
src/model/CreateSignatureDocumentRequest.cc
|
||||
src/model/CreateSignatureDocumentResult.cc
|
||||
src/model/DescribeOrderAuditFailRecordRequest.cc
|
||||
src/model/DescribeOrderAuditFailRecordResult.cc
|
||||
src/model/DescribeOrderListRequest.cc
|
||||
src/model/DescribeOrderListResult.cc
|
||||
src/model/CreateOrderRevokeRequest.cc
|
||||
src/model/CreateOrderRevokeResult.cc
|
||||
src/model/DeleteCertificateRequest.cc
|
||||
src/model/DeleteCertificateResult.cc
|
||||
src/model/DescribeOrderDetailRequest.cc
|
||||
src/model/DescribeOrderDetailResult.cc
|
||||
src/model/DescribeOSSUploadInfoRequest.cc
|
||||
src/model/DescribeOSSUploadInfoResult.cc
|
||||
src/model/DescribeLocationListRequest.cc
|
||||
src/model/DescribeLocationListResult.cc
|
||||
src/model/DescribeDeploymentProductRequest.cc
|
||||
src/model/DescribeDeploymentProductResult.cc
|
||||
src/model/DescribeSignatureCapacityRequest.cc
|
||||
src/model/DescribeSignatureCapacityResult.cc
|
||||
src/model/DescribeDeploymentDomainListRequest.cc
|
||||
src/model/DescribeDeploymentDomainListResult.cc
|
||||
src/model/DescribeSignatureTradeDetailRequest.cc
|
||||
src/model/DescribeSignatureTradeDetailResult.cc
|
||||
src/model/CreateCertificateNameRequest.cc
|
||||
src/model/CreateCertificateNameResult.cc )
|
||||
|
||||
add_library(cas ${LIB_TYPE}
|
||||
${cas_public_header}
|
||||
${cas_public_header_model}
|
||||
${cas_src})
|
||||
|
||||
set_target_properties(cas
|
||||
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}cas
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(cas
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_CAS_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(cas
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(cas
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(cas
|
||||
jsoncpp)
|
||||
target_include_directories(cas
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(cas
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(cas
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(cas
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(cas
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${cas_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cas)
|
||||
install(FILES ${cas_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cas/model)
|
||||
install(TARGETS cas
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
414
cas/include/alibabacloud/cas/CasClient.h
Normal file
414
cas/include/alibabacloud/cas/CasClient.h
Normal file
@@ -0,0 +1,414 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CAS_CASCLIENT_H_
|
||||
#define ALIBABACLOUD_CAS_CASCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "CasExport.h"
|
||||
#include "model/CreateSignatureRequest.h"
|
||||
#include "model/CreateSignatureResult.h"
|
||||
#include "model/DescribeCertificateStatusCountRequest.h"
|
||||
#include "model/DescribeCertificateStatusCountResult.h"
|
||||
#include "model/CreateOrderDocumentRequest.h"
|
||||
#include "model/CreateOrderDocumentResult.h"
|
||||
#include "model/DescribeExpectationResultRequest.h"
|
||||
#include "model/DescribeExpectationResultResult.h"
|
||||
#include "model/DescribeOrderMaterialRequest.h"
|
||||
#include "model/DescribeOrderMaterialResult.h"
|
||||
#include "model/CreateSignaturePeopleCertificateRequest.h"
|
||||
#include "model/CreateSignaturePeopleCertificateResult.h"
|
||||
#include "model/DescribeCertificateListRequest.h"
|
||||
#include "model/DescribeCertificateListResult.h"
|
||||
#include "model/DescribeCertificateBrandListRequest.h"
|
||||
#include "model/DescribeCertificateBrandListResult.h"
|
||||
#include "model/DescribeDomainVerifyConfigurationStatusRequest.h"
|
||||
#include "model/DescribeDomainVerifyConfigurationStatusResult.h"
|
||||
#include "model/CreateOrderCancelRequest.h"
|
||||
#include "model/CreateOrderCancelResult.h"
|
||||
#include "model/CreateAliDnsRecordIdRequest.h"
|
||||
#include "model/CreateAliDnsRecordIdResult.h"
|
||||
#include "model/CreateCertificateRequest.h"
|
||||
#include "model/CreateCertificateResult.h"
|
||||
#include "model/CreateWebSignatureRequest.h"
|
||||
#include "model/CreateWebSignatureResult.h"
|
||||
#include "model/CreateUnDeploymentRequest.h"
|
||||
#include "model/CreateUnDeploymentResult.h"
|
||||
#include "model/DescribeDownloadCertificateRequest.h"
|
||||
#include "model/DescribeDownloadCertificateResult.h"
|
||||
#include "model/DescribeCertificateDetailRequest.h"
|
||||
#include "model/DescribeCertificateDetailResult.h"
|
||||
#include "model/CreateOrderMaterialRequest.h"
|
||||
#include "model/CreateOrderMaterialResult.h"
|
||||
#include "model/DescribeSignatureStatisticsRequest.h"
|
||||
#include "model/DescribeSignatureStatisticsResult.h"
|
||||
#include "model/DescribeSignatureTradeListRequest.h"
|
||||
#include "model/DescribeSignatureTradeListResult.h"
|
||||
#include "model/CreateFilingSignatureDocumentRequest.h"
|
||||
#include "model/CreateFilingSignatureDocumentResult.h"
|
||||
#include "model/DescribeDownloadDomainVerifyConfigurationRequest.h"
|
||||
#include "model/DescribeDownloadDomainVerifyConfigurationResult.h"
|
||||
#include "model/DescribeOSSDownloadInfoRequest.h"
|
||||
#include "model/DescribeOSSDownloadInfoResult.h"
|
||||
#include "model/CreateCooperationOrderRequest.h"
|
||||
#include "model/CreateCooperationOrderResult.h"
|
||||
#include "model/DescribeDeploymentRegionListRequest.h"
|
||||
#include "model/DescribeDeploymentRegionListResult.h"
|
||||
#include "model/CreateOrderAuditRequest.h"
|
||||
#include "model/CreateOrderAuditResult.h"
|
||||
#include "model/DeleteOrderRequest.h"
|
||||
#include "model/DeleteOrderResult.h"
|
||||
#include "model/DescribeHelpListRequest.h"
|
||||
#include "model/DescribeHelpListResult.h"
|
||||
#include "model/DescribeStsAuthStatusRequest.h"
|
||||
#include "model/DescribeStsAuthStatusResult.h"
|
||||
#include "model/DescribeDeploymentDetailRequest.h"
|
||||
#include "model/DescribeDeploymentDetailResult.h"
|
||||
#include "model/DescribeDomainVerifyInfoRequest.h"
|
||||
#include "model/DescribeDomainVerifyInfoResult.h"
|
||||
#include "model/CreateDeploymentRequest.h"
|
||||
#include "model/CreateDeploymentResult.h"
|
||||
#include "model/DescribeOrderDocumentRequest.h"
|
||||
#include "model/DescribeOrderDocumentResult.h"
|
||||
#include "model/CreateDomainVerifyConfigurationStatusRequest.h"
|
||||
#include "model/CreateDomainVerifyConfigurationStatusResult.h"
|
||||
#include "model/CreateSignatureDocumentRequest.h"
|
||||
#include "model/CreateSignatureDocumentResult.h"
|
||||
#include "model/DescribeOrderAuditFailRecordRequest.h"
|
||||
#include "model/DescribeOrderAuditFailRecordResult.h"
|
||||
#include "model/DescribeOrderListRequest.h"
|
||||
#include "model/DescribeOrderListResult.h"
|
||||
#include "model/CreateOrderRevokeRequest.h"
|
||||
#include "model/CreateOrderRevokeResult.h"
|
||||
#include "model/DeleteCertificateRequest.h"
|
||||
#include "model/DeleteCertificateResult.h"
|
||||
#include "model/DescribeOrderDetailRequest.h"
|
||||
#include "model/DescribeOrderDetailResult.h"
|
||||
#include "model/DescribeOSSUploadInfoRequest.h"
|
||||
#include "model/DescribeOSSUploadInfoResult.h"
|
||||
#include "model/DescribeLocationListRequest.h"
|
||||
#include "model/DescribeLocationListResult.h"
|
||||
#include "model/DescribeDeploymentProductRequest.h"
|
||||
#include "model/DescribeDeploymentProductResult.h"
|
||||
#include "model/DescribeSignatureCapacityRequest.h"
|
||||
#include "model/DescribeSignatureCapacityResult.h"
|
||||
#include "model/DescribeDeploymentDomainListRequest.h"
|
||||
#include "model/DescribeDeploymentDomainListResult.h"
|
||||
#include "model/DescribeSignatureTradeDetailRequest.h"
|
||||
#include "model/DescribeSignatureTradeDetailResult.h"
|
||||
#include "model/CreateCertificateNameRequest.h"
|
||||
#include "model/CreateCertificateNameResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CasClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CreateSignatureResult> CreateSignatureOutcome;
|
||||
typedef std::future<CreateSignatureOutcome> CreateSignatureOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateSignatureRequest&, const CreateSignatureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSignatureAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCertificateStatusCountResult> DescribeCertificateStatusCountOutcome;
|
||||
typedef std::future<DescribeCertificateStatusCountOutcome> DescribeCertificateStatusCountOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeCertificateStatusCountRequest&, const DescribeCertificateStatusCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCertificateStatusCountAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateOrderDocumentResult> CreateOrderDocumentOutcome;
|
||||
typedef std::future<CreateOrderDocumentOutcome> CreateOrderDocumentOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateOrderDocumentRequest&, const CreateOrderDocumentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateOrderDocumentAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeExpectationResultResult> DescribeExpectationResultOutcome;
|
||||
typedef std::future<DescribeExpectationResultOutcome> DescribeExpectationResultOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeExpectationResultRequest&, const DescribeExpectationResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeExpectationResultAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeOrderMaterialResult> DescribeOrderMaterialOutcome;
|
||||
typedef std::future<DescribeOrderMaterialOutcome> DescribeOrderMaterialOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeOrderMaterialRequest&, const DescribeOrderMaterialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOrderMaterialAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSignaturePeopleCertificateResult> CreateSignaturePeopleCertificateOutcome;
|
||||
typedef std::future<CreateSignaturePeopleCertificateOutcome> CreateSignaturePeopleCertificateOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateSignaturePeopleCertificateRequest&, const CreateSignaturePeopleCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSignaturePeopleCertificateAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCertificateListResult> DescribeCertificateListOutcome;
|
||||
typedef std::future<DescribeCertificateListOutcome> DescribeCertificateListOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeCertificateListRequest&, const DescribeCertificateListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCertificateListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCertificateBrandListResult> DescribeCertificateBrandListOutcome;
|
||||
typedef std::future<DescribeCertificateBrandListOutcome> DescribeCertificateBrandListOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeCertificateBrandListRequest&, const DescribeCertificateBrandListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCertificateBrandListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainVerifyConfigurationStatusResult> DescribeDomainVerifyConfigurationStatusOutcome;
|
||||
typedef std::future<DescribeDomainVerifyConfigurationStatusOutcome> DescribeDomainVerifyConfigurationStatusOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeDomainVerifyConfigurationStatusRequest&, const DescribeDomainVerifyConfigurationStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainVerifyConfigurationStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateOrderCancelResult> CreateOrderCancelOutcome;
|
||||
typedef std::future<CreateOrderCancelOutcome> CreateOrderCancelOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateOrderCancelRequest&, const CreateOrderCancelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateOrderCancelAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateAliDnsRecordIdResult> CreateAliDnsRecordIdOutcome;
|
||||
typedef std::future<CreateAliDnsRecordIdOutcome> CreateAliDnsRecordIdOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateAliDnsRecordIdRequest&, const CreateAliDnsRecordIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAliDnsRecordIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCertificateResult> CreateCertificateOutcome;
|
||||
typedef std::future<CreateCertificateOutcome> CreateCertificateOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateCertificateRequest&, const CreateCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCertificateAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateWebSignatureResult> CreateWebSignatureOutcome;
|
||||
typedef std::future<CreateWebSignatureOutcome> CreateWebSignatureOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateWebSignatureRequest&, const CreateWebSignatureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateWebSignatureAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateUnDeploymentResult> CreateUnDeploymentOutcome;
|
||||
typedef std::future<CreateUnDeploymentOutcome> CreateUnDeploymentOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateUnDeploymentRequest&, const CreateUnDeploymentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUnDeploymentAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDownloadCertificateResult> DescribeDownloadCertificateOutcome;
|
||||
typedef std::future<DescribeDownloadCertificateOutcome> DescribeDownloadCertificateOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeDownloadCertificateRequest&, const DescribeDownloadCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDownloadCertificateAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCertificateDetailResult> DescribeCertificateDetailOutcome;
|
||||
typedef std::future<DescribeCertificateDetailOutcome> DescribeCertificateDetailOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeCertificateDetailRequest&, const DescribeCertificateDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCertificateDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateOrderMaterialResult> CreateOrderMaterialOutcome;
|
||||
typedef std::future<CreateOrderMaterialOutcome> CreateOrderMaterialOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateOrderMaterialRequest&, const CreateOrderMaterialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateOrderMaterialAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSignatureStatisticsResult> DescribeSignatureStatisticsOutcome;
|
||||
typedef std::future<DescribeSignatureStatisticsOutcome> DescribeSignatureStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeSignatureStatisticsRequest&, const DescribeSignatureStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSignatureStatisticsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSignatureTradeListResult> DescribeSignatureTradeListOutcome;
|
||||
typedef std::future<DescribeSignatureTradeListOutcome> DescribeSignatureTradeListOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeSignatureTradeListRequest&, const DescribeSignatureTradeListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSignatureTradeListAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateFilingSignatureDocumentResult> CreateFilingSignatureDocumentOutcome;
|
||||
typedef std::future<CreateFilingSignatureDocumentOutcome> CreateFilingSignatureDocumentOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateFilingSignatureDocumentRequest&, const CreateFilingSignatureDocumentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFilingSignatureDocumentAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDownloadDomainVerifyConfigurationResult> DescribeDownloadDomainVerifyConfigurationOutcome;
|
||||
typedef std::future<DescribeDownloadDomainVerifyConfigurationOutcome> DescribeDownloadDomainVerifyConfigurationOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeDownloadDomainVerifyConfigurationRequest&, const DescribeDownloadDomainVerifyConfigurationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDownloadDomainVerifyConfigurationAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeOSSDownloadInfoResult> DescribeOSSDownloadInfoOutcome;
|
||||
typedef std::future<DescribeOSSDownloadInfoOutcome> DescribeOSSDownloadInfoOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeOSSDownloadInfoRequest&, const DescribeOSSDownloadInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOSSDownloadInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCooperationOrderResult> CreateCooperationOrderOutcome;
|
||||
typedef std::future<CreateCooperationOrderOutcome> CreateCooperationOrderOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateCooperationOrderRequest&, const CreateCooperationOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCooperationOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDeploymentRegionListResult> DescribeDeploymentRegionListOutcome;
|
||||
typedef std::future<DescribeDeploymentRegionListOutcome> DescribeDeploymentRegionListOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeDeploymentRegionListRequest&, const DescribeDeploymentRegionListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDeploymentRegionListAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateOrderAuditResult> CreateOrderAuditOutcome;
|
||||
typedef std::future<CreateOrderAuditOutcome> CreateOrderAuditOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateOrderAuditRequest&, const CreateOrderAuditOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateOrderAuditAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteOrderResult> DeleteOrderOutcome;
|
||||
typedef std::future<DeleteOrderOutcome> DeleteOrderOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DeleteOrderRequest&, const DeleteOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeHelpListResult> DescribeHelpListOutcome;
|
||||
typedef std::future<DescribeHelpListOutcome> DescribeHelpListOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeHelpListRequest&, const DescribeHelpListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHelpListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeStsAuthStatusResult> DescribeStsAuthStatusOutcome;
|
||||
typedef std::future<DescribeStsAuthStatusOutcome> DescribeStsAuthStatusOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeStsAuthStatusRequest&, const DescribeStsAuthStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStsAuthStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDeploymentDetailResult> DescribeDeploymentDetailOutcome;
|
||||
typedef std::future<DescribeDeploymentDetailOutcome> DescribeDeploymentDetailOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeDeploymentDetailRequest&, const DescribeDeploymentDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDeploymentDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainVerifyInfoResult> DescribeDomainVerifyInfoOutcome;
|
||||
typedef std::future<DescribeDomainVerifyInfoOutcome> DescribeDomainVerifyInfoOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeDomainVerifyInfoRequest&, const DescribeDomainVerifyInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainVerifyInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDeploymentResult> CreateDeploymentOutcome;
|
||||
typedef std::future<CreateDeploymentOutcome> CreateDeploymentOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateDeploymentRequest&, const CreateDeploymentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeploymentAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeOrderDocumentResult> DescribeOrderDocumentOutcome;
|
||||
typedef std::future<DescribeOrderDocumentOutcome> DescribeOrderDocumentOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeOrderDocumentRequest&, const DescribeOrderDocumentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOrderDocumentAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDomainVerifyConfigurationStatusResult> CreateDomainVerifyConfigurationStatusOutcome;
|
||||
typedef std::future<CreateDomainVerifyConfigurationStatusOutcome> CreateDomainVerifyConfigurationStatusOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateDomainVerifyConfigurationStatusRequest&, const CreateDomainVerifyConfigurationStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDomainVerifyConfigurationStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSignatureDocumentResult> CreateSignatureDocumentOutcome;
|
||||
typedef std::future<CreateSignatureDocumentOutcome> CreateSignatureDocumentOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateSignatureDocumentRequest&, const CreateSignatureDocumentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSignatureDocumentAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeOrderAuditFailRecordResult> DescribeOrderAuditFailRecordOutcome;
|
||||
typedef std::future<DescribeOrderAuditFailRecordOutcome> DescribeOrderAuditFailRecordOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeOrderAuditFailRecordRequest&, const DescribeOrderAuditFailRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOrderAuditFailRecordAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeOrderListResult> DescribeOrderListOutcome;
|
||||
typedef std::future<DescribeOrderListOutcome> DescribeOrderListOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeOrderListRequest&, const DescribeOrderListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOrderListAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateOrderRevokeResult> CreateOrderRevokeOutcome;
|
||||
typedef std::future<CreateOrderRevokeOutcome> CreateOrderRevokeOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateOrderRevokeRequest&, const CreateOrderRevokeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateOrderRevokeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCertificateResult> DeleteCertificateOutcome;
|
||||
typedef std::future<DeleteCertificateOutcome> DeleteCertificateOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DeleteCertificateRequest&, const DeleteCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCertificateAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeOrderDetailResult> DescribeOrderDetailOutcome;
|
||||
typedef std::future<DescribeOrderDetailOutcome> DescribeOrderDetailOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeOrderDetailRequest&, const DescribeOrderDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOrderDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeOSSUploadInfoResult> DescribeOSSUploadInfoOutcome;
|
||||
typedef std::future<DescribeOSSUploadInfoOutcome> DescribeOSSUploadInfoOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeOSSUploadInfoRequest&, const DescribeOSSUploadInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOSSUploadInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLocationListResult> DescribeLocationListOutcome;
|
||||
typedef std::future<DescribeLocationListOutcome> DescribeLocationListOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeLocationListRequest&, const DescribeLocationListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLocationListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDeploymentProductResult> DescribeDeploymentProductOutcome;
|
||||
typedef std::future<DescribeDeploymentProductOutcome> DescribeDeploymentProductOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeDeploymentProductRequest&, const DescribeDeploymentProductOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDeploymentProductAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSignatureCapacityResult> DescribeSignatureCapacityOutcome;
|
||||
typedef std::future<DescribeSignatureCapacityOutcome> DescribeSignatureCapacityOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeSignatureCapacityRequest&, const DescribeSignatureCapacityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSignatureCapacityAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDeploymentDomainListResult> DescribeDeploymentDomainListOutcome;
|
||||
typedef std::future<DescribeDeploymentDomainListOutcome> DescribeDeploymentDomainListOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeDeploymentDomainListRequest&, const DescribeDeploymentDomainListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDeploymentDomainListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSignatureTradeDetailResult> DescribeSignatureTradeDetailOutcome;
|
||||
typedef std::future<DescribeSignatureTradeDetailOutcome> DescribeSignatureTradeDetailOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::DescribeSignatureTradeDetailRequest&, const DescribeSignatureTradeDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSignatureTradeDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCertificateNameResult> CreateCertificateNameOutcome;
|
||||
typedef std::future<CreateCertificateNameOutcome> CreateCertificateNameOutcomeCallable;
|
||||
typedef std::function<void(const CasClient*, const Model::CreateCertificateNameRequest&, const CreateCertificateNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCertificateNameAsyncHandler;
|
||||
|
||||
CasClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CasClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
CasClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~CasClient();
|
||||
CreateSignatureOutcome createSignature(const Model::CreateSignatureRequest &request)const;
|
||||
void createSignatureAsync(const Model::CreateSignatureRequest& request, const CreateSignatureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSignatureOutcomeCallable createSignatureCallable(const Model::CreateSignatureRequest& request) const;
|
||||
DescribeCertificateStatusCountOutcome describeCertificateStatusCount(const Model::DescribeCertificateStatusCountRequest &request)const;
|
||||
void describeCertificateStatusCountAsync(const Model::DescribeCertificateStatusCountRequest& request, const DescribeCertificateStatusCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCertificateStatusCountOutcomeCallable describeCertificateStatusCountCallable(const Model::DescribeCertificateStatusCountRequest& request) const;
|
||||
CreateOrderDocumentOutcome createOrderDocument(const Model::CreateOrderDocumentRequest &request)const;
|
||||
void createOrderDocumentAsync(const Model::CreateOrderDocumentRequest& request, const CreateOrderDocumentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateOrderDocumentOutcomeCallable createOrderDocumentCallable(const Model::CreateOrderDocumentRequest& request) const;
|
||||
DescribeExpectationResultOutcome describeExpectationResult(const Model::DescribeExpectationResultRequest &request)const;
|
||||
void describeExpectationResultAsync(const Model::DescribeExpectationResultRequest& request, const DescribeExpectationResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeExpectationResultOutcomeCallable describeExpectationResultCallable(const Model::DescribeExpectationResultRequest& request) const;
|
||||
DescribeOrderMaterialOutcome describeOrderMaterial(const Model::DescribeOrderMaterialRequest &request)const;
|
||||
void describeOrderMaterialAsync(const Model::DescribeOrderMaterialRequest& request, const DescribeOrderMaterialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeOrderMaterialOutcomeCallable describeOrderMaterialCallable(const Model::DescribeOrderMaterialRequest& request) const;
|
||||
CreateSignaturePeopleCertificateOutcome createSignaturePeopleCertificate(const Model::CreateSignaturePeopleCertificateRequest &request)const;
|
||||
void createSignaturePeopleCertificateAsync(const Model::CreateSignaturePeopleCertificateRequest& request, const CreateSignaturePeopleCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSignaturePeopleCertificateOutcomeCallable createSignaturePeopleCertificateCallable(const Model::CreateSignaturePeopleCertificateRequest& request) const;
|
||||
DescribeCertificateListOutcome describeCertificateList(const Model::DescribeCertificateListRequest &request)const;
|
||||
void describeCertificateListAsync(const Model::DescribeCertificateListRequest& request, const DescribeCertificateListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCertificateListOutcomeCallable describeCertificateListCallable(const Model::DescribeCertificateListRequest& request) const;
|
||||
DescribeCertificateBrandListOutcome describeCertificateBrandList(const Model::DescribeCertificateBrandListRequest &request)const;
|
||||
void describeCertificateBrandListAsync(const Model::DescribeCertificateBrandListRequest& request, const DescribeCertificateBrandListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCertificateBrandListOutcomeCallable describeCertificateBrandListCallable(const Model::DescribeCertificateBrandListRequest& request) const;
|
||||
DescribeDomainVerifyConfigurationStatusOutcome describeDomainVerifyConfigurationStatus(const Model::DescribeDomainVerifyConfigurationStatusRequest &request)const;
|
||||
void describeDomainVerifyConfigurationStatusAsync(const Model::DescribeDomainVerifyConfigurationStatusRequest& request, const DescribeDomainVerifyConfigurationStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainVerifyConfigurationStatusOutcomeCallable describeDomainVerifyConfigurationStatusCallable(const Model::DescribeDomainVerifyConfigurationStatusRequest& request) const;
|
||||
CreateOrderCancelOutcome createOrderCancel(const Model::CreateOrderCancelRequest &request)const;
|
||||
void createOrderCancelAsync(const Model::CreateOrderCancelRequest& request, const CreateOrderCancelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateOrderCancelOutcomeCallable createOrderCancelCallable(const Model::CreateOrderCancelRequest& request) const;
|
||||
CreateAliDnsRecordIdOutcome createAliDnsRecordId(const Model::CreateAliDnsRecordIdRequest &request)const;
|
||||
void createAliDnsRecordIdAsync(const Model::CreateAliDnsRecordIdRequest& request, const CreateAliDnsRecordIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAliDnsRecordIdOutcomeCallable createAliDnsRecordIdCallable(const Model::CreateAliDnsRecordIdRequest& request) const;
|
||||
CreateCertificateOutcome createCertificate(const Model::CreateCertificateRequest &request)const;
|
||||
void createCertificateAsync(const Model::CreateCertificateRequest& request, const CreateCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCertificateOutcomeCallable createCertificateCallable(const Model::CreateCertificateRequest& request) const;
|
||||
CreateWebSignatureOutcome createWebSignature(const Model::CreateWebSignatureRequest &request)const;
|
||||
void createWebSignatureAsync(const Model::CreateWebSignatureRequest& request, const CreateWebSignatureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateWebSignatureOutcomeCallable createWebSignatureCallable(const Model::CreateWebSignatureRequest& request) const;
|
||||
CreateUnDeploymentOutcome createUnDeployment(const Model::CreateUnDeploymentRequest &request)const;
|
||||
void createUnDeploymentAsync(const Model::CreateUnDeploymentRequest& request, const CreateUnDeploymentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUnDeploymentOutcomeCallable createUnDeploymentCallable(const Model::CreateUnDeploymentRequest& request) const;
|
||||
DescribeDownloadCertificateOutcome describeDownloadCertificate(const Model::DescribeDownloadCertificateRequest &request)const;
|
||||
void describeDownloadCertificateAsync(const Model::DescribeDownloadCertificateRequest& request, const DescribeDownloadCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDownloadCertificateOutcomeCallable describeDownloadCertificateCallable(const Model::DescribeDownloadCertificateRequest& request) const;
|
||||
DescribeCertificateDetailOutcome describeCertificateDetail(const Model::DescribeCertificateDetailRequest &request)const;
|
||||
void describeCertificateDetailAsync(const Model::DescribeCertificateDetailRequest& request, const DescribeCertificateDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCertificateDetailOutcomeCallable describeCertificateDetailCallable(const Model::DescribeCertificateDetailRequest& request) const;
|
||||
CreateOrderMaterialOutcome createOrderMaterial(const Model::CreateOrderMaterialRequest &request)const;
|
||||
void createOrderMaterialAsync(const Model::CreateOrderMaterialRequest& request, const CreateOrderMaterialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateOrderMaterialOutcomeCallable createOrderMaterialCallable(const Model::CreateOrderMaterialRequest& request) const;
|
||||
DescribeSignatureStatisticsOutcome describeSignatureStatistics(const Model::DescribeSignatureStatisticsRequest &request)const;
|
||||
void describeSignatureStatisticsAsync(const Model::DescribeSignatureStatisticsRequest& request, const DescribeSignatureStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSignatureStatisticsOutcomeCallable describeSignatureStatisticsCallable(const Model::DescribeSignatureStatisticsRequest& request) const;
|
||||
DescribeSignatureTradeListOutcome describeSignatureTradeList(const Model::DescribeSignatureTradeListRequest &request)const;
|
||||
void describeSignatureTradeListAsync(const Model::DescribeSignatureTradeListRequest& request, const DescribeSignatureTradeListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSignatureTradeListOutcomeCallable describeSignatureTradeListCallable(const Model::DescribeSignatureTradeListRequest& request) const;
|
||||
CreateFilingSignatureDocumentOutcome createFilingSignatureDocument(const Model::CreateFilingSignatureDocumentRequest &request)const;
|
||||
void createFilingSignatureDocumentAsync(const Model::CreateFilingSignatureDocumentRequest& request, const CreateFilingSignatureDocumentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateFilingSignatureDocumentOutcomeCallable createFilingSignatureDocumentCallable(const Model::CreateFilingSignatureDocumentRequest& request) const;
|
||||
DescribeDownloadDomainVerifyConfigurationOutcome describeDownloadDomainVerifyConfiguration(const Model::DescribeDownloadDomainVerifyConfigurationRequest &request)const;
|
||||
void describeDownloadDomainVerifyConfigurationAsync(const Model::DescribeDownloadDomainVerifyConfigurationRequest& request, const DescribeDownloadDomainVerifyConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDownloadDomainVerifyConfigurationOutcomeCallable describeDownloadDomainVerifyConfigurationCallable(const Model::DescribeDownloadDomainVerifyConfigurationRequest& request) const;
|
||||
DescribeOSSDownloadInfoOutcome describeOSSDownloadInfo(const Model::DescribeOSSDownloadInfoRequest &request)const;
|
||||
void describeOSSDownloadInfoAsync(const Model::DescribeOSSDownloadInfoRequest& request, const DescribeOSSDownloadInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeOSSDownloadInfoOutcomeCallable describeOSSDownloadInfoCallable(const Model::DescribeOSSDownloadInfoRequest& request) const;
|
||||
CreateCooperationOrderOutcome createCooperationOrder(const Model::CreateCooperationOrderRequest &request)const;
|
||||
void createCooperationOrderAsync(const Model::CreateCooperationOrderRequest& request, const CreateCooperationOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCooperationOrderOutcomeCallable createCooperationOrderCallable(const Model::CreateCooperationOrderRequest& request) const;
|
||||
DescribeDeploymentRegionListOutcome describeDeploymentRegionList(const Model::DescribeDeploymentRegionListRequest &request)const;
|
||||
void describeDeploymentRegionListAsync(const Model::DescribeDeploymentRegionListRequest& request, const DescribeDeploymentRegionListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDeploymentRegionListOutcomeCallable describeDeploymentRegionListCallable(const Model::DescribeDeploymentRegionListRequest& request) const;
|
||||
CreateOrderAuditOutcome createOrderAudit(const Model::CreateOrderAuditRequest &request)const;
|
||||
void createOrderAuditAsync(const Model::CreateOrderAuditRequest& request, const CreateOrderAuditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateOrderAuditOutcomeCallable createOrderAuditCallable(const Model::CreateOrderAuditRequest& request) const;
|
||||
DeleteOrderOutcome deleteOrder(const Model::DeleteOrderRequest &request)const;
|
||||
void deleteOrderAsync(const Model::DeleteOrderRequest& request, const DeleteOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteOrderOutcomeCallable deleteOrderCallable(const Model::DeleteOrderRequest& request) const;
|
||||
DescribeHelpListOutcome describeHelpList(const Model::DescribeHelpListRequest &request)const;
|
||||
void describeHelpListAsync(const Model::DescribeHelpListRequest& request, const DescribeHelpListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeHelpListOutcomeCallable describeHelpListCallable(const Model::DescribeHelpListRequest& request) const;
|
||||
DescribeStsAuthStatusOutcome describeStsAuthStatus(const Model::DescribeStsAuthStatusRequest &request)const;
|
||||
void describeStsAuthStatusAsync(const Model::DescribeStsAuthStatusRequest& request, const DescribeStsAuthStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeStsAuthStatusOutcomeCallable describeStsAuthStatusCallable(const Model::DescribeStsAuthStatusRequest& request) const;
|
||||
DescribeDeploymentDetailOutcome describeDeploymentDetail(const Model::DescribeDeploymentDetailRequest &request)const;
|
||||
void describeDeploymentDetailAsync(const Model::DescribeDeploymentDetailRequest& request, const DescribeDeploymentDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDeploymentDetailOutcomeCallable describeDeploymentDetailCallable(const Model::DescribeDeploymentDetailRequest& request) const;
|
||||
DescribeDomainVerifyInfoOutcome describeDomainVerifyInfo(const Model::DescribeDomainVerifyInfoRequest &request)const;
|
||||
void describeDomainVerifyInfoAsync(const Model::DescribeDomainVerifyInfoRequest& request, const DescribeDomainVerifyInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainVerifyInfoOutcomeCallable describeDomainVerifyInfoCallable(const Model::DescribeDomainVerifyInfoRequest& request) const;
|
||||
CreateDeploymentOutcome createDeployment(const Model::CreateDeploymentRequest &request)const;
|
||||
void createDeploymentAsync(const Model::CreateDeploymentRequest& request, const CreateDeploymentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDeploymentOutcomeCallable createDeploymentCallable(const Model::CreateDeploymentRequest& request) const;
|
||||
DescribeOrderDocumentOutcome describeOrderDocument(const Model::DescribeOrderDocumentRequest &request)const;
|
||||
void describeOrderDocumentAsync(const Model::DescribeOrderDocumentRequest& request, const DescribeOrderDocumentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeOrderDocumentOutcomeCallable describeOrderDocumentCallable(const Model::DescribeOrderDocumentRequest& request) const;
|
||||
CreateDomainVerifyConfigurationStatusOutcome createDomainVerifyConfigurationStatus(const Model::CreateDomainVerifyConfigurationStatusRequest &request)const;
|
||||
void createDomainVerifyConfigurationStatusAsync(const Model::CreateDomainVerifyConfigurationStatusRequest& request, const CreateDomainVerifyConfigurationStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDomainVerifyConfigurationStatusOutcomeCallable createDomainVerifyConfigurationStatusCallable(const Model::CreateDomainVerifyConfigurationStatusRequest& request) const;
|
||||
CreateSignatureDocumentOutcome createSignatureDocument(const Model::CreateSignatureDocumentRequest &request)const;
|
||||
void createSignatureDocumentAsync(const Model::CreateSignatureDocumentRequest& request, const CreateSignatureDocumentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSignatureDocumentOutcomeCallable createSignatureDocumentCallable(const Model::CreateSignatureDocumentRequest& request) const;
|
||||
DescribeOrderAuditFailRecordOutcome describeOrderAuditFailRecord(const Model::DescribeOrderAuditFailRecordRequest &request)const;
|
||||
void describeOrderAuditFailRecordAsync(const Model::DescribeOrderAuditFailRecordRequest& request, const DescribeOrderAuditFailRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeOrderAuditFailRecordOutcomeCallable describeOrderAuditFailRecordCallable(const Model::DescribeOrderAuditFailRecordRequest& request) const;
|
||||
DescribeOrderListOutcome describeOrderList(const Model::DescribeOrderListRequest &request)const;
|
||||
void describeOrderListAsync(const Model::DescribeOrderListRequest& request, const DescribeOrderListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeOrderListOutcomeCallable describeOrderListCallable(const Model::DescribeOrderListRequest& request) const;
|
||||
CreateOrderRevokeOutcome createOrderRevoke(const Model::CreateOrderRevokeRequest &request)const;
|
||||
void createOrderRevokeAsync(const Model::CreateOrderRevokeRequest& request, const CreateOrderRevokeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateOrderRevokeOutcomeCallable createOrderRevokeCallable(const Model::CreateOrderRevokeRequest& request) const;
|
||||
DeleteCertificateOutcome deleteCertificate(const Model::DeleteCertificateRequest &request)const;
|
||||
void deleteCertificateAsync(const Model::DeleteCertificateRequest& request, const DeleteCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCertificateOutcomeCallable deleteCertificateCallable(const Model::DeleteCertificateRequest& request) const;
|
||||
DescribeOrderDetailOutcome describeOrderDetail(const Model::DescribeOrderDetailRequest &request)const;
|
||||
void describeOrderDetailAsync(const Model::DescribeOrderDetailRequest& request, const DescribeOrderDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeOrderDetailOutcomeCallable describeOrderDetailCallable(const Model::DescribeOrderDetailRequest& request) const;
|
||||
DescribeOSSUploadInfoOutcome describeOSSUploadInfo(const Model::DescribeOSSUploadInfoRequest &request)const;
|
||||
void describeOSSUploadInfoAsync(const Model::DescribeOSSUploadInfoRequest& request, const DescribeOSSUploadInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeOSSUploadInfoOutcomeCallable describeOSSUploadInfoCallable(const Model::DescribeOSSUploadInfoRequest& request) const;
|
||||
DescribeLocationListOutcome describeLocationList(const Model::DescribeLocationListRequest &request)const;
|
||||
void describeLocationListAsync(const Model::DescribeLocationListRequest& request, const DescribeLocationListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLocationListOutcomeCallable describeLocationListCallable(const Model::DescribeLocationListRequest& request) const;
|
||||
DescribeDeploymentProductOutcome describeDeploymentProduct(const Model::DescribeDeploymentProductRequest &request)const;
|
||||
void describeDeploymentProductAsync(const Model::DescribeDeploymentProductRequest& request, const DescribeDeploymentProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDeploymentProductOutcomeCallable describeDeploymentProductCallable(const Model::DescribeDeploymentProductRequest& request) const;
|
||||
DescribeSignatureCapacityOutcome describeSignatureCapacity(const Model::DescribeSignatureCapacityRequest &request)const;
|
||||
void describeSignatureCapacityAsync(const Model::DescribeSignatureCapacityRequest& request, const DescribeSignatureCapacityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSignatureCapacityOutcomeCallable describeSignatureCapacityCallable(const Model::DescribeSignatureCapacityRequest& request) const;
|
||||
DescribeDeploymentDomainListOutcome describeDeploymentDomainList(const Model::DescribeDeploymentDomainListRequest &request)const;
|
||||
void describeDeploymentDomainListAsync(const Model::DescribeDeploymentDomainListRequest& request, const DescribeDeploymentDomainListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDeploymentDomainListOutcomeCallable describeDeploymentDomainListCallable(const Model::DescribeDeploymentDomainListRequest& request) const;
|
||||
DescribeSignatureTradeDetailOutcome describeSignatureTradeDetail(const Model::DescribeSignatureTradeDetailRequest &request)const;
|
||||
void describeSignatureTradeDetailAsync(const Model::DescribeSignatureTradeDetailRequest& request, const DescribeSignatureTradeDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSignatureTradeDetailOutcomeCallable describeSignatureTradeDetailCallable(const Model::DescribeSignatureTradeDetailRequest& request) const;
|
||||
CreateCertificateNameOutcome createCertificateName(const Model::CreateCertificateNameRequest &request)const;
|
||||
void createCertificateNameAsync(const Model::CreateCertificateNameRequest& request, const CreateCertificateNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCertificateNameOutcomeCallable createCertificateNameCallable(const Model::CreateCertificateNameRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_CAS_CASCLIENT_H_
|
||||
32
cas/include/alibabacloud/cas/CasExport.h
Normal file
32
cas/include/alibabacloud/cas/CasExport.h
Normal 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_CAS_CASEXPORT_H_
|
||||
#define ALIBABACLOUD_CAS_CASEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_CAS_LIBRARY)
|
||||
# define ALIBABACLOUD_CAS_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_CAS_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_CAS_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_CAS_CASEXPORT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAS_MODEL_CREATEALIDNSRECORDIDREQUEST_H_
|
||||
#define ALIBABACLOUD_CAS_MODEL_CREATEALIDNSRECORDIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cas/CasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CreateAliDnsRecordIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateAliDnsRecordIdRequest();
|
||||
~CreateAliDnsRecordIdRequest();
|
||||
|
||||
std::string getRecordId()const;
|
||||
void setRecordId(const std::string& recordId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
long getOrderId()const;
|
||||
void setOrderId(long orderId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string recordId_;
|
||||
std::string sourceIp_;
|
||||
long orderId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAS_MODEL_CREATEALIDNSRECORDIDREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAS_MODEL_CREATEALIDNSRECORDIDRESULT_H_
|
||||
#define ALIBABACLOUD_CAS_MODEL_CREATEALIDNSRECORDIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cas/CasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CreateAliDnsRecordIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateAliDnsRecordIdResult();
|
||||
explicit CreateAliDnsRecordIdResult(const std::string &payload);
|
||||
~CreateAliDnsRecordIdResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAS_MODEL_CREATEALIDNSRECORDIDRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATENAMEREQUEST_H_
|
||||
#define ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATENAMEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cas/CasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CreateCertificateNameRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCertificateNameRequest();
|
||||
~CreateCertificateNameRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
long getCertificateId()const;
|
||||
void setCertificateId(long certificateId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
long certificateId_;
|
||||
std::string name_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATENAMEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATENAMERESULT_H_
|
||||
#define ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATENAMERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cas/CasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CreateCertificateNameResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCertificateNameResult();
|
||||
explicit CreateCertificateNameResult(const std::string &payload);
|
||||
~CreateCertificateNameResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATENAMERESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEREQUEST_H_
|
||||
#define ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cas/CasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CreateCertificateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCertificateRequest();
|
||||
~CreateCertificateRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getCert()const;
|
||||
void setCert(const std::string& cert);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getKey()const;
|
||||
void setKey(const std::string& key);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string name_;
|
||||
std::string cert_;
|
||||
std::string lang_;
|
||||
std::string key_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEREQUEST_H_
|
||||
49
cas/include/alibabacloud/cas/model/CreateCertificateResult.h
Normal file
49
cas/include/alibabacloud/cas/model/CreateCertificateResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATERESULT_H_
|
||||
#define ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cas/CasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CreateCertificateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCertificateResult();
|
||||
explicit CreateCertificateResult(const std::string &payload);
|
||||
~CreateCertificateResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATERESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAS_MODEL_CREATECOOPERATIONORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_CAS_MODEL_CREATECOOPERATIONORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cas/CasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CreateCooperationOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCooperationOrderRequest();
|
||||
~CreateCooperationOrderRequest();
|
||||
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getDomain()const;
|
||||
void setDomain(const std::string& domain);
|
||||
std::string getFrom()const;
|
||||
void setFrom(const std::string& from);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
std::string sourceIp_;
|
||||
std::string domain_;
|
||||
std::string from_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAS_MODEL_CREATECOOPERATIONORDERREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAS_MODEL_CREATECOOPERATIONORDERRESULT_H_
|
||||
#define ALIBABACLOUD_CAS_MODEL_CREATECOOPERATIONORDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cas/CasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CreateCooperationOrderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCooperationOrderResult();
|
||||
explicit CreateCooperationOrderResult(const std::string &payload);
|
||||
~CreateCooperationOrderResult();
|
||||
long getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAS_MODEL_CREATECOOPERATIONORDERRESULT_H_
|
||||
63
cas/include/alibabacloud/cas/model/CreateDeploymentRequest.h
Normal file
63
cas/include/alibabacloud/cas/model/CreateDeploymentRequest.h
Normal 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_CAS_MODEL_CREATEDEPLOYMENTREQUEST_H_
|
||||
#define ALIBABACLOUD_CAS_MODEL_CREATEDEPLOYMENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cas/CasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CreateDeploymentRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDeploymentRequest();
|
||||
~CreateDeploymentRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
long getCertificateId()const;
|
||||
void setCertificateId(long certificateId);
|
||||
std::string getDomain()const;
|
||||
void setDomain(const std::string& domain);
|
||||
std::string getCloudProduct()const;
|
||||
void setCloudProduct(const std::string& cloudProduct);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
long certificateId_;
|
||||
std::string domain_;
|
||||
std::string cloudProduct_;
|
||||
std::string lang_;
|
||||
std::string region_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAS_MODEL_CREATEDEPLOYMENTREQUEST_H_
|
||||
49
cas/include/alibabacloud/cas/model/CreateDeploymentResult.h
Normal file
49
cas/include/alibabacloud/cas/model/CreateDeploymentResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAS_MODEL_CREATEDEPLOYMENTRESULT_H_
|
||||
#define ALIBABACLOUD_CAS_MODEL_CREATEDEPLOYMENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cas/CasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CreateDeploymentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDeploymentResult();
|
||||
explicit CreateDeploymentResult(const std::string &payload);
|
||||
~CreateDeploymentResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAS_MODEL_CREATEDEPLOYMENTRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAS_MODEL_CREATEDOMAINVERIFYCONFIGURATIONSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_CAS_MODEL_CREATEDOMAINVERIFYCONFIGURATIONSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cas/CasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CreateDomainVerifyConfigurationStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDomainVerifyConfigurationStatusRequest();
|
||||
~CreateDomainVerifyConfigurationStatusRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
long getOrderId()const;
|
||||
void setOrderId(long orderId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
long orderId_;
|
||||
std::string lang_;
|
||||
std::string type_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAS_MODEL_CREATEDOMAINVERIFYCONFIGURATIONSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAS_MODEL_CREATEDOMAINVERIFYCONFIGURATIONSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_CAS_MODEL_CREATEDOMAINVERIFYCONFIGURATIONSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cas/CasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CreateDomainVerifyConfigurationStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDomainVerifyConfigurationStatusResult();
|
||||
explicit CreateDomainVerifyConfigurationStatusResult(const std::string &payload);
|
||||
~CreateDomainVerifyConfigurationStatusResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAS_MODEL_CREATEDOMAINVERIFYCONFIGURATIONSTATUSRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAS_MODEL_CREATEFILINGSIGNATUREDOCUMENTREQUEST_H_
|
||||
#define ALIBABACLOUD_CAS_MODEL_CREATEFILINGSIGNATUREDOCUMENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cas/CasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CreateFilingSignatureDocumentRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateFilingSignatureDocumentRequest();
|
||||
~CreateFilingSignatureDocumentRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getDocId()const;
|
||||
void setDocId(const std::string& docId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string docId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAS_MODEL_CREATEFILINGSIGNATUREDOCUMENTREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAS_MODEL_CREATEFILINGSIGNATUREDOCUMENTRESULT_H_
|
||||
#define ALIBABACLOUD_CAS_MODEL_CREATEFILINGSIGNATUREDOCUMENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cas/CasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CreateFilingSignatureDocumentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateFilingSignatureDocumentResult();
|
||||
explicit CreateFilingSignatureDocumentResult(const std::string &payload);
|
||||
~CreateFilingSignatureDocumentResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAS_MODEL_CREATEFILINGSIGNATUREDOCUMENTRESULT_H_
|
||||
57
cas/include/alibabacloud/cas/model/CreateOrderAuditRequest.h
Normal file
57
cas/include/alibabacloud/cas/model/CreateOrderAuditRequest.h
Normal 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_CAS_MODEL_CREATEORDERAUDITREQUEST_H_
|
||||
#define ALIBABACLOUD_CAS_MODEL_CREATEORDERAUDITREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cas/CasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CreateOrderAuditRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateOrderAuditRequest();
|
||||
~CreateOrderAuditRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
long getOrderId()const;
|
||||
void setOrderId(long orderId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
long orderId_;
|
||||
std::string lang_;
|
||||
std::string type_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAS_MODEL_CREATEORDERAUDITREQUEST_H_
|
||||
63
cas/include/alibabacloud/cas/model/CreateOrderAuditResult.h
Normal file
63
cas/include/alibabacloud/cas/model/CreateOrderAuditResult.h
Normal 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_CAS_MODEL_CREATEORDERAUDITRESULT_H_
|
||||
#define ALIBABACLOUD_CAS_MODEL_CREATEORDERAUDITRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cas/CasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAS_EXPORT CreateOrderAuditResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateOrderAuditResult();
|
||||
explicit CreateOrderAuditResult(const std::string &payload);
|
||||
~CreateOrderAuditResult();
|
||||
std::string getType()const;
|
||||
std::string getCheckName()const;
|
||||
std::string getModifiedTime()const;
|
||||
std::string getCheckType()const;
|
||||
std::string getCheckName1()const;
|
||||
std::string getCheckName2()const;
|
||||
std::string getCheckValue()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string type_;
|
||||
std::string checkName_;
|
||||
std::string modifiedTime_;
|
||||
std::string checkType_;
|
||||
std::string checkName1_;
|
||||
std::string checkName2_;
|
||||
std::string checkValue_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAS_MODEL_CREATEORDERAUDITRESULT_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user