Compare commits
27 Commits
1.36.224
...
improve-te
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb8fdd0c2f | ||
|
|
4c2ebf13d5 | ||
|
|
b4e95dcd5a | ||
|
|
38dab66f9d | ||
|
|
b452038de4 | ||
|
|
f23788b801 | ||
|
|
21a0dc8c6a | ||
|
|
a918ae0cf9 | ||
|
|
69cc6a27d1 | ||
|
|
6994be7a5e | ||
|
|
dba2a5a7c7 | ||
|
|
7b50b232ab | ||
|
|
c4b8a5b9de | ||
|
|
48c29d703a | ||
|
|
6f7fd0dfcd | ||
|
|
f52a4ff319 | ||
|
|
a13b3e83ce | ||
|
|
0c68cf4369 | ||
|
|
f7d44bb2ef | ||
|
|
0781ea0be4 | ||
|
|
07fbfc619a | ||
|
|
d9f10d6933 | ||
|
|
34e1a5148b | ||
|
|
e471f55ca6 | ||
|
|
a8e2a1e669 | ||
|
|
76dd650cd7 | ||
|
|
1e36d3c54a |
79
CHANGELOG
79
CHANGELOG
@@ -1,3 +1,82 @@
|
|||||||
|
2020-01-20 Version 1.36.247
|
||||||
|
- Release on full language support.
|
||||||
|
|
||||||
|
2020-01-17 Version 1.36.246
|
||||||
|
- Supported Add the history event signature function.
|
||||||
|
|
||||||
|
2020-01-16 Version 1.36.245
|
||||||
|
- Fix the result value of DeleteSiteMonitors.
|
||||||
|
|
||||||
|
2020-01-16 Version 1.36.244
|
||||||
|
- Generated 2015-01-01 for `R-kvstore`.
|
||||||
|
- Update DescribeAvailableResource.
|
||||||
|
|
||||||
|
2020-01-16 Version 1.36.243
|
||||||
|
- Add fields faceComparisonScore for DescribeVerifyResult and VerifyMaterials interface.
|
||||||
|
|
||||||
|
2020-01-15 Version 1.36.242
|
||||||
|
- Fix parameter issues for label synchronization group.
|
||||||
|
|
||||||
|
2020-01-15 Version 1.36.241
|
||||||
|
- Fix parameter issues for label synchronization group.
|
||||||
|
|
||||||
|
2020-01-13 Version 1.36.240
|
||||||
|
- New API DescribeAvailableResource.
|
||||||
|
|
||||||
|
2020-01-13 Version 1.36.239
|
||||||
|
- Add Dynamic Tag API.
|
||||||
|
|
||||||
|
2020-01-13 Version 1.36.238
|
||||||
|
- Supported InstanceMaintenanceAtrributes for maintening the attributes of instances.
|
||||||
|
- Deleted MaintenanceProperty.
|
||||||
|
- Supported RedeployDedicatedHost for redeploying dedicated host in under-assessment status.
|
||||||
|
|
||||||
|
2020-01-10 Version 1.36.237
|
||||||
|
- Return `ConsistentTime` for DescribeBackups.
|
||||||
|
- Return `DBNodeIds` for CreateDBNodes.
|
||||||
|
|
||||||
|
2020-01-09 Version 1.36.236
|
||||||
|
- Support DAILY report in QueryInstanBill.
|
||||||
|
|
||||||
|
2020-01-08 Version 1.36.235
|
||||||
|
- Add TagLevel to ListSetTags.
|
||||||
|
|
||||||
|
2020-01-07 Version 1.36.234
|
||||||
|
- Modify desribeInstance return dict item.
|
||||||
|
|
||||||
|
2020-01-07 Version 1.36.233
|
||||||
|
- Generated 2014-05-26 for `Ecs`.
|
||||||
|
|
||||||
|
2020-01-03 Version 1.36.232
|
||||||
|
- Add GWS serie apis.
|
||||||
|
- Add QueryReport.
|
||||||
|
- Fix ListJobs.
|
||||||
|
- Etc.
|
||||||
|
|
||||||
|
2020-01-03 Version 1.36.231
|
||||||
|
- New API DescribeAvailableResource.
|
||||||
|
|
||||||
|
2020-01-03 Version 1.36.230
|
||||||
|
- ImmediateDelete.
|
||||||
|
- DescribeInstance CreateTimeUTC ExpireTimeUTC.
|
||||||
|
- DescribeInstances CreateTimeUTC ExpireTimeUTC.
|
||||||
|
- DescribeIpWhitelist Groups GroupName.
|
||||||
|
|
||||||
|
2019-12-31 Version 1.36.229
|
||||||
|
- Supported SQL SERVER support delete backup set according to time range.
|
||||||
|
|
||||||
|
2019-12-31 Version 1.36.228
|
||||||
|
- Support asymmetric keys.
|
||||||
|
|
||||||
|
2019-12-31 Version 1.36.227
|
||||||
|
- Add request parameter groupType for OnsGroupCreate.
|
||||||
|
|
||||||
|
2019-12-31 Version 1.36.226
|
||||||
|
- Supported image for process.
|
||||||
|
|
||||||
|
2019-12-31 Version 1.36.225
|
||||||
|
- Generated 2019-09-28 for `reid`.
|
||||||
|
|
||||||
2019-12-31 Version 1.36.224
|
2019-12-31 Version 1.36.224
|
||||||
- Support DeleteDBCluster.
|
- Support DeleteDBCluster.
|
||||||
- Support ModifyDBCluster.
|
- Support ModifyDBCluster.
|
||||||
|
|||||||
@@ -47,10 +47,14 @@ namespace AlibabaCloud
|
|||||||
void setOwnerId(long ownerId);
|
void setOwnerId(long ownerId);
|
||||||
int getPageNum()const;
|
int getPageNum()const;
|
||||||
void setPageNum(int pageNum);
|
void setPageNum(int pageNum);
|
||||||
|
std::string getBillingDate()const;
|
||||||
|
void setBillingDate(const std::string& billingDate);
|
||||||
std::string getProductType()const;
|
std::string getProductType()const;
|
||||||
void setProductType(const std::string& productType);
|
void setProductType(const std::string& productType);
|
||||||
bool getIsBillingItem()const;
|
bool getIsBillingItem()const;
|
||||||
void setIsBillingItem(bool isBillingItem);
|
void setIsBillingItem(bool isBillingItem);
|
||||||
|
std::string getGranularity()const;
|
||||||
|
void setGranularity(const std::string& granularity);
|
||||||
int getPageSize()const;
|
int getPageSize()const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
|
|
||||||
@@ -61,8 +65,10 @@ namespace AlibabaCloud
|
|||||||
std::string billingCycle_;
|
std::string billingCycle_;
|
||||||
long ownerId_;
|
long ownerId_;
|
||||||
int pageNum_;
|
int pageNum_;
|
||||||
|
std::string billingDate_;
|
||||||
std::string productType_;
|
std::string productType_;
|
||||||
bool isBillingItem_;
|
bool isBillingItem_;
|
||||||
|
std::string granularity_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ namespace AlibabaCloud
|
|||||||
std::string instanceID;
|
std::string instanceID;
|
||||||
float deductedByCashCoupons;
|
float deductedByCashCoupons;
|
||||||
std::string listPriceUnit;
|
std::string listPriceUnit;
|
||||||
|
std::string billingDate;
|
||||||
std::string listPrice;
|
std::string listPrice;
|
||||||
float paymentAmount;
|
float paymentAmount;
|
||||||
float deductedByPrepaidCard;
|
float deductedByPrepaidCard;
|
||||||
|
|||||||
@@ -93,6 +93,17 @@ void QueryInstanceBillRequest::setPageNum(int pageNum)
|
|||||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string QueryInstanceBillRequest::getBillingDate()const
|
||||||
|
{
|
||||||
|
return billingDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QueryInstanceBillRequest::setBillingDate(const std::string& billingDate)
|
||||||
|
{
|
||||||
|
billingDate_ = billingDate;
|
||||||
|
setCoreParameter("BillingDate", billingDate);
|
||||||
|
}
|
||||||
|
|
||||||
std::string QueryInstanceBillRequest::getProductType()const
|
std::string QueryInstanceBillRequest::getProductType()const
|
||||||
{
|
{
|
||||||
return productType_;
|
return productType_;
|
||||||
@@ -115,6 +126,17 @@ void QueryInstanceBillRequest::setIsBillingItem(bool isBillingItem)
|
|||||||
setCoreParameter("IsBillingItem", isBillingItem ? "true" : "false");
|
setCoreParameter("IsBillingItem", isBillingItem ? "true" : "false");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string QueryInstanceBillRequest::getGranularity()const
|
||||||
|
{
|
||||||
|
return granularity_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QueryInstanceBillRequest::setGranularity(const std::string& granularity)
|
||||||
|
{
|
||||||
|
granularity_ = granularity;
|
||||||
|
setCoreParameter("Granularity", granularity);
|
||||||
|
}
|
||||||
|
|
||||||
int QueryInstanceBillRequest::getPageSize()const
|
int QueryInstanceBillRequest::getPageSize()const
|
||||||
{
|
{
|
||||||
return pageSize_;
|
return pageSize_;
|
||||||
|
|||||||
@@ -126,6 +126,8 @@ void QueryInstanceBillResult::parse(const std::string &payload)
|
|||||||
itemObject.item = dataNodeItemsItem["Item"].asString();
|
itemObject.item = dataNodeItemsItem["Item"].asString();
|
||||||
if(!dataNodeItemsItem["ServicePeriod"].isNull())
|
if(!dataNodeItemsItem["ServicePeriod"].isNull())
|
||||||
itemObject.servicePeriod = dataNodeItemsItem["ServicePeriod"].asString();
|
itemObject.servicePeriod = dataNodeItemsItem["ServicePeriod"].asString();
|
||||||
|
if(!dataNodeItemsItem["BillingDate"].isNull())
|
||||||
|
itemObject.billingDate = dataNodeItemsItem["BillingDate"].asString();
|
||||||
data_.items.push_back(itemObject);
|
data_.items.push_back(itemObject);
|
||||||
}
|
}
|
||||||
if(!value["Success"].isNull())
|
if(!value["Success"].isNull())
|
||||||
|
|||||||
@@ -25,26 +25,44 @@ set(cloudauth_public_header_model
|
|||||||
include/alibabacloud/cloudauth/model/CompareFacesResult.h
|
include/alibabacloud/cloudauth/model/CompareFacesResult.h
|
||||||
include/alibabacloud/cloudauth/model/CreateAuthKeyRequest.h
|
include/alibabacloud/cloudauth/model/CreateAuthKeyRequest.h
|
||||||
include/alibabacloud/cloudauth/model/CreateAuthKeyResult.h
|
include/alibabacloud/cloudauth/model/CreateAuthKeyResult.h
|
||||||
|
include/alibabacloud/cloudauth/model/CreateRPSDKRequest.h
|
||||||
|
include/alibabacloud/cloudauth/model/CreateRPSDKResult.h
|
||||||
include/alibabacloud/cloudauth/model/CreateVerifySDKRequest.h
|
include/alibabacloud/cloudauth/model/CreateVerifySDKRequest.h
|
||||||
include/alibabacloud/cloudauth/model/CreateVerifySDKResult.h
|
include/alibabacloud/cloudauth/model/CreateVerifySDKResult.h
|
||||||
|
include/alibabacloud/cloudauth/model/CreateVerifySettingRequest.h
|
||||||
|
include/alibabacloud/cloudauth/model/CreateVerifySettingResult.h
|
||||||
include/alibabacloud/cloudauth/model/DescribeDeviceInfoRequest.h
|
include/alibabacloud/cloudauth/model/DescribeDeviceInfoRequest.h
|
||||||
include/alibabacloud/cloudauth/model/DescribeDeviceInfoResult.h
|
include/alibabacloud/cloudauth/model/DescribeDeviceInfoResult.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeFaceUsageRequest.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeFaceUsageResult.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeOssUploadTokenRequest.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeOssUploadTokenResult.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeRPSDKRequest.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeRPSDKResult.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeUploadInfoRequest.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeUploadInfoResult.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeUserStatusRequest.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeUserStatusResult.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeVerifyRecordsRequest.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeVerifyRecordsResult.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeVerifyResultRequest.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeVerifyResultResult.h
|
||||||
include/alibabacloud/cloudauth/model/DescribeVerifySDKRequest.h
|
include/alibabacloud/cloudauth/model/DescribeVerifySDKRequest.h
|
||||||
include/alibabacloud/cloudauth/model/DescribeVerifySDKResult.h
|
include/alibabacloud/cloudauth/model/DescribeVerifySDKResult.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeVerifySettingRequest.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeVerifySettingResult.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeVerifyTokenRequest.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeVerifyTokenResult.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeVerifyUsageRequest.h
|
||||||
|
include/alibabacloud/cloudauth/model/DescribeVerifyUsageResult.h
|
||||||
include/alibabacloud/cloudauth/model/DetectFaceAttributesRequest.h
|
include/alibabacloud/cloudauth/model/DetectFaceAttributesRequest.h
|
||||||
include/alibabacloud/cloudauth/model/DetectFaceAttributesResult.h
|
include/alibabacloud/cloudauth/model/DetectFaceAttributesResult.h
|
||||||
include/alibabacloud/cloudauth/model/GetMaterialsRequest.h
|
|
||||||
include/alibabacloud/cloudauth/model/GetMaterialsResult.h
|
|
||||||
include/alibabacloud/cloudauth/model/GetStatusRequest.h
|
|
||||||
include/alibabacloud/cloudauth/model/GetStatusResult.h
|
|
||||||
include/alibabacloud/cloudauth/model/GetVerifyTokenRequest.h
|
|
||||||
include/alibabacloud/cloudauth/model/GetVerifyTokenResult.h
|
|
||||||
include/alibabacloud/cloudauth/model/ModifyDeviceInfoRequest.h
|
include/alibabacloud/cloudauth/model/ModifyDeviceInfoRequest.h
|
||||||
include/alibabacloud/cloudauth/model/ModifyDeviceInfoResult.h
|
include/alibabacloud/cloudauth/model/ModifyDeviceInfoResult.h
|
||||||
include/alibabacloud/cloudauth/model/SubmitMaterialsRequest.h
|
include/alibabacloud/cloudauth/model/UpdateVerifySettingRequest.h
|
||||||
include/alibabacloud/cloudauth/model/SubmitMaterialsResult.h
|
include/alibabacloud/cloudauth/model/UpdateVerifySettingResult.h
|
||||||
include/alibabacloud/cloudauth/model/SubmitVerificationRequest.h
|
include/alibabacloud/cloudauth/model/VerifyMaterialRequest.h
|
||||||
include/alibabacloud/cloudauth/model/SubmitVerificationResult.h )
|
include/alibabacloud/cloudauth/model/VerifyMaterialResult.h )
|
||||||
|
|
||||||
set(cloudauth_src
|
set(cloudauth_src
|
||||||
src/CloudauthClient.cc
|
src/CloudauthClient.cc
|
||||||
@@ -52,26 +70,44 @@ set(cloudauth_src
|
|||||||
src/model/CompareFacesResult.cc
|
src/model/CompareFacesResult.cc
|
||||||
src/model/CreateAuthKeyRequest.cc
|
src/model/CreateAuthKeyRequest.cc
|
||||||
src/model/CreateAuthKeyResult.cc
|
src/model/CreateAuthKeyResult.cc
|
||||||
|
src/model/CreateRPSDKRequest.cc
|
||||||
|
src/model/CreateRPSDKResult.cc
|
||||||
src/model/CreateVerifySDKRequest.cc
|
src/model/CreateVerifySDKRequest.cc
|
||||||
src/model/CreateVerifySDKResult.cc
|
src/model/CreateVerifySDKResult.cc
|
||||||
|
src/model/CreateVerifySettingRequest.cc
|
||||||
|
src/model/CreateVerifySettingResult.cc
|
||||||
src/model/DescribeDeviceInfoRequest.cc
|
src/model/DescribeDeviceInfoRequest.cc
|
||||||
src/model/DescribeDeviceInfoResult.cc
|
src/model/DescribeDeviceInfoResult.cc
|
||||||
|
src/model/DescribeFaceUsageRequest.cc
|
||||||
|
src/model/DescribeFaceUsageResult.cc
|
||||||
|
src/model/DescribeOssUploadTokenRequest.cc
|
||||||
|
src/model/DescribeOssUploadTokenResult.cc
|
||||||
|
src/model/DescribeRPSDKRequest.cc
|
||||||
|
src/model/DescribeRPSDKResult.cc
|
||||||
|
src/model/DescribeUploadInfoRequest.cc
|
||||||
|
src/model/DescribeUploadInfoResult.cc
|
||||||
|
src/model/DescribeUserStatusRequest.cc
|
||||||
|
src/model/DescribeUserStatusResult.cc
|
||||||
|
src/model/DescribeVerifyRecordsRequest.cc
|
||||||
|
src/model/DescribeVerifyRecordsResult.cc
|
||||||
|
src/model/DescribeVerifyResultRequest.cc
|
||||||
|
src/model/DescribeVerifyResultResult.cc
|
||||||
src/model/DescribeVerifySDKRequest.cc
|
src/model/DescribeVerifySDKRequest.cc
|
||||||
src/model/DescribeVerifySDKResult.cc
|
src/model/DescribeVerifySDKResult.cc
|
||||||
|
src/model/DescribeVerifySettingRequest.cc
|
||||||
|
src/model/DescribeVerifySettingResult.cc
|
||||||
|
src/model/DescribeVerifyTokenRequest.cc
|
||||||
|
src/model/DescribeVerifyTokenResult.cc
|
||||||
|
src/model/DescribeVerifyUsageRequest.cc
|
||||||
|
src/model/DescribeVerifyUsageResult.cc
|
||||||
src/model/DetectFaceAttributesRequest.cc
|
src/model/DetectFaceAttributesRequest.cc
|
||||||
src/model/DetectFaceAttributesResult.cc
|
src/model/DetectFaceAttributesResult.cc
|
||||||
src/model/GetMaterialsRequest.cc
|
|
||||||
src/model/GetMaterialsResult.cc
|
|
||||||
src/model/GetStatusRequest.cc
|
|
||||||
src/model/GetStatusResult.cc
|
|
||||||
src/model/GetVerifyTokenRequest.cc
|
|
||||||
src/model/GetVerifyTokenResult.cc
|
|
||||||
src/model/ModifyDeviceInfoRequest.cc
|
src/model/ModifyDeviceInfoRequest.cc
|
||||||
src/model/ModifyDeviceInfoResult.cc
|
src/model/ModifyDeviceInfoResult.cc
|
||||||
src/model/SubmitMaterialsRequest.cc
|
src/model/UpdateVerifySettingRequest.cc
|
||||||
src/model/SubmitMaterialsResult.cc
|
src/model/UpdateVerifySettingResult.cc
|
||||||
src/model/SubmitVerificationRequest.cc
|
src/model/VerifyMaterialRequest.cc
|
||||||
src/model/SubmitVerificationResult.cc )
|
src/model/VerifyMaterialResult.cc )
|
||||||
|
|
||||||
add_library(cloudauth ${LIB_TYPE}
|
add_library(cloudauth ${LIB_TYPE}
|
||||||
${cloudauth_public_header}
|
${cloudauth_public_header}
|
||||||
|
|||||||
@@ -26,26 +26,44 @@
|
|||||||
#include "model/CompareFacesResult.h"
|
#include "model/CompareFacesResult.h"
|
||||||
#include "model/CreateAuthKeyRequest.h"
|
#include "model/CreateAuthKeyRequest.h"
|
||||||
#include "model/CreateAuthKeyResult.h"
|
#include "model/CreateAuthKeyResult.h"
|
||||||
|
#include "model/CreateRPSDKRequest.h"
|
||||||
|
#include "model/CreateRPSDKResult.h"
|
||||||
#include "model/CreateVerifySDKRequest.h"
|
#include "model/CreateVerifySDKRequest.h"
|
||||||
#include "model/CreateVerifySDKResult.h"
|
#include "model/CreateVerifySDKResult.h"
|
||||||
|
#include "model/CreateVerifySettingRequest.h"
|
||||||
|
#include "model/CreateVerifySettingResult.h"
|
||||||
#include "model/DescribeDeviceInfoRequest.h"
|
#include "model/DescribeDeviceInfoRequest.h"
|
||||||
#include "model/DescribeDeviceInfoResult.h"
|
#include "model/DescribeDeviceInfoResult.h"
|
||||||
|
#include "model/DescribeFaceUsageRequest.h"
|
||||||
|
#include "model/DescribeFaceUsageResult.h"
|
||||||
|
#include "model/DescribeOssUploadTokenRequest.h"
|
||||||
|
#include "model/DescribeOssUploadTokenResult.h"
|
||||||
|
#include "model/DescribeRPSDKRequest.h"
|
||||||
|
#include "model/DescribeRPSDKResult.h"
|
||||||
|
#include "model/DescribeUploadInfoRequest.h"
|
||||||
|
#include "model/DescribeUploadInfoResult.h"
|
||||||
|
#include "model/DescribeUserStatusRequest.h"
|
||||||
|
#include "model/DescribeUserStatusResult.h"
|
||||||
|
#include "model/DescribeVerifyRecordsRequest.h"
|
||||||
|
#include "model/DescribeVerifyRecordsResult.h"
|
||||||
|
#include "model/DescribeVerifyResultRequest.h"
|
||||||
|
#include "model/DescribeVerifyResultResult.h"
|
||||||
#include "model/DescribeVerifySDKRequest.h"
|
#include "model/DescribeVerifySDKRequest.h"
|
||||||
#include "model/DescribeVerifySDKResult.h"
|
#include "model/DescribeVerifySDKResult.h"
|
||||||
|
#include "model/DescribeVerifySettingRequest.h"
|
||||||
|
#include "model/DescribeVerifySettingResult.h"
|
||||||
|
#include "model/DescribeVerifyTokenRequest.h"
|
||||||
|
#include "model/DescribeVerifyTokenResult.h"
|
||||||
|
#include "model/DescribeVerifyUsageRequest.h"
|
||||||
|
#include "model/DescribeVerifyUsageResult.h"
|
||||||
#include "model/DetectFaceAttributesRequest.h"
|
#include "model/DetectFaceAttributesRequest.h"
|
||||||
#include "model/DetectFaceAttributesResult.h"
|
#include "model/DetectFaceAttributesResult.h"
|
||||||
#include "model/GetMaterialsRequest.h"
|
|
||||||
#include "model/GetMaterialsResult.h"
|
|
||||||
#include "model/GetStatusRequest.h"
|
|
||||||
#include "model/GetStatusResult.h"
|
|
||||||
#include "model/GetVerifyTokenRequest.h"
|
|
||||||
#include "model/GetVerifyTokenResult.h"
|
|
||||||
#include "model/ModifyDeviceInfoRequest.h"
|
#include "model/ModifyDeviceInfoRequest.h"
|
||||||
#include "model/ModifyDeviceInfoResult.h"
|
#include "model/ModifyDeviceInfoResult.h"
|
||||||
#include "model/SubmitMaterialsRequest.h"
|
#include "model/UpdateVerifySettingRequest.h"
|
||||||
#include "model/SubmitMaterialsResult.h"
|
#include "model/UpdateVerifySettingResult.h"
|
||||||
#include "model/SubmitVerificationRequest.h"
|
#include "model/VerifyMaterialRequest.h"
|
||||||
#include "model/SubmitVerificationResult.h"
|
#include "model/VerifyMaterialResult.h"
|
||||||
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
@@ -61,36 +79,63 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::CreateAuthKeyResult> CreateAuthKeyOutcome;
|
typedef Outcome<Error, Model::CreateAuthKeyResult> CreateAuthKeyOutcome;
|
||||||
typedef std::future<CreateAuthKeyOutcome> CreateAuthKeyOutcomeCallable;
|
typedef std::future<CreateAuthKeyOutcome> CreateAuthKeyOutcomeCallable;
|
||||||
typedef std::function<void(const CloudauthClient*, const Model::CreateAuthKeyRequest&, const CreateAuthKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAuthKeyAsyncHandler;
|
typedef std::function<void(const CloudauthClient*, const Model::CreateAuthKeyRequest&, const CreateAuthKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAuthKeyAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateRPSDKResult> CreateRPSDKOutcome;
|
||||||
|
typedef std::future<CreateRPSDKOutcome> CreateRPSDKOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudauthClient*, const Model::CreateRPSDKRequest&, const CreateRPSDKOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRPSDKAsyncHandler;
|
||||||
typedef Outcome<Error, Model::CreateVerifySDKResult> CreateVerifySDKOutcome;
|
typedef Outcome<Error, Model::CreateVerifySDKResult> CreateVerifySDKOutcome;
|
||||||
typedef std::future<CreateVerifySDKOutcome> CreateVerifySDKOutcomeCallable;
|
typedef std::future<CreateVerifySDKOutcome> CreateVerifySDKOutcomeCallable;
|
||||||
typedef std::function<void(const CloudauthClient*, const Model::CreateVerifySDKRequest&, const CreateVerifySDKOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVerifySDKAsyncHandler;
|
typedef std::function<void(const CloudauthClient*, const Model::CreateVerifySDKRequest&, const CreateVerifySDKOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVerifySDKAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateVerifySettingResult> CreateVerifySettingOutcome;
|
||||||
|
typedef std::future<CreateVerifySettingOutcome> CreateVerifySettingOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudauthClient*, const Model::CreateVerifySettingRequest&, const CreateVerifySettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVerifySettingAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeDeviceInfoResult> DescribeDeviceInfoOutcome;
|
typedef Outcome<Error, Model::DescribeDeviceInfoResult> DescribeDeviceInfoOutcome;
|
||||||
typedef std::future<DescribeDeviceInfoOutcome> DescribeDeviceInfoOutcomeCallable;
|
typedef std::future<DescribeDeviceInfoOutcome> DescribeDeviceInfoOutcomeCallable;
|
||||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeDeviceInfoRequest&, const DescribeDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDeviceInfoAsyncHandler;
|
typedef std::function<void(const CloudauthClient*, const Model::DescribeDeviceInfoRequest&, const DescribeDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDeviceInfoAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeFaceUsageResult> DescribeFaceUsageOutcome;
|
||||||
|
typedef std::future<DescribeFaceUsageOutcome> DescribeFaceUsageOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudauthClient*, const Model::DescribeFaceUsageRequest&, const DescribeFaceUsageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFaceUsageAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeOssUploadTokenResult> DescribeOssUploadTokenOutcome;
|
||||||
|
typedef std::future<DescribeOssUploadTokenOutcome> DescribeOssUploadTokenOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudauthClient*, const Model::DescribeOssUploadTokenRequest&, const DescribeOssUploadTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOssUploadTokenAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeRPSDKResult> DescribeRPSDKOutcome;
|
||||||
|
typedef std::future<DescribeRPSDKOutcome> DescribeRPSDKOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudauthClient*, const Model::DescribeRPSDKRequest&, const DescribeRPSDKOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRPSDKAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeUploadInfoResult> DescribeUploadInfoOutcome;
|
||||||
|
typedef std::future<DescribeUploadInfoOutcome> DescribeUploadInfoOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudauthClient*, const Model::DescribeUploadInfoRequest&, const DescribeUploadInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUploadInfoAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeUserStatusResult> DescribeUserStatusOutcome;
|
||||||
|
typedef std::future<DescribeUserStatusOutcome> DescribeUserStatusOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudauthClient*, const Model::DescribeUserStatusRequest&, const DescribeUserStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserStatusAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeVerifyRecordsResult> DescribeVerifyRecordsOutcome;
|
||||||
|
typedef std::future<DescribeVerifyRecordsOutcome> DescribeVerifyRecordsOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudauthClient*, const Model::DescribeVerifyRecordsRequest&, const DescribeVerifyRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVerifyRecordsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeVerifyResultResult> DescribeVerifyResultOutcome;
|
||||||
|
typedef std::future<DescribeVerifyResultOutcome> DescribeVerifyResultOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudauthClient*, const Model::DescribeVerifyResultRequest&, const DescribeVerifyResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVerifyResultAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeVerifySDKResult> DescribeVerifySDKOutcome;
|
typedef Outcome<Error, Model::DescribeVerifySDKResult> DescribeVerifySDKOutcome;
|
||||||
typedef std::future<DescribeVerifySDKOutcome> DescribeVerifySDKOutcomeCallable;
|
typedef std::future<DescribeVerifySDKOutcome> DescribeVerifySDKOutcomeCallable;
|
||||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeVerifySDKRequest&, const DescribeVerifySDKOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVerifySDKAsyncHandler;
|
typedef std::function<void(const CloudauthClient*, const Model::DescribeVerifySDKRequest&, const DescribeVerifySDKOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVerifySDKAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeVerifySettingResult> DescribeVerifySettingOutcome;
|
||||||
|
typedef std::future<DescribeVerifySettingOutcome> DescribeVerifySettingOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudauthClient*, const Model::DescribeVerifySettingRequest&, const DescribeVerifySettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVerifySettingAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeVerifyTokenResult> DescribeVerifyTokenOutcome;
|
||||||
|
typedef std::future<DescribeVerifyTokenOutcome> DescribeVerifyTokenOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudauthClient*, const Model::DescribeVerifyTokenRequest&, const DescribeVerifyTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVerifyTokenAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeVerifyUsageResult> DescribeVerifyUsageOutcome;
|
||||||
|
typedef std::future<DescribeVerifyUsageOutcome> DescribeVerifyUsageOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudauthClient*, const Model::DescribeVerifyUsageRequest&, const DescribeVerifyUsageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVerifyUsageAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DetectFaceAttributesResult> DetectFaceAttributesOutcome;
|
typedef Outcome<Error, Model::DetectFaceAttributesResult> DetectFaceAttributesOutcome;
|
||||||
typedef std::future<DetectFaceAttributesOutcome> DetectFaceAttributesOutcomeCallable;
|
typedef std::future<DetectFaceAttributesOutcome> DetectFaceAttributesOutcomeCallable;
|
||||||
typedef std::function<void(const CloudauthClient*, const Model::DetectFaceAttributesRequest&, const DetectFaceAttributesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectFaceAttributesAsyncHandler;
|
typedef std::function<void(const CloudauthClient*, const Model::DetectFaceAttributesRequest&, const DetectFaceAttributesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectFaceAttributesAsyncHandler;
|
||||||
typedef Outcome<Error, Model::GetMaterialsResult> GetMaterialsOutcome;
|
|
||||||
typedef std::future<GetMaterialsOutcome> GetMaterialsOutcomeCallable;
|
|
||||||
typedef std::function<void(const CloudauthClient*, const Model::GetMaterialsRequest&, const GetMaterialsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMaterialsAsyncHandler;
|
|
||||||
typedef Outcome<Error, Model::GetStatusResult> GetStatusOutcome;
|
|
||||||
typedef std::future<GetStatusOutcome> GetStatusOutcomeCallable;
|
|
||||||
typedef std::function<void(const CloudauthClient*, const Model::GetStatusRequest&, const GetStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStatusAsyncHandler;
|
|
||||||
typedef Outcome<Error, Model::GetVerifyTokenResult> GetVerifyTokenOutcome;
|
|
||||||
typedef std::future<GetVerifyTokenOutcome> GetVerifyTokenOutcomeCallable;
|
|
||||||
typedef std::function<void(const CloudauthClient*, const Model::GetVerifyTokenRequest&, const GetVerifyTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVerifyTokenAsyncHandler;
|
|
||||||
typedef Outcome<Error, Model::ModifyDeviceInfoResult> ModifyDeviceInfoOutcome;
|
typedef Outcome<Error, Model::ModifyDeviceInfoResult> ModifyDeviceInfoOutcome;
|
||||||
typedef std::future<ModifyDeviceInfoOutcome> ModifyDeviceInfoOutcomeCallable;
|
typedef std::future<ModifyDeviceInfoOutcome> ModifyDeviceInfoOutcomeCallable;
|
||||||
typedef std::function<void(const CloudauthClient*, const Model::ModifyDeviceInfoRequest&, const ModifyDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDeviceInfoAsyncHandler;
|
typedef std::function<void(const CloudauthClient*, const Model::ModifyDeviceInfoRequest&, const ModifyDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDeviceInfoAsyncHandler;
|
||||||
typedef Outcome<Error, Model::SubmitMaterialsResult> SubmitMaterialsOutcome;
|
typedef Outcome<Error, Model::UpdateVerifySettingResult> UpdateVerifySettingOutcome;
|
||||||
typedef std::future<SubmitMaterialsOutcome> SubmitMaterialsOutcomeCallable;
|
typedef std::future<UpdateVerifySettingOutcome> UpdateVerifySettingOutcomeCallable;
|
||||||
typedef std::function<void(const CloudauthClient*, const Model::SubmitMaterialsRequest&, const SubmitMaterialsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitMaterialsAsyncHandler;
|
typedef std::function<void(const CloudauthClient*, const Model::UpdateVerifySettingRequest&, const UpdateVerifySettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateVerifySettingAsyncHandler;
|
||||||
typedef Outcome<Error, Model::SubmitVerificationResult> SubmitVerificationOutcome;
|
typedef Outcome<Error, Model::VerifyMaterialResult> VerifyMaterialOutcome;
|
||||||
typedef std::future<SubmitVerificationOutcome> SubmitVerificationOutcomeCallable;
|
typedef std::future<VerifyMaterialOutcome> VerifyMaterialOutcomeCallable;
|
||||||
typedef std::function<void(const CloudauthClient*, const Model::SubmitVerificationRequest&, const SubmitVerificationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitVerificationAsyncHandler;
|
typedef std::function<void(const CloudauthClient*, const Model::VerifyMaterialRequest&, const VerifyMaterialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VerifyMaterialAsyncHandler;
|
||||||
|
|
||||||
CloudauthClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
CloudauthClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||||
CloudauthClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
CloudauthClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||||
@@ -102,36 +147,63 @@ namespace AlibabaCloud
|
|||||||
CreateAuthKeyOutcome createAuthKey(const Model::CreateAuthKeyRequest &request)const;
|
CreateAuthKeyOutcome createAuthKey(const Model::CreateAuthKeyRequest &request)const;
|
||||||
void createAuthKeyAsync(const Model::CreateAuthKeyRequest& request, const CreateAuthKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createAuthKeyAsync(const Model::CreateAuthKeyRequest& request, const CreateAuthKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateAuthKeyOutcomeCallable createAuthKeyCallable(const Model::CreateAuthKeyRequest& request) const;
|
CreateAuthKeyOutcomeCallable createAuthKeyCallable(const Model::CreateAuthKeyRequest& request) const;
|
||||||
|
CreateRPSDKOutcome createRPSDK(const Model::CreateRPSDKRequest &request)const;
|
||||||
|
void createRPSDKAsync(const Model::CreateRPSDKRequest& request, const CreateRPSDKAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateRPSDKOutcomeCallable createRPSDKCallable(const Model::CreateRPSDKRequest& request) const;
|
||||||
CreateVerifySDKOutcome createVerifySDK(const Model::CreateVerifySDKRequest &request)const;
|
CreateVerifySDKOutcome createVerifySDK(const Model::CreateVerifySDKRequest &request)const;
|
||||||
void createVerifySDKAsync(const Model::CreateVerifySDKRequest& request, const CreateVerifySDKAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createVerifySDKAsync(const Model::CreateVerifySDKRequest& request, const CreateVerifySDKAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateVerifySDKOutcomeCallable createVerifySDKCallable(const Model::CreateVerifySDKRequest& request) const;
|
CreateVerifySDKOutcomeCallable createVerifySDKCallable(const Model::CreateVerifySDKRequest& request) const;
|
||||||
|
CreateVerifySettingOutcome createVerifySetting(const Model::CreateVerifySettingRequest &request)const;
|
||||||
|
void createVerifySettingAsync(const Model::CreateVerifySettingRequest& request, const CreateVerifySettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateVerifySettingOutcomeCallable createVerifySettingCallable(const Model::CreateVerifySettingRequest& request) const;
|
||||||
DescribeDeviceInfoOutcome describeDeviceInfo(const Model::DescribeDeviceInfoRequest &request)const;
|
DescribeDeviceInfoOutcome describeDeviceInfo(const Model::DescribeDeviceInfoRequest &request)const;
|
||||||
void describeDeviceInfoAsync(const Model::DescribeDeviceInfoRequest& request, const DescribeDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeDeviceInfoAsync(const Model::DescribeDeviceInfoRequest& request, const DescribeDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeDeviceInfoOutcomeCallable describeDeviceInfoCallable(const Model::DescribeDeviceInfoRequest& request) const;
|
DescribeDeviceInfoOutcomeCallable describeDeviceInfoCallable(const Model::DescribeDeviceInfoRequest& request) const;
|
||||||
|
DescribeFaceUsageOutcome describeFaceUsage(const Model::DescribeFaceUsageRequest &request)const;
|
||||||
|
void describeFaceUsageAsync(const Model::DescribeFaceUsageRequest& request, const DescribeFaceUsageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeFaceUsageOutcomeCallable describeFaceUsageCallable(const Model::DescribeFaceUsageRequest& request) const;
|
||||||
|
DescribeOssUploadTokenOutcome describeOssUploadToken(const Model::DescribeOssUploadTokenRequest &request)const;
|
||||||
|
void describeOssUploadTokenAsync(const Model::DescribeOssUploadTokenRequest& request, const DescribeOssUploadTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeOssUploadTokenOutcomeCallable describeOssUploadTokenCallable(const Model::DescribeOssUploadTokenRequest& request) const;
|
||||||
|
DescribeRPSDKOutcome describeRPSDK(const Model::DescribeRPSDKRequest &request)const;
|
||||||
|
void describeRPSDKAsync(const Model::DescribeRPSDKRequest& request, const DescribeRPSDKAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeRPSDKOutcomeCallable describeRPSDKCallable(const Model::DescribeRPSDKRequest& request) const;
|
||||||
|
DescribeUploadInfoOutcome describeUploadInfo(const Model::DescribeUploadInfoRequest &request)const;
|
||||||
|
void describeUploadInfoAsync(const Model::DescribeUploadInfoRequest& request, const DescribeUploadInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeUploadInfoOutcomeCallable describeUploadInfoCallable(const Model::DescribeUploadInfoRequest& request) const;
|
||||||
|
DescribeUserStatusOutcome describeUserStatus(const Model::DescribeUserStatusRequest &request)const;
|
||||||
|
void describeUserStatusAsync(const Model::DescribeUserStatusRequest& request, const DescribeUserStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeUserStatusOutcomeCallable describeUserStatusCallable(const Model::DescribeUserStatusRequest& request) const;
|
||||||
|
DescribeVerifyRecordsOutcome describeVerifyRecords(const Model::DescribeVerifyRecordsRequest &request)const;
|
||||||
|
void describeVerifyRecordsAsync(const Model::DescribeVerifyRecordsRequest& request, const DescribeVerifyRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeVerifyRecordsOutcomeCallable describeVerifyRecordsCallable(const Model::DescribeVerifyRecordsRequest& request) const;
|
||||||
|
DescribeVerifyResultOutcome describeVerifyResult(const Model::DescribeVerifyResultRequest &request)const;
|
||||||
|
void describeVerifyResultAsync(const Model::DescribeVerifyResultRequest& request, const DescribeVerifyResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeVerifyResultOutcomeCallable describeVerifyResultCallable(const Model::DescribeVerifyResultRequest& request) const;
|
||||||
DescribeVerifySDKOutcome describeVerifySDK(const Model::DescribeVerifySDKRequest &request)const;
|
DescribeVerifySDKOutcome describeVerifySDK(const Model::DescribeVerifySDKRequest &request)const;
|
||||||
void describeVerifySDKAsync(const Model::DescribeVerifySDKRequest& request, const DescribeVerifySDKAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeVerifySDKAsync(const Model::DescribeVerifySDKRequest& request, const DescribeVerifySDKAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeVerifySDKOutcomeCallable describeVerifySDKCallable(const Model::DescribeVerifySDKRequest& request) const;
|
DescribeVerifySDKOutcomeCallable describeVerifySDKCallable(const Model::DescribeVerifySDKRequest& request) const;
|
||||||
|
DescribeVerifySettingOutcome describeVerifySetting(const Model::DescribeVerifySettingRequest &request)const;
|
||||||
|
void describeVerifySettingAsync(const Model::DescribeVerifySettingRequest& request, const DescribeVerifySettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeVerifySettingOutcomeCallable describeVerifySettingCallable(const Model::DescribeVerifySettingRequest& request) const;
|
||||||
|
DescribeVerifyTokenOutcome describeVerifyToken(const Model::DescribeVerifyTokenRequest &request)const;
|
||||||
|
void describeVerifyTokenAsync(const Model::DescribeVerifyTokenRequest& request, const DescribeVerifyTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeVerifyTokenOutcomeCallable describeVerifyTokenCallable(const Model::DescribeVerifyTokenRequest& request) const;
|
||||||
|
DescribeVerifyUsageOutcome describeVerifyUsage(const Model::DescribeVerifyUsageRequest &request)const;
|
||||||
|
void describeVerifyUsageAsync(const Model::DescribeVerifyUsageRequest& request, const DescribeVerifyUsageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeVerifyUsageOutcomeCallable describeVerifyUsageCallable(const Model::DescribeVerifyUsageRequest& request) const;
|
||||||
DetectFaceAttributesOutcome detectFaceAttributes(const Model::DetectFaceAttributesRequest &request)const;
|
DetectFaceAttributesOutcome detectFaceAttributes(const Model::DetectFaceAttributesRequest &request)const;
|
||||||
void detectFaceAttributesAsync(const Model::DetectFaceAttributesRequest& request, const DetectFaceAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void detectFaceAttributesAsync(const Model::DetectFaceAttributesRequest& request, const DetectFaceAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DetectFaceAttributesOutcomeCallable detectFaceAttributesCallable(const Model::DetectFaceAttributesRequest& request) const;
|
DetectFaceAttributesOutcomeCallable detectFaceAttributesCallable(const Model::DetectFaceAttributesRequest& request) const;
|
||||||
GetMaterialsOutcome getMaterials(const Model::GetMaterialsRequest &request)const;
|
|
||||||
void getMaterialsAsync(const Model::GetMaterialsRequest& request, const GetMaterialsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
||||||
GetMaterialsOutcomeCallable getMaterialsCallable(const Model::GetMaterialsRequest& request) const;
|
|
||||||
GetStatusOutcome getStatus(const Model::GetStatusRequest &request)const;
|
|
||||||
void getStatusAsync(const Model::GetStatusRequest& request, const GetStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
||||||
GetStatusOutcomeCallable getStatusCallable(const Model::GetStatusRequest& request) const;
|
|
||||||
GetVerifyTokenOutcome getVerifyToken(const Model::GetVerifyTokenRequest &request)const;
|
|
||||||
void getVerifyTokenAsync(const Model::GetVerifyTokenRequest& request, const GetVerifyTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
||||||
GetVerifyTokenOutcomeCallable getVerifyTokenCallable(const Model::GetVerifyTokenRequest& request) const;
|
|
||||||
ModifyDeviceInfoOutcome modifyDeviceInfo(const Model::ModifyDeviceInfoRequest &request)const;
|
ModifyDeviceInfoOutcome modifyDeviceInfo(const Model::ModifyDeviceInfoRequest &request)const;
|
||||||
void modifyDeviceInfoAsync(const Model::ModifyDeviceInfoRequest& request, const ModifyDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void modifyDeviceInfoAsync(const Model::ModifyDeviceInfoRequest& request, const ModifyDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ModifyDeviceInfoOutcomeCallable modifyDeviceInfoCallable(const Model::ModifyDeviceInfoRequest& request) const;
|
ModifyDeviceInfoOutcomeCallable modifyDeviceInfoCallable(const Model::ModifyDeviceInfoRequest& request) const;
|
||||||
SubmitMaterialsOutcome submitMaterials(const Model::SubmitMaterialsRequest &request)const;
|
UpdateVerifySettingOutcome updateVerifySetting(const Model::UpdateVerifySettingRequest &request)const;
|
||||||
void submitMaterialsAsync(const Model::SubmitMaterialsRequest& request, const SubmitMaterialsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void updateVerifySettingAsync(const Model::UpdateVerifySettingRequest& request, const UpdateVerifySettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
SubmitMaterialsOutcomeCallable submitMaterialsCallable(const Model::SubmitMaterialsRequest& request) const;
|
UpdateVerifySettingOutcomeCallable updateVerifySettingCallable(const Model::UpdateVerifySettingRequest& request) const;
|
||||||
SubmitVerificationOutcome submitVerification(const Model::SubmitVerificationRequest &request)const;
|
VerifyMaterialOutcome verifyMaterial(const Model::VerifyMaterialRequest &request)const;
|
||||||
void submitVerificationAsync(const Model::SubmitVerificationRequest& request, const SubmitVerificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void verifyMaterialAsync(const Model::VerifyMaterialRequest& request, const VerifyMaterialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
SubmitVerificationOutcomeCallable submitVerificationCallable(const Model::SubmitVerificationRequest& request) const;
|
VerifyMaterialOutcomeCallable verifyMaterialCallable(const Model::VerifyMaterialRequest& request) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_GETMATERIALSREQUEST_H_
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_CREATERPSDKREQUEST_H_
|
||||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_GETMATERIALSREQUEST_H_
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_CREATERPSDKREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,30 +28,30 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT GetMaterialsRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT CreateRPSDKRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GetMaterialsRequest();
|
CreateRPSDKRequest();
|
||||||
~GetMaterialsRequest();
|
~CreateRPSDKRequest();
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
std::string getAppUrl()const;
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
void setAppUrl(const std::string& appUrl);
|
||||||
std::string getBiz()const;
|
std::string getPlatform()const;
|
||||||
void setBiz(const std::string& biz);
|
void setPlatform(const std::string& platform);
|
||||||
std::string getSourceIp()const;
|
std::string getSourceIp()const;
|
||||||
void setSourceIp(const std::string& sourceIp);
|
void setSourceIp(const std::string& sourceIp);
|
||||||
std::string getTicketId()const;
|
std::string getLang()const;
|
||||||
void setTicketId(const std::string& ticketId);
|
void setLang(const std::string& lang);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long resourceOwnerId_;
|
std::string appUrl_;
|
||||||
std::string biz_;
|
std::string platform_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string ticketId_;
|
std::string lang_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_GETMATERIALSREQUEST_H_
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_CREATERPSDKREQUEST_H_
|
||||||
@@ -14,36 +14,38 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_DDS_MODEL_MODIFYREPLICAMODERESULT_H_
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_CREATERPSDKRESULT_H_
|
||||||
#define ALIBABACLOUD_DDS_MODEL_MODIFYREPLICAMODERESULT_H_
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_CREATERPSDKRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
#include <alibabacloud/dds/DdsExport.h>
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Dds
|
namespace Cloudauth
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_DDS_EXPORT ModifyReplicaModeResult : public ServiceResult
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT CreateRPSDKResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
ModifyReplicaModeResult();
|
CreateRPSDKResult();
|
||||||
explicit ModifyReplicaModeResult(const std::string &payload);
|
explicit CreateRPSDKResult(const std::string &payload);
|
||||||
~ModifyReplicaModeResult();
|
~CreateRPSDKResult();
|
||||||
|
std::string getTaskId()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
|
std::string taskId_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_DDS_MODEL_MODIFYREPLICAMODERESULT_H_
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_CREATERPSDKRESULT_H_
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_CREATEVERIFYSETTINGREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_CREATEVERIFYSETTINGREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT CreateVerifySettingRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateVerifySettingRequest();
|
||||||
|
~CreateVerifySettingRequest();
|
||||||
|
|
||||||
|
bool getGuideStep()const;
|
||||||
|
void setGuideStep(bool guideStep);
|
||||||
|
bool getResultStep()const;
|
||||||
|
void setResultStep(bool resultStep);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getSolution()const;
|
||||||
|
void setSolution(const std::string& solution);
|
||||||
|
std::string getBizName()const;
|
||||||
|
void setBizName(const std::string& bizName);
|
||||||
|
std::string getBizType()const;
|
||||||
|
void setBizType(const std::string& bizType);
|
||||||
|
bool getPrivacyStep()const;
|
||||||
|
void setPrivacyStep(bool privacyStep);
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool guideStep_;
|
||||||
|
bool resultStep_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string solution_;
|
||||||
|
std::string bizName_;
|
||||||
|
std::string bizType_;
|
||||||
|
bool privacyStep_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_CREATEVERIFYSETTINGREQUEST_H_
|
||||||
@@ -14,36 +14,44 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_DDS_MODEL_MODIFYREPLICARECOVERYMODERESULT_H_
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_CREATEVERIFYSETTINGRESULT_H_
|
||||||
#define ALIBABACLOUD_DDS_MODEL_MODIFYREPLICARECOVERYMODERESULT_H_
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_CREATEVERIFYSETTINGRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
#include <alibabacloud/dds/DdsExport.h>
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Dds
|
namespace Cloudauth
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_DDS_EXPORT ModifyReplicaRecoveryModeResult : public ServiceResult
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT CreateVerifySettingResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
ModifyReplicaRecoveryModeResult();
|
CreateVerifySettingResult();
|
||||||
explicit ModifyReplicaRecoveryModeResult(const std::string &payload);
|
explicit CreateVerifySettingResult(const std::string &payload);
|
||||||
~ModifyReplicaRecoveryModeResult();
|
~CreateVerifySettingResult();
|
||||||
|
std::vector<std::string> getStepList()const;
|
||||||
|
std::string getBizType()const;
|
||||||
|
std::string getBizName()const;
|
||||||
|
std::string getSolution()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
|
std::vector<std::string> stepList_;
|
||||||
|
std::string bizType_;
|
||||||
|
std::string bizName_;
|
||||||
|
std::string solution_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_DDS_MODEL_MODIFYREPLICARECOVERYMODERESULT_H_
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_CREATEVERIFYSETTINGRESULT_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_GETSTATUSREQUEST_H_
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEUSAGEREQUEST_H_
|
||||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_GETSTATUSREQUEST_H_
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEUSAGEREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,30 +28,27 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT GetStatusRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeFaceUsageRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GetStatusRequest();
|
DescribeFaceUsageRequest();
|
||||||
~GetStatusRequest();
|
~DescribeFaceUsageRequest();
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
std::string getStartDate()const;
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
void setStartDate(const std::string& startDate);
|
||||||
std::string getBiz()const;
|
std::string getEndDate()const;
|
||||||
void setBiz(const std::string& biz);
|
void setEndDate(const std::string& endDate);
|
||||||
std::string getSourceIp()const;
|
std::string getSourceIp()const;
|
||||||
void setSourceIp(const std::string& sourceIp);
|
void setSourceIp(const std::string& sourceIp);
|
||||||
std::string getTicketId()const;
|
|
||||||
void setTicketId(const std::string& ticketId);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long resourceOwnerId_;
|
std::string startDate_;
|
||||||
std::string biz_;
|
std::string endDate_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string ticketId_;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_GETSTATUSREQUEST_H_
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEUSAGEREQUEST_H_
|
||||||
@@ -14,43 +14,45 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_DDS_MODEL_DESCRIBEACTIVEOPERATIONTASKREGIONRESULT_H_
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEUSAGERESULT_H_
|
||||||
#define ALIBABACLOUD_DDS_MODEL_DESCRIBEACTIVEOPERATIONTASKREGIONRESULT_H_
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEUSAGERESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
#include <alibabacloud/dds/DdsExport.h>
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Dds
|
namespace Cloudauth
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_DDS_EXPORT DescribeActiveOperationTaskRegionResult : public ServiceResult
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeFaceUsageResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct Items
|
struct FaceUsage
|
||||||
{
|
{
|
||||||
std::string region;
|
long totalCount;
|
||||||
int count;
|
std::string date;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
DescribeActiveOperationTaskRegionResult();
|
DescribeFaceUsageResult();
|
||||||
explicit DescribeActiveOperationTaskRegionResult(const std::string &payload);
|
explicit DescribeFaceUsageResult(const std::string &payload);
|
||||||
~DescribeActiveOperationTaskRegionResult();
|
~DescribeFaceUsageResult();
|
||||||
std::vector<Items> getRegionList()const;
|
int getTotalCount()const;
|
||||||
|
std::vector<FaceUsage> getFaceUsageList()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
std::vector<Items> regionList_;
|
int totalCount_;
|
||||||
|
std::vector<FaceUsage> faceUsageList_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_DDS_MODEL_DESCRIBEACTIVEOPERATIONTASKREGIONRESULT_H_
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEUSAGERESULT_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITMATERIALSREQUEST_H_
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEOSSUPLOADTOKENREQUEST_H_
|
||||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITMATERIALSREQUEST_H_
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEOSSUPLOADTOKENREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,35 +28,21 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT SubmitMaterialsRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeOssUploadTokenRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
struct Material
|
|
||||||
{
|
|
||||||
std::string materialType;
|
|
||||||
std::string value;
|
|
||||||
};
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SubmitMaterialsRequest();
|
DescribeOssUploadTokenRequest();
|
||||||
~SubmitMaterialsRequest();
|
~DescribeOssUploadTokenRequest();
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
std::string getVerifyToken()const;
|
|
||||||
void setVerifyToken(const std::string& verifyToken);
|
|
||||||
std::string getSourceIp()const;
|
std::string getSourceIp()const;
|
||||||
void setSourceIp(const std::string& sourceIp);
|
void setSourceIp(const std::string& sourceIp);
|
||||||
std::vector<Material> getMaterial()const;
|
|
||||||
void setMaterial(const std::vector<Material>& material);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long resourceOwnerId_;
|
|
||||||
std::string verifyToken_;
|
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::vector<Material> material_;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITMATERIALSREQUEST_H_
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEOSSUPLOADTOKENREQUEST_H_
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEOSSUPLOADTOKENRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEOSSUPLOADTOKENRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeOssUploadTokenResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct OssUploadToken
|
||||||
|
{
|
||||||
|
std::string path;
|
||||||
|
std::string secret;
|
||||||
|
std::string bucket;
|
||||||
|
long expired;
|
||||||
|
std::string token;
|
||||||
|
std::string endPoint;
|
||||||
|
std::string key;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeOssUploadTokenResult();
|
||||||
|
explicit DescribeOssUploadTokenResult(const std::string &payload);
|
||||||
|
~DescribeOssUploadTokenResult();
|
||||||
|
OssUploadToken getOssUploadToken()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
OssUploadToken ossUploadToken_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEOSSUPLOADTOKENRESULT_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITVERIFICATIONREQUEST_H_
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBERPSDKREQUEST_H_
|
||||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITVERIFICATIONREQUEST_H_
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBERPSDKREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,38 +28,27 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT SubmitVerificationRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeRPSDKRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
struct Material
|
|
||||||
{
|
|
||||||
std::string materialType;
|
|
||||||
std::string value;
|
|
||||||
};
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SubmitVerificationRequest();
|
DescribeRPSDKRequest();
|
||||||
~SubmitVerificationRequest();
|
~DescribeRPSDKRequest();
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
std::string getBiz()const;
|
|
||||||
void setBiz(const std::string& biz);
|
|
||||||
std::string getSourceIp()const;
|
std::string getSourceIp()const;
|
||||||
void setSourceIp(const std::string& sourceIp);
|
void setSourceIp(const std::string& sourceIp);
|
||||||
std::vector<Material> getMaterial()const;
|
std::string getLang()const;
|
||||||
void setMaterial(const std::vector<Material>& material);
|
void setLang(const std::string& lang);
|
||||||
std::string getTicketId()const;
|
std::string getTaskId()const;
|
||||||
void setTicketId(const std::string& ticketId);
|
void setTaskId(const std::string& taskId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long resourceOwnerId_;
|
|
||||||
std::string biz_;
|
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::vector<Material> material_;
|
std::string lang_;
|
||||||
std::string ticketId_;
|
std::string taskId_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITVERIFICATIONREQUEST_H_
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBERPSDKREQUEST_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_CLOUDAUTH_MODEL_DESCRIBERPSDKRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBERPSDKRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeRPSDKResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DescribeRPSDKResult();
|
||||||
|
explicit DescribeRPSDKResult(const std::string &payload);
|
||||||
|
~DescribeRPSDKResult();
|
||||||
|
std::string getSdkUrl()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string sdkUrl_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBERPSDKRESULT_H_
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPLOADINFOREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPLOADINFOREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeUploadInfoRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeUploadInfoRequest();
|
||||||
|
~DescribeUploadInfoRequest();
|
||||||
|
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string sourceIp_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPLOADINFOREQUEST_H_
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPLOADINFORESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPLOADINFORESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeUploadInfoResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DescribeUploadInfoResult();
|
||||||
|
explicit DescribeUploadInfoResult(const std::string &payload);
|
||||||
|
~DescribeUploadInfoResult();
|
||||||
|
std::string getPolicy()const;
|
||||||
|
long getExpire()const;
|
||||||
|
std::string getAccessid()const;
|
||||||
|
std::string getSignature()const;
|
||||||
|
std::string getHost()const;
|
||||||
|
std::string getFolder()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string policy_;
|
||||||
|
long expire_;
|
||||||
|
std::string accessid_;
|
||||||
|
std::string signature_;
|
||||||
|
std::string host_;
|
||||||
|
std::string folder_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPLOADINFORESULT_H_
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUSERSTATUSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUSERSTATUSREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeUserStatusRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeUserStatusRequest();
|
||||||
|
~DescribeUserStatusRequest();
|
||||||
|
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string sourceIp_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUSERSTATUSREQUEST_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_CLOUDAUTH_MODEL_DESCRIBEUSERSTATUSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUSERSTATUSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeUserStatusResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DescribeUserStatusResult();
|
||||||
|
explicit DescribeUserStatusResult(const std::string &payload);
|
||||||
|
~DescribeUserStatusResult();
|
||||||
|
bool getEnabled()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
bool enabled_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUSERSTATUSRESULT_H_
|
||||||
@@ -0,0 +1,78 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRECORDSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRECORDSREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifyRecordsRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeVerifyRecordsRequest();
|
||||||
|
~DescribeVerifyRecordsRequest();
|
||||||
|
|
||||||
|
std::string getStatusList()const;
|
||||||
|
void setStatusList(const std::string& statusList);
|
||||||
|
std::string getStartDate()const;
|
||||||
|
void setStartDate(const std::string& startDate);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
int getPageSize()const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
int getTotalCount()const;
|
||||||
|
void setTotalCount(int totalCount);
|
||||||
|
int getCurrentPage()const;
|
||||||
|
void setCurrentPage(int currentPage);
|
||||||
|
std::string getQueryId()const;
|
||||||
|
void setQueryId(const std::string& queryId);
|
||||||
|
std::string getBizType()const;
|
||||||
|
void setBizType(const std::string& bizType);
|
||||||
|
std::string getIdCardNum()const;
|
||||||
|
void setIdCardNum(const std::string& idCardNum);
|
||||||
|
std::string getEndDate()const;
|
||||||
|
void setEndDate(const std::string& endDate);
|
||||||
|
std::string getBizId()const;
|
||||||
|
void setBizId(const std::string& bizId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string statusList_;
|
||||||
|
std::string startDate_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
int pageSize_;
|
||||||
|
int totalCount_;
|
||||||
|
int currentPage_;
|
||||||
|
std::string queryId_;
|
||||||
|
std::string bizType_;
|
||||||
|
std::string idCardNum_;
|
||||||
|
std::string endDate_;
|
||||||
|
std::string bizId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRECORDSREQUEST_H_
|
||||||
@@ -0,0 +1,91 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_CLOUDAUTH_MODEL_DESCRIBEVERIFYRECORDSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRECORDSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifyRecordsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Records
|
||||||
|
{
|
||||||
|
struct Material
|
||||||
|
{
|
||||||
|
struct IdCardInfo
|
||||||
|
{
|
||||||
|
std::string startDate;
|
||||||
|
std::string number;
|
||||||
|
std::string address;
|
||||||
|
std::string authority;
|
||||||
|
std::string sex;
|
||||||
|
std::string backImageUrl;
|
||||||
|
std::string frontImageUrl;
|
||||||
|
std::string birth;
|
||||||
|
std::string endDate;
|
||||||
|
std::string nationality;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
std::string idCardName;
|
||||||
|
std::string idCardNumber;
|
||||||
|
IdCardInfo idCardInfo;
|
||||||
|
std::string faceImageUrl;
|
||||||
|
};
|
||||||
|
int status;
|
||||||
|
long finishTime;
|
||||||
|
float authorityComparisonScore;
|
||||||
|
Material material;
|
||||||
|
std::string bizType;
|
||||||
|
std::string bizId;
|
||||||
|
std::string verifyId;
|
||||||
|
float idCardFaceComparisonScore;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeVerifyRecordsResult();
|
||||||
|
explicit DescribeVerifyRecordsResult(const std::string &payload);
|
||||||
|
~DescribeVerifyRecordsResult();
|
||||||
|
int getTotalCount()const;
|
||||||
|
int getPageSize()const;
|
||||||
|
int getCurrentPage()const;
|
||||||
|
std::vector<Records> getRecordsList()const;
|
||||||
|
std::string getQueryId()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int totalCount_;
|
||||||
|
int pageSize_;
|
||||||
|
int currentPage_;
|
||||||
|
std::vector<Records> recordsList_;
|
||||||
|
std::string queryId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRECORDSRESULT_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_CLOUDAUTH_MODEL_DESCRIBEVERIFYRESULTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRESULTREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifyResultRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeVerifyResultRequest();
|
||||||
|
~DescribeVerifyResultRequest();
|
||||||
|
|
||||||
|
std::string getBizType()const;
|
||||||
|
void setBizType(const std::string& bizType);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getBizId()const;
|
||||||
|
void setBizId(const std::string& bizId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string bizType_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string bizId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRESULTREQUEST_H_
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_CLOUDAUTH_MODEL_DESCRIBEVERIFYRESULTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRESULTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifyResultResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Material
|
||||||
|
{
|
||||||
|
struct IdCardInfo
|
||||||
|
{
|
||||||
|
std::string startDate;
|
||||||
|
std::string number;
|
||||||
|
std::string address;
|
||||||
|
std::string authority;
|
||||||
|
std::string sex;
|
||||||
|
std::string backImageUrl;
|
||||||
|
std::string frontImageUrl;
|
||||||
|
std::string birth;
|
||||||
|
std::string endDate;
|
||||||
|
std::string nationality;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
std::string idCardName;
|
||||||
|
std::string idCardNumber;
|
||||||
|
std::vector<std::string> videoUrls;
|
||||||
|
IdCardInfo idCardInfo;
|
||||||
|
std::string faceImageUrl;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeVerifyResultResult();
|
||||||
|
explicit DescribeVerifyResultResult(const std::string &payload);
|
||||||
|
~DescribeVerifyResultResult();
|
||||||
|
int getVerifyStatus()const;
|
||||||
|
Material getMaterial()const;
|
||||||
|
float getAuthorityComparisionScore()const;
|
||||||
|
float getFaceComparisonScore()const;
|
||||||
|
float getIdCardFaceComparisonScore()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int verifyStatus_;
|
||||||
|
Material material_;
|
||||||
|
float authorityComparisionScore_;
|
||||||
|
float faceComparisonScore_;
|
||||||
|
float idCardFaceComparisonScore_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRESULTRESULT_H_
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYSETTINGREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYSETTINGREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifySettingRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeVerifySettingRequest();
|
||||||
|
~DescribeVerifySettingRequest();
|
||||||
|
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string sourceIp_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYSETTINGREQUEST_H_
|
||||||
@@ -0,0 +1,58 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYSETTINGRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYSETTINGRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifySettingResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct VerifySetting
|
||||||
|
{
|
||||||
|
std::vector<std::string> stepList;
|
||||||
|
std::string bizType;
|
||||||
|
std::string bizName;
|
||||||
|
std::string solution;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeVerifySettingResult();
|
||||||
|
explicit DescribeVerifySettingResult(const std::string &payload);
|
||||||
|
~DescribeVerifySettingResult();
|
||||||
|
std::vector<VerifySetting> getVerifySettingList()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::vector<VerifySetting> verifySettingList_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYSETTINGRESULT_H_
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYTOKENREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYTOKENREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifyTokenRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeVerifyTokenRequest();
|
||||||
|
~DescribeVerifyTokenRequest();
|
||||||
|
|
||||||
|
std::string getFaceRetainedImageUrl()const;
|
||||||
|
void setFaceRetainedImageUrl(const std::string& faceRetainedImageUrl);
|
||||||
|
std::string getUserId()const;
|
||||||
|
void setUserId(const std::string& userId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getCallbackSeed()const;
|
||||||
|
void setCallbackSeed(const std::string& callbackSeed);
|
||||||
|
std::string getIdCardBackImageUrl()const;
|
||||||
|
void setIdCardBackImageUrl(const std::string& idCardBackImageUrl);
|
||||||
|
std::string getIdCardNumber()const;
|
||||||
|
void setIdCardNumber(const std::string& idCardNumber);
|
||||||
|
std::string getIdCardFrontImageUrl()const;
|
||||||
|
void setIdCardFrontImageUrl(const std::string& idCardFrontImageUrl);
|
||||||
|
std::string getBizType()const;
|
||||||
|
void setBizType(const std::string& bizType);
|
||||||
|
std::string getPassedRedirectUrl()const;
|
||||||
|
void setPassedRedirectUrl(const std::string& passedRedirectUrl);
|
||||||
|
std::string getBizId()const;
|
||||||
|
void setBizId(const std::string& bizId);
|
||||||
|
std::string getName()const;
|
||||||
|
void setName(const std::string& name);
|
||||||
|
std::string getCallbackUrl()const;
|
||||||
|
void setCallbackUrl(const std::string& callbackUrl);
|
||||||
|
std::string getFailedRedirectUrl()const;
|
||||||
|
void setFailedRedirectUrl(const std::string& failedRedirectUrl);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string faceRetainedImageUrl_;
|
||||||
|
std::string userId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string callbackSeed_;
|
||||||
|
std::string idCardBackImageUrl_;
|
||||||
|
std::string idCardNumber_;
|
||||||
|
std::string idCardFrontImageUrl_;
|
||||||
|
std::string bizType_;
|
||||||
|
std::string passedRedirectUrl_;
|
||||||
|
std::string bizId_;
|
||||||
|
std::string name_;
|
||||||
|
std::string callbackUrl_;
|
||||||
|
std::string failedRedirectUrl_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYTOKENREQUEST_H_
|
||||||
@@ -0,0 +1,65 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYTOKENRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYTOKENRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifyTokenResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct OssUploadToken
|
||||||
|
{
|
||||||
|
std::string path;
|
||||||
|
std::string secret;
|
||||||
|
std::string bucket;
|
||||||
|
long expired;
|
||||||
|
std::string token;
|
||||||
|
std::string endPoint;
|
||||||
|
std::string key;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeVerifyTokenResult();
|
||||||
|
explicit DescribeVerifyTokenResult(const std::string &payload);
|
||||||
|
~DescribeVerifyTokenResult();
|
||||||
|
std::string getVerifyPageUrl()const;
|
||||||
|
OssUploadToken getOssUploadToken()const;
|
||||||
|
std::string getVerifyToken()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string verifyPageUrl_;
|
||||||
|
OssUploadToken ossUploadToken_;
|
||||||
|
std::string verifyToken_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYTOKENRESULT_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_CLOUDAUTH_MODEL_DESCRIBEVERIFYUSAGEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYUSAGEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifyUsageRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeVerifyUsageRequest();
|
||||||
|
~DescribeVerifyUsageRequest();
|
||||||
|
|
||||||
|
std::string getStartDate()const;
|
||||||
|
void setStartDate(const std::string& startDate);
|
||||||
|
std::string getBizType()const;
|
||||||
|
void setBizType(const std::string& bizType);
|
||||||
|
std::string getEndDate()const;
|
||||||
|
void setEndDate(const std::string& endDate);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string startDate_;
|
||||||
|
std::string bizType_;
|
||||||
|
std::string endDate_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYUSAGEREQUEST_H_
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYUSAGERESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYUSAGERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifyUsageResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct VerifyUsage
|
||||||
|
{
|
||||||
|
long totalCount;
|
||||||
|
long failCount;
|
||||||
|
std::string bizType;
|
||||||
|
long passCount;
|
||||||
|
std::string date;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeVerifyUsageResult();
|
||||||
|
explicit DescribeVerifyUsageResult(const std::string &payload);
|
||||||
|
~DescribeVerifyUsageResult();
|
||||||
|
std::vector<VerifyUsage> getVerifyUsageList()const;
|
||||||
|
int getTotalCount()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::vector<VerifyUsage> verifyUsageList_;
|
||||||
|
int totalCount_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYUSAGERESULT_H_
|
||||||
@@ -1,72 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_CLOUDAUTH_MODEL_GETMATERIALSRESULT_H_
|
|
||||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_GETMATERIALSRESULT_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <utility>
|
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
|
||||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Cloudauth
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT GetMaterialsResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
struct Data
|
|
||||||
{
|
|
||||||
std::string facePic;
|
|
||||||
std::string identificationNumber;
|
|
||||||
std::string idCardStartDate;
|
|
||||||
std::string address;
|
|
||||||
std::string idCardFrontPic;
|
|
||||||
std::string ethnicGroup;
|
|
||||||
std::string authority;
|
|
||||||
std::string sex;
|
|
||||||
std::string idCardExpiry;
|
|
||||||
std::string idCardType;
|
|
||||||
std::string idCardBackPic;
|
|
||||||
std::string name;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
GetMaterialsResult();
|
|
||||||
explicit GetMaterialsResult(const std::string &payload);
|
|
||||||
~GetMaterialsResult();
|
|
||||||
std::string getMessage()const;
|
|
||||||
Data getData()const;
|
|
||||||
std::string getCode()const;
|
|
||||||
bool getSuccess()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
std::string message_;
|
|
||||||
Data data_;
|
|
||||||
std::string code_;
|
|
||||||
bool success_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_GETMATERIALSRESULT_H_
|
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_CLOUDAUTH_MODEL_GETVERIFYTOKENREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_GETVERIFYTOKENREQUEST_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
|
||||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Cloudauth
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT GetVerifyTokenRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
GetVerifyTokenRequest();
|
|
||||||
~GetVerifyTokenRequest();
|
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
std::string getBinding()const;
|
|
||||||
void setBinding(const std::string& binding);
|
|
||||||
std::string getVerifyConfigs()const;
|
|
||||||
void setVerifyConfigs(const std::string& verifyConfigs);
|
|
||||||
std::string getUserData()const;
|
|
||||||
void setUserData(const std::string& userData);
|
|
||||||
std::string getBiz()const;
|
|
||||||
void setBiz(const std::string& biz);
|
|
||||||
std::string getSourceIp()const;
|
|
||||||
void setSourceIp(const std::string& sourceIp);
|
|
||||||
std::string getTicketId()const;
|
|
||||||
void setTicketId(const std::string& ticketId);
|
|
||||||
|
|
||||||
private:
|
|
||||||
long resourceOwnerId_;
|
|
||||||
std::string binding_;
|
|
||||||
std::string verifyConfigs_;
|
|
||||||
std::string userData_;
|
|
||||||
std::string biz_;
|
|
||||||
std::string sourceIp_;
|
|
||||||
std::string ticketId_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_GETVERIFYTOKENREQUEST_H_
|
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_UPDATEVERIFYSETTINGREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_UPDATEVERIFYSETTINGREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT UpdateVerifySettingRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
UpdateVerifySettingRequest();
|
||||||
|
~UpdateVerifySettingRequest();
|
||||||
|
|
||||||
|
bool getGuideStep()const;
|
||||||
|
void setGuideStep(bool guideStep);
|
||||||
|
bool getResultStep()const;
|
||||||
|
void setResultStep(bool resultStep);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getSolution()const;
|
||||||
|
void setSolution(const std::string& solution);
|
||||||
|
std::string getBizName()const;
|
||||||
|
void setBizName(const std::string& bizName);
|
||||||
|
std::string getBizType()const;
|
||||||
|
void setBizType(const std::string& bizType);
|
||||||
|
bool getPrivacyStep()const;
|
||||||
|
void setPrivacyStep(bool privacyStep);
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool guideStep_;
|
||||||
|
bool resultStep_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string solution_;
|
||||||
|
std::string bizName_;
|
||||||
|
std::string bizType_;
|
||||||
|
bool privacyStep_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_UPDATEVERIFYSETTINGREQUEST_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_CLOUDAUTH_MODEL_UPDATEVERIFYSETTINGRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_UPDATEVERIFYSETTINGRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT UpdateVerifySettingResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
UpdateVerifySettingResult();
|
||||||
|
explicit UpdateVerifySettingResult(const std::string &payload);
|
||||||
|
~UpdateVerifySettingResult();
|
||||||
|
std::vector<std::string> getStepList()const;
|
||||||
|
std::string getBizType()const;
|
||||||
|
std::string getBizName()const;
|
||||||
|
std::string getSolution()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::vector<std::string> stepList_;
|
||||||
|
std::string bizType_;
|
||||||
|
std::string bizName_;
|
||||||
|
std::string solution_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_UPDATEVERIFYSETTINGRESULT_H_
|
||||||
@@ -0,0 +1,72 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_VERIFYMATERIALREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_VERIFYMATERIALREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT VerifyMaterialRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
VerifyMaterialRequest();
|
||||||
|
~VerifyMaterialRequest();
|
||||||
|
|
||||||
|
std::string getFaceImageUrl()const;
|
||||||
|
void setFaceImageUrl(const std::string& faceImageUrl);
|
||||||
|
std::string getUserId()const;
|
||||||
|
void setUserId(const std::string& userId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getIdCardBackImageUrl()const;
|
||||||
|
void setIdCardBackImageUrl(const std::string& idCardBackImageUrl);
|
||||||
|
std::string getIdCardNumber()const;
|
||||||
|
void setIdCardNumber(const std::string& idCardNumber);
|
||||||
|
std::string getIdCardFrontImageUrl()const;
|
||||||
|
void setIdCardFrontImageUrl(const std::string& idCardFrontImageUrl);
|
||||||
|
std::string getBizType()const;
|
||||||
|
void setBizType(const std::string& bizType);
|
||||||
|
std::string getBizId()const;
|
||||||
|
void setBizId(const std::string& bizId);
|
||||||
|
std::string getName()const;
|
||||||
|
void setName(const std::string& name);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string faceImageUrl_;
|
||||||
|
std::string userId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string idCardBackImageUrl_;
|
||||||
|
std::string idCardNumber_;
|
||||||
|
std::string idCardFrontImageUrl_;
|
||||||
|
std::string bizType_;
|
||||||
|
std::string bizId_;
|
||||||
|
std::string name_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_VERIFYMATERIALREQUEST_H_
|
||||||
@@ -0,0 +1,82 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_VERIFYMATERIALRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_VERIFYMATERIALRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT VerifyMaterialResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Material
|
||||||
|
{
|
||||||
|
struct IdCardInfo
|
||||||
|
{
|
||||||
|
std::string startDate;
|
||||||
|
std::string number;
|
||||||
|
std::string address;
|
||||||
|
std::string authority;
|
||||||
|
std::string sex;
|
||||||
|
std::string backImageUrl;
|
||||||
|
std::string frontImageUrl;
|
||||||
|
std::string birth;
|
||||||
|
std::string endDate;
|
||||||
|
std::string nationality;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
std::string idCardName;
|
||||||
|
std::string idCardNumber;
|
||||||
|
IdCardInfo idCardInfo;
|
||||||
|
std::string faceImageUrl;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
VerifyMaterialResult();
|
||||||
|
explicit VerifyMaterialResult(const std::string &payload);
|
||||||
|
~VerifyMaterialResult();
|
||||||
|
int getVerifyStatus()const;
|
||||||
|
Material getMaterial()const;
|
||||||
|
float getAuthorityComparisionScore()const;
|
||||||
|
std::string getVerifyToken()const;
|
||||||
|
float getFaceComparisonScore()const;
|
||||||
|
float getIdCardFaceComparisonScore()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int verifyStatus_;
|
||||||
|
Material material_;
|
||||||
|
float authorityComparisionScore_;
|
||||||
|
std::string verifyToken_;
|
||||||
|
float faceComparisonScore_;
|
||||||
|
float idCardFaceComparisonScore_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_VERIFYMATERIALRESULT_H_
|
||||||
@@ -123,6 +123,42 @@ CloudauthClient::CreateAuthKeyOutcomeCallable CloudauthClient::createAuthKeyCall
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CloudauthClient::CreateRPSDKOutcome CloudauthClient::createRPSDK(const CreateRPSDKRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return CreateRPSDKOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return CreateRPSDKOutcome(CreateRPSDKResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return CreateRPSDKOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CloudauthClient::createRPSDKAsync(const CreateRPSDKRequest& request, const CreateRPSDKAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, createRPSDK(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::CreateRPSDKOutcomeCallable CloudauthClient::createRPSDKCallable(const CreateRPSDKRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<CreateRPSDKOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->createRPSDK(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
CloudauthClient::CreateVerifySDKOutcome CloudauthClient::createVerifySDK(const CreateVerifySDKRequest &request) const
|
CloudauthClient::CreateVerifySDKOutcome CloudauthClient::createVerifySDK(const CreateVerifySDKRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -159,6 +195,42 @@ CloudauthClient::CreateVerifySDKOutcomeCallable CloudauthClient::createVerifySDK
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CloudauthClient::CreateVerifySettingOutcome CloudauthClient::createVerifySetting(const CreateVerifySettingRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return CreateVerifySettingOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return CreateVerifySettingOutcome(CreateVerifySettingResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return CreateVerifySettingOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CloudauthClient::createVerifySettingAsync(const CreateVerifySettingRequest& request, const CreateVerifySettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, createVerifySetting(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::CreateVerifySettingOutcomeCallable CloudauthClient::createVerifySettingCallable(const CreateVerifySettingRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<CreateVerifySettingOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->createVerifySetting(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
CloudauthClient::DescribeDeviceInfoOutcome CloudauthClient::describeDeviceInfo(const DescribeDeviceInfoRequest &request) const
|
CloudauthClient::DescribeDeviceInfoOutcome CloudauthClient::describeDeviceInfo(const DescribeDeviceInfoRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -195,6 +267,258 @@ CloudauthClient::DescribeDeviceInfoOutcomeCallable CloudauthClient::describeDevi
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeFaceUsageOutcome CloudauthClient::describeFaceUsage(const DescribeFaceUsageRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeFaceUsageOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeFaceUsageOutcome(DescribeFaceUsageResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeFaceUsageOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CloudauthClient::describeFaceUsageAsync(const DescribeFaceUsageRequest& request, const DescribeFaceUsageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeFaceUsage(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeFaceUsageOutcomeCallable CloudauthClient::describeFaceUsageCallable(const DescribeFaceUsageRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeFaceUsageOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeFaceUsage(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeOssUploadTokenOutcome CloudauthClient::describeOssUploadToken(const DescribeOssUploadTokenRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeOssUploadTokenOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeOssUploadTokenOutcome(DescribeOssUploadTokenResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeOssUploadTokenOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CloudauthClient::describeOssUploadTokenAsync(const DescribeOssUploadTokenRequest& request, const DescribeOssUploadTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeOssUploadToken(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeOssUploadTokenOutcomeCallable CloudauthClient::describeOssUploadTokenCallable(const DescribeOssUploadTokenRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeOssUploadTokenOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeOssUploadToken(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeRPSDKOutcome CloudauthClient::describeRPSDK(const DescribeRPSDKRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeRPSDKOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeRPSDKOutcome(DescribeRPSDKResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeRPSDKOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CloudauthClient::describeRPSDKAsync(const DescribeRPSDKRequest& request, const DescribeRPSDKAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeRPSDK(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeRPSDKOutcomeCallable CloudauthClient::describeRPSDKCallable(const DescribeRPSDKRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeRPSDKOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeRPSDK(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeUploadInfoOutcome CloudauthClient::describeUploadInfo(const DescribeUploadInfoRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeUploadInfoOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeUploadInfoOutcome(DescribeUploadInfoResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeUploadInfoOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CloudauthClient::describeUploadInfoAsync(const DescribeUploadInfoRequest& request, const DescribeUploadInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeUploadInfo(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeUploadInfoOutcomeCallable CloudauthClient::describeUploadInfoCallable(const DescribeUploadInfoRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeUploadInfoOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeUploadInfo(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeUserStatusOutcome CloudauthClient::describeUserStatus(const DescribeUserStatusRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeUserStatusOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeUserStatusOutcome(DescribeUserStatusResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeUserStatusOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CloudauthClient::describeUserStatusAsync(const DescribeUserStatusRequest& request, const DescribeUserStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeUserStatus(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeUserStatusOutcomeCallable CloudauthClient::describeUserStatusCallable(const DescribeUserStatusRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeUserStatusOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeUserStatus(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeVerifyRecordsOutcome CloudauthClient::describeVerifyRecords(const DescribeVerifyRecordsRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeVerifyRecordsOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeVerifyRecordsOutcome(DescribeVerifyRecordsResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeVerifyRecordsOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CloudauthClient::describeVerifyRecordsAsync(const DescribeVerifyRecordsRequest& request, const DescribeVerifyRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeVerifyRecords(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeVerifyRecordsOutcomeCallable CloudauthClient::describeVerifyRecordsCallable(const DescribeVerifyRecordsRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeVerifyRecordsOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeVerifyRecords(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeVerifyResultOutcome CloudauthClient::describeVerifyResult(const DescribeVerifyResultRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeVerifyResultOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeVerifyResultOutcome(DescribeVerifyResultResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeVerifyResultOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CloudauthClient::describeVerifyResultAsync(const DescribeVerifyResultRequest& request, const DescribeVerifyResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeVerifyResult(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeVerifyResultOutcomeCallable CloudauthClient::describeVerifyResultCallable(const DescribeVerifyResultRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeVerifyResultOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeVerifyResult(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
CloudauthClient::DescribeVerifySDKOutcome CloudauthClient::describeVerifySDK(const DescribeVerifySDKRequest &request) const
|
CloudauthClient::DescribeVerifySDKOutcome CloudauthClient::describeVerifySDK(const DescribeVerifySDKRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -231,6 +555,114 @@ CloudauthClient::DescribeVerifySDKOutcomeCallable CloudauthClient::describeVerif
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeVerifySettingOutcome CloudauthClient::describeVerifySetting(const DescribeVerifySettingRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeVerifySettingOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeVerifySettingOutcome(DescribeVerifySettingResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeVerifySettingOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CloudauthClient::describeVerifySettingAsync(const DescribeVerifySettingRequest& request, const DescribeVerifySettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeVerifySetting(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeVerifySettingOutcomeCallable CloudauthClient::describeVerifySettingCallable(const DescribeVerifySettingRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeVerifySettingOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeVerifySetting(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeVerifyTokenOutcome CloudauthClient::describeVerifyToken(const DescribeVerifyTokenRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeVerifyTokenOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeVerifyTokenOutcome(DescribeVerifyTokenResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeVerifyTokenOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CloudauthClient::describeVerifyTokenAsync(const DescribeVerifyTokenRequest& request, const DescribeVerifyTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeVerifyToken(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeVerifyTokenOutcomeCallable CloudauthClient::describeVerifyTokenCallable(const DescribeVerifyTokenRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeVerifyTokenOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeVerifyToken(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeVerifyUsageOutcome CloudauthClient::describeVerifyUsage(const DescribeVerifyUsageRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeVerifyUsageOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeVerifyUsageOutcome(DescribeVerifyUsageResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeVerifyUsageOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CloudauthClient::describeVerifyUsageAsync(const DescribeVerifyUsageRequest& request, const DescribeVerifyUsageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeVerifyUsage(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::DescribeVerifyUsageOutcomeCallable CloudauthClient::describeVerifyUsageCallable(const DescribeVerifyUsageRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeVerifyUsageOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeVerifyUsage(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
CloudauthClient::DetectFaceAttributesOutcome CloudauthClient::detectFaceAttributes(const DetectFaceAttributesRequest &request) const
|
CloudauthClient::DetectFaceAttributesOutcome CloudauthClient::detectFaceAttributes(const DetectFaceAttributesRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -267,114 +699,6 @@ CloudauthClient::DetectFaceAttributesOutcomeCallable CloudauthClient::detectFace
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
CloudauthClient::GetMaterialsOutcome CloudauthClient::getMaterials(const GetMaterialsRequest &request) const
|
|
||||||
{
|
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
|
||||||
if (!endpointOutcome.isSuccess())
|
|
||||||
return GetMaterialsOutcome(endpointOutcome.error());
|
|
||||||
|
|
||||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
|
||||||
|
|
||||||
if (outcome.isSuccess())
|
|
||||||
return GetMaterialsOutcome(GetMaterialsResult(outcome.result()));
|
|
||||||
else
|
|
||||||
return GetMaterialsOutcome(outcome.error());
|
|
||||||
}
|
|
||||||
|
|
||||||
void CloudauthClient::getMaterialsAsync(const GetMaterialsRequest& request, const GetMaterialsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
|
||||||
{
|
|
||||||
auto fn = [this, request, handler, context]()
|
|
||||||
{
|
|
||||||
handler(this, request, getMaterials(request), context);
|
|
||||||
};
|
|
||||||
|
|
||||||
asyncExecute(new Runnable(fn));
|
|
||||||
}
|
|
||||||
|
|
||||||
CloudauthClient::GetMaterialsOutcomeCallable CloudauthClient::getMaterialsCallable(const GetMaterialsRequest &request) const
|
|
||||||
{
|
|
||||||
auto task = std::make_shared<std::packaged_task<GetMaterialsOutcome()>>(
|
|
||||||
[this, request]()
|
|
||||||
{
|
|
||||||
return this->getMaterials(request);
|
|
||||||
});
|
|
||||||
|
|
||||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
|
||||||
return task->get_future();
|
|
||||||
}
|
|
||||||
|
|
||||||
CloudauthClient::GetStatusOutcome CloudauthClient::getStatus(const GetStatusRequest &request) const
|
|
||||||
{
|
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
|
||||||
if (!endpointOutcome.isSuccess())
|
|
||||||
return GetStatusOutcome(endpointOutcome.error());
|
|
||||||
|
|
||||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
|
||||||
|
|
||||||
if (outcome.isSuccess())
|
|
||||||
return GetStatusOutcome(GetStatusResult(outcome.result()));
|
|
||||||
else
|
|
||||||
return GetStatusOutcome(outcome.error());
|
|
||||||
}
|
|
||||||
|
|
||||||
void CloudauthClient::getStatusAsync(const GetStatusRequest& request, const GetStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
|
||||||
{
|
|
||||||
auto fn = [this, request, handler, context]()
|
|
||||||
{
|
|
||||||
handler(this, request, getStatus(request), context);
|
|
||||||
};
|
|
||||||
|
|
||||||
asyncExecute(new Runnable(fn));
|
|
||||||
}
|
|
||||||
|
|
||||||
CloudauthClient::GetStatusOutcomeCallable CloudauthClient::getStatusCallable(const GetStatusRequest &request) const
|
|
||||||
{
|
|
||||||
auto task = std::make_shared<std::packaged_task<GetStatusOutcome()>>(
|
|
||||||
[this, request]()
|
|
||||||
{
|
|
||||||
return this->getStatus(request);
|
|
||||||
});
|
|
||||||
|
|
||||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
|
||||||
return task->get_future();
|
|
||||||
}
|
|
||||||
|
|
||||||
CloudauthClient::GetVerifyTokenOutcome CloudauthClient::getVerifyToken(const GetVerifyTokenRequest &request) const
|
|
||||||
{
|
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
|
||||||
if (!endpointOutcome.isSuccess())
|
|
||||||
return GetVerifyTokenOutcome(endpointOutcome.error());
|
|
||||||
|
|
||||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
|
||||||
|
|
||||||
if (outcome.isSuccess())
|
|
||||||
return GetVerifyTokenOutcome(GetVerifyTokenResult(outcome.result()));
|
|
||||||
else
|
|
||||||
return GetVerifyTokenOutcome(outcome.error());
|
|
||||||
}
|
|
||||||
|
|
||||||
void CloudauthClient::getVerifyTokenAsync(const GetVerifyTokenRequest& request, const GetVerifyTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
|
||||||
{
|
|
||||||
auto fn = [this, request, handler, context]()
|
|
||||||
{
|
|
||||||
handler(this, request, getVerifyToken(request), context);
|
|
||||||
};
|
|
||||||
|
|
||||||
asyncExecute(new Runnable(fn));
|
|
||||||
}
|
|
||||||
|
|
||||||
CloudauthClient::GetVerifyTokenOutcomeCallable CloudauthClient::getVerifyTokenCallable(const GetVerifyTokenRequest &request) const
|
|
||||||
{
|
|
||||||
auto task = std::make_shared<std::packaged_task<GetVerifyTokenOutcome()>>(
|
|
||||||
[this, request]()
|
|
||||||
{
|
|
||||||
return this->getVerifyToken(request);
|
|
||||||
});
|
|
||||||
|
|
||||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
|
||||||
return task->get_future();
|
|
||||||
}
|
|
||||||
|
|
||||||
CloudauthClient::ModifyDeviceInfoOutcome CloudauthClient::modifyDeviceInfo(const ModifyDeviceInfoRequest &request) const
|
CloudauthClient::ModifyDeviceInfoOutcome CloudauthClient::modifyDeviceInfo(const ModifyDeviceInfoRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -411,72 +735,72 @@ CloudauthClient::ModifyDeviceInfoOutcomeCallable CloudauthClient::modifyDeviceIn
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
CloudauthClient::SubmitMaterialsOutcome CloudauthClient::submitMaterials(const SubmitMaterialsRequest &request) const
|
CloudauthClient::UpdateVerifySettingOutcome CloudauthClient::updateVerifySetting(const UpdateVerifySettingRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
if (!endpointOutcome.isSuccess())
|
if (!endpointOutcome.isSuccess())
|
||||||
return SubmitMaterialsOutcome(endpointOutcome.error());
|
return UpdateVerifySettingOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
if (outcome.isSuccess())
|
if (outcome.isSuccess())
|
||||||
return SubmitMaterialsOutcome(SubmitMaterialsResult(outcome.result()));
|
return UpdateVerifySettingOutcome(UpdateVerifySettingResult(outcome.result()));
|
||||||
else
|
else
|
||||||
return SubmitMaterialsOutcome(outcome.error());
|
return UpdateVerifySettingOutcome(outcome.error());
|
||||||
}
|
}
|
||||||
|
|
||||||
void CloudauthClient::submitMaterialsAsync(const SubmitMaterialsRequest& request, const SubmitMaterialsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
void CloudauthClient::updateVerifySettingAsync(const UpdateVerifySettingRequest& request, const UpdateVerifySettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
{
|
{
|
||||||
auto fn = [this, request, handler, context]()
|
auto fn = [this, request, handler, context]()
|
||||||
{
|
{
|
||||||
handler(this, request, submitMaterials(request), context);
|
handler(this, request, updateVerifySetting(request), context);
|
||||||
};
|
};
|
||||||
|
|
||||||
asyncExecute(new Runnable(fn));
|
asyncExecute(new Runnable(fn));
|
||||||
}
|
}
|
||||||
|
|
||||||
CloudauthClient::SubmitMaterialsOutcomeCallable CloudauthClient::submitMaterialsCallable(const SubmitMaterialsRequest &request) const
|
CloudauthClient::UpdateVerifySettingOutcomeCallable CloudauthClient::updateVerifySettingCallable(const UpdateVerifySettingRequest &request) const
|
||||||
{
|
{
|
||||||
auto task = std::make_shared<std::packaged_task<SubmitMaterialsOutcome()>>(
|
auto task = std::make_shared<std::packaged_task<UpdateVerifySettingOutcome()>>(
|
||||||
[this, request]()
|
[this, request]()
|
||||||
{
|
{
|
||||||
return this->submitMaterials(request);
|
return this->updateVerifySetting(request);
|
||||||
});
|
});
|
||||||
|
|
||||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
CloudauthClient::SubmitVerificationOutcome CloudauthClient::submitVerification(const SubmitVerificationRequest &request) const
|
CloudauthClient::VerifyMaterialOutcome CloudauthClient::verifyMaterial(const VerifyMaterialRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
if (!endpointOutcome.isSuccess())
|
if (!endpointOutcome.isSuccess())
|
||||||
return SubmitVerificationOutcome(endpointOutcome.error());
|
return VerifyMaterialOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
if (outcome.isSuccess())
|
if (outcome.isSuccess())
|
||||||
return SubmitVerificationOutcome(SubmitVerificationResult(outcome.result()));
|
return VerifyMaterialOutcome(VerifyMaterialResult(outcome.result()));
|
||||||
else
|
else
|
||||||
return SubmitVerificationOutcome(outcome.error());
|
return VerifyMaterialOutcome(outcome.error());
|
||||||
}
|
}
|
||||||
|
|
||||||
void CloudauthClient::submitVerificationAsync(const SubmitVerificationRequest& request, const SubmitVerificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
void CloudauthClient::verifyMaterialAsync(const VerifyMaterialRequest& request, const VerifyMaterialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
{
|
{
|
||||||
auto fn = [this, request, handler, context]()
|
auto fn = [this, request, handler, context]()
|
||||||
{
|
{
|
||||||
handler(this, request, submitVerification(request), context);
|
handler(this, request, verifyMaterial(request), context);
|
||||||
};
|
};
|
||||||
|
|
||||||
asyncExecute(new Runnable(fn));
|
asyncExecute(new Runnable(fn));
|
||||||
}
|
}
|
||||||
|
|
||||||
CloudauthClient::SubmitVerificationOutcomeCallable CloudauthClient::submitVerificationCallable(const SubmitVerificationRequest &request) const
|
CloudauthClient::VerifyMaterialOutcomeCallable CloudauthClient::verifyMaterialCallable(const VerifyMaterialRequest &request) const
|
||||||
{
|
{
|
||||||
auto task = std::make_shared<std::packaged_task<SubmitVerificationOutcome()>>(
|
auto task = std::make_shared<std::packaged_task<VerifyMaterialOutcome()>>(
|
||||||
[this, request]()
|
[this, request]()
|
||||||
{
|
{
|
||||||
return this->submitVerification(request);
|
return this->verifyMaterial(request);
|
||||||
});
|
});
|
||||||
|
|
||||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
|||||||
@@ -19,8 +19,10 @@
|
|||||||
using AlibabaCloud::Cloudauth::Model::CompareFacesRequest;
|
using AlibabaCloud::Cloudauth::Model::CompareFacesRequest;
|
||||||
|
|
||||||
CompareFacesRequest::CompareFacesRequest() :
|
CompareFacesRequest::CompareFacesRequest() :
|
||||||
RpcServiceRequest("cloudauth", "2018-09-16", "CompareFaces")
|
RpcServiceRequest("cloudauth", "2019-03-07", "CompareFaces")
|
||||||
{}
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
CompareFacesRequest::~CompareFacesRequest()
|
CompareFacesRequest::~CompareFacesRequest()
|
||||||
{}
|
{}
|
||||||
|
|||||||
@@ -19,8 +19,10 @@
|
|||||||
using AlibabaCloud::Cloudauth::Model::CreateAuthKeyRequest;
|
using AlibabaCloud::Cloudauth::Model::CreateAuthKeyRequest;
|
||||||
|
|
||||||
CreateAuthKeyRequest::CreateAuthKeyRequest() :
|
CreateAuthKeyRequest::CreateAuthKeyRequest() :
|
||||||
RpcServiceRequest("cloudauth", "2018-09-16", "CreateAuthKey")
|
RpcServiceRequest("cloudauth", "2019-03-07", "CreateAuthKey")
|
||||||
{}
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
CreateAuthKeyRequest::~CreateAuthKeyRequest()
|
CreateAuthKeyRequest::~CreateAuthKeyRequest()
|
||||||
{}
|
{}
|
||||||
|
|||||||
73
cloudauth/src/model/CreateRPSDKRequest.cc
Normal file
73
cloudauth/src/model/CreateRPSDKRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/CreateRPSDKRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Cloudauth::Model::CreateRPSDKRequest;
|
||||||
|
|
||||||
|
CreateRPSDKRequest::CreateRPSDKRequest() :
|
||||||
|
RpcServiceRequest("cloudauth", "2019-03-07", "CreateRPSDK")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateRPSDKRequest::~CreateRPSDKRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string CreateRPSDKRequest::getAppUrl()const
|
||||||
|
{
|
||||||
|
return appUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateRPSDKRequest::setAppUrl(const std::string& appUrl)
|
||||||
|
{
|
||||||
|
appUrl_ = appUrl;
|
||||||
|
setCoreParameter("AppUrl", appUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateRPSDKRequest::getPlatform()const
|
||||||
|
{
|
||||||
|
return platform_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateRPSDKRequest::setPlatform(const std::string& platform)
|
||||||
|
{
|
||||||
|
platform_ = platform;
|
||||||
|
setCoreParameter("Platform", platform);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateRPSDKRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateRPSDKRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setCoreParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateRPSDKRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateRPSDKRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setCoreParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
51
cloudauth/src/model/CreateRPSDKResult.cc
Normal file
51
cloudauth/src/model/CreateRPSDKResult.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/CreateRPSDKResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Cloudauth;
|
||||||
|
using namespace AlibabaCloud::Cloudauth::Model;
|
||||||
|
|
||||||
|
CreateRPSDKResult::CreateRPSDKResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CreateRPSDKResult::CreateRPSDKResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateRPSDKResult::~CreateRPSDKResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CreateRPSDKResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["TaskId"].isNull())
|
||||||
|
taskId_ = value["TaskId"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateRPSDKResult::getTaskId()const
|
||||||
|
{
|
||||||
|
return taskId_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -19,8 +19,10 @@
|
|||||||
using AlibabaCloud::Cloudauth::Model::CreateVerifySDKRequest;
|
using AlibabaCloud::Cloudauth::Model::CreateVerifySDKRequest;
|
||||||
|
|
||||||
CreateVerifySDKRequest::CreateVerifySDKRequest() :
|
CreateVerifySDKRequest::CreateVerifySDKRequest() :
|
||||||
RpcServiceRequest("cloudauth", "2018-09-16", "CreateVerifySDK")
|
RpcServiceRequest("cloudauth", "2019-03-07", "CreateVerifySDK")
|
||||||
{}
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
CreateVerifySDKRequest::~CreateVerifySDKRequest()
|
CreateVerifySDKRequest::~CreateVerifySDKRequest()
|
||||||
{}
|
{}
|
||||||
|
|||||||
106
cloudauth/src/model/CreateVerifySettingRequest.cc
Normal file
106
cloudauth/src/model/CreateVerifySettingRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/CreateVerifySettingRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Cloudauth::Model::CreateVerifySettingRequest;
|
||||||
|
|
||||||
|
CreateVerifySettingRequest::CreateVerifySettingRequest() :
|
||||||
|
RpcServiceRequest("cloudauth", "2019-03-07", "CreateVerifySetting")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateVerifySettingRequest::~CreateVerifySettingRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
bool CreateVerifySettingRequest::getGuideStep()const
|
||||||
|
{
|
||||||
|
return guideStep_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateVerifySettingRequest::setGuideStep(bool guideStep)
|
||||||
|
{
|
||||||
|
guideStep_ = guideStep;
|
||||||
|
setCoreParameter("GuideStep", guideStep ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
bool CreateVerifySettingRequest::getResultStep()const
|
||||||
|
{
|
||||||
|
return resultStep_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateVerifySettingRequest::setResultStep(bool resultStep)
|
||||||
|
{
|
||||||
|
resultStep_ = resultStep;
|
||||||
|
setCoreParameter("ResultStep", resultStep ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateVerifySettingRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateVerifySettingRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setCoreParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateVerifySettingRequest::getSolution()const
|
||||||
|
{
|
||||||
|
return solution_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateVerifySettingRequest::setSolution(const std::string& solution)
|
||||||
|
{
|
||||||
|
solution_ = solution;
|
||||||
|
setCoreParameter("Solution", solution);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateVerifySettingRequest::getBizName()const
|
||||||
|
{
|
||||||
|
return bizName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateVerifySettingRequest::setBizName(const std::string& bizName)
|
||||||
|
{
|
||||||
|
bizName_ = bizName;
|
||||||
|
setCoreParameter("BizName", bizName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateVerifySettingRequest::getBizType()const
|
||||||
|
{
|
||||||
|
return bizType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateVerifySettingRequest::setBizType(const std::string& bizType)
|
||||||
|
{
|
||||||
|
bizType_ = bizType;
|
||||||
|
setCoreParameter("BizType", bizType);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool CreateVerifySettingRequest::getPrivacyStep()const
|
||||||
|
{
|
||||||
|
return privacyStep_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateVerifySettingRequest::setPrivacyStep(bool privacyStep)
|
||||||
|
{
|
||||||
|
privacyStep_ = privacyStep;
|
||||||
|
setCoreParameter("PrivacyStep", privacyStep ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
73
cloudauth/src/model/CreateVerifySettingResult.cc
Normal file
73
cloudauth/src/model/CreateVerifySettingResult.cc
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/CreateVerifySettingResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Cloudauth;
|
||||||
|
using namespace AlibabaCloud::Cloudauth::Model;
|
||||||
|
|
||||||
|
CreateVerifySettingResult::CreateVerifySettingResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CreateVerifySettingResult::CreateVerifySettingResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateVerifySettingResult::~CreateVerifySettingResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CreateVerifySettingResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allStepList = value["StepList"]["Step"];
|
||||||
|
for (const auto &item : allStepList)
|
||||||
|
stepList_.push_back(item.asString());
|
||||||
|
if(!value["BizType"].isNull())
|
||||||
|
bizType_ = value["BizType"].asString();
|
||||||
|
if(!value["BizName"].isNull())
|
||||||
|
bizName_ = value["BizName"].asString();
|
||||||
|
if(!value["Solution"].isNull())
|
||||||
|
solution_ = value["Solution"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> CreateVerifySettingResult::getStepList()const
|
||||||
|
{
|
||||||
|
return stepList_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateVerifySettingResult::getBizType()const
|
||||||
|
{
|
||||||
|
return bizType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateVerifySettingResult::getBizName()const
|
||||||
|
{
|
||||||
|
return bizName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateVerifySettingResult::getSolution()const
|
||||||
|
{
|
||||||
|
return solution_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -19,8 +19,10 @@
|
|||||||
using AlibabaCloud::Cloudauth::Model::DescribeDeviceInfoRequest;
|
using AlibabaCloud::Cloudauth::Model::DescribeDeviceInfoRequest;
|
||||||
|
|
||||||
DescribeDeviceInfoRequest::DescribeDeviceInfoRequest() :
|
DescribeDeviceInfoRequest::DescribeDeviceInfoRequest() :
|
||||||
RpcServiceRequest("cloudauth", "2018-09-16", "DescribeDeviceInfo")
|
RpcServiceRequest("cloudauth", "2019-03-07", "DescribeDeviceInfo")
|
||||||
{}
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
DescribeDeviceInfoRequest::~DescribeDeviceInfoRequest()
|
DescribeDeviceInfoRequest::~DescribeDeviceInfoRequest()
|
||||||
{}
|
{}
|
||||||
|
|||||||
62
cloudauth/src/model/DescribeFaceUsageRequest.cc
Normal file
62
cloudauth/src/model/DescribeFaceUsageRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeFaceUsageRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Cloudauth::Model::DescribeFaceUsageRequest;
|
||||||
|
|
||||||
|
DescribeFaceUsageRequest::DescribeFaceUsageRequest() :
|
||||||
|
RpcServiceRequest("cloudauth", "2019-03-07", "DescribeFaceUsage")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeFaceUsageRequest::~DescribeFaceUsageRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeFaceUsageRequest::getStartDate()const
|
||||||
|
{
|
||||||
|
return startDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeFaceUsageRequest::setStartDate(const std::string& startDate)
|
||||||
|
{
|
||||||
|
startDate_ = startDate;
|
||||||
|
setCoreParameter("StartDate", startDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeFaceUsageRequest::getEndDate()const
|
||||||
|
{
|
||||||
|
return endDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeFaceUsageRequest::setEndDate(const std::string& endDate)
|
||||||
|
{
|
||||||
|
endDate_ = endDate;
|
||||||
|
setCoreParameter("EndDate", endDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeFaceUsageRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeFaceUsageRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setCoreParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
66
cloudauth/src/model/DescribeFaceUsageResult.cc
Normal file
66
cloudauth/src/model/DescribeFaceUsageResult.cc
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeFaceUsageResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Cloudauth;
|
||||||
|
using namespace AlibabaCloud::Cloudauth::Model;
|
||||||
|
|
||||||
|
DescribeFaceUsageResult::DescribeFaceUsageResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeFaceUsageResult::DescribeFaceUsageResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeFaceUsageResult::~DescribeFaceUsageResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeFaceUsageResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allFaceUsageListNode = value["FaceUsageList"]["FaceUsage"];
|
||||||
|
for (auto valueFaceUsageListFaceUsage : allFaceUsageListNode)
|
||||||
|
{
|
||||||
|
FaceUsage faceUsageListObject;
|
||||||
|
if(!valueFaceUsageListFaceUsage["Date"].isNull())
|
||||||
|
faceUsageListObject.date = valueFaceUsageListFaceUsage["Date"].asString();
|
||||||
|
if(!valueFaceUsageListFaceUsage["TotalCount"].isNull())
|
||||||
|
faceUsageListObject.totalCount = std::stol(valueFaceUsageListFaceUsage["TotalCount"].asString());
|
||||||
|
faceUsageList_.push_back(faceUsageListObject);
|
||||||
|
}
|
||||||
|
if(!value["TotalCount"].isNull())
|
||||||
|
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeFaceUsageResult::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeFaceUsageResult::FaceUsage> DescribeFaceUsageResult::getFaceUsageList()const
|
||||||
|
{
|
||||||
|
return faceUsageList_;
|
||||||
|
}
|
||||||
|
|
||||||
40
cloudauth/src/model/DescribeOssUploadTokenRequest.cc
Normal file
40
cloudauth/src/model/DescribeOssUploadTokenRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeOssUploadTokenRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Cloudauth::Model::DescribeOssUploadTokenRequest;
|
||||||
|
|
||||||
|
DescribeOssUploadTokenRequest::DescribeOssUploadTokenRequest() :
|
||||||
|
RpcServiceRequest("cloudauth", "2019-03-07", "DescribeOssUploadToken")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeOssUploadTokenRequest::~DescribeOssUploadTokenRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeOssUploadTokenRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeOssUploadTokenRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setCoreParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
64
cloudauth/src/model/DescribeOssUploadTokenResult.cc
Normal file
64
cloudauth/src/model/DescribeOssUploadTokenResult.cc
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeOssUploadTokenResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Cloudauth;
|
||||||
|
using namespace AlibabaCloud::Cloudauth::Model;
|
||||||
|
|
||||||
|
DescribeOssUploadTokenResult::DescribeOssUploadTokenResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeOssUploadTokenResult::DescribeOssUploadTokenResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeOssUploadTokenResult::~DescribeOssUploadTokenResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeOssUploadTokenResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto ossUploadTokenNode = value["OssUploadToken"];
|
||||||
|
if(!ossUploadTokenNode["Bucket"].isNull())
|
||||||
|
ossUploadToken_.bucket = ossUploadTokenNode["Bucket"].asString();
|
||||||
|
if(!ossUploadTokenNode["EndPoint"].isNull())
|
||||||
|
ossUploadToken_.endPoint = ossUploadTokenNode["EndPoint"].asString();
|
||||||
|
if(!ossUploadTokenNode["Path"].isNull())
|
||||||
|
ossUploadToken_.path = ossUploadTokenNode["Path"].asString();
|
||||||
|
if(!ossUploadTokenNode["Expired"].isNull())
|
||||||
|
ossUploadToken_.expired = std::stol(ossUploadTokenNode["Expired"].asString());
|
||||||
|
if(!ossUploadTokenNode["Secret"].isNull())
|
||||||
|
ossUploadToken_.secret = ossUploadTokenNode["Secret"].asString();
|
||||||
|
if(!ossUploadTokenNode["Key"].isNull())
|
||||||
|
ossUploadToken_.key = ossUploadTokenNode["Key"].asString();
|
||||||
|
if(!ossUploadTokenNode["Token"].isNull())
|
||||||
|
ossUploadToken_.token = ossUploadTokenNode["Token"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeOssUploadTokenResult::OssUploadToken DescribeOssUploadTokenResult::getOssUploadToken()const
|
||||||
|
{
|
||||||
|
return ossUploadToken_;
|
||||||
|
}
|
||||||
|
|
||||||
62
cloudauth/src/model/DescribeRPSDKRequest.cc
Normal file
62
cloudauth/src/model/DescribeRPSDKRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeRPSDKRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Cloudauth::Model::DescribeRPSDKRequest;
|
||||||
|
|
||||||
|
DescribeRPSDKRequest::DescribeRPSDKRequest() :
|
||||||
|
RpcServiceRequest("cloudauth", "2019-03-07", "DescribeRPSDK")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeRPSDKRequest::~DescribeRPSDKRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeRPSDKRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRPSDKRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setCoreParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRPSDKRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRPSDKRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setCoreParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRPSDKRequest::getTaskId()const
|
||||||
|
{
|
||||||
|
return taskId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRPSDKRequest::setTaskId(const std::string& taskId)
|
||||||
|
{
|
||||||
|
taskId_ = taskId;
|
||||||
|
setCoreParameter("TaskId", taskId);
|
||||||
|
}
|
||||||
|
|
||||||
51
cloudauth/src/model/DescribeRPSDKResult.cc
Normal file
51
cloudauth/src/model/DescribeRPSDKResult.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeRPSDKResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Cloudauth;
|
||||||
|
using namespace AlibabaCloud::Cloudauth::Model;
|
||||||
|
|
||||||
|
DescribeRPSDKResult::DescribeRPSDKResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeRPSDKResult::DescribeRPSDKResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeRPSDKResult::~DescribeRPSDKResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeRPSDKResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["SdkUrl"].isNull())
|
||||||
|
sdkUrl_ = value["SdkUrl"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRPSDKResult::getSdkUrl()const
|
||||||
|
{
|
||||||
|
return sdkUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
40
cloudauth/src/model/DescribeUploadInfoRequest.cc
Normal file
40
cloudauth/src/model/DescribeUploadInfoRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeUploadInfoRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Cloudauth::Model::DescribeUploadInfoRequest;
|
||||||
|
|
||||||
|
DescribeUploadInfoRequest::DescribeUploadInfoRequest() :
|
||||||
|
RpcServiceRequest("cloudauth", "2019-03-07", "DescribeUploadInfo")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeUploadInfoRequest::~DescribeUploadInfoRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeUploadInfoRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUploadInfoRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setCoreParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
86
cloudauth/src/model/DescribeUploadInfoResult.cc
Normal file
86
cloudauth/src/model/DescribeUploadInfoResult.cc
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeUploadInfoResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Cloudauth;
|
||||||
|
using namespace AlibabaCloud::Cloudauth::Model;
|
||||||
|
|
||||||
|
DescribeUploadInfoResult::DescribeUploadInfoResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeUploadInfoResult::DescribeUploadInfoResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeUploadInfoResult::~DescribeUploadInfoResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeUploadInfoResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["Accessid"].isNull())
|
||||||
|
accessid_ = value["Accessid"].asString();
|
||||||
|
if(!value["Policy"].isNull())
|
||||||
|
policy_ = value["Policy"].asString();
|
||||||
|
if(!value["Signature"].isNull())
|
||||||
|
signature_ = value["Signature"].asString();
|
||||||
|
if(!value["Folder"].isNull())
|
||||||
|
folder_ = value["Folder"].asString();
|
||||||
|
if(!value["Host"].isNull())
|
||||||
|
host_ = value["Host"].asString();
|
||||||
|
if(!value["Expire"].isNull())
|
||||||
|
expire_ = std::stol(value["Expire"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeUploadInfoResult::getPolicy()const
|
||||||
|
{
|
||||||
|
return policy_;
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeUploadInfoResult::getExpire()const
|
||||||
|
{
|
||||||
|
return expire_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeUploadInfoResult::getAccessid()const
|
||||||
|
{
|
||||||
|
return accessid_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeUploadInfoResult::getSignature()const
|
||||||
|
{
|
||||||
|
return signature_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeUploadInfoResult::getHost()const
|
||||||
|
{
|
||||||
|
return host_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeUploadInfoResult::getFolder()const
|
||||||
|
{
|
||||||
|
return folder_;
|
||||||
|
}
|
||||||
|
|
||||||
40
cloudauth/src/model/DescribeUserStatusRequest.cc
Normal file
40
cloudauth/src/model/DescribeUserStatusRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeUserStatusRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Cloudauth::Model::DescribeUserStatusRequest;
|
||||||
|
|
||||||
|
DescribeUserStatusRequest::DescribeUserStatusRequest() :
|
||||||
|
RpcServiceRequest("cloudauth", "2019-03-07", "DescribeUserStatus")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeUserStatusRequest::~DescribeUserStatusRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeUserStatusRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUserStatusRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setCoreParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
51
cloudauth/src/model/DescribeUserStatusResult.cc
Normal file
51
cloudauth/src/model/DescribeUserStatusResult.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeUserStatusResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Cloudauth;
|
||||||
|
using namespace AlibabaCloud::Cloudauth::Model;
|
||||||
|
|
||||||
|
DescribeUserStatusResult::DescribeUserStatusResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeUserStatusResult::DescribeUserStatusResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeUserStatusResult::~DescribeUserStatusResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeUserStatusResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["Enabled"].isNull())
|
||||||
|
enabled_ = value["Enabled"].asString() == "true";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
bool DescribeUserStatusResult::getEnabled()const
|
||||||
|
{
|
||||||
|
return enabled_;
|
||||||
|
}
|
||||||
|
|
||||||
150
cloudauth/src/model/DescribeVerifyRecordsRequest.cc
Normal file
150
cloudauth/src/model/DescribeVerifyRecordsRequest.cc
Normal file
@@ -0,0 +1,150 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/cloudauth/model/DescribeVerifyRecordsRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Cloudauth::Model::DescribeVerifyRecordsRequest;
|
||||||
|
|
||||||
|
DescribeVerifyRecordsRequest::DescribeVerifyRecordsRequest() :
|
||||||
|
RpcServiceRequest("cloudauth", "2019-03-07", "DescribeVerifyRecords")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeVerifyRecordsRequest::~DescribeVerifyRecordsRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeVerifyRecordsRequest::getStatusList()const
|
||||||
|
{
|
||||||
|
return statusList_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyRecordsRequest::setStatusList(const std::string& statusList)
|
||||||
|
{
|
||||||
|
statusList_ = statusList;
|
||||||
|
setCoreParameter("StatusList", statusList);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyRecordsRequest::getStartDate()const
|
||||||
|
{
|
||||||
|
return startDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyRecordsRequest::setStartDate(const std::string& startDate)
|
||||||
|
{
|
||||||
|
startDate_ = startDate;
|
||||||
|
setCoreParameter("StartDate", startDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyRecordsRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyRecordsRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setCoreParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeVerifyRecordsRequest::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyRecordsRequest::setPageSize(int pageSize)
|
||||||
|
{
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeVerifyRecordsRequest::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyRecordsRequest::setTotalCount(int totalCount)
|
||||||
|
{
|
||||||
|
totalCount_ = totalCount;
|
||||||
|
setCoreParameter("TotalCount", std::to_string(totalCount));
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeVerifyRecordsRequest::getCurrentPage()const
|
||||||
|
{
|
||||||
|
return currentPage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyRecordsRequest::setCurrentPage(int currentPage)
|
||||||
|
{
|
||||||
|
currentPage_ = currentPage;
|
||||||
|
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyRecordsRequest::getQueryId()const
|
||||||
|
{
|
||||||
|
return queryId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyRecordsRequest::setQueryId(const std::string& queryId)
|
||||||
|
{
|
||||||
|
queryId_ = queryId;
|
||||||
|
setCoreParameter("QueryId", queryId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyRecordsRequest::getBizType()const
|
||||||
|
{
|
||||||
|
return bizType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyRecordsRequest::setBizType(const std::string& bizType)
|
||||||
|
{
|
||||||
|
bizType_ = bizType;
|
||||||
|
setCoreParameter("BizType", bizType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyRecordsRequest::getIdCardNum()const
|
||||||
|
{
|
||||||
|
return idCardNum_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyRecordsRequest::setIdCardNum(const std::string& idCardNum)
|
||||||
|
{
|
||||||
|
idCardNum_ = idCardNum;
|
||||||
|
setCoreParameter("IdCardNum", idCardNum);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyRecordsRequest::getEndDate()const
|
||||||
|
{
|
||||||
|
return endDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyRecordsRequest::setEndDate(const std::string& endDate)
|
||||||
|
{
|
||||||
|
endDate_ = endDate;
|
||||||
|
setCoreParameter("EndDate", endDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyRecordsRequest::getBizId()const
|
||||||
|
{
|
||||||
|
return bizId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyRecordsRequest::setBizId(const std::string& bizId)
|
||||||
|
{
|
||||||
|
bizId_ = bizId;
|
||||||
|
setCoreParameter("BizId", bizId);
|
||||||
|
}
|
||||||
|
|
||||||
127
cloudauth/src/model/DescribeVerifyRecordsResult.cc
Normal file
127
cloudauth/src/model/DescribeVerifyRecordsResult.cc
Normal file
@@ -0,0 +1,127 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/cloudauth/model/DescribeVerifyRecordsResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Cloudauth;
|
||||||
|
using namespace AlibabaCloud::Cloudauth::Model;
|
||||||
|
|
||||||
|
DescribeVerifyRecordsResult::DescribeVerifyRecordsResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeVerifyRecordsResult::DescribeVerifyRecordsResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeVerifyRecordsResult::~DescribeVerifyRecordsResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeVerifyRecordsResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allRecordsListNode = value["RecordsList"]["Records"];
|
||||||
|
for (auto valueRecordsListRecords : allRecordsListNode)
|
||||||
|
{
|
||||||
|
Records recordsListObject;
|
||||||
|
if(!valueRecordsListRecords["BizType"].isNull())
|
||||||
|
recordsListObject.bizType = valueRecordsListRecords["BizType"].asString();
|
||||||
|
if(!valueRecordsListRecords["BizId"].isNull())
|
||||||
|
recordsListObject.bizId = valueRecordsListRecords["BizId"].asString();
|
||||||
|
if(!valueRecordsListRecords["VerifyId"].isNull())
|
||||||
|
recordsListObject.verifyId = valueRecordsListRecords["VerifyId"].asString();
|
||||||
|
if(!valueRecordsListRecords["FinishTime"].isNull())
|
||||||
|
recordsListObject.finishTime = std::stol(valueRecordsListRecords["FinishTime"].asString());
|
||||||
|
if(!valueRecordsListRecords["Status"].isNull())
|
||||||
|
recordsListObject.status = std::stoi(valueRecordsListRecords["Status"].asString());
|
||||||
|
if(!valueRecordsListRecords["IdCardFaceComparisonScore"].isNull())
|
||||||
|
recordsListObject.idCardFaceComparisonScore = std::stof(valueRecordsListRecords["IdCardFaceComparisonScore"].asString());
|
||||||
|
if(!valueRecordsListRecords["AuthorityComparisonScore"].isNull())
|
||||||
|
recordsListObject.authorityComparisonScore = std::stof(valueRecordsListRecords["AuthorityComparisonScore"].asString());
|
||||||
|
auto materialNode = value["Material"];
|
||||||
|
if(!materialNode["FaceImageUrl"].isNull())
|
||||||
|
recordsListObject.material.faceImageUrl = materialNode["FaceImageUrl"].asString();
|
||||||
|
if(!materialNode["IdCardName"].isNull())
|
||||||
|
recordsListObject.material.idCardName = materialNode["IdCardName"].asString();
|
||||||
|
if(!materialNode["IdCardNumber"].isNull())
|
||||||
|
recordsListObject.material.idCardNumber = materialNode["IdCardNumber"].asString();
|
||||||
|
auto idCardInfoNode = materialNode["IdCardInfo"];
|
||||||
|
if(!idCardInfoNode["FrontImageUrl"].isNull())
|
||||||
|
recordsListObject.material.idCardInfo.frontImageUrl = idCardInfoNode["FrontImageUrl"].asString();
|
||||||
|
if(!idCardInfoNode["BackImageUrl"].isNull())
|
||||||
|
recordsListObject.material.idCardInfo.backImageUrl = idCardInfoNode["BackImageUrl"].asString();
|
||||||
|
if(!idCardInfoNode["Name"].isNull())
|
||||||
|
recordsListObject.material.idCardInfo.name = idCardInfoNode["Name"].asString();
|
||||||
|
if(!idCardInfoNode["Number"].isNull())
|
||||||
|
recordsListObject.material.idCardInfo.number = idCardInfoNode["Number"].asString();
|
||||||
|
if(!idCardInfoNode["Address"].isNull())
|
||||||
|
recordsListObject.material.idCardInfo.address = idCardInfoNode["Address"].asString();
|
||||||
|
if(!idCardInfoNode["Birth"].isNull())
|
||||||
|
recordsListObject.material.idCardInfo.birth = idCardInfoNode["Birth"].asString();
|
||||||
|
if(!idCardInfoNode["Sex"].isNull())
|
||||||
|
recordsListObject.material.idCardInfo.sex = idCardInfoNode["Sex"].asString();
|
||||||
|
if(!idCardInfoNode["Nationality"].isNull())
|
||||||
|
recordsListObject.material.idCardInfo.nationality = idCardInfoNode["Nationality"].asString();
|
||||||
|
if(!idCardInfoNode["Authority"].isNull())
|
||||||
|
recordsListObject.material.idCardInfo.authority = idCardInfoNode["Authority"].asString();
|
||||||
|
if(!idCardInfoNode["StartDate"].isNull())
|
||||||
|
recordsListObject.material.idCardInfo.startDate = idCardInfoNode["StartDate"].asString();
|
||||||
|
if(!idCardInfoNode["EndDate"].isNull())
|
||||||
|
recordsListObject.material.idCardInfo.endDate = idCardInfoNode["EndDate"].asString();
|
||||||
|
recordsList_.push_back(recordsListObject);
|
||||||
|
}
|
||||||
|
if(!value["TotalCount"].isNull())
|
||||||
|
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||||
|
if(!value["PageSize"].isNull())
|
||||||
|
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||||
|
if(!value["CurrentPage"].isNull())
|
||||||
|
currentPage_ = std::stoi(value["CurrentPage"].asString());
|
||||||
|
if(!value["QueryId"].isNull())
|
||||||
|
queryId_ = value["QueryId"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeVerifyRecordsResult::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeVerifyRecordsResult::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeVerifyRecordsResult::getCurrentPage()const
|
||||||
|
{
|
||||||
|
return currentPage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeVerifyRecordsResult::Records> DescribeVerifyRecordsResult::getRecordsList()const
|
||||||
|
{
|
||||||
|
return recordsList_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyRecordsResult::getQueryId()const
|
||||||
|
{
|
||||||
|
return queryId_;
|
||||||
|
}
|
||||||
|
|
||||||
62
cloudauth/src/model/DescribeVerifyResultRequest.cc
Normal file
62
cloudauth/src/model/DescribeVerifyResultRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeVerifyResultRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Cloudauth::Model::DescribeVerifyResultRequest;
|
||||||
|
|
||||||
|
DescribeVerifyResultRequest::DescribeVerifyResultRequest() :
|
||||||
|
RpcServiceRequest("cloudauth", "2019-03-07", "DescribeVerifyResult")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeVerifyResultRequest::~DescribeVerifyResultRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeVerifyResultRequest::getBizType()const
|
||||||
|
{
|
||||||
|
return bizType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyResultRequest::setBizType(const std::string& bizType)
|
||||||
|
{
|
||||||
|
bizType_ = bizType;
|
||||||
|
setCoreParameter("BizType", bizType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyResultRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyResultRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setCoreParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyResultRequest::getBizId()const
|
||||||
|
{
|
||||||
|
return bizId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyResultRequest::setBizId(const std::string& bizId)
|
||||||
|
{
|
||||||
|
bizId_ = bizId;
|
||||||
|
setCoreParameter("BizId", bizId);
|
||||||
|
}
|
||||||
|
|
||||||
110
cloudauth/src/model/DescribeVerifyResultResult.cc
Normal file
110
cloudauth/src/model/DescribeVerifyResultResult.cc
Normal file
@@ -0,0 +1,110 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeVerifyResultResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Cloudauth;
|
||||||
|
using namespace AlibabaCloud::Cloudauth::Model;
|
||||||
|
|
||||||
|
DescribeVerifyResultResult::DescribeVerifyResultResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeVerifyResultResult::DescribeVerifyResultResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeVerifyResultResult::~DescribeVerifyResultResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeVerifyResultResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto materialNode = value["Material"];
|
||||||
|
if(!materialNode["FaceImageUrl"].isNull())
|
||||||
|
material_.faceImageUrl = materialNode["FaceImageUrl"].asString();
|
||||||
|
if(!materialNode["IdCardName"].isNull())
|
||||||
|
material_.idCardName = materialNode["IdCardName"].asString();
|
||||||
|
if(!materialNode["IdCardNumber"].isNull())
|
||||||
|
material_.idCardNumber = materialNode["IdCardNumber"].asString();
|
||||||
|
auto idCardInfoNode = materialNode["IdCardInfo"];
|
||||||
|
if(!idCardInfoNode["Number"].isNull())
|
||||||
|
material_.idCardInfo.number = idCardInfoNode["Number"].asString();
|
||||||
|
if(!idCardInfoNode["Address"].isNull())
|
||||||
|
material_.idCardInfo.address = idCardInfoNode["Address"].asString();
|
||||||
|
if(!idCardInfoNode["Nationality"].isNull())
|
||||||
|
material_.idCardInfo.nationality = idCardInfoNode["Nationality"].asString();
|
||||||
|
if(!idCardInfoNode["EndDate"].isNull())
|
||||||
|
material_.idCardInfo.endDate = idCardInfoNode["EndDate"].asString();
|
||||||
|
if(!idCardInfoNode["FrontImageUrl"].isNull())
|
||||||
|
material_.idCardInfo.frontImageUrl = idCardInfoNode["FrontImageUrl"].asString();
|
||||||
|
if(!idCardInfoNode["Authority"].isNull())
|
||||||
|
material_.idCardInfo.authority = idCardInfoNode["Authority"].asString();
|
||||||
|
if(!idCardInfoNode["Sex"].isNull())
|
||||||
|
material_.idCardInfo.sex = idCardInfoNode["Sex"].asString();
|
||||||
|
if(!idCardInfoNode["Name"].isNull())
|
||||||
|
material_.idCardInfo.name = idCardInfoNode["Name"].asString();
|
||||||
|
if(!idCardInfoNode["Birth"].isNull())
|
||||||
|
material_.idCardInfo.birth = idCardInfoNode["Birth"].asString();
|
||||||
|
if(!idCardInfoNode["BackImageUrl"].isNull())
|
||||||
|
material_.idCardInfo.backImageUrl = idCardInfoNode["BackImageUrl"].asString();
|
||||||
|
if(!idCardInfoNode["StartDate"].isNull())
|
||||||
|
material_.idCardInfo.startDate = idCardInfoNode["StartDate"].asString();
|
||||||
|
auto allVideoUrls = materialNode["VideoUrls"]["VideoUrl"];
|
||||||
|
for (auto value : allVideoUrls)
|
||||||
|
material_.videoUrls.push_back(value.asString());
|
||||||
|
if(!value["VerifyStatus"].isNull())
|
||||||
|
verifyStatus_ = std::stoi(value["VerifyStatus"].asString());
|
||||||
|
if(!value["AuthorityComparisionScore"].isNull())
|
||||||
|
authorityComparisionScore_ = std::stof(value["AuthorityComparisionScore"].asString());
|
||||||
|
if(!value["FaceComparisonScore"].isNull())
|
||||||
|
faceComparisonScore_ = std::stof(value["FaceComparisonScore"].asString());
|
||||||
|
if(!value["IdCardFaceComparisonScore"].isNull())
|
||||||
|
idCardFaceComparisonScore_ = std::stof(value["IdCardFaceComparisonScore"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeVerifyResultResult::getVerifyStatus()const
|
||||||
|
{
|
||||||
|
return verifyStatus_;
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeVerifyResultResult::Material DescribeVerifyResultResult::getMaterial()const
|
||||||
|
{
|
||||||
|
return material_;
|
||||||
|
}
|
||||||
|
|
||||||
|
float DescribeVerifyResultResult::getAuthorityComparisionScore()const
|
||||||
|
{
|
||||||
|
return authorityComparisionScore_;
|
||||||
|
}
|
||||||
|
|
||||||
|
float DescribeVerifyResultResult::getFaceComparisonScore()const
|
||||||
|
{
|
||||||
|
return faceComparisonScore_;
|
||||||
|
}
|
||||||
|
|
||||||
|
float DescribeVerifyResultResult::getIdCardFaceComparisonScore()const
|
||||||
|
{
|
||||||
|
return idCardFaceComparisonScore_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -19,8 +19,10 @@
|
|||||||
using AlibabaCloud::Cloudauth::Model::DescribeVerifySDKRequest;
|
using AlibabaCloud::Cloudauth::Model::DescribeVerifySDKRequest;
|
||||||
|
|
||||||
DescribeVerifySDKRequest::DescribeVerifySDKRequest() :
|
DescribeVerifySDKRequest::DescribeVerifySDKRequest() :
|
||||||
RpcServiceRequest("cloudauth", "2018-09-16", "DescribeVerifySDK")
|
RpcServiceRequest("cloudauth", "2019-03-07", "DescribeVerifySDK")
|
||||||
{}
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
DescribeVerifySDKRequest::~DescribeVerifySDKRequest()
|
DescribeVerifySDKRequest::~DescribeVerifySDKRequest()
|
||||||
{}
|
{}
|
||||||
|
|||||||
40
cloudauth/src/model/DescribeVerifySettingRequest.cc
Normal file
40
cloudauth/src/model/DescribeVerifySettingRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeVerifySettingRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Cloudauth::Model::DescribeVerifySettingRequest;
|
||||||
|
|
||||||
|
DescribeVerifySettingRequest::DescribeVerifySettingRequest() :
|
||||||
|
RpcServiceRequest("cloudauth", "2019-03-07", "DescribeVerifySetting")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeVerifySettingRequest::~DescribeVerifySettingRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeVerifySettingRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifySettingRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setCoreParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
64
cloudauth/src/model/DescribeVerifySettingResult.cc
Normal file
64
cloudauth/src/model/DescribeVerifySettingResult.cc
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeVerifySettingResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Cloudauth;
|
||||||
|
using namespace AlibabaCloud::Cloudauth::Model;
|
||||||
|
|
||||||
|
DescribeVerifySettingResult::DescribeVerifySettingResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeVerifySettingResult::DescribeVerifySettingResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeVerifySettingResult::~DescribeVerifySettingResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeVerifySettingResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allVerifySettingListNode = value["VerifySettingList"]["VerifySetting"];
|
||||||
|
for (auto valueVerifySettingListVerifySetting : allVerifySettingListNode)
|
||||||
|
{
|
||||||
|
VerifySetting verifySettingListObject;
|
||||||
|
if(!valueVerifySettingListVerifySetting["BizType"].isNull())
|
||||||
|
verifySettingListObject.bizType = valueVerifySettingListVerifySetting["BizType"].asString();
|
||||||
|
if(!valueVerifySettingListVerifySetting["BizName"].isNull())
|
||||||
|
verifySettingListObject.bizName = valueVerifySettingListVerifySetting["BizName"].asString();
|
||||||
|
if(!valueVerifySettingListVerifySetting["Solution"].isNull())
|
||||||
|
verifySettingListObject.solution = valueVerifySettingListVerifySetting["Solution"].asString();
|
||||||
|
auto allStepList = value["StepList"]["Step"];
|
||||||
|
for (auto value : allStepList)
|
||||||
|
verifySettingListObject.stepList.push_back(value.asString());
|
||||||
|
verifySettingList_.push_back(verifySettingListObject);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeVerifySettingResult::VerifySetting> DescribeVerifySettingResult::getVerifySettingList()const
|
||||||
|
{
|
||||||
|
return verifySettingList_;
|
||||||
|
}
|
||||||
|
|
||||||
172
cloudauth/src/model/DescribeVerifyTokenRequest.cc
Normal file
172
cloudauth/src/model/DescribeVerifyTokenRequest.cc
Normal file
@@ -0,0 +1,172 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeVerifyTokenRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Cloudauth::Model::DescribeVerifyTokenRequest;
|
||||||
|
|
||||||
|
DescribeVerifyTokenRequest::DescribeVerifyTokenRequest() :
|
||||||
|
RpcServiceRequest("cloudauth", "2019-03-07", "DescribeVerifyToken")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeVerifyTokenRequest::~DescribeVerifyTokenRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeVerifyTokenRequest::getFaceRetainedImageUrl()const
|
||||||
|
{
|
||||||
|
return faceRetainedImageUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyTokenRequest::setFaceRetainedImageUrl(const std::string& faceRetainedImageUrl)
|
||||||
|
{
|
||||||
|
faceRetainedImageUrl_ = faceRetainedImageUrl;
|
||||||
|
setCoreParameter("FaceRetainedImageUrl", faceRetainedImageUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyTokenRequest::getUserId()const
|
||||||
|
{
|
||||||
|
return userId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyTokenRequest::setUserId(const std::string& userId)
|
||||||
|
{
|
||||||
|
userId_ = userId;
|
||||||
|
setCoreParameter("UserId", userId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyTokenRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyTokenRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setCoreParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyTokenRequest::getCallbackSeed()const
|
||||||
|
{
|
||||||
|
return callbackSeed_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyTokenRequest::setCallbackSeed(const std::string& callbackSeed)
|
||||||
|
{
|
||||||
|
callbackSeed_ = callbackSeed;
|
||||||
|
setCoreParameter("CallbackSeed", callbackSeed);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyTokenRequest::getIdCardBackImageUrl()const
|
||||||
|
{
|
||||||
|
return idCardBackImageUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyTokenRequest::setIdCardBackImageUrl(const std::string& idCardBackImageUrl)
|
||||||
|
{
|
||||||
|
idCardBackImageUrl_ = idCardBackImageUrl;
|
||||||
|
setCoreParameter("IdCardBackImageUrl", idCardBackImageUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyTokenRequest::getIdCardNumber()const
|
||||||
|
{
|
||||||
|
return idCardNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyTokenRequest::setIdCardNumber(const std::string& idCardNumber)
|
||||||
|
{
|
||||||
|
idCardNumber_ = idCardNumber;
|
||||||
|
setCoreParameter("IdCardNumber", idCardNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyTokenRequest::getIdCardFrontImageUrl()const
|
||||||
|
{
|
||||||
|
return idCardFrontImageUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyTokenRequest::setIdCardFrontImageUrl(const std::string& idCardFrontImageUrl)
|
||||||
|
{
|
||||||
|
idCardFrontImageUrl_ = idCardFrontImageUrl;
|
||||||
|
setCoreParameter("IdCardFrontImageUrl", idCardFrontImageUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyTokenRequest::getBizType()const
|
||||||
|
{
|
||||||
|
return bizType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyTokenRequest::setBizType(const std::string& bizType)
|
||||||
|
{
|
||||||
|
bizType_ = bizType;
|
||||||
|
setCoreParameter("BizType", bizType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyTokenRequest::getPassedRedirectUrl()const
|
||||||
|
{
|
||||||
|
return passedRedirectUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyTokenRequest::setPassedRedirectUrl(const std::string& passedRedirectUrl)
|
||||||
|
{
|
||||||
|
passedRedirectUrl_ = passedRedirectUrl;
|
||||||
|
setCoreParameter("PassedRedirectUrl", passedRedirectUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyTokenRequest::getBizId()const
|
||||||
|
{
|
||||||
|
return bizId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyTokenRequest::setBizId(const std::string& bizId)
|
||||||
|
{
|
||||||
|
bizId_ = bizId;
|
||||||
|
setCoreParameter("BizId", bizId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyTokenRequest::getName()const
|
||||||
|
{
|
||||||
|
return name_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyTokenRequest::setName(const std::string& name)
|
||||||
|
{
|
||||||
|
name_ = name;
|
||||||
|
setCoreParameter("Name", name);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyTokenRequest::getCallbackUrl()const
|
||||||
|
{
|
||||||
|
return callbackUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyTokenRequest::setCallbackUrl(const std::string& callbackUrl)
|
||||||
|
{
|
||||||
|
callbackUrl_ = callbackUrl;
|
||||||
|
setCoreParameter("CallbackUrl", callbackUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyTokenRequest::getFailedRedirectUrl()const
|
||||||
|
{
|
||||||
|
return failedRedirectUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyTokenRequest::setFailedRedirectUrl(const std::string& failedRedirectUrl)
|
||||||
|
{
|
||||||
|
failedRedirectUrl_ = failedRedirectUrl;
|
||||||
|
setCoreParameter("FailedRedirectUrl", failedRedirectUrl);
|
||||||
|
}
|
||||||
|
|
||||||
78
cloudauth/src/model/DescribeVerifyTokenResult.cc
Normal file
78
cloudauth/src/model/DescribeVerifyTokenResult.cc
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeVerifyTokenResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Cloudauth;
|
||||||
|
using namespace AlibabaCloud::Cloudauth::Model;
|
||||||
|
|
||||||
|
DescribeVerifyTokenResult::DescribeVerifyTokenResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeVerifyTokenResult::DescribeVerifyTokenResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeVerifyTokenResult::~DescribeVerifyTokenResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeVerifyTokenResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto ossUploadTokenNode = value["OssUploadToken"];
|
||||||
|
if(!ossUploadTokenNode["Bucket"].isNull())
|
||||||
|
ossUploadToken_.bucket = ossUploadTokenNode["Bucket"].asString();
|
||||||
|
if(!ossUploadTokenNode["EndPoint"].isNull())
|
||||||
|
ossUploadToken_.endPoint = ossUploadTokenNode["EndPoint"].asString();
|
||||||
|
if(!ossUploadTokenNode["Path"].isNull())
|
||||||
|
ossUploadToken_.path = ossUploadTokenNode["Path"].asString();
|
||||||
|
if(!ossUploadTokenNode["Expired"].isNull())
|
||||||
|
ossUploadToken_.expired = std::stol(ossUploadTokenNode["Expired"].asString());
|
||||||
|
if(!ossUploadTokenNode["Secret"].isNull())
|
||||||
|
ossUploadToken_.secret = ossUploadTokenNode["Secret"].asString();
|
||||||
|
if(!ossUploadTokenNode["Key"].isNull())
|
||||||
|
ossUploadToken_.key = ossUploadTokenNode["Key"].asString();
|
||||||
|
if(!ossUploadTokenNode["Token"].isNull())
|
||||||
|
ossUploadToken_.token = ossUploadTokenNode["Token"].asString();
|
||||||
|
if(!value["VerifyPageUrl"].isNull())
|
||||||
|
verifyPageUrl_ = value["VerifyPageUrl"].asString();
|
||||||
|
if(!value["VerifyToken"].isNull())
|
||||||
|
verifyToken_ = value["VerifyToken"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyTokenResult::getVerifyPageUrl()const
|
||||||
|
{
|
||||||
|
return verifyPageUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeVerifyTokenResult::OssUploadToken DescribeVerifyTokenResult::getOssUploadToken()const
|
||||||
|
{
|
||||||
|
return ossUploadToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyTokenResult::getVerifyToken()const
|
||||||
|
{
|
||||||
|
return verifyToken_;
|
||||||
|
}
|
||||||
|
|
||||||
73
cloudauth/src/model/DescribeVerifyUsageRequest.cc
Normal file
73
cloudauth/src/model/DescribeVerifyUsageRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeVerifyUsageRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Cloudauth::Model::DescribeVerifyUsageRequest;
|
||||||
|
|
||||||
|
DescribeVerifyUsageRequest::DescribeVerifyUsageRequest() :
|
||||||
|
RpcServiceRequest("cloudauth", "2019-03-07", "DescribeVerifyUsage")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeVerifyUsageRequest::~DescribeVerifyUsageRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeVerifyUsageRequest::getStartDate()const
|
||||||
|
{
|
||||||
|
return startDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyUsageRequest::setStartDate(const std::string& startDate)
|
||||||
|
{
|
||||||
|
startDate_ = startDate;
|
||||||
|
setCoreParameter("StartDate", startDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyUsageRequest::getBizType()const
|
||||||
|
{
|
||||||
|
return bizType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyUsageRequest::setBizType(const std::string& bizType)
|
||||||
|
{
|
||||||
|
bizType_ = bizType;
|
||||||
|
setCoreParameter("BizType", bizType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyUsageRequest::getEndDate()const
|
||||||
|
{
|
||||||
|
return endDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyUsageRequest::setEndDate(const std::string& endDate)
|
||||||
|
{
|
||||||
|
endDate_ = endDate;
|
||||||
|
setCoreParameter("EndDate", endDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeVerifyUsageRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeVerifyUsageRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setCoreParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
72
cloudauth/src/model/DescribeVerifyUsageResult.cc
Normal file
72
cloudauth/src/model/DescribeVerifyUsageResult.cc
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/DescribeVerifyUsageResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Cloudauth;
|
||||||
|
using namespace AlibabaCloud::Cloudauth::Model;
|
||||||
|
|
||||||
|
DescribeVerifyUsageResult::DescribeVerifyUsageResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeVerifyUsageResult::DescribeVerifyUsageResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeVerifyUsageResult::~DescribeVerifyUsageResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeVerifyUsageResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allVerifyUsageListNode = value["VerifyUsageList"]["VerifyUsage"];
|
||||||
|
for (auto valueVerifyUsageListVerifyUsage : allVerifyUsageListNode)
|
||||||
|
{
|
||||||
|
VerifyUsage verifyUsageListObject;
|
||||||
|
if(!valueVerifyUsageListVerifyUsage["BizType"].isNull())
|
||||||
|
verifyUsageListObject.bizType = valueVerifyUsageListVerifyUsage["BizType"].asString();
|
||||||
|
if(!valueVerifyUsageListVerifyUsage["Date"].isNull())
|
||||||
|
verifyUsageListObject.date = valueVerifyUsageListVerifyUsage["Date"].asString();
|
||||||
|
if(!valueVerifyUsageListVerifyUsage["TotalCount"].isNull())
|
||||||
|
verifyUsageListObject.totalCount = std::stol(valueVerifyUsageListVerifyUsage["TotalCount"].asString());
|
||||||
|
if(!valueVerifyUsageListVerifyUsage["PassCount"].isNull())
|
||||||
|
verifyUsageListObject.passCount = std::stol(valueVerifyUsageListVerifyUsage["PassCount"].asString());
|
||||||
|
if(!valueVerifyUsageListVerifyUsage["FailCount"].isNull())
|
||||||
|
verifyUsageListObject.failCount = std::stol(valueVerifyUsageListVerifyUsage["FailCount"].asString());
|
||||||
|
verifyUsageList_.push_back(verifyUsageListObject);
|
||||||
|
}
|
||||||
|
if(!value["TotalCount"].isNull())
|
||||||
|
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeVerifyUsageResult::VerifyUsage> DescribeVerifyUsageResult::getVerifyUsageList()const
|
||||||
|
{
|
||||||
|
return verifyUsageList_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeVerifyUsageResult::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -19,8 +19,10 @@
|
|||||||
using AlibabaCloud::Cloudauth::Model::DetectFaceAttributesRequest;
|
using AlibabaCloud::Cloudauth::Model::DetectFaceAttributesRequest;
|
||||||
|
|
||||||
DetectFaceAttributesRequest::DetectFaceAttributesRequest() :
|
DetectFaceAttributesRequest::DetectFaceAttributesRequest() :
|
||||||
RpcServiceRequest("cloudauth", "2018-09-16", "DetectFaceAttributes")
|
RpcServiceRequest("cloudauth", "2019-03-07", "DetectFaceAttributes")
|
||||||
{}
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
DetectFaceAttributesRequest::~DetectFaceAttributesRequest()
|
DetectFaceAttributesRequest::~DetectFaceAttributesRequest()
|
||||||
{}
|
{}
|
||||||
|
|||||||
@@ -1,71 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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/cloudauth/model/GetMaterialsRequest.h>
|
|
||||||
|
|
||||||
using AlibabaCloud::Cloudauth::Model::GetMaterialsRequest;
|
|
||||||
|
|
||||||
GetMaterialsRequest::GetMaterialsRequest() :
|
|
||||||
RpcServiceRequest("cloudauth", "2018-09-16", "GetMaterials")
|
|
||||||
{}
|
|
||||||
|
|
||||||
GetMaterialsRequest::~GetMaterialsRequest()
|
|
||||||
{}
|
|
||||||
|
|
||||||
long GetMaterialsRequest::getResourceOwnerId()const
|
|
||||||
{
|
|
||||||
return resourceOwnerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GetMaterialsRequest::setResourceOwnerId(long resourceOwnerId)
|
|
||||||
{
|
|
||||||
resourceOwnerId_ = resourceOwnerId;
|
|
||||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetMaterialsRequest::getBiz()const
|
|
||||||
{
|
|
||||||
return biz_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GetMaterialsRequest::setBiz(const std::string& biz)
|
|
||||||
{
|
|
||||||
biz_ = biz;
|
|
||||||
setCoreParameter("Biz", biz);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetMaterialsRequest::getSourceIp()const
|
|
||||||
{
|
|
||||||
return sourceIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GetMaterialsRequest::setSourceIp(const std::string& sourceIp)
|
|
||||||
{
|
|
||||||
sourceIp_ = sourceIp;
|
|
||||||
setCoreParameter("SourceIp", sourceIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetMaterialsRequest::getTicketId()const
|
|
||||||
{
|
|
||||||
return ticketId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GetMaterialsRequest::setTicketId(const std::string& ticketId)
|
|
||||||
{
|
|
||||||
ticketId_ = ticketId;
|
|
||||||
setCoreParameter("TicketId", ticketId);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,95 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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/cloudauth/model/GetMaterialsResult.h>
|
|
||||||
#include <json/json.h>
|
|
||||||
|
|
||||||
using namespace AlibabaCloud::Cloudauth;
|
|
||||||
using namespace AlibabaCloud::Cloudauth::Model;
|
|
||||||
|
|
||||||
GetMaterialsResult::GetMaterialsResult() :
|
|
||||||
ServiceResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
GetMaterialsResult::GetMaterialsResult(const std::string &payload) :
|
|
||||||
ServiceResult()
|
|
||||||
{
|
|
||||||
parse(payload);
|
|
||||||
}
|
|
||||||
|
|
||||||
GetMaterialsResult::~GetMaterialsResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
void GetMaterialsResult::parse(const std::string &payload)
|
|
||||||
{
|
|
||||||
Json::Reader reader;
|
|
||||||
Json::Value value;
|
|
||||||
reader.parse(payload, value);
|
|
||||||
setRequestId(value["RequestId"].asString());
|
|
||||||
auto dataNode = value["Data"];
|
|
||||||
if(!dataNode["Name"].isNull())
|
|
||||||
data_.name = dataNode["Name"].asString();
|
|
||||||
if(!dataNode["IdentificationNumber"].isNull())
|
|
||||||
data_.identificationNumber = dataNode["IdentificationNumber"].asString();
|
|
||||||
if(!dataNode["IdCardType"].isNull())
|
|
||||||
data_.idCardType = dataNode["IdCardType"].asString();
|
|
||||||
if(!dataNode["IdCardStartDate"].isNull())
|
|
||||||
data_.idCardStartDate = dataNode["IdCardStartDate"].asString();
|
|
||||||
if(!dataNode["IdCardExpiry"].isNull())
|
|
||||||
data_.idCardExpiry = dataNode["IdCardExpiry"].asString();
|
|
||||||
if(!dataNode["Address"].isNull())
|
|
||||||
data_.address = dataNode["Address"].asString();
|
|
||||||
if(!dataNode["Sex"].isNull())
|
|
||||||
data_.sex = dataNode["Sex"].asString();
|
|
||||||
if(!dataNode["IdCardFrontPic"].isNull())
|
|
||||||
data_.idCardFrontPic = dataNode["IdCardFrontPic"].asString();
|
|
||||||
if(!dataNode["IdCardBackPic"].isNull())
|
|
||||||
data_.idCardBackPic = dataNode["IdCardBackPic"].asString();
|
|
||||||
if(!dataNode["FacePic"].isNull())
|
|
||||||
data_.facePic = dataNode["FacePic"].asString();
|
|
||||||
if(!dataNode["EthnicGroup"].isNull())
|
|
||||||
data_.ethnicGroup = dataNode["EthnicGroup"].asString();
|
|
||||||
if(!dataNode["Authority"].isNull())
|
|
||||||
data_.authority = dataNode["Authority"].asString();
|
|
||||||
if(!value["Success"].isNull())
|
|
||||||
success_ = value["Success"].asString() == "true";
|
|
||||||
if(!value["Code"].isNull())
|
|
||||||
code_ = value["Code"].asString();
|
|
||||||
if(!value["Message"].isNull())
|
|
||||||
message_ = value["Message"].asString();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetMaterialsResult::getMessage()const
|
|
||||||
{
|
|
||||||
return message_;
|
|
||||||
}
|
|
||||||
|
|
||||||
GetMaterialsResult::Data GetMaterialsResult::getData()const
|
|
||||||
{
|
|
||||||
return data_;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetMaterialsResult::getCode()const
|
|
||||||
{
|
|
||||||
return code_;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool GetMaterialsResult::getSuccess()const
|
|
||||||
{
|
|
||||||
return success_;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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/cloudauth/model/GetStatusRequest.h>
|
|
||||||
|
|
||||||
using AlibabaCloud::Cloudauth::Model::GetStatusRequest;
|
|
||||||
|
|
||||||
GetStatusRequest::GetStatusRequest() :
|
|
||||||
RpcServiceRequest("cloudauth", "2018-09-16", "GetStatus")
|
|
||||||
{}
|
|
||||||
|
|
||||||
GetStatusRequest::~GetStatusRequest()
|
|
||||||
{}
|
|
||||||
|
|
||||||
long GetStatusRequest::getResourceOwnerId()const
|
|
||||||
{
|
|
||||||
return resourceOwnerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GetStatusRequest::setResourceOwnerId(long resourceOwnerId)
|
|
||||||
{
|
|
||||||
resourceOwnerId_ = resourceOwnerId;
|
|
||||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetStatusRequest::getBiz()const
|
|
||||||
{
|
|
||||||
return biz_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GetStatusRequest::setBiz(const std::string& biz)
|
|
||||||
{
|
|
||||||
biz_ = biz;
|
|
||||||
setCoreParameter("Biz", biz);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetStatusRequest::getSourceIp()const
|
|
||||||
{
|
|
||||||
return sourceIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GetStatusRequest::setSourceIp(const std::string& sourceIp)
|
|
||||||
{
|
|
||||||
sourceIp_ = sourceIp;
|
|
||||||
setCoreParameter("SourceIp", sourceIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetStatusRequest::getTicketId()const
|
|
||||||
{
|
|
||||||
return ticketId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GetStatusRequest::setTicketId(const std::string& ticketId)
|
|
||||||
{
|
|
||||||
ticketId_ = ticketId;
|
|
||||||
setCoreParameter("TicketId", ticketId);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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/cloudauth/model/GetStatusResult.h>
|
|
||||||
#include <json/json.h>
|
|
||||||
|
|
||||||
using namespace AlibabaCloud::Cloudauth;
|
|
||||||
using namespace AlibabaCloud::Cloudauth::Model;
|
|
||||||
|
|
||||||
GetStatusResult::GetStatusResult() :
|
|
||||||
ServiceResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
GetStatusResult::GetStatusResult(const std::string &payload) :
|
|
||||||
ServiceResult()
|
|
||||||
{
|
|
||||||
parse(payload);
|
|
||||||
}
|
|
||||||
|
|
||||||
GetStatusResult::~GetStatusResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
void GetStatusResult::parse(const std::string &payload)
|
|
||||||
{
|
|
||||||
Json::Reader reader;
|
|
||||||
Json::Value value;
|
|
||||||
reader.parse(payload, value);
|
|
||||||
setRequestId(value["RequestId"].asString());
|
|
||||||
auto dataNode = value["Data"];
|
|
||||||
if(!dataNode["StatusCode"].isNull())
|
|
||||||
data_.statusCode = std::stoi(dataNode["StatusCode"].asString());
|
|
||||||
if(!dataNode["TrustedScore"].isNull())
|
|
||||||
data_.trustedScore = std::stof(dataNode["TrustedScore"].asString());
|
|
||||||
if(!dataNode["SimilarityScore"].isNull())
|
|
||||||
data_.similarityScore = std::stof(dataNode["SimilarityScore"].asString());
|
|
||||||
if(!dataNode["AuditConclusions"].isNull())
|
|
||||||
data_.auditConclusions = dataNode["AuditConclusions"].asString();
|
|
||||||
if(!dataNode["AuthorityComparisonScore"].isNull())
|
|
||||||
data_.authorityComparisonScore = std::stof(dataNode["AuthorityComparisonScore"].asString());
|
|
||||||
if(!value["Success"].isNull())
|
|
||||||
success_ = value["Success"].asString() == "true";
|
|
||||||
if(!value["Code"].isNull())
|
|
||||||
code_ = value["Code"].asString();
|
|
||||||
if(!value["Message"].isNull())
|
|
||||||
message_ = value["Message"].asString();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetStatusResult::getMessage()const
|
|
||||||
{
|
|
||||||
return message_;
|
|
||||||
}
|
|
||||||
|
|
||||||
GetStatusResult::Data GetStatusResult::getData()const
|
|
||||||
{
|
|
||||||
return data_;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetStatusResult::getCode()const
|
|
||||||
{
|
|
||||||
return code_;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool GetStatusResult::getSuccess()const
|
|
||||||
{
|
|
||||||
return success_;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,104 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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/cloudauth/model/GetVerifyTokenRequest.h>
|
|
||||||
|
|
||||||
using AlibabaCloud::Cloudauth::Model::GetVerifyTokenRequest;
|
|
||||||
|
|
||||||
GetVerifyTokenRequest::GetVerifyTokenRequest() :
|
|
||||||
RpcServiceRequest("cloudauth", "2018-09-16", "GetVerifyToken")
|
|
||||||
{}
|
|
||||||
|
|
||||||
GetVerifyTokenRequest::~GetVerifyTokenRequest()
|
|
||||||
{}
|
|
||||||
|
|
||||||
long GetVerifyTokenRequest::getResourceOwnerId()const
|
|
||||||
{
|
|
||||||
return resourceOwnerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GetVerifyTokenRequest::setResourceOwnerId(long resourceOwnerId)
|
|
||||||
{
|
|
||||||
resourceOwnerId_ = resourceOwnerId;
|
|
||||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetVerifyTokenRequest::getBinding()const
|
|
||||||
{
|
|
||||||
return binding_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GetVerifyTokenRequest::setBinding(const std::string& binding)
|
|
||||||
{
|
|
||||||
binding_ = binding;
|
|
||||||
setCoreParameter("Binding", binding);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetVerifyTokenRequest::getVerifyConfigs()const
|
|
||||||
{
|
|
||||||
return verifyConfigs_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GetVerifyTokenRequest::setVerifyConfigs(const std::string& verifyConfigs)
|
|
||||||
{
|
|
||||||
verifyConfigs_ = verifyConfigs;
|
|
||||||
setCoreParameter("VerifyConfigs", verifyConfigs);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetVerifyTokenRequest::getUserData()const
|
|
||||||
{
|
|
||||||
return userData_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GetVerifyTokenRequest::setUserData(const std::string& userData)
|
|
||||||
{
|
|
||||||
userData_ = userData;
|
|
||||||
setCoreParameter("UserData", userData);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetVerifyTokenRequest::getBiz()const
|
|
||||||
{
|
|
||||||
return biz_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GetVerifyTokenRequest::setBiz(const std::string& biz)
|
|
||||||
{
|
|
||||||
biz_ = biz;
|
|
||||||
setCoreParameter("Biz", biz);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetVerifyTokenRequest::getSourceIp()const
|
|
||||||
{
|
|
||||||
return sourceIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GetVerifyTokenRequest::setSourceIp(const std::string& sourceIp)
|
|
||||||
{
|
|
||||||
sourceIp_ = sourceIp;
|
|
||||||
setCoreParameter("SourceIp", sourceIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetVerifyTokenRequest::getTicketId()const
|
|
||||||
{
|
|
||||||
return ticketId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GetVerifyTokenRequest::setTicketId(const std::string& ticketId)
|
|
||||||
{
|
|
||||||
ticketId_ = ticketId;
|
|
||||||
setCoreParameter("TicketId", ticketId);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,93 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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/cloudauth/model/GetVerifyTokenResult.h>
|
|
||||||
#include <json/json.h>
|
|
||||||
|
|
||||||
using namespace AlibabaCloud::Cloudauth;
|
|
||||||
using namespace AlibabaCloud::Cloudauth::Model;
|
|
||||||
|
|
||||||
GetVerifyTokenResult::GetVerifyTokenResult() :
|
|
||||||
ServiceResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
GetVerifyTokenResult::GetVerifyTokenResult(const std::string &payload) :
|
|
||||||
ServiceResult()
|
|
||||||
{
|
|
||||||
parse(payload);
|
|
||||||
}
|
|
||||||
|
|
||||||
GetVerifyTokenResult::~GetVerifyTokenResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
void GetVerifyTokenResult::parse(const std::string &payload)
|
|
||||||
{
|
|
||||||
Json::Reader reader;
|
|
||||||
Json::Value value;
|
|
||||||
reader.parse(payload, value);
|
|
||||||
setRequestId(value["RequestId"].asString());
|
|
||||||
auto dataNode = value["Data"];
|
|
||||||
if(!dataNode["CloudauthPageUrl"].isNull())
|
|
||||||
data_.cloudauthPageUrl = dataNode["CloudauthPageUrl"].asString();
|
|
||||||
auto verifyTokenNode = dataNode["VerifyToken"];
|
|
||||||
if(!verifyTokenNode["Token"].isNull())
|
|
||||||
data_.verifyToken.token = verifyTokenNode["Token"].asString();
|
|
||||||
if(!verifyTokenNode["DurationSeconds"].isNull())
|
|
||||||
data_.verifyToken.durationSeconds = std::stoi(verifyTokenNode["DurationSeconds"].asString());
|
|
||||||
auto stsTokenNode = dataNode["StsToken"];
|
|
||||||
if(!stsTokenNode["AccessKeyId"].isNull())
|
|
||||||
data_.stsToken.accessKeyId = stsTokenNode["AccessKeyId"].asString();
|
|
||||||
if(!stsTokenNode["AccessKeySecret"].isNull())
|
|
||||||
data_.stsToken.accessKeySecret = stsTokenNode["AccessKeySecret"].asString();
|
|
||||||
if(!stsTokenNode["Expiration"].isNull())
|
|
||||||
data_.stsToken.expiration = stsTokenNode["Expiration"].asString();
|
|
||||||
if(!stsTokenNode["EndPoint"].isNull())
|
|
||||||
data_.stsToken.endPoint = stsTokenNode["EndPoint"].asString();
|
|
||||||
if(!stsTokenNode["BucketName"].isNull())
|
|
||||||
data_.stsToken.bucketName = stsTokenNode["BucketName"].asString();
|
|
||||||
if(!stsTokenNode["Path"].isNull())
|
|
||||||
data_.stsToken.path = stsTokenNode["Path"].asString();
|
|
||||||
if(!stsTokenNode["Token"].isNull())
|
|
||||||
data_.stsToken.token = stsTokenNode["Token"].asString();
|
|
||||||
if(!value["Success"].isNull())
|
|
||||||
success_ = value["Success"].asString() == "true";
|
|
||||||
if(!value["Code"].isNull())
|
|
||||||
code_ = value["Code"].asString();
|
|
||||||
if(!value["Message"].isNull())
|
|
||||||
message_ = value["Message"].asString();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetVerifyTokenResult::getMessage()const
|
|
||||||
{
|
|
||||||
return message_;
|
|
||||||
}
|
|
||||||
|
|
||||||
GetVerifyTokenResult::Data GetVerifyTokenResult::getData()const
|
|
||||||
{
|
|
||||||
return data_;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string GetVerifyTokenResult::getCode()const
|
|
||||||
{
|
|
||||||
return code_;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool GetVerifyTokenResult::getSuccess()const
|
|
||||||
{
|
|
||||||
return success_;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -19,8 +19,10 @@
|
|||||||
using AlibabaCloud::Cloudauth::Model::ModifyDeviceInfoRequest;
|
using AlibabaCloud::Cloudauth::Model::ModifyDeviceInfoRequest;
|
||||||
|
|
||||||
ModifyDeviceInfoRequest::ModifyDeviceInfoRequest() :
|
ModifyDeviceInfoRequest::ModifyDeviceInfoRequest() :
|
||||||
RpcServiceRequest("cloudauth", "2018-09-16", "ModifyDeviceInfo")
|
RpcServiceRequest("cloudauth", "2019-03-07", "ModifyDeviceInfo")
|
||||||
{}
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
ModifyDeviceInfoRequest::~ModifyDeviceInfoRequest()
|
ModifyDeviceInfoRequest::~ModifyDeviceInfoRequest()
|
||||||
{}
|
{}
|
||||||
|
|||||||
@@ -1,77 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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/cloudauth/model/SubmitMaterialsRequest.h>
|
|
||||||
|
|
||||||
using AlibabaCloud::Cloudauth::Model::SubmitMaterialsRequest;
|
|
||||||
|
|
||||||
SubmitMaterialsRequest::SubmitMaterialsRequest() :
|
|
||||||
RpcServiceRequest("cloudauth", "2018-09-16", "SubmitMaterials")
|
|
||||||
{}
|
|
||||||
|
|
||||||
SubmitMaterialsRequest::~SubmitMaterialsRequest()
|
|
||||||
{}
|
|
||||||
|
|
||||||
long SubmitMaterialsRequest::getResourceOwnerId()const
|
|
||||||
{
|
|
||||||
return resourceOwnerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SubmitMaterialsRequest::setResourceOwnerId(long resourceOwnerId)
|
|
||||||
{
|
|
||||||
resourceOwnerId_ = resourceOwnerId;
|
|
||||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string SubmitMaterialsRequest::getVerifyToken()const
|
|
||||||
{
|
|
||||||
return verifyToken_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SubmitMaterialsRequest::setVerifyToken(const std::string& verifyToken)
|
|
||||||
{
|
|
||||||
verifyToken_ = verifyToken;
|
|
||||||
setCoreParameter("VerifyToken", verifyToken);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string SubmitMaterialsRequest::getSourceIp()const
|
|
||||||
{
|
|
||||||
return sourceIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SubmitMaterialsRequest::setSourceIp(const std::string& sourceIp)
|
|
||||||
{
|
|
||||||
sourceIp_ = sourceIp;
|
|
||||||
setCoreParameter("SourceIp", sourceIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::vector<SubmitMaterialsRequest::Material> SubmitMaterialsRequest::getMaterial()const
|
|
||||||
{
|
|
||||||
return material_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SubmitMaterialsRequest::setMaterial(const std::vector<Material>& material)
|
|
||||||
{
|
|
||||||
material_ = material;
|
|
||||||
int i = 0;
|
|
||||||
for(int i = 0; i!= material.size(); i++) {
|
|
||||||
auto obj = material.at(i);
|
|
||||||
std::string str ="Material."+ std::to_string(i);
|
|
||||||
setCoreParameter(str + ".MaterialType", obj.materialType);
|
|
||||||
setCoreParameter(str + ".Value", obj.value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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/cloudauth/model/SubmitMaterialsResult.h>
|
|
||||||
#include <json/json.h>
|
|
||||||
|
|
||||||
using namespace AlibabaCloud::Cloudauth;
|
|
||||||
using namespace AlibabaCloud::Cloudauth::Model;
|
|
||||||
|
|
||||||
SubmitMaterialsResult::SubmitMaterialsResult() :
|
|
||||||
ServiceResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
SubmitMaterialsResult::SubmitMaterialsResult(const std::string &payload) :
|
|
||||||
ServiceResult()
|
|
||||||
{
|
|
||||||
parse(payload);
|
|
||||||
}
|
|
||||||
|
|
||||||
SubmitMaterialsResult::~SubmitMaterialsResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
void SubmitMaterialsResult::parse(const std::string &payload)
|
|
||||||
{
|
|
||||||
Json::Reader reader;
|
|
||||||
Json::Value value;
|
|
||||||
reader.parse(payload, value);
|
|
||||||
setRequestId(value["RequestId"].asString());
|
|
||||||
auto dataNode = value["Data"];
|
|
||||||
auto verifyStatusNode = dataNode["VerifyStatus"];
|
|
||||||
if(!verifyStatusNode["StatusCode"].isNull())
|
|
||||||
data_.verifyStatus.statusCode = std::stoi(verifyStatusNode["StatusCode"].asString());
|
|
||||||
if(!verifyStatusNode["TrustedScore"].isNull())
|
|
||||||
data_.verifyStatus.trustedScore = std::stof(verifyStatusNode["TrustedScore"].asString());
|
|
||||||
if(!verifyStatusNode["SimilarityScore"].isNull())
|
|
||||||
data_.verifyStatus.similarityScore = std::stof(verifyStatusNode["SimilarityScore"].asString());
|
|
||||||
if(!verifyStatusNode["AuditConclusions"].isNull())
|
|
||||||
data_.verifyStatus.auditConclusions = verifyStatusNode["AuditConclusions"].asString();
|
|
||||||
if(!verifyStatusNode["AuthorityComparisonScore"].isNull())
|
|
||||||
data_.verifyStatus.authorityComparisonScore = std::stof(verifyStatusNode["AuthorityComparisonScore"].asString());
|
|
||||||
if(!value["Success"].isNull())
|
|
||||||
success_ = value["Success"].asString() == "true";
|
|
||||||
if(!value["Code"].isNull())
|
|
||||||
code_ = value["Code"].asString();
|
|
||||||
if(!value["Message"].isNull())
|
|
||||||
message_ = value["Message"].asString();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string SubmitMaterialsResult::getMessage()const
|
|
||||||
{
|
|
||||||
return message_;
|
|
||||||
}
|
|
||||||
|
|
||||||
SubmitMaterialsResult::Data SubmitMaterialsResult::getData()const
|
|
||||||
{
|
|
||||||
return data_;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string SubmitMaterialsResult::getCode()const
|
|
||||||
{
|
|
||||||
return code_;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool SubmitMaterialsResult::getSuccess()const
|
|
||||||
{
|
|
||||||
return success_;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,88 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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/cloudauth/model/SubmitVerificationRequest.h>
|
|
||||||
|
|
||||||
using AlibabaCloud::Cloudauth::Model::SubmitVerificationRequest;
|
|
||||||
|
|
||||||
SubmitVerificationRequest::SubmitVerificationRequest() :
|
|
||||||
RpcServiceRequest("cloudauth", "2018-09-16", "SubmitVerification")
|
|
||||||
{}
|
|
||||||
|
|
||||||
SubmitVerificationRequest::~SubmitVerificationRequest()
|
|
||||||
{}
|
|
||||||
|
|
||||||
long SubmitVerificationRequest::getResourceOwnerId()const
|
|
||||||
{
|
|
||||||
return resourceOwnerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SubmitVerificationRequest::setResourceOwnerId(long resourceOwnerId)
|
|
||||||
{
|
|
||||||
resourceOwnerId_ = resourceOwnerId;
|
|
||||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string SubmitVerificationRequest::getBiz()const
|
|
||||||
{
|
|
||||||
return biz_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SubmitVerificationRequest::setBiz(const std::string& biz)
|
|
||||||
{
|
|
||||||
biz_ = biz;
|
|
||||||
setCoreParameter("Biz", biz);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string SubmitVerificationRequest::getSourceIp()const
|
|
||||||
{
|
|
||||||
return sourceIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SubmitVerificationRequest::setSourceIp(const std::string& sourceIp)
|
|
||||||
{
|
|
||||||
sourceIp_ = sourceIp;
|
|
||||||
setCoreParameter("SourceIp", sourceIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::vector<SubmitVerificationRequest::Material> SubmitVerificationRequest::getMaterial()const
|
|
||||||
{
|
|
||||||
return material_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SubmitVerificationRequest::setMaterial(const std::vector<Material>& material)
|
|
||||||
{
|
|
||||||
material_ = material;
|
|
||||||
int i = 0;
|
|
||||||
for(int i = 0; i!= material.size(); i++) {
|
|
||||||
auto obj = material.at(i);
|
|
||||||
std::string str ="Material."+ std::to_string(i);
|
|
||||||
setCoreParameter(str + ".MaterialType", obj.materialType);
|
|
||||||
setCoreParameter(str + ".Value", obj.value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string SubmitVerificationRequest::getTicketId()const
|
|
||||||
{
|
|
||||||
return ticketId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SubmitVerificationRequest::setTicketId(const std::string& ticketId)
|
|
||||||
{
|
|
||||||
ticketId_ = ticketId;
|
|
||||||
setCoreParameter("TicketId", ticketId);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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/cloudauth/model/SubmitVerificationResult.h>
|
|
||||||
#include <json/json.h>
|
|
||||||
|
|
||||||
using namespace AlibabaCloud::Cloudauth;
|
|
||||||
using namespace AlibabaCloud::Cloudauth::Model;
|
|
||||||
|
|
||||||
SubmitVerificationResult::SubmitVerificationResult() :
|
|
||||||
ServiceResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
SubmitVerificationResult::SubmitVerificationResult(const std::string &payload) :
|
|
||||||
ServiceResult()
|
|
||||||
{
|
|
||||||
parse(payload);
|
|
||||||
}
|
|
||||||
|
|
||||||
SubmitVerificationResult::~SubmitVerificationResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
void SubmitVerificationResult::parse(const std::string &payload)
|
|
||||||
{
|
|
||||||
Json::Reader reader;
|
|
||||||
Json::Value value;
|
|
||||||
reader.parse(payload, value);
|
|
||||||
setRequestId(value["RequestId"].asString());
|
|
||||||
auto dataNode = value["Data"];
|
|
||||||
auto verifyStatusNode = dataNode["VerifyStatus"];
|
|
||||||
if(!verifyStatusNode["StatusCode"].isNull())
|
|
||||||
data_.verifyStatus.statusCode = std::stoi(verifyStatusNode["StatusCode"].asString());
|
|
||||||
if(!verifyStatusNode["TrustedScore"].isNull())
|
|
||||||
data_.verifyStatus.trustedScore = std::stof(verifyStatusNode["TrustedScore"].asString());
|
|
||||||
if(!verifyStatusNode["SimilarityScore"].isNull())
|
|
||||||
data_.verifyStatus.similarityScore = std::stof(verifyStatusNode["SimilarityScore"].asString());
|
|
||||||
if(!verifyStatusNode["AuditConclusions"].isNull())
|
|
||||||
data_.verifyStatus.auditConclusions = verifyStatusNode["AuditConclusions"].asString();
|
|
||||||
if(!verifyStatusNode["AuthorityComparisonScore"].isNull())
|
|
||||||
data_.verifyStatus.authorityComparisonScore = std::stof(verifyStatusNode["AuthorityComparisonScore"].asString());
|
|
||||||
if(!value["Success"].isNull())
|
|
||||||
success_ = value["Success"].asString() == "true";
|
|
||||||
if(!value["Code"].isNull())
|
|
||||||
code_ = value["Code"].asString();
|
|
||||||
if(!value["Message"].isNull())
|
|
||||||
message_ = value["Message"].asString();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string SubmitVerificationResult::getMessage()const
|
|
||||||
{
|
|
||||||
return message_;
|
|
||||||
}
|
|
||||||
|
|
||||||
SubmitVerificationResult::Data SubmitVerificationResult::getData()const
|
|
||||||
{
|
|
||||||
return data_;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string SubmitVerificationResult::getCode()const
|
|
||||||
{
|
|
||||||
return code_;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool SubmitVerificationResult::getSuccess()const
|
|
||||||
{
|
|
||||||
return success_;
|
|
||||||
}
|
|
||||||
|
|
||||||
106
cloudauth/src/model/UpdateVerifySettingRequest.cc
Normal file
106
cloudauth/src/model/UpdateVerifySettingRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/UpdateVerifySettingRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Cloudauth::Model::UpdateVerifySettingRequest;
|
||||||
|
|
||||||
|
UpdateVerifySettingRequest::UpdateVerifySettingRequest() :
|
||||||
|
RpcServiceRequest("cloudauth", "2019-03-07", "UpdateVerifySetting")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
UpdateVerifySettingRequest::~UpdateVerifySettingRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
bool UpdateVerifySettingRequest::getGuideStep()const
|
||||||
|
{
|
||||||
|
return guideStep_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateVerifySettingRequest::setGuideStep(bool guideStep)
|
||||||
|
{
|
||||||
|
guideStep_ = guideStep;
|
||||||
|
setCoreParameter("GuideStep", guideStep ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
bool UpdateVerifySettingRequest::getResultStep()const
|
||||||
|
{
|
||||||
|
return resultStep_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateVerifySettingRequest::setResultStep(bool resultStep)
|
||||||
|
{
|
||||||
|
resultStep_ = resultStep;
|
||||||
|
setCoreParameter("ResultStep", resultStep ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateVerifySettingRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateVerifySettingRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setCoreParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateVerifySettingRequest::getSolution()const
|
||||||
|
{
|
||||||
|
return solution_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateVerifySettingRequest::setSolution(const std::string& solution)
|
||||||
|
{
|
||||||
|
solution_ = solution;
|
||||||
|
setCoreParameter("Solution", solution);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateVerifySettingRequest::getBizName()const
|
||||||
|
{
|
||||||
|
return bizName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateVerifySettingRequest::setBizName(const std::string& bizName)
|
||||||
|
{
|
||||||
|
bizName_ = bizName;
|
||||||
|
setCoreParameter("BizName", bizName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateVerifySettingRequest::getBizType()const
|
||||||
|
{
|
||||||
|
return bizType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateVerifySettingRequest::setBizType(const std::string& bizType)
|
||||||
|
{
|
||||||
|
bizType_ = bizType;
|
||||||
|
setCoreParameter("BizType", bizType);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool UpdateVerifySettingRequest::getPrivacyStep()const
|
||||||
|
{
|
||||||
|
return privacyStep_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateVerifySettingRequest::setPrivacyStep(bool privacyStep)
|
||||||
|
{
|
||||||
|
privacyStep_ = privacyStep;
|
||||||
|
setCoreParameter("PrivacyStep", privacyStep ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
73
cloudauth/src/model/UpdateVerifySettingResult.cc
Normal file
73
cloudauth/src/model/UpdateVerifySettingResult.cc
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/UpdateVerifySettingResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Cloudauth;
|
||||||
|
using namespace AlibabaCloud::Cloudauth::Model;
|
||||||
|
|
||||||
|
UpdateVerifySettingResult::UpdateVerifySettingResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
UpdateVerifySettingResult::UpdateVerifySettingResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
UpdateVerifySettingResult::~UpdateVerifySettingResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void UpdateVerifySettingResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allStepList = value["StepList"]["Step"];
|
||||||
|
for (const auto &item : allStepList)
|
||||||
|
stepList_.push_back(item.asString());
|
||||||
|
if(!value["BizType"].isNull())
|
||||||
|
bizType_ = value["BizType"].asString();
|
||||||
|
if(!value["BizName"].isNull())
|
||||||
|
bizName_ = value["BizName"].asString();
|
||||||
|
if(!value["Solution"].isNull())
|
||||||
|
solution_ = value["Solution"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> UpdateVerifySettingResult::getStepList()const
|
||||||
|
{
|
||||||
|
return stepList_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateVerifySettingResult::getBizType()const
|
||||||
|
{
|
||||||
|
return bizType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateVerifySettingResult::getBizName()const
|
||||||
|
{
|
||||||
|
return bizName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateVerifySettingResult::getSolution()const
|
||||||
|
{
|
||||||
|
return solution_;
|
||||||
|
}
|
||||||
|
|
||||||
128
cloudauth/src/model/VerifyMaterialRequest.cc
Normal file
128
cloudauth/src/model/VerifyMaterialRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/cloudauth/model/VerifyMaterialRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Cloudauth::Model::VerifyMaterialRequest;
|
||||||
|
|
||||||
|
VerifyMaterialRequest::VerifyMaterialRequest() :
|
||||||
|
RpcServiceRequest("cloudauth", "2019-03-07", "VerifyMaterial")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
VerifyMaterialRequest::~VerifyMaterialRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string VerifyMaterialRequest::getFaceImageUrl()const
|
||||||
|
{
|
||||||
|
return faceImageUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VerifyMaterialRequest::setFaceImageUrl(const std::string& faceImageUrl)
|
||||||
|
{
|
||||||
|
faceImageUrl_ = faceImageUrl;
|
||||||
|
setCoreParameter("FaceImageUrl", faceImageUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string VerifyMaterialRequest::getUserId()const
|
||||||
|
{
|
||||||
|
return userId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VerifyMaterialRequest::setUserId(const std::string& userId)
|
||||||
|
{
|
||||||
|
userId_ = userId;
|
||||||
|
setCoreParameter("UserId", userId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string VerifyMaterialRequest::getSourceIp()const
|
||||||
|
{
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VerifyMaterialRequest::setSourceIp(const std::string& sourceIp)
|
||||||
|
{
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setCoreParameter("SourceIp", sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string VerifyMaterialRequest::getIdCardBackImageUrl()const
|
||||||
|
{
|
||||||
|
return idCardBackImageUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VerifyMaterialRequest::setIdCardBackImageUrl(const std::string& idCardBackImageUrl)
|
||||||
|
{
|
||||||
|
idCardBackImageUrl_ = idCardBackImageUrl;
|
||||||
|
setCoreParameter("IdCardBackImageUrl", idCardBackImageUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string VerifyMaterialRequest::getIdCardNumber()const
|
||||||
|
{
|
||||||
|
return idCardNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VerifyMaterialRequest::setIdCardNumber(const std::string& idCardNumber)
|
||||||
|
{
|
||||||
|
idCardNumber_ = idCardNumber;
|
||||||
|
setCoreParameter("IdCardNumber", idCardNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string VerifyMaterialRequest::getIdCardFrontImageUrl()const
|
||||||
|
{
|
||||||
|
return idCardFrontImageUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VerifyMaterialRequest::setIdCardFrontImageUrl(const std::string& idCardFrontImageUrl)
|
||||||
|
{
|
||||||
|
idCardFrontImageUrl_ = idCardFrontImageUrl;
|
||||||
|
setCoreParameter("IdCardFrontImageUrl", idCardFrontImageUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string VerifyMaterialRequest::getBizType()const
|
||||||
|
{
|
||||||
|
return bizType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VerifyMaterialRequest::setBizType(const std::string& bizType)
|
||||||
|
{
|
||||||
|
bizType_ = bizType;
|
||||||
|
setCoreParameter("BizType", bizType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string VerifyMaterialRequest::getBizId()const
|
||||||
|
{
|
||||||
|
return bizId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VerifyMaterialRequest::setBizId(const std::string& bizId)
|
||||||
|
{
|
||||||
|
bizId_ = bizId;
|
||||||
|
setCoreParameter("BizId", bizId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string VerifyMaterialRequest::getName()const
|
||||||
|
{
|
||||||
|
return name_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VerifyMaterialRequest::setName(const std::string& name)
|
||||||
|
{
|
||||||
|
name_ = name;
|
||||||
|
setCoreParameter("Name", name);
|
||||||
|
}
|
||||||
|
|
||||||
114
cloudauth/src/model/VerifyMaterialResult.cc
Normal file
114
cloudauth/src/model/VerifyMaterialResult.cc
Normal file
@@ -0,0 +1,114 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/cloudauth/model/VerifyMaterialResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Cloudauth;
|
||||||
|
using namespace AlibabaCloud::Cloudauth::Model;
|
||||||
|
|
||||||
|
VerifyMaterialResult::VerifyMaterialResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
VerifyMaterialResult::VerifyMaterialResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
VerifyMaterialResult::~VerifyMaterialResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void VerifyMaterialResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto materialNode = value["Material"];
|
||||||
|
if(!materialNode["FaceImageUrl"].isNull())
|
||||||
|
material_.faceImageUrl = materialNode["FaceImageUrl"].asString();
|
||||||
|
if(!materialNode["IdCardName"].isNull())
|
||||||
|
material_.idCardName = materialNode["IdCardName"].asString();
|
||||||
|
if(!materialNode["IdCardNumber"].isNull())
|
||||||
|
material_.idCardNumber = materialNode["IdCardNumber"].asString();
|
||||||
|
auto idCardInfoNode = materialNode["IdCardInfo"];
|
||||||
|
if(!idCardInfoNode["Number"].isNull())
|
||||||
|
material_.idCardInfo.number = idCardInfoNode["Number"].asString();
|
||||||
|
if(!idCardInfoNode["Address"].isNull())
|
||||||
|
material_.idCardInfo.address = idCardInfoNode["Address"].asString();
|
||||||
|
if(!idCardInfoNode["Nationality"].isNull())
|
||||||
|
material_.idCardInfo.nationality = idCardInfoNode["Nationality"].asString();
|
||||||
|
if(!idCardInfoNode["EndDate"].isNull())
|
||||||
|
material_.idCardInfo.endDate = idCardInfoNode["EndDate"].asString();
|
||||||
|
if(!idCardInfoNode["FrontImageUrl"].isNull())
|
||||||
|
material_.idCardInfo.frontImageUrl = idCardInfoNode["FrontImageUrl"].asString();
|
||||||
|
if(!idCardInfoNode["Authority"].isNull())
|
||||||
|
material_.idCardInfo.authority = idCardInfoNode["Authority"].asString();
|
||||||
|
if(!idCardInfoNode["Sex"].isNull())
|
||||||
|
material_.idCardInfo.sex = idCardInfoNode["Sex"].asString();
|
||||||
|
if(!idCardInfoNode["Name"].isNull())
|
||||||
|
material_.idCardInfo.name = idCardInfoNode["Name"].asString();
|
||||||
|
if(!idCardInfoNode["Birth"].isNull())
|
||||||
|
material_.idCardInfo.birth = idCardInfoNode["Birth"].asString();
|
||||||
|
if(!idCardInfoNode["BackImageUrl"].isNull())
|
||||||
|
material_.idCardInfo.backImageUrl = idCardInfoNode["BackImageUrl"].asString();
|
||||||
|
if(!idCardInfoNode["StartDate"].isNull())
|
||||||
|
material_.idCardInfo.startDate = idCardInfoNode["StartDate"].asString();
|
||||||
|
if(!value["VerifyToken"].isNull())
|
||||||
|
verifyToken_ = value["VerifyToken"].asString();
|
||||||
|
if(!value["VerifyStatus"].isNull())
|
||||||
|
verifyStatus_ = std::stoi(value["VerifyStatus"].asString());
|
||||||
|
if(!value["AuthorityComparisionScore"].isNull())
|
||||||
|
authorityComparisionScore_ = std::stof(value["AuthorityComparisionScore"].asString());
|
||||||
|
if(!value["FaceComparisonScore"].isNull())
|
||||||
|
faceComparisonScore_ = std::stof(value["FaceComparisonScore"].asString());
|
||||||
|
if(!value["IdCardFaceComparisonScore"].isNull())
|
||||||
|
idCardFaceComparisonScore_ = std::stof(value["IdCardFaceComparisonScore"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int VerifyMaterialResult::getVerifyStatus()const
|
||||||
|
{
|
||||||
|
return verifyStatus_;
|
||||||
|
}
|
||||||
|
|
||||||
|
VerifyMaterialResult::Material VerifyMaterialResult::getMaterial()const
|
||||||
|
{
|
||||||
|
return material_;
|
||||||
|
}
|
||||||
|
|
||||||
|
float VerifyMaterialResult::getAuthorityComparisionScore()const
|
||||||
|
{
|
||||||
|
return authorityComparisionScore_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string VerifyMaterialResult::getVerifyToken()const
|
||||||
|
{
|
||||||
|
return verifyToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
float VerifyMaterialResult::getFaceComparisonScore()const
|
||||||
|
{
|
||||||
|
return faceComparisonScore_;
|
||||||
|
}
|
||||||
|
|
||||||
|
float VerifyMaterialResult::getIdCardFaceComparisonScore()const
|
||||||
|
{
|
||||||
|
return idCardFaceComparisonScore_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -25,6 +25,8 @@ set(cms_public_header_model
|
|||||||
include/alibabacloud/cms/model/AddTagsResult.h
|
include/alibabacloud/cms/model/AddTagsResult.h
|
||||||
include/alibabacloud/cms/model/ApplyMetricRuleTemplateRequest.h
|
include/alibabacloud/cms/model/ApplyMetricRuleTemplateRequest.h
|
||||||
include/alibabacloud/cms/model/ApplyMetricRuleTemplateResult.h
|
include/alibabacloud/cms/model/ApplyMetricRuleTemplateResult.h
|
||||||
|
include/alibabacloud/cms/model/CreateDynamicTagGroupRequest.h
|
||||||
|
include/alibabacloud/cms/model/CreateDynamicTagGroupResult.h
|
||||||
include/alibabacloud/cms/model/CreateGroupMetricRulesRequest.h
|
include/alibabacloud/cms/model/CreateGroupMetricRulesRequest.h
|
||||||
include/alibabacloud/cms/model/CreateGroupMetricRulesResult.h
|
include/alibabacloud/cms/model/CreateGroupMetricRulesResult.h
|
||||||
include/alibabacloud/cms/model/CreateGroupMonitoringAgentProcessRequest.h
|
include/alibabacloud/cms/model/CreateGroupMonitoringAgentProcessRequest.h
|
||||||
@@ -53,6 +55,8 @@ set(cms_public_header_model
|
|||||||
include/alibabacloud/cms/model/DeleteContactGroupResult.h
|
include/alibabacloud/cms/model/DeleteContactGroupResult.h
|
||||||
include/alibabacloud/cms/model/DeleteCustomMetricRequest.h
|
include/alibabacloud/cms/model/DeleteCustomMetricRequest.h
|
||||||
include/alibabacloud/cms/model/DeleteCustomMetricResult.h
|
include/alibabacloud/cms/model/DeleteCustomMetricResult.h
|
||||||
|
include/alibabacloud/cms/model/DeleteDynamicTagGroupRequest.h
|
||||||
|
include/alibabacloud/cms/model/DeleteDynamicTagGroupResult.h
|
||||||
include/alibabacloud/cms/model/DeleteEventRuleTargetsRequest.h
|
include/alibabacloud/cms/model/DeleteEventRuleTargetsRequest.h
|
||||||
include/alibabacloud/cms/model/DeleteEventRuleTargetsResult.h
|
include/alibabacloud/cms/model/DeleteEventRuleTargetsResult.h
|
||||||
include/alibabacloud/cms/model/DeleteEventRulesRequest.h
|
include/alibabacloud/cms/model/DeleteEventRulesRequest.h
|
||||||
@@ -101,6 +105,8 @@ set(cms_public_header_model
|
|||||||
include/alibabacloud/cms/model/DescribeCustomEventHistogramResult.h
|
include/alibabacloud/cms/model/DescribeCustomEventHistogramResult.h
|
||||||
include/alibabacloud/cms/model/DescribeCustomMetricListRequest.h
|
include/alibabacloud/cms/model/DescribeCustomMetricListRequest.h
|
||||||
include/alibabacloud/cms/model/DescribeCustomMetricListResult.h
|
include/alibabacloud/cms/model/DescribeCustomMetricListResult.h
|
||||||
|
include/alibabacloud/cms/model/DescribeDynamicTagRuleListRequest.h
|
||||||
|
include/alibabacloud/cms/model/DescribeDynamicTagRuleListResult.h
|
||||||
include/alibabacloud/cms/model/DescribeEventRuleAttributeRequest.h
|
include/alibabacloud/cms/model/DescribeEventRuleAttributeRequest.h
|
||||||
include/alibabacloud/cms/model/DescribeEventRuleAttributeResult.h
|
include/alibabacloud/cms/model/DescribeEventRuleAttributeResult.h
|
||||||
include/alibabacloud/cms/model/DescribeEventRuleListRequest.h
|
include/alibabacloud/cms/model/DescribeEventRuleListRequest.h
|
||||||
@@ -155,6 +161,8 @@ set(cms_public_header_model
|
|||||||
include/alibabacloud/cms/model/DescribeMonitoringAgentStatusesResult.h
|
include/alibabacloud/cms/model/DescribeMonitoringAgentStatusesResult.h
|
||||||
include/alibabacloud/cms/model/DescribeMonitoringConfigRequest.h
|
include/alibabacloud/cms/model/DescribeMonitoringConfigRequest.h
|
||||||
include/alibabacloud/cms/model/DescribeMonitoringConfigResult.h
|
include/alibabacloud/cms/model/DescribeMonitoringConfigResult.h
|
||||||
|
include/alibabacloud/cms/model/DescribeProductResourceTagKeyListRequest.h
|
||||||
|
include/alibabacloud/cms/model/DescribeProductResourceTagKeyListResult.h
|
||||||
include/alibabacloud/cms/model/DescribeProductsOfActiveMetricRuleRequest.h
|
include/alibabacloud/cms/model/DescribeProductsOfActiveMetricRuleRequest.h
|
||||||
include/alibabacloud/cms/model/DescribeProductsOfActiveMetricRuleResult.h
|
include/alibabacloud/cms/model/DescribeProductsOfActiveMetricRuleResult.h
|
||||||
include/alibabacloud/cms/model/DescribeProjectMetaRequest.h
|
include/alibabacloud/cms/model/DescribeProjectMetaRequest.h
|
||||||
@@ -256,6 +264,8 @@ set(cms_src
|
|||||||
src/model/AddTagsResult.cc
|
src/model/AddTagsResult.cc
|
||||||
src/model/ApplyMetricRuleTemplateRequest.cc
|
src/model/ApplyMetricRuleTemplateRequest.cc
|
||||||
src/model/ApplyMetricRuleTemplateResult.cc
|
src/model/ApplyMetricRuleTemplateResult.cc
|
||||||
|
src/model/CreateDynamicTagGroupRequest.cc
|
||||||
|
src/model/CreateDynamicTagGroupResult.cc
|
||||||
src/model/CreateGroupMetricRulesRequest.cc
|
src/model/CreateGroupMetricRulesRequest.cc
|
||||||
src/model/CreateGroupMetricRulesResult.cc
|
src/model/CreateGroupMetricRulesResult.cc
|
||||||
src/model/CreateGroupMonitoringAgentProcessRequest.cc
|
src/model/CreateGroupMonitoringAgentProcessRequest.cc
|
||||||
@@ -284,6 +294,8 @@ set(cms_src
|
|||||||
src/model/DeleteContactGroupResult.cc
|
src/model/DeleteContactGroupResult.cc
|
||||||
src/model/DeleteCustomMetricRequest.cc
|
src/model/DeleteCustomMetricRequest.cc
|
||||||
src/model/DeleteCustomMetricResult.cc
|
src/model/DeleteCustomMetricResult.cc
|
||||||
|
src/model/DeleteDynamicTagGroupRequest.cc
|
||||||
|
src/model/DeleteDynamicTagGroupResult.cc
|
||||||
src/model/DeleteEventRuleTargetsRequest.cc
|
src/model/DeleteEventRuleTargetsRequest.cc
|
||||||
src/model/DeleteEventRuleTargetsResult.cc
|
src/model/DeleteEventRuleTargetsResult.cc
|
||||||
src/model/DeleteEventRulesRequest.cc
|
src/model/DeleteEventRulesRequest.cc
|
||||||
@@ -332,6 +344,8 @@ set(cms_src
|
|||||||
src/model/DescribeCustomEventHistogramResult.cc
|
src/model/DescribeCustomEventHistogramResult.cc
|
||||||
src/model/DescribeCustomMetricListRequest.cc
|
src/model/DescribeCustomMetricListRequest.cc
|
||||||
src/model/DescribeCustomMetricListResult.cc
|
src/model/DescribeCustomMetricListResult.cc
|
||||||
|
src/model/DescribeDynamicTagRuleListRequest.cc
|
||||||
|
src/model/DescribeDynamicTagRuleListResult.cc
|
||||||
src/model/DescribeEventRuleAttributeRequest.cc
|
src/model/DescribeEventRuleAttributeRequest.cc
|
||||||
src/model/DescribeEventRuleAttributeResult.cc
|
src/model/DescribeEventRuleAttributeResult.cc
|
||||||
src/model/DescribeEventRuleListRequest.cc
|
src/model/DescribeEventRuleListRequest.cc
|
||||||
@@ -386,6 +400,8 @@ set(cms_src
|
|||||||
src/model/DescribeMonitoringAgentStatusesResult.cc
|
src/model/DescribeMonitoringAgentStatusesResult.cc
|
||||||
src/model/DescribeMonitoringConfigRequest.cc
|
src/model/DescribeMonitoringConfigRequest.cc
|
||||||
src/model/DescribeMonitoringConfigResult.cc
|
src/model/DescribeMonitoringConfigResult.cc
|
||||||
|
src/model/DescribeProductResourceTagKeyListRequest.cc
|
||||||
|
src/model/DescribeProductResourceTagKeyListResult.cc
|
||||||
src/model/DescribeProductsOfActiveMetricRuleRequest.cc
|
src/model/DescribeProductsOfActiveMetricRuleRequest.cc
|
||||||
src/model/DescribeProductsOfActiveMetricRuleResult.cc
|
src/model/DescribeProductsOfActiveMetricRuleResult.cc
|
||||||
src/model/DescribeProjectMetaRequest.cc
|
src/model/DescribeProjectMetaRequest.cc
|
||||||
|
|||||||
@@ -26,6 +26,8 @@
|
|||||||
#include "model/AddTagsResult.h"
|
#include "model/AddTagsResult.h"
|
||||||
#include "model/ApplyMetricRuleTemplateRequest.h"
|
#include "model/ApplyMetricRuleTemplateRequest.h"
|
||||||
#include "model/ApplyMetricRuleTemplateResult.h"
|
#include "model/ApplyMetricRuleTemplateResult.h"
|
||||||
|
#include "model/CreateDynamicTagGroupRequest.h"
|
||||||
|
#include "model/CreateDynamicTagGroupResult.h"
|
||||||
#include "model/CreateGroupMetricRulesRequest.h"
|
#include "model/CreateGroupMetricRulesRequest.h"
|
||||||
#include "model/CreateGroupMetricRulesResult.h"
|
#include "model/CreateGroupMetricRulesResult.h"
|
||||||
#include "model/CreateGroupMonitoringAgentProcessRequest.h"
|
#include "model/CreateGroupMonitoringAgentProcessRequest.h"
|
||||||
@@ -54,6 +56,8 @@
|
|||||||
#include "model/DeleteContactGroupResult.h"
|
#include "model/DeleteContactGroupResult.h"
|
||||||
#include "model/DeleteCustomMetricRequest.h"
|
#include "model/DeleteCustomMetricRequest.h"
|
||||||
#include "model/DeleteCustomMetricResult.h"
|
#include "model/DeleteCustomMetricResult.h"
|
||||||
|
#include "model/DeleteDynamicTagGroupRequest.h"
|
||||||
|
#include "model/DeleteDynamicTagGroupResult.h"
|
||||||
#include "model/DeleteEventRuleTargetsRequest.h"
|
#include "model/DeleteEventRuleTargetsRequest.h"
|
||||||
#include "model/DeleteEventRuleTargetsResult.h"
|
#include "model/DeleteEventRuleTargetsResult.h"
|
||||||
#include "model/DeleteEventRulesRequest.h"
|
#include "model/DeleteEventRulesRequest.h"
|
||||||
@@ -102,6 +106,8 @@
|
|||||||
#include "model/DescribeCustomEventHistogramResult.h"
|
#include "model/DescribeCustomEventHistogramResult.h"
|
||||||
#include "model/DescribeCustomMetricListRequest.h"
|
#include "model/DescribeCustomMetricListRequest.h"
|
||||||
#include "model/DescribeCustomMetricListResult.h"
|
#include "model/DescribeCustomMetricListResult.h"
|
||||||
|
#include "model/DescribeDynamicTagRuleListRequest.h"
|
||||||
|
#include "model/DescribeDynamicTagRuleListResult.h"
|
||||||
#include "model/DescribeEventRuleAttributeRequest.h"
|
#include "model/DescribeEventRuleAttributeRequest.h"
|
||||||
#include "model/DescribeEventRuleAttributeResult.h"
|
#include "model/DescribeEventRuleAttributeResult.h"
|
||||||
#include "model/DescribeEventRuleListRequest.h"
|
#include "model/DescribeEventRuleListRequest.h"
|
||||||
@@ -156,6 +162,8 @@
|
|||||||
#include "model/DescribeMonitoringAgentStatusesResult.h"
|
#include "model/DescribeMonitoringAgentStatusesResult.h"
|
||||||
#include "model/DescribeMonitoringConfigRequest.h"
|
#include "model/DescribeMonitoringConfigRequest.h"
|
||||||
#include "model/DescribeMonitoringConfigResult.h"
|
#include "model/DescribeMonitoringConfigResult.h"
|
||||||
|
#include "model/DescribeProductResourceTagKeyListRequest.h"
|
||||||
|
#include "model/DescribeProductResourceTagKeyListResult.h"
|
||||||
#include "model/DescribeProductsOfActiveMetricRuleRequest.h"
|
#include "model/DescribeProductsOfActiveMetricRuleRequest.h"
|
||||||
#include "model/DescribeProductsOfActiveMetricRuleResult.h"
|
#include "model/DescribeProductsOfActiveMetricRuleResult.h"
|
||||||
#include "model/DescribeProjectMetaRequest.h"
|
#include "model/DescribeProjectMetaRequest.h"
|
||||||
@@ -265,6 +273,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::ApplyMetricRuleTemplateResult> ApplyMetricRuleTemplateOutcome;
|
typedef Outcome<Error, Model::ApplyMetricRuleTemplateResult> ApplyMetricRuleTemplateOutcome;
|
||||||
typedef std::future<ApplyMetricRuleTemplateOutcome> ApplyMetricRuleTemplateOutcomeCallable;
|
typedef std::future<ApplyMetricRuleTemplateOutcome> ApplyMetricRuleTemplateOutcomeCallable;
|
||||||
typedef std::function<void(const CmsClient*, const Model::ApplyMetricRuleTemplateRequest&, const ApplyMetricRuleTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApplyMetricRuleTemplateAsyncHandler;
|
typedef std::function<void(const CmsClient*, const Model::ApplyMetricRuleTemplateRequest&, const ApplyMetricRuleTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApplyMetricRuleTemplateAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateDynamicTagGroupResult> CreateDynamicTagGroupOutcome;
|
||||||
|
typedef std::future<CreateDynamicTagGroupOutcome> CreateDynamicTagGroupOutcomeCallable;
|
||||||
|
typedef std::function<void(const CmsClient*, const Model::CreateDynamicTagGroupRequest&, const CreateDynamicTagGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDynamicTagGroupAsyncHandler;
|
||||||
typedef Outcome<Error, Model::CreateGroupMetricRulesResult> CreateGroupMetricRulesOutcome;
|
typedef Outcome<Error, Model::CreateGroupMetricRulesResult> CreateGroupMetricRulesOutcome;
|
||||||
typedef std::future<CreateGroupMetricRulesOutcome> CreateGroupMetricRulesOutcomeCallable;
|
typedef std::future<CreateGroupMetricRulesOutcome> CreateGroupMetricRulesOutcomeCallable;
|
||||||
typedef std::function<void(const CmsClient*, const Model::CreateGroupMetricRulesRequest&, const CreateGroupMetricRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateGroupMetricRulesAsyncHandler;
|
typedef std::function<void(const CmsClient*, const Model::CreateGroupMetricRulesRequest&, const CreateGroupMetricRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateGroupMetricRulesAsyncHandler;
|
||||||
@@ -307,6 +318,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DeleteCustomMetricResult> DeleteCustomMetricOutcome;
|
typedef Outcome<Error, Model::DeleteCustomMetricResult> DeleteCustomMetricOutcome;
|
||||||
typedef std::future<DeleteCustomMetricOutcome> DeleteCustomMetricOutcomeCallable;
|
typedef std::future<DeleteCustomMetricOutcome> DeleteCustomMetricOutcomeCallable;
|
||||||
typedef std::function<void(const CmsClient*, const Model::DeleteCustomMetricRequest&, const DeleteCustomMetricOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCustomMetricAsyncHandler;
|
typedef std::function<void(const CmsClient*, const Model::DeleteCustomMetricRequest&, const DeleteCustomMetricOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCustomMetricAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DeleteDynamicTagGroupResult> DeleteDynamicTagGroupOutcome;
|
||||||
|
typedef std::future<DeleteDynamicTagGroupOutcome> DeleteDynamicTagGroupOutcomeCallable;
|
||||||
|
typedef std::function<void(const CmsClient*, const Model::DeleteDynamicTagGroupRequest&, const DeleteDynamicTagGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDynamicTagGroupAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DeleteEventRuleTargetsResult> DeleteEventRuleTargetsOutcome;
|
typedef Outcome<Error, Model::DeleteEventRuleTargetsResult> DeleteEventRuleTargetsOutcome;
|
||||||
typedef std::future<DeleteEventRuleTargetsOutcome> DeleteEventRuleTargetsOutcomeCallable;
|
typedef std::future<DeleteEventRuleTargetsOutcome> DeleteEventRuleTargetsOutcomeCallable;
|
||||||
typedef std::function<void(const CmsClient*, const Model::DeleteEventRuleTargetsRequest&, const DeleteEventRuleTargetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEventRuleTargetsAsyncHandler;
|
typedef std::function<void(const CmsClient*, const Model::DeleteEventRuleTargetsRequest&, const DeleteEventRuleTargetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEventRuleTargetsAsyncHandler;
|
||||||
@@ -379,6 +393,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeCustomMetricListResult> DescribeCustomMetricListOutcome;
|
typedef Outcome<Error, Model::DescribeCustomMetricListResult> DescribeCustomMetricListOutcome;
|
||||||
typedef std::future<DescribeCustomMetricListOutcome> DescribeCustomMetricListOutcomeCallable;
|
typedef std::future<DescribeCustomMetricListOutcome> DescribeCustomMetricListOutcomeCallable;
|
||||||
typedef std::function<void(const CmsClient*, const Model::DescribeCustomMetricListRequest&, const DescribeCustomMetricListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCustomMetricListAsyncHandler;
|
typedef std::function<void(const CmsClient*, const Model::DescribeCustomMetricListRequest&, const DescribeCustomMetricListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCustomMetricListAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDynamicTagRuleListResult> DescribeDynamicTagRuleListOutcome;
|
||||||
|
typedef std::future<DescribeDynamicTagRuleListOutcome> DescribeDynamicTagRuleListOutcomeCallable;
|
||||||
|
typedef std::function<void(const CmsClient*, const Model::DescribeDynamicTagRuleListRequest&, const DescribeDynamicTagRuleListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDynamicTagRuleListAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeEventRuleAttributeResult> DescribeEventRuleAttributeOutcome;
|
typedef Outcome<Error, Model::DescribeEventRuleAttributeResult> DescribeEventRuleAttributeOutcome;
|
||||||
typedef std::future<DescribeEventRuleAttributeOutcome> DescribeEventRuleAttributeOutcomeCallable;
|
typedef std::future<DescribeEventRuleAttributeOutcome> DescribeEventRuleAttributeOutcomeCallable;
|
||||||
typedef std::function<void(const CmsClient*, const Model::DescribeEventRuleAttributeRequest&, const DescribeEventRuleAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEventRuleAttributeAsyncHandler;
|
typedef std::function<void(const CmsClient*, const Model::DescribeEventRuleAttributeRequest&, const DescribeEventRuleAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEventRuleAttributeAsyncHandler;
|
||||||
@@ -460,6 +477,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeMonitoringConfigResult> DescribeMonitoringConfigOutcome;
|
typedef Outcome<Error, Model::DescribeMonitoringConfigResult> DescribeMonitoringConfigOutcome;
|
||||||
typedef std::future<DescribeMonitoringConfigOutcome> DescribeMonitoringConfigOutcomeCallable;
|
typedef std::future<DescribeMonitoringConfigOutcome> DescribeMonitoringConfigOutcomeCallable;
|
||||||
typedef std::function<void(const CmsClient*, const Model::DescribeMonitoringConfigRequest&, const DescribeMonitoringConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMonitoringConfigAsyncHandler;
|
typedef std::function<void(const CmsClient*, const Model::DescribeMonitoringConfigRequest&, const DescribeMonitoringConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMonitoringConfigAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeProductResourceTagKeyListResult> DescribeProductResourceTagKeyListOutcome;
|
||||||
|
typedef std::future<DescribeProductResourceTagKeyListOutcome> DescribeProductResourceTagKeyListOutcomeCallable;
|
||||||
|
typedef std::function<void(const CmsClient*, const Model::DescribeProductResourceTagKeyListRequest&, const DescribeProductResourceTagKeyListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProductResourceTagKeyListAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeProductsOfActiveMetricRuleResult> DescribeProductsOfActiveMetricRuleOutcome;
|
typedef Outcome<Error, Model::DescribeProductsOfActiveMetricRuleResult> DescribeProductsOfActiveMetricRuleOutcome;
|
||||||
typedef std::future<DescribeProductsOfActiveMetricRuleOutcome> DescribeProductsOfActiveMetricRuleOutcomeCallable;
|
typedef std::future<DescribeProductsOfActiveMetricRuleOutcome> DescribeProductsOfActiveMetricRuleOutcomeCallable;
|
||||||
typedef std::function<void(const CmsClient*, const Model::DescribeProductsOfActiveMetricRuleRequest&, const DescribeProductsOfActiveMetricRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProductsOfActiveMetricRuleAsyncHandler;
|
typedef std::function<void(const CmsClient*, const Model::DescribeProductsOfActiveMetricRuleRequest&, const DescribeProductsOfActiveMetricRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProductsOfActiveMetricRuleAsyncHandler;
|
||||||
@@ -612,6 +632,9 @@ namespace AlibabaCloud
|
|||||||
ApplyMetricRuleTemplateOutcome applyMetricRuleTemplate(const Model::ApplyMetricRuleTemplateRequest &request)const;
|
ApplyMetricRuleTemplateOutcome applyMetricRuleTemplate(const Model::ApplyMetricRuleTemplateRequest &request)const;
|
||||||
void applyMetricRuleTemplateAsync(const Model::ApplyMetricRuleTemplateRequest& request, const ApplyMetricRuleTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void applyMetricRuleTemplateAsync(const Model::ApplyMetricRuleTemplateRequest& request, const ApplyMetricRuleTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ApplyMetricRuleTemplateOutcomeCallable applyMetricRuleTemplateCallable(const Model::ApplyMetricRuleTemplateRequest& request) const;
|
ApplyMetricRuleTemplateOutcomeCallable applyMetricRuleTemplateCallable(const Model::ApplyMetricRuleTemplateRequest& request) const;
|
||||||
|
CreateDynamicTagGroupOutcome createDynamicTagGroup(const Model::CreateDynamicTagGroupRequest &request)const;
|
||||||
|
void createDynamicTagGroupAsync(const Model::CreateDynamicTagGroupRequest& request, const CreateDynamicTagGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateDynamicTagGroupOutcomeCallable createDynamicTagGroupCallable(const Model::CreateDynamicTagGroupRequest& request) const;
|
||||||
CreateGroupMetricRulesOutcome createGroupMetricRules(const Model::CreateGroupMetricRulesRequest &request)const;
|
CreateGroupMetricRulesOutcome createGroupMetricRules(const Model::CreateGroupMetricRulesRequest &request)const;
|
||||||
void createGroupMetricRulesAsync(const Model::CreateGroupMetricRulesRequest& request, const CreateGroupMetricRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createGroupMetricRulesAsync(const Model::CreateGroupMetricRulesRequest& request, const CreateGroupMetricRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateGroupMetricRulesOutcomeCallable createGroupMetricRulesCallable(const Model::CreateGroupMetricRulesRequest& request) const;
|
CreateGroupMetricRulesOutcomeCallable createGroupMetricRulesCallable(const Model::CreateGroupMetricRulesRequest& request) const;
|
||||||
@@ -654,6 +677,9 @@ namespace AlibabaCloud
|
|||||||
DeleteCustomMetricOutcome deleteCustomMetric(const Model::DeleteCustomMetricRequest &request)const;
|
DeleteCustomMetricOutcome deleteCustomMetric(const Model::DeleteCustomMetricRequest &request)const;
|
||||||
void deleteCustomMetricAsync(const Model::DeleteCustomMetricRequest& request, const DeleteCustomMetricAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void deleteCustomMetricAsync(const Model::DeleteCustomMetricRequest& request, const DeleteCustomMetricAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DeleteCustomMetricOutcomeCallable deleteCustomMetricCallable(const Model::DeleteCustomMetricRequest& request) const;
|
DeleteCustomMetricOutcomeCallable deleteCustomMetricCallable(const Model::DeleteCustomMetricRequest& request) const;
|
||||||
|
DeleteDynamicTagGroupOutcome deleteDynamicTagGroup(const Model::DeleteDynamicTagGroupRequest &request)const;
|
||||||
|
void deleteDynamicTagGroupAsync(const Model::DeleteDynamicTagGroupRequest& request, const DeleteDynamicTagGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DeleteDynamicTagGroupOutcomeCallable deleteDynamicTagGroupCallable(const Model::DeleteDynamicTagGroupRequest& request) const;
|
||||||
DeleteEventRuleTargetsOutcome deleteEventRuleTargets(const Model::DeleteEventRuleTargetsRequest &request)const;
|
DeleteEventRuleTargetsOutcome deleteEventRuleTargets(const Model::DeleteEventRuleTargetsRequest &request)const;
|
||||||
void deleteEventRuleTargetsAsync(const Model::DeleteEventRuleTargetsRequest& request, const DeleteEventRuleTargetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void deleteEventRuleTargetsAsync(const Model::DeleteEventRuleTargetsRequest& request, const DeleteEventRuleTargetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DeleteEventRuleTargetsOutcomeCallable deleteEventRuleTargetsCallable(const Model::DeleteEventRuleTargetsRequest& request) const;
|
DeleteEventRuleTargetsOutcomeCallable deleteEventRuleTargetsCallable(const Model::DeleteEventRuleTargetsRequest& request) const;
|
||||||
@@ -726,6 +752,9 @@ namespace AlibabaCloud
|
|||||||
DescribeCustomMetricListOutcome describeCustomMetricList(const Model::DescribeCustomMetricListRequest &request)const;
|
DescribeCustomMetricListOutcome describeCustomMetricList(const Model::DescribeCustomMetricListRequest &request)const;
|
||||||
void describeCustomMetricListAsync(const Model::DescribeCustomMetricListRequest& request, const DescribeCustomMetricListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeCustomMetricListAsync(const Model::DescribeCustomMetricListRequest& request, const DescribeCustomMetricListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeCustomMetricListOutcomeCallable describeCustomMetricListCallable(const Model::DescribeCustomMetricListRequest& request) const;
|
DescribeCustomMetricListOutcomeCallable describeCustomMetricListCallable(const Model::DescribeCustomMetricListRequest& request) const;
|
||||||
|
DescribeDynamicTagRuleListOutcome describeDynamicTagRuleList(const Model::DescribeDynamicTagRuleListRequest &request)const;
|
||||||
|
void describeDynamicTagRuleListAsync(const Model::DescribeDynamicTagRuleListRequest& request, const DescribeDynamicTagRuleListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDynamicTagRuleListOutcomeCallable describeDynamicTagRuleListCallable(const Model::DescribeDynamicTagRuleListRequest& request) const;
|
||||||
DescribeEventRuleAttributeOutcome describeEventRuleAttribute(const Model::DescribeEventRuleAttributeRequest &request)const;
|
DescribeEventRuleAttributeOutcome describeEventRuleAttribute(const Model::DescribeEventRuleAttributeRequest &request)const;
|
||||||
void describeEventRuleAttributeAsync(const Model::DescribeEventRuleAttributeRequest& request, const DescribeEventRuleAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeEventRuleAttributeAsync(const Model::DescribeEventRuleAttributeRequest& request, const DescribeEventRuleAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeEventRuleAttributeOutcomeCallable describeEventRuleAttributeCallable(const Model::DescribeEventRuleAttributeRequest& request) const;
|
DescribeEventRuleAttributeOutcomeCallable describeEventRuleAttributeCallable(const Model::DescribeEventRuleAttributeRequest& request) const;
|
||||||
@@ -807,6 +836,9 @@ namespace AlibabaCloud
|
|||||||
DescribeMonitoringConfigOutcome describeMonitoringConfig(const Model::DescribeMonitoringConfigRequest &request)const;
|
DescribeMonitoringConfigOutcome describeMonitoringConfig(const Model::DescribeMonitoringConfigRequest &request)const;
|
||||||
void describeMonitoringConfigAsync(const Model::DescribeMonitoringConfigRequest& request, const DescribeMonitoringConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeMonitoringConfigAsync(const Model::DescribeMonitoringConfigRequest& request, const DescribeMonitoringConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeMonitoringConfigOutcomeCallable describeMonitoringConfigCallable(const Model::DescribeMonitoringConfigRequest& request) const;
|
DescribeMonitoringConfigOutcomeCallable describeMonitoringConfigCallable(const Model::DescribeMonitoringConfigRequest& request) const;
|
||||||
|
DescribeProductResourceTagKeyListOutcome describeProductResourceTagKeyList(const Model::DescribeProductResourceTagKeyListRequest &request)const;
|
||||||
|
void describeProductResourceTagKeyListAsync(const Model::DescribeProductResourceTagKeyListRequest& request, const DescribeProductResourceTagKeyListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeProductResourceTagKeyListOutcomeCallable describeProductResourceTagKeyListCallable(const Model::DescribeProductResourceTagKeyListRequest& request) const;
|
||||||
DescribeProductsOfActiveMetricRuleOutcome describeProductsOfActiveMetricRule(const Model::DescribeProductsOfActiveMetricRuleRequest &request)const;
|
DescribeProductsOfActiveMetricRuleOutcome describeProductsOfActiveMetricRule(const Model::DescribeProductsOfActiveMetricRuleRequest &request)const;
|
||||||
void describeProductsOfActiveMetricRuleAsync(const Model::DescribeProductsOfActiveMetricRuleRequest& request, const DescribeProductsOfActiveMetricRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeProductsOfActiveMetricRuleAsync(const Model::DescribeProductsOfActiveMetricRuleRequest& request, const DescribeProductsOfActiveMetricRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeProductsOfActiveMetricRuleOutcomeCallable describeProductsOfActiveMetricRuleCallable(const Model::DescribeProductsOfActiveMetricRuleRequest& request) const;
|
DescribeProductsOfActiveMetricRuleOutcomeCallable describeProductsOfActiveMetricRuleCallable(const Model::DescribeProductsOfActiveMetricRuleRequest& request) const;
|
||||||
|
|||||||
@@ -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_CMS_MODEL_CREATEDYNAMICTAGGROUPREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CMS_MODEL_CREATEDYNAMICTAGGROUPREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cms/CmsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cms
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CMS_EXPORT CreateDynamicTagGroupRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
struct MatchExpress
|
||||||
|
{
|
||||||
|
std::string tagValue;
|
||||||
|
std::string tagValueMatchFunction;
|
||||||
|
};
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateDynamicTagGroupRequest();
|
||||||
|
~CreateDynamicTagGroupRequest();
|
||||||
|
|
||||||
|
bool getEnableSubscribeEvent()const;
|
||||||
|
void setEnableSubscribeEvent(bool enableSubscribeEvent);
|
||||||
|
std::string getMatchExpressFilterRelation()const;
|
||||||
|
void setMatchExpressFilterRelation(const std::string& matchExpressFilterRelation);
|
||||||
|
bool getEnableInstallAgent()const;
|
||||||
|
void setEnableInstallAgent(bool enableInstallAgent);
|
||||||
|
std::string getRegionId()const;
|
||||||
|
void setRegionId(const std::string& regionId);
|
||||||
|
std::vector<MatchExpress> getMatchExpress()const;
|
||||||
|
void setMatchExpress(const std::vector<MatchExpress>& matchExpress);
|
||||||
|
std::vector<std::string> getContactGroupList()const;
|
||||||
|
void setContactGroupList(const std::vector<std::string>& contactGroupList);
|
||||||
|
std::vector<std::string> getTemplateIdList()const;
|
||||||
|
void setTemplateIdList(const std::vector<std::string>& templateIdList);
|
||||||
|
std::string getTagKey()const;
|
||||||
|
void setTagKey(const std::string& tagKey);
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool enableSubscribeEvent_;
|
||||||
|
std::string matchExpressFilterRelation_;
|
||||||
|
bool enableInstallAgent_;
|
||||||
|
std::string regionId_;
|
||||||
|
std::vector<MatchExpress> matchExpress_;
|
||||||
|
std::vector<std::string> contactGroupList_;
|
||||||
|
std::vector<std::string> templateIdList_;
|
||||||
|
std::string tagKey_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEDYNAMICTAGGROUPREQUEST_H_
|
||||||
@@ -14,43 +14,30 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITMATERIALSRESULT_H_
|
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEDYNAMICTAGGROUPRESULT_H_
|
||||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITMATERIALSRESULT_H_
|
#define ALIBABACLOUD_CMS_MODEL_CREATEDYNAMICTAGGROUPRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
#include <alibabacloud/cms/CmsExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Cloudauth
|
namespace Cms
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT SubmitMaterialsResult : public ServiceResult
|
class ALIBABACLOUD_CMS_EXPORT CreateDynamicTagGroupResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct Data
|
|
||||||
{
|
|
||||||
struct VerifyStatus
|
|
||||||
{
|
|
||||||
std::string auditConclusions;
|
|
||||||
float trustedScore;
|
|
||||||
float authorityComparisonScore;
|
|
||||||
float similarityScore;
|
|
||||||
int statusCode;
|
|
||||||
};
|
|
||||||
VerifyStatus verifyStatus;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
SubmitMaterialsResult();
|
CreateDynamicTagGroupResult();
|
||||||
explicit SubmitMaterialsResult(const std::string &payload);
|
explicit CreateDynamicTagGroupResult(const std::string &payload);
|
||||||
~SubmitMaterialsResult();
|
~CreateDynamicTagGroupResult();
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
Data getData()const;
|
|
||||||
std::string getCode()const;
|
std::string getCode()const;
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
@@ -58,7 +45,6 @@ namespace AlibabaCloud
|
|||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
Data data_;
|
|
||||||
std::string code_;
|
std::string code_;
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
@@ -66,4 +52,4 @@ namespace AlibabaCloud
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITMATERIALSRESULT_H_
|
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEDYNAMICTAGGROUPRESULT_H_
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEDYNAMICTAGGROUPREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CMS_MODEL_DELETEDYNAMICTAGGROUPREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cms/CmsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cms
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CMS_EXPORT DeleteDynamicTagGroupRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteDynamicTagGroupRequest();
|
||||||
|
~DeleteDynamicTagGroupRequest();
|
||||||
|
|
||||||
|
std::string getDynamicTagRuleId()const;
|
||||||
|
void setDynamicTagRuleId(const std::string& dynamicTagRuleId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string dynamicTagRuleId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEDYNAMICTAGGROUPREQUEST_H_
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEDYNAMICTAGGROUPRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CMS_MODEL_DELETEDYNAMICTAGGROUPRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cms/CmsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cms
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CMS_EXPORT DeleteDynamicTagGroupResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteDynamicTagGroupResult();
|
||||||
|
explicit DeleteDynamicTagGroupResult(const std::string &payload);
|
||||||
|
~DeleteDynamicTagGroupResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEDYNAMICTAGGROUPRESULT_H_
|
||||||
@@ -32,13 +32,17 @@ namespace AlibabaCloud
|
|||||||
class ALIBABACLOUD_CMS_EXPORT DeleteSiteMonitorsResult : public ServiceResult
|
class ALIBABACLOUD_CMS_EXPORT DeleteSiteMonitorsResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
int count;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
DeleteSiteMonitorsResult();
|
DeleteSiteMonitorsResult();
|
||||||
explicit DeleteSiteMonitorsResult(const std::string &payload);
|
explicit DeleteSiteMonitorsResult(const std::string &payload);
|
||||||
~DeleteSiteMonitorsResult();
|
~DeleteSiteMonitorsResult();
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
std::string getData()const;
|
Data getData()const;
|
||||||
std::string getCode()const;
|
std::string getCode()const;
|
||||||
std::string getSuccess()const;
|
std::string getSuccess()const;
|
||||||
|
|
||||||
@@ -46,7 +50,7 @@ namespace AlibabaCloud
|
|||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
std::string data_;
|
Data data_;
|
||||||
std::string code_;
|
std::string code_;
|
||||||
std::string success_;
|
std::string success_;
|
||||||
|
|
||||||
|
|||||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
|||||||
DescribeAlertHistoryListRequest();
|
DescribeAlertHistoryListRequest();
|
||||||
~DescribeAlertHistoryListRequest();
|
~DescribeAlertHistoryListRequest();
|
||||||
|
|
||||||
std::string getAlertStatus()const;
|
|
||||||
void setAlertStatus(const std::string& alertStatus);
|
|
||||||
std::string getRuleName()const;
|
std::string getRuleName()const;
|
||||||
void setRuleName(const std::string& ruleName);
|
void setRuleName(const std::string& ruleName);
|
||||||
std::string getStartTime()const;
|
std::string getStartTime()const;
|
||||||
@@ -59,9 +57,10 @@ namespace AlibabaCloud
|
|||||||
void setPage(int page);
|
void setPage(int page);
|
||||||
std::string getRuleId()const;
|
std::string getRuleId()const;
|
||||||
void setRuleId(const std::string& ruleId);
|
void setRuleId(const std::string& ruleId);
|
||||||
|
std::string getStatus()const;
|
||||||
|
void setStatus(const std::string& status);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string alertStatus_;
|
|
||||||
std::string ruleName_;
|
std::string ruleName_;
|
||||||
std::string startTime_;
|
std::string startTime_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
@@ -73,6 +72,7 @@ namespace AlibabaCloud
|
|||||||
std::string _namespace_;
|
std::string _namespace_;
|
||||||
int page_;
|
int page_;
|
||||||
std::string ruleId_;
|
std::string ruleId_;
|
||||||
|
std::string status_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
int status;
|
int status;
|
||||||
std::vector<std::string> contactGroups;
|
std::vector<std::string> contactGroups;
|
||||||
std::string alertName;
|
|
||||||
std::string ruleId;
|
std::string ruleId;
|
||||||
std::string dimensions;
|
std::string dimensions;
|
||||||
int evaluationCount;
|
int evaluationCount;
|
||||||
@@ -44,15 +43,17 @@ namespace AlibabaCloud
|
|||||||
std::vector<std::string> contactMails;
|
std::vector<std::string> contactMails;
|
||||||
std::vector<std::string> contactSmses;
|
std::vector<std::string> contactSmses;
|
||||||
long alertTime;
|
long alertTime;
|
||||||
std::string alertState;
|
|
||||||
std::string groupId;
|
std::string groupId;
|
||||||
std::string instanceName;
|
std::string instanceName;
|
||||||
std::string metricName;
|
std::string metricName;
|
||||||
std::vector<std::string> contacts;
|
std::vector<std::string> contacts;
|
||||||
std::string expression;
|
std::string expression;
|
||||||
|
std::string state;
|
||||||
std::string value;
|
std::string value;
|
||||||
std::string webhooks;
|
std::string webhooks;
|
||||||
std::string level;
|
std::string level;
|
||||||
|
std::string id;
|
||||||
|
std::string preLevel;
|
||||||
long lastTime;
|
long lastTime;
|
||||||
std::string ruleName;
|
std::string ruleName;
|
||||||
std::vector<std::string> contactALIIMs;
|
std::vector<std::string> contactALIIMs;
|
||||||
|
|||||||
@@ -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_CMS_MODEL_DESCRIBEDYNAMICTAGRULELISTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEDYNAMICTAGRULELISTREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cms/CmsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cms
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CMS_EXPORT DescribeDynamicTagRuleListRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeDynamicTagRuleListRequest();
|
||||||
|
~DescribeDynamicTagRuleListRequest();
|
||||||
|
|
||||||
|
std::string getPageNumber()const;
|
||||||
|
void setPageNumber(const std::string& pageNumber);
|
||||||
|
std::string getPageSize()const;
|
||||||
|
void setPageSize(const std::string& pageSize);
|
||||||
|
std::string getTagKey()const;
|
||||||
|
void setTagKey(const std::string& tagKey);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string pageNumber_;
|
||||||
|
std::string pageSize_;
|
||||||
|
std::string tagKey_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEDYNAMICTAGRULELISTREQUEST_H_
|
||||||
@@ -0,0 +1,78 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEDYNAMICTAGRULELISTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEDYNAMICTAGRULELISTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cms/CmsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cms
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CMS_EXPORT DescribeDynamicTagRuleListResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct TagGroup
|
||||||
|
{
|
||||||
|
struct MatchExpressItem
|
||||||
|
{
|
||||||
|
std::string tagValue;
|
||||||
|
std::string tagValueMatchFunction;
|
||||||
|
};
|
||||||
|
std::string status;
|
||||||
|
std::string matchExpressFilterRelation;
|
||||||
|
std::string dynamicTagRuleId;
|
||||||
|
std::vector<std::string> templateIdList;
|
||||||
|
std::string tagKey;
|
||||||
|
std::vector<TagGroup::MatchExpressItem> matchExpress;
|
||||||
|
std::string regionId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDynamicTagRuleListResult();
|
||||||
|
explicit DescribeDynamicTagRuleListResult(const std::string &payload);
|
||||||
|
~DescribeDynamicTagRuleListResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getPageSize()const;
|
||||||
|
std::string getPageNumber()const;
|
||||||
|
int getTotal()const;
|
||||||
|
std::vector<TagGroup> getTagGroupList()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string pageSize_;
|
||||||
|
std::string pageNumber_;
|
||||||
|
int total_;
|
||||||
|
std::vector<TagGroup> tagGroupList_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEDYNAMICTAGRULELISTRESULT_H_
|
||||||
@@ -44,31 +44,37 @@ namespace AlibabaCloud
|
|||||||
void setSelectContactGroups(bool selectContactGroups);
|
void setSelectContactGroups(bool selectContactGroups);
|
||||||
bool getIncludeTemplateHistory()const;
|
bool getIncludeTemplateHistory()const;
|
||||||
void setIncludeTemplateHistory(bool includeTemplateHistory);
|
void setIncludeTemplateHistory(bool includeTemplateHistory);
|
||||||
|
std::string getDynamicTagRuleId()const;
|
||||||
|
void setDynamicTagRuleId(const std::string& dynamicTagRuleId);
|
||||||
std::string getType()const;
|
std::string getType()const;
|
||||||
void setType(const std::string& type);
|
void setType(const std::string& type);
|
||||||
std::string getGroupName()const;
|
|
||||||
void setGroupName(const std::string& groupName);
|
|
||||||
int getPageNumber()const;
|
int getPageNumber()const;
|
||||||
void setPageNumber(int pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
std::string getInstanceId()const;
|
|
||||||
void setInstanceId(const std::string& instanceId);
|
|
||||||
int getPageSize()const;
|
int getPageSize()const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
std::vector<Tag> getTag()const;
|
std::vector<Tag> getTag()const;
|
||||||
void setTag(const std::vector<Tag>& tag);
|
void setTag(const std::vector<Tag>& tag);
|
||||||
std::string getKeyword()const;
|
std::string getKeyword()const;
|
||||||
void setKeyword(const std::string& keyword);
|
void setKeyword(const std::string& keyword);
|
||||||
|
std::string getGroupId()const;
|
||||||
|
void setGroupId(const std::string& groupId);
|
||||||
|
std::string getGroupName()const;
|
||||||
|
void setGroupName(const std::string& groupName);
|
||||||
|
std::string getInstanceId()const;
|
||||||
|
void setInstanceId(const std::string& instanceId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool selectContactGroups_;
|
bool selectContactGroups_;
|
||||||
bool includeTemplateHistory_;
|
bool includeTemplateHistory_;
|
||||||
|
std::string dynamicTagRuleId_;
|
||||||
std::string type_;
|
std::string type_;
|
||||||
std::string groupName_;
|
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::string instanceId_;
|
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::vector<Tag> tag_;
|
std::vector<Tag> tag_;
|
||||||
std::string keyword_;
|
std::string keyword_;
|
||||||
|
std::string groupId_;
|
||||||
|
std::string groupName_;
|
||||||
|
std::string instanceId_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,14 +45,17 @@ namespace AlibabaCloud
|
|||||||
};
|
};
|
||||||
std::string groupName;
|
std::string groupName;
|
||||||
std::vector<Resource::ContactGroup> contactGroups;
|
std::vector<Resource::ContactGroup> contactGroups;
|
||||||
|
std::string dynamicTagRuleId;
|
||||||
|
long gmtModified;
|
||||||
|
std::string groupFounderTagValue;
|
||||||
|
long groupId;
|
||||||
|
std::string serviceId;
|
||||||
std::string type;
|
std::string type;
|
||||||
long gmtCreate;
|
long gmtCreate;
|
||||||
std::string bindUrl;
|
std::string bindUrl;
|
||||||
long gmtModified;
|
std::string groupFounderTagKey;
|
||||||
std::vector<std::string> templateIds;
|
std::vector<std::string> templateIds;
|
||||||
std::vector<Resource::Tag> tags;
|
std::vector<Resource::Tag> tags;
|
||||||
long groupId;
|
|
||||||
std::string serviceId;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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_CMS_MODEL_DESCRIBEPRODUCTRESOURCETAGKEYLISTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEPRODUCTRESOURCETAGKEYLISTREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cms/CmsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cms
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CMS_EXPORT DescribeProductResourceTagKeyListRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeProductResourceTagKeyListRequest();
|
||||||
|
~DescribeProductResourceTagKeyListRequest();
|
||||||
|
|
||||||
|
std::string getNextToken()const;
|
||||||
|
void setNextToken(const std::string& nextToken);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string nextToken_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEPRODUCTRESOURCETAGKEYLISTREQUEST_H_
|
||||||
@@ -14,56 +14,46 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITVERIFICATIONRESULT_H_
|
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEPRODUCTRESOURCETAGKEYLISTRESULT_H_
|
||||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITVERIFICATIONRESULT_H_
|
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEPRODUCTRESOURCETAGKEYLISTRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
#include <alibabacloud/cms/CmsExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Cloudauth
|
namespace Cms
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT SubmitVerificationResult : public ServiceResult
|
class ALIBABACLOUD_CMS_EXPORT DescribeProductResourceTagKeyListResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct Data
|
|
||||||
{
|
|
||||||
struct VerifyStatus
|
|
||||||
{
|
|
||||||
std::string auditConclusions;
|
|
||||||
float trustedScore;
|
|
||||||
float authorityComparisonScore;
|
|
||||||
float similarityScore;
|
|
||||||
int statusCode;
|
|
||||||
};
|
|
||||||
VerifyStatus verifyStatus;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
SubmitVerificationResult();
|
DescribeProductResourceTagKeyListResult();
|
||||||
explicit SubmitVerificationResult(const std::string &payload);
|
explicit DescribeProductResourceTagKeyListResult(const std::string &payload);
|
||||||
~SubmitVerificationResult();
|
~DescribeProductResourceTagKeyListResult();
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
Data getData()const;
|
std::string getNextToken()const;
|
||||||
std::string getCode()const;
|
std::string getCode()const;
|
||||||
|
std::vector<std::string> getTagKeys()const;
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
Data data_;
|
std::string nextToken_;
|
||||||
std::string code_;
|
std::string code_;
|
||||||
|
std::vector<std::string> tagKeys_;
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITVERIFICATIONRESULT_H_
|
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEPRODUCTRESOURCETAGKEYLISTRESULT_H_
|
||||||
@@ -123,6 +123,42 @@ CmsClient::ApplyMetricRuleTemplateOutcomeCallable CmsClient::applyMetricRuleTemp
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CmsClient::CreateDynamicTagGroupOutcome CmsClient::createDynamicTagGroup(const CreateDynamicTagGroupRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return CreateDynamicTagGroupOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return CreateDynamicTagGroupOutcome(CreateDynamicTagGroupResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return CreateDynamicTagGroupOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CmsClient::createDynamicTagGroupAsync(const CreateDynamicTagGroupRequest& request, const CreateDynamicTagGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, createDynamicTagGroup(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CmsClient::CreateDynamicTagGroupOutcomeCallable CmsClient::createDynamicTagGroupCallable(const CreateDynamicTagGroupRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<CreateDynamicTagGroupOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->createDynamicTagGroup(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
CmsClient::CreateGroupMetricRulesOutcome CmsClient::createGroupMetricRules(const CreateGroupMetricRulesRequest &request) const
|
CmsClient::CreateGroupMetricRulesOutcome CmsClient::createGroupMetricRules(const CreateGroupMetricRulesRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -627,6 +663,42 @@ CmsClient::DeleteCustomMetricOutcomeCallable CmsClient::deleteCustomMetricCallab
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CmsClient::DeleteDynamicTagGroupOutcome CmsClient::deleteDynamicTagGroup(const DeleteDynamicTagGroupRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DeleteDynamicTagGroupOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DeleteDynamicTagGroupOutcome(DeleteDynamicTagGroupResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DeleteDynamicTagGroupOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CmsClient::deleteDynamicTagGroupAsync(const DeleteDynamicTagGroupRequest& request, const DeleteDynamicTagGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, deleteDynamicTagGroup(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CmsClient::DeleteDynamicTagGroupOutcomeCallable CmsClient::deleteDynamicTagGroupCallable(const DeleteDynamicTagGroupRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DeleteDynamicTagGroupOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->deleteDynamicTagGroup(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
CmsClient::DeleteEventRuleTargetsOutcome CmsClient::deleteEventRuleTargets(const DeleteEventRuleTargetsRequest &request) const
|
CmsClient::DeleteEventRuleTargetsOutcome CmsClient::deleteEventRuleTargets(const DeleteEventRuleTargetsRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1491,6 +1563,42 @@ CmsClient::DescribeCustomMetricListOutcomeCallable CmsClient::describeCustomMetr
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CmsClient::DescribeDynamicTagRuleListOutcome CmsClient::describeDynamicTagRuleList(const DescribeDynamicTagRuleListRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDynamicTagRuleListOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDynamicTagRuleListOutcome(DescribeDynamicTagRuleListResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDynamicTagRuleListOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CmsClient::describeDynamicTagRuleListAsync(const DescribeDynamicTagRuleListRequest& request, const DescribeDynamicTagRuleListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDynamicTagRuleList(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CmsClient::DescribeDynamicTagRuleListOutcomeCallable CmsClient::describeDynamicTagRuleListCallable(const DescribeDynamicTagRuleListRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDynamicTagRuleListOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDynamicTagRuleList(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
CmsClient::DescribeEventRuleAttributeOutcome CmsClient::describeEventRuleAttribute(const DescribeEventRuleAttributeRequest &request) const
|
CmsClient::DescribeEventRuleAttributeOutcome CmsClient::describeEventRuleAttribute(const DescribeEventRuleAttributeRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -2463,6 +2571,42 @@ CmsClient::DescribeMonitoringConfigOutcomeCallable CmsClient::describeMonitoring
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CmsClient::DescribeProductResourceTagKeyListOutcome CmsClient::describeProductResourceTagKeyList(const DescribeProductResourceTagKeyListRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeProductResourceTagKeyListOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeProductResourceTagKeyListOutcome(DescribeProductResourceTagKeyListResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeProductResourceTagKeyListOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CmsClient::describeProductResourceTagKeyListAsync(const DescribeProductResourceTagKeyListRequest& request, const DescribeProductResourceTagKeyListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeProductResourceTagKeyList(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CmsClient::DescribeProductResourceTagKeyListOutcomeCallable CmsClient::describeProductResourceTagKeyListCallable(const DescribeProductResourceTagKeyListRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeProductResourceTagKeyListOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeProductResourceTagKeyList(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
CmsClient::DescribeProductsOfActiveMetricRuleOutcome CmsClient::describeProductsOfActiveMetricRule(const DescribeProductsOfActiveMetricRuleRequest &request) const
|
CmsClient::DescribeProductsOfActiveMetricRuleOutcome CmsClient::describeProductsOfActiveMetricRule(const DescribeProductsOfActiveMetricRuleRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user