From cd9e24cdd0f70b4e048337e539e79c049ba1d475 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 11 Feb 2025 03:29:17 +0000 Subject: [PATCH] Generated 2019-03-07 for Cloudauth. --- VERSION | 2 +- cloudauth/CMakeLists.txt | 80 ++ .../alibabacloud/cloudauth/CloudauthClient.h | 160 ++++ .../cloudauth/model/BankMetaVerifyRequest.h | 63 ++ .../cloudauth/model/BankMetaVerifyResult.h | 60 ++ .../cloudauth/model/CredentialVerifyRequest.h | 85 +++ .../cloudauth/model/CredentialVerifyResult.h | 71 ++ .../cloudauth/model/DeepfakeDetectRequest.h | 51 ++ .../cloudauth/model/DeepfakeDetectResult.h | 61 ++ .../model/DeleteFaceVerifyResultRequest.h | 45 ++ .../model/DeleteFaceVerifyResultResult.h | 61 ++ .../model/DescribeFaceGuardRiskRequest.h | 51 ++ .../model/DescribeFaceGuardRiskResult.h | 62 ++ .../model/Id2MetaPeriodVerifyRequest.h | 54 ++ .../model/Id2MetaPeriodVerifyResult.h | 59 ++ .../model/Id2MetaStandardVerifyRequest.h | 48 ++ .../model/Id2MetaStandardVerifyResult.h | 59 ++ .../cloudauth/model/InitFaceVerifyRequest.h | 81 +- .../model/InsertWhiteListSettingRequest.h | 57 ++ .../model/InsertWhiteListSettingResult.h | 57 ++ .../Mobile3MetaDetailStandardVerifyRequest.h | 51 ++ .../Mobile3MetaDetailStandardVerifyResult.h | 61 ++ .../Mobile3MetaSimpleStandardVerifyRequest.h | 51 ++ .../Mobile3MetaSimpleStandardVerifyResult.h | 60 ++ .../cloudauth/model/MobileDetectRequest.h | 45 ++ .../cloudauth/model/MobileDetectResult.h | 68 ++ .../model/MobileOnlineStatusRequest.h | 45 ++ .../model/MobileOnlineStatusResult.h | 61 ++ .../cloudauth/model/MobileOnlineTimeRequest.h | 45 ++ .../cloudauth/model/MobileOnlineTimeResult.h | 61 ++ .../model/PageQueryWhiteListSettingRequest.h | 66 ++ .../model/PageQueryWhiteListSettingResult.h | 79 ++ .../model/RemoveWhiteListSettingRequest.h | 45 ++ .../model/RemoveWhiteListSettingResult.h | 57 ++ .../model/Vehicle5ItemQueryRequest.h | 48 ++ .../cloudauth/model/Vehicle5ItemQueryResult.h | 60 ++ .../model/VehicleInsureQueryRequest.h | 51 ++ .../model/VehicleInsureQueryResult.h | 60 ++ .../model/VehicleMetaVerifyRequest.h | 57 ++ .../cloudauth/model/VehicleMetaVerifyResult.h | 59 ++ .../model/VehicleMetaVerifyV2Request.h | 57 ++ .../model/VehicleMetaVerifyV2Result.h | 60 ++ .../cloudauth/model/VehicleQueryRequest.h | 48 ++ .../cloudauth/model/VehicleQueryResult.h | 60 ++ cloudauth/src/CloudauthClient.cc | 720 ++++++++++++++++++ cloudauth/src/model/BankMetaVerifyRequest.cc | 99 +++ cloudauth/src/model/BankMetaVerifyResult.cc | 68 ++ .../src/model/CredentialVerifyRequest.cc | 156 ++++ cloudauth/src/model/CredentialVerifyResult.cc | 83 ++ cloudauth/src/model/DeepfakeDetectRequest.cc | 63 ++ cloudauth/src/model/DeepfakeDetectResult.cc | 70 ++ .../model/DeleteFaceVerifyResultRequest.cc | 45 ++ .../src/model/DeleteFaceVerifyResultResult.cc | 70 ++ .../src/model/DescribeFaceGuardRiskRequest.cc | 63 ++ .../src/model/DescribeFaceGuardRiskResult.cc | 72 ++ .../src/model/Id2MetaPeriodVerifyRequest.cc | 72 ++ .../src/model/Id2MetaPeriodVerifyResult.cc | 66 ++ .../src/model/Id2MetaStandardVerifyRequest.cc | 54 ++ .../src/model/Id2MetaStandardVerifyResult.cc | 66 ++ cloudauth/src/model/Id2MetaVerifyRequest.cc | 6 +- cloudauth/src/model/InitFaceVerifyRequest.cc | 235 +++--- .../model/InsertWhiteListSettingRequest.cc | 81 ++ .../src/model/InsertWhiteListSettingResult.cc | 72 ++ .../Mobile3MetaDetailStandardVerifyRequest.cc | 63 ++ .../Mobile3MetaDetailStandardVerifyResult.cc | 70 ++ .../model/Mobile3MetaDetailVerifyRequest.cc | 8 +- .../Mobile3MetaSimpleStandardVerifyRequest.cc | 63 ++ .../Mobile3MetaSimpleStandardVerifyResult.cc | 68 ++ .../model/Mobile3MetaSimpleVerifyRequest.cc | 8 +- cloudauth/src/model/MobileDetectRequest.cc | 45 ++ cloudauth/src/model/MobileDetectResult.cc | 82 ++ .../src/model/MobileOnlineStatusRequest.cc | 45 ++ .../src/model/MobileOnlineStatusResult.cc | 70 ++ .../src/model/MobileOnlineTimeRequest.cc | 45 ++ cloudauth/src/model/MobileOnlineTimeResult.cc | 70 ++ .../model/PageQueryWhiteListSettingRequest.cc | 108 +++ .../model/PageQueryWhiteListSettingResult.cc | 126 +++ .../model/RemoveWhiteListSettingRequest.cc | 47 ++ .../src/model/RemoveWhiteListSettingResult.cc | 72 ++ .../src/model/Vehicle5ItemQueryRequest.cc | 54 ++ .../src/model/Vehicle5ItemQueryResult.cc | 68 ++ .../src/model/VehicleInsureQueryRequest.cc | 63 ++ .../src/model/VehicleInsureQueryResult.cc | 68 ++ .../src/model/VehicleMetaVerifyRequest.cc | 81 ++ .../src/model/VehicleMetaVerifyResult.cc | 66 ++ .../src/model/VehicleMetaVerifyV2Request.cc | 81 ++ .../src/model/VehicleMetaVerifyV2Result.cc | 68 ++ cloudauth/src/model/VehicleQueryRequest.cc | 54 ++ cloudauth/src/model/VehicleQueryResult.cc | 68 ++ 89 files changed, 6304 insertions(+), 140 deletions(-) create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/BankMetaVerifyRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/BankMetaVerifyResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/CredentialVerifyRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/CredentialVerifyResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/DeepfakeDetectRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/DeepfakeDetectResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/DeleteFaceVerifyResultRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/DeleteFaceVerifyResultResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/DescribeFaceGuardRiskRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/DescribeFaceGuardRiskResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/Id2MetaPeriodVerifyRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/Id2MetaPeriodVerifyResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/Id2MetaStandardVerifyRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/Id2MetaStandardVerifyResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/InsertWhiteListSettingRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/InsertWhiteListSettingResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/Mobile3MetaDetailStandardVerifyRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/Mobile3MetaDetailStandardVerifyResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/Mobile3MetaSimpleStandardVerifyRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/Mobile3MetaSimpleStandardVerifyResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/MobileDetectRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/MobileDetectResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/MobileOnlineStatusRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/MobileOnlineStatusResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/MobileOnlineTimeRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/MobileOnlineTimeResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/PageQueryWhiteListSettingRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/PageQueryWhiteListSettingResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/RemoveWhiteListSettingRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/RemoveWhiteListSettingResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/Vehicle5ItemQueryRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/Vehicle5ItemQueryResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/VehicleInsureQueryRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/VehicleInsureQueryResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/VehicleMetaVerifyRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/VehicleMetaVerifyResult.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/VehicleMetaVerifyV2Request.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/VehicleMetaVerifyV2Result.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/VehicleQueryRequest.h create mode 100644 cloudauth/include/alibabacloud/cloudauth/model/VehicleQueryResult.h create mode 100644 cloudauth/src/model/BankMetaVerifyRequest.cc create mode 100644 cloudauth/src/model/BankMetaVerifyResult.cc create mode 100644 cloudauth/src/model/CredentialVerifyRequest.cc create mode 100644 cloudauth/src/model/CredentialVerifyResult.cc create mode 100644 cloudauth/src/model/DeepfakeDetectRequest.cc create mode 100644 cloudauth/src/model/DeepfakeDetectResult.cc create mode 100644 cloudauth/src/model/DeleteFaceVerifyResultRequest.cc create mode 100644 cloudauth/src/model/DeleteFaceVerifyResultResult.cc create mode 100644 cloudauth/src/model/DescribeFaceGuardRiskRequest.cc create mode 100644 cloudauth/src/model/DescribeFaceGuardRiskResult.cc create mode 100644 cloudauth/src/model/Id2MetaPeriodVerifyRequest.cc create mode 100644 cloudauth/src/model/Id2MetaPeriodVerifyResult.cc create mode 100644 cloudauth/src/model/Id2MetaStandardVerifyRequest.cc create mode 100644 cloudauth/src/model/Id2MetaStandardVerifyResult.cc create mode 100644 cloudauth/src/model/InsertWhiteListSettingRequest.cc create mode 100644 cloudauth/src/model/InsertWhiteListSettingResult.cc create mode 100644 cloudauth/src/model/Mobile3MetaDetailStandardVerifyRequest.cc create mode 100644 cloudauth/src/model/Mobile3MetaDetailStandardVerifyResult.cc create mode 100644 cloudauth/src/model/Mobile3MetaSimpleStandardVerifyRequest.cc create mode 100644 cloudauth/src/model/Mobile3MetaSimpleStandardVerifyResult.cc create mode 100644 cloudauth/src/model/MobileDetectRequest.cc create mode 100644 cloudauth/src/model/MobileDetectResult.cc create mode 100644 cloudauth/src/model/MobileOnlineStatusRequest.cc create mode 100644 cloudauth/src/model/MobileOnlineStatusResult.cc create mode 100644 cloudauth/src/model/MobileOnlineTimeRequest.cc create mode 100644 cloudauth/src/model/MobileOnlineTimeResult.cc create mode 100644 cloudauth/src/model/PageQueryWhiteListSettingRequest.cc create mode 100644 cloudauth/src/model/PageQueryWhiteListSettingResult.cc create mode 100644 cloudauth/src/model/RemoveWhiteListSettingRequest.cc create mode 100644 cloudauth/src/model/RemoveWhiteListSettingResult.cc create mode 100644 cloudauth/src/model/Vehicle5ItemQueryRequest.cc create mode 100644 cloudauth/src/model/Vehicle5ItemQueryResult.cc create mode 100644 cloudauth/src/model/VehicleInsureQueryRequest.cc create mode 100644 cloudauth/src/model/VehicleInsureQueryResult.cc create mode 100644 cloudauth/src/model/VehicleMetaVerifyRequest.cc create mode 100644 cloudauth/src/model/VehicleMetaVerifyResult.cc create mode 100644 cloudauth/src/model/VehicleMetaVerifyV2Request.cc create mode 100644 cloudauth/src/model/VehicleMetaVerifyV2Result.cc create mode 100644 cloudauth/src/model/VehicleQueryRequest.cc create mode 100644 cloudauth/src/model/VehicleQueryResult.cc diff --git a/VERSION b/VERSION index f2b8afad7..b0fba2f7a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.2041 \ No newline at end of file +1.36.2042 \ No newline at end of file diff --git a/cloudauth/CMakeLists.txt b/cloudauth/CMakeLists.txt index 9855bf743..94c33e1fb 100644 --- a/cloudauth/CMakeLists.txt +++ b/cloudauth/CMakeLists.txt @@ -23,6 +23,8 @@ set(cloudauth_public_header set(cloudauth_public_header_model include/alibabacloud/cloudauth/model/AIGCFaceVerifyRequest.h include/alibabacloud/cloudauth/model/AIGCFaceVerifyResult.h + include/alibabacloud/cloudauth/model/BankMetaVerifyRequest.h + include/alibabacloud/cloudauth/model/BankMetaVerifyResult.h include/alibabacloud/cloudauth/model/CompareFaceVerifyRequest.h include/alibabacloud/cloudauth/model/CompareFaceVerifyResult.h include/alibabacloud/cloudauth/model/CompareFacesRequest.h @@ -33,8 +35,16 @@ set(cloudauth_public_header_model include/alibabacloud/cloudauth/model/CreateAuthKeyResult.h include/alibabacloud/cloudauth/model/CreateVerifySettingRequest.h include/alibabacloud/cloudauth/model/CreateVerifySettingResult.h + include/alibabacloud/cloudauth/model/CredentialVerifyRequest.h + include/alibabacloud/cloudauth/model/CredentialVerifyResult.h + include/alibabacloud/cloudauth/model/DeepfakeDetectRequest.h + include/alibabacloud/cloudauth/model/DeepfakeDetectResult.h + include/alibabacloud/cloudauth/model/DeleteFaceVerifyResultRequest.h + include/alibabacloud/cloudauth/model/DeleteFaceVerifyResultResult.h include/alibabacloud/cloudauth/model/DescribeDeviceInfoRequest.h include/alibabacloud/cloudauth/model/DescribeDeviceInfoResult.h + include/alibabacloud/cloudauth/model/DescribeFaceGuardRiskRequest.h + include/alibabacloud/cloudauth/model/DescribeFaceGuardRiskResult.h include/alibabacloud/cloudauth/model/DescribeFaceVerifyRequest.h include/alibabacloud/cloudauth/model/DescribeFaceVerifyResult.h include/alibabacloud/cloudauth/model/DescribeOssUploadTokenRequest.h @@ -51,18 +61,48 @@ set(cloudauth_public_header_model include/alibabacloud/cloudauth/model/DescribeVerifyTokenResult.h include/alibabacloud/cloudauth/model/DetectFaceAttributesRequest.h include/alibabacloud/cloudauth/model/DetectFaceAttributesResult.h + include/alibabacloud/cloudauth/model/Id2MetaPeriodVerifyRequest.h + include/alibabacloud/cloudauth/model/Id2MetaPeriodVerifyResult.h + include/alibabacloud/cloudauth/model/Id2MetaStandardVerifyRequest.h + include/alibabacloud/cloudauth/model/Id2MetaStandardVerifyResult.h include/alibabacloud/cloudauth/model/Id2MetaVerifyRequest.h include/alibabacloud/cloudauth/model/Id2MetaVerifyResult.h include/alibabacloud/cloudauth/model/InitFaceVerifyRequest.h include/alibabacloud/cloudauth/model/InitFaceVerifyResult.h + include/alibabacloud/cloudauth/model/InsertWhiteListSettingRequest.h + include/alibabacloud/cloudauth/model/InsertWhiteListSettingResult.h include/alibabacloud/cloudauth/model/LivenessFaceVerifyRequest.h include/alibabacloud/cloudauth/model/LivenessFaceVerifyResult.h + include/alibabacloud/cloudauth/model/Mobile3MetaDetailStandardVerifyRequest.h + include/alibabacloud/cloudauth/model/Mobile3MetaDetailStandardVerifyResult.h include/alibabacloud/cloudauth/model/Mobile3MetaDetailVerifyRequest.h include/alibabacloud/cloudauth/model/Mobile3MetaDetailVerifyResult.h + include/alibabacloud/cloudauth/model/Mobile3MetaSimpleStandardVerifyRequest.h + include/alibabacloud/cloudauth/model/Mobile3MetaSimpleStandardVerifyResult.h include/alibabacloud/cloudauth/model/Mobile3MetaSimpleVerifyRequest.h include/alibabacloud/cloudauth/model/Mobile3MetaSimpleVerifyResult.h + include/alibabacloud/cloudauth/model/MobileDetectRequest.h + include/alibabacloud/cloudauth/model/MobileDetectResult.h + include/alibabacloud/cloudauth/model/MobileOnlineStatusRequest.h + include/alibabacloud/cloudauth/model/MobileOnlineStatusResult.h + include/alibabacloud/cloudauth/model/MobileOnlineTimeRequest.h + include/alibabacloud/cloudauth/model/MobileOnlineTimeResult.h include/alibabacloud/cloudauth/model/ModifyDeviceInfoRequest.h include/alibabacloud/cloudauth/model/ModifyDeviceInfoResult.h + include/alibabacloud/cloudauth/model/PageQueryWhiteListSettingRequest.h + include/alibabacloud/cloudauth/model/PageQueryWhiteListSettingResult.h + include/alibabacloud/cloudauth/model/RemoveWhiteListSettingRequest.h + include/alibabacloud/cloudauth/model/RemoveWhiteListSettingResult.h + include/alibabacloud/cloudauth/model/Vehicle5ItemQueryRequest.h + include/alibabacloud/cloudauth/model/Vehicle5ItemQueryResult.h + include/alibabacloud/cloudauth/model/VehicleInsureQueryRequest.h + include/alibabacloud/cloudauth/model/VehicleInsureQueryResult.h + include/alibabacloud/cloudauth/model/VehicleMetaVerifyRequest.h + include/alibabacloud/cloudauth/model/VehicleMetaVerifyResult.h + include/alibabacloud/cloudauth/model/VehicleMetaVerifyV2Request.h + include/alibabacloud/cloudauth/model/VehicleMetaVerifyV2Result.h + include/alibabacloud/cloudauth/model/VehicleQueryRequest.h + include/alibabacloud/cloudauth/model/VehicleQueryResult.h include/alibabacloud/cloudauth/model/VerifyMaterialRequest.h include/alibabacloud/cloudauth/model/VerifyMaterialResult.h ) @@ -70,6 +110,8 @@ set(cloudauth_src src/CloudauthClient.cc src/model/AIGCFaceVerifyRequest.cc src/model/AIGCFaceVerifyResult.cc + src/model/BankMetaVerifyRequest.cc + src/model/BankMetaVerifyResult.cc src/model/CompareFaceVerifyRequest.cc src/model/CompareFaceVerifyResult.cc src/model/CompareFacesRequest.cc @@ -80,8 +122,16 @@ set(cloudauth_src src/model/CreateAuthKeyResult.cc src/model/CreateVerifySettingRequest.cc src/model/CreateVerifySettingResult.cc + src/model/CredentialVerifyRequest.cc + src/model/CredentialVerifyResult.cc + src/model/DeepfakeDetectRequest.cc + src/model/DeepfakeDetectResult.cc + src/model/DeleteFaceVerifyResultRequest.cc + src/model/DeleteFaceVerifyResultResult.cc src/model/DescribeDeviceInfoRequest.cc src/model/DescribeDeviceInfoResult.cc + src/model/DescribeFaceGuardRiskRequest.cc + src/model/DescribeFaceGuardRiskResult.cc src/model/DescribeFaceVerifyRequest.cc src/model/DescribeFaceVerifyResult.cc src/model/DescribeOssUploadTokenRequest.cc @@ -98,18 +148,48 @@ set(cloudauth_src src/model/DescribeVerifyTokenResult.cc src/model/DetectFaceAttributesRequest.cc src/model/DetectFaceAttributesResult.cc + src/model/Id2MetaPeriodVerifyRequest.cc + src/model/Id2MetaPeriodVerifyResult.cc + src/model/Id2MetaStandardVerifyRequest.cc + src/model/Id2MetaStandardVerifyResult.cc src/model/Id2MetaVerifyRequest.cc src/model/Id2MetaVerifyResult.cc src/model/InitFaceVerifyRequest.cc src/model/InitFaceVerifyResult.cc + src/model/InsertWhiteListSettingRequest.cc + src/model/InsertWhiteListSettingResult.cc src/model/LivenessFaceVerifyRequest.cc src/model/LivenessFaceVerifyResult.cc + src/model/Mobile3MetaDetailStandardVerifyRequest.cc + src/model/Mobile3MetaDetailStandardVerifyResult.cc src/model/Mobile3MetaDetailVerifyRequest.cc src/model/Mobile3MetaDetailVerifyResult.cc + src/model/Mobile3MetaSimpleStandardVerifyRequest.cc + src/model/Mobile3MetaSimpleStandardVerifyResult.cc src/model/Mobile3MetaSimpleVerifyRequest.cc src/model/Mobile3MetaSimpleVerifyResult.cc + src/model/MobileDetectRequest.cc + src/model/MobileDetectResult.cc + src/model/MobileOnlineStatusRequest.cc + src/model/MobileOnlineStatusResult.cc + src/model/MobileOnlineTimeRequest.cc + src/model/MobileOnlineTimeResult.cc src/model/ModifyDeviceInfoRequest.cc src/model/ModifyDeviceInfoResult.cc + src/model/PageQueryWhiteListSettingRequest.cc + src/model/PageQueryWhiteListSettingResult.cc + src/model/RemoveWhiteListSettingRequest.cc + src/model/RemoveWhiteListSettingResult.cc + src/model/Vehicle5ItemQueryRequest.cc + src/model/Vehicle5ItemQueryResult.cc + src/model/VehicleInsureQueryRequest.cc + src/model/VehicleInsureQueryResult.cc + src/model/VehicleMetaVerifyRequest.cc + src/model/VehicleMetaVerifyResult.cc + src/model/VehicleMetaVerifyV2Request.cc + src/model/VehicleMetaVerifyV2Result.cc + src/model/VehicleQueryRequest.cc + src/model/VehicleQueryResult.cc src/model/VerifyMaterialRequest.cc src/model/VerifyMaterialResult.cc ) diff --git a/cloudauth/include/alibabacloud/cloudauth/CloudauthClient.h b/cloudauth/include/alibabacloud/cloudauth/CloudauthClient.h index 55116acf1..fc7840ca3 100644 --- a/cloudauth/include/alibabacloud/cloudauth/CloudauthClient.h +++ b/cloudauth/include/alibabacloud/cloudauth/CloudauthClient.h @@ -24,6 +24,8 @@ #include "CloudauthExport.h" #include "model/AIGCFaceVerifyRequest.h" #include "model/AIGCFaceVerifyResult.h" +#include "model/BankMetaVerifyRequest.h" +#include "model/BankMetaVerifyResult.h" #include "model/CompareFaceVerifyRequest.h" #include "model/CompareFaceVerifyResult.h" #include "model/CompareFacesRequest.h" @@ -34,8 +36,16 @@ #include "model/CreateAuthKeyResult.h" #include "model/CreateVerifySettingRequest.h" #include "model/CreateVerifySettingResult.h" +#include "model/CredentialVerifyRequest.h" +#include "model/CredentialVerifyResult.h" +#include "model/DeepfakeDetectRequest.h" +#include "model/DeepfakeDetectResult.h" +#include "model/DeleteFaceVerifyResultRequest.h" +#include "model/DeleteFaceVerifyResultResult.h" #include "model/DescribeDeviceInfoRequest.h" #include "model/DescribeDeviceInfoResult.h" +#include "model/DescribeFaceGuardRiskRequest.h" +#include "model/DescribeFaceGuardRiskResult.h" #include "model/DescribeFaceVerifyRequest.h" #include "model/DescribeFaceVerifyResult.h" #include "model/DescribeOssUploadTokenRequest.h" @@ -52,18 +62,48 @@ #include "model/DescribeVerifyTokenResult.h" #include "model/DetectFaceAttributesRequest.h" #include "model/DetectFaceAttributesResult.h" +#include "model/Id2MetaPeriodVerifyRequest.h" +#include "model/Id2MetaPeriodVerifyResult.h" +#include "model/Id2MetaStandardVerifyRequest.h" +#include "model/Id2MetaStandardVerifyResult.h" #include "model/Id2MetaVerifyRequest.h" #include "model/Id2MetaVerifyResult.h" #include "model/InitFaceVerifyRequest.h" #include "model/InitFaceVerifyResult.h" +#include "model/InsertWhiteListSettingRequest.h" +#include "model/InsertWhiteListSettingResult.h" #include "model/LivenessFaceVerifyRequest.h" #include "model/LivenessFaceVerifyResult.h" +#include "model/Mobile3MetaDetailStandardVerifyRequest.h" +#include "model/Mobile3MetaDetailStandardVerifyResult.h" #include "model/Mobile3MetaDetailVerifyRequest.h" #include "model/Mobile3MetaDetailVerifyResult.h" +#include "model/Mobile3MetaSimpleStandardVerifyRequest.h" +#include "model/Mobile3MetaSimpleStandardVerifyResult.h" #include "model/Mobile3MetaSimpleVerifyRequest.h" #include "model/Mobile3MetaSimpleVerifyResult.h" +#include "model/MobileDetectRequest.h" +#include "model/MobileDetectResult.h" +#include "model/MobileOnlineStatusRequest.h" +#include "model/MobileOnlineStatusResult.h" +#include "model/MobileOnlineTimeRequest.h" +#include "model/MobileOnlineTimeResult.h" #include "model/ModifyDeviceInfoRequest.h" #include "model/ModifyDeviceInfoResult.h" +#include "model/PageQueryWhiteListSettingRequest.h" +#include "model/PageQueryWhiteListSettingResult.h" +#include "model/RemoveWhiteListSettingRequest.h" +#include "model/RemoveWhiteListSettingResult.h" +#include "model/Vehicle5ItemQueryRequest.h" +#include "model/Vehicle5ItemQueryResult.h" +#include "model/VehicleInsureQueryRequest.h" +#include "model/VehicleInsureQueryResult.h" +#include "model/VehicleMetaVerifyRequest.h" +#include "model/VehicleMetaVerifyResult.h" +#include "model/VehicleMetaVerifyV2Request.h" +#include "model/VehicleMetaVerifyV2Result.h" +#include "model/VehicleQueryRequest.h" +#include "model/VehicleQueryResult.h" #include "model/VerifyMaterialRequest.h" #include "model/VerifyMaterialResult.h" @@ -78,6 +118,9 @@ namespace AlibabaCloud typedef Outcome AIGCFaceVerifyOutcome; typedef std::future AIGCFaceVerifyOutcomeCallable; typedef std::function&)> AIGCFaceVerifyAsyncHandler; + typedef Outcome BankMetaVerifyOutcome; + typedef std::future BankMetaVerifyOutcomeCallable; + typedef std::function&)> BankMetaVerifyAsyncHandler; typedef Outcome CompareFaceVerifyOutcome; typedef std::future CompareFaceVerifyOutcomeCallable; typedef std::function&)> CompareFaceVerifyAsyncHandler; @@ -93,9 +136,21 @@ namespace AlibabaCloud typedef Outcome CreateVerifySettingOutcome; typedef std::future CreateVerifySettingOutcomeCallable; typedef std::function&)> CreateVerifySettingAsyncHandler; + typedef Outcome CredentialVerifyOutcome; + typedef std::future CredentialVerifyOutcomeCallable; + typedef std::function&)> CredentialVerifyAsyncHandler; + typedef Outcome DeepfakeDetectOutcome; + typedef std::future DeepfakeDetectOutcomeCallable; + typedef std::function&)> DeepfakeDetectAsyncHandler; + typedef Outcome DeleteFaceVerifyResultOutcome; + typedef std::future DeleteFaceVerifyResultOutcomeCallable; + typedef std::function&)> DeleteFaceVerifyResultAsyncHandler; typedef Outcome DescribeDeviceInfoOutcome; typedef std::future DescribeDeviceInfoOutcomeCallable; typedef std::function&)> DescribeDeviceInfoAsyncHandler; + typedef Outcome DescribeFaceGuardRiskOutcome; + typedef std::future DescribeFaceGuardRiskOutcomeCallable; + typedef std::function&)> DescribeFaceGuardRiskAsyncHandler; typedef Outcome DescribeFaceVerifyOutcome; typedef std::future DescribeFaceVerifyOutcomeCallable; typedef std::function&)> DescribeFaceVerifyAsyncHandler; @@ -120,24 +175,69 @@ namespace AlibabaCloud typedef Outcome DetectFaceAttributesOutcome; typedef std::future DetectFaceAttributesOutcomeCallable; typedef std::function&)> DetectFaceAttributesAsyncHandler; + typedef Outcome Id2MetaPeriodVerifyOutcome; + typedef std::future Id2MetaPeriodVerifyOutcomeCallable; + typedef std::function&)> Id2MetaPeriodVerifyAsyncHandler; + typedef Outcome Id2MetaStandardVerifyOutcome; + typedef std::future Id2MetaStandardVerifyOutcomeCallable; + typedef std::function&)> Id2MetaStandardVerifyAsyncHandler; typedef Outcome Id2MetaVerifyOutcome; typedef std::future Id2MetaVerifyOutcomeCallable; typedef std::function&)> Id2MetaVerifyAsyncHandler; typedef Outcome InitFaceVerifyOutcome; typedef std::future InitFaceVerifyOutcomeCallable; typedef std::function&)> InitFaceVerifyAsyncHandler; + typedef Outcome InsertWhiteListSettingOutcome; + typedef std::future InsertWhiteListSettingOutcomeCallable; + typedef std::function&)> InsertWhiteListSettingAsyncHandler; typedef Outcome LivenessFaceVerifyOutcome; typedef std::future LivenessFaceVerifyOutcomeCallable; typedef std::function&)> LivenessFaceVerifyAsyncHandler; + typedef Outcome Mobile3MetaDetailStandardVerifyOutcome; + typedef std::future Mobile3MetaDetailStandardVerifyOutcomeCallable; + typedef std::function&)> Mobile3MetaDetailStandardVerifyAsyncHandler; typedef Outcome Mobile3MetaDetailVerifyOutcome; typedef std::future Mobile3MetaDetailVerifyOutcomeCallable; typedef std::function&)> Mobile3MetaDetailVerifyAsyncHandler; + typedef Outcome Mobile3MetaSimpleStandardVerifyOutcome; + typedef std::future Mobile3MetaSimpleStandardVerifyOutcomeCallable; + typedef std::function&)> Mobile3MetaSimpleStandardVerifyAsyncHandler; typedef Outcome Mobile3MetaSimpleVerifyOutcome; typedef std::future Mobile3MetaSimpleVerifyOutcomeCallable; typedef std::function&)> Mobile3MetaSimpleVerifyAsyncHandler; + typedef Outcome MobileDetectOutcome; + typedef std::future MobileDetectOutcomeCallable; + typedef std::function&)> MobileDetectAsyncHandler; + typedef Outcome MobileOnlineStatusOutcome; + typedef std::future MobileOnlineStatusOutcomeCallable; + typedef std::function&)> MobileOnlineStatusAsyncHandler; + typedef Outcome MobileOnlineTimeOutcome; + typedef std::future MobileOnlineTimeOutcomeCallable; + typedef std::function&)> MobileOnlineTimeAsyncHandler; typedef Outcome ModifyDeviceInfoOutcome; typedef std::future ModifyDeviceInfoOutcomeCallable; typedef std::function&)> ModifyDeviceInfoAsyncHandler; + typedef Outcome PageQueryWhiteListSettingOutcome; + typedef std::future PageQueryWhiteListSettingOutcomeCallable; + typedef std::function&)> PageQueryWhiteListSettingAsyncHandler; + typedef Outcome RemoveWhiteListSettingOutcome; + typedef std::future RemoveWhiteListSettingOutcomeCallable; + typedef std::function&)> RemoveWhiteListSettingAsyncHandler; + typedef Outcome Vehicle5ItemQueryOutcome; + typedef std::future Vehicle5ItemQueryOutcomeCallable; + typedef std::function&)> Vehicle5ItemQueryAsyncHandler; + typedef Outcome VehicleInsureQueryOutcome; + typedef std::future VehicleInsureQueryOutcomeCallable; + typedef std::function&)> VehicleInsureQueryAsyncHandler; + typedef Outcome VehicleMetaVerifyOutcome; + typedef std::future VehicleMetaVerifyOutcomeCallable; + typedef std::function&)> VehicleMetaVerifyAsyncHandler; + typedef Outcome VehicleMetaVerifyV2Outcome; + typedef std::future VehicleMetaVerifyV2OutcomeCallable; + typedef std::function&)> VehicleMetaVerifyV2AsyncHandler; + typedef Outcome VehicleQueryOutcome; + typedef std::future VehicleQueryOutcomeCallable; + typedef std::function&)> VehicleQueryAsyncHandler; typedef Outcome VerifyMaterialOutcome; typedef std::future VerifyMaterialOutcomeCallable; typedef std::function&)> VerifyMaterialAsyncHandler; @@ -149,6 +249,9 @@ namespace AlibabaCloud AIGCFaceVerifyOutcome aIGCFaceVerify(const Model::AIGCFaceVerifyRequest &request)const; void aIGCFaceVerifyAsync(const Model::AIGCFaceVerifyRequest& request, const AIGCFaceVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AIGCFaceVerifyOutcomeCallable aIGCFaceVerifyCallable(const Model::AIGCFaceVerifyRequest& request) const; + BankMetaVerifyOutcome bankMetaVerify(const Model::BankMetaVerifyRequest &request)const; + void bankMetaVerifyAsync(const Model::BankMetaVerifyRequest& request, const BankMetaVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BankMetaVerifyOutcomeCallable bankMetaVerifyCallable(const Model::BankMetaVerifyRequest& request) const; CompareFaceVerifyOutcome compareFaceVerify(const Model::CompareFaceVerifyRequest &request)const; void compareFaceVerifyAsync(const Model::CompareFaceVerifyRequest& request, const CompareFaceVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CompareFaceVerifyOutcomeCallable compareFaceVerifyCallable(const Model::CompareFaceVerifyRequest& request) const; @@ -164,9 +267,21 @@ namespace AlibabaCloud CreateVerifySettingOutcome createVerifySetting(const Model::CreateVerifySettingRequest &request)const; void createVerifySettingAsync(const Model::CreateVerifySettingRequest& request, const CreateVerifySettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateVerifySettingOutcomeCallable createVerifySettingCallable(const Model::CreateVerifySettingRequest& request) const; + CredentialVerifyOutcome credentialVerify(const Model::CredentialVerifyRequest &request)const; + void credentialVerifyAsync(const Model::CredentialVerifyRequest& request, const CredentialVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CredentialVerifyOutcomeCallable credentialVerifyCallable(const Model::CredentialVerifyRequest& request) const; + DeepfakeDetectOutcome deepfakeDetect(const Model::DeepfakeDetectRequest &request)const; + void deepfakeDetectAsync(const Model::DeepfakeDetectRequest& request, const DeepfakeDetectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeepfakeDetectOutcomeCallable deepfakeDetectCallable(const Model::DeepfakeDetectRequest& request) const; + DeleteFaceVerifyResultOutcome deleteFaceVerifyResult(const Model::DeleteFaceVerifyResultRequest &request)const; + void deleteFaceVerifyResultAsync(const Model::DeleteFaceVerifyResultRequest& request, const DeleteFaceVerifyResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteFaceVerifyResultOutcomeCallable deleteFaceVerifyResultCallable(const Model::DeleteFaceVerifyResultRequest& request) const; DescribeDeviceInfoOutcome describeDeviceInfo(const Model::DescribeDeviceInfoRequest &request)const; void describeDeviceInfoAsync(const Model::DescribeDeviceInfoRequest& request, const DescribeDeviceInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDeviceInfoOutcomeCallable describeDeviceInfoCallable(const Model::DescribeDeviceInfoRequest& request) const; + DescribeFaceGuardRiskOutcome describeFaceGuardRisk(const Model::DescribeFaceGuardRiskRequest &request)const; + void describeFaceGuardRiskAsync(const Model::DescribeFaceGuardRiskRequest& request, const DescribeFaceGuardRiskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeFaceGuardRiskOutcomeCallable describeFaceGuardRiskCallable(const Model::DescribeFaceGuardRiskRequest& request) const; DescribeFaceVerifyOutcome describeFaceVerify(const Model::DescribeFaceVerifyRequest &request)const; void describeFaceVerifyAsync(const Model::DescribeFaceVerifyRequest& request, const DescribeFaceVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeFaceVerifyOutcomeCallable describeFaceVerifyCallable(const Model::DescribeFaceVerifyRequest& request) const; @@ -191,24 +306,69 @@ namespace AlibabaCloud DetectFaceAttributesOutcome detectFaceAttributes(const Model::DetectFaceAttributesRequest &request)const; void detectFaceAttributesAsync(const Model::DetectFaceAttributesRequest& request, const DetectFaceAttributesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DetectFaceAttributesOutcomeCallable detectFaceAttributesCallable(const Model::DetectFaceAttributesRequest& request) const; + Id2MetaPeriodVerifyOutcome id2MetaPeriodVerify(const Model::Id2MetaPeriodVerifyRequest &request)const; + void id2MetaPeriodVerifyAsync(const Model::Id2MetaPeriodVerifyRequest& request, const Id2MetaPeriodVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + Id2MetaPeriodVerifyOutcomeCallable id2MetaPeriodVerifyCallable(const Model::Id2MetaPeriodVerifyRequest& request) const; + Id2MetaStandardVerifyOutcome id2MetaStandardVerify(const Model::Id2MetaStandardVerifyRequest &request)const; + void id2MetaStandardVerifyAsync(const Model::Id2MetaStandardVerifyRequest& request, const Id2MetaStandardVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + Id2MetaStandardVerifyOutcomeCallable id2MetaStandardVerifyCallable(const Model::Id2MetaStandardVerifyRequest& request) const; Id2MetaVerifyOutcome id2MetaVerify(const Model::Id2MetaVerifyRequest &request)const; void id2MetaVerifyAsync(const Model::Id2MetaVerifyRequest& request, const Id2MetaVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; Id2MetaVerifyOutcomeCallable id2MetaVerifyCallable(const Model::Id2MetaVerifyRequest& request) const; InitFaceVerifyOutcome initFaceVerify(const Model::InitFaceVerifyRequest &request)const; void initFaceVerifyAsync(const Model::InitFaceVerifyRequest& request, const InitFaceVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; InitFaceVerifyOutcomeCallable initFaceVerifyCallable(const Model::InitFaceVerifyRequest& request) const; + InsertWhiteListSettingOutcome insertWhiteListSetting(const Model::InsertWhiteListSettingRequest &request)const; + void insertWhiteListSettingAsync(const Model::InsertWhiteListSettingRequest& request, const InsertWhiteListSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + InsertWhiteListSettingOutcomeCallable insertWhiteListSettingCallable(const Model::InsertWhiteListSettingRequest& request) const; LivenessFaceVerifyOutcome livenessFaceVerify(const Model::LivenessFaceVerifyRequest &request)const; void livenessFaceVerifyAsync(const Model::LivenessFaceVerifyRequest& request, const LivenessFaceVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; LivenessFaceVerifyOutcomeCallable livenessFaceVerifyCallable(const Model::LivenessFaceVerifyRequest& request) const; + Mobile3MetaDetailStandardVerifyOutcome mobile3MetaDetailStandardVerify(const Model::Mobile3MetaDetailStandardVerifyRequest &request)const; + void mobile3MetaDetailStandardVerifyAsync(const Model::Mobile3MetaDetailStandardVerifyRequest& request, const Mobile3MetaDetailStandardVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + Mobile3MetaDetailStandardVerifyOutcomeCallable mobile3MetaDetailStandardVerifyCallable(const Model::Mobile3MetaDetailStandardVerifyRequest& request) const; Mobile3MetaDetailVerifyOutcome mobile3MetaDetailVerify(const Model::Mobile3MetaDetailVerifyRequest &request)const; void mobile3MetaDetailVerifyAsync(const Model::Mobile3MetaDetailVerifyRequest& request, const Mobile3MetaDetailVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; Mobile3MetaDetailVerifyOutcomeCallable mobile3MetaDetailVerifyCallable(const Model::Mobile3MetaDetailVerifyRequest& request) const; + Mobile3MetaSimpleStandardVerifyOutcome mobile3MetaSimpleStandardVerify(const Model::Mobile3MetaSimpleStandardVerifyRequest &request)const; + void mobile3MetaSimpleStandardVerifyAsync(const Model::Mobile3MetaSimpleStandardVerifyRequest& request, const Mobile3MetaSimpleStandardVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + Mobile3MetaSimpleStandardVerifyOutcomeCallable mobile3MetaSimpleStandardVerifyCallable(const Model::Mobile3MetaSimpleStandardVerifyRequest& request) const; Mobile3MetaSimpleVerifyOutcome mobile3MetaSimpleVerify(const Model::Mobile3MetaSimpleVerifyRequest &request)const; void mobile3MetaSimpleVerifyAsync(const Model::Mobile3MetaSimpleVerifyRequest& request, const Mobile3MetaSimpleVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; Mobile3MetaSimpleVerifyOutcomeCallable mobile3MetaSimpleVerifyCallable(const Model::Mobile3MetaSimpleVerifyRequest& request) const; + MobileDetectOutcome mobileDetect(const Model::MobileDetectRequest &request)const; + void mobileDetectAsync(const Model::MobileDetectRequest& request, const MobileDetectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + MobileDetectOutcomeCallable mobileDetectCallable(const Model::MobileDetectRequest& request) const; + MobileOnlineStatusOutcome mobileOnlineStatus(const Model::MobileOnlineStatusRequest &request)const; + void mobileOnlineStatusAsync(const Model::MobileOnlineStatusRequest& request, const MobileOnlineStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + MobileOnlineStatusOutcomeCallable mobileOnlineStatusCallable(const Model::MobileOnlineStatusRequest& request) const; + MobileOnlineTimeOutcome mobileOnlineTime(const Model::MobileOnlineTimeRequest &request)const; + void mobileOnlineTimeAsync(const Model::MobileOnlineTimeRequest& request, const MobileOnlineTimeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + MobileOnlineTimeOutcomeCallable mobileOnlineTimeCallable(const Model::MobileOnlineTimeRequest& request) const; ModifyDeviceInfoOutcome modifyDeviceInfo(const Model::ModifyDeviceInfoRequest &request)const; void modifyDeviceInfoAsync(const Model::ModifyDeviceInfoRequest& request, const ModifyDeviceInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDeviceInfoOutcomeCallable modifyDeviceInfoCallable(const Model::ModifyDeviceInfoRequest& request) const; + PageQueryWhiteListSettingOutcome pageQueryWhiteListSetting(const Model::PageQueryWhiteListSettingRequest &request)const; + void pageQueryWhiteListSettingAsync(const Model::PageQueryWhiteListSettingRequest& request, const PageQueryWhiteListSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + PageQueryWhiteListSettingOutcomeCallable pageQueryWhiteListSettingCallable(const Model::PageQueryWhiteListSettingRequest& request) const; + RemoveWhiteListSettingOutcome removeWhiteListSetting(const Model::RemoveWhiteListSettingRequest &request)const; + void removeWhiteListSettingAsync(const Model::RemoveWhiteListSettingRequest& request, const RemoveWhiteListSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RemoveWhiteListSettingOutcomeCallable removeWhiteListSettingCallable(const Model::RemoveWhiteListSettingRequest& request) const; + Vehicle5ItemQueryOutcome vehicle5ItemQuery(const Model::Vehicle5ItemQueryRequest &request)const; + void vehicle5ItemQueryAsync(const Model::Vehicle5ItemQueryRequest& request, const Vehicle5ItemQueryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + Vehicle5ItemQueryOutcomeCallable vehicle5ItemQueryCallable(const Model::Vehicle5ItemQueryRequest& request) const; + VehicleInsureQueryOutcome vehicleInsureQuery(const Model::VehicleInsureQueryRequest &request)const; + void vehicleInsureQueryAsync(const Model::VehicleInsureQueryRequest& request, const VehicleInsureQueryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VehicleInsureQueryOutcomeCallable vehicleInsureQueryCallable(const Model::VehicleInsureQueryRequest& request) const; + VehicleMetaVerifyOutcome vehicleMetaVerify(const Model::VehicleMetaVerifyRequest &request)const; + void vehicleMetaVerifyAsync(const Model::VehicleMetaVerifyRequest& request, const VehicleMetaVerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VehicleMetaVerifyOutcomeCallable vehicleMetaVerifyCallable(const Model::VehicleMetaVerifyRequest& request) const; + VehicleMetaVerifyV2Outcome vehicleMetaVerifyV2(const Model::VehicleMetaVerifyV2Request &request)const; + void vehicleMetaVerifyV2Async(const Model::VehicleMetaVerifyV2Request& request, const VehicleMetaVerifyV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VehicleMetaVerifyV2OutcomeCallable vehicleMetaVerifyV2Callable(const Model::VehicleMetaVerifyV2Request& request) const; + VehicleQueryOutcome vehicleQuery(const Model::VehicleQueryRequest &request)const; + void vehicleQueryAsync(const Model::VehicleQueryRequest& request, const VehicleQueryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VehicleQueryOutcomeCallable vehicleQueryCallable(const Model::VehicleQueryRequest& request) const; VerifyMaterialOutcome verifyMaterial(const Model::VerifyMaterialRequest &request)const; void verifyMaterialAsync(const Model::VerifyMaterialRequest& request, const VerifyMaterialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; VerifyMaterialOutcomeCallable verifyMaterialCallable(const Model::VerifyMaterialRequest& request) const; diff --git a/cloudauth/include/alibabacloud/cloudauth/model/BankMetaVerifyRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/BankMetaVerifyRequest.h new file mode 100644 index 000000000..3bc1ac405 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/BankMetaVerifyRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_BANKMETAVERIFYREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_BANKMETAVERIFYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT BankMetaVerifyRequest : public RpcServiceRequest { +public: + BankMetaVerifyRequest(); + ~BankMetaVerifyRequest(); + std::string getParamType() const; + void setParamType(const std::string ¶mType); + std::string getVerifyMode() const; + void setVerifyMode(const std::string &verifyMode); + std::string getIdentityType() const; + void setIdentityType(const std::string &identityType); + std::string getMobile() const; + void setMobile(const std::string &mobile); + std::string getIdentifyNum() const; + void setIdentifyNum(const std::string &identifyNum); + std::string getProductType() const; + void setProductType(const std::string &productType); + std::string getBankCard() const; + void setBankCard(const std::string &bankCard); + std::string getUserName() const; + void setUserName(const std::string &userName); + +private: + std::string paramType_; + std::string verifyMode_; + std::string identityType_; + std::string mobile_; + std::string identifyNum_; + std::string productType_; + std::string bankCard_; + std::string userName_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_BANKMETAVERIFYREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/BankMetaVerifyResult.h b/cloudauth/include/alibabacloud/cloudauth/model/BankMetaVerifyResult.h new file mode 100644 index 000000000..185c33ab4 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/BankMetaVerifyResult.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_BANKMETAVERIFYRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_BANKMETAVERIFYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT BankMetaVerifyResult : public ServiceResult + { + public: + struct ResultObject + { + std::string subCode; + std::string bizCode; + }; + + + BankMetaVerifyResult(); + explicit BankMetaVerifyResult(const std::string &payload); + ~BankMetaVerifyResult(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_BANKMETAVERIFYRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/CredentialVerifyRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/CredentialVerifyRequest.h new file mode 100644 index 000000000..9cb99a24c --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/CredentialVerifyRequest.h @@ -0,0 +1,85 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREDENTIALVERIFYREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_CREDENTIALVERIFYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT CredentialVerifyRequest : public RpcServiceRequest { +public: + struct MerchantDetail { + std::string value; + std::string key; + }; + CredentialVerifyRequest(); + ~CredentialVerifyRequest(); + std::string getProductCode() const; + void setProductCode(const std::string &productCode); + std::string getIsOCR() const; + void setIsOCR(const std::string &isOCR); + std::string getIsCheck() const; + void setIsCheck(const std::string &isCheck); + std::string getImageContext() const; + void setImageContext(const std::string &imageContext); + std::string getCredType() const; + void setCredType(const std::string &credType); + std::string getPromptModel() const; + void setPromptModel(const std::string &promptModel); + std::string getIdentifyNum() const; + void setIdentifyNum(const std::string &identifyNum); + std::string getCredName() const; + void setCredName(const std::string &credName); + std::string getMerchantId() const; + void setMerchantId(const std::string &merchantId); + std::vector getMerchantDetail() const; + void setMerchantDetail(const std::vector &merchantDetail); + std::string getImageUrl() const; + void setImageUrl(const std::string &imageUrl); + std::string getCertNum() const; + void setCertNum(const std::string &certNum); + std::string getPrompt() const; + void setPrompt(const std::string &prompt); + std::string getUserName() const; + void setUserName(const std::string &userName); + +private: + std::string productCode_; + std::string isOCR_; + std::string isCheck_; + std::string imageContext_; + std::string credType_; + std::string promptModel_; + std::string identifyNum_; + std::string credName_; + std::string merchantId_; + std::vector merchantDetail_; + std::string imageUrl_; + std::string certNum_; + std::string prompt_; + std::string userName_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_CREDENTIALVERIFYREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/CredentialVerifyResult.h b/cloudauth/include/alibabacloud/cloudauth/model/CredentialVerifyResult.h new file mode 100644 index 000000000..4da5c3bfa --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/CredentialVerifyResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_CREDENTIALVERIFYRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_CREDENTIALVERIFYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT CredentialVerifyResult : public ServiceResult + { + public: + struct ResultObject + { + struct VlResult + { + bool success; + std::string vlContent; + }; + std::string riskTag; + std::string riskScore; + std::string ocrInfo; + std::string materialInfo; + VlResult vlResult; + std::string verifyResult; + std::string verifyDetail; + std::string result; + }; + + + CredentialVerifyResult(); + explicit CredentialVerifyResult(const std::string &payload); + ~CredentialVerifyResult(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_CREDENTIALVERIFYRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/DeepfakeDetectRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/DeepfakeDetectRequest.h new file mode 100644 index 000000000..a671553df --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/DeepfakeDetectRequest.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_DEEPFAKEDETECTREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_DEEPFAKEDETECTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT DeepfakeDetectRequest : public RpcServiceRequest { +public: + DeepfakeDetectRequest(); + ~DeepfakeDetectRequest(); + std::string getFaceBase64() const; + void setFaceBase64(const std::string &faceBase64); + std::string getOuterOrderNo() const; + void setOuterOrderNo(const std::string &outerOrderNo); + std::string getFaceUrl() const; + void setFaceUrl(const std::string &faceUrl); + std::string getFaceInputType() const; + void setFaceInputType(const std::string &faceInputType); + +private: + std::string faceBase64_; + std::string outerOrderNo_; + std::string faceUrl_; + std::string faceInputType_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DEEPFAKEDETECTREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/DeepfakeDetectResult.h b/cloudauth/include/alibabacloud/cloudauth/model/DeepfakeDetectResult.h new file mode 100644 index 000000000..606412c9a --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/DeepfakeDetectResult.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_DEEPFAKEDETECTRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_DEEPFAKEDETECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT DeepfakeDetectResult : public ServiceResult + { + public: + struct ResultObject + { + std::string riskTag; + std::string riskScore; + std::string result; + }; + + + DeepfakeDetectResult(); + explicit DeepfakeDetectResult(const std::string &payload); + ~DeepfakeDetectResult(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DEEPFAKEDETECTRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/DeleteFaceVerifyResultRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/DeleteFaceVerifyResultRequest.h new file mode 100644 index 000000000..18e1669ce --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/DeleteFaceVerifyResultRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DELETEFACEVERIFYRESULTREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_DELETEFACEVERIFYRESULTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT DeleteFaceVerifyResultRequest : public RpcServiceRequest { +public: + DeleteFaceVerifyResultRequest(); + ~DeleteFaceVerifyResultRequest(); + std::string getDeleteAfterQuery() const; + void setDeleteAfterQuery(const std::string &deleteAfterQuery); + std::string getCertifyId() const; + void setCertifyId(const std::string &certifyId); + +private: + std::string deleteAfterQuery_; + std::string certifyId_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DELETEFACEVERIFYRESULTREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/DeleteFaceVerifyResultResult.h b/cloudauth/include/alibabacloud/cloudauth/model/DeleteFaceVerifyResultResult.h new file mode 100644 index 000000000..e195bc577 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/DeleteFaceVerifyResultResult.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_DELETEFACEVERIFYRESULTRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_DELETEFACEVERIFYRESULTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT DeleteFaceVerifyResultResult : public ServiceResult + { + public: + struct ResultObject + { + std::string certifyId; + std::string failReason; + std::string deleteResult; + }; + + + DeleteFaceVerifyResultResult(); + explicit DeleteFaceVerifyResultResult(const std::string &payload); + ~DeleteFaceVerifyResultResult(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DELETEFACEVERIFYRESULTRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/DescribeFaceGuardRiskRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/DescribeFaceGuardRiskRequest.h new file mode 100644 index 000000000..8e665f828 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/DescribeFaceGuardRiskRequest.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_DESCRIBEFACEGUARDRISKREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEGUARDRISKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeFaceGuardRiskRequest : public RpcServiceRequest { +public: + DescribeFaceGuardRiskRequest(); + ~DescribeFaceGuardRiskRequest(); + std::string getProductCode() const; + void setProductCode(const std::string &productCode); + std::string getDeviceToken() const; + void setDeviceToken(const std::string &deviceToken); + std::string getOuterOrderNo() const; + void setOuterOrderNo(const std::string &outerOrderNo); + std::string getBizId() const; + void setBizId(const std::string &bizId); + +private: + std::string productCode_; + std::string deviceToken_; + std::string outerOrderNo_; + std::string bizId_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEGUARDRISKREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/DescribeFaceGuardRiskResult.h b/cloudauth/include/alibabacloud/cloudauth/model/DescribeFaceGuardRiskResult.h new file mode 100644 index 000000000..0052ea270 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/DescribeFaceGuardRiskResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEGUARDRISKRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEGUARDRISKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeFaceGuardRiskResult : public ServiceResult + { + public: + struct ResultObject + { + std::string certifyId; + std::string riskExtends; + std::string riakTags; + std::string riskTags; + }; + + + DescribeFaceGuardRiskResult(); + explicit DescribeFaceGuardRiskResult(const std::string &payload); + ~DescribeFaceGuardRiskResult(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEGUARDRISKRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/Id2MetaPeriodVerifyRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/Id2MetaPeriodVerifyRequest.h new file mode 100644 index 000000000..27bec21ab --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/Id2MetaPeriodVerifyRequest.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_ID2METAPERIODVERIFYREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_ID2METAPERIODVERIFYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT Id2MetaPeriodVerifyRequest : public RpcServiceRequest { +public: + Id2MetaPeriodVerifyRequest(); + ~Id2MetaPeriodVerifyRequest(); + std::string getParamType() const; + void setParamType(const std::string ¶mType); + std::string getValidityStartDate() const; + void setValidityStartDate(const std::string &validityStartDate); + std::string getValidityEndDate() const; + void setValidityEndDate(const std::string &validityEndDate); + std::string getIdentifyNum() const; + void setIdentifyNum(const std::string &identifyNum); + std::string getUserName() const; + void setUserName(const std::string &userName); + +private: + std::string paramType_; + std::string validityStartDate_; + std::string validityEndDate_; + std::string identifyNum_; + std::string userName_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_ID2METAPERIODVERIFYREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/Id2MetaPeriodVerifyResult.h b/cloudauth/include/alibabacloud/cloudauth/model/Id2MetaPeriodVerifyResult.h new file mode 100644 index 000000000..de814eab4 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/Id2MetaPeriodVerifyResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_ID2METAPERIODVERIFYRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_ID2METAPERIODVERIFYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT Id2MetaPeriodVerifyResult : public ServiceResult + { + public: + struct ResultObject + { + std::string bizCode; + }; + + + Id2MetaPeriodVerifyResult(); + explicit Id2MetaPeriodVerifyResult(const std::string &payload); + ~Id2MetaPeriodVerifyResult(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_ID2METAPERIODVERIFYRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/Id2MetaStandardVerifyRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/Id2MetaStandardVerifyRequest.h new file mode 100644 index 000000000..f612200fc --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/Id2MetaStandardVerifyRequest.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_ID2METASTANDARDVERIFYREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_ID2METASTANDARDVERIFYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT Id2MetaStandardVerifyRequest : public RpcServiceRequest { +public: + Id2MetaStandardVerifyRequest(); + ~Id2MetaStandardVerifyRequest(); + std::string getParamType() const; + void setParamType(const std::string ¶mType); + std::string getIdentifyNum() const; + void setIdentifyNum(const std::string &identifyNum); + std::string getUserName() const; + void setUserName(const std::string &userName); + +private: + std::string paramType_; + std::string identifyNum_; + std::string userName_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_ID2METASTANDARDVERIFYREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/Id2MetaStandardVerifyResult.h b/cloudauth/include/alibabacloud/cloudauth/model/Id2MetaStandardVerifyResult.h new file mode 100644 index 000000000..803ee69c9 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/Id2MetaStandardVerifyResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_ID2METASTANDARDVERIFYRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_ID2METASTANDARDVERIFYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT Id2MetaStandardVerifyResult : public ServiceResult + { + public: + struct ResultObject + { + std::string bizCode; + }; + + + Id2MetaStandardVerifyResult(); + explicit Id2MetaStandardVerifyResult(const std::string &payload); + ~Id2MetaStandardVerifyResult(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_ID2METASTANDARDVERIFYRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/InitFaceVerifyRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/InitFaceVerifyRequest.h index d15f5142f..6154b2275 100644 --- a/cloudauth/include/alibabacloud/cloudauth/model/InitFaceVerifyRequest.h +++ b/cloudauth/include/alibabacloud/cloudauth/model/InitFaceVerifyRequest.h @@ -30,10 +30,6 @@ class ALIBABACLOUD_CLOUDAUTH_EXPORT InitFaceVerifyRequest : public RpcServiceReq public: InitFaceVerifyRequest(); ~InitFaceVerifyRequest(); - std::string getBirthday() const; - void setBirthday(const std::string &birthday); - std::string getProductCode() const; - void setProductCode(const std::string &productCode); std::string getFaceContrastPicture() const; void setFaceContrastPicture(const std::string &faceContrastPicture); std::string getReadImg() const; @@ -44,36 +40,56 @@ public: void setVoluntaryCustomizedContent(const std::string &voluntaryCustomizedContent); std::string getUserId() const; void setUserId(const std::string &userId); - std::string getCertifyId() const; - void setCertifyId(const std::string &certifyId); std::string getEncryptType() const; void setEncryptType(const std::string &encryptType); std::string getMode() const; void setMode(const std::string &mode); - std::string getCertNo() const; - void setCertNo(const std::string &certNo); std::string getOuterOrderNo() const; void setOuterOrderNo(const std::string &outerOrderNo); - std::string getCertType() const; - void setCertType(const std::string &certType); std::string getFaceContrastPictureUrl() const; void setFaceContrastPictureUrl(const std::string &faceContrastPictureUrl); std::string getModel() const; void setModel(const std::string &model); - std::string getSuitableType() const; - void setSuitableType(const std::string &suitableType); std::string getCertifyUrlStyle() const; void setCertifyUrlStyle(const std::string &certifyUrlStyle); std::string getMetaInfo() const; void setMetaInfo(const std::string &metaInfo); - std::string getOssObjectName() const; - void setOssObjectName(const std::string &ossObjectName); + std::string getCameraSelection() const; + void setCameraSelection(const std::string &cameraSelection); std::string getValidityDate() const; void setValidityDate(const std::string &validityDate); std::string getCertName() const; void setCertName(const std::string &certName); std::string getIp() const; void setIp(const std::string &ip); + long getSceneId() const; + void setSceneId(long sceneId); + std::string getOssBucketName() const; + void setOssBucketName(const std::string &ossBucketName); + std::string getCrop() const; + void setCrop(const std::string &crop); + std::string getCertifyUrlType() const; + void setCertifyUrlType(const std::string &certifyUrlType); + std::string getBirthday() const; + void setBirthday(const std::string &birthday); + std::string getExperienceCode() const; + void setExperienceCode(const std::string &experienceCode); + std::string getProductCode() const; + void setProductCode(const std::string &productCode); + std::string getVideoEvidence() const; + void setVideoEvidence(const std::string &videoEvidence); + std::string getCertifyId() const; + void setCertifyId(const std::string &certifyId); + std::string getCertNo() const; + void setCertNo(const std::string &certNo); + std::string getCertType() const; + void setCertType(const std::string &certType); + std::string getSuitableType() const; + void setSuitableType(const std::string &suitableType); + std::string getOssObjectName() const; + void setOssObjectName(const std::string &ossObjectName); + std::string getAppQualityCheck() const; + void setAppQualityCheck(const std::string &appQualityCheck); std::string getMobile() const; void setMobile(const std::string &mobile); std::string getFaceGuardOutput() const; @@ -82,55 +98,54 @@ public: void setAuthId(const std::string &authId); std::string getProcedurePriority() const; void setProcedurePriority(const std::string &procedurePriority); - long getSceneId() const; - void setSceneId(long sceneId); - std::string getOssBucketName() const; - void setOssBucketName(const std::string &ossBucketName); std::string getCallbackToken() const; void setCallbackToken(const std::string &callbackToken); + std::string getUiCustomUrl() const; + void setUiCustomUrl(const std::string &uiCustomUrl); std::string getReturnUrl() const; void setReturnUrl(const std::string &returnUrl); std::string getCallbackUrl() const; void setCallbackUrl(const std::string &callbackUrl); - std::string getCrop() const; - void setCrop(const std::string &crop); - std::string getCertifyUrlType() const; - void setCertifyUrlType(const std::string &certifyUrlType); private: - std::string birthday_; - std::string productCode_; std::string faceContrastPicture_; std::string readImg_; std::string rarelyCharacters_; std::string voluntaryCustomizedContent_; std::string userId_; - std::string certifyId_; std::string encryptType_; std::string mode_; - std::string certNo_; std::string outerOrderNo_; - std::string certType_; std::string faceContrastPictureUrl_; std::string model_; - std::string suitableType_; std::string certifyUrlStyle_; std::string metaInfo_; - std::string ossObjectName_; + std::string cameraSelection_; std::string validityDate_; std::string certName_; std::string ip_; + long sceneId_; + std::string ossBucketName_; + std::string crop_; + std::string certifyUrlType_; + std::string birthday_; + std::string experienceCode_; + std::string productCode_; + std::string videoEvidence_; + std::string certifyId_; + std::string certNo_; + std::string certType_; + std::string suitableType_; + std::string ossObjectName_; + std::string appQualityCheck_; std::string mobile_; std::string faceGuardOutput_; std::string authId_; std::string procedurePriority_; - long sceneId_; - std::string ossBucketName_; std::string callbackToken_; + std::string uiCustomUrl_; std::string returnUrl_; std::string callbackUrl_; - std::string crop_; - std::string certifyUrlType_; }; } // namespace Model } // namespace Cloudauth diff --git a/cloudauth/include/alibabacloud/cloudauth/model/InsertWhiteListSettingRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/InsertWhiteListSettingRequest.h new file mode 100644 index 000000000..9953b700b --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/InsertWhiteListSettingRequest.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_INSERTWHITELISTSETTINGREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_INSERTWHITELISTSETTINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT InsertWhiteListSettingRequest : public RpcServiceRequest { +public: + InsertWhiteListSettingRequest(); + ~InsertWhiteListSettingRequest(); + int getValidDay() const; + void setValidDay(int validDay); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getCertifyId() const; + void setCertifyId(const std::string &certifyId); + std::string getCertNo() const; + void setCertNo(const std::string &certNo); + std::string getServiceCode() const; + void setServiceCode(const std::string &serviceCode); + long getSceneId() const; + void setSceneId(long sceneId); + +private: + int validDay_; + std::string remark_; + std::string certifyId_; + std::string certNo_; + std::string serviceCode_; + long sceneId_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_INSERTWHITELISTSETTINGREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/InsertWhiteListSettingResult.h b/cloudauth/include/alibabacloud/cloudauth/model/InsertWhiteListSettingResult.h new file mode 100644 index 000000000..3d0c6f13b --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/InsertWhiteListSettingResult.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_INSERTWHITELISTSETTINGRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_INSERTWHITELISTSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT InsertWhiteListSettingResult : public ServiceResult + { + public: + + + InsertWhiteListSettingResult(); + explicit InsertWhiteListSettingResult(const std::string &payload); + ~InsertWhiteListSettingResult(); + bool getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool resultObject_; + std::string message_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_INSERTWHITELISTSETTINGRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/Mobile3MetaDetailStandardVerifyRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/Mobile3MetaDetailStandardVerifyRequest.h new file mode 100644 index 000000000..3c600f201 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/Mobile3MetaDetailStandardVerifyRequest.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_MOBILE3METADETAILSTANDARDVERIFYREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILE3METADETAILSTANDARDVERIFYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT Mobile3MetaDetailStandardVerifyRequest : public RpcServiceRequest { +public: + Mobile3MetaDetailStandardVerifyRequest(); + ~Mobile3MetaDetailStandardVerifyRequest(); + std::string getParamType() const; + void setParamType(const std::string ¶mType); + std::string getMobile() const; + void setMobile(const std::string &mobile); + std::string getIdentifyNum() const; + void setIdentifyNum(const std::string &identifyNum); + std::string getUserName() const; + void setUserName(const std::string &userName); + +private: + std::string paramType_; + std::string mobile_; + std::string identifyNum_; + std::string userName_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILE3METADETAILSTANDARDVERIFYREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/Mobile3MetaDetailStandardVerifyResult.h b/cloudauth/include/alibabacloud/cloudauth/model/Mobile3MetaDetailStandardVerifyResult.h new file mode 100644 index 000000000..e40a43111 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/Mobile3MetaDetailStandardVerifyResult.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_MOBILE3METADETAILSTANDARDVERIFYRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILE3METADETAILSTANDARDVERIFYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT Mobile3MetaDetailStandardVerifyResult : public ServiceResult + { + public: + struct ResultObject + { + std::string ispName; + std::string subCode; + std::string bizCode; + }; + + + Mobile3MetaDetailStandardVerifyResult(); + explicit Mobile3MetaDetailStandardVerifyResult(const std::string &payload); + ~Mobile3MetaDetailStandardVerifyResult(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILE3METADETAILSTANDARDVERIFYRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/Mobile3MetaSimpleStandardVerifyRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/Mobile3MetaSimpleStandardVerifyRequest.h new file mode 100644 index 000000000..35ca6e0d6 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/Mobile3MetaSimpleStandardVerifyRequest.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_MOBILE3METASIMPLESTANDARDVERIFYREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILE3METASIMPLESTANDARDVERIFYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT Mobile3MetaSimpleStandardVerifyRequest : public RpcServiceRequest { +public: + Mobile3MetaSimpleStandardVerifyRequest(); + ~Mobile3MetaSimpleStandardVerifyRequest(); + std::string getParamType() const; + void setParamType(const std::string ¶mType); + std::string getMobile() const; + void setMobile(const std::string &mobile); + std::string getIdentifyNum() const; + void setIdentifyNum(const std::string &identifyNum); + std::string getUserName() const; + void setUserName(const std::string &userName); + +private: + std::string paramType_; + std::string mobile_; + std::string identifyNum_; + std::string userName_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILE3METASIMPLESTANDARDVERIFYREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/Mobile3MetaSimpleStandardVerifyResult.h b/cloudauth/include/alibabacloud/cloudauth/model/Mobile3MetaSimpleStandardVerifyResult.h new file mode 100644 index 000000000..c09c814d3 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/Mobile3MetaSimpleStandardVerifyResult.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILE3METASIMPLESTANDARDVERIFYRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILE3METASIMPLESTANDARDVERIFYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT Mobile3MetaSimpleStandardVerifyResult : public ServiceResult + { + public: + struct ResultObject + { + std::string ispName; + std::string bizCode; + }; + + + Mobile3MetaSimpleStandardVerifyResult(); + explicit Mobile3MetaSimpleStandardVerifyResult(const std::string &payload); + ~Mobile3MetaSimpleStandardVerifyResult(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILE3METASIMPLESTANDARDVERIFYRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/MobileDetectRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/MobileDetectRequest.h new file mode 100644 index 000000000..7a9447ffb --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/MobileDetectRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MOBILEDETECTREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILEDETECTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT MobileDetectRequest : public RpcServiceRequest { +public: + MobileDetectRequest(); + ~MobileDetectRequest(); + std::string getParamType() const; + void setParamType(const std::string ¶mType); + std::string getMobiles() const; + void setMobiles(const std::string &mobiles); + +private: + std::string paramType_; + std::string mobiles_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILEDETECTREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/MobileDetectResult.h b/cloudauth/include/alibabacloud/cloudauth/model/MobileDetectResult.h new file mode 100644 index 000000000..89693d171 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/MobileDetectResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILEDETECTRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILEDETECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT MobileDetectResult : public ServiceResult + { + public: + struct ResultObject + { + struct ItemsItem + { + std::string ispName; + std::string area; + std::string subCode; + std::string mobile; + std::string bizCode; + }; + std::vector items; + std::string chargeCount; + }; + + + MobileDetectResult(); + explicit MobileDetectResult(const std::string &payload); + ~MobileDetectResult(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILEDETECTRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/MobileOnlineStatusRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/MobileOnlineStatusRequest.h new file mode 100644 index 000000000..28d220f26 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/MobileOnlineStatusRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MOBILEONLINESTATUSREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILEONLINESTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT MobileOnlineStatusRequest : public RpcServiceRequest { +public: + MobileOnlineStatusRequest(); + ~MobileOnlineStatusRequest(); + std::string getParamType() const; + void setParamType(const std::string ¶mType); + std::string getMobile() const; + void setMobile(const std::string &mobile); + +private: + std::string paramType_; + std::string mobile_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILEONLINESTATUSREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/MobileOnlineStatusResult.h b/cloudauth/include/alibabacloud/cloudauth/model/MobileOnlineStatusResult.h new file mode 100644 index 000000000..bfb3386bb --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/MobileOnlineStatusResult.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_MOBILEONLINESTATUSRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILEONLINESTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT MobileOnlineStatusResult : public ServiceResult + { + public: + struct ResultObject + { + std::string ispName; + std::string subCode; + std::string bizCode; + }; + + + MobileOnlineStatusResult(); + explicit MobileOnlineStatusResult(const std::string &payload); + ~MobileOnlineStatusResult(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILEONLINESTATUSRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/MobileOnlineTimeRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/MobileOnlineTimeRequest.h new file mode 100644 index 000000000..e2d22620d --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/MobileOnlineTimeRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MOBILEONLINETIMEREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILEONLINETIMEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT MobileOnlineTimeRequest : public RpcServiceRequest { +public: + MobileOnlineTimeRequest(); + ~MobileOnlineTimeRequest(); + std::string getParamType() const; + void setParamType(const std::string ¶mType); + std::string getMobile() const; + void setMobile(const std::string &mobile); + +private: + std::string paramType_; + std::string mobile_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILEONLINETIMEREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/MobileOnlineTimeResult.h b/cloudauth/include/alibabacloud/cloudauth/model/MobileOnlineTimeResult.h new file mode 100644 index 000000000..5314d98c8 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/MobileOnlineTimeResult.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_MOBILEONLINETIMERESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILEONLINETIMERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT MobileOnlineTimeResult : public ServiceResult + { + public: + struct ResultObject + { + std::string ispName; + std::string timeCode; + std::string bizCode; + }; + + + MobileOnlineTimeResult(); + explicit MobileOnlineTimeResult(const std::string &payload); + ~MobileOnlineTimeResult(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_MOBILEONLINETIMERESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/PageQueryWhiteListSettingRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/PageQueryWhiteListSettingRequest.h new file mode 100644 index 000000000..125073b1d --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/PageQueryWhiteListSettingRequest.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_PAGEQUERYWHITELISTSETTINGREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_PAGEQUERYWHITELISTSETTINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT PageQueryWhiteListSettingRequest : public RpcServiceRequest { +public: + PageQueryWhiteListSettingRequest(); + ~PageQueryWhiteListSettingRequest(); + std::string getValidEndDate() const; + void setValidEndDate(const std::string &validEndDate); + std::string getCertifyId() const; + void setCertifyId(const std::string &certifyId); + std::string getCertNo() const; + void setCertNo(const std::string &certNo); + int getPageSize() const; + void setPageSize(int pageSize); + int getCurrentPage() const; + void setCurrentPage(int currentPage); + std::string getServiceCode() const; + void setServiceCode(const std::string &serviceCode); + long getSceneId() const; + void setSceneId(long sceneId); + std::string getValidStartDate() const; + void setValidStartDate(const std::string &validStartDate); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::string validEndDate_; + std::string certifyId_; + std::string certNo_; + int pageSize_; + int currentPage_; + std::string serviceCode_; + long sceneId_; + std::string validStartDate_; + std::string status_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_PAGEQUERYWHITELISTSETTINGREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/PageQueryWhiteListSettingResult.h b/cloudauth/include/alibabacloud/cloudauth/model/PageQueryWhiteListSettingResult.h new file mode 100644 index 000000000..25a9f68d1 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/PageQueryWhiteListSettingResult.h @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_PAGEQUERYWHITELISTSETTINGRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_PAGEQUERYWHITELISTSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT PageQueryWhiteListSettingResult : public ServiceResult + { + public: + struct ResultObjectItem + { + long sceneId; + std::string status; + std::string validEndDate; + std::string gmtCreate; + std::string validStartDate; + std::string serviceCode; + std::string certifyId; + std::string gmtModified; + long id; + std::string certNo; + std::string remark; + }; + + + PageQueryWhiteListSettingResult(); + explicit PageQueryWhiteListSettingResult(const std::string &payload); + ~PageQueryWhiteListSettingResult(); + std::vector getResultObject()const; + int getTotalItem()const; + std::string getMessage()const; + int getTotalPage()const; + int getPageSize()const; + int getCurrentPage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector resultObject_; + int totalItem_; + std::string message_; + int totalPage_; + int pageSize_; + int currentPage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_PAGEQUERYWHITELISTSETTINGRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/RemoveWhiteListSettingRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/RemoveWhiteListSettingRequest.h new file mode 100644 index 000000000..680a1e28f --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/RemoveWhiteListSettingRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_REMOVEWHITELISTSETTINGREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_REMOVEWHITELISTSETTINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT RemoveWhiteListSettingRequest : public RpcServiceRequest { +public: + RemoveWhiteListSettingRequest(); + ~RemoveWhiteListSettingRequest(); + std::string getServiceCode() const; + void setServiceCode(const std::string &serviceCode); + std::vector getIds() const; + void setIds(const std::vector &ids); + +private: + std::string serviceCode_; + std::vector ids_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_REMOVEWHITELISTSETTINGREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/RemoveWhiteListSettingResult.h b/cloudauth/include/alibabacloud/cloudauth/model/RemoveWhiteListSettingResult.h new file mode 100644 index 000000000..07f1115eb --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/RemoveWhiteListSettingResult.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_REMOVEWHITELISTSETTINGRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_REMOVEWHITELISTSETTINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT RemoveWhiteListSettingResult : public ServiceResult + { + public: + + + RemoveWhiteListSettingResult(); + explicit RemoveWhiteListSettingResult(const std::string &payload); + ~RemoveWhiteListSettingResult(); + bool getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool resultObject_; + std::string message_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_REMOVEWHITELISTSETTINGRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/Vehicle5ItemQueryRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/Vehicle5ItemQueryRequest.h new file mode 100644 index 000000000..581a358e7 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/Vehicle5ItemQueryRequest.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_VEHICLE5ITEMQUERYREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLE5ITEMQUERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT Vehicle5ItemQueryRequest : public RpcServiceRequest { +public: + Vehicle5ItemQueryRequest(); + ~Vehicle5ItemQueryRequest(); + std::string getVehicleType() const; + void setVehicleType(const std::string &vehicleType); + std::string getParamType() const; + void setParamType(const std::string ¶mType); + std::string getVehicleNum() const; + void setVehicleNum(const std::string &vehicleNum); + +private: + std::string vehicleType_; + std::string paramType_; + std::string vehicleNum_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLE5ITEMQUERYREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/Vehicle5ItemQueryResult.h b/cloudauth/include/alibabacloud/cloudauth/model/Vehicle5ItemQueryResult.h new file mode 100644 index 000000000..392018c8c --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/Vehicle5ItemQueryResult.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLE5ITEMQUERYRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLE5ITEMQUERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT Vehicle5ItemQueryResult : public ServiceResult + { + public: + struct ResultObject + { + std::string vehicleInfo; + std::string bizCode; + }; + + + Vehicle5ItemQueryResult(); + explicit Vehicle5ItemQueryResult(const std::string &payload); + ~Vehicle5ItemQueryResult(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLE5ITEMQUERYRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/VehicleInsureQueryRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/VehicleInsureQueryRequest.h new file mode 100644 index 000000000..0395af50a --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/VehicleInsureQueryRequest.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_VEHICLEINSUREQUERYREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEINSUREQUERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT VehicleInsureQueryRequest : public RpcServiceRequest { +public: + VehicleInsureQueryRequest(); + ~VehicleInsureQueryRequest(); + std::string getVehicleType() const; + void setVehicleType(const std::string &vehicleType); + std::string getParamType() const; + void setParamType(const std::string ¶mType); + std::string getVehicleNum() const; + void setVehicleNum(const std::string &vehicleNum); + std::string getVin() const; + void setVin(const std::string &vin); + +private: + std::string vehicleType_; + std::string paramType_; + std::string vehicleNum_; + std::string vin_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEINSUREQUERYREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/VehicleInsureQueryResult.h b/cloudauth/include/alibabacloud/cloudauth/model/VehicleInsureQueryResult.h new file mode 100644 index 000000000..7540100aa --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/VehicleInsureQueryResult.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEINSUREQUERYRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEINSUREQUERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT VehicleInsureQueryResult : public ServiceResult + { + public: + struct ResultObject + { + std::string vehicleInfo; + std::string bizCode; + }; + + + VehicleInsureQueryResult(); + explicit VehicleInsureQueryResult(const std::string &payload); + ~VehicleInsureQueryResult(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEINSUREQUERYRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/VehicleMetaVerifyRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/VehicleMetaVerifyRequest.h new file mode 100644 index 000000000..7252f3089 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/VehicleMetaVerifyRequest.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_VEHICLEMETAVERIFYREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEMETAVERIFYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT VehicleMetaVerifyRequest : public RpcServiceRequest { +public: + VehicleMetaVerifyRequest(); + ~VehicleMetaVerifyRequest(); + std::string getVehicleType() const; + void setVehicleType(const std::string &vehicleType); + std::string getParamType() const; + void setParamType(const std::string ¶mType); + std::string getVehicleNum() const; + void setVehicleNum(const std::string &vehicleNum); + std::string getIdentifyNum() const; + void setIdentifyNum(const std::string &identifyNum); + std::string getVerifyMetaType() const; + void setVerifyMetaType(const std::string &verifyMetaType); + std::string getUserName() const; + void setUserName(const std::string &userName); + +private: + std::string vehicleType_; + std::string paramType_; + std::string vehicleNum_; + std::string identifyNum_; + std::string verifyMetaType_; + std::string userName_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEMETAVERIFYREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/VehicleMetaVerifyResult.h b/cloudauth/include/alibabacloud/cloudauth/model/VehicleMetaVerifyResult.h new file mode 100644 index 000000000..d2ea91be6 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/VehicleMetaVerifyResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEMETAVERIFYRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEMETAVERIFYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT VehicleMetaVerifyResult : public ServiceResult + { + public: + struct ResultObject + { + std::string bizCode; + }; + + + VehicleMetaVerifyResult(); + explicit VehicleMetaVerifyResult(const std::string &payload); + ~VehicleMetaVerifyResult(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEMETAVERIFYRESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/VehicleMetaVerifyV2Request.h b/cloudauth/include/alibabacloud/cloudauth/model/VehicleMetaVerifyV2Request.h new file mode 100644 index 000000000..8ddfbf8e5 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/VehicleMetaVerifyV2Request.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_VEHICLEMETAVERIFYV2REQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEMETAVERIFYV2REQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT VehicleMetaVerifyV2Request : public RpcServiceRequest { +public: + VehicleMetaVerifyV2Request(); + ~VehicleMetaVerifyV2Request(); + std::string getVehicleType() const; + void setVehicleType(const std::string &vehicleType); + std::string getParamType() const; + void setParamType(const std::string ¶mType); + std::string getVehicleNum() const; + void setVehicleNum(const std::string &vehicleNum); + std::string getIdentifyNum() const; + void setIdentifyNum(const std::string &identifyNum); + std::string getVerifyMetaType() const; + void setVerifyMetaType(const std::string &verifyMetaType); + std::string getUserName() const; + void setUserName(const std::string &userName); + +private: + std::string vehicleType_; + std::string paramType_; + std::string vehicleNum_; + std::string identifyNum_; + std::string verifyMetaType_; + std::string userName_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEMETAVERIFYV2REQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/VehicleMetaVerifyV2Result.h b/cloudauth/include/alibabacloud/cloudauth/model/VehicleMetaVerifyV2Result.h new file mode 100644 index 000000000..b3d516d98 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/VehicleMetaVerifyV2Result.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEMETAVERIFYV2RESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEMETAVERIFYV2RESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT VehicleMetaVerifyV2Result : public ServiceResult + { + public: + struct ResultObject + { + std::string vehicleInfo; + std::string bizCode; + }; + + + VehicleMetaVerifyV2Result(); + explicit VehicleMetaVerifyV2Result(const std::string &payload); + ~VehicleMetaVerifyV2Result(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEMETAVERIFYV2RESULT_H_ \ No newline at end of file diff --git a/cloudauth/include/alibabacloud/cloudauth/model/VehicleQueryRequest.h b/cloudauth/include/alibabacloud/cloudauth/model/VehicleQueryRequest.h new file mode 100644 index 000000000..d1e5debd5 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/VehicleQueryRequest.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_VEHICLEQUERYREQUEST_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEQUERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cloudauth { +namespace Model { +class ALIBABACLOUD_CLOUDAUTH_EXPORT VehicleQueryRequest : public RpcServiceRequest { +public: + VehicleQueryRequest(); + ~VehicleQueryRequest(); + std::string getVehicleType() const; + void setVehicleType(const std::string &vehicleType); + std::string getParamType() const; + void setParamType(const std::string ¶mType); + std::string getVehicleNum() const; + void setVehicleNum(const std::string &vehicleNum); + +private: + std::string vehicleType_; + std::string paramType_; + std::string vehicleNum_; +}; +} // namespace Model +} // namespace Cloudauth +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEQUERYREQUEST_H_ diff --git a/cloudauth/include/alibabacloud/cloudauth/model/VehicleQueryResult.h b/cloudauth/include/alibabacloud/cloudauth/model/VehicleQueryResult.h new file mode 100644 index 000000000..dfe187ed8 --- /dev/null +++ b/cloudauth/include/alibabacloud/cloudauth/model/VehicleQueryResult.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEQUERYRESULT_H_ +#define ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEQUERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cloudauth + { + namespace Model + { + class ALIBABACLOUD_CLOUDAUTH_EXPORT VehicleQueryResult : public ServiceResult + { + public: + struct ResultObject + { + std::string vehicleInfo; + std::string bizCode; + }; + + + VehicleQueryResult(); + explicit VehicleQueryResult(const std::string &payload); + ~VehicleQueryResult(); + ResultObject getResultObject()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + ResultObject resultObject_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_VEHICLEQUERYRESULT_H_ \ No newline at end of file diff --git a/cloudauth/src/CloudauthClient.cc b/cloudauth/src/CloudauthClient.cc index bc23ea26d..139e2dd02 100644 --- a/cloudauth/src/CloudauthClient.cc +++ b/cloudauth/src/CloudauthClient.cc @@ -87,6 +87,42 @@ CloudauthClient::AIGCFaceVerifyOutcomeCallable CloudauthClient::aIGCFaceVerifyCa return task->get_future(); } +CloudauthClient::BankMetaVerifyOutcome CloudauthClient::bankMetaVerify(const BankMetaVerifyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BankMetaVerifyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BankMetaVerifyOutcome(BankMetaVerifyResult(outcome.result())); + else + return BankMetaVerifyOutcome(outcome.error()); +} + +void CloudauthClient::bankMetaVerifyAsync(const BankMetaVerifyRequest& request, const BankMetaVerifyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, bankMetaVerify(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::BankMetaVerifyOutcomeCallable CloudauthClient::bankMetaVerifyCallable(const BankMetaVerifyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->bankMetaVerify(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudauthClient::CompareFaceVerifyOutcome CloudauthClient::compareFaceVerify(const CompareFaceVerifyRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -267,6 +303,114 @@ CloudauthClient::CreateVerifySettingOutcomeCallable CloudauthClient::createVerif return task->get_future(); } +CloudauthClient::CredentialVerifyOutcome CloudauthClient::credentialVerify(const CredentialVerifyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CredentialVerifyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CredentialVerifyOutcome(CredentialVerifyResult(outcome.result())); + else + return CredentialVerifyOutcome(outcome.error()); +} + +void CloudauthClient::credentialVerifyAsync(const CredentialVerifyRequest& request, const CredentialVerifyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, credentialVerify(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::CredentialVerifyOutcomeCallable CloudauthClient::credentialVerifyCallable(const CredentialVerifyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->credentialVerify(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudauthClient::DeepfakeDetectOutcome CloudauthClient::deepfakeDetect(const DeepfakeDetectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeepfakeDetectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeepfakeDetectOutcome(DeepfakeDetectResult(outcome.result())); + else + return DeepfakeDetectOutcome(outcome.error()); +} + +void CloudauthClient::deepfakeDetectAsync(const DeepfakeDetectRequest& request, const DeepfakeDetectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deepfakeDetect(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::DeepfakeDetectOutcomeCallable CloudauthClient::deepfakeDetectCallable(const DeepfakeDetectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deepfakeDetect(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudauthClient::DeleteFaceVerifyResultOutcome CloudauthClient::deleteFaceVerifyResult(const DeleteFaceVerifyResultRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteFaceVerifyResultOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteFaceVerifyResultOutcome(DeleteFaceVerifyResultResult(outcome.result())); + else + return DeleteFaceVerifyResultOutcome(outcome.error()); +} + +void CloudauthClient::deleteFaceVerifyResultAsync(const DeleteFaceVerifyResultRequest& request, const DeleteFaceVerifyResultAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteFaceVerifyResult(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::DeleteFaceVerifyResultOutcomeCallable CloudauthClient::deleteFaceVerifyResultCallable(const DeleteFaceVerifyResultRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteFaceVerifyResult(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudauthClient::DescribeDeviceInfoOutcome CloudauthClient::describeDeviceInfo(const DescribeDeviceInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -303,6 +447,42 @@ CloudauthClient::DescribeDeviceInfoOutcomeCallable CloudauthClient::describeDevi return task->get_future(); } +CloudauthClient::DescribeFaceGuardRiskOutcome CloudauthClient::describeFaceGuardRisk(const DescribeFaceGuardRiskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeFaceGuardRiskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeFaceGuardRiskOutcome(DescribeFaceGuardRiskResult(outcome.result())); + else + return DescribeFaceGuardRiskOutcome(outcome.error()); +} + +void CloudauthClient::describeFaceGuardRiskAsync(const DescribeFaceGuardRiskRequest& request, const DescribeFaceGuardRiskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeFaceGuardRisk(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::DescribeFaceGuardRiskOutcomeCallable CloudauthClient::describeFaceGuardRiskCallable(const DescribeFaceGuardRiskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeFaceGuardRisk(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudauthClient::DescribeFaceVerifyOutcome CloudauthClient::describeFaceVerify(const DescribeFaceVerifyRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -591,6 +771,78 @@ CloudauthClient::DetectFaceAttributesOutcomeCallable CloudauthClient::detectFace return task->get_future(); } +CloudauthClient::Id2MetaPeriodVerifyOutcome CloudauthClient::id2MetaPeriodVerify(const Id2MetaPeriodVerifyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return Id2MetaPeriodVerifyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return Id2MetaPeriodVerifyOutcome(Id2MetaPeriodVerifyResult(outcome.result())); + else + return Id2MetaPeriodVerifyOutcome(outcome.error()); +} + +void CloudauthClient::id2MetaPeriodVerifyAsync(const Id2MetaPeriodVerifyRequest& request, const Id2MetaPeriodVerifyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, id2MetaPeriodVerify(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::Id2MetaPeriodVerifyOutcomeCallable CloudauthClient::id2MetaPeriodVerifyCallable(const Id2MetaPeriodVerifyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->id2MetaPeriodVerify(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudauthClient::Id2MetaStandardVerifyOutcome CloudauthClient::id2MetaStandardVerify(const Id2MetaStandardVerifyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return Id2MetaStandardVerifyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return Id2MetaStandardVerifyOutcome(Id2MetaStandardVerifyResult(outcome.result())); + else + return Id2MetaStandardVerifyOutcome(outcome.error()); +} + +void CloudauthClient::id2MetaStandardVerifyAsync(const Id2MetaStandardVerifyRequest& request, const Id2MetaStandardVerifyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, id2MetaStandardVerify(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::Id2MetaStandardVerifyOutcomeCallable CloudauthClient::id2MetaStandardVerifyCallable(const Id2MetaStandardVerifyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->id2MetaStandardVerify(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudauthClient::Id2MetaVerifyOutcome CloudauthClient::id2MetaVerify(const Id2MetaVerifyRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -663,6 +915,42 @@ CloudauthClient::InitFaceVerifyOutcomeCallable CloudauthClient::initFaceVerifyCa return task->get_future(); } +CloudauthClient::InsertWhiteListSettingOutcome CloudauthClient::insertWhiteListSetting(const InsertWhiteListSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return InsertWhiteListSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return InsertWhiteListSettingOutcome(InsertWhiteListSettingResult(outcome.result())); + else + return InsertWhiteListSettingOutcome(outcome.error()); +} + +void CloudauthClient::insertWhiteListSettingAsync(const InsertWhiteListSettingRequest& request, const InsertWhiteListSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, insertWhiteListSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::InsertWhiteListSettingOutcomeCallable CloudauthClient::insertWhiteListSettingCallable(const InsertWhiteListSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->insertWhiteListSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudauthClient::LivenessFaceVerifyOutcome CloudauthClient::livenessFaceVerify(const LivenessFaceVerifyRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -699,6 +987,42 @@ CloudauthClient::LivenessFaceVerifyOutcomeCallable CloudauthClient::livenessFace return task->get_future(); } +CloudauthClient::Mobile3MetaDetailStandardVerifyOutcome CloudauthClient::mobile3MetaDetailStandardVerify(const Mobile3MetaDetailStandardVerifyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return Mobile3MetaDetailStandardVerifyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return Mobile3MetaDetailStandardVerifyOutcome(Mobile3MetaDetailStandardVerifyResult(outcome.result())); + else + return Mobile3MetaDetailStandardVerifyOutcome(outcome.error()); +} + +void CloudauthClient::mobile3MetaDetailStandardVerifyAsync(const Mobile3MetaDetailStandardVerifyRequest& request, const Mobile3MetaDetailStandardVerifyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, mobile3MetaDetailStandardVerify(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::Mobile3MetaDetailStandardVerifyOutcomeCallable CloudauthClient::mobile3MetaDetailStandardVerifyCallable(const Mobile3MetaDetailStandardVerifyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->mobile3MetaDetailStandardVerify(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudauthClient::Mobile3MetaDetailVerifyOutcome CloudauthClient::mobile3MetaDetailVerify(const Mobile3MetaDetailVerifyRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -735,6 +1059,42 @@ CloudauthClient::Mobile3MetaDetailVerifyOutcomeCallable CloudauthClient::mobile3 return task->get_future(); } +CloudauthClient::Mobile3MetaSimpleStandardVerifyOutcome CloudauthClient::mobile3MetaSimpleStandardVerify(const Mobile3MetaSimpleStandardVerifyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return Mobile3MetaSimpleStandardVerifyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return Mobile3MetaSimpleStandardVerifyOutcome(Mobile3MetaSimpleStandardVerifyResult(outcome.result())); + else + return Mobile3MetaSimpleStandardVerifyOutcome(outcome.error()); +} + +void CloudauthClient::mobile3MetaSimpleStandardVerifyAsync(const Mobile3MetaSimpleStandardVerifyRequest& request, const Mobile3MetaSimpleStandardVerifyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, mobile3MetaSimpleStandardVerify(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::Mobile3MetaSimpleStandardVerifyOutcomeCallable CloudauthClient::mobile3MetaSimpleStandardVerifyCallable(const Mobile3MetaSimpleStandardVerifyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->mobile3MetaSimpleStandardVerify(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudauthClient::Mobile3MetaSimpleVerifyOutcome CloudauthClient::mobile3MetaSimpleVerify(const Mobile3MetaSimpleVerifyRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -771,6 +1131,114 @@ CloudauthClient::Mobile3MetaSimpleVerifyOutcomeCallable CloudauthClient::mobile3 return task->get_future(); } +CloudauthClient::MobileDetectOutcome CloudauthClient::mobileDetect(const MobileDetectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return MobileDetectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return MobileDetectOutcome(MobileDetectResult(outcome.result())); + else + return MobileDetectOutcome(outcome.error()); +} + +void CloudauthClient::mobileDetectAsync(const MobileDetectRequest& request, const MobileDetectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, mobileDetect(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::MobileDetectOutcomeCallable CloudauthClient::mobileDetectCallable(const MobileDetectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->mobileDetect(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudauthClient::MobileOnlineStatusOutcome CloudauthClient::mobileOnlineStatus(const MobileOnlineStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return MobileOnlineStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return MobileOnlineStatusOutcome(MobileOnlineStatusResult(outcome.result())); + else + return MobileOnlineStatusOutcome(outcome.error()); +} + +void CloudauthClient::mobileOnlineStatusAsync(const MobileOnlineStatusRequest& request, const MobileOnlineStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, mobileOnlineStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::MobileOnlineStatusOutcomeCallable CloudauthClient::mobileOnlineStatusCallable(const MobileOnlineStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->mobileOnlineStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudauthClient::MobileOnlineTimeOutcome CloudauthClient::mobileOnlineTime(const MobileOnlineTimeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return MobileOnlineTimeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return MobileOnlineTimeOutcome(MobileOnlineTimeResult(outcome.result())); + else + return MobileOnlineTimeOutcome(outcome.error()); +} + +void CloudauthClient::mobileOnlineTimeAsync(const MobileOnlineTimeRequest& request, const MobileOnlineTimeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, mobileOnlineTime(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::MobileOnlineTimeOutcomeCallable CloudauthClient::mobileOnlineTimeCallable(const MobileOnlineTimeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->mobileOnlineTime(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudauthClient::ModifyDeviceInfoOutcome CloudauthClient::modifyDeviceInfo(const ModifyDeviceInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -807,6 +1275,258 @@ CloudauthClient::ModifyDeviceInfoOutcomeCallable CloudauthClient::modifyDeviceIn return task->get_future(); } +CloudauthClient::PageQueryWhiteListSettingOutcome CloudauthClient::pageQueryWhiteListSetting(const PageQueryWhiteListSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return PageQueryWhiteListSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return PageQueryWhiteListSettingOutcome(PageQueryWhiteListSettingResult(outcome.result())); + else + return PageQueryWhiteListSettingOutcome(outcome.error()); +} + +void CloudauthClient::pageQueryWhiteListSettingAsync(const PageQueryWhiteListSettingRequest& request, const PageQueryWhiteListSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, pageQueryWhiteListSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::PageQueryWhiteListSettingOutcomeCallable CloudauthClient::pageQueryWhiteListSettingCallable(const PageQueryWhiteListSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->pageQueryWhiteListSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudauthClient::RemoveWhiteListSettingOutcome CloudauthClient::removeWhiteListSetting(const RemoveWhiteListSettingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RemoveWhiteListSettingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RemoveWhiteListSettingOutcome(RemoveWhiteListSettingResult(outcome.result())); + else + return RemoveWhiteListSettingOutcome(outcome.error()); +} + +void CloudauthClient::removeWhiteListSettingAsync(const RemoveWhiteListSettingRequest& request, const RemoveWhiteListSettingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, removeWhiteListSetting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::RemoveWhiteListSettingOutcomeCallable CloudauthClient::removeWhiteListSettingCallable(const RemoveWhiteListSettingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->removeWhiteListSetting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudauthClient::Vehicle5ItemQueryOutcome CloudauthClient::vehicle5ItemQuery(const Vehicle5ItemQueryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return Vehicle5ItemQueryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return Vehicle5ItemQueryOutcome(Vehicle5ItemQueryResult(outcome.result())); + else + return Vehicle5ItemQueryOutcome(outcome.error()); +} + +void CloudauthClient::vehicle5ItemQueryAsync(const Vehicle5ItemQueryRequest& request, const Vehicle5ItemQueryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, vehicle5ItemQuery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::Vehicle5ItemQueryOutcomeCallable CloudauthClient::vehicle5ItemQueryCallable(const Vehicle5ItemQueryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->vehicle5ItemQuery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudauthClient::VehicleInsureQueryOutcome CloudauthClient::vehicleInsureQuery(const VehicleInsureQueryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VehicleInsureQueryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VehicleInsureQueryOutcome(VehicleInsureQueryResult(outcome.result())); + else + return VehicleInsureQueryOutcome(outcome.error()); +} + +void CloudauthClient::vehicleInsureQueryAsync(const VehicleInsureQueryRequest& request, const VehicleInsureQueryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, vehicleInsureQuery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::VehicleInsureQueryOutcomeCallable CloudauthClient::vehicleInsureQueryCallable(const VehicleInsureQueryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->vehicleInsureQuery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudauthClient::VehicleMetaVerifyOutcome CloudauthClient::vehicleMetaVerify(const VehicleMetaVerifyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VehicleMetaVerifyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VehicleMetaVerifyOutcome(VehicleMetaVerifyResult(outcome.result())); + else + return VehicleMetaVerifyOutcome(outcome.error()); +} + +void CloudauthClient::vehicleMetaVerifyAsync(const VehicleMetaVerifyRequest& request, const VehicleMetaVerifyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, vehicleMetaVerify(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::VehicleMetaVerifyOutcomeCallable CloudauthClient::vehicleMetaVerifyCallable(const VehicleMetaVerifyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->vehicleMetaVerify(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudauthClient::VehicleMetaVerifyV2Outcome CloudauthClient::vehicleMetaVerifyV2(const VehicleMetaVerifyV2Request &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VehicleMetaVerifyV2Outcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VehicleMetaVerifyV2Outcome(VehicleMetaVerifyV2Result(outcome.result())); + else + return VehicleMetaVerifyV2Outcome(outcome.error()); +} + +void CloudauthClient::vehicleMetaVerifyV2Async(const VehicleMetaVerifyV2Request& request, const VehicleMetaVerifyV2AsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, vehicleMetaVerifyV2(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::VehicleMetaVerifyV2OutcomeCallable CloudauthClient::vehicleMetaVerifyV2Callable(const VehicleMetaVerifyV2Request &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->vehicleMetaVerifyV2(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CloudauthClient::VehicleQueryOutcome CloudauthClient::vehicleQuery(const VehicleQueryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return VehicleQueryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return VehicleQueryOutcome(VehicleQueryResult(outcome.result())); + else + return VehicleQueryOutcome(outcome.error()); +} + +void CloudauthClient::vehicleQueryAsync(const VehicleQueryRequest& request, const VehicleQueryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, vehicleQuery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CloudauthClient::VehicleQueryOutcomeCallable CloudauthClient::vehicleQueryCallable(const VehicleQueryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->vehicleQuery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CloudauthClient::VerifyMaterialOutcome CloudauthClient::verifyMaterial(const VerifyMaterialRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/cloudauth/src/model/BankMetaVerifyRequest.cc b/cloudauth/src/model/BankMetaVerifyRequest.cc new file mode 100644 index 000000000..43ff7c6e5 --- /dev/null +++ b/cloudauth/src/model/BankMetaVerifyRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::Cloudauth::Model::BankMetaVerifyRequest; + +BankMetaVerifyRequest::BankMetaVerifyRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "BankMetaVerify") { + setMethod(HttpRequest::Method::Post); +} + +BankMetaVerifyRequest::~BankMetaVerifyRequest() {} + +std::string BankMetaVerifyRequest::getParamType() const { + return paramType_; +} + +void BankMetaVerifyRequest::setParamType(const std::string ¶mType) { + paramType_ = paramType; + setParameter(std::string("ParamType"), paramType); +} + +std::string BankMetaVerifyRequest::getVerifyMode() const { + return verifyMode_; +} + +void BankMetaVerifyRequest::setVerifyMode(const std::string &verifyMode) { + verifyMode_ = verifyMode; + setParameter(std::string("VerifyMode"), verifyMode); +} + +std::string BankMetaVerifyRequest::getIdentityType() const { + return identityType_; +} + +void BankMetaVerifyRequest::setIdentityType(const std::string &identityType) { + identityType_ = identityType; + setParameter(std::string("IdentityType"), identityType); +} + +std::string BankMetaVerifyRequest::getMobile() const { + return mobile_; +} + +void BankMetaVerifyRequest::setMobile(const std::string &mobile) { + mobile_ = mobile; + setParameter(std::string("Mobile"), mobile); +} + +std::string BankMetaVerifyRequest::getIdentifyNum() const { + return identifyNum_; +} + +void BankMetaVerifyRequest::setIdentifyNum(const std::string &identifyNum) { + identifyNum_ = identifyNum; + setParameter(std::string("IdentifyNum"), identifyNum); +} + +std::string BankMetaVerifyRequest::getProductType() const { + return productType_; +} + +void BankMetaVerifyRequest::setProductType(const std::string &productType) { + productType_ = productType; + setParameter(std::string("ProductType"), productType); +} + +std::string BankMetaVerifyRequest::getBankCard() const { + return bankCard_; +} + +void BankMetaVerifyRequest::setBankCard(const std::string &bankCard) { + bankCard_ = bankCard; + setParameter(std::string("BankCard"), bankCard); +} + +std::string BankMetaVerifyRequest::getUserName() const { + return userName_; +} + +void BankMetaVerifyRequest::setUserName(const std::string &userName) { + userName_ = userName; + setParameter(std::string("UserName"), userName); +} + diff --git a/cloudauth/src/model/BankMetaVerifyResult.cc b/cloudauth/src/model/BankMetaVerifyResult.cc new file mode 100644 index 000000000..7bf98409f --- /dev/null +++ b/cloudauth/src/model/BankMetaVerifyResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +BankMetaVerifyResult::BankMetaVerifyResult() : + ServiceResult() +{} + +BankMetaVerifyResult::BankMetaVerifyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BankMetaVerifyResult::~BankMetaVerifyResult() +{} + +void BankMetaVerifyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["BizCode"].isNull()) + resultObject_.bizCode = resultObjectNode["BizCode"].asString(); + if(!resultObjectNode["SubCode"].isNull()) + resultObject_.subCode = resultObjectNode["SubCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +BankMetaVerifyResult::ResultObject BankMetaVerifyResult::getResultObject()const +{ + return resultObject_; +} + +std::string BankMetaVerifyResult::getMessage()const +{ + return message_; +} + +std::string BankMetaVerifyResult::getCode()const +{ + return code_; +} + diff --git a/cloudauth/src/model/CredentialVerifyRequest.cc b/cloudauth/src/model/CredentialVerifyRequest.cc new file mode 100644 index 000000000..4992015b4 --- /dev/null +++ b/cloudauth/src/model/CredentialVerifyRequest.cc @@ -0,0 +1,156 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::Cloudauth::Model::CredentialVerifyRequest; + +CredentialVerifyRequest::CredentialVerifyRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "CredentialVerify") { + setMethod(HttpRequest::Method::Post); +} + +CredentialVerifyRequest::~CredentialVerifyRequest() {} + +std::string CredentialVerifyRequest::getProductCode() const { + return productCode_; +} + +void CredentialVerifyRequest::setProductCode(const std::string &productCode) { + productCode_ = productCode; + setParameter(std::string("ProductCode"), productCode); +} + +std::string CredentialVerifyRequest::getIsOCR() const { + return isOCR_; +} + +void CredentialVerifyRequest::setIsOCR(const std::string &isOCR) { + isOCR_ = isOCR; + setParameter(std::string("IsOCR"), isOCR); +} + +std::string CredentialVerifyRequest::getIsCheck() const { + return isCheck_; +} + +void CredentialVerifyRequest::setIsCheck(const std::string &isCheck) { + isCheck_ = isCheck; + setParameter(std::string("IsCheck"), isCheck); +} + +std::string CredentialVerifyRequest::getImageContext() const { + return imageContext_; +} + +void CredentialVerifyRequest::setImageContext(const std::string &imageContext) { + imageContext_ = imageContext; + setBodyParameter(std::string("ImageContext"), imageContext); +} + +std::string CredentialVerifyRequest::getCredType() const { + return credType_; +} + +void CredentialVerifyRequest::setCredType(const std::string &credType) { + credType_ = credType; + setParameter(std::string("CredType"), credType); +} + +std::string CredentialVerifyRequest::getPromptModel() const { + return promptModel_; +} + +void CredentialVerifyRequest::setPromptModel(const std::string &promptModel) { + promptModel_ = promptModel; + setParameter(std::string("PromptModel"), promptModel); +} + +std::string CredentialVerifyRequest::getIdentifyNum() const { + return identifyNum_; +} + +void CredentialVerifyRequest::setIdentifyNum(const std::string &identifyNum) { + identifyNum_ = identifyNum; + setParameter(std::string("IdentifyNum"), identifyNum); +} + +std::string CredentialVerifyRequest::getCredName() const { + return credName_; +} + +void CredentialVerifyRequest::setCredName(const std::string &credName) { + credName_ = credName; + setParameter(std::string("CredName"), credName); +} + +std::string CredentialVerifyRequest::getMerchantId() const { + return merchantId_; +} + +void CredentialVerifyRequest::setMerchantId(const std::string &merchantId) { + merchantId_ = merchantId; + setParameter(std::string("MerchantId"), merchantId); +} + +std::vector CredentialVerifyRequest::getMerchantDetail() const { + return merchantDetail_; +} + +void CredentialVerifyRequest::setMerchantDetail(const std::vector &merchantDetail) { + merchantDetail_ = merchantDetail; + for(int dep1 = 0; dep1 != merchantDetail.size(); dep1++) { + setParameter(std::string("MerchantDetail") + "." + std::to_string(dep1 + 1) + ".Value", merchantDetail[dep1].value); + setParameter(std::string("MerchantDetail") + "." + std::to_string(dep1 + 1) + ".Key", merchantDetail[dep1].key); + } +} + +std::string CredentialVerifyRequest::getImageUrl() const { + return imageUrl_; +} + +void CredentialVerifyRequest::setImageUrl(const std::string &imageUrl) { + imageUrl_ = imageUrl; + setParameter(std::string("ImageUrl"), imageUrl); +} + +std::string CredentialVerifyRequest::getCertNum() const { + return certNum_; +} + +void CredentialVerifyRequest::setCertNum(const std::string &certNum) { + certNum_ = certNum; + setParameter(std::string("CertNum"), certNum); +} + +std::string CredentialVerifyRequest::getPrompt() const { + return prompt_; +} + +void CredentialVerifyRequest::setPrompt(const std::string &prompt) { + prompt_ = prompt; + setParameter(std::string("Prompt"), prompt); +} + +std::string CredentialVerifyRequest::getUserName() const { + return userName_; +} + +void CredentialVerifyRequest::setUserName(const std::string &userName) { + userName_ = userName; + setParameter(std::string("UserName"), userName); +} + diff --git a/cloudauth/src/model/CredentialVerifyResult.cc b/cloudauth/src/model/CredentialVerifyResult.cc new file mode 100644 index 000000000..64812345c --- /dev/null +++ b/cloudauth/src/model/CredentialVerifyResult.cc @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +CredentialVerifyResult::CredentialVerifyResult() : + ServiceResult() +{} + +CredentialVerifyResult::CredentialVerifyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CredentialVerifyResult::~CredentialVerifyResult() +{} + +void CredentialVerifyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["Result"].isNull()) + resultObject_.result = resultObjectNode["Result"].asString(); + if(!resultObjectNode["RiskTag"].isNull()) + resultObject_.riskTag = resultObjectNode["RiskTag"].asString(); + if(!resultObjectNode["RiskScore"].isNull()) + resultObject_.riskScore = resultObjectNode["RiskScore"].asString(); + if(!resultObjectNode["OcrInfo"].isNull()) + resultObject_.ocrInfo = resultObjectNode["OcrInfo"].asString(); + if(!resultObjectNode["VerifyResult"].isNull()) + resultObject_.verifyResult = resultObjectNode["VerifyResult"].asString(); + if(!resultObjectNode["VerifyDetail"].isNull()) + resultObject_.verifyDetail = resultObjectNode["VerifyDetail"].asString(); + if(!resultObjectNode["MaterialInfo"].isNull()) + resultObject_.materialInfo = resultObjectNode["MaterialInfo"].asString(); + auto vlResultNode = resultObjectNode["VlResult"]; + if(!vlResultNode["Success"].isNull()) + resultObject_.vlResult.success = vlResultNode["Success"].asString() == "true"; + if(!vlResultNode["VlContent"].isNull()) + resultObject_.vlResult.vlContent = vlResultNode["VlContent"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +CredentialVerifyResult::ResultObject CredentialVerifyResult::getResultObject()const +{ + return resultObject_; +} + +std::string CredentialVerifyResult::getMessage()const +{ + return message_; +} + +std::string CredentialVerifyResult::getCode()const +{ + return code_; +} + diff --git a/cloudauth/src/model/DeepfakeDetectRequest.cc b/cloudauth/src/model/DeepfakeDetectRequest.cc new file mode 100644 index 000000000..04644ed3c --- /dev/null +++ b/cloudauth/src/model/DeepfakeDetectRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudauth::Model::DeepfakeDetectRequest; + +DeepfakeDetectRequest::DeepfakeDetectRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "DeepfakeDetect") { + setMethod(HttpRequest::Method::Post); +} + +DeepfakeDetectRequest::~DeepfakeDetectRequest() {} + +std::string DeepfakeDetectRequest::getFaceBase64() const { + return faceBase64_; +} + +void DeepfakeDetectRequest::setFaceBase64(const std::string &faceBase64) { + faceBase64_ = faceBase64; + setBodyParameter(std::string("FaceBase64"), faceBase64); +} + +std::string DeepfakeDetectRequest::getOuterOrderNo() const { + return outerOrderNo_; +} + +void DeepfakeDetectRequest::setOuterOrderNo(const std::string &outerOrderNo) { + outerOrderNo_ = outerOrderNo; + setParameter(std::string("OuterOrderNo"), outerOrderNo); +} + +std::string DeepfakeDetectRequest::getFaceUrl() const { + return faceUrl_; +} + +void DeepfakeDetectRequest::setFaceUrl(const std::string &faceUrl) { + faceUrl_ = faceUrl; + setParameter(std::string("FaceUrl"), faceUrl); +} + +std::string DeepfakeDetectRequest::getFaceInputType() const { + return faceInputType_; +} + +void DeepfakeDetectRequest::setFaceInputType(const std::string &faceInputType) { + faceInputType_ = faceInputType; + setParameter(std::string("FaceInputType"), faceInputType); +} + diff --git a/cloudauth/src/model/DeepfakeDetectResult.cc b/cloudauth/src/model/DeepfakeDetectResult.cc new file mode 100644 index 000000000..0bcc7fccc --- /dev/null +++ b/cloudauth/src/model/DeepfakeDetectResult.cc @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +DeepfakeDetectResult::DeepfakeDetectResult() : + ServiceResult() +{} + +DeepfakeDetectResult::DeepfakeDetectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeepfakeDetectResult::~DeepfakeDetectResult() +{} + +void DeepfakeDetectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["Result"].isNull()) + resultObject_.result = resultObjectNode["Result"].asString(); + if(!resultObjectNode["RiskTag"].isNull()) + resultObject_.riskTag = resultObjectNode["RiskTag"].asString(); + if(!resultObjectNode["RiskScore"].isNull()) + resultObject_.riskScore = resultObjectNode["RiskScore"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +DeepfakeDetectResult::ResultObject DeepfakeDetectResult::getResultObject()const +{ + return resultObject_; +} + +std::string DeepfakeDetectResult::getMessage()const +{ + return message_; +} + +std::string DeepfakeDetectResult::getCode()const +{ + return code_; +} + diff --git a/cloudauth/src/model/DeleteFaceVerifyResultRequest.cc b/cloudauth/src/model/DeleteFaceVerifyResultRequest.cc new file mode 100644 index 000000000..d2975c1c4 --- /dev/null +++ b/cloudauth/src/model/DeleteFaceVerifyResultRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::Cloudauth::Model::DeleteFaceVerifyResultRequest; + +DeleteFaceVerifyResultRequest::DeleteFaceVerifyResultRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "DeleteFaceVerifyResult") { + setMethod(HttpRequest::Method::Post); +} + +DeleteFaceVerifyResultRequest::~DeleteFaceVerifyResultRequest() {} + +std::string DeleteFaceVerifyResultRequest::getDeleteAfterQuery() const { + return deleteAfterQuery_; +} + +void DeleteFaceVerifyResultRequest::setDeleteAfterQuery(const std::string &deleteAfterQuery) { + deleteAfterQuery_ = deleteAfterQuery; + setParameter(std::string("DeleteAfterQuery"), deleteAfterQuery); +} + +std::string DeleteFaceVerifyResultRequest::getCertifyId() const { + return certifyId_; +} + +void DeleteFaceVerifyResultRequest::setCertifyId(const std::string &certifyId) { + certifyId_ = certifyId; + setParameter(std::string("CertifyId"), certifyId); +} + diff --git a/cloudauth/src/model/DeleteFaceVerifyResultResult.cc b/cloudauth/src/model/DeleteFaceVerifyResultResult.cc new file mode 100644 index 000000000..22f1fa29e --- /dev/null +++ b/cloudauth/src/model/DeleteFaceVerifyResultResult.cc @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +DeleteFaceVerifyResultResult::DeleteFaceVerifyResultResult() : + ServiceResult() +{} + +DeleteFaceVerifyResultResult::DeleteFaceVerifyResultResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteFaceVerifyResultResult::~DeleteFaceVerifyResultResult() +{} + +void DeleteFaceVerifyResultResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["CertifyId"].isNull()) + resultObject_.certifyId = resultObjectNode["CertifyId"].asString(); + if(!resultObjectNode["DeleteResult"].isNull()) + resultObject_.deleteResult = resultObjectNode["DeleteResult"].asString(); + if(!resultObjectNode["FailReason"].isNull()) + resultObject_.failReason = resultObjectNode["FailReason"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +DeleteFaceVerifyResultResult::ResultObject DeleteFaceVerifyResultResult::getResultObject()const +{ + return resultObject_; +} + +std::string DeleteFaceVerifyResultResult::getMessage()const +{ + return message_; +} + +std::string DeleteFaceVerifyResultResult::getCode()const +{ + return code_; +} + diff --git a/cloudauth/src/model/DescribeFaceGuardRiskRequest.cc b/cloudauth/src/model/DescribeFaceGuardRiskRequest.cc new file mode 100644 index 000000000..0ba12f7d5 --- /dev/null +++ b/cloudauth/src/model/DescribeFaceGuardRiskRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudauth::Model::DescribeFaceGuardRiskRequest; + +DescribeFaceGuardRiskRequest::DescribeFaceGuardRiskRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "DescribeFaceGuardRisk") { + setMethod(HttpRequest::Method::Post); +} + +DescribeFaceGuardRiskRequest::~DescribeFaceGuardRiskRequest() {} + +std::string DescribeFaceGuardRiskRequest::getProductCode() const { + return productCode_; +} + +void DescribeFaceGuardRiskRequest::setProductCode(const std::string &productCode) { + productCode_ = productCode; + setParameter(std::string("ProductCode"), productCode); +} + +std::string DescribeFaceGuardRiskRequest::getDeviceToken() const { + return deviceToken_; +} + +void DescribeFaceGuardRiskRequest::setDeviceToken(const std::string &deviceToken) { + deviceToken_ = deviceToken; + setParameter(std::string("DeviceToken"), deviceToken); +} + +std::string DescribeFaceGuardRiskRequest::getOuterOrderNo() const { + return outerOrderNo_; +} + +void DescribeFaceGuardRiskRequest::setOuterOrderNo(const std::string &outerOrderNo) { + outerOrderNo_ = outerOrderNo; + setParameter(std::string("OuterOrderNo"), outerOrderNo); +} + +std::string DescribeFaceGuardRiskRequest::getBizId() const { + return bizId_; +} + +void DescribeFaceGuardRiskRequest::setBizId(const std::string &bizId) { + bizId_ = bizId; + setParameter(std::string("BizId"), bizId); +} + diff --git a/cloudauth/src/model/DescribeFaceGuardRiskResult.cc b/cloudauth/src/model/DescribeFaceGuardRiskResult.cc new file mode 100644 index 000000000..3ef006a30 --- /dev/null +++ b/cloudauth/src/model/DescribeFaceGuardRiskResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +DescribeFaceGuardRiskResult::DescribeFaceGuardRiskResult() : + ServiceResult() +{} + +DescribeFaceGuardRiskResult::DescribeFaceGuardRiskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeFaceGuardRiskResult::~DescribeFaceGuardRiskResult() +{} + +void DescribeFaceGuardRiskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["RiakTags"].isNull()) + resultObject_.riakTags = resultObjectNode["RiakTags"].asString(); + if(!resultObjectNode["RiskExtends"].isNull()) + resultObject_.riskExtends = resultObjectNode["RiskExtends"].asString(); + if(!resultObjectNode["RiskTags"].isNull()) + resultObject_.riskTags = resultObjectNode["RiskTags"].asString(); + if(!resultObjectNode["CertifyId"].isNull()) + resultObject_.certifyId = resultObjectNode["CertifyId"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +DescribeFaceGuardRiskResult::ResultObject DescribeFaceGuardRiskResult::getResultObject()const +{ + return resultObject_; +} + +std::string DescribeFaceGuardRiskResult::getMessage()const +{ + return message_; +} + +std::string DescribeFaceGuardRiskResult::getCode()const +{ + return code_; +} + diff --git a/cloudauth/src/model/Id2MetaPeriodVerifyRequest.cc b/cloudauth/src/model/Id2MetaPeriodVerifyRequest.cc new file mode 100644 index 000000000..f4d55ef06 --- /dev/null +++ b/cloudauth/src/model/Id2MetaPeriodVerifyRequest.cc @@ -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 + +using AlibabaCloud::Cloudauth::Model::Id2MetaPeriodVerifyRequest; + +Id2MetaPeriodVerifyRequest::Id2MetaPeriodVerifyRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "Id2MetaPeriodVerify") { + setMethod(HttpRequest::Method::Post); +} + +Id2MetaPeriodVerifyRequest::~Id2MetaPeriodVerifyRequest() {} + +std::string Id2MetaPeriodVerifyRequest::getParamType() const { + return paramType_; +} + +void Id2MetaPeriodVerifyRequest::setParamType(const std::string ¶mType) { + paramType_ = paramType; + setBodyParameter(std::string("ParamType"), paramType); +} + +std::string Id2MetaPeriodVerifyRequest::getValidityStartDate() const { + return validityStartDate_; +} + +void Id2MetaPeriodVerifyRequest::setValidityStartDate(const std::string &validityStartDate) { + validityStartDate_ = validityStartDate; + setBodyParameter(std::string("ValidityStartDate"), validityStartDate); +} + +std::string Id2MetaPeriodVerifyRequest::getValidityEndDate() const { + return validityEndDate_; +} + +void Id2MetaPeriodVerifyRequest::setValidityEndDate(const std::string &validityEndDate) { + validityEndDate_ = validityEndDate; + setBodyParameter(std::string("ValidityEndDate"), validityEndDate); +} + +std::string Id2MetaPeriodVerifyRequest::getIdentifyNum() const { + return identifyNum_; +} + +void Id2MetaPeriodVerifyRequest::setIdentifyNum(const std::string &identifyNum) { + identifyNum_ = identifyNum; + setBodyParameter(std::string("IdentifyNum"), identifyNum); +} + +std::string Id2MetaPeriodVerifyRequest::getUserName() const { + return userName_; +} + +void Id2MetaPeriodVerifyRequest::setUserName(const std::string &userName) { + userName_ = userName; + setBodyParameter(std::string("UserName"), userName); +} + diff --git a/cloudauth/src/model/Id2MetaPeriodVerifyResult.cc b/cloudauth/src/model/Id2MetaPeriodVerifyResult.cc new file mode 100644 index 000000000..2968be516 --- /dev/null +++ b/cloudauth/src/model/Id2MetaPeriodVerifyResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +Id2MetaPeriodVerifyResult::Id2MetaPeriodVerifyResult() : + ServiceResult() +{} + +Id2MetaPeriodVerifyResult::Id2MetaPeriodVerifyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +Id2MetaPeriodVerifyResult::~Id2MetaPeriodVerifyResult() +{} + +void Id2MetaPeriodVerifyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["BizCode"].isNull()) + resultObject_.bizCode = resultObjectNode["BizCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +Id2MetaPeriodVerifyResult::ResultObject Id2MetaPeriodVerifyResult::getResultObject()const +{ + return resultObject_; +} + +std::string Id2MetaPeriodVerifyResult::getMessage()const +{ + return message_; +} + +std::string Id2MetaPeriodVerifyResult::getCode()const +{ + return code_; +} + diff --git a/cloudauth/src/model/Id2MetaStandardVerifyRequest.cc b/cloudauth/src/model/Id2MetaStandardVerifyRequest.cc new file mode 100644 index 000000000..a09a30387 --- /dev/null +++ b/cloudauth/src/model/Id2MetaStandardVerifyRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cloudauth::Model::Id2MetaStandardVerifyRequest; + +Id2MetaStandardVerifyRequest::Id2MetaStandardVerifyRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "Id2MetaStandardVerify") { + setMethod(HttpRequest::Method::Post); +} + +Id2MetaStandardVerifyRequest::~Id2MetaStandardVerifyRequest() {} + +std::string Id2MetaStandardVerifyRequest::getParamType() const { + return paramType_; +} + +void Id2MetaStandardVerifyRequest::setParamType(const std::string ¶mType) { + paramType_ = paramType; + setBodyParameter(std::string("ParamType"), paramType); +} + +std::string Id2MetaStandardVerifyRequest::getIdentifyNum() const { + return identifyNum_; +} + +void Id2MetaStandardVerifyRequest::setIdentifyNum(const std::string &identifyNum) { + identifyNum_ = identifyNum; + setBodyParameter(std::string("IdentifyNum"), identifyNum); +} + +std::string Id2MetaStandardVerifyRequest::getUserName() const { + return userName_; +} + +void Id2MetaStandardVerifyRequest::setUserName(const std::string &userName) { + userName_ = userName; + setBodyParameter(std::string("UserName"), userName); +} + diff --git a/cloudauth/src/model/Id2MetaStandardVerifyResult.cc b/cloudauth/src/model/Id2MetaStandardVerifyResult.cc new file mode 100644 index 000000000..6bb129e52 --- /dev/null +++ b/cloudauth/src/model/Id2MetaStandardVerifyResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +Id2MetaStandardVerifyResult::Id2MetaStandardVerifyResult() : + ServiceResult() +{} + +Id2MetaStandardVerifyResult::Id2MetaStandardVerifyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +Id2MetaStandardVerifyResult::~Id2MetaStandardVerifyResult() +{} + +void Id2MetaStandardVerifyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["BizCode"].isNull()) + resultObject_.bizCode = resultObjectNode["BizCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +Id2MetaStandardVerifyResult::ResultObject Id2MetaStandardVerifyResult::getResultObject()const +{ + return resultObject_; +} + +std::string Id2MetaStandardVerifyResult::getMessage()const +{ + return message_; +} + +std::string Id2MetaStandardVerifyResult::getCode()const +{ + return code_; +} + diff --git a/cloudauth/src/model/Id2MetaVerifyRequest.cc b/cloudauth/src/model/Id2MetaVerifyRequest.cc index 50715dfdf..61a94a4ad 100644 --- a/cloudauth/src/model/Id2MetaVerifyRequest.cc +++ b/cloudauth/src/model/Id2MetaVerifyRequest.cc @@ -31,7 +31,7 @@ std::string Id2MetaVerifyRequest::getParamType() const { void Id2MetaVerifyRequest::setParamType(const std::string ¶mType) { paramType_ = paramType; - setParameter(std::string("ParamType"), paramType); + setBodyParameter(std::string("ParamType"), paramType); } std::string Id2MetaVerifyRequest::getIdentifyNum() const { @@ -40,7 +40,7 @@ std::string Id2MetaVerifyRequest::getIdentifyNum() const { void Id2MetaVerifyRequest::setIdentifyNum(const std::string &identifyNum) { identifyNum_ = identifyNum; - setParameter(std::string("IdentifyNum"), identifyNum); + setBodyParameter(std::string("IdentifyNum"), identifyNum); } std::string Id2MetaVerifyRequest::getUserName() const { @@ -49,6 +49,6 @@ std::string Id2MetaVerifyRequest::getUserName() const { void Id2MetaVerifyRequest::setUserName(const std::string &userName) { userName_ = userName; - setParameter(std::string("UserName"), userName); + setBodyParameter(std::string("UserName"), userName); } diff --git a/cloudauth/src/model/InitFaceVerifyRequest.cc b/cloudauth/src/model/InitFaceVerifyRequest.cc index 2cd5ea3f4..42640425e 100644 --- a/cloudauth/src/model/InitFaceVerifyRequest.cc +++ b/cloudauth/src/model/InitFaceVerifyRequest.cc @@ -25,24 +25,6 @@ InitFaceVerifyRequest::InitFaceVerifyRequest() InitFaceVerifyRequest::~InitFaceVerifyRequest() {} -std::string InitFaceVerifyRequest::getBirthday() const { - return birthday_; -} - -void InitFaceVerifyRequest::setBirthday(const std::string &birthday) { - birthday_ = birthday; - setParameter(std::string("Birthday"), birthday); -} - -std::string InitFaceVerifyRequest::getProductCode() const { - return productCode_; -} - -void InitFaceVerifyRequest::setProductCode(const std::string &productCode) { - productCode_ = productCode; - setParameter(std::string("ProductCode"), productCode); -} - std::string InitFaceVerifyRequest::getFaceContrastPicture() const { return faceContrastPicture_; } @@ -88,15 +70,6 @@ void InitFaceVerifyRequest::setUserId(const std::string &userId) { setParameter(std::string("UserId"), userId); } -std::string InitFaceVerifyRequest::getCertifyId() const { - return certifyId_; -} - -void InitFaceVerifyRequest::setCertifyId(const std::string &certifyId) { - certifyId_ = certifyId; - setParameter(std::string("CertifyId"), certifyId); -} - std::string InitFaceVerifyRequest::getEncryptType() const { return encryptType_; } @@ -115,15 +88,6 @@ void InitFaceVerifyRequest::setMode(const std::string &mode) { setParameter(std::string("Mode"), mode); } -std::string InitFaceVerifyRequest::getCertNo() const { - return certNo_; -} - -void InitFaceVerifyRequest::setCertNo(const std::string &certNo) { - certNo_ = certNo; - setParameter(std::string("CertNo"), certNo); -} - std::string InitFaceVerifyRequest::getOuterOrderNo() const { return outerOrderNo_; } @@ -133,15 +97,6 @@ void InitFaceVerifyRequest::setOuterOrderNo(const std::string &outerOrderNo) { setParameter(std::string("OuterOrderNo"), outerOrderNo); } -std::string InitFaceVerifyRequest::getCertType() const { - return certType_; -} - -void InitFaceVerifyRequest::setCertType(const std::string &certType) { - certType_ = certType; - setParameter(std::string("CertType"), certType); -} - std::string InitFaceVerifyRequest::getFaceContrastPictureUrl() const { return faceContrastPictureUrl_; } @@ -160,15 +115,6 @@ void InitFaceVerifyRequest::setModel(const std::string &model) { setBodyParameter(std::string("Model"), model); } -std::string InitFaceVerifyRequest::getSuitableType() const { - return suitableType_; -} - -void InitFaceVerifyRequest::setSuitableType(const std::string &suitableType) { - suitableType_ = suitableType; - setParameter(std::string("SuitableType"), suitableType); -} - std::string InitFaceVerifyRequest::getCertifyUrlStyle() const { return certifyUrlStyle_; } @@ -187,13 +133,13 @@ void InitFaceVerifyRequest::setMetaInfo(const std::string &metaInfo) { setParameter(std::string("MetaInfo"), metaInfo); } -std::string InitFaceVerifyRequest::getOssObjectName() const { - return ossObjectName_; +std::string InitFaceVerifyRequest::getCameraSelection() const { + return cameraSelection_; } -void InitFaceVerifyRequest::setOssObjectName(const std::string &ossObjectName) { - ossObjectName_ = ossObjectName; - setParameter(std::string("OssObjectName"), ossObjectName); +void InitFaceVerifyRequest::setCameraSelection(const std::string &cameraSelection) { + cameraSelection_ = cameraSelection; + setParameter(std::string("CameraSelection"), cameraSelection); } std::string InitFaceVerifyRequest::getValidityDate() const { @@ -223,6 +169,132 @@ void InitFaceVerifyRequest::setIp(const std::string &ip) { setParameter(std::string("Ip"), ip); } +long InitFaceVerifyRequest::getSceneId() const { + return sceneId_; +} + +void InitFaceVerifyRequest::setSceneId(long sceneId) { + sceneId_ = sceneId; + setParameter(std::string("SceneId"), std::to_string(sceneId)); +} + +std::string InitFaceVerifyRequest::getOssBucketName() const { + return ossBucketName_; +} + +void InitFaceVerifyRequest::setOssBucketName(const std::string &ossBucketName) { + ossBucketName_ = ossBucketName; + setParameter(std::string("OssBucketName"), ossBucketName); +} + +std::string InitFaceVerifyRequest::getCrop() const { + return crop_; +} + +void InitFaceVerifyRequest::setCrop(const std::string &crop) { + crop_ = crop; + setBodyParameter(std::string("Crop"), crop); +} + +std::string InitFaceVerifyRequest::getCertifyUrlType() const { + return certifyUrlType_; +} + +void InitFaceVerifyRequest::setCertifyUrlType(const std::string &certifyUrlType) { + certifyUrlType_ = certifyUrlType; + setParameter(std::string("CertifyUrlType"), certifyUrlType); +} + +std::string InitFaceVerifyRequest::getBirthday() const { + return birthday_; +} + +void InitFaceVerifyRequest::setBirthday(const std::string &birthday) { + birthday_ = birthday; + setParameter(std::string("Birthday"), birthday); +} + +std::string InitFaceVerifyRequest::getExperienceCode() const { + return experienceCode_; +} + +void InitFaceVerifyRequest::setExperienceCode(const std::string &experienceCode) { + experienceCode_ = experienceCode; + setParameter(std::string("ExperienceCode"), experienceCode); +} + +std::string InitFaceVerifyRequest::getProductCode() const { + return productCode_; +} + +void InitFaceVerifyRequest::setProductCode(const std::string &productCode) { + productCode_ = productCode; + setParameter(std::string("ProductCode"), productCode); +} + +std::string InitFaceVerifyRequest::getVideoEvidence() const { + return videoEvidence_; +} + +void InitFaceVerifyRequest::setVideoEvidence(const std::string &videoEvidence) { + videoEvidence_ = videoEvidence; + setParameter(std::string("VideoEvidence"), videoEvidence); +} + +std::string InitFaceVerifyRequest::getCertifyId() const { + return certifyId_; +} + +void InitFaceVerifyRequest::setCertifyId(const std::string &certifyId) { + certifyId_ = certifyId; + setParameter(std::string("CertifyId"), certifyId); +} + +std::string InitFaceVerifyRequest::getCertNo() const { + return certNo_; +} + +void InitFaceVerifyRequest::setCertNo(const std::string &certNo) { + certNo_ = certNo; + setParameter(std::string("CertNo"), certNo); +} + +std::string InitFaceVerifyRequest::getCertType() const { + return certType_; +} + +void InitFaceVerifyRequest::setCertType(const std::string &certType) { + certType_ = certType; + setParameter(std::string("CertType"), certType); +} + +std::string InitFaceVerifyRequest::getSuitableType() const { + return suitableType_; +} + +void InitFaceVerifyRequest::setSuitableType(const std::string &suitableType) { + suitableType_ = suitableType; + setParameter(std::string("SuitableType"), suitableType); +} + +std::string InitFaceVerifyRequest::getOssObjectName() const { + return ossObjectName_; +} + +void InitFaceVerifyRequest::setOssObjectName(const std::string &ossObjectName) { + ossObjectName_ = ossObjectName; + setParameter(std::string("OssObjectName"), ossObjectName); +} + +std::string InitFaceVerifyRequest::getAppQualityCheck() const { + return appQualityCheck_; +} + +void InitFaceVerifyRequest::setAppQualityCheck(const std::string &appQualityCheck) { + appQualityCheck_ = appQualityCheck; + setParameter(std::string("AppQualityCheck"), appQualityCheck); +} + std::string InitFaceVerifyRequest::getMobile() const { return mobile_; } @@ -259,24 +331,6 @@ void InitFaceVerifyRequest::setProcedurePriority(const std::string &procedurePri setParameter(std::string("ProcedurePriority"), procedurePriority); } -long InitFaceVerifyRequest::getSceneId() const { - return sceneId_; -} - -void InitFaceVerifyRequest::setSceneId(long sceneId) { - sceneId_ = sceneId; - setParameter(std::string("SceneId"), std::to_string(sceneId)); -} - -std::string InitFaceVerifyRequest::getOssBucketName() const { - return ossBucketName_; -} - -void InitFaceVerifyRequest::setOssBucketName(const std::string &ossBucketName) { - ossBucketName_ = ossBucketName; - setParameter(std::string("OssBucketName"), ossBucketName); -} - std::string InitFaceVerifyRequest::getCallbackToken() const { return callbackToken_; } @@ -286,6 +340,15 @@ void InitFaceVerifyRequest::setCallbackToken(const std::string &callbackToken) { setParameter(std::string("CallbackToken"), callbackToken); } +std::string InitFaceVerifyRequest::getUiCustomUrl() const { + return uiCustomUrl_; +} + +void InitFaceVerifyRequest::setUiCustomUrl(const std::string &uiCustomUrl) { + uiCustomUrl_ = uiCustomUrl; + setParameter(std::string("UiCustomUrl"), uiCustomUrl); +} + std::string InitFaceVerifyRequest::getReturnUrl() const { return returnUrl_; } @@ -304,21 +367,3 @@ void InitFaceVerifyRequest::setCallbackUrl(const std::string &callbackUrl) { setParameter(std::string("CallbackUrl"), callbackUrl); } -std::string InitFaceVerifyRequest::getCrop() const { - return crop_; -} - -void InitFaceVerifyRequest::setCrop(const std::string &crop) { - crop_ = crop; - setBodyParameter(std::string("Crop"), crop); -} - -std::string InitFaceVerifyRequest::getCertifyUrlType() const { - return certifyUrlType_; -} - -void InitFaceVerifyRequest::setCertifyUrlType(const std::string &certifyUrlType) { - certifyUrlType_ = certifyUrlType; - setParameter(std::string("CertifyUrlType"), certifyUrlType); -} - diff --git a/cloudauth/src/model/InsertWhiteListSettingRequest.cc b/cloudauth/src/model/InsertWhiteListSettingRequest.cc new file mode 100644 index 000000000..bd60e1e7b --- /dev/null +++ b/cloudauth/src/model/InsertWhiteListSettingRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cloudauth::Model::InsertWhiteListSettingRequest; + +InsertWhiteListSettingRequest::InsertWhiteListSettingRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "InsertWhiteListSetting") { + setMethod(HttpRequest::Method::Post); +} + +InsertWhiteListSettingRequest::~InsertWhiteListSettingRequest() {} + +int InsertWhiteListSettingRequest::getValidDay() const { + return validDay_; +} + +void InsertWhiteListSettingRequest::setValidDay(int validDay) { + validDay_ = validDay; + setParameter(std::string("ValidDay"), std::to_string(validDay)); +} + +std::string InsertWhiteListSettingRequest::getRemark() const { + return remark_; +} + +void InsertWhiteListSettingRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string InsertWhiteListSettingRequest::getCertifyId() const { + return certifyId_; +} + +void InsertWhiteListSettingRequest::setCertifyId(const std::string &certifyId) { + certifyId_ = certifyId; + setParameter(std::string("CertifyId"), certifyId); +} + +std::string InsertWhiteListSettingRequest::getCertNo() const { + return certNo_; +} + +void InsertWhiteListSettingRequest::setCertNo(const std::string &certNo) { + certNo_ = certNo; + setParameter(std::string("CertNo"), certNo); +} + +std::string InsertWhiteListSettingRequest::getServiceCode() const { + return serviceCode_; +} + +void InsertWhiteListSettingRequest::setServiceCode(const std::string &serviceCode) { + serviceCode_ = serviceCode; + setParameter(std::string("ServiceCode"), serviceCode); +} + +long InsertWhiteListSettingRequest::getSceneId() const { + return sceneId_; +} + +void InsertWhiteListSettingRequest::setSceneId(long sceneId) { + sceneId_ = sceneId; + setParameter(std::string("SceneId"), std::to_string(sceneId)); +} + diff --git a/cloudauth/src/model/InsertWhiteListSettingResult.cc b/cloudauth/src/model/InsertWhiteListSettingResult.cc new file mode 100644 index 000000000..4807be1da --- /dev/null +++ b/cloudauth/src/model/InsertWhiteListSettingResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +InsertWhiteListSettingResult::InsertWhiteListSettingResult() : + ServiceResult() +{} + +InsertWhiteListSettingResult::InsertWhiteListSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +InsertWhiteListSettingResult::~InsertWhiteListSettingResult() +{} + +void InsertWhiteListSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ResultObject"].isNull()) + resultObject_ = value["ResultObject"].asString() == "true"; + +} + +bool InsertWhiteListSettingResult::getResultObject()const +{ + return resultObject_; +} + +std::string InsertWhiteListSettingResult::getMessage()const +{ + return message_; +} + +std::string InsertWhiteListSettingResult::getCode()const +{ + return code_; +} + +bool InsertWhiteListSettingResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudauth/src/model/Mobile3MetaDetailStandardVerifyRequest.cc b/cloudauth/src/model/Mobile3MetaDetailStandardVerifyRequest.cc new file mode 100644 index 000000000..be6dedf89 --- /dev/null +++ b/cloudauth/src/model/Mobile3MetaDetailStandardVerifyRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudauth::Model::Mobile3MetaDetailStandardVerifyRequest; + +Mobile3MetaDetailStandardVerifyRequest::Mobile3MetaDetailStandardVerifyRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "Mobile3MetaDetailStandardVerify") { + setMethod(HttpRequest::Method::Post); +} + +Mobile3MetaDetailStandardVerifyRequest::~Mobile3MetaDetailStandardVerifyRequest() {} + +std::string Mobile3MetaDetailStandardVerifyRequest::getParamType() const { + return paramType_; +} + +void Mobile3MetaDetailStandardVerifyRequest::setParamType(const std::string ¶mType) { + paramType_ = paramType; + setBodyParameter(std::string("ParamType"), paramType); +} + +std::string Mobile3MetaDetailStandardVerifyRequest::getMobile() const { + return mobile_; +} + +void Mobile3MetaDetailStandardVerifyRequest::setMobile(const std::string &mobile) { + mobile_ = mobile; + setBodyParameter(std::string("Mobile"), mobile); +} + +std::string Mobile3MetaDetailStandardVerifyRequest::getIdentifyNum() const { + return identifyNum_; +} + +void Mobile3MetaDetailStandardVerifyRequest::setIdentifyNum(const std::string &identifyNum) { + identifyNum_ = identifyNum; + setBodyParameter(std::string("IdentifyNum"), identifyNum); +} + +std::string Mobile3MetaDetailStandardVerifyRequest::getUserName() const { + return userName_; +} + +void Mobile3MetaDetailStandardVerifyRequest::setUserName(const std::string &userName) { + userName_ = userName; + setBodyParameter(std::string("UserName"), userName); +} + diff --git a/cloudauth/src/model/Mobile3MetaDetailStandardVerifyResult.cc b/cloudauth/src/model/Mobile3MetaDetailStandardVerifyResult.cc new file mode 100644 index 000000000..b44a8177b --- /dev/null +++ b/cloudauth/src/model/Mobile3MetaDetailStandardVerifyResult.cc @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +Mobile3MetaDetailStandardVerifyResult::Mobile3MetaDetailStandardVerifyResult() : + ServiceResult() +{} + +Mobile3MetaDetailStandardVerifyResult::Mobile3MetaDetailStandardVerifyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +Mobile3MetaDetailStandardVerifyResult::~Mobile3MetaDetailStandardVerifyResult() +{} + +void Mobile3MetaDetailStandardVerifyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["BizCode"].isNull()) + resultObject_.bizCode = resultObjectNode["BizCode"].asString(); + if(!resultObjectNode["SubCode"].isNull()) + resultObject_.subCode = resultObjectNode["SubCode"].asString(); + if(!resultObjectNode["IspName"].isNull()) + resultObject_.ispName = resultObjectNode["IspName"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +Mobile3MetaDetailStandardVerifyResult::ResultObject Mobile3MetaDetailStandardVerifyResult::getResultObject()const +{ + return resultObject_; +} + +std::string Mobile3MetaDetailStandardVerifyResult::getMessage()const +{ + return message_; +} + +std::string Mobile3MetaDetailStandardVerifyResult::getCode()const +{ + return code_; +} + diff --git a/cloudauth/src/model/Mobile3MetaDetailVerifyRequest.cc b/cloudauth/src/model/Mobile3MetaDetailVerifyRequest.cc index c1a3ae2e3..baeee60ed 100644 --- a/cloudauth/src/model/Mobile3MetaDetailVerifyRequest.cc +++ b/cloudauth/src/model/Mobile3MetaDetailVerifyRequest.cc @@ -31,7 +31,7 @@ std::string Mobile3MetaDetailVerifyRequest::getParamType() const { void Mobile3MetaDetailVerifyRequest::setParamType(const std::string ¶mType) { paramType_ = paramType; - setParameter(std::string("ParamType"), paramType); + setBodyParameter(std::string("ParamType"), paramType); } std::string Mobile3MetaDetailVerifyRequest::getMobile() const { @@ -40,7 +40,7 @@ std::string Mobile3MetaDetailVerifyRequest::getMobile() const { void Mobile3MetaDetailVerifyRequest::setMobile(const std::string &mobile) { mobile_ = mobile; - setParameter(std::string("Mobile"), mobile); + setBodyParameter(std::string("Mobile"), mobile); } std::string Mobile3MetaDetailVerifyRequest::getIdentifyNum() const { @@ -49,7 +49,7 @@ std::string Mobile3MetaDetailVerifyRequest::getIdentifyNum() const { void Mobile3MetaDetailVerifyRequest::setIdentifyNum(const std::string &identifyNum) { identifyNum_ = identifyNum; - setParameter(std::string("IdentifyNum"), identifyNum); + setBodyParameter(std::string("IdentifyNum"), identifyNum); } std::string Mobile3MetaDetailVerifyRequest::getUserName() const { @@ -58,6 +58,6 @@ std::string Mobile3MetaDetailVerifyRequest::getUserName() const { void Mobile3MetaDetailVerifyRequest::setUserName(const std::string &userName) { userName_ = userName; - setParameter(std::string("UserName"), userName); + setBodyParameter(std::string("UserName"), userName); } diff --git a/cloudauth/src/model/Mobile3MetaSimpleStandardVerifyRequest.cc b/cloudauth/src/model/Mobile3MetaSimpleStandardVerifyRequest.cc new file mode 100644 index 000000000..d5ef98f14 --- /dev/null +++ b/cloudauth/src/model/Mobile3MetaSimpleStandardVerifyRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudauth::Model::Mobile3MetaSimpleStandardVerifyRequest; + +Mobile3MetaSimpleStandardVerifyRequest::Mobile3MetaSimpleStandardVerifyRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "Mobile3MetaSimpleStandardVerify") { + setMethod(HttpRequest::Method::Post); +} + +Mobile3MetaSimpleStandardVerifyRequest::~Mobile3MetaSimpleStandardVerifyRequest() {} + +std::string Mobile3MetaSimpleStandardVerifyRequest::getParamType() const { + return paramType_; +} + +void Mobile3MetaSimpleStandardVerifyRequest::setParamType(const std::string ¶mType) { + paramType_ = paramType; + setBodyParameter(std::string("ParamType"), paramType); +} + +std::string Mobile3MetaSimpleStandardVerifyRequest::getMobile() const { + return mobile_; +} + +void Mobile3MetaSimpleStandardVerifyRequest::setMobile(const std::string &mobile) { + mobile_ = mobile; + setBodyParameter(std::string("Mobile"), mobile); +} + +std::string Mobile3MetaSimpleStandardVerifyRequest::getIdentifyNum() const { + return identifyNum_; +} + +void Mobile3MetaSimpleStandardVerifyRequest::setIdentifyNum(const std::string &identifyNum) { + identifyNum_ = identifyNum; + setBodyParameter(std::string("IdentifyNum"), identifyNum); +} + +std::string Mobile3MetaSimpleStandardVerifyRequest::getUserName() const { + return userName_; +} + +void Mobile3MetaSimpleStandardVerifyRequest::setUserName(const std::string &userName) { + userName_ = userName; + setBodyParameter(std::string("UserName"), userName); +} + diff --git a/cloudauth/src/model/Mobile3MetaSimpleStandardVerifyResult.cc b/cloudauth/src/model/Mobile3MetaSimpleStandardVerifyResult.cc new file mode 100644 index 000000000..4a526f3e6 --- /dev/null +++ b/cloudauth/src/model/Mobile3MetaSimpleStandardVerifyResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +Mobile3MetaSimpleStandardVerifyResult::Mobile3MetaSimpleStandardVerifyResult() : + ServiceResult() +{} + +Mobile3MetaSimpleStandardVerifyResult::Mobile3MetaSimpleStandardVerifyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +Mobile3MetaSimpleStandardVerifyResult::~Mobile3MetaSimpleStandardVerifyResult() +{} + +void Mobile3MetaSimpleStandardVerifyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["BizCode"].isNull()) + resultObject_.bizCode = resultObjectNode["BizCode"].asString(); + if(!resultObjectNode["IspName"].isNull()) + resultObject_.ispName = resultObjectNode["IspName"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +Mobile3MetaSimpleStandardVerifyResult::ResultObject Mobile3MetaSimpleStandardVerifyResult::getResultObject()const +{ + return resultObject_; +} + +std::string Mobile3MetaSimpleStandardVerifyResult::getMessage()const +{ + return message_; +} + +std::string Mobile3MetaSimpleStandardVerifyResult::getCode()const +{ + return code_; +} + diff --git a/cloudauth/src/model/Mobile3MetaSimpleVerifyRequest.cc b/cloudauth/src/model/Mobile3MetaSimpleVerifyRequest.cc index 5517f82a9..ec8230896 100644 --- a/cloudauth/src/model/Mobile3MetaSimpleVerifyRequest.cc +++ b/cloudauth/src/model/Mobile3MetaSimpleVerifyRequest.cc @@ -31,7 +31,7 @@ std::string Mobile3MetaSimpleVerifyRequest::getParamType() const { void Mobile3MetaSimpleVerifyRequest::setParamType(const std::string ¶mType) { paramType_ = paramType; - setParameter(std::string("ParamType"), paramType); + setBodyParameter(std::string("ParamType"), paramType); } std::string Mobile3MetaSimpleVerifyRequest::getMobile() const { @@ -40,7 +40,7 @@ std::string Mobile3MetaSimpleVerifyRequest::getMobile() const { void Mobile3MetaSimpleVerifyRequest::setMobile(const std::string &mobile) { mobile_ = mobile; - setParameter(std::string("Mobile"), mobile); + setBodyParameter(std::string("Mobile"), mobile); } std::string Mobile3MetaSimpleVerifyRequest::getIdentifyNum() const { @@ -49,7 +49,7 @@ std::string Mobile3MetaSimpleVerifyRequest::getIdentifyNum() const { void Mobile3MetaSimpleVerifyRequest::setIdentifyNum(const std::string &identifyNum) { identifyNum_ = identifyNum; - setParameter(std::string("IdentifyNum"), identifyNum); + setBodyParameter(std::string("IdentifyNum"), identifyNum); } std::string Mobile3MetaSimpleVerifyRequest::getUserName() const { @@ -58,6 +58,6 @@ std::string Mobile3MetaSimpleVerifyRequest::getUserName() const { void Mobile3MetaSimpleVerifyRequest::setUserName(const std::string &userName) { userName_ = userName; - setParameter(std::string("UserName"), userName); + setBodyParameter(std::string("UserName"), userName); } diff --git a/cloudauth/src/model/MobileDetectRequest.cc b/cloudauth/src/model/MobileDetectRequest.cc new file mode 100644 index 000000000..1ddd745b5 --- /dev/null +++ b/cloudauth/src/model/MobileDetectRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::Cloudauth::Model::MobileDetectRequest; + +MobileDetectRequest::MobileDetectRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "MobileDetect") { + setMethod(HttpRequest::Method::Post); +} + +MobileDetectRequest::~MobileDetectRequest() {} + +std::string MobileDetectRequest::getParamType() const { + return paramType_; +} + +void MobileDetectRequest::setParamType(const std::string ¶mType) { + paramType_ = paramType; + setBodyParameter(std::string("ParamType"), paramType); +} + +std::string MobileDetectRequest::getMobiles() const { + return mobiles_; +} + +void MobileDetectRequest::setMobiles(const std::string &mobiles) { + mobiles_ = mobiles; + setBodyParameter(std::string("Mobiles"), mobiles); +} + diff --git a/cloudauth/src/model/MobileDetectResult.cc b/cloudauth/src/model/MobileDetectResult.cc new file mode 100644 index 000000000..a4226e1ff --- /dev/null +++ b/cloudauth/src/model/MobileDetectResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +MobileDetectResult::MobileDetectResult() : + ServiceResult() +{} + +MobileDetectResult::MobileDetectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +MobileDetectResult::~MobileDetectResult() +{} + +void MobileDetectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["ChargeCount"].isNull()) + resultObject_.chargeCount = resultObjectNode["ChargeCount"].asString(); + auto allItemsNode = resultObjectNode["Items"]["ItemsItem"]; + for (auto resultObjectNodeItemsItemsItem : allItemsNode) + { + ResultObject::ItemsItem itemsItemObject; + if(!resultObjectNodeItemsItemsItem["Mobile"].isNull()) + itemsItemObject.mobile = resultObjectNodeItemsItemsItem["Mobile"].asString(); + if(!resultObjectNodeItemsItemsItem["BizCode"].isNull()) + itemsItemObject.bizCode = resultObjectNodeItemsItemsItem["BizCode"].asString(); + if(!resultObjectNodeItemsItemsItem["SubCode"].isNull()) + itemsItemObject.subCode = resultObjectNodeItemsItemsItem["SubCode"].asString(); + if(!resultObjectNodeItemsItemsItem["IspName"].isNull()) + itemsItemObject.ispName = resultObjectNodeItemsItemsItem["IspName"].asString(); + if(!resultObjectNodeItemsItemsItem["Area"].isNull()) + itemsItemObject.area = resultObjectNodeItemsItemsItem["Area"].asString(); + resultObject_.items.push_back(itemsItemObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +MobileDetectResult::ResultObject MobileDetectResult::getResultObject()const +{ + return resultObject_; +} + +std::string MobileDetectResult::getMessage()const +{ + return message_; +} + +std::string MobileDetectResult::getCode()const +{ + return code_; +} + diff --git a/cloudauth/src/model/MobileOnlineStatusRequest.cc b/cloudauth/src/model/MobileOnlineStatusRequest.cc new file mode 100644 index 000000000..4771b71af --- /dev/null +++ b/cloudauth/src/model/MobileOnlineStatusRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::Cloudauth::Model::MobileOnlineStatusRequest; + +MobileOnlineStatusRequest::MobileOnlineStatusRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "MobileOnlineStatus") { + setMethod(HttpRequest::Method::Post); +} + +MobileOnlineStatusRequest::~MobileOnlineStatusRequest() {} + +std::string MobileOnlineStatusRequest::getParamType() const { + return paramType_; +} + +void MobileOnlineStatusRequest::setParamType(const std::string ¶mType) { + paramType_ = paramType; + setBodyParameter(std::string("ParamType"), paramType); +} + +std::string MobileOnlineStatusRequest::getMobile() const { + return mobile_; +} + +void MobileOnlineStatusRequest::setMobile(const std::string &mobile) { + mobile_ = mobile; + setBodyParameter(std::string("Mobile"), mobile); +} + diff --git a/cloudauth/src/model/MobileOnlineStatusResult.cc b/cloudauth/src/model/MobileOnlineStatusResult.cc new file mode 100644 index 000000000..4c36d1030 --- /dev/null +++ b/cloudauth/src/model/MobileOnlineStatusResult.cc @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +MobileOnlineStatusResult::MobileOnlineStatusResult() : + ServiceResult() +{} + +MobileOnlineStatusResult::MobileOnlineStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +MobileOnlineStatusResult::~MobileOnlineStatusResult() +{} + +void MobileOnlineStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["BizCode"].isNull()) + resultObject_.bizCode = resultObjectNode["BizCode"].asString(); + if(!resultObjectNode["IspName"].isNull()) + resultObject_.ispName = resultObjectNode["IspName"].asString(); + if(!resultObjectNode["SubCode"].isNull()) + resultObject_.subCode = resultObjectNode["SubCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +MobileOnlineStatusResult::ResultObject MobileOnlineStatusResult::getResultObject()const +{ + return resultObject_; +} + +std::string MobileOnlineStatusResult::getMessage()const +{ + return message_; +} + +std::string MobileOnlineStatusResult::getCode()const +{ + return code_; +} + diff --git a/cloudauth/src/model/MobileOnlineTimeRequest.cc b/cloudauth/src/model/MobileOnlineTimeRequest.cc new file mode 100644 index 000000000..5170e7001 --- /dev/null +++ b/cloudauth/src/model/MobileOnlineTimeRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::Cloudauth::Model::MobileOnlineTimeRequest; + +MobileOnlineTimeRequest::MobileOnlineTimeRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "MobileOnlineTime") { + setMethod(HttpRequest::Method::Post); +} + +MobileOnlineTimeRequest::~MobileOnlineTimeRequest() {} + +std::string MobileOnlineTimeRequest::getParamType() const { + return paramType_; +} + +void MobileOnlineTimeRequest::setParamType(const std::string ¶mType) { + paramType_ = paramType; + setBodyParameter(std::string("ParamType"), paramType); +} + +std::string MobileOnlineTimeRequest::getMobile() const { + return mobile_; +} + +void MobileOnlineTimeRequest::setMobile(const std::string &mobile) { + mobile_ = mobile; + setBodyParameter(std::string("Mobile"), mobile); +} + diff --git a/cloudauth/src/model/MobileOnlineTimeResult.cc b/cloudauth/src/model/MobileOnlineTimeResult.cc new file mode 100644 index 000000000..dcd76f72b --- /dev/null +++ b/cloudauth/src/model/MobileOnlineTimeResult.cc @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +MobileOnlineTimeResult::MobileOnlineTimeResult() : + ServiceResult() +{} + +MobileOnlineTimeResult::MobileOnlineTimeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +MobileOnlineTimeResult::~MobileOnlineTimeResult() +{} + +void MobileOnlineTimeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["BizCode"].isNull()) + resultObject_.bizCode = resultObjectNode["BizCode"].asString(); + if(!resultObjectNode["IspName"].isNull()) + resultObject_.ispName = resultObjectNode["IspName"].asString(); + if(!resultObjectNode["TimeCode"].isNull()) + resultObject_.timeCode = resultObjectNode["TimeCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +MobileOnlineTimeResult::ResultObject MobileOnlineTimeResult::getResultObject()const +{ + return resultObject_; +} + +std::string MobileOnlineTimeResult::getMessage()const +{ + return message_; +} + +std::string MobileOnlineTimeResult::getCode()const +{ + return code_; +} + diff --git a/cloudauth/src/model/PageQueryWhiteListSettingRequest.cc b/cloudauth/src/model/PageQueryWhiteListSettingRequest.cc new file mode 100644 index 000000000..1ffb9a13a --- /dev/null +++ b/cloudauth/src/model/PageQueryWhiteListSettingRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudauth::Model::PageQueryWhiteListSettingRequest; + +PageQueryWhiteListSettingRequest::PageQueryWhiteListSettingRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "PageQueryWhiteListSetting") { + setMethod(HttpRequest::Method::Post); +} + +PageQueryWhiteListSettingRequest::~PageQueryWhiteListSettingRequest() {} + +std::string PageQueryWhiteListSettingRequest::getValidEndDate() const { + return validEndDate_; +} + +void PageQueryWhiteListSettingRequest::setValidEndDate(const std::string &validEndDate) { + validEndDate_ = validEndDate; + setParameter(std::string("ValidEndDate"), validEndDate); +} + +std::string PageQueryWhiteListSettingRequest::getCertifyId() const { + return certifyId_; +} + +void PageQueryWhiteListSettingRequest::setCertifyId(const std::string &certifyId) { + certifyId_ = certifyId; + setParameter(std::string("CertifyId"), certifyId); +} + +std::string PageQueryWhiteListSettingRequest::getCertNo() const { + return certNo_; +} + +void PageQueryWhiteListSettingRequest::setCertNo(const std::string &certNo) { + certNo_ = certNo; + setParameter(std::string("CertNo"), certNo); +} + +int PageQueryWhiteListSettingRequest::getPageSize() const { + return pageSize_; +} + +void PageQueryWhiteListSettingRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +int PageQueryWhiteListSettingRequest::getCurrentPage() const { + return currentPage_; +} + +void PageQueryWhiteListSettingRequest::setCurrentPage(int currentPage) { + currentPage_ = currentPage; + setParameter(std::string("CurrentPage"), std::to_string(currentPage)); +} + +std::string PageQueryWhiteListSettingRequest::getServiceCode() const { + return serviceCode_; +} + +void PageQueryWhiteListSettingRequest::setServiceCode(const std::string &serviceCode) { + serviceCode_ = serviceCode; + setParameter(std::string("ServiceCode"), serviceCode); +} + +long PageQueryWhiteListSettingRequest::getSceneId() const { + return sceneId_; +} + +void PageQueryWhiteListSettingRequest::setSceneId(long sceneId) { + sceneId_ = sceneId; + setParameter(std::string("SceneId"), std::to_string(sceneId)); +} + +std::string PageQueryWhiteListSettingRequest::getValidStartDate() const { + return validStartDate_; +} + +void PageQueryWhiteListSettingRequest::setValidStartDate(const std::string &validStartDate) { + validStartDate_ = validStartDate; + setParameter(std::string("ValidStartDate"), validStartDate); +} + +std::string PageQueryWhiteListSettingRequest::getStatus() const { + return status_; +} + +void PageQueryWhiteListSettingRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); +} + diff --git a/cloudauth/src/model/PageQueryWhiteListSettingResult.cc b/cloudauth/src/model/PageQueryWhiteListSettingResult.cc new file mode 100644 index 000000000..708f4a8c7 --- /dev/null +++ b/cloudauth/src/model/PageQueryWhiteListSettingResult.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +PageQueryWhiteListSettingResult::PageQueryWhiteListSettingResult() : + ServiceResult() +{} + +PageQueryWhiteListSettingResult::PageQueryWhiteListSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +PageQueryWhiteListSettingResult::~PageQueryWhiteListSettingResult() +{} + +void PageQueryWhiteListSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultObjectNode = value["ResultObject"]["resultObjectItem"]; + for (auto valueResultObjectresultObjectItem : allResultObjectNode) + { + ResultObjectItem resultObjectObject; + if(!valueResultObjectresultObjectItem["Id"].isNull()) + resultObjectObject.id = std::stol(valueResultObjectresultObjectItem["Id"].asString()); + if(!valueResultObjectresultObjectItem["GmtCreate"].isNull()) + resultObjectObject.gmtCreate = valueResultObjectresultObjectItem["GmtCreate"].asString(); + if(!valueResultObjectresultObjectItem["GmtModified"].isNull()) + resultObjectObject.gmtModified = valueResultObjectresultObjectItem["GmtModified"].asString(); + if(!valueResultObjectresultObjectItem["ServiceCode"].isNull()) + resultObjectObject.serviceCode = valueResultObjectresultObjectItem["ServiceCode"].asString(); + if(!valueResultObjectresultObjectItem["CertifyId"].isNull()) + resultObjectObject.certifyId = valueResultObjectresultObjectItem["CertifyId"].asString(); + if(!valueResultObjectresultObjectItem["CertNo"].isNull()) + resultObjectObject.certNo = valueResultObjectresultObjectItem["CertNo"].asString(); + if(!valueResultObjectresultObjectItem["SceneId"].isNull()) + resultObjectObject.sceneId = std::stol(valueResultObjectresultObjectItem["SceneId"].asString()); + if(!valueResultObjectresultObjectItem["ValidStartDate"].isNull()) + resultObjectObject.validStartDate = valueResultObjectresultObjectItem["ValidStartDate"].asString(); + if(!valueResultObjectresultObjectItem["ValidEndDate"].isNull()) + resultObjectObject.validEndDate = valueResultObjectresultObjectItem["ValidEndDate"].asString(); + if(!valueResultObjectresultObjectItem["Status"].isNull()) + resultObjectObject.status = valueResultObjectresultObjectItem["Status"].asString(); + if(!valueResultObjectresultObjectItem["Remark"].isNull()) + resultObjectObject.remark = valueResultObjectresultObjectItem["Remark"].asString(); + resultObject_.push_back(resultObjectObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["TotalItem"].isNull()) + totalItem_ = std::stoi(value["TotalItem"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + +} + +std::vector PageQueryWhiteListSettingResult::getResultObject()const +{ + return resultObject_; +} + +int PageQueryWhiteListSettingResult::getTotalItem()const +{ + return totalItem_; +} + +std::string PageQueryWhiteListSettingResult::getMessage()const +{ + return message_; +} + +int PageQueryWhiteListSettingResult::getTotalPage()const +{ + return totalPage_; +} + +int PageQueryWhiteListSettingResult::getPageSize()const +{ + return pageSize_; +} + +int PageQueryWhiteListSettingResult::getCurrentPage()const +{ + return currentPage_; +} + +std::string PageQueryWhiteListSettingResult::getCode()const +{ + return code_; +} + +bool PageQueryWhiteListSettingResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudauth/src/model/RemoveWhiteListSettingRequest.cc b/cloudauth/src/model/RemoveWhiteListSettingRequest.cc new file mode 100644 index 000000000..7b21a63b2 --- /dev/null +++ b/cloudauth/src/model/RemoveWhiteListSettingRequest.cc @@ -0,0 +1,47 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::Cloudauth::Model::RemoveWhiteListSettingRequest; + +RemoveWhiteListSettingRequest::RemoveWhiteListSettingRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "RemoveWhiteListSetting") { + setMethod(HttpRequest::Method::Post); +} + +RemoveWhiteListSettingRequest::~RemoveWhiteListSettingRequest() {} + +std::string RemoveWhiteListSettingRequest::getServiceCode() const { + return serviceCode_; +} + +void RemoveWhiteListSettingRequest::setServiceCode(const std::string &serviceCode) { + serviceCode_ = serviceCode; + setParameter(std::string("ServiceCode"), serviceCode); +} + +std::vector RemoveWhiteListSettingRequest::getIds() const { + return ids_; +} + +void RemoveWhiteListSettingRequest::setIds(const std::vector &ids) { + ids_ = ids; + for(int dep1 = 0; dep1 != ids.size(); dep1++) { + setParameter(std::string("Ids") + "." + std::to_string(dep1 + 1), std::to_string(ids[dep1])); + } +} + diff --git a/cloudauth/src/model/RemoveWhiteListSettingResult.cc b/cloudauth/src/model/RemoveWhiteListSettingResult.cc new file mode 100644 index 000000000..825cfb0e2 --- /dev/null +++ b/cloudauth/src/model/RemoveWhiteListSettingResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +RemoveWhiteListSettingResult::RemoveWhiteListSettingResult() : + ServiceResult() +{} + +RemoveWhiteListSettingResult::RemoveWhiteListSettingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveWhiteListSettingResult::~RemoveWhiteListSettingResult() +{} + +void RemoveWhiteListSettingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ResultObject"].isNull()) + resultObject_ = value["ResultObject"].asString() == "true"; + +} + +bool RemoveWhiteListSettingResult::getResultObject()const +{ + return resultObject_; +} + +std::string RemoveWhiteListSettingResult::getMessage()const +{ + return message_; +} + +std::string RemoveWhiteListSettingResult::getCode()const +{ + return code_; +} + +bool RemoveWhiteListSettingResult::getSuccess()const +{ + return success_; +} + diff --git a/cloudauth/src/model/Vehicle5ItemQueryRequest.cc b/cloudauth/src/model/Vehicle5ItemQueryRequest.cc new file mode 100644 index 000000000..403f8160c --- /dev/null +++ b/cloudauth/src/model/Vehicle5ItemQueryRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cloudauth::Model::Vehicle5ItemQueryRequest; + +Vehicle5ItemQueryRequest::Vehicle5ItemQueryRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "Vehicle5ItemQuery") { + setMethod(HttpRequest::Method::Post); +} + +Vehicle5ItemQueryRequest::~Vehicle5ItemQueryRequest() {} + +std::string Vehicle5ItemQueryRequest::getVehicleType() const { + return vehicleType_; +} + +void Vehicle5ItemQueryRequest::setVehicleType(const std::string &vehicleType) { + vehicleType_ = vehicleType; + setParameter(std::string("VehicleType"), vehicleType); +} + +std::string Vehicle5ItemQueryRequest::getParamType() const { + return paramType_; +} + +void Vehicle5ItemQueryRequest::setParamType(const std::string ¶mType) { + paramType_ = paramType; + setParameter(std::string("ParamType"), paramType); +} + +std::string Vehicle5ItemQueryRequest::getVehicleNum() const { + return vehicleNum_; +} + +void Vehicle5ItemQueryRequest::setVehicleNum(const std::string &vehicleNum) { + vehicleNum_ = vehicleNum; + setParameter(std::string("VehicleNum"), vehicleNum); +} + diff --git a/cloudauth/src/model/Vehicle5ItemQueryResult.cc b/cloudauth/src/model/Vehicle5ItemQueryResult.cc new file mode 100644 index 000000000..1cb761960 --- /dev/null +++ b/cloudauth/src/model/Vehicle5ItemQueryResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +Vehicle5ItemQueryResult::Vehicle5ItemQueryResult() : + ServiceResult() +{} + +Vehicle5ItemQueryResult::Vehicle5ItemQueryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +Vehicle5ItemQueryResult::~Vehicle5ItemQueryResult() +{} + +void Vehicle5ItemQueryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["BizCode"].isNull()) + resultObject_.bizCode = resultObjectNode["BizCode"].asString(); + if(!resultObjectNode["VehicleInfo"].isNull()) + resultObject_.vehicleInfo = resultObjectNode["VehicleInfo"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + +} + +Vehicle5ItemQueryResult::ResultObject Vehicle5ItemQueryResult::getResultObject()const +{ + return resultObject_; +} + +std::string Vehicle5ItemQueryResult::getMessage()const +{ + return message_; +} + +std::string Vehicle5ItemQueryResult::getCode()const +{ + return code_; +} + diff --git a/cloudauth/src/model/VehicleInsureQueryRequest.cc b/cloudauth/src/model/VehicleInsureQueryRequest.cc new file mode 100644 index 000000000..a3e13b857 --- /dev/null +++ b/cloudauth/src/model/VehicleInsureQueryRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cloudauth::Model::VehicleInsureQueryRequest; + +VehicleInsureQueryRequest::VehicleInsureQueryRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "VehicleInsureQuery") { + setMethod(HttpRequest::Method::Post); +} + +VehicleInsureQueryRequest::~VehicleInsureQueryRequest() {} + +std::string VehicleInsureQueryRequest::getVehicleType() const { + return vehicleType_; +} + +void VehicleInsureQueryRequest::setVehicleType(const std::string &vehicleType) { + vehicleType_ = vehicleType; + setParameter(std::string("VehicleType"), vehicleType); +} + +std::string VehicleInsureQueryRequest::getParamType() const { + return paramType_; +} + +void VehicleInsureQueryRequest::setParamType(const std::string ¶mType) { + paramType_ = paramType; + setParameter(std::string("ParamType"), paramType); +} + +std::string VehicleInsureQueryRequest::getVehicleNum() const { + return vehicleNum_; +} + +void VehicleInsureQueryRequest::setVehicleNum(const std::string &vehicleNum) { + vehicleNum_ = vehicleNum; + setParameter(std::string("VehicleNum"), vehicleNum); +} + +std::string VehicleInsureQueryRequest::getVin() const { + return vin_; +} + +void VehicleInsureQueryRequest::setVin(const std::string &vin) { + vin_ = vin; + setParameter(std::string("Vin"), vin); +} + diff --git a/cloudauth/src/model/VehicleInsureQueryResult.cc b/cloudauth/src/model/VehicleInsureQueryResult.cc new file mode 100644 index 000000000..15a38002f --- /dev/null +++ b/cloudauth/src/model/VehicleInsureQueryResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +VehicleInsureQueryResult::VehicleInsureQueryResult() : + ServiceResult() +{} + +VehicleInsureQueryResult::VehicleInsureQueryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +VehicleInsureQueryResult::~VehicleInsureQueryResult() +{} + +void VehicleInsureQueryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["BizCode"].isNull()) + resultObject_.bizCode = resultObjectNode["BizCode"].asString(); + if(!resultObjectNode["VehicleInfo"].isNull()) + resultObject_.vehicleInfo = resultObjectNode["VehicleInfo"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + +} + +VehicleInsureQueryResult::ResultObject VehicleInsureQueryResult::getResultObject()const +{ + return resultObject_; +} + +std::string VehicleInsureQueryResult::getMessage()const +{ + return message_; +} + +std::string VehicleInsureQueryResult::getCode()const +{ + return code_; +} + diff --git a/cloudauth/src/model/VehicleMetaVerifyRequest.cc b/cloudauth/src/model/VehicleMetaVerifyRequest.cc new file mode 100644 index 000000000..bf07f2238 --- /dev/null +++ b/cloudauth/src/model/VehicleMetaVerifyRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cloudauth::Model::VehicleMetaVerifyRequest; + +VehicleMetaVerifyRequest::VehicleMetaVerifyRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "VehicleMetaVerify") { + setMethod(HttpRequest::Method::Post); +} + +VehicleMetaVerifyRequest::~VehicleMetaVerifyRequest() {} + +std::string VehicleMetaVerifyRequest::getVehicleType() const { + return vehicleType_; +} + +void VehicleMetaVerifyRequest::setVehicleType(const std::string &vehicleType) { + vehicleType_ = vehicleType; + setParameter(std::string("VehicleType"), vehicleType); +} + +std::string VehicleMetaVerifyRequest::getParamType() const { + return paramType_; +} + +void VehicleMetaVerifyRequest::setParamType(const std::string ¶mType) { + paramType_ = paramType; + setParameter(std::string("ParamType"), paramType); +} + +std::string VehicleMetaVerifyRequest::getVehicleNum() const { + return vehicleNum_; +} + +void VehicleMetaVerifyRequest::setVehicleNum(const std::string &vehicleNum) { + vehicleNum_ = vehicleNum; + setParameter(std::string("VehicleNum"), vehicleNum); +} + +std::string VehicleMetaVerifyRequest::getIdentifyNum() const { + return identifyNum_; +} + +void VehicleMetaVerifyRequest::setIdentifyNum(const std::string &identifyNum) { + identifyNum_ = identifyNum; + setParameter(std::string("IdentifyNum"), identifyNum); +} + +std::string VehicleMetaVerifyRequest::getVerifyMetaType() const { + return verifyMetaType_; +} + +void VehicleMetaVerifyRequest::setVerifyMetaType(const std::string &verifyMetaType) { + verifyMetaType_ = verifyMetaType; + setParameter(std::string("VerifyMetaType"), verifyMetaType); +} + +std::string VehicleMetaVerifyRequest::getUserName() const { + return userName_; +} + +void VehicleMetaVerifyRequest::setUserName(const std::string &userName) { + userName_ = userName; + setParameter(std::string("UserName"), userName); +} + diff --git a/cloudauth/src/model/VehicleMetaVerifyResult.cc b/cloudauth/src/model/VehicleMetaVerifyResult.cc new file mode 100644 index 000000000..081134aaf --- /dev/null +++ b/cloudauth/src/model/VehicleMetaVerifyResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +VehicleMetaVerifyResult::VehicleMetaVerifyResult() : + ServiceResult() +{} + +VehicleMetaVerifyResult::VehicleMetaVerifyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +VehicleMetaVerifyResult::~VehicleMetaVerifyResult() +{} + +void VehicleMetaVerifyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["BizCode"].isNull()) + resultObject_.bizCode = resultObjectNode["BizCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +VehicleMetaVerifyResult::ResultObject VehicleMetaVerifyResult::getResultObject()const +{ + return resultObject_; +} + +std::string VehicleMetaVerifyResult::getMessage()const +{ + return message_; +} + +std::string VehicleMetaVerifyResult::getCode()const +{ + return code_; +} + diff --git a/cloudauth/src/model/VehicleMetaVerifyV2Request.cc b/cloudauth/src/model/VehicleMetaVerifyV2Request.cc new file mode 100644 index 000000000..34181d952 --- /dev/null +++ b/cloudauth/src/model/VehicleMetaVerifyV2Request.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cloudauth::Model::VehicleMetaVerifyV2Request; + +VehicleMetaVerifyV2Request::VehicleMetaVerifyV2Request() + : RpcServiceRequest("cloudauth", "2019-03-07", "VehicleMetaVerifyV2") { + setMethod(HttpRequest::Method::Post); +} + +VehicleMetaVerifyV2Request::~VehicleMetaVerifyV2Request() {} + +std::string VehicleMetaVerifyV2Request::getVehicleType() const { + return vehicleType_; +} + +void VehicleMetaVerifyV2Request::setVehicleType(const std::string &vehicleType) { + vehicleType_ = vehicleType; + setParameter(std::string("VehicleType"), vehicleType); +} + +std::string VehicleMetaVerifyV2Request::getParamType() const { + return paramType_; +} + +void VehicleMetaVerifyV2Request::setParamType(const std::string ¶mType) { + paramType_ = paramType; + setParameter(std::string("ParamType"), paramType); +} + +std::string VehicleMetaVerifyV2Request::getVehicleNum() const { + return vehicleNum_; +} + +void VehicleMetaVerifyV2Request::setVehicleNum(const std::string &vehicleNum) { + vehicleNum_ = vehicleNum; + setParameter(std::string("VehicleNum"), vehicleNum); +} + +std::string VehicleMetaVerifyV2Request::getIdentifyNum() const { + return identifyNum_; +} + +void VehicleMetaVerifyV2Request::setIdentifyNum(const std::string &identifyNum) { + identifyNum_ = identifyNum; + setParameter(std::string("IdentifyNum"), identifyNum); +} + +std::string VehicleMetaVerifyV2Request::getVerifyMetaType() const { + return verifyMetaType_; +} + +void VehicleMetaVerifyV2Request::setVerifyMetaType(const std::string &verifyMetaType) { + verifyMetaType_ = verifyMetaType; + setParameter(std::string("VerifyMetaType"), verifyMetaType); +} + +std::string VehicleMetaVerifyV2Request::getUserName() const { + return userName_; +} + +void VehicleMetaVerifyV2Request::setUserName(const std::string &userName) { + userName_ = userName; + setParameter(std::string("UserName"), userName); +} + diff --git a/cloudauth/src/model/VehicleMetaVerifyV2Result.cc b/cloudauth/src/model/VehicleMetaVerifyV2Result.cc new file mode 100644 index 000000000..bb7ed32c0 --- /dev/null +++ b/cloudauth/src/model/VehicleMetaVerifyV2Result.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +VehicleMetaVerifyV2Result::VehicleMetaVerifyV2Result() : + ServiceResult() +{} + +VehicleMetaVerifyV2Result::VehicleMetaVerifyV2Result(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +VehicleMetaVerifyV2Result::~VehicleMetaVerifyV2Result() +{} + +void VehicleMetaVerifyV2Result::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["BizCode"].isNull()) + resultObject_.bizCode = resultObjectNode["BizCode"].asString(); + if(!resultObjectNode["VehicleInfo"].isNull()) + resultObject_.vehicleInfo = resultObjectNode["VehicleInfo"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +VehicleMetaVerifyV2Result::ResultObject VehicleMetaVerifyV2Result::getResultObject()const +{ + return resultObject_; +} + +std::string VehicleMetaVerifyV2Result::getMessage()const +{ + return message_; +} + +std::string VehicleMetaVerifyV2Result::getCode()const +{ + return code_; +} + diff --git a/cloudauth/src/model/VehicleQueryRequest.cc b/cloudauth/src/model/VehicleQueryRequest.cc new file mode 100644 index 000000000..db02571b0 --- /dev/null +++ b/cloudauth/src/model/VehicleQueryRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cloudauth::Model::VehicleQueryRequest; + +VehicleQueryRequest::VehicleQueryRequest() + : RpcServiceRequest("cloudauth", "2019-03-07", "VehicleQuery") { + setMethod(HttpRequest::Method::Post); +} + +VehicleQueryRequest::~VehicleQueryRequest() {} + +std::string VehicleQueryRequest::getVehicleType() const { + return vehicleType_; +} + +void VehicleQueryRequest::setVehicleType(const std::string &vehicleType) { + vehicleType_ = vehicleType; + setParameter(std::string("VehicleType"), vehicleType); +} + +std::string VehicleQueryRequest::getParamType() const { + return paramType_; +} + +void VehicleQueryRequest::setParamType(const std::string ¶mType) { + paramType_ = paramType; + setParameter(std::string("ParamType"), paramType); +} + +std::string VehicleQueryRequest::getVehicleNum() const { + return vehicleNum_; +} + +void VehicleQueryRequest::setVehicleNum(const std::string &vehicleNum) { + vehicleNum_ = vehicleNum; + setParameter(std::string("VehicleNum"), vehicleNum); +} + diff --git a/cloudauth/src/model/VehicleQueryResult.cc b/cloudauth/src/model/VehicleQueryResult.cc new file mode 100644 index 000000000..324f57f4b --- /dev/null +++ b/cloudauth/src/model/VehicleQueryResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cloudauth; +using namespace AlibabaCloud::Cloudauth::Model; + +VehicleQueryResult::VehicleQueryResult() : + ServiceResult() +{} + +VehicleQueryResult::VehicleQueryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +VehicleQueryResult::~VehicleQueryResult() +{} + +void VehicleQueryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultObjectNode = value["ResultObject"]; + if(!resultObjectNode["BizCode"].isNull()) + resultObject_.bizCode = resultObjectNode["BizCode"].asString(); + if(!resultObjectNode["VehicleInfo"].isNull()) + resultObject_.vehicleInfo = resultObjectNode["VehicleInfo"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + +} + +VehicleQueryResult::ResultObject VehicleQueryResult::getResultObject()const +{ + return resultObject_; +} + +std::string VehicleQueryResult::getMessage()const +{ + return message_; +} + +std::string VehicleQueryResult::getCode()const +{ + return code_; +} +