From e7c17519db53edfb37169b3877177d16926ef33c Mon Sep 17 00:00:00 2001 From: "haowei.yao" Date: Mon, 18 Mar 2019 16:01:55 +0800 Subject: [PATCH] =?UTF-8?q?CAS=20SDK=20Auto=20Released=20By=20lihai.zhang,?= =?UTF-8?q?Version=EF=BC=9A1.34.42?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: haowei.yao --- CHANGELOG | 5 + CMakeLists.txt | 3 +- VERSION | 2 +- cas/CMakeLists.txt | 266 +++ cas/include/alibabacloud/cas/CasClient.h | 414 ++++ cas/include/alibabacloud/cas/CasExport.h | 32 + .../cas/model/CreateAliDnsRecordIdRequest.h | 57 + .../cas/model/CreateAliDnsRecordIdResult.h | 49 + .../cas/model/CreateCertificateNameRequest.h | 57 + .../cas/model/CreateCertificateNameResult.h | 49 + .../cas/model/CreateCertificateRequest.h | 60 + .../cas/model/CreateCertificateResult.h | 49 + .../cas/model/CreateCooperationOrderRequest.h | 60 + .../cas/model/CreateCooperationOrderResult.h | 51 + .../cas/model/CreateDeploymentRequest.h | 63 + .../cas/model/CreateDeploymentResult.h | 49 + ...teDomainVerifyConfigurationStatusRequest.h | 57 + ...ateDomainVerifyConfigurationStatusResult.h | 49 + .../CreateFilingSignatureDocumentRequest.h | 54 + .../CreateFilingSignatureDocumentResult.h | 49 + .../cas/model/CreateOrderAuditRequest.h | 57 + .../cas/model/CreateOrderAuditResult.h | 63 + .../cas/model/CreateOrderCancelRequest.h | 54 + .../cas/model/CreateOrderCancelResult.h | 49 + .../cas/model/CreateOrderDocumentRequest.h | 63 + .../cas/model/CreateOrderDocumentResult.h | 49 + .../cas/model/CreateOrderMaterialRequest.h | 123 ++ .../cas/model/CreateOrderMaterialResult.h | 49 + .../cas/model/CreateOrderRevokeRequest.h | 57 + .../cas/model/CreateOrderRevokeResult.h | 49 + .../model/CreateSignatureDocumentRequest.h | 57 + .../cas/model/CreateSignatureDocumentResult.h | 49 + .../CreateSignaturePeopleCertificateRequest.h | 63 + .../CreateSignaturePeopleCertificateResult.h | 49 + .../cas/model/CreateSignatureRequest.h | 96 + .../cas/model/CreateSignatureResult.h | 49 + .../cas/model/CreateUnDeploymentRequest.h | 54 + .../cas/model/CreateUnDeploymentResult.h | 49 + .../cas/model/CreateWebSignatureRequest.h | 96 + .../cas/model/CreateWebSignatureResult.h | 49 + .../cas/model/DeleteCertificateRequest.h | 54 + .../cas/model/DeleteCertificateResult.h | 49 + .../cas/model/DeleteOrderRequest.h | 54 + .../cas/model/DeleteOrderResult.h | 49 + .../DescribeCertificateBrandListRequest.h | 51 + .../DescribeCertificateBrandListResult.h | 56 + .../model/DescribeCertificateDetailRequest.h | 54 + .../model/DescribeCertificateDetailResult.h | 77 + .../model/DescribeCertificateListRequest.h | 63 + .../cas/model/DescribeCertificateListResult.h | 79 + .../DescribeCertificateStatusCountRequest.h | 51 + .../DescribeCertificateStatusCountResult.h | 65 + .../model/DescribeDeploymentDetailRequest.h | 54 + .../model/DescribeDeploymentDetailResult.h | 59 + .../DescribeDeploymentDomainListRequest.h | 57 + .../DescribeDeploymentDomainListResult.h | 51 + .../model/DescribeDeploymentProductRequest.h | 54 + .../model/DescribeDeploymentProductResult.h | 51 + .../DescribeDeploymentRegionListRequest.h | 57 + .../DescribeDeploymentRegionListResult.h | 51 + ...beDomainVerifyConfigurationStatusRequest.h | 54 + ...ibeDomainVerifyConfigurationStatusResult.h | 49 + .../model/DescribeDomainVerifyInfoRequest.h | 54 + .../model/DescribeDomainVerifyInfoResult.h | 63 + .../DescribeDownloadCertificateRequest.h | 57 + .../model/DescribeDownloadCertificateResult.h | 51 + ...DownloadDomainVerifyConfigurationRequest.h | 54 + ...eDownloadDomainVerifyConfigurationResult.h | 51 + .../model/DescribeExpectationResultRequest.h | 57 + .../model/DescribeExpectationResultResult.h | 67 + .../cas/model/DescribeHelpListRequest.h | 54 + .../cas/model/DescribeHelpListResult.h | 51 + .../cas/model/DescribeLocationListRequest.h | 51 + .../cas/model/DescribeLocationListResult.h | 51 + .../model/DescribeOSSDownloadInfoRequest.h | 54 + .../cas/model/DescribeOSSDownloadInfoResult.h | 51 + .../cas/model/DescribeOSSUploadInfoRequest.h | 57 + .../cas/model/DescribeOSSUploadInfoResult.h | 61 + .../DescribeOrderAuditFailRecordRequest.h | 54 + .../DescribeOrderAuditFailRecordResult.h | 55 + .../cas/model/DescribeOrderDetailRequest.h | 54 + .../cas/model/DescribeOrderDetailResult.h | 71 + .../cas/model/DescribeOrderDocumentRequest.h | 57 + .../cas/model/DescribeOrderDocumentResult.h | 60 + .../cas/model/DescribeOrderListRequest.h | 66 + .../cas/model/DescribeOrderListResult.h | 79 + .../cas/model/DescribeOrderMaterialRequest.h | 54 + .../cas/model/DescribeOrderMaterialResult.h | 97 + .../model/DescribeSignatureCapacityRequest.h | 51 + .../model/DescribeSignatureCapacityResult.h | 55 + .../DescribeSignatureStatisticsRequest.h | 51 + .../model/DescribeSignatureStatisticsResult.h | 64 + .../DescribeSignatureTradeDetailRequest.h | 54 + .../DescribeSignatureTradeDetailResult.h | 75 + .../model/DescribeSignatureTradeListRequest.h | 63 + .../model/DescribeSignatureTradeListResult.h | 69 + .../cas/model/DescribeStsAuthStatusRequest.h | 54 + .../cas/model/DescribeStsAuthStatusResult.h | 49 + cas/src/CasClient.cc | 1709 +++++++++++++++++ cas/src/model/CreateAliDnsRecordIdRequest.cc | 71 + cas/src/model/CreateAliDnsRecordIdResult.cc | 45 + cas/src/model/CreateCertificateNameRequest.cc | 71 + cas/src/model/CreateCertificateNameResult.cc | 45 + cas/src/model/CreateCertificateRequest.cc | 82 + cas/src/model/CreateCertificateResult.cc | 45 + .../model/CreateCooperationOrderRequest.cc | 82 + cas/src/model/CreateCooperationOrderResult.cc | 52 + cas/src/model/CreateDeploymentRequest.cc | 93 + cas/src/model/CreateDeploymentResult.cc | 45 + ...eDomainVerifyConfigurationStatusRequest.cc | 71 + ...teDomainVerifyConfigurationStatusResult.cc | 45 + .../CreateFilingSignatureDocumentRequest.cc | 60 + .../CreateFilingSignatureDocumentResult.cc | 45 + cas/src/model/CreateOrderAuditRequest.cc | 71 + cas/src/model/CreateOrderAuditResult.cc | 94 + cas/src/model/CreateOrderCancelRequest.cc | 60 + cas/src/model/CreateOrderCancelResult.cc | 45 + cas/src/model/CreateOrderDocumentRequest.cc | 93 + cas/src/model/CreateOrderDocumentResult.cc | 45 + cas/src/model/CreateOrderMaterialRequest.cc | 313 +++ cas/src/model/CreateOrderMaterialResult.cc | 45 + cas/src/model/CreateOrderRevokeRequest.cc | 71 + cas/src/model/CreateOrderRevokeResult.cc | 45 + .../model/CreateSignatureDocumentRequest.cc | 71 + .../model/CreateSignatureDocumentResult.cc | 45 + ...CreateSignaturePeopleCertificateRequest.cc | 93 + .../CreateSignaturePeopleCertificateResult.cc | 45 + cas/src/model/CreateSignatureRequest.cc | 214 +++ cas/src/model/CreateSignatureResult.cc | 45 + cas/src/model/CreateUnDeploymentRequest.cc | 60 + cas/src/model/CreateUnDeploymentResult.cc | 45 + cas/src/model/CreateWebSignatureRequest.cc | 214 +++ cas/src/model/CreateWebSignatureResult.cc | 45 + cas/src/model/DeleteCertificateRequest.cc | 60 + cas/src/model/DeleteCertificateResult.cc | 45 + cas/src/model/DeleteOrderRequest.cc | 60 + cas/src/model/DeleteOrderResult.cc | 45 + .../DescribeCertificateBrandListRequest.cc | 49 + .../DescribeCertificateBrandListResult.cc | 60 + .../model/DescribeCertificateDetailRequest.cc | 60 + .../model/DescribeCertificateDetailResult.cc | 143 ++ .../model/DescribeCertificateListRequest.cc | 93 + .../model/DescribeCertificateListResult.cc | 115 ++ .../DescribeCertificateStatusCountRequest.cc | 49 + .../DescribeCertificateStatusCountResult.cc | 101 + .../model/DescribeDeploymentDetailRequest.cc | 60 + .../model/DescribeDeploymentDetailResult.cc | 66 + .../DescribeDeploymentDomainListRequest.cc | 71 + .../DescribeDeploymentDomainListResult.cc | 53 + .../model/DescribeDeploymentProductRequest.cc | 60 + .../model/DescribeDeploymentProductResult.cc | 53 + .../DescribeDeploymentRegionListRequest.cc | 71 + .../DescribeDeploymentRegionListResult.cc | 53 + ...eDomainVerifyConfigurationStatusRequest.cc | 60 + ...beDomainVerifyConfigurationStatusResult.cc | 45 + .../model/DescribeDomainVerifyInfoRequest.cc | 60 + .../model/DescribeDomainVerifyInfoResult.cc | 94 + .../DescribeDownloadCertificateRequest.cc | 71 + .../DescribeDownloadCertificateResult.cc | 52 + ...ownloadDomainVerifyConfigurationRequest.cc | 60 + ...DownloadDomainVerifyConfigurationResult.cc | 52 + .../model/DescribeExpectationResultRequest.cc | 71 + .../model/DescribeExpectationResultResult.cc | 108 ++ cas/src/model/DescribeHelpListRequest.cc | 60 + cas/src/model/DescribeHelpListResult.cc | 52 + cas/src/model/DescribeLocationListRequest.cc | 49 + cas/src/model/DescribeLocationListResult.cc | 52 + .../model/DescribeOSSDownloadInfoRequest.cc | 60 + .../model/DescribeOSSDownloadInfoResult.cc | 52 + cas/src/model/DescribeOSSUploadInfoRequest.cc | 71 + cas/src/model/DescribeOSSUploadInfoResult.cc | 87 + .../DescribeOrderAuditFailRecordRequest.cc | 60 + .../DescribeOrderAuditFailRecordResult.cc | 66 + cas/src/model/DescribeOrderDetailRequest.cc | 60 + cas/src/model/DescribeOrderDetailResult.cc | 122 ++ cas/src/model/DescribeOrderDocumentRequest.cc | 71 + cas/src/model/DescribeOrderDocumentResult.cc | 68 + cas/src/model/DescribeOrderListRequest.cc | 104 + cas/src/model/DescribeOrderListResult.cc | 115 ++ cas/src/model/DescribeOrderMaterialRequest.cc | 60 + cas/src/model/DescribeOrderMaterialResult.cc | 213 ++ .../model/DescribeSignatureCapacityRequest.cc | 49 + .../model/DescribeSignatureCapacityResult.cc | 66 + .../DescribeSignatureStatisticsRequest.cc | 49 + .../DescribeSignatureStatisticsResult.cc | 85 + .../DescribeSignatureTradeDetailRequest.cc | 60 + .../DescribeSignatureTradeDetailResult.cc | 136 ++ .../DescribeSignatureTradeListRequest.cc | 93 + .../model/DescribeSignatureTradeListResult.cc | 95 + cas/src/model/DescribeStsAuthStatusRequest.cc | 60 + cas/src/model/DescribeStsAuthStatusResult.cc | 45 + 191 files changed, 14572 insertions(+), 2 deletions(-) create mode 100644 cas/CMakeLists.txt create mode 100644 cas/include/alibabacloud/cas/CasClient.h create mode 100644 cas/include/alibabacloud/cas/CasExport.h create mode 100644 cas/include/alibabacloud/cas/model/CreateAliDnsRecordIdRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateAliDnsRecordIdResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateCertificateNameRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateCertificateNameResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateCertificateRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateCertificateResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateCooperationOrderRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateCooperationOrderResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateDeploymentRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateDeploymentResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateFilingSignatureDocumentRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateFilingSignatureDocumentResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateOrderAuditRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateOrderAuditResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateOrderCancelRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateOrderCancelResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateOrderDocumentRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateOrderDocumentResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateOrderMaterialRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateOrderMaterialResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateOrderRevokeRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateOrderRevokeResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateSignatureDocumentRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateSignatureDocumentResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateSignaturePeopleCertificateRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateSignaturePeopleCertificateResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateSignatureRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateSignatureResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateUnDeploymentRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateUnDeploymentResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateWebSignatureRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateWebSignatureResult.h create mode 100644 cas/include/alibabacloud/cas/model/DeleteCertificateRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DeleteCertificateResult.h create mode 100644 cas/include/alibabacloud/cas/model/DeleteOrderRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DeleteOrderResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeCertificateBrandListRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeCertificateBrandListResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeCertificateDetailRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeCertificateDetailResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeCertificateListRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeCertificateListResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeCertificateStatusCountRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeCertificateStatusCountResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeDeploymentDetailRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeDeploymentDetailResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeDeploymentDomainListRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeDeploymentDomainListResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeDeploymentProductRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeDeploymentProductResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeDeploymentRegionListRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeDeploymentRegionListResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeDomainVerifyInfoRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeDomainVerifyInfoResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeDownloadCertificateRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeDownloadCertificateResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeExpectationResultRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeExpectationResultResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeHelpListRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeHelpListResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeLocationListRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeLocationListResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeOSSDownloadInfoRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeOSSDownloadInfoResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeOSSUploadInfoRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeOSSUploadInfoResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderAuditFailRecordRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderAuditFailRecordResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderDetailRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderDetailResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderDocumentRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderDocumentResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderListRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderListResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderMaterialRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderMaterialResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureCapacityRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureCapacityResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureStatisticsRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureStatisticsResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureTradeDetailRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureTradeDetailResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureTradeListRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureTradeListResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeStsAuthStatusRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeStsAuthStatusResult.h create mode 100644 cas/src/CasClient.cc create mode 100644 cas/src/model/CreateAliDnsRecordIdRequest.cc create mode 100644 cas/src/model/CreateAliDnsRecordIdResult.cc create mode 100644 cas/src/model/CreateCertificateNameRequest.cc create mode 100644 cas/src/model/CreateCertificateNameResult.cc create mode 100644 cas/src/model/CreateCertificateRequest.cc create mode 100644 cas/src/model/CreateCertificateResult.cc create mode 100644 cas/src/model/CreateCooperationOrderRequest.cc create mode 100644 cas/src/model/CreateCooperationOrderResult.cc create mode 100644 cas/src/model/CreateDeploymentRequest.cc create mode 100644 cas/src/model/CreateDeploymentResult.cc create mode 100644 cas/src/model/CreateDomainVerifyConfigurationStatusRequest.cc create mode 100644 cas/src/model/CreateDomainVerifyConfigurationStatusResult.cc create mode 100644 cas/src/model/CreateFilingSignatureDocumentRequest.cc create mode 100644 cas/src/model/CreateFilingSignatureDocumentResult.cc create mode 100644 cas/src/model/CreateOrderAuditRequest.cc create mode 100644 cas/src/model/CreateOrderAuditResult.cc create mode 100644 cas/src/model/CreateOrderCancelRequest.cc create mode 100644 cas/src/model/CreateOrderCancelResult.cc create mode 100644 cas/src/model/CreateOrderDocumentRequest.cc create mode 100644 cas/src/model/CreateOrderDocumentResult.cc create mode 100644 cas/src/model/CreateOrderMaterialRequest.cc create mode 100644 cas/src/model/CreateOrderMaterialResult.cc create mode 100644 cas/src/model/CreateOrderRevokeRequest.cc create mode 100644 cas/src/model/CreateOrderRevokeResult.cc create mode 100644 cas/src/model/CreateSignatureDocumentRequest.cc create mode 100644 cas/src/model/CreateSignatureDocumentResult.cc create mode 100644 cas/src/model/CreateSignaturePeopleCertificateRequest.cc create mode 100644 cas/src/model/CreateSignaturePeopleCertificateResult.cc create mode 100644 cas/src/model/CreateSignatureRequest.cc create mode 100644 cas/src/model/CreateSignatureResult.cc create mode 100644 cas/src/model/CreateUnDeploymentRequest.cc create mode 100644 cas/src/model/CreateUnDeploymentResult.cc create mode 100644 cas/src/model/CreateWebSignatureRequest.cc create mode 100644 cas/src/model/CreateWebSignatureResult.cc create mode 100644 cas/src/model/DeleteCertificateRequest.cc create mode 100644 cas/src/model/DeleteCertificateResult.cc create mode 100644 cas/src/model/DeleteOrderRequest.cc create mode 100644 cas/src/model/DeleteOrderResult.cc create mode 100644 cas/src/model/DescribeCertificateBrandListRequest.cc create mode 100644 cas/src/model/DescribeCertificateBrandListResult.cc create mode 100644 cas/src/model/DescribeCertificateDetailRequest.cc create mode 100644 cas/src/model/DescribeCertificateDetailResult.cc create mode 100644 cas/src/model/DescribeCertificateListRequest.cc create mode 100644 cas/src/model/DescribeCertificateListResult.cc create mode 100644 cas/src/model/DescribeCertificateStatusCountRequest.cc create mode 100644 cas/src/model/DescribeCertificateStatusCountResult.cc create mode 100644 cas/src/model/DescribeDeploymentDetailRequest.cc create mode 100644 cas/src/model/DescribeDeploymentDetailResult.cc create mode 100644 cas/src/model/DescribeDeploymentDomainListRequest.cc create mode 100644 cas/src/model/DescribeDeploymentDomainListResult.cc create mode 100644 cas/src/model/DescribeDeploymentProductRequest.cc create mode 100644 cas/src/model/DescribeDeploymentProductResult.cc create mode 100644 cas/src/model/DescribeDeploymentRegionListRequest.cc create mode 100644 cas/src/model/DescribeDeploymentRegionListResult.cc create mode 100644 cas/src/model/DescribeDomainVerifyConfigurationStatusRequest.cc create mode 100644 cas/src/model/DescribeDomainVerifyConfigurationStatusResult.cc create mode 100644 cas/src/model/DescribeDomainVerifyInfoRequest.cc create mode 100644 cas/src/model/DescribeDomainVerifyInfoResult.cc create mode 100644 cas/src/model/DescribeDownloadCertificateRequest.cc create mode 100644 cas/src/model/DescribeDownloadCertificateResult.cc create mode 100644 cas/src/model/DescribeDownloadDomainVerifyConfigurationRequest.cc create mode 100644 cas/src/model/DescribeDownloadDomainVerifyConfigurationResult.cc create mode 100644 cas/src/model/DescribeExpectationResultRequest.cc create mode 100644 cas/src/model/DescribeExpectationResultResult.cc create mode 100644 cas/src/model/DescribeHelpListRequest.cc create mode 100644 cas/src/model/DescribeHelpListResult.cc create mode 100644 cas/src/model/DescribeLocationListRequest.cc create mode 100644 cas/src/model/DescribeLocationListResult.cc create mode 100644 cas/src/model/DescribeOSSDownloadInfoRequest.cc create mode 100644 cas/src/model/DescribeOSSDownloadInfoResult.cc create mode 100644 cas/src/model/DescribeOSSUploadInfoRequest.cc create mode 100644 cas/src/model/DescribeOSSUploadInfoResult.cc create mode 100644 cas/src/model/DescribeOrderAuditFailRecordRequest.cc create mode 100644 cas/src/model/DescribeOrderAuditFailRecordResult.cc create mode 100644 cas/src/model/DescribeOrderDetailRequest.cc create mode 100644 cas/src/model/DescribeOrderDetailResult.cc create mode 100644 cas/src/model/DescribeOrderDocumentRequest.cc create mode 100644 cas/src/model/DescribeOrderDocumentResult.cc create mode 100644 cas/src/model/DescribeOrderListRequest.cc create mode 100644 cas/src/model/DescribeOrderListResult.cc create mode 100644 cas/src/model/DescribeOrderMaterialRequest.cc create mode 100644 cas/src/model/DescribeOrderMaterialResult.cc create mode 100644 cas/src/model/DescribeSignatureCapacityRequest.cc create mode 100644 cas/src/model/DescribeSignatureCapacityResult.cc create mode 100644 cas/src/model/DescribeSignatureStatisticsRequest.cc create mode 100644 cas/src/model/DescribeSignatureStatisticsResult.cc create mode 100644 cas/src/model/DescribeSignatureTradeDetailRequest.cc create mode 100644 cas/src/model/DescribeSignatureTradeDetailResult.cc create mode 100644 cas/src/model/DescribeSignatureTradeListRequest.cc create mode 100644 cas/src/model/DescribeSignatureTradeListResult.cc create mode 100644 cas/src/model/DescribeStsAuthStatusRequest.cc create mode 100644 cas/src/model/DescribeStsAuthStatusResult.cc diff --git a/CHANGELOG b/CHANGELOG index 0b9418a45..0d295f430 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +2019-03-18 Version: 1.34.42 +1, Signature Document SDK. +2, First version publish. +3, Beta Version SDK + 2019-03-18 Version: 1.34.41 1, Update Dependency diff --git a/CMakeLists.txt b/CMakeLists.txt index 9720be543..c4425510d 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,4 +108,5 @@ add_subdirectory(ubsms) add_subdirectory(yundun) add_subdirectory(arms4finance) -add_subdirectory(imagesearch) \ No newline at end of file +add_subdirectory(imagesearch) +add_subdirectory(cas) \ No newline at end of file diff --git a/VERSION b/VERSION index e8ef36c70..412e3c347 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.34.41 \ No newline at end of file +1.34.42 \ No newline at end of file diff --git a/cas/CMakeLists.txt b/cas/CMakeLists.txt new file mode 100644 index 000000000..0945ab6d7 --- /dev/null +++ b/cas/CMakeLists.txt @@ -0,0 +1,266 @@ +# +# Copyright 2009-2017 Alibaba Cloud All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) + +set(cas_public_header + include/alibabacloud/cas/CasClient.h + include/alibabacloud/cas/CasExport.h ) + +set(cas_public_header_model + include/alibabacloud/cas/model/CreateSignatureRequest.h + include/alibabacloud/cas/model/CreateSignatureResult.h + include/alibabacloud/cas/model/DescribeCertificateStatusCountRequest.h + include/alibabacloud/cas/model/DescribeCertificateStatusCountResult.h + include/alibabacloud/cas/model/CreateOrderDocumentRequest.h + include/alibabacloud/cas/model/CreateOrderDocumentResult.h + include/alibabacloud/cas/model/DescribeExpectationResultRequest.h + include/alibabacloud/cas/model/DescribeExpectationResultResult.h + include/alibabacloud/cas/model/DescribeOrderMaterialRequest.h + include/alibabacloud/cas/model/DescribeOrderMaterialResult.h + include/alibabacloud/cas/model/CreateSignaturePeopleCertificateRequest.h + include/alibabacloud/cas/model/CreateSignaturePeopleCertificateResult.h + include/alibabacloud/cas/model/DescribeCertificateListRequest.h + include/alibabacloud/cas/model/DescribeCertificateListResult.h + include/alibabacloud/cas/model/DescribeCertificateBrandListRequest.h + include/alibabacloud/cas/model/DescribeCertificateBrandListResult.h + include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusRequest.h + include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusResult.h + include/alibabacloud/cas/model/CreateOrderCancelRequest.h + include/alibabacloud/cas/model/CreateOrderCancelResult.h + include/alibabacloud/cas/model/CreateAliDnsRecordIdRequest.h + include/alibabacloud/cas/model/CreateAliDnsRecordIdResult.h + include/alibabacloud/cas/model/CreateCertificateRequest.h + include/alibabacloud/cas/model/CreateCertificateResult.h + include/alibabacloud/cas/model/CreateWebSignatureRequest.h + include/alibabacloud/cas/model/CreateWebSignatureResult.h + include/alibabacloud/cas/model/CreateUnDeploymentRequest.h + include/alibabacloud/cas/model/CreateUnDeploymentResult.h + include/alibabacloud/cas/model/DescribeDownloadCertificateRequest.h + include/alibabacloud/cas/model/DescribeDownloadCertificateResult.h + include/alibabacloud/cas/model/DescribeCertificateDetailRequest.h + include/alibabacloud/cas/model/DescribeCertificateDetailResult.h + include/alibabacloud/cas/model/CreateOrderMaterialRequest.h + include/alibabacloud/cas/model/CreateOrderMaterialResult.h + include/alibabacloud/cas/model/DescribeSignatureStatisticsRequest.h + include/alibabacloud/cas/model/DescribeSignatureStatisticsResult.h + include/alibabacloud/cas/model/DescribeSignatureTradeListRequest.h + include/alibabacloud/cas/model/DescribeSignatureTradeListResult.h + include/alibabacloud/cas/model/CreateFilingSignatureDocumentRequest.h + include/alibabacloud/cas/model/CreateFilingSignatureDocumentResult.h + include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationRequest.h + include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationResult.h + include/alibabacloud/cas/model/DescribeOSSDownloadInfoRequest.h + include/alibabacloud/cas/model/DescribeOSSDownloadInfoResult.h + include/alibabacloud/cas/model/CreateCooperationOrderRequest.h + include/alibabacloud/cas/model/CreateCooperationOrderResult.h + include/alibabacloud/cas/model/DescribeDeploymentRegionListRequest.h + include/alibabacloud/cas/model/DescribeDeploymentRegionListResult.h + include/alibabacloud/cas/model/CreateOrderAuditRequest.h + include/alibabacloud/cas/model/CreateOrderAuditResult.h + include/alibabacloud/cas/model/DeleteOrderRequest.h + include/alibabacloud/cas/model/DeleteOrderResult.h + include/alibabacloud/cas/model/DescribeHelpListRequest.h + include/alibabacloud/cas/model/DescribeHelpListResult.h + include/alibabacloud/cas/model/DescribeStsAuthStatusRequest.h + include/alibabacloud/cas/model/DescribeStsAuthStatusResult.h + include/alibabacloud/cas/model/DescribeDeploymentDetailRequest.h + include/alibabacloud/cas/model/DescribeDeploymentDetailResult.h + include/alibabacloud/cas/model/DescribeDomainVerifyInfoRequest.h + include/alibabacloud/cas/model/DescribeDomainVerifyInfoResult.h + include/alibabacloud/cas/model/CreateDeploymentRequest.h + include/alibabacloud/cas/model/CreateDeploymentResult.h + include/alibabacloud/cas/model/DescribeOrderDocumentRequest.h + include/alibabacloud/cas/model/DescribeOrderDocumentResult.h + include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusRequest.h + include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusResult.h + include/alibabacloud/cas/model/CreateSignatureDocumentRequest.h + include/alibabacloud/cas/model/CreateSignatureDocumentResult.h + include/alibabacloud/cas/model/DescribeOrderAuditFailRecordRequest.h + include/alibabacloud/cas/model/DescribeOrderAuditFailRecordResult.h + include/alibabacloud/cas/model/DescribeOrderListRequest.h + include/alibabacloud/cas/model/DescribeOrderListResult.h + include/alibabacloud/cas/model/CreateOrderRevokeRequest.h + include/alibabacloud/cas/model/CreateOrderRevokeResult.h + include/alibabacloud/cas/model/DeleteCertificateRequest.h + include/alibabacloud/cas/model/DeleteCertificateResult.h + include/alibabacloud/cas/model/DescribeOrderDetailRequest.h + include/alibabacloud/cas/model/DescribeOrderDetailResult.h + include/alibabacloud/cas/model/DescribeOSSUploadInfoRequest.h + include/alibabacloud/cas/model/DescribeOSSUploadInfoResult.h + include/alibabacloud/cas/model/DescribeLocationListRequest.h + include/alibabacloud/cas/model/DescribeLocationListResult.h + include/alibabacloud/cas/model/DescribeDeploymentProductRequest.h + include/alibabacloud/cas/model/DescribeDeploymentProductResult.h + include/alibabacloud/cas/model/DescribeSignatureCapacityRequest.h + include/alibabacloud/cas/model/DescribeSignatureCapacityResult.h + include/alibabacloud/cas/model/DescribeDeploymentDomainListRequest.h + include/alibabacloud/cas/model/DescribeDeploymentDomainListResult.h + include/alibabacloud/cas/model/DescribeSignatureTradeDetailRequest.h + include/alibabacloud/cas/model/DescribeSignatureTradeDetailResult.h + include/alibabacloud/cas/model/CreateCertificateNameRequest.h + include/alibabacloud/cas/model/CreateCertificateNameResult.h ) + +set(cas_src + src/CasClient.cc + src/model/CreateSignatureRequest.cc + src/model/CreateSignatureResult.cc + src/model/DescribeCertificateStatusCountRequest.cc + src/model/DescribeCertificateStatusCountResult.cc + src/model/CreateOrderDocumentRequest.cc + src/model/CreateOrderDocumentResult.cc + src/model/DescribeExpectationResultRequest.cc + src/model/DescribeExpectationResultResult.cc + src/model/DescribeOrderMaterialRequest.cc + src/model/DescribeOrderMaterialResult.cc + src/model/CreateSignaturePeopleCertificateRequest.cc + src/model/CreateSignaturePeopleCertificateResult.cc + src/model/DescribeCertificateListRequest.cc + src/model/DescribeCertificateListResult.cc + src/model/DescribeCertificateBrandListRequest.cc + src/model/DescribeCertificateBrandListResult.cc + src/model/DescribeDomainVerifyConfigurationStatusRequest.cc + src/model/DescribeDomainVerifyConfigurationStatusResult.cc + src/model/CreateOrderCancelRequest.cc + src/model/CreateOrderCancelResult.cc + src/model/CreateAliDnsRecordIdRequest.cc + src/model/CreateAliDnsRecordIdResult.cc + src/model/CreateCertificateRequest.cc + src/model/CreateCertificateResult.cc + src/model/CreateWebSignatureRequest.cc + src/model/CreateWebSignatureResult.cc + src/model/CreateUnDeploymentRequest.cc + src/model/CreateUnDeploymentResult.cc + src/model/DescribeDownloadCertificateRequest.cc + src/model/DescribeDownloadCertificateResult.cc + src/model/DescribeCertificateDetailRequest.cc + src/model/DescribeCertificateDetailResult.cc + src/model/CreateOrderMaterialRequest.cc + src/model/CreateOrderMaterialResult.cc + src/model/DescribeSignatureStatisticsRequest.cc + src/model/DescribeSignatureStatisticsResult.cc + src/model/DescribeSignatureTradeListRequest.cc + src/model/DescribeSignatureTradeListResult.cc + src/model/CreateFilingSignatureDocumentRequest.cc + src/model/CreateFilingSignatureDocumentResult.cc + src/model/DescribeDownloadDomainVerifyConfigurationRequest.cc + src/model/DescribeDownloadDomainVerifyConfigurationResult.cc + src/model/DescribeOSSDownloadInfoRequest.cc + src/model/DescribeOSSDownloadInfoResult.cc + src/model/CreateCooperationOrderRequest.cc + src/model/CreateCooperationOrderResult.cc + src/model/DescribeDeploymentRegionListRequest.cc + src/model/DescribeDeploymentRegionListResult.cc + src/model/CreateOrderAuditRequest.cc + src/model/CreateOrderAuditResult.cc + src/model/DeleteOrderRequest.cc + src/model/DeleteOrderResult.cc + src/model/DescribeHelpListRequest.cc + src/model/DescribeHelpListResult.cc + src/model/DescribeStsAuthStatusRequest.cc + src/model/DescribeStsAuthStatusResult.cc + src/model/DescribeDeploymentDetailRequest.cc + src/model/DescribeDeploymentDetailResult.cc + src/model/DescribeDomainVerifyInfoRequest.cc + src/model/DescribeDomainVerifyInfoResult.cc + src/model/CreateDeploymentRequest.cc + src/model/CreateDeploymentResult.cc + src/model/DescribeOrderDocumentRequest.cc + src/model/DescribeOrderDocumentResult.cc + src/model/CreateDomainVerifyConfigurationStatusRequest.cc + src/model/CreateDomainVerifyConfigurationStatusResult.cc + src/model/CreateSignatureDocumentRequest.cc + src/model/CreateSignatureDocumentResult.cc + src/model/DescribeOrderAuditFailRecordRequest.cc + src/model/DescribeOrderAuditFailRecordResult.cc + src/model/DescribeOrderListRequest.cc + src/model/DescribeOrderListResult.cc + src/model/CreateOrderRevokeRequest.cc + src/model/CreateOrderRevokeResult.cc + src/model/DeleteCertificateRequest.cc + src/model/DeleteCertificateResult.cc + src/model/DescribeOrderDetailRequest.cc + src/model/DescribeOrderDetailResult.cc + src/model/DescribeOSSUploadInfoRequest.cc + src/model/DescribeOSSUploadInfoResult.cc + src/model/DescribeLocationListRequest.cc + src/model/DescribeLocationListResult.cc + src/model/DescribeDeploymentProductRequest.cc + src/model/DescribeDeploymentProductResult.cc + src/model/DescribeSignatureCapacityRequest.cc + src/model/DescribeSignatureCapacityResult.cc + src/model/DescribeDeploymentDomainListRequest.cc + src/model/DescribeDeploymentDomainListResult.cc + src/model/DescribeSignatureTradeDetailRequest.cc + src/model/DescribeSignatureTradeDetailResult.cc + src/model/CreateCertificateNameRequest.cc + src/model/CreateCertificateNameResult.cc ) + +add_library(cas ${LIB_TYPE} + ${cas_public_header} + ${cas_public_header_model} + ${cas_src}) + +set_target_properties(cas + PROPERTIES + LINKER_LANGUAGE CXX + ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin + OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}cas + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(cas + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_CAS_LIBRARY) +endif() + +target_include_directories(cas + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(cas + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(cas + jsoncpp) + target_include_directories(cas + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(cas + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(cas + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(cas + PRIVATE /usr/include/jsoncpp) + target_link_libraries(cas + jsoncpp) +endif() + +install(FILES ${cas_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cas) +install(FILES ${cas_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cas/model) +install(TARGETS cas + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/CasClient.h b/cas/include/alibabacloud/cas/CasClient.h new file mode 100644 index 000000000..9f08cefa9 --- /dev/null +++ b/cas/include/alibabacloud/cas/CasClient.h @@ -0,0 +1,414 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_CASCLIENT_H_ +#define ALIBABACLOUD_CAS_CASCLIENT_H_ + +#include +#include +#include +#include +#include "CasExport.h" +#include "model/CreateSignatureRequest.h" +#include "model/CreateSignatureResult.h" +#include "model/DescribeCertificateStatusCountRequest.h" +#include "model/DescribeCertificateStatusCountResult.h" +#include "model/CreateOrderDocumentRequest.h" +#include "model/CreateOrderDocumentResult.h" +#include "model/DescribeExpectationResultRequest.h" +#include "model/DescribeExpectationResultResult.h" +#include "model/DescribeOrderMaterialRequest.h" +#include "model/DescribeOrderMaterialResult.h" +#include "model/CreateSignaturePeopleCertificateRequest.h" +#include "model/CreateSignaturePeopleCertificateResult.h" +#include "model/DescribeCertificateListRequest.h" +#include "model/DescribeCertificateListResult.h" +#include "model/DescribeCertificateBrandListRequest.h" +#include "model/DescribeCertificateBrandListResult.h" +#include "model/DescribeDomainVerifyConfigurationStatusRequest.h" +#include "model/DescribeDomainVerifyConfigurationStatusResult.h" +#include "model/CreateOrderCancelRequest.h" +#include "model/CreateOrderCancelResult.h" +#include "model/CreateAliDnsRecordIdRequest.h" +#include "model/CreateAliDnsRecordIdResult.h" +#include "model/CreateCertificateRequest.h" +#include "model/CreateCertificateResult.h" +#include "model/CreateWebSignatureRequest.h" +#include "model/CreateWebSignatureResult.h" +#include "model/CreateUnDeploymentRequest.h" +#include "model/CreateUnDeploymentResult.h" +#include "model/DescribeDownloadCertificateRequest.h" +#include "model/DescribeDownloadCertificateResult.h" +#include "model/DescribeCertificateDetailRequest.h" +#include "model/DescribeCertificateDetailResult.h" +#include "model/CreateOrderMaterialRequest.h" +#include "model/CreateOrderMaterialResult.h" +#include "model/DescribeSignatureStatisticsRequest.h" +#include "model/DescribeSignatureStatisticsResult.h" +#include "model/DescribeSignatureTradeListRequest.h" +#include "model/DescribeSignatureTradeListResult.h" +#include "model/CreateFilingSignatureDocumentRequest.h" +#include "model/CreateFilingSignatureDocumentResult.h" +#include "model/DescribeDownloadDomainVerifyConfigurationRequest.h" +#include "model/DescribeDownloadDomainVerifyConfigurationResult.h" +#include "model/DescribeOSSDownloadInfoRequest.h" +#include "model/DescribeOSSDownloadInfoResult.h" +#include "model/CreateCooperationOrderRequest.h" +#include "model/CreateCooperationOrderResult.h" +#include "model/DescribeDeploymentRegionListRequest.h" +#include "model/DescribeDeploymentRegionListResult.h" +#include "model/CreateOrderAuditRequest.h" +#include "model/CreateOrderAuditResult.h" +#include "model/DeleteOrderRequest.h" +#include "model/DeleteOrderResult.h" +#include "model/DescribeHelpListRequest.h" +#include "model/DescribeHelpListResult.h" +#include "model/DescribeStsAuthStatusRequest.h" +#include "model/DescribeStsAuthStatusResult.h" +#include "model/DescribeDeploymentDetailRequest.h" +#include "model/DescribeDeploymentDetailResult.h" +#include "model/DescribeDomainVerifyInfoRequest.h" +#include "model/DescribeDomainVerifyInfoResult.h" +#include "model/CreateDeploymentRequest.h" +#include "model/CreateDeploymentResult.h" +#include "model/DescribeOrderDocumentRequest.h" +#include "model/DescribeOrderDocumentResult.h" +#include "model/CreateDomainVerifyConfigurationStatusRequest.h" +#include "model/CreateDomainVerifyConfigurationStatusResult.h" +#include "model/CreateSignatureDocumentRequest.h" +#include "model/CreateSignatureDocumentResult.h" +#include "model/DescribeOrderAuditFailRecordRequest.h" +#include "model/DescribeOrderAuditFailRecordResult.h" +#include "model/DescribeOrderListRequest.h" +#include "model/DescribeOrderListResult.h" +#include "model/CreateOrderRevokeRequest.h" +#include "model/CreateOrderRevokeResult.h" +#include "model/DeleteCertificateRequest.h" +#include "model/DeleteCertificateResult.h" +#include "model/DescribeOrderDetailRequest.h" +#include "model/DescribeOrderDetailResult.h" +#include "model/DescribeOSSUploadInfoRequest.h" +#include "model/DescribeOSSUploadInfoResult.h" +#include "model/DescribeLocationListRequest.h" +#include "model/DescribeLocationListResult.h" +#include "model/DescribeDeploymentProductRequest.h" +#include "model/DescribeDeploymentProductResult.h" +#include "model/DescribeSignatureCapacityRequest.h" +#include "model/DescribeSignatureCapacityResult.h" +#include "model/DescribeDeploymentDomainListRequest.h" +#include "model/DescribeDeploymentDomainListResult.h" +#include "model/DescribeSignatureTradeDetailRequest.h" +#include "model/DescribeSignatureTradeDetailResult.h" +#include "model/CreateCertificateNameRequest.h" +#include "model/CreateCertificateNameResult.h" + + +namespace AlibabaCloud +{ + namespace Cas + { + class ALIBABACLOUD_CAS_EXPORT CasClient : public RpcServiceClient + { + public: + typedef Outcome CreateSignatureOutcome; + typedef std::future CreateSignatureOutcomeCallable; + typedef std::function&)> CreateSignatureAsyncHandler; + typedef Outcome DescribeCertificateStatusCountOutcome; + typedef std::future DescribeCertificateStatusCountOutcomeCallable; + typedef std::function&)> DescribeCertificateStatusCountAsyncHandler; + typedef Outcome CreateOrderDocumentOutcome; + typedef std::future CreateOrderDocumentOutcomeCallable; + typedef std::function&)> CreateOrderDocumentAsyncHandler; + typedef Outcome DescribeExpectationResultOutcome; + typedef std::future DescribeExpectationResultOutcomeCallable; + typedef std::function&)> DescribeExpectationResultAsyncHandler; + typedef Outcome DescribeOrderMaterialOutcome; + typedef std::future DescribeOrderMaterialOutcomeCallable; + typedef std::function&)> DescribeOrderMaterialAsyncHandler; + typedef Outcome CreateSignaturePeopleCertificateOutcome; + typedef std::future CreateSignaturePeopleCertificateOutcomeCallable; + typedef std::function&)> CreateSignaturePeopleCertificateAsyncHandler; + typedef Outcome DescribeCertificateListOutcome; + typedef std::future DescribeCertificateListOutcomeCallable; + typedef std::function&)> DescribeCertificateListAsyncHandler; + typedef Outcome DescribeCertificateBrandListOutcome; + typedef std::future DescribeCertificateBrandListOutcomeCallable; + typedef std::function&)> DescribeCertificateBrandListAsyncHandler; + typedef Outcome DescribeDomainVerifyConfigurationStatusOutcome; + typedef std::future DescribeDomainVerifyConfigurationStatusOutcomeCallable; + typedef std::function&)> DescribeDomainVerifyConfigurationStatusAsyncHandler; + typedef Outcome CreateOrderCancelOutcome; + typedef std::future CreateOrderCancelOutcomeCallable; + typedef std::function&)> CreateOrderCancelAsyncHandler; + typedef Outcome CreateAliDnsRecordIdOutcome; + typedef std::future CreateAliDnsRecordIdOutcomeCallable; + typedef std::function&)> CreateAliDnsRecordIdAsyncHandler; + typedef Outcome CreateCertificateOutcome; + typedef std::future CreateCertificateOutcomeCallable; + typedef std::function&)> CreateCertificateAsyncHandler; + typedef Outcome CreateWebSignatureOutcome; + typedef std::future CreateWebSignatureOutcomeCallable; + typedef std::function&)> CreateWebSignatureAsyncHandler; + typedef Outcome CreateUnDeploymentOutcome; + typedef std::future CreateUnDeploymentOutcomeCallable; + typedef std::function&)> CreateUnDeploymentAsyncHandler; + typedef Outcome DescribeDownloadCertificateOutcome; + typedef std::future DescribeDownloadCertificateOutcomeCallable; + typedef std::function&)> DescribeDownloadCertificateAsyncHandler; + typedef Outcome DescribeCertificateDetailOutcome; + typedef std::future DescribeCertificateDetailOutcomeCallable; + typedef std::function&)> DescribeCertificateDetailAsyncHandler; + typedef Outcome CreateOrderMaterialOutcome; + typedef std::future CreateOrderMaterialOutcomeCallable; + typedef std::function&)> CreateOrderMaterialAsyncHandler; + typedef Outcome DescribeSignatureStatisticsOutcome; + typedef std::future DescribeSignatureStatisticsOutcomeCallable; + typedef std::function&)> DescribeSignatureStatisticsAsyncHandler; + typedef Outcome DescribeSignatureTradeListOutcome; + typedef std::future DescribeSignatureTradeListOutcomeCallable; + typedef std::function&)> DescribeSignatureTradeListAsyncHandler; + typedef Outcome CreateFilingSignatureDocumentOutcome; + typedef std::future CreateFilingSignatureDocumentOutcomeCallable; + typedef std::function&)> CreateFilingSignatureDocumentAsyncHandler; + typedef Outcome DescribeDownloadDomainVerifyConfigurationOutcome; + typedef std::future DescribeDownloadDomainVerifyConfigurationOutcomeCallable; + typedef std::function&)> DescribeDownloadDomainVerifyConfigurationAsyncHandler; + typedef Outcome DescribeOSSDownloadInfoOutcome; + typedef std::future DescribeOSSDownloadInfoOutcomeCallable; + typedef std::function&)> DescribeOSSDownloadInfoAsyncHandler; + typedef Outcome CreateCooperationOrderOutcome; + typedef std::future CreateCooperationOrderOutcomeCallable; + typedef std::function&)> CreateCooperationOrderAsyncHandler; + typedef Outcome DescribeDeploymentRegionListOutcome; + typedef std::future DescribeDeploymentRegionListOutcomeCallable; + typedef std::function&)> DescribeDeploymentRegionListAsyncHandler; + typedef Outcome CreateOrderAuditOutcome; + typedef std::future CreateOrderAuditOutcomeCallable; + typedef std::function&)> CreateOrderAuditAsyncHandler; + typedef Outcome DeleteOrderOutcome; + typedef std::future DeleteOrderOutcomeCallable; + typedef std::function&)> DeleteOrderAsyncHandler; + typedef Outcome DescribeHelpListOutcome; + typedef std::future DescribeHelpListOutcomeCallable; + typedef std::function&)> DescribeHelpListAsyncHandler; + typedef Outcome DescribeStsAuthStatusOutcome; + typedef std::future DescribeStsAuthStatusOutcomeCallable; + typedef std::function&)> DescribeStsAuthStatusAsyncHandler; + typedef Outcome DescribeDeploymentDetailOutcome; + typedef std::future DescribeDeploymentDetailOutcomeCallable; + typedef std::function&)> DescribeDeploymentDetailAsyncHandler; + typedef Outcome DescribeDomainVerifyInfoOutcome; + typedef std::future DescribeDomainVerifyInfoOutcomeCallable; + typedef std::function&)> DescribeDomainVerifyInfoAsyncHandler; + typedef Outcome CreateDeploymentOutcome; + typedef std::future CreateDeploymentOutcomeCallable; + typedef std::function&)> CreateDeploymentAsyncHandler; + typedef Outcome DescribeOrderDocumentOutcome; + typedef std::future DescribeOrderDocumentOutcomeCallable; + typedef std::function&)> DescribeOrderDocumentAsyncHandler; + typedef Outcome CreateDomainVerifyConfigurationStatusOutcome; + typedef std::future CreateDomainVerifyConfigurationStatusOutcomeCallable; + typedef std::function&)> CreateDomainVerifyConfigurationStatusAsyncHandler; + typedef Outcome CreateSignatureDocumentOutcome; + typedef std::future CreateSignatureDocumentOutcomeCallable; + typedef std::function&)> CreateSignatureDocumentAsyncHandler; + typedef Outcome DescribeOrderAuditFailRecordOutcome; + typedef std::future DescribeOrderAuditFailRecordOutcomeCallable; + typedef std::function&)> DescribeOrderAuditFailRecordAsyncHandler; + typedef Outcome DescribeOrderListOutcome; + typedef std::future DescribeOrderListOutcomeCallable; + typedef std::function&)> DescribeOrderListAsyncHandler; + typedef Outcome CreateOrderRevokeOutcome; + typedef std::future CreateOrderRevokeOutcomeCallable; + typedef std::function&)> CreateOrderRevokeAsyncHandler; + typedef Outcome DeleteCertificateOutcome; + typedef std::future DeleteCertificateOutcomeCallable; + typedef std::function&)> DeleteCertificateAsyncHandler; + typedef Outcome DescribeOrderDetailOutcome; + typedef std::future DescribeOrderDetailOutcomeCallable; + typedef std::function&)> DescribeOrderDetailAsyncHandler; + typedef Outcome DescribeOSSUploadInfoOutcome; + typedef std::future DescribeOSSUploadInfoOutcomeCallable; + typedef std::function&)> DescribeOSSUploadInfoAsyncHandler; + typedef Outcome DescribeLocationListOutcome; + typedef std::future DescribeLocationListOutcomeCallable; + typedef std::function&)> DescribeLocationListAsyncHandler; + typedef Outcome DescribeDeploymentProductOutcome; + typedef std::future DescribeDeploymentProductOutcomeCallable; + typedef std::function&)> DescribeDeploymentProductAsyncHandler; + typedef Outcome DescribeSignatureCapacityOutcome; + typedef std::future DescribeSignatureCapacityOutcomeCallable; + typedef std::function&)> DescribeSignatureCapacityAsyncHandler; + typedef Outcome DescribeDeploymentDomainListOutcome; + typedef std::future DescribeDeploymentDomainListOutcomeCallable; + typedef std::function&)> DescribeDeploymentDomainListAsyncHandler; + typedef Outcome DescribeSignatureTradeDetailOutcome; + typedef std::future DescribeSignatureTradeDetailOutcomeCallable; + typedef std::function&)> DescribeSignatureTradeDetailAsyncHandler; + typedef Outcome CreateCertificateNameOutcome; + typedef std::future CreateCertificateNameOutcomeCallable; + typedef std::function&)> CreateCertificateNameAsyncHandler; + + CasClient(const Credentials &credentials, const ClientConfiguration &configuration); + CasClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + CasClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~CasClient(); + CreateSignatureOutcome createSignature(const Model::CreateSignatureRequest &request)const; + void createSignatureAsync(const Model::CreateSignatureRequest& request, const CreateSignatureAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateSignatureOutcomeCallable createSignatureCallable(const Model::CreateSignatureRequest& request) const; + DescribeCertificateStatusCountOutcome describeCertificateStatusCount(const Model::DescribeCertificateStatusCountRequest &request)const; + void describeCertificateStatusCountAsync(const Model::DescribeCertificateStatusCountRequest& request, const DescribeCertificateStatusCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCertificateStatusCountOutcomeCallable describeCertificateStatusCountCallable(const Model::DescribeCertificateStatusCountRequest& request) const; + CreateOrderDocumentOutcome createOrderDocument(const Model::CreateOrderDocumentRequest &request)const; + void createOrderDocumentAsync(const Model::CreateOrderDocumentRequest& request, const CreateOrderDocumentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateOrderDocumentOutcomeCallable createOrderDocumentCallable(const Model::CreateOrderDocumentRequest& request) const; + DescribeExpectationResultOutcome describeExpectationResult(const Model::DescribeExpectationResultRequest &request)const; + void describeExpectationResultAsync(const Model::DescribeExpectationResultRequest& request, const DescribeExpectationResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeExpectationResultOutcomeCallable describeExpectationResultCallable(const Model::DescribeExpectationResultRequest& request) const; + DescribeOrderMaterialOutcome describeOrderMaterial(const Model::DescribeOrderMaterialRequest &request)const; + void describeOrderMaterialAsync(const Model::DescribeOrderMaterialRequest& request, const DescribeOrderMaterialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOrderMaterialOutcomeCallable describeOrderMaterialCallable(const Model::DescribeOrderMaterialRequest& request) const; + CreateSignaturePeopleCertificateOutcome createSignaturePeopleCertificate(const Model::CreateSignaturePeopleCertificateRequest &request)const; + void createSignaturePeopleCertificateAsync(const Model::CreateSignaturePeopleCertificateRequest& request, const CreateSignaturePeopleCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateSignaturePeopleCertificateOutcomeCallable createSignaturePeopleCertificateCallable(const Model::CreateSignaturePeopleCertificateRequest& request) const; + DescribeCertificateListOutcome describeCertificateList(const Model::DescribeCertificateListRequest &request)const; + void describeCertificateListAsync(const Model::DescribeCertificateListRequest& request, const DescribeCertificateListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCertificateListOutcomeCallable describeCertificateListCallable(const Model::DescribeCertificateListRequest& request) const; + DescribeCertificateBrandListOutcome describeCertificateBrandList(const Model::DescribeCertificateBrandListRequest &request)const; + void describeCertificateBrandListAsync(const Model::DescribeCertificateBrandListRequest& request, const DescribeCertificateBrandListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCertificateBrandListOutcomeCallable describeCertificateBrandListCallable(const Model::DescribeCertificateBrandListRequest& request) const; + DescribeDomainVerifyConfigurationStatusOutcome describeDomainVerifyConfigurationStatus(const Model::DescribeDomainVerifyConfigurationStatusRequest &request)const; + void describeDomainVerifyConfigurationStatusAsync(const Model::DescribeDomainVerifyConfigurationStatusRequest& request, const DescribeDomainVerifyConfigurationStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainVerifyConfigurationStatusOutcomeCallable describeDomainVerifyConfigurationStatusCallable(const Model::DescribeDomainVerifyConfigurationStatusRequest& request) const; + CreateOrderCancelOutcome createOrderCancel(const Model::CreateOrderCancelRequest &request)const; + void createOrderCancelAsync(const Model::CreateOrderCancelRequest& request, const CreateOrderCancelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateOrderCancelOutcomeCallable createOrderCancelCallable(const Model::CreateOrderCancelRequest& request) const; + CreateAliDnsRecordIdOutcome createAliDnsRecordId(const Model::CreateAliDnsRecordIdRequest &request)const; + void createAliDnsRecordIdAsync(const Model::CreateAliDnsRecordIdRequest& request, const CreateAliDnsRecordIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateAliDnsRecordIdOutcomeCallable createAliDnsRecordIdCallable(const Model::CreateAliDnsRecordIdRequest& request) const; + CreateCertificateOutcome createCertificate(const Model::CreateCertificateRequest &request)const; + void createCertificateAsync(const Model::CreateCertificateRequest& request, const CreateCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCertificateOutcomeCallable createCertificateCallable(const Model::CreateCertificateRequest& request) const; + CreateWebSignatureOutcome createWebSignature(const Model::CreateWebSignatureRequest &request)const; + void createWebSignatureAsync(const Model::CreateWebSignatureRequest& request, const CreateWebSignatureAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateWebSignatureOutcomeCallable createWebSignatureCallable(const Model::CreateWebSignatureRequest& request) const; + CreateUnDeploymentOutcome createUnDeployment(const Model::CreateUnDeploymentRequest &request)const; + void createUnDeploymentAsync(const Model::CreateUnDeploymentRequest& request, const CreateUnDeploymentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateUnDeploymentOutcomeCallable createUnDeploymentCallable(const Model::CreateUnDeploymentRequest& request) const; + DescribeDownloadCertificateOutcome describeDownloadCertificate(const Model::DescribeDownloadCertificateRequest &request)const; + void describeDownloadCertificateAsync(const Model::DescribeDownloadCertificateRequest& request, const DescribeDownloadCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDownloadCertificateOutcomeCallable describeDownloadCertificateCallable(const Model::DescribeDownloadCertificateRequest& request) const; + DescribeCertificateDetailOutcome describeCertificateDetail(const Model::DescribeCertificateDetailRequest &request)const; + void describeCertificateDetailAsync(const Model::DescribeCertificateDetailRequest& request, const DescribeCertificateDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCertificateDetailOutcomeCallable describeCertificateDetailCallable(const Model::DescribeCertificateDetailRequest& request) const; + CreateOrderMaterialOutcome createOrderMaterial(const Model::CreateOrderMaterialRequest &request)const; + void createOrderMaterialAsync(const Model::CreateOrderMaterialRequest& request, const CreateOrderMaterialAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateOrderMaterialOutcomeCallable createOrderMaterialCallable(const Model::CreateOrderMaterialRequest& request) const; + DescribeSignatureStatisticsOutcome describeSignatureStatistics(const Model::DescribeSignatureStatisticsRequest &request)const; + void describeSignatureStatisticsAsync(const Model::DescribeSignatureStatisticsRequest& request, const DescribeSignatureStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSignatureStatisticsOutcomeCallable describeSignatureStatisticsCallable(const Model::DescribeSignatureStatisticsRequest& request) const; + DescribeSignatureTradeListOutcome describeSignatureTradeList(const Model::DescribeSignatureTradeListRequest &request)const; + void describeSignatureTradeListAsync(const Model::DescribeSignatureTradeListRequest& request, const DescribeSignatureTradeListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSignatureTradeListOutcomeCallable describeSignatureTradeListCallable(const Model::DescribeSignatureTradeListRequest& request) const; + CreateFilingSignatureDocumentOutcome createFilingSignatureDocument(const Model::CreateFilingSignatureDocumentRequest &request)const; + void createFilingSignatureDocumentAsync(const Model::CreateFilingSignatureDocumentRequest& request, const CreateFilingSignatureDocumentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateFilingSignatureDocumentOutcomeCallable createFilingSignatureDocumentCallable(const Model::CreateFilingSignatureDocumentRequest& request) const; + DescribeDownloadDomainVerifyConfigurationOutcome describeDownloadDomainVerifyConfiguration(const Model::DescribeDownloadDomainVerifyConfigurationRequest &request)const; + void describeDownloadDomainVerifyConfigurationAsync(const Model::DescribeDownloadDomainVerifyConfigurationRequest& request, const DescribeDownloadDomainVerifyConfigurationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDownloadDomainVerifyConfigurationOutcomeCallable describeDownloadDomainVerifyConfigurationCallable(const Model::DescribeDownloadDomainVerifyConfigurationRequest& request) const; + DescribeOSSDownloadInfoOutcome describeOSSDownloadInfo(const Model::DescribeOSSDownloadInfoRequest &request)const; + void describeOSSDownloadInfoAsync(const Model::DescribeOSSDownloadInfoRequest& request, const DescribeOSSDownloadInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOSSDownloadInfoOutcomeCallable describeOSSDownloadInfoCallable(const Model::DescribeOSSDownloadInfoRequest& request) const; + CreateCooperationOrderOutcome createCooperationOrder(const Model::CreateCooperationOrderRequest &request)const; + void createCooperationOrderAsync(const Model::CreateCooperationOrderRequest& request, const CreateCooperationOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCooperationOrderOutcomeCallable createCooperationOrderCallable(const Model::CreateCooperationOrderRequest& request) const; + DescribeDeploymentRegionListOutcome describeDeploymentRegionList(const Model::DescribeDeploymentRegionListRequest &request)const; + void describeDeploymentRegionListAsync(const Model::DescribeDeploymentRegionListRequest& request, const DescribeDeploymentRegionListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDeploymentRegionListOutcomeCallable describeDeploymentRegionListCallable(const Model::DescribeDeploymentRegionListRequest& request) const; + CreateOrderAuditOutcome createOrderAudit(const Model::CreateOrderAuditRequest &request)const; + void createOrderAuditAsync(const Model::CreateOrderAuditRequest& request, const CreateOrderAuditAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateOrderAuditOutcomeCallable createOrderAuditCallable(const Model::CreateOrderAuditRequest& request) const; + DeleteOrderOutcome deleteOrder(const Model::DeleteOrderRequest &request)const; + void deleteOrderAsync(const Model::DeleteOrderRequest& request, const DeleteOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteOrderOutcomeCallable deleteOrderCallable(const Model::DeleteOrderRequest& request) const; + DescribeHelpListOutcome describeHelpList(const Model::DescribeHelpListRequest &request)const; + void describeHelpListAsync(const Model::DescribeHelpListRequest& request, const DescribeHelpListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeHelpListOutcomeCallable describeHelpListCallable(const Model::DescribeHelpListRequest& request) const; + DescribeStsAuthStatusOutcome describeStsAuthStatus(const Model::DescribeStsAuthStatusRequest &request)const; + void describeStsAuthStatusAsync(const Model::DescribeStsAuthStatusRequest& request, const DescribeStsAuthStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeStsAuthStatusOutcomeCallable describeStsAuthStatusCallable(const Model::DescribeStsAuthStatusRequest& request) const; + DescribeDeploymentDetailOutcome describeDeploymentDetail(const Model::DescribeDeploymentDetailRequest &request)const; + void describeDeploymentDetailAsync(const Model::DescribeDeploymentDetailRequest& request, const DescribeDeploymentDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDeploymentDetailOutcomeCallable describeDeploymentDetailCallable(const Model::DescribeDeploymentDetailRequest& request) const; + DescribeDomainVerifyInfoOutcome describeDomainVerifyInfo(const Model::DescribeDomainVerifyInfoRequest &request)const; + void describeDomainVerifyInfoAsync(const Model::DescribeDomainVerifyInfoRequest& request, const DescribeDomainVerifyInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainVerifyInfoOutcomeCallable describeDomainVerifyInfoCallable(const Model::DescribeDomainVerifyInfoRequest& request) const; + CreateDeploymentOutcome createDeployment(const Model::CreateDeploymentRequest &request)const; + void createDeploymentAsync(const Model::CreateDeploymentRequest& request, const CreateDeploymentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDeploymentOutcomeCallable createDeploymentCallable(const Model::CreateDeploymentRequest& request) const; + DescribeOrderDocumentOutcome describeOrderDocument(const Model::DescribeOrderDocumentRequest &request)const; + void describeOrderDocumentAsync(const Model::DescribeOrderDocumentRequest& request, const DescribeOrderDocumentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOrderDocumentOutcomeCallable describeOrderDocumentCallable(const Model::DescribeOrderDocumentRequest& request) const; + CreateDomainVerifyConfigurationStatusOutcome createDomainVerifyConfigurationStatus(const Model::CreateDomainVerifyConfigurationStatusRequest &request)const; + void createDomainVerifyConfigurationStatusAsync(const Model::CreateDomainVerifyConfigurationStatusRequest& request, const CreateDomainVerifyConfigurationStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDomainVerifyConfigurationStatusOutcomeCallable createDomainVerifyConfigurationStatusCallable(const Model::CreateDomainVerifyConfigurationStatusRequest& request) const; + CreateSignatureDocumentOutcome createSignatureDocument(const Model::CreateSignatureDocumentRequest &request)const; + void createSignatureDocumentAsync(const Model::CreateSignatureDocumentRequest& request, const CreateSignatureDocumentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateSignatureDocumentOutcomeCallable createSignatureDocumentCallable(const Model::CreateSignatureDocumentRequest& request) const; + DescribeOrderAuditFailRecordOutcome describeOrderAuditFailRecord(const Model::DescribeOrderAuditFailRecordRequest &request)const; + void describeOrderAuditFailRecordAsync(const Model::DescribeOrderAuditFailRecordRequest& request, const DescribeOrderAuditFailRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOrderAuditFailRecordOutcomeCallable describeOrderAuditFailRecordCallable(const Model::DescribeOrderAuditFailRecordRequest& request) const; + DescribeOrderListOutcome describeOrderList(const Model::DescribeOrderListRequest &request)const; + void describeOrderListAsync(const Model::DescribeOrderListRequest& request, const DescribeOrderListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOrderListOutcomeCallable describeOrderListCallable(const Model::DescribeOrderListRequest& request) const; + CreateOrderRevokeOutcome createOrderRevoke(const Model::CreateOrderRevokeRequest &request)const; + void createOrderRevokeAsync(const Model::CreateOrderRevokeRequest& request, const CreateOrderRevokeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateOrderRevokeOutcomeCallable createOrderRevokeCallable(const Model::CreateOrderRevokeRequest& request) const; + DeleteCertificateOutcome deleteCertificate(const Model::DeleteCertificateRequest &request)const; + void deleteCertificateAsync(const Model::DeleteCertificateRequest& request, const DeleteCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCertificateOutcomeCallable deleteCertificateCallable(const Model::DeleteCertificateRequest& request) const; + DescribeOrderDetailOutcome describeOrderDetail(const Model::DescribeOrderDetailRequest &request)const; + void describeOrderDetailAsync(const Model::DescribeOrderDetailRequest& request, const DescribeOrderDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOrderDetailOutcomeCallable describeOrderDetailCallable(const Model::DescribeOrderDetailRequest& request) const; + DescribeOSSUploadInfoOutcome describeOSSUploadInfo(const Model::DescribeOSSUploadInfoRequest &request)const; + void describeOSSUploadInfoAsync(const Model::DescribeOSSUploadInfoRequest& request, const DescribeOSSUploadInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOSSUploadInfoOutcomeCallable describeOSSUploadInfoCallable(const Model::DescribeOSSUploadInfoRequest& request) const; + DescribeLocationListOutcome describeLocationList(const Model::DescribeLocationListRequest &request)const; + void describeLocationListAsync(const Model::DescribeLocationListRequest& request, const DescribeLocationListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLocationListOutcomeCallable describeLocationListCallable(const Model::DescribeLocationListRequest& request) const; + DescribeDeploymentProductOutcome describeDeploymentProduct(const Model::DescribeDeploymentProductRequest &request)const; + void describeDeploymentProductAsync(const Model::DescribeDeploymentProductRequest& request, const DescribeDeploymentProductAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDeploymentProductOutcomeCallable describeDeploymentProductCallable(const Model::DescribeDeploymentProductRequest& request) const; + DescribeSignatureCapacityOutcome describeSignatureCapacity(const Model::DescribeSignatureCapacityRequest &request)const; + void describeSignatureCapacityAsync(const Model::DescribeSignatureCapacityRequest& request, const DescribeSignatureCapacityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSignatureCapacityOutcomeCallable describeSignatureCapacityCallable(const Model::DescribeSignatureCapacityRequest& request) const; + DescribeDeploymentDomainListOutcome describeDeploymentDomainList(const Model::DescribeDeploymentDomainListRequest &request)const; + void describeDeploymentDomainListAsync(const Model::DescribeDeploymentDomainListRequest& request, const DescribeDeploymentDomainListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDeploymentDomainListOutcomeCallable describeDeploymentDomainListCallable(const Model::DescribeDeploymentDomainListRequest& request) const; + DescribeSignatureTradeDetailOutcome describeSignatureTradeDetail(const Model::DescribeSignatureTradeDetailRequest &request)const; + void describeSignatureTradeDetailAsync(const Model::DescribeSignatureTradeDetailRequest& request, const DescribeSignatureTradeDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSignatureTradeDetailOutcomeCallable describeSignatureTradeDetailCallable(const Model::DescribeSignatureTradeDetailRequest& request) const; + CreateCertificateNameOutcome createCertificateName(const Model::CreateCertificateNameRequest &request)const; + void createCertificateNameAsync(const Model::CreateCertificateNameRequest& request, const CreateCertificateNameAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCertificateNameOutcomeCallable createCertificateNameCallable(const Model::CreateCertificateNameRequest& request) const; + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_CAS_CASCLIENT_H_ diff --git a/cas/include/alibabacloud/cas/CasExport.h b/cas/include/alibabacloud/cas/CasExport.h new file mode 100644 index 000000000..33f60cda4 --- /dev/null +++ b/cas/include/alibabacloud/cas/CasExport.h @@ -0,0 +1,32 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_CASEXPORT_H_ +#define ALIBABACLOUD_CAS_CASEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_CAS_LIBRARY) +# define ALIBABACLOUD_CAS_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_CAS_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_CAS_EXPORT +#endif + +#endif // !ALIBABACLOUD_CAS_CASEXPORT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateAliDnsRecordIdRequest.h b/cas/include/alibabacloud/cas/model/CreateAliDnsRecordIdRequest.h new file mode 100644 index 000000000..55ea3b855 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateAliDnsRecordIdRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEALIDNSRECORDIDREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEALIDNSRECORDIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateAliDnsRecordIdRequest : public RpcServiceRequest + { + + public: + CreateAliDnsRecordIdRequest(); + ~CreateAliDnsRecordIdRequest(); + + std::string getRecordId()const; + void setRecordId(const std::string& recordId); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getOrderId()const; + void setOrderId(long orderId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string recordId_; + std::string sourceIp_; + long orderId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEALIDNSRECORDIDREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateAliDnsRecordIdResult.h b/cas/include/alibabacloud/cas/model/CreateAliDnsRecordIdResult.h new file mode 100644 index 000000000..5ecb0acda --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateAliDnsRecordIdResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEALIDNSRECORDIDRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEALIDNSRECORDIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateAliDnsRecordIdResult : public ServiceResult + { + public: + + + CreateAliDnsRecordIdResult(); + explicit CreateAliDnsRecordIdResult(const std::string &payload); + ~CreateAliDnsRecordIdResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEALIDNSRECORDIDRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateCertificateNameRequest.h b/cas/include/alibabacloud/cas/model/CreateCertificateNameRequest.h new file mode 100644 index 000000000..5c9c2c4ec --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateCertificateNameRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATENAMEREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATENAMEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateCertificateNameRequest : public RpcServiceRequest + { + + public: + CreateCertificateNameRequest(); + ~CreateCertificateNameRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getCertificateId()const; + void setCertificateId(long certificateId); + std::string getName()const; + void setName(const std::string& name); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long certificateId_; + std::string name_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATENAMEREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateCertificateNameResult.h b/cas/include/alibabacloud/cas/model/CreateCertificateNameResult.h new file mode 100644 index 000000000..674a5f5fe --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateCertificateNameResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATENAMERESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATENAMERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateCertificateNameResult : public ServiceResult + { + public: + + + CreateCertificateNameResult(); + explicit CreateCertificateNameResult(const std::string &payload); + ~CreateCertificateNameResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATENAMERESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateCertificateRequest.h b/cas/include/alibabacloud/cas/model/CreateCertificateRequest.h new file mode 100644 index 000000000..d923b772a --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateCertificateRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateCertificateRequest : public RpcServiceRequest + { + + public: + CreateCertificateRequest(); + ~CreateCertificateRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getName()const; + void setName(const std::string& name); + std::string getCert()const; + void setCert(const std::string& cert); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getKey()const; + void setKey(const std::string& key); + + private: + std::string sourceIp_; + std::string name_; + std::string cert_; + std::string lang_; + std::string key_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateCertificateResult.h b/cas/include/alibabacloud/cas/model/CreateCertificateResult.h new file mode 100644 index 000000000..0c809e358 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateCertificateResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATERESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateCertificateResult : public ServiceResult + { + public: + + + CreateCertificateResult(); + explicit CreateCertificateResult(const std::string &payload); + ~CreateCertificateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATERESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateCooperationOrderRequest.h b/cas/include/alibabacloud/cas/model/CreateCooperationOrderRequest.h new file mode 100644 index 000000000..7b5e62afd --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateCooperationOrderRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATECOOPERATIONORDERREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATECOOPERATIONORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateCooperationOrderRequest : public RpcServiceRequest + { + + public: + CreateCooperationOrderRequest(); + ~CreateCooperationOrderRequest(); + + std::string getProductCode()const; + void setProductCode(const std::string& productCode); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getDomain()const; + void setDomain(const std::string& domain); + std::string getFrom()const; + void setFrom(const std::string& from); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string productCode_; + std::string sourceIp_; + std::string domain_; + std::string from_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATECOOPERATIONORDERREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateCooperationOrderResult.h b/cas/include/alibabacloud/cas/model/CreateCooperationOrderResult.h new file mode 100644 index 000000000..cffc435e4 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateCooperationOrderResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATECOOPERATIONORDERRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATECOOPERATIONORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateCooperationOrderResult : public ServiceResult + { + public: + + + CreateCooperationOrderResult(); + explicit CreateCooperationOrderResult(const std::string &payload); + ~CreateCooperationOrderResult(); + long getOrderId()const; + + protected: + void parse(const std::string &payload); + private: + long orderId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATECOOPERATIONORDERRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateDeploymentRequest.h b/cas/include/alibabacloud/cas/model/CreateDeploymentRequest.h new file mode 100644 index 000000000..980e63d19 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateDeploymentRequest.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_CAS_MODEL_CREATEDEPLOYMENTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEDEPLOYMENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateDeploymentRequest : public RpcServiceRequest + { + + public: + CreateDeploymentRequest(); + ~CreateDeploymentRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getCertificateId()const; + void setCertificateId(long certificateId); + std::string getDomain()const; + void setDomain(const std::string& domain); + std::string getCloudProduct()const; + void setCloudProduct(const std::string& cloudProduct); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getRegion()const; + void setRegion(const std::string& region); + + private: + std::string sourceIp_; + long certificateId_; + std::string domain_; + std::string cloudProduct_; + std::string lang_; + std::string region_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEDEPLOYMENTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateDeploymentResult.h b/cas/include/alibabacloud/cas/model/CreateDeploymentResult.h new file mode 100644 index 000000000..683932cf4 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateDeploymentResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEDEPLOYMENTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEDEPLOYMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateDeploymentResult : public ServiceResult + { + public: + + + CreateDeploymentResult(); + explicit CreateDeploymentResult(const std::string &payload); + ~CreateDeploymentResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEDEPLOYMENTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusRequest.h b/cas/include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusRequest.h new file mode 100644 index 000000000..4d7585b61 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEDOMAINVERIFYCONFIGURATIONSTATUSREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEDOMAINVERIFYCONFIGURATIONSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateDomainVerifyConfigurationStatusRequest : public RpcServiceRequest + { + + public: + CreateDomainVerifyConfigurationStatusRequest(); + ~CreateDomainVerifyConfigurationStatusRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getOrderId()const; + void setOrderId(long orderId); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + + private: + std::string sourceIp_; + long orderId_; + std::string lang_; + std::string type_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEDOMAINVERIFYCONFIGURATIONSTATUSREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusResult.h b/cas/include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusResult.h new file mode 100644 index 000000000..65ad6a15f --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEDOMAINVERIFYCONFIGURATIONSTATUSRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEDOMAINVERIFYCONFIGURATIONSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateDomainVerifyConfigurationStatusResult : public ServiceResult + { + public: + + + CreateDomainVerifyConfigurationStatusResult(); + explicit CreateDomainVerifyConfigurationStatusResult(const std::string &payload); + ~CreateDomainVerifyConfigurationStatusResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEDOMAINVERIFYCONFIGURATIONSTATUSRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateFilingSignatureDocumentRequest.h b/cas/include/alibabacloud/cas/model/CreateFilingSignatureDocumentRequest.h new file mode 100644 index 000000000..52784b65b --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateFilingSignatureDocumentRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEFILINGSIGNATUREDOCUMENTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEFILINGSIGNATUREDOCUMENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateFilingSignatureDocumentRequest : public RpcServiceRequest + { + + public: + CreateFilingSignatureDocumentRequest(); + ~CreateFilingSignatureDocumentRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getDocId()const; + void setDocId(const std::string& docId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string docId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEFILINGSIGNATUREDOCUMENTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateFilingSignatureDocumentResult.h b/cas/include/alibabacloud/cas/model/CreateFilingSignatureDocumentResult.h new file mode 100644 index 000000000..a0f177e47 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateFilingSignatureDocumentResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEFILINGSIGNATUREDOCUMENTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEFILINGSIGNATUREDOCUMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateFilingSignatureDocumentResult : public ServiceResult + { + public: + + + CreateFilingSignatureDocumentResult(); + explicit CreateFilingSignatureDocumentResult(const std::string &payload); + ~CreateFilingSignatureDocumentResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEFILINGSIGNATUREDOCUMENTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateOrderAuditRequest.h b/cas/include/alibabacloud/cas/model/CreateOrderAuditRequest.h new file mode 100644 index 000000000..9804abaef --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateOrderAuditRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEORDERAUDITREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEORDERAUDITREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateOrderAuditRequest : public RpcServiceRequest + { + + public: + CreateOrderAuditRequest(); + ~CreateOrderAuditRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getOrderId()const; + void setOrderId(long orderId); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getType()const; + void setType(const std::string& type); + + private: + std::string sourceIp_; + long orderId_; + std::string lang_; + std::string type_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEORDERAUDITREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateOrderAuditResult.h b/cas/include/alibabacloud/cas/model/CreateOrderAuditResult.h new file mode 100644 index 000000000..1ea58c510 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateOrderAuditResult.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_CAS_MODEL_CREATEORDERAUDITRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEORDERAUDITRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateOrderAuditResult : public ServiceResult + { + public: + + + CreateOrderAuditResult(); + explicit CreateOrderAuditResult(const std::string &payload); + ~CreateOrderAuditResult(); + std::string getType()const; + std::string getCheckName()const; + std::string getModifiedTime()const; + std::string getCheckType()const; + std::string getCheckName1()const; + std::string getCheckName2()const; + std::string getCheckValue()const; + + protected: + void parse(const std::string &payload); + private: + std::string type_; + std::string checkName_; + std::string modifiedTime_; + std::string checkType_; + std::string checkName1_; + std::string checkName2_; + std::string checkValue_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEORDERAUDITRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateOrderCancelRequest.h b/cas/include/alibabacloud/cas/model/CreateOrderCancelRequest.h new file mode 100644 index 000000000..c18c41a2c --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateOrderCancelRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEORDERCANCELREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEORDERCANCELREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateOrderCancelRequest : public RpcServiceRequest + { + + public: + CreateOrderCancelRequest(); + ~CreateOrderCancelRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getOrderId()const; + void setOrderId(long orderId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long orderId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEORDERCANCELREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateOrderCancelResult.h b/cas/include/alibabacloud/cas/model/CreateOrderCancelResult.h new file mode 100644 index 000000000..05c55b8db --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateOrderCancelResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEORDERCANCELRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEORDERCANCELRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateOrderCancelResult : public ServiceResult + { + public: + + + CreateOrderCancelResult(); + explicit CreateOrderCancelResult(const std::string &payload); + ~CreateOrderCancelResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEORDERCANCELRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateOrderDocumentRequest.h b/cas/include/alibabacloud/cas/model/CreateOrderDocumentRequest.h new file mode 100644 index 000000000..553e6612a --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateOrderDocumentRequest.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_CAS_MODEL_CREATEORDERDOCUMENTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEORDERDOCUMENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateOrderDocumentRequest : public RpcServiceRequest + { + + public: + CreateOrderDocumentRequest(); + ~CreateOrderDocumentRequest(); + + std::string getOssKey()const; + void setOssKey(const std::string& ossKey); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getOrderId()const; + void setOrderId(long orderId); + int getDocumentType()const; + void setDocumentType(int documentType); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getExtName()const; + void setExtName(const std::string& extName); + + private: + std::string ossKey_; + std::string sourceIp_; + long orderId_; + int documentType_; + std::string lang_; + std::string extName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEORDERDOCUMENTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateOrderDocumentResult.h b/cas/include/alibabacloud/cas/model/CreateOrderDocumentResult.h new file mode 100644 index 000000000..0face272b --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateOrderDocumentResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEORDERDOCUMENTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEORDERDOCUMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateOrderDocumentResult : public ServiceResult + { + public: + + + CreateOrderDocumentResult(); + explicit CreateOrderDocumentResult(const std::string &payload); + ~CreateOrderDocumentResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEORDERDOCUMENTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateOrderMaterialRequest.h b/cas/include/alibabacloud/cas/model/CreateOrderMaterialRequest.h new file mode 100644 index 000000000..0c57b7268 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateOrderMaterialRequest.h @@ -0,0 +1,123 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEORDERMATERIALREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEORDERMATERIALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateOrderMaterialRequest : public RpcServiceRequest + { + + public: + CreateOrderMaterialRequest(); + ~CreateOrderMaterialRequest(); + + std::string getLeaderName()const; + void setLeaderName(const std::string& leaderName); + std::string getCity()const; + void setCity(const std::string& city); + std::string getCountryCode()const; + void setCountryCode(const std::string& countryCode); + std::string getLeaderEmail()const; + void setLeaderEmail(const std::string& leaderEmail); + std::string getCompanyAddress()const; + void setCompanyAddress(const std::string& companyAddress); + std::string getCompanyCode()const; + void setCompanyCode(const std::string& companyCode); + std::string getPersonEmail()const; + void setPersonEmail(const std::string& personEmail); + std::string getProvince()const; + void setProvince(const std::string& province); + int getDomainAuthType()const; + void setDomainAuthType(int domainAuthType); + std::string getLeaderPhone()const; + void setLeaderPhone(const std::string& leaderPhone); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getCsrContent()const; + void setCsrContent(const std::string& csrContent); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getPersonName()const; + void setPersonName(const std::string& personName); + std::string getPersonIdCardNumber()const; + void setPersonIdCardNumber(const std::string& personIdCardNumber); + long getOrderId()const; + void setOrderId(long orderId); + std::string getLeaderTitle()const; + void setLeaderTitle(const std::string& leaderTitle); + std::string getPersonTitle()const; + void setPersonTitle(const std::string& personTitle); + std::string getPostCode()const; + void setPostCode(const std::string& postCode); + int getCreateCsr()const; + void setCreateCsr(int createCsr); + std::string getPersonPhone()const; + void setPersonPhone(const std::string& personPhone); + std::string getCompanyName()const; + void setCompanyName(const std::string& companyName); + std::string getCompanyPhone()const; + void setCompanyPhone(const std::string& companyPhone); + int getCompanyType()const; + void setCompanyType(int companyType); + std::string getDomain()const; + void setDomain(const std::string& domain); + std::string getPersonDepartment()const; + void setPersonDepartment(const std::string& personDepartment); + + private: + std::string leaderName_; + std::string city_; + std::string countryCode_; + std::string leaderEmail_; + std::string companyAddress_; + std::string companyCode_; + std::string personEmail_; + std::string province_; + int domainAuthType_; + std::string leaderPhone_; + std::string sourceIp_; + std::string csrContent_; + std::string lang_; + std::string personName_; + std::string personIdCardNumber_; + long orderId_; + std::string leaderTitle_; + std::string personTitle_; + std::string postCode_; + int createCsr_; + std::string personPhone_; + std::string companyName_; + std::string companyPhone_; + int companyType_; + std::string domain_; + std::string personDepartment_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEORDERMATERIALREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateOrderMaterialResult.h b/cas/include/alibabacloud/cas/model/CreateOrderMaterialResult.h new file mode 100644 index 000000000..eb0329851 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateOrderMaterialResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEORDERMATERIALRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEORDERMATERIALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateOrderMaterialResult : public ServiceResult + { + public: + + + CreateOrderMaterialResult(); + explicit CreateOrderMaterialResult(const std::string &payload); + ~CreateOrderMaterialResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEORDERMATERIALRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateOrderRevokeRequest.h b/cas/include/alibabacloud/cas/model/CreateOrderRevokeRequest.h new file mode 100644 index 000000000..b26bc1107 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateOrderRevokeRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEORDERREVOKEREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEORDERREVOKEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateOrderRevokeRequest : public RpcServiceRequest + { + + public: + CreateOrderRevokeRequest(); + ~CreateOrderRevokeRequest(); + + std::string getReason()const; + void setReason(const std::string& reason); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getOrderId()const; + void setOrderId(long orderId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string reason_; + std::string sourceIp_; + long orderId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEORDERREVOKEREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateOrderRevokeResult.h b/cas/include/alibabacloud/cas/model/CreateOrderRevokeResult.h new file mode 100644 index 000000000..d971cc99c --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateOrderRevokeResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEORDERREVOKERESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEORDERREVOKERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateOrderRevokeResult : public ServiceResult + { + public: + + + CreateOrderRevokeResult(); + explicit CreateOrderRevokeResult(const std::string &payload); + ~CreateOrderRevokeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEORDERREVOKERESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateSignatureDocumentRequest.h b/cas/include/alibabacloud/cas/model/CreateSignatureDocumentRequest.h new file mode 100644 index 000000000..8c8c7815b --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateSignatureDocumentRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREDOCUMENTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREDOCUMENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateSignatureDocumentRequest : public RpcServiceRequest + { + + public: + CreateSignatureDocumentRequest(); + ~CreateSignatureDocumentRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getDocContent()const; + void setDocContent(const std::string& docContent); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getDocTitle()const; + void setDocTitle(const std::string& docTitle); + + private: + std::string sourceIp_; + std::string docContent_; + std::string lang_; + std::string docTitle_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREDOCUMENTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateSignatureDocumentResult.h b/cas/include/alibabacloud/cas/model/CreateSignatureDocumentResult.h new file mode 100644 index 000000000..8fae2a228 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateSignatureDocumentResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREDOCUMENTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREDOCUMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateSignatureDocumentResult : public ServiceResult + { + public: + + + CreateSignatureDocumentResult(); + explicit CreateSignatureDocumentResult(const std::string &payload); + ~CreateSignatureDocumentResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREDOCUMENTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateSignaturePeopleCertificateRequest.h b/cas/include/alibabacloud/cas/model/CreateSignaturePeopleCertificateRequest.h new file mode 100644 index 000000000..5a18ecc16 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateSignaturePeopleCertificateRequest.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_CAS_MODEL_CREATESIGNATUREPEOPLECERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREPEOPLECERTIFICATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateSignaturePeopleCertificateRequest : public RpcServiceRequest + { + + public: + CreateSignaturePeopleCertificateRequest(); + ~CreateSignaturePeopleCertificateRequest(); + + std::string getPeopleName()const; + void setPeopleName(const std::string& peopleName); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getMobile()const; + void setMobile(const std::string& mobile); + std::string getIdentityNumber()const; + void setIdentityNumber(const std::string& identityNumber); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getEmail()const; + void setEmail(const std::string& email); + + private: + std::string peopleName_; + std::string sourceIp_; + std::string mobile_; + std::string identityNumber_; + std::string lang_; + std::string email_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREPEOPLECERTIFICATEREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateSignaturePeopleCertificateResult.h b/cas/include/alibabacloud/cas/model/CreateSignaturePeopleCertificateResult.h new file mode 100644 index 000000000..db63e1950 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateSignaturePeopleCertificateResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREPEOPLECERTIFICATERESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREPEOPLECERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateSignaturePeopleCertificateResult : public ServiceResult + { + public: + + + CreateSignaturePeopleCertificateResult(); + explicit CreateSignaturePeopleCertificateResult(const std::string &payload); + ~CreateSignaturePeopleCertificateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREPEOPLECERTIFICATERESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateSignatureRequest.h b/cas/include/alibabacloud/cas/model/CreateSignatureRequest.h new file mode 100644 index 000000000..18ebe132e --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateSignatureRequest.h @@ -0,0 +1,96 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateSignatureRequest : public RpcServiceRequest + { + + public: + CreateSignatureRequest(); + ~CreateSignatureRequest(); + + int getQuantity()const; + void setQuantity(int quantity); + std::string getHandSignImg()const; + void setHandSignImg(const std::string& handSignImg); + std::string getDocId()const; + void setDocId(const std::string& docId); + std::string getCustomApi()const; + void setCustomApi(const std::string& customApi); + int getPositionPage()const; + void setPositionPage(int positionPage); + std::string getDocTitle()const; + void setDocTitle(const std::string& docTitle); + int getPositionX()const; + void setPositionX(int positionX); + int getPositionY()const; + void setPositionY(int positionY); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getPeopleId()const; + void setPeopleId(const std::string& peopleId); + int getPositionType()const; + void setPositionType(int positionType); + std::string getSignKeyword()const; + void setSignKeyword(const std::string& signKeyword); + std::string getNotifyUrl()const; + void setNotifyUrl(const std::string& notifyUrl); + int getValidity()const; + void setValidity(int validity); + std::string getReturnUrl()const; + void setReturnUrl(const std::string& returnUrl); + std::string getLang()const; + void setLang(const std::string& lang); + int getKeywordStrategy()const; + void setKeywordStrategy(int keywordStrategy); + + private: + int quantity_; + std::string handSignImg_; + std::string docId_; + std::string customApi_; + int positionPage_; + std::string docTitle_; + int positionX_; + int positionY_; + std::string sourceIp_; + std::string peopleId_; + int positionType_; + std::string signKeyword_; + std::string notifyUrl_; + int validity_; + std::string returnUrl_; + std::string lang_; + int keywordStrategy_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateSignatureResult.h b/cas/include/alibabacloud/cas/model/CreateSignatureResult.h new file mode 100644 index 000000000..393774ac5 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateSignatureResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATESIGNATURERESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATESIGNATURERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateSignatureResult : public ServiceResult + { + public: + + + CreateSignatureResult(); + explicit CreateSignatureResult(const std::string &payload); + ~CreateSignatureResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATESIGNATURERESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateUnDeploymentRequest.h b/cas/include/alibabacloud/cas/model/CreateUnDeploymentRequest.h new file mode 100644 index 000000000..db74358e7 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateUnDeploymentRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEUNDEPLOYMENTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEUNDEPLOYMENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateUnDeploymentRequest : public RpcServiceRequest + { + + public: + CreateUnDeploymentRequest(); + ~CreateUnDeploymentRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getDeploymentId()const; + void setDeploymentId(long deploymentId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long deploymentId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEUNDEPLOYMENTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateUnDeploymentResult.h b/cas/include/alibabacloud/cas/model/CreateUnDeploymentResult.h new file mode 100644 index 000000000..0426908d5 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateUnDeploymentResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEUNDEPLOYMENTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEUNDEPLOYMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateUnDeploymentResult : public ServiceResult + { + public: + + + CreateUnDeploymentResult(); + explicit CreateUnDeploymentResult(const std::string &payload); + ~CreateUnDeploymentResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEUNDEPLOYMENTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateWebSignatureRequest.h b/cas/include/alibabacloud/cas/model/CreateWebSignatureRequest.h new file mode 100644 index 000000000..9dbfe69b8 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateWebSignatureRequest.h @@ -0,0 +1,96 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEWEBSIGNATUREREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEWEBSIGNATUREREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateWebSignatureRequest : public RpcServiceRequest + { + + public: + CreateWebSignatureRequest(); + ~CreateWebSignatureRequest(); + + int getQuantity()const; + void setQuantity(int quantity); + std::string getHandSignImg()const; + void setHandSignImg(const std::string& handSignImg); + std::string getDocId()const; + void setDocId(const std::string& docId); + std::string getCustomApi()const; + void setCustomApi(const std::string& customApi); + int getPositionPage()const; + void setPositionPage(int positionPage); + std::string getDocTitle()const; + void setDocTitle(const std::string& docTitle); + int getPositionX()const; + void setPositionX(int positionX); + int getPositionY()const; + void setPositionY(int positionY); + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getPeopleId()const; + void setPeopleId(const std::string& peopleId); + int getPositionType()const; + void setPositionType(int positionType); + std::string getSignKeyword()const; + void setSignKeyword(const std::string& signKeyword); + std::string getNotifyUrl()const; + void setNotifyUrl(const std::string& notifyUrl); + int getValidity()const; + void setValidity(int validity); + std::string getReturnUrl()const; + void setReturnUrl(const std::string& returnUrl); + std::string getLang()const; + void setLang(const std::string& lang); + int getKeywordStrategy()const; + void setKeywordStrategy(int keywordStrategy); + + private: + int quantity_; + std::string handSignImg_; + std::string docId_; + std::string customApi_; + int positionPage_; + std::string docTitle_; + int positionX_; + int positionY_; + std::string sourceIp_; + std::string peopleId_; + int positionType_; + std::string signKeyword_; + std::string notifyUrl_; + int validity_; + std::string returnUrl_; + std::string lang_; + int keywordStrategy_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEWEBSIGNATUREREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateWebSignatureResult.h b/cas/include/alibabacloud/cas/model/CreateWebSignatureResult.h new file mode 100644 index 000000000..fe7f9924b --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateWebSignatureResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEWEBSIGNATURERESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEWEBSIGNATURERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CreateWebSignatureResult : public ServiceResult + { + public: + + + CreateWebSignatureResult(); + explicit CreateWebSignatureResult(const std::string &payload); + ~CreateWebSignatureResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEWEBSIGNATURERESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DeleteCertificateRequest.h b/cas/include/alibabacloud/cas/model/DeleteCertificateRequest.h new file mode 100644 index 000000000..0e7be37af --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DeleteCertificateRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DELETECERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DELETECERTIFICATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DeleteCertificateRequest : public RpcServiceRequest + { + + public: + DeleteCertificateRequest(); + ~DeleteCertificateRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getCertificateId()const; + void setCertificateId(long certificateId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long certificateId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DELETECERTIFICATEREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DeleteCertificateResult.h b/cas/include/alibabacloud/cas/model/DeleteCertificateResult.h new file mode 100644 index 000000000..d77e2c4ce --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DeleteCertificateResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DELETECERTIFICATERESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DELETECERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DeleteCertificateResult : public ServiceResult + { + public: + + + DeleteCertificateResult(); + explicit DeleteCertificateResult(const std::string &payload); + ~DeleteCertificateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DELETECERTIFICATERESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DeleteOrderRequest.h b/cas/include/alibabacloud/cas/model/DeleteOrderRequest.h new file mode 100644 index 000000000..924c3791c --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DeleteOrderRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DELETEORDERREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DELETEORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DeleteOrderRequest : public RpcServiceRequest + { + + public: + DeleteOrderRequest(); + ~DeleteOrderRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getOrderId()const; + void setOrderId(long orderId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long orderId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DELETEORDERREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DeleteOrderResult.h b/cas/include/alibabacloud/cas/model/DeleteOrderResult.h new file mode 100644 index 000000000..f9f92e741 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DeleteOrderResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DELETEORDERRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DELETEORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DeleteOrderResult : public ServiceResult + { + public: + + + DeleteOrderResult(); + explicit DeleteOrderResult(const std::string &payload); + ~DeleteOrderResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DELETEORDERRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeCertificateBrandListRequest.h b/cas/include/alibabacloud/cas/model/DescribeCertificateBrandListRequest.h new file mode 100644 index 000000000..7b85778a9 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeCertificateBrandListRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATEBRANDLISTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATEBRANDLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeCertificateBrandListRequest : public RpcServiceRequest + { + + public: + DescribeCertificateBrandListRequest(); + ~DescribeCertificateBrandListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATEBRANDLISTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeCertificateBrandListResult.h b/cas/include/alibabacloud/cas/model/DescribeCertificateBrandListResult.h new file mode 100644 index 000000000..b35d2f687 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeCertificateBrandListResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATEBRANDLISTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATEBRANDLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeCertificateBrandListResult : public ServiceResult + { + public: + struct Brand + { + long id; + std::string name; + }; + + + DescribeCertificateBrandListResult(); + explicit DescribeCertificateBrandListResult(const std::string &payload); + ~DescribeCertificateBrandListResult(); + std::vector getBrandList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector brandList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATEBRANDLISTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeCertificateDetailRequest.h b/cas/include/alibabacloud/cas/model/DescribeCertificateDetailRequest.h new file mode 100644 index 000000000..9420fd6fb --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeCertificateDetailRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATEDETAILREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATEDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeCertificateDetailRequest : public RpcServiceRequest + { + + public: + DescribeCertificateDetailRequest(); + ~DescribeCertificateDetailRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getCertificateId()const; + void setCertificateId(long certificateId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long certificateId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATEDETAILREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeCertificateDetailResult.h b/cas/include/alibabacloud/cas/model/DescribeCertificateDetailResult.h new file mode 100644 index 000000000..b79f7c7fc --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeCertificateDetailResult.h @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATEDETAILRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATEDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeCertificateDetailResult : public ServiceResult + { + public: + + + DescribeCertificateDetailResult(); + explicit DescribeCertificateDetailResult(const std::string &payload); + ~DescribeCertificateDetailResult(); + long getAfterDate()const; + std::string getInstanceId()const; + std::string getSourceType()const; + std::string getFingerPrint()const; + std::string getCertType()const; + int getRemainingDays()const; + long getOrderId()const; + std::string getStatusCode()const; + std::string getName()const; + std::string getDomains()const; + std::string getBrandName()const; + int getYear()const; + long getId()const; + long getBeforeDate()const; + + protected: + void parse(const std::string &payload); + private: + long afterDate_; + std::string instanceId_; + std::string sourceType_; + std::string fingerPrint_; + std::string certType_; + int remainingDays_; + long orderId_; + std::string statusCode_; + std::string name_; + std::string domains_; + std::string brandName_; + int year_; + long id_; + long beforeDate_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATEDETAILRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeCertificateListRequest.h b/cas/include/alibabacloud/cas/model/DescribeCertificateListRequest.h new file mode 100644 index 000000000..ae274a666 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeCertificateListRequest.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_CAS_MODEL_DESCRIBECERTIFICATELISTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeCertificateListRequest : public RpcServiceRequest + { + + public: + DescribeCertificateListRequest(); + ~DescribeCertificateListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getShowSize()const; + void setShowSize(int showSize); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getKeyword()const; + void setKeyword(const std::string& keyword); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string sourceIp_; + int showSize_; + int currentPage_; + std::string keyword_; + std::string lang_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATELISTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeCertificateListResult.h b/cas/include/alibabacloud/cas/model/DescribeCertificateListResult.h new file mode 100644 index 000000000..c354de5eb --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeCertificateListResult.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_CAS_MODEL_DESCRIBECERTIFICATELISTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeCertificateListResult : public ServiceResult + { + public: + struct Certificate + { + long afterDate; + std::string instanceId; + std::string sourceType; + int showDeployment; + std::string certType; + int remainingDays; + std::string newBuyCertType; + long orderId; + std::string statusCode; + std::string name; + std::string brandName; + std::string newBuyBrand; + std::string orderType; + int year; + long id; + std::string deploymentCloudProduct; + std::string domain; + std::string newBuyDomainType; + long beforeDate; + }; + + + DescribeCertificateListResult(); + explicit DescribeCertificateListResult(const std::string &payload); + ~DescribeCertificateListResult(); + int getTotalCount()const; + int getCurrentPage()const; + std::vector getCertificateList()const; + int getShowSize()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int currentPage_; + std::vector certificateList_; + int showSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATELISTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeCertificateStatusCountRequest.h b/cas/include/alibabacloud/cas/model/DescribeCertificateStatusCountRequest.h new file mode 100644 index 000000000..855801c13 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeCertificateStatusCountRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATESTATUSCOUNTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATESTATUSCOUNTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeCertificateStatusCountRequest : public RpcServiceRequest + { + + public: + DescribeCertificateStatusCountRequest(); + ~DescribeCertificateStatusCountRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATESTATUSCOUNTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeCertificateStatusCountResult.h b/cas/include/alibabacloud/cas/model/DescribeCertificateStatusCountResult.h new file mode 100644 index 000000000..a95dcebb8 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeCertificateStatusCountResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATESTATUSCOUNTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATESTATUSCOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeCertificateStatusCountResult : public ServiceResult + { + public: + + + DescribeCertificateStatusCountResult(); + explicit DescribeCertificateStatusCountResult(const std::string &payload); + ~DescribeCertificateStatusCountResult(); + int getPayed()const; + int getRevoked()const; + int getClosed()const; + int getWillExpired()const; + int getIssued()const; + int getExpired()const; + int getCheckedFail()const; + int getChecking()const; + + protected: + void parse(const std::string &payload); + private: + int payed_; + int revoked_; + int closed_; + int willExpired_; + int issued_; + int expired_; + int checkedFail_; + int checking_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATESTATUSCOUNTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeDeploymentDetailRequest.h b/cas/include/alibabacloud/cas/model/DescribeDeploymentDetailRequest.h new file mode 100644 index 000000000..10426025e --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeDeploymentDetailRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTDETAILREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeDeploymentDetailRequest : public RpcServiceRequest + { + + public: + DescribeDeploymentDetailRequest(); + ~DescribeDeploymentDetailRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getCertificateId()const; + void setCertificateId(long certificateId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long certificateId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTDETAILREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeDeploymentDetailResult.h b/cas/include/alibabacloud/cas/model/DescribeDeploymentDetailResult.h new file mode 100644 index 000000000..4a15e406d --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeDeploymentDetailResult.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_CAS_MODEL_DESCRIBEDEPLOYMENTDETAILRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeDeploymentDetailResult : public ServiceResult + { + public: + struct Deployment + { + long deployTime; + std::string region; + long id; + std::string domain; + std::string cloudProduct; + }; + + + DescribeDeploymentDetailResult(); + explicit DescribeDeploymentDetailResult(const std::string &payload); + ~DescribeDeploymentDetailResult(); + std::vector getDeploymentDetail()const; + + protected: + void parse(const std::string &payload); + private: + std::vector deploymentDetail_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTDETAILRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeDeploymentDomainListRequest.h b/cas/include/alibabacloud/cas/model/DescribeDeploymentDomainListRequest.h new file mode 100644 index 000000000..ce7f30f83 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeDeploymentDomainListRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTDOMAINLISTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTDOMAINLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeDeploymentDomainListRequest : public RpcServiceRequest + { + + public: + DescribeDeploymentDomainListRequest(); + ~DescribeDeploymentDomainListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getCertificateId()const; + void setCertificateId(long certificateId); + std::string getCloudProduct()const; + void setCloudProduct(const std::string& cloudProduct); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long certificateId_; + std::string cloudProduct_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTDOMAINLISTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeDeploymentDomainListResult.h b/cas/include/alibabacloud/cas/model/DescribeDeploymentDomainListResult.h new file mode 100644 index 000000000..b1fc5bdab --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeDeploymentDomainListResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTDOMAINLISTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTDOMAINLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeDeploymentDomainListResult : public ServiceResult + { + public: + + + DescribeDeploymentDomainListResult(); + explicit DescribeDeploymentDomainListResult(const std::string &payload); + ~DescribeDeploymentDomainListResult(); + std::vector getDomainList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domainList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTDOMAINLISTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeDeploymentProductRequest.h b/cas/include/alibabacloud/cas/model/DescribeDeploymentProductRequest.h new file mode 100644 index 000000000..bb0d84f3c --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeDeploymentProductRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTPRODUCTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTPRODUCTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeDeploymentProductRequest : public RpcServiceRequest + { + + public: + DescribeDeploymentProductRequest(); + ~DescribeDeploymentProductRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getCertificateId()const; + void setCertificateId(long certificateId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long certificateId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTPRODUCTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeDeploymentProductResult.h b/cas/include/alibabacloud/cas/model/DescribeDeploymentProductResult.h new file mode 100644 index 000000000..1de672294 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeDeploymentProductResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTPRODUCTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTPRODUCTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeDeploymentProductResult : public ServiceResult + { + public: + + + DescribeDeploymentProductResult(); + explicit DescribeDeploymentProductResult(const std::string &payload); + ~DescribeDeploymentProductResult(); + std::vector getProductList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector productList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTPRODUCTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeDeploymentRegionListRequest.h b/cas/include/alibabacloud/cas/model/DescribeDeploymentRegionListRequest.h new file mode 100644 index 000000000..43a3dc051 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeDeploymentRegionListRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTREGIONLISTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTREGIONLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeDeploymentRegionListRequest : public RpcServiceRequest + { + + public: + DescribeDeploymentRegionListRequest(); + ~DescribeDeploymentRegionListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getCertificateId()const; + void setCertificateId(long certificateId); + std::string getCloudProduct()const; + void setCloudProduct(const std::string& cloudProduct); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long certificateId_; + std::string cloudProduct_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTREGIONLISTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeDeploymentRegionListResult.h b/cas/include/alibabacloud/cas/model/DescribeDeploymentRegionListResult.h new file mode 100644 index 000000000..a87a282ce --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeDeploymentRegionListResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTREGIONLISTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTREGIONLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeDeploymentRegionListResult : public ServiceResult + { + public: + + + DescribeDeploymentRegionListResult(); + explicit DescribeDeploymentRegionListResult(const std::string &payload); + ~DescribeDeploymentRegionListResult(); + std::vector getRegionList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector regionList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTREGIONLISTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusRequest.h b/cas/include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusRequest.h new file mode 100644 index 000000000..f5e1c5dd9 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDOMAINVERIFYCONFIGURATIONSTATUSREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDOMAINVERIFYCONFIGURATIONSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeDomainVerifyConfigurationStatusRequest : public RpcServiceRequest + { + + public: + DescribeDomainVerifyConfigurationStatusRequest(); + ~DescribeDomainVerifyConfigurationStatusRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getOrderId()const; + void setOrderId(long orderId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long orderId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDOMAINVERIFYCONFIGURATIONSTATUSREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusResult.h b/cas/include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusResult.h new file mode 100644 index 000000000..e2a3e2308 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDOMAINVERIFYCONFIGURATIONSTATUSRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDOMAINVERIFYCONFIGURATIONSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeDomainVerifyConfigurationStatusResult : public ServiceResult + { + public: + + + DescribeDomainVerifyConfigurationStatusResult(); + explicit DescribeDomainVerifyConfigurationStatusResult(const std::string &payload); + ~DescribeDomainVerifyConfigurationStatusResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDOMAINVERIFYCONFIGURATIONSTATUSRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeDomainVerifyInfoRequest.h b/cas/include/alibabacloud/cas/model/DescribeDomainVerifyInfoRequest.h new file mode 100644 index 000000000..d7350124b --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeDomainVerifyInfoRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDOMAINVERIFYINFOREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDOMAINVERIFYINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeDomainVerifyInfoRequest : public RpcServiceRequest + { + + public: + DescribeDomainVerifyInfoRequest(); + ~DescribeDomainVerifyInfoRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getOrderId()const; + void setOrderId(long orderId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long orderId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDOMAINVERIFYINFOREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeDomainVerifyInfoResult.h b/cas/include/alibabacloud/cas/model/DescribeDomainVerifyInfoResult.h new file mode 100644 index 000000000..da1bc4c08 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeDomainVerifyInfoResult.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_CAS_MODEL_DESCRIBEDOMAINVERIFYINFORESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDOMAINVERIFYINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeDomainVerifyInfoResult : public ServiceResult + { + public: + + + DescribeDomainVerifyInfoResult(); + explicit DescribeDomainVerifyInfoResult(const std::string &payload); + ~DescribeDomainVerifyInfoResult(); + std::string getType()const; + std::string getCheckName()const; + std::string getModifiedTime()const; + std::string getCheckType()const; + std::string getCheckName1()const; + std::string getCheckName2()const; + std::string getCheckValue()const; + + protected: + void parse(const std::string &payload); + private: + std::string type_; + std::string checkName_; + std::string modifiedTime_; + std::string checkType_; + std::string checkName1_; + std::string checkName2_; + std::string checkValue_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDOMAINVERIFYINFORESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeDownloadCertificateRequest.h b/cas/include/alibabacloud/cas/model/DescribeDownloadCertificateRequest.h new file mode 100644 index 000000000..509a7e92c --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeDownloadCertificateRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDOWNLOADCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDOWNLOADCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeDownloadCertificateRequest : public RpcServiceRequest + { + + public: + DescribeDownloadCertificateRequest(); + ~DescribeDownloadCertificateRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getServerType()const; + void setServerType(const std::string& serverType); + long getCertificateId()const; + void setCertificateId(long certificateId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string serverType_; + long certificateId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDOWNLOADCERTIFICATEREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeDownloadCertificateResult.h b/cas/include/alibabacloud/cas/model/DescribeDownloadCertificateResult.h new file mode 100644 index 000000000..5b7826bbe --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeDownloadCertificateResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDOWNLOADCERTIFICATERESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDOWNLOADCERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeDownloadCertificateResult : public ServiceResult + { + public: + + + DescribeDownloadCertificateResult(); + explicit DescribeDownloadCertificateResult(const std::string &payload); + ~DescribeDownloadCertificateResult(); + std::string getOssKey()const; + + protected: + void parse(const std::string &payload); + private: + std::string ossKey_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDOWNLOADCERTIFICATERESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationRequest.h b/cas/include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationRequest.h new file mode 100644 index 000000000..9b763c907 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDOWNLOADDOMAINVERIFYCONFIGURATIONREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDOWNLOADDOMAINVERIFYCONFIGURATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeDownloadDomainVerifyConfigurationRequest : public RpcServiceRequest + { + + public: + DescribeDownloadDomainVerifyConfigurationRequest(); + ~DescribeDownloadDomainVerifyConfigurationRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getOrderId()const; + void setOrderId(long orderId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long orderId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDOWNLOADDOMAINVERIFYCONFIGURATIONREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationResult.h b/cas/include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationResult.h new file mode 100644 index 000000000..d521718eb --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDOWNLOADDOMAINVERIFYCONFIGURATIONRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDOWNLOADDOMAINVERIFYCONFIGURATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeDownloadDomainVerifyConfigurationResult : public ServiceResult + { + public: + + + DescribeDownloadDomainVerifyConfigurationResult(); + explicit DescribeDownloadDomainVerifyConfigurationResult(const std::string &payload); + ~DescribeDownloadDomainVerifyConfigurationResult(); + std::string getOssKey()const; + + protected: + void parse(const std::string &payload); + private: + std::string ossKey_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDOWNLOADDOMAINVERIFYCONFIGURATIONRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeExpectationResultRequest.h b/cas/include/alibabacloud/cas/model/DescribeExpectationResultRequest.h new file mode 100644 index 000000000..194f9e725 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeExpectationResultRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEEXPECTATIONRESULTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEEXPECTATIONRESULTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeExpectationResultRequest : public RpcServiceRequest + { + + public: + DescribeExpectationResultRequest(); + ~DescribeExpectationResultRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getOrderId()const; + void setOrderId(long orderId); + std::string getExpectationType()const; + void setExpectationType(const std::string& expectationType); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long orderId_; + std::string expectationType_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEEXPECTATIONRESULTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeExpectationResultResult.h b/cas/include/alibabacloud/cas/model/DescribeExpectationResultResult.h new file mode 100644 index 000000000..9eff31d10 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeExpectationResultResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEEXPECTATIONRESULTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEEXPECTATIONRESULTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeExpectationResultResult : public ServiceResult + { + public: + + + DescribeExpectationResultResult(); + explicit DescribeExpectationResultResult(const std::string &payload); + ~DescribeExpectationResultResult(); + std::string getCheckName()const; + std::string getModifiedTime()const; + std::string getProcessStatus()const; + std::string getExpectationType()const; + std::string getCheckType()const; + std::string getCheckName1()const; + std::string getCheckName2()const; + std::string getErrorMessage()const; + std::string getCheckValue()const; + + protected: + void parse(const std::string &payload); + private: + std::string checkName_; + std::string modifiedTime_; + std::string processStatus_; + std::string expectationType_; + std::string checkType_; + std::string checkName1_; + std::string checkName2_; + std::string errorMessage_; + std::string checkValue_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEEXPECTATIONRESULTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeHelpListRequest.h b/cas/include/alibabacloud/cas/model/DescribeHelpListRequest.h new file mode 100644 index 000000000..ec1876cbf --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeHelpListRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEHELPLISTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEHELPLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeHelpListRequest : public RpcServiceRequest + { + + public: + DescribeHelpListRequest(); + ~DescribeHelpListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getCategory()const; + void setCategory(const std::string& category); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string category_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEHELPLISTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeHelpListResult.h b/cas/include/alibabacloud/cas/model/DescribeHelpListResult.h new file mode 100644 index 000000000..8b1b78fc4 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeHelpListResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEHELPLISTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEHELPLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeHelpListResult : public ServiceResult + { + public: + + + DescribeHelpListResult(); + explicit DescribeHelpListResult(const std::string &payload); + ~DescribeHelpListResult(); + std::string getHelpInfoList()const; + + protected: + void parse(const std::string &payload); + private: + std::string helpInfoList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEHELPLISTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeLocationListRequest.h b/cas/include/alibabacloud/cas/model/DescribeLocationListRequest.h new file mode 100644 index 000000000..6b5c6fea7 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeLocationListRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBELOCATIONLISTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBELOCATIONLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeLocationListRequest : public RpcServiceRequest + { + + public: + DescribeLocationListRequest(); + ~DescribeLocationListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBELOCATIONLISTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeLocationListResult.h b/cas/include/alibabacloud/cas/model/DescribeLocationListResult.h new file mode 100644 index 000000000..795d65c58 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeLocationListResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBELOCATIONLISTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBELOCATIONLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeLocationListResult : public ServiceResult + { + public: + + + DescribeLocationListResult(); + explicit DescribeLocationListResult(const std::string &payload); + ~DescribeLocationListResult(); + std::string getLocationList()const; + + protected: + void parse(const std::string &payload); + private: + std::string locationList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBELOCATIONLISTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeOSSDownloadInfoRequest.h b/cas/include/alibabacloud/cas/model/DescribeOSSDownloadInfoRequest.h new file mode 100644 index 000000000..6667516a6 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeOSSDownloadInfoRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEOSSDOWNLOADINFOREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEOSSDOWNLOADINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeOSSDownloadInfoRequest : public RpcServiceRequest + { + + public: + DescribeOSSDownloadInfoRequest(); + ~DescribeOSSDownloadInfoRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getOssKey()const; + void setOssKey(const std::string& ossKey); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string ossKey_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEOSSDOWNLOADINFOREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeOSSDownloadInfoResult.h b/cas/include/alibabacloud/cas/model/DescribeOSSDownloadInfoResult.h new file mode 100644 index 000000000..998405d62 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeOSSDownloadInfoResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEOSSDOWNLOADINFORESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEOSSDOWNLOADINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeOSSDownloadInfoResult : public ServiceResult + { + public: + + + DescribeOSSDownloadInfoResult(); + explicit DescribeOSSDownloadInfoResult(const std::string &payload); + ~DescribeOSSDownloadInfoResult(); + std::string getDownloadUrl()const; + + protected: + void parse(const std::string &payload); + private: + std::string downloadUrl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEOSSDOWNLOADINFORESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeOSSUploadInfoRequest.h b/cas/include/alibabacloud/cas/model/DescribeOSSUploadInfoRequest.h new file mode 100644 index 000000000..4327454b2 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeOSSUploadInfoRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEOSSUPLOADINFOREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEOSSUPLOADINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeOSSUploadInfoRequest : public RpcServiceRequest + { + + public: + DescribeOSSUploadInfoRequest(); + ~DescribeOSSUploadInfoRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getOrderId()const; + void setOrderId(long orderId); + int getDocumentType()const; + void setDocumentType(int documentType); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long orderId_; + int documentType_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEOSSUPLOADINFOREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeOSSUploadInfoResult.h b/cas/include/alibabacloud/cas/model/DescribeOSSUploadInfoResult.h new file mode 100644 index 000000000..875348a54 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeOSSUploadInfoResult.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_CAS_MODEL_DESCRIBEOSSUPLOADINFORESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEOSSUPLOADINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeOSSUploadInfoResult : public ServiceResult + { + public: + + + DescribeOSSUploadInfoResult(); + explicit DescribeOSSUploadInfoResult(const std::string &payload); + ~DescribeOSSUploadInfoResult(); + std::string getPolicy()const; + int getExpire()const; + std::string getAccessId()const; + std::string getSignature()const; + std::string getHost()const; + std::string getKey()const; + + protected: + void parse(const std::string &payload); + private: + std::string policy_; + int expire_; + std::string accessId_; + std::string signature_; + std::string host_; + std::string key_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEOSSUPLOADINFORESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeOrderAuditFailRecordRequest.h b/cas/include/alibabacloud/cas/model/DescribeOrderAuditFailRecordRequest.h new file mode 100644 index 000000000..392378c51 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeOrderAuditFailRecordRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERAUDITFAILRECORDREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERAUDITFAILRECORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeOrderAuditFailRecordRequest : public RpcServiceRequest + { + + public: + DescribeOrderAuditFailRecordRequest(); + ~DescribeOrderAuditFailRecordRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getOrderId()const; + void setOrderId(long orderId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long orderId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERAUDITFAILRECORDREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeOrderAuditFailRecordResult.h b/cas/include/alibabacloud/cas/model/DescribeOrderAuditFailRecordResult.h new file mode 100644 index 000000000..bd5df1c30 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeOrderAuditFailRecordResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERAUDITFAILRECORDRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERAUDITFAILRECORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeOrderAuditFailRecordResult : public ServiceResult + { + public: + + + DescribeOrderAuditFailRecordResult(); + explicit DescribeOrderAuditFailRecordResult(const std::string &payload); + ~DescribeOrderAuditFailRecordResult(); + std::string getAuditNote()const; + std::string getAuditType()const; + long getAuditTime()const; + + protected: + void parse(const std::string &payload); + private: + std::string auditNote_; + std::string auditType_; + long auditTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERAUDITFAILRECORDRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeOrderDetailRequest.h b/cas/include/alibabacloud/cas/model/DescribeOrderDetailRequest.h new file mode 100644 index 000000000..406cc969d --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeOrderDetailRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERDETAILREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeOrderDetailRequest : public RpcServiceRequest + { + + public: + DescribeOrderDetailRequest(); + ~DescribeOrderDetailRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getOrderId()const; + void setOrderId(long orderId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long orderId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERDETAILREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeOrderDetailResult.h b/cas/include/alibabacloud/cas/model/DescribeOrderDetailResult.h new file mode 100644 index 000000000..8005f0f10 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeOrderDetailResult.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_CAS_MODEL_DESCRIBEORDERDETAILRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeOrderDetailResult : public ServiceResult + { + public: + + + DescribeOrderDetailResult(); + explicit DescribeOrderDetailResult(const std::string &payload); + ~DescribeOrderDetailResult(); + std::string getBrandName()const; + int getYear()const; + std::string getInstanceId()const; + std::string getProductAliasName()const; + std::string getSourceType()const; + std::string getCertType()const; + int getId()const; + long getOrderId()const; + std::string getDomain()const; + int getStatusCode()const; + int getBuyDate()const; + + protected: + void parse(const std::string &payload); + private: + std::string brandName_; + int year_; + std::string instanceId_; + std::string productAliasName_; + std::string sourceType_; + std::string certType_; + int id_; + long orderId_; + std::string domain_; + int statusCode_; + int buyDate_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERDETAILRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeOrderDocumentRequest.h b/cas/include/alibabacloud/cas/model/DescribeOrderDocumentRequest.h new file mode 100644 index 000000000..e81b10230 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeOrderDocumentRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERDOCUMENTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERDOCUMENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeOrderDocumentRequest : public RpcServiceRequest + { + + public: + DescribeOrderDocumentRequest(); + ~DescribeOrderDocumentRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getOrderId()const; + void setOrderId(long orderId); + std::string getType()const; + void setType(const std::string& type); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long orderId_; + std::string type_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERDOCUMENTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeOrderDocumentResult.h b/cas/include/alibabacloud/cas/model/DescribeOrderDocumentResult.h new file mode 100644 index 000000000..1ba7fa056 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeOrderDocumentResult.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERDOCUMENTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERDOCUMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeOrderDocumentResult : public ServiceResult + { + public: + struct OrderDocument + { + std::string orderDocExt; + std::string orderDocOssKey; + std::string tplDocNote; + int documentType; + long orderDocDate; + std::string tplDocOssKey; + }; + + + DescribeOrderDocumentResult(); + explicit DescribeOrderDocumentResult(const std::string &payload); + ~DescribeOrderDocumentResult(); + std::vector getOrderDocumentList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector orderDocumentList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERDOCUMENTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeOrderListRequest.h b/cas/include/alibabacloud/cas/model/DescribeOrderListRequest.h new file mode 100644 index 000000000..304b85606 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeOrderListRequest.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_CAS_MODEL_DESCRIBEORDERLISTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeOrderListRequest : public RpcServiceRequest + { + + public: + DescribeOrderListRequest(); + ~DescribeOrderListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getShowSize()const; + void setShowSize(int showSize); + long getBrandId()const; + void setBrandId(long brandId); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getKeyword()const; + void setKeyword(const std::string& keyword); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string sourceIp_; + int showSize_; + long brandId_; + int currentPage_; + std::string keyword_; + std::string lang_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERLISTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeOrderListResult.h b/cas/include/alibabacloud/cas/model/DescribeOrderListResult.h new file mode 100644 index 000000000..6b7652e82 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeOrderListResult.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_CAS_MODEL_DESCRIBEORDERLISTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeOrderListResult : public ServiceResult + { + public: + struct Order + { + int verifyStatus; + long afterDate; + std::string instanceId; + std::string sourceType; + std::string certType; + int wildDomainCount; + long orderId; + std::string statusCode; + std::string brandName; + std::string orderType; + long year; + bool showCancel; + std::string productAliasName; + long maybeIssueDate; + long id; + std::string domain; + long buyDate; + int domainCount; + long beforeDate; + }; + + + DescribeOrderListResult(); + explicit DescribeOrderListResult(const std::string &payload); + ~DescribeOrderListResult(); + int getTotalCount()const; + int getCurrentPage()const; + int getShowSize()const; + std::vector getOrderList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int currentPage_; + int showSize_; + std::vector orderList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERLISTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeOrderMaterialRequest.h b/cas/include/alibabacloud/cas/model/DescribeOrderMaterialRequest.h new file mode 100644 index 000000000..b2ab671bd --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeOrderMaterialRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERMATERIALREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERMATERIALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeOrderMaterialRequest : public RpcServiceRequest + { + + public: + DescribeOrderMaterialRequest(); + ~DescribeOrderMaterialRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + long getOrderId()const; + void setOrderId(long orderId); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + long orderId_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERMATERIALREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeOrderMaterialResult.h b/cas/include/alibabacloud/cas/model/DescribeOrderMaterialResult.h new file mode 100644 index 000000000..b49b8bf7c --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeOrderMaterialResult.h @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERMATERIALRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERMATERIALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeOrderMaterialResult : public ServiceResult + { + public: + + + DescribeOrderMaterialResult(); + explicit DescribeOrderMaterialResult(const std::string &payload); + ~DescribeOrderMaterialResult(); + std::string getPersonName()const; + int getDomainAuthType()const; + std::string getPersonIdCardNumber()const; + std::string getLeaderName()const; + std::string getCompanyEmail()const; + std::string getPersonPhone()const; + int getCompanyType()const; + std::string getCity()const; + std::string getLeaderEmail()const; + std::string getProvince()const; + std::string getPersonTitle()const; + std::string getCompanyAddress()const; + std::string getCompanyName()const; + std::string getPersonDepartment()const; + int getCreateCsr()const; + std::string getCsrContent()const; + std::string getPostCode()const; + std::string getCountryCode()const; + std::string getDomain()const; + std::string getPersonEmail()const; + std::string getLeaderPhone()const; + std::string getCompanyPhone()const; + std::string getCompanyCode()const; + std::string getLeaderTitle()const; + + protected: + void parse(const std::string &payload); + private: + std::string personName_; + int domainAuthType_; + std::string personIdCardNumber_; + std::string leaderName_; + std::string companyEmail_; + std::string personPhone_; + int companyType_; + std::string city_; + std::string leaderEmail_; + std::string province_; + std::string personTitle_; + std::string companyAddress_; + std::string companyName_; + std::string personDepartment_; + int createCsr_; + std::string csrContent_; + std::string postCode_; + std::string countryCode_; + std::string domain_; + std::string personEmail_; + std::string leaderPhone_; + std::string companyPhone_; + std::string companyCode_; + std::string leaderTitle_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERMATERIALRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeSignatureCapacityRequest.h b/cas/include/alibabacloud/cas/model/DescribeSignatureCapacityRequest.h new file mode 100644 index 000000000..9c6b60d58 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeSignatureCapacityRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURECAPACITYREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURECAPACITYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeSignatureCapacityRequest : public RpcServiceRequest + { + + public: + DescribeSignatureCapacityRequest(); + ~DescribeSignatureCapacityRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURECAPACITYREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeSignatureCapacityResult.h b/cas/include/alibabacloud/cas/model/DescribeSignatureCapacityResult.h new file mode 100644 index 000000000..91e73bb8f --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeSignatureCapacityResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURECAPACITYRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURECAPACITYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeSignatureCapacityResult : public ServiceResult + { + public: + + + DescribeSignatureCapacityResult(); + explicit DescribeSignatureCapacityResult(const std::string &payload); + ~DescribeSignatureCapacityResult(); + int getTotalCount()const; + int getRemainCount()const; + int getUsedCount()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int remainCount_; + int usedCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURECAPACITYRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeSignatureStatisticsRequest.h b/cas/include/alibabacloud/cas/model/DescribeSignatureStatisticsRequest.h new file mode 100644 index 000000000..11c56ddef --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeSignatureStatisticsRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURESTATISTICSREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURESTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeSignatureStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeSignatureStatisticsRequest(); + ~DescribeSignatureStatisticsRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURESTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeSignatureStatisticsResult.h b/cas/include/alibabacloud/cas/model/DescribeSignatureStatisticsResult.h new file mode 100644 index 000000000..0d27764e7 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeSignatureStatisticsResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURESTATISTICSRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURESTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeSignatureStatisticsResult : public ServiceResult + { + public: + struct DayData + { + int signCount; + int failCount; + int unSignCount; + std::string date; + }; + + + DescribeSignatureStatisticsResult(); + explicit DescribeSignatureStatisticsResult(const std::string &payload); + ~DescribeSignatureStatisticsResult(); + std::vector getDayDataList()const; + int getSignCount()const; + int getFailCount()const; + int getUnSignCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector dayDataList_; + int signCount_; + int failCount_; + int unSignCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURESTATISTICSRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeSignatureTradeDetailRequest.h b/cas/include/alibabacloud/cas/model/DescribeSignatureTradeDetailRequest.h new file mode 100644 index 000000000..e9e3dc30e --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeSignatureTradeDetailRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURETRADEDETAILREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURETRADEDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeSignatureTradeDetailRequest : public RpcServiceRequest + { + + public: + DescribeSignatureTradeDetailRequest(); + ~DescribeSignatureTradeDetailRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getTransactionId()const; + void setTransactionId(const std::string& transactionId); + + private: + std::string sourceIp_; + std::string lang_; + std::string transactionId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURETRADEDETAILREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeSignatureTradeDetailResult.h b/cas/include/alibabacloud/cas/model/DescribeSignatureTradeDetailResult.h new file mode 100644 index 000000000..87f37b91a --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeSignatureTradeDetailResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURETRADEDETAILRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURETRADEDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeSignatureTradeDetailResult : public ServiceResult + { + public: + + + DescribeSignatureTradeDetailResult(); + explicit DescribeSignatureTradeDetailResult(const std::string &payload); + ~DescribeSignatureTradeDetailResult(); + std::string getDocId()const; + std::string getDocTitle()const; + int getSignMode()const; + long getCreateTime()const; + std::string getTransactionId()const; + std::string getSignCompany()const; + std::string getPeopleId()const; + std::string getPeopleName()const; + int getSignStatus()const; + std::string getPeopleEmail()const; + long getId()const; + std::string getPeopleMobile()const; + std::string getPeopleIdentity()const; + + protected: + void parse(const std::string &payload); + private: + std::string docId_; + std::string docTitle_; + int signMode_; + long createTime_; + std::string transactionId_; + std::string signCompany_; + std::string peopleId_; + std::string peopleName_; + int signStatus_; + std::string peopleEmail_; + long id_; + std::string peopleMobile_; + std::string peopleIdentity_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURETRADEDETAILRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeSignatureTradeListRequest.h b/cas/include/alibabacloud/cas/model/DescribeSignatureTradeListRequest.h new file mode 100644 index 000000000..d6ab07c7f --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeSignatureTradeListRequest.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_CAS_MODEL_DESCRIBESIGNATURETRADELISTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURETRADELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeSignatureTradeListRequest : public RpcServiceRequest + { + + public: + DescribeSignatureTradeListRequest(); + ~DescribeSignatureTradeListRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + int getShowSize()const; + void setShowSize(int showSize); + std::string getSearchType()const; + void setSearchType(const std::string& searchType); + int getCurrentPage()const; + void setCurrentPage(int currentPage); + std::string getLang()const; + void setLang(const std::string& lang); + std::string getSearchValue()const; + void setSearchValue(const std::string& searchValue); + + private: + std::string sourceIp_; + int showSize_; + std::string searchType_; + int currentPage_; + std::string lang_; + std::string searchValue_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURETRADELISTREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeSignatureTradeListResult.h b/cas/include/alibabacloud/cas/model/DescribeSignatureTradeListResult.h new file mode 100644 index 000000000..3a796b2b2 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeSignatureTradeListResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURETRADELISTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURETRADELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeSignatureTradeListResult : public ServiceResult + { + public: + struct Trade + { + std::string peopleId; + std::string docId; + std::string docTitle; + std::string peopleName; + int signStatus; + int signMode; + long createTime; + long id; + std::string transactionId; + }; + + + DescribeSignatureTradeListResult(); + explicit DescribeSignatureTradeListResult(const std::string &payload); + ~DescribeSignatureTradeListResult(); + int getTotalCount()const; + int getCurrentPage()const; + int getShowSize()const; + std::vector getTradeList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int currentPage_; + int showSize_; + std::vector tradeList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATURETRADELISTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeStsAuthStatusRequest.h b/cas/include/alibabacloud/cas/model/DescribeStsAuthStatusRequest.h new file mode 100644 index 000000000..ce64323c1 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeStsAuthStatusRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBESTSAUTHSTATUSREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBESTSAUTHSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeStsAuthStatusRequest : public RpcServiceRequest + { + + public: + DescribeStsAuthStatusRequest(); + ~DescribeStsAuthStatusRequest(); + + std::string getSourceIp()const; + void setSourceIp(const std::string& sourceIp); + std::string getCloudProduct()const; + void setCloudProduct(const std::string& cloudProduct); + std::string getLang()const; + void setLang(const std::string& lang); + + private: + std::string sourceIp_; + std::string cloudProduct_; + std::string lang_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBESTSAUTHSTATUSREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeStsAuthStatusResult.h b/cas/include/alibabacloud/cas/model/DescribeStsAuthStatusResult.h new file mode 100644 index 000000000..c21739be4 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeStsAuthStatusResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBESTSAUTHSTATUSRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBESTSAUTHSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT DescribeStsAuthStatusResult : public ServiceResult + { + public: + + + DescribeStsAuthStatusResult(); + explicit DescribeStsAuthStatusResult(const std::string &payload); + ~DescribeStsAuthStatusResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBESTSAUTHSTATUSRESULT_H_ \ No newline at end of file diff --git a/cas/src/CasClient.cc b/cas/src/CasClient.cc new file mode 100644 index 000000000..0c8fc50e6 --- /dev/null +++ b/cas/src/CasClient.cc @@ -0,0 +1,1709 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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; +using namespace AlibabaCloud::Location; +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +namespace +{ + const std::string SERVICE_NAME = "cas"; +} + +CasClient::CasClient(const Credentials &credentials, const ClientConfiguration &configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) +{ + auto locationClient = std::make_shared(credentials, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "cas_esign_fdd"); +} + +CasClient::CasClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) +{ + auto locationClient = std::make_shared(credentialsProvider, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "cas_esign_fdd"); +} + +CasClient::CasClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) +{ + auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "cas_esign_fdd"); +} + +CasClient::~CasClient() +{} + +CasClient::CreateSignatureOutcome CasClient::createSignature(const CreateSignatureRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateSignatureOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateSignatureOutcome(CreateSignatureResult(outcome.result())); + else + return CreateSignatureOutcome(outcome.error()); +} + +void CasClient::createSignatureAsync(const CreateSignatureRequest& request, const CreateSignatureAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createSignature(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateSignatureOutcomeCallable CasClient::createSignatureCallable(const CreateSignatureRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createSignature(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeCertificateStatusCountOutcome CasClient::describeCertificateStatusCount(const DescribeCertificateStatusCountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCertificateStatusCountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCertificateStatusCountOutcome(DescribeCertificateStatusCountResult(outcome.result())); + else + return DescribeCertificateStatusCountOutcome(outcome.error()); +} + +void CasClient::describeCertificateStatusCountAsync(const DescribeCertificateStatusCountRequest& request, const DescribeCertificateStatusCountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCertificateStatusCount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeCertificateStatusCountOutcomeCallable CasClient::describeCertificateStatusCountCallable(const DescribeCertificateStatusCountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCertificateStatusCount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::CreateOrderDocumentOutcome CasClient::createOrderDocument(const CreateOrderDocumentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateOrderDocumentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateOrderDocumentOutcome(CreateOrderDocumentResult(outcome.result())); + else + return CreateOrderDocumentOutcome(outcome.error()); +} + +void CasClient::createOrderDocumentAsync(const CreateOrderDocumentRequest& request, const CreateOrderDocumentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createOrderDocument(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateOrderDocumentOutcomeCallable CasClient::createOrderDocumentCallable(const CreateOrderDocumentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createOrderDocument(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeExpectationResultOutcome CasClient::describeExpectationResult(const DescribeExpectationResultRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeExpectationResultOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeExpectationResultOutcome(DescribeExpectationResultResult(outcome.result())); + else + return DescribeExpectationResultOutcome(outcome.error()); +} + +void CasClient::describeExpectationResultAsync(const DescribeExpectationResultRequest& request, const DescribeExpectationResultAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeExpectationResult(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeExpectationResultOutcomeCallable CasClient::describeExpectationResultCallable(const DescribeExpectationResultRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeExpectationResult(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeOrderMaterialOutcome CasClient::describeOrderMaterial(const DescribeOrderMaterialRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeOrderMaterialOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeOrderMaterialOutcome(DescribeOrderMaterialResult(outcome.result())); + else + return DescribeOrderMaterialOutcome(outcome.error()); +} + +void CasClient::describeOrderMaterialAsync(const DescribeOrderMaterialRequest& request, const DescribeOrderMaterialAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeOrderMaterial(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeOrderMaterialOutcomeCallable CasClient::describeOrderMaterialCallable(const DescribeOrderMaterialRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeOrderMaterial(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::CreateSignaturePeopleCertificateOutcome CasClient::createSignaturePeopleCertificate(const CreateSignaturePeopleCertificateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateSignaturePeopleCertificateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateSignaturePeopleCertificateOutcome(CreateSignaturePeopleCertificateResult(outcome.result())); + else + return CreateSignaturePeopleCertificateOutcome(outcome.error()); +} + +void CasClient::createSignaturePeopleCertificateAsync(const CreateSignaturePeopleCertificateRequest& request, const CreateSignaturePeopleCertificateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createSignaturePeopleCertificate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateSignaturePeopleCertificateOutcomeCallable CasClient::createSignaturePeopleCertificateCallable(const CreateSignaturePeopleCertificateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createSignaturePeopleCertificate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeCertificateListOutcome CasClient::describeCertificateList(const DescribeCertificateListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCertificateListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCertificateListOutcome(DescribeCertificateListResult(outcome.result())); + else + return DescribeCertificateListOutcome(outcome.error()); +} + +void CasClient::describeCertificateListAsync(const DescribeCertificateListRequest& request, const DescribeCertificateListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCertificateList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeCertificateListOutcomeCallable CasClient::describeCertificateListCallable(const DescribeCertificateListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCertificateList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeCertificateBrandListOutcome CasClient::describeCertificateBrandList(const DescribeCertificateBrandListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCertificateBrandListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCertificateBrandListOutcome(DescribeCertificateBrandListResult(outcome.result())); + else + return DescribeCertificateBrandListOutcome(outcome.error()); +} + +void CasClient::describeCertificateBrandListAsync(const DescribeCertificateBrandListRequest& request, const DescribeCertificateBrandListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCertificateBrandList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeCertificateBrandListOutcomeCallable CasClient::describeCertificateBrandListCallable(const DescribeCertificateBrandListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCertificateBrandList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeDomainVerifyConfigurationStatusOutcome CasClient::describeDomainVerifyConfigurationStatus(const DescribeDomainVerifyConfigurationStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainVerifyConfigurationStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainVerifyConfigurationStatusOutcome(DescribeDomainVerifyConfigurationStatusResult(outcome.result())); + else + return DescribeDomainVerifyConfigurationStatusOutcome(outcome.error()); +} + +void CasClient::describeDomainVerifyConfigurationStatusAsync(const DescribeDomainVerifyConfigurationStatusRequest& request, const DescribeDomainVerifyConfigurationStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainVerifyConfigurationStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeDomainVerifyConfigurationStatusOutcomeCallable CasClient::describeDomainVerifyConfigurationStatusCallable(const DescribeDomainVerifyConfigurationStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainVerifyConfigurationStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::CreateOrderCancelOutcome CasClient::createOrderCancel(const CreateOrderCancelRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateOrderCancelOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateOrderCancelOutcome(CreateOrderCancelResult(outcome.result())); + else + return CreateOrderCancelOutcome(outcome.error()); +} + +void CasClient::createOrderCancelAsync(const CreateOrderCancelRequest& request, const CreateOrderCancelAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createOrderCancel(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateOrderCancelOutcomeCallable CasClient::createOrderCancelCallable(const CreateOrderCancelRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createOrderCancel(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::CreateAliDnsRecordIdOutcome CasClient::createAliDnsRecordId(const CreateAliDnsRecordIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateAliDnsRecordIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateAliDnsRecordIdOutcome(CreateAliDnsRecordIdResult(outcome.result())); + else + return CreateAliDnsRecordIdOutcome(outcome.error()); +} + +void CasClient::createAliDnsRecordIdAsync(const CreateAliDnsRecordIdRequest& request, const CreateAliDnsRecordIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createAliDnsRecordId(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateAliDnsRecordIdOutcomeCallable CasClient::createAliDnsRecordIdCallable(const CreateAliDnsRecordIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createAliDnsRecordId(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::CreateCertificateOutcome CasClient::createCertificate(const CreateCertificateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCertificateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCertificateOutcome(CreateCertificateResult(outcome.result())); + else + return CreateCertificateOutcome(outcome.error()); +} + +void CasClient::createCertificateAsync(const CreateCertificateRequest& request, const CreateCertificateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCertificate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateCertificateOutcomeCallable CasClient::createCertificateCallable(const CreateCertificateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCertificate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::CreateWebSignatureOutcome CasClient::createWebSignature(const CreateWebSignatureRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateWebSignatureOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateWebSignatureOutcome(CreateWebSignatureResult(outcome.result())); + else + return CreateWebSignatureOutcome(outcome.error()); +} + +void CasClient::createWebSignatureAsync(const CreateWebSignatureRequest& request, const CreateWebSignatureAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createWebSignature(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateWebSignatureOutcomeCallable CasClient::createWebSignatureCallable(const CreateWebSignatureRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createWebSignature(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::CreateUnDeploymentOutcome CasClient::createUnDeployment(const CreateUnDeploymentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateUnDeploymentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateUnDeploymentOutcome(CreateUnDeploymentResult(outcome.result())); + else + return CreateUnDeploymentOutcome(outcome.error()); +} + +void CasClient::createUnDeploymentAsync(const CreateUnDeploymentRequest& request, const CreateUnDeploymentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createUnDeployment(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateUnDeploymentOutcomeCallable CasClient::createUnDeploymentCallable(const CreateUnDeploymentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createUnDeployment(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeDownloadCertificateOutcome CasClient::describeDownloadCertificate(const DescribeDownloadCertificateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDownloadCertificateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDownloadCertificateOutcome(DescribeDownloadCertificateResult(outcome.result())); + else + return DescribeDownloadCertificateOutcome(outcome.error()); +} + +void CasClient::describeDownloadCertificateAsync(const DescribeDownloadCertificateRequest& request, const DescribeDownloadCertificateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDownloadCertificate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeDownloadCertificateOutcomeCallable CasClient::describeDownloadCertificateCallable(const DescribeDownloadCertificateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDownloadCertificate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeCertificateDetailOutcome CasClient::describeCertificateDetail(const DescribeCertificateDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCertificateDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCertificateDetailOutcome(DescribeCertificateDetailResult(outcome.result())); + else + return DescribeCertificateDetailOutcome(outcome.error()); +} + +void CasClient::describeCertificateDetailAsync(const DescribeCertificateDetailRequest& request, const DescribeCertificateDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCertificateDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeCertificateDetailOutcomeCallable CasClient::describeCertificateDetailCallable(const DescribeCertificateDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCertificateDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::CreateOrderMaterialOutcome CasClient::createOrderMaterial(const CreateOrderMaterialRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateOrderMaterialOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateOrderMaterialOutcome(CreateOrderMaterialResult(outcome.result())); + else + return CreateOrderMaterialOutcome(outcome.error()); +} + +void CasClient::createOrderMaterialAsync(const CreateOrderMaterialRequest& request, const CreateOrderMaterialAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createOrderMaterial(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateOrderMaterialOutcomeCallable CasClient::createOrderMaterialCallable(const CreateOrderMaterialRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createOrderMaterial(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeSignatureStatisticsOutcome CasClient::describeSignatureStatistics(const DescribeSignatureStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSignatureStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSignatureStatisticsOutcome(DescribeSignatureStatisticsResult(outcome.result())); + else + return DescribeSignatureStatisticsOutcome(outcome.error()); +} + +void CasClient::describeSignatureStatisticsAsync(const DescribeSignatureStatisticsRequest& request, const DescribeSignatureStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSignatureStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeSignatureStatisticsOutcomeCallable CasClient::describeSignatureStatisticsCallable(const DescribeSignatureStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSignatureStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeSignatureTradeListOutcome CasClient::describeSignatureTradeList(const DescribeSignatureTradeListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSignatureTradeListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSignatureTradeListOutcome(DescribeSignatureTradeListResult(outcome.result())); + else + return DescribeSignatureTradeListOutcome(outcome.error()); +} + +void CasClient::describeSignatureTradeListAsync(const DescribeSignatureTradeListRequest& request, const DescribeSignatureTradeListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSignatureTradeList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeSignatureTradeListOutcomeCallable CasClient::describeSignatureTradeListCallable(const DescribeSignatureTradeListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSignatureTradeList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::CreateFilingSignatureDocumentOutcome CasClient::createFilingSignatureDocument(const CreateFilingSignatureDocumentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateFilingSignatureDocumentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateFilingSignatureDocumentOutcome(CreateFilingSignatureDocumentResult(outcome.result())); + else + return CreateFilingSignatureDocumentOutcome(outcome.error()); +} + +void CasClient::createFilingSignatureDocumentAsync(const CreateFilingSignatureDocumentRequest& request, const CreateFilingSignatureDocumentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createFilingSignatureDocument(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateFilingSignatureDocumentOutcomeCallable CasClient::createFilingSignatureDocumentCallable(const CreateFilingSignatureDocumentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createFilingSignatureDocument(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeDownloadDomainVerifyConfigurationOutcome CasClient::describeDownloadDomainVerifyConfiguration(const DescribeDownloadDomainVerifyConfigurationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDownloadDomainVerifyConfigurationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDownloadDomainVerifyConfigurationOutcome(DescribeDownloadDomainVerifyConfigurationResult(outcome.result())); + else + return DescribeDownloadDomainVerifyConfigurationOutcome(outcome.error()); +} + +void CasClient::describeDownloadDomainVerifyConfigurationAsync(const DescribeDownloadDomainVerifyConfigurationRequest& request, const DescribeDownloadDomainVerifyConfigurationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDownloadDomainVerifyConfiguration(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeDownloadDomainVerifyConfigurationOutcomeCallable CasClient::describeDownloadDomainVerifyConfigurationCallable(const DescribeDownloadDomainVerifyConfigurationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDownloadDomainVerifyConfiguration(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeOSSDownloadInfoOutcome CasClient::describeOSSDownloadInfo(const DescribeOSSDownloadInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeOSSDownloadInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeOSSDownloadInfoOutcome(DescribeOSSDownloadInfoResult(outcome.result())); + else + return DescribeOSSDownloadInfoOutcome(outcome.error()); +} + +void CasClient::describeOSSDownloadInfoAsync(const DescribeOSSDownloadInfoRequest& request, const DescribeOSSDownloadInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeOSSDownloadInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeOSSDownloadInfoOutcomeCallable CasClient::describeOSSDownloadInfoCallable(const DescribeOSSDownloadInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeOSSDownloadInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::CreateCooperationOrderOutcome CasClient::createCooperationOrder(const CreateCooperationOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCooperationOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCooperationOrderOutcome(CreateCooperationOrderResult(outcome.result())); + else + return CreateCooperationOrderOutcome(outcome.error()); +} + +void CasClient::createCooperationOrderAsync(const CreateCooperationOrderRequest& request, const CreateCooperationOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCooperationOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateCooperationOrderOutcomeCallable CasClient::createCooperationOrderCallable(const CreateCooperationOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCooperationOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeDeploymentRegionListOutcome CasClient::describeDeploymentRegionList(const DescribeDeploymentRegionListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDeploymentRegionListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDeploymentRegionListOutcome(DescribeDeploymentRegionListResult(outcome.result())); + else + return DescribeDeploymentRegionListOutcome(outcome.error()); +} + +void CasClient::describeDeploymentRegionListAsync(const DescribeDeploymentRegionListRequest& request, const DescribeDeploymentRegionListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDeploymentRegionList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeDeploymentRegionListOutcomeCallable CasClient::describeDeploymentRegionListCallable(const DescribeDeploymentRegionListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDeploymentRegionList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::CreateOrderAuditOutcome CasClient::createOrderAudit(const CreateOrderAuditRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateOrderAuditOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateOrderAuditOutcome(CreateOrderAuditResult(outcome.result())); + else + return CreateOrderAuditOutcome(outcome.error()); +} + +void CasClient::createOrderAuditAsync(const CreateOrderAuditRequest& request, const CreateOrderAuditAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createOrderAudit(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateOrderAuditOutcomeCallable CasClient::createOrderAuditCallable(const CreateOrderAuditRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createOrderAudit(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DeleteOrderOutcome CasClient::deleteOrder(const DeleteOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteOrderOutcome(DeleteOrderResult(outcome.result())); + else + return DeleteOrderOutcome(outcome.error()); +} + +void CasClient::deleteOrderAsync(const DeleteOrderRequest& request, const DeleteOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DeleteOrderOutcomeCallable CasClient::deleteOrderCallable(const DeleteOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeHelpListOutcome CasClient::describeHelpList(const DescribeHelpListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeHelpListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeHelpListOutcome(DescribeHelpListResult(outcome.result())); + else + return DescribeHelpListOutcome(outcome.error()); +} + +void CasClient::describeHelpListAsync(const DescribeHelpListRequest& request, const DescribeHelpListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeHelpList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeHelpListOutcomeCallable CasClient::describeHelpListCallable(const DescribeHelpListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeHelpList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeStsAuthStatusOutcome CasClient::describeStsAuthStatus(const DescribeStsAuthStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeStsAuthStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeStsAuthStatusOutcome(DescribeStsAuthStatusResult(outcome.result())); + else + return DescribeStsAuthStatusOutcome(outcome.error()); +} + +void CasClient::describeStsAuthStatusAsync(const DescribeStsAuthStatusRequest& request, const DescribeStsAuthStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeStsAuthStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeStsAuthStatusOutcomeCallable CasClient::describeStsAuthStatusCallable(const DescribeStsAuthStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeStsAuthStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeDeploymentDetailOutcome CasClient::describeDeploymentDetail(const DescribeDeploymentDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDeploymentDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDeploymentDetailOutcome(DescribeDeploymentDetailResult(outcome.result())); + else + return DescribeDeploymentDetailOutcome(outcome.error()); +} + +void CasClient::describeDeploymentDetailAsync(const DescribeDeploymentDetailRequest& request, const DescribeDeploymentDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDeploymentDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeDeploymentDetailOutcomeCallable CasClient::describeDeploymentDetailCallable(const DescribeDeploymentDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDeploymentDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeDomainVerifyInfoOutcome CasClient::describeDomainVerifyInfo(const DescribeDomainVerifyInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainVerifyInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainVerifyInfoOutcome(DescribeDomainVerifyInfoResult(outcome.result())); + else + return DescribeDomainVerifyInfoOutcome(outcome.error()); +} + +void CasClient::describeDomainVerifyInfoAsync(const DescribeDomainVerifyInfoRequest& request, const DescribeDomainVerifyInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainVerifyInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeDomainVerifyInfoOutcomeCallable CasClient::describeDomainVerifyInfoCallable(const DescribeDomainVerifyInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainVerifyInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::CreateDeploymentOutcome CasClient::createDeployment(const CreateDeploymentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDeploymentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDeploymentOutcome(CreateDeploymentResult(outcome.result())); + else + return CreateDeploymentOutcome(outcome.error()); +} + +void CasClient::createDeploymentAsync(const CreateDeploymentRequest& request, const CreateDeploymentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDeployment(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateDeploymentOutcomeCallable CasClient::createDeploymentCallable(const CreateDeploymentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDeployment(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeOrderDocumentOutcome CasClient::describeOrderDocument(const DescribeOrderDocumentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeOrderDocumentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeOrderDocumentOutcome(DescribeOrderDocumentResult(outcome.result())); + else + return DescribeOrderDocumentOutcome(outcome.error()); +} + +void CasClient::describeOrderDocumentAsync(const DescribeOrderDocumentRequest& request, const DescribeOrderDocumentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeOrderDocument(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeOrderDocumentOutcomeCallable CasClient::describeOrderDocumentCallable(const DescribeOrderDocumentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeOrderDocument(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::CreateDomainVerifyConfigurationStatusOutcome CasClient::createDomainVerifyConfigurationStatus(const CreateDomainVerifyConfigurationStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDomainVerifyConfigurationStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDomainVerifyConfigurationStatusOutcome(CreateDomainVerifyConfigurationStatusResult(outcome.result())); + else + return CreateDomainVerifyConfigurationStatusOutcome(outcome.error()); +} + +void CasClient::createDomainVerifyConfigurationStatusAsync(const CreateDomainVerifyConfigurationStatusRequest& request, const CreateDomainVerifyConfigurationStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDomainVerifyConfigurationStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateDomainVerifyConfigurationStatusOutcomeCallable CasClient::createDomainVerifyConfigurationStatusCallable(const CreateDomainVerifyConfigurationStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDomainVerifyConfigurationStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::CreateSignatureDocumentOutcome CasClient::createSignatureDocument(const CreateSignatureDocumentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateSignatureDocumentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateSignatureDocumentOutcome(CreateSignatureDocumentResult(outcome.result())); + else + return CreateSignatureDocumentOutcome(outcome.error()); +} + +void CasClient::createSignatureDocumentAsync(const CreateSignatureDocumentRequest& request, const CreateSignatureDocumentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createSignatureDocument(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateSignatureDocumentOutcomeCallable CasClient::createSignatureDocumentCallable(const CreateSignatureDocumentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createSignatureDocument(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeOrderAuditFailRecordOutcome CasClient::describeOrderAuditFailRecord(const DescribeOrderAuditFailRecordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeOrderAuditFailRecordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeOrderAuditFailRecordOutcome(DescribeOrderAuditFailRecordResult(outcome.result())); + else + return DescribeOrderAuditFailRecordOutcome(outcome.error()); +} + +void CasClient::describeOrderAuditFailRecordAsync(const DescribeOrderAuditFailRecordRequest& request, const DescribeOrderAuditFailRecordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeOrderAuditFailRecord(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeOrderAuditFailRecordOutcomeCallable CasClient::describeOrderAuditFailRecordCallable(const DescribeOrderAuditFailRecordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeOrderAuditFailRecord(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeOrderListOutcome CasClient::describeOrderList(const DescribeOrderListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeOrderListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeOrderListOutcome(DescribeOrderListResult(outcome.result())); + else + return DescribeOrderListOutcome(outcome.error()); +} + +void CasClient::describeOrderListAsync(const DescribeOrderListRequest& request, const DescribeOrderListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeOrderList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeOrderListOutcomeCallable CasClient::describeOrderListCallable(const DescribeOrderListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeOrderList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::CreateOrderRevokeOutcome CasClient::createOrderRevoke(const CreateOrderRevokeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateOrderRevokeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateOrderRevokeOutcome(CreateOrderRevokeResult(outcome.result())); + else + return CreateOrderRevokeOutcome(outcome.error()); +} + +void CasClient::createOrderRevokeAsync(const CreateOrderRevokeRequest& request, const CreateOrderRevokeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createOrderRevoke(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateOrderRevokeOutcomeCallable CasClient::createOrderRevokeCallable(const CreateOrderRevokeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createOrderRevoke(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DeleteCertificateOutcome CasClient::deleteCertificate(const DeleteCertificateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCertificateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCertificateOutcome(DeleteCertificateResult(outcome.result())); + else + return DeleteCertificateOutcome(outcome.error()); +} + +void CasClient::deleteCertificateAsync(const DeleteCertificateRequest& request, const DeleteCertificateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCertificate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DeleteCertificateOutcomeCallable CasClient::deleteCertificateCallable(const DeleteCertificateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCertificate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeOrderDetailOutcome CasClient::describeOrderDetail(const DescribeOrderDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeOrderDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeOrderDetailOutcome(DescribeOrderDetailResult(outcome.result())); + else + return DescribeOrderDetailOutcome(outcome.error()); +} + +void CasClient::describeOrderDetailAsync(const DescribeOrderDetailRequest& request, const DescribeOrderDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeOrderDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeOrderDetailOutcomeCallable CasClient::describeOrderDetailCallable(const DescribeOrderDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeOrderDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeOSSUploadInfoOutcome CasClient::describeOSSUploadInfo(const DescribeOSSUploadInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeOSSUploadInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeOSSUploadInfoOutcome(DescribeOSSUploadInfoResult(outcome.result())); + else + return DescribeOSSUploadInfoOutcome(outcome.error()); +} + +void CasClient::describeOSSUploadInfoAsync(const DescribeOSSUploadInfoRequest& request, const DescribeOSSUploadInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeOSSUploadInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeOSSUploadInfoOutcomeCallable CasClient::describeOSSUploadInfoCallable(const DescribeOSSUploadInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeOSSUploadInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeLocationListOutcome CasClient::describeLocationList(const DescribeLocationListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLocationListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLocationListOutcome(DescribeLocationListResult(outcome.result())); + else + return DescribeLocationListOutcome(outcome.error()); +} + +void CasClient::describeLocationListAsync(const DescribeLocationListRequest& request, const DescribeLocationListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLocationList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeLocationListOutcomeCallable CasClient::describeLocationListCallable(const DescribeLocationListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLocationList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeDeploymentProductOutcome CasClient::describeDeploymentProduct(const DescribeDeploymentProductRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDeploymentProductOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDeploymentProductOutcome(DescribeDeploymentProductResult(outcome.result())); + else + return DescribeDeploymentProductOutcome(outcome.error()); +} + +void CasClient::describeDeploymentProductAsync(const DescribeDeploymentProductRequest& request, const DescribeDeploymentProductAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDeploymentProduct(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeDeploymentProductOutcomeCallable CasClient::describeDeploymentProductCallable(const DescribeDeploymentProductRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDeploymentProduct(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeSignatureCapacityOutcome CasClient::describeSignatureCapacity(const DescribeSignatureCapacityRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSignatureCapacityOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSignatureCapacityOutcome(DescribeSignatureCapacityResult(outcome.result())); + else + return DescribeSignatureCapacityOutcome(outcome.error()); +} + +void CasClient::describeSignatureCapacityAsync(const DescribeSignatureCapacityRequest& request, const DescribeSignatureCapacityAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSignatureCapacity(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeSignatureCapacityOutcomeCallable CasClient::describeSignatureCapacityCallable(const DescribeSignatureCapacityRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSignatureCapacity(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeDeploymentDomainListOutcome CasClient::describeDeploymentDomainList(const DescribeDeploymentDomainListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDeploymentDomainListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDeploymentDomainListOutcome(DescribeDeploymentDomainListResult(outcome.result())); + else + return DescribeDeploymentDomainListOutcome(outcome.error()); +} + +void CasClient::describeDeploymentDomainListAsync(const DescribeDeploymentDomainListRequest& request, const DescribeDeploymentDomainListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDeploymentDomainList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeDeploymentDomainListOutcomeCallable CasClient::describeDeploymentDomainListCallable(const DescribeDeploymentDomainListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDeploymentDomainList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::DescribeSignatureTradeDetailOutcome CasClient::describeSignatureTradeDetail(const DescribeSignatureTradeDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSignatureTradeDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSignatureTradeDetailOutcome(DescribeSignatureTradeDetailResult(outcome.result())); + else + return DescribeSignatureTradeDetailOutcome(outcome.error()); +} + +void CasClient::describeSignatureTradeDetailAsync(const DescribeSignatureTradeDetailRequest& request, const DescribeSignatureTradeDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSignatureTradeDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::DescribeSignatureTradeDetailOutcomeCallable CasClient::describeSignatureTradeDetailCallable(const DescribeSignatureTradeDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSignatureTradeDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CasClient::CreateCertificateNameOutcome CasClient::createCertificateName(const CreateCertificateNameRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCertificateNameOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCertificateNameOutcome(CreateCertificateNameResult(outcome.result())); + else + return CreateCertificateNameOutcome(outcome.error()); +} + +void CasClient::createCertificateNameAsync(const CreateCertificateNameRequest& request, const CreateCertificateNameAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCertificateName(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CasClient::CreateCertificateNameOutcomeCallable CasClient::createCertificateNameCallable(const CreateCertificateNameRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCertificateName(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/cas/src/model/CreateAliDnsRecordIdRequest.cc b/cas/src/model/CreateAliDnsRecordIdRequest.cc new file mode 100644 index 000000000..96e639829 --- /dev/null +++ b/cas/src/model/CreateAliDnsRecordIdRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::CreateAliDnsRecordIdRequest; + +CreateAliDnsRecordIdRequest::CreateAliDnsRecordIdRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateAliDnsRecordId") +{} + +CreateAliDnsRecordIdRequest::~CreateAliDnsRecordIdRequest() +{} + +std::string CreateAliDnsRecordIdRequest::getRecordId()const +{ + return recordId_; +} + +void CreateAliDnsRecordIdRequest::setRecordId(const std::string& recordId) +{ + recordId_ = recordId; + setParameter("RecordId", recordId); +} + +std::string CreateAliDnsRecordIdRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateAliDnsRecordIdRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long CreateAliDnsRecordIdRequest::getOrderId()const +{ + return orderId_; +} + +void CreateAliDnsRecordIdRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +std::string CreateAliDnsRecordIdRequest::getLang()const +{ + return lang_; +} + +void CreateAliDnsRecordIdRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/CreateAliDnsRecordIdResult.cc b/cas/src/model/CreateAliDnsRecordIdResult.cc new file mode 100644 index 000000000..028015863 --- /dev/null +++ b/cas/src/model/CreateAliDnsRecordIdResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateAliDnsRecordIdResult::CreateAliDnsRecordIdResult() : + ServiceResult() +{} + +CreateAliDnsRecordIdResult::CreateAliDnsRecordIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateAliDnsRecordIdResult::~CreateAliDnsRecordIdResult() +{} + +void CreateAliDnsRecordIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/CreateCertificateNameRequest.cc b/cas/src/model/CreateCertificateNameRequest.cc new file mode 100644 index 000000000..d4008e984 --- /dev/null +++ b/cas/src/model/CreateCertificateNameRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::CreateCertificateNameRequest; + +CreateCertificateNameRequest::CreateCertificateNameRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateCertificateName") +{} + +CreateCertificateNameRequest::~CreateCertificateNameRequest() +{} + +std::string CreateCertificateNameRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateCertificateNameRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long CreateCertificateNameRequest::getCertificateId()const +{ + return certificateId_; +} + +void CreateCertificateNameRequest::setCertificateId(long certificateId) +{ + certificateId_ = certificateId; + setParameter("CertificateId", std::to_string(certificateId)); +} + +std::string CreateCertificateNameRequest::getName()const +{ + return name_; +} + +void CreateCertificateNameRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string CreateCertificateNameRequest::getLang()const +{ + return lang_; +} + +void CreateCertificateNameRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/CreateCertificateNameResult.cc b/cas/src/model/CreateCertificateNameResult.cc new file mode 100644 index 000000000..3c0c5772c --- /dev/null +++ b/cas/src/model/CreateCertificateNameResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateCertificateNameResult::CreateCertificateNameResult() : + ServiceResult() +{} + +CreateCertificateNameResult::CreateCertificateNameResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCertificateNameResult::~CreateCertificateNameResult() +{} + +void CreateCertificateNameResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/CreateCertificateRequest.cc b/cas/src/model/CreateCertificateRequest.cc new file mode 100644 index 000000000..37062d15a --- /dev/null +++ b/cas/src/model/CreateCertificateRequest.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 + +using AlibabaCloud::Cas::Model::CreateCertificateRequest; + +CreateCertificateRequest::CreateCertificateRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateCertificate") +{} + +CreateCertificateRequest::~CreateCertificateRequest() +{} + +std::string CreateCertificateRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateCertificateRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string CreateCertificateRequest::getName()const +{ + return name_; +} + +void CreateCertificateRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string CreateCertificateRequest::getCert()const +{ + return cert_; +} + +void CreateCertificateRequest::setCert(const std::string& cert) +{ + cert_ = cert; + setParameter("Cert", cert); +} + +std::string CreateCertificateRequest::getLang()const +{ + return lang_; +} + +void CreateCertificateRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string CreateCertificateRequest::getKey()const +{ + return key_; +} + +void CreateCertificateRequest::setKey(const std::string& key) +{ + key_ = key; + setParameter("Key", key); +} + diff --git a/cas/src/model/CreateCertificateResult.cc b/cas/src/model/CreateCertificateResult.cc new file mode 100644 index 000000000..464b7ec05 --- /dev/null +++ b/cas/src/model/CreateCertificateResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateCertificateResult::CreateCertificateResult() : + ServiceResult() +{} + +CreateCertificateResult::CreateCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCertificateResult::~CreateCertificateResult() +{} + +void CreateCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/CreateCooperationOrderRequest.cc b/cas/src/model/CreateCooperationOrderRequest.cc new file mode 100644 index 000000000..88cd7de0b --- /dev/null +++ b/cas/src/model/CreateCooperationOrderRequest.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 + +using AlibabaCloud::Cas::Model::CreateCooperationOrderRequest; + +CreateCooperationOrderRequest::CreateCooperationOrderRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateCooperationOrder") +{} + +CreateCooperationOrderRequest::~CreateCooperationOrderRequest() +{} + +std::string CreateCooperationOrderRequest::getProductCode()const +{ + return productCode_; +} + +void CreateCooperationOrderRequest::setProductCode(const std::string& productCode) +{ + productCode_ = productCode; + setParameter("ProductCode", productCode); +} + +std::string CreateCooperationOrderRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateCooperationOrderRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string CreateCooperationOrderRequest::getDomain()const +{ + return domain_; +} + +void CreateCooperationOrderRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); +} + +std::string CreateCooperationOrderRequest::getFrom()const +{ + return from_; +} + +void CreateCooperationOrderRequest::setFrom(const std::string& from) +{ + from_ = from; + setParameter("From", from); +} + +std::string CreateCooperationOrderRequest::getLang()const +{ + return lang_; +} + +void CreateCooperationOrderRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/CreateCooperationOrderResult.cc b/cas/src/model/CreateCooperationOrderResult.cc new file mode 100644 index 000000000..5ba8078f1 --- /dev/null +++ b/cas/src/model/CreateCooperationOrderResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateCooperationOrderResult::CreateCooperationOrderResult() : + ServiceResult() +{} + +CreateCooperationOrderResult::CreateCooperationOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCooperationOrderResult::~CreateCooperationOrderResult() +{} + +void CreateCooperationOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["OrderId"].isNull()) + orderId_ = std::stol(value["OrderId"].asString()); + +} + +long CreateCooperationOrderResult::getOrderId()const +{ + return orderId_; +} + diff --git a/cas/src/model/CreateDeploymentRequest.cc b/cas/src/model/CreateDeploymentRequest.cc new file mode 100644 index 000000000..7982cdf3e --- /dev/null +++ b/cas/src/model/CreateDeploymentRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas::Model::CreateDeploymentRequest; + +CreateDeploymentRequest::CreateDeploymentRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateDeployment") +{} + +CreateDeploymentRequest::~CreateDeploymentRequest() +{} + +std::string CreateDeploymentRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateDeploymentRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long CreateDeploymentRequest::getCertificateId()const +{ + return certificateId_; +} + +void CreateDeploymentRequest::setCertificateId(long certificateId) +{ + certificateId_ = certificateId; + setParameter("CertificateId", std::to_string(certificateId)); +} + +std::string CreateDeploymentRequest::getDomain()const +{ + return domain_; +} + +void CreateDeploymentRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); +} + +std::string CreateDeploymentRequest::getCloudProduct()const +{ + return cloudProduct_; +} + +void CreateDeploymentRequest::setCloudProduct(const std::string& cloudProduct) +{ + cloudProduct_ = cloudProduct; + setParameter("CloudProduct", cloudProduct); +} + +std::string CreateDeploymentRequest::getLang()const +{ + return lang_; +} + +void CreateDeploymentRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string CreateDeploymentRequest::getRegion()const +{ + return region_; +} + +void CreateDeploymentRequest::setRegion(const std::string& region) +{ + region_ = region; + setParameter("Region", region); +} + diff --git a/cas/src/model/CreateDeploymentResult.cc b/cas/src/model/CreateDeploymentResult.cc new file mode 100644 index 000000000..c64dc6da9 --- /dev/null +++ b/cas/src/model/CreateDeploymentResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateDeploymentResult::CreateDeploymentResult() : + ServiceResult() +{} + +CreateDeploymentResult::CreateDeploymentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDeploymentResult::~CreateDeploymentResult() +{} + +void CreateDeploymentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/CreateDomainVerifyConfigurationStatusRequest.cc b/cas/src/model/CreateDomainVerifyConfigurationStatusRequest.cc new file mode 100644 index 000000000..c660c793f --- /dev/null +++ b/cas/src/model/CreateDomainVerifyConfigurationStatusRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::CreateDomainVerifyConfigurationStatusRequest; + +CreateDomainVerifyConfigurationStatusRequest::CreateDomainVerifyConfigurationStatusRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateDomainVerifyConfigurationStatus") +{} + +CreateDomainVerifyConfigurationStatusRequest::~CreateDomainVerifyConfigurationStatusRequest() +{} + +std::string CreateDomainVerifyConfigurationStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateDomainVerifyConfigurationStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long CreateDomainVerifyConfigurationStatusRequest::getOrderId()const +{ + return orderId_; +} + +void CreateDomainVerifyConfigurationStatusRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +std::string CreateDomainVerifyConfigurationStatusRequest::getLang()const +{ + return lang_; +} + +void CreateDomainVerifyConfigurationStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string CreateDomainVerifyConfigurationStatusRequest::getType()const +{ + return type_; +} + +void CreateDomainVerifyConfigurationStatusRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + diff --git a/cas/src/model/CreateDomainVerifyConfigurationStatusResult.cc b/cas/src/model/CreateDomainVerifyConfigurationStatusResult.cc new file mode 100644 index 000000000..27a315670 --- /dev/null +++ b/cas/src/model/CreateDomainVerifyConfigurationStatusResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateDomainVerifyConfigurationStatusResult::CreateDomainVerifyConfigurationStatusResult() : + ServiceResult() +{} + +CreateDomainVerifyConfigurationStatusResult::CreateDomainVerifyConfigurationStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDomainVerifyConfigurationStatusResult::~CreateDomainVerifyConfigurationStatusResult() +{} + +void CreateDomainVerifyConfigurationStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/CreateFilingSignatureDocumentRequest.cc b/cas/src/model/CreateFilingSignatureDocumentRequest.cc new file mode 100644 index 000000000..722e097e3 --- /dev/null +++ b/cas/src/model/CreateFilingSignatureDocumentRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::CreateFilingSignatureDocumentRequest; + +CreateFilingSignatureDocumentRequest::CreateFilingSignatureDocumentRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateFilingSignatureDocument") +{} + +CreateFilingSignatureDocumentRequest::~CreateFilingSignatureDocumentRequest() +{} + +std::string CreateFilingSignatureDocumentRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateFilingSignatureDocumentRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string CreateFilingSignatureDocumentRequest::getDocId()const +{ + return docId_; +} + +void CreateFilingSignatureDocumentRequest::setDocId(const std::string& docId) +{ + docId_ = docId; + setParameter("DocId", docId); +} + +std::string CreateFilingSignatureDocumentRequest::getLang()const +{ + return lang_; +} + +void CreateFilingSignatureDocumentRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/CreateFilingSignatureDocumentResult.cc b/cas/src/model/CreateFilingSignatureDocumentResult.cc new file mode 100644 index 000000000..afbabaaa1 --- /dev/null +++ b/cas/src/model/CreateFilingSignatureDocumentResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateFilingSignatureDocumentResult::CreateFilingSignatureDocumentResult() : + ServiceResult() +{} + +CreateFilingSignatureDocumentResult::CreateFilingSignatureDocumentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateFilingSignatureDocumentResult::~CreateFilingSignatureDocumentResult() +{} + +void CreateFilingSignatureDocumentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/CreateOrderAuditRequest.cc b/cas/src/model/CreateOrderAuditRequest.cc new file mode 100644 index 000000000..a41fa0de8 --- /dev/null +++ b/cas/src/model/CreateOrderAuditRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::CreateOrderAuditRequest; + +CreateOrderAuditRequest::CreateOrderAuditRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateOrderAudit") +{} + +CreateOrderAuditRequest::~CreateOrderAuditRequest() +{} + +std::string CreateOrderAuditRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateOrderAuditRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long CreateOrderAuditRequest::getOrderId()const +{ + return orderId_; +} + +void CreateOrderAuditRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +std::string CreateOrderAuditRequest::getLang()const +{ + return lang_; +} + +void CreateOrderAuditRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string CreateOrderAuditRequest::getType()const +{ + return type_; +} + +void CreateOrderAuditRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + diff --git a/cas/src/model/CreateOrderAuditResult.cc b/cas/src/model/CreateOrderAuditResult.cc new file mode 100644 index 000000000..af515086d --- /dev/null +++ b/cas/src/model/CreateOrderAuditResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateOrderAuditResult::CreateOrderAuditResult() : + ServiceResult() +{} + +CreateOrderAuditResult::CreateOrderAuditResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateOrderAuditResult::~CreateOrderAuditResult() +{} + +void CreateOrderAuditResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["CheckName"].isNull()) + checkName_ = value["CheckName"].asString(); + if(!value["CheckValue"].isNull()) + checkValue_ = value["CheckValue"].asString(); + if(!value["ModifiedTime"].isNull()) + modifiedTime_ = value["ModifiedTime"].asString(); + if(!value["CheckType"].isNull()) + checkType_ = value["CheckType"].asString(); + if(!value["CheckName1"].isNull()) + checkName1_ = value["CheckName1"].asString(); + if(!value["CheckName2"].isNull()) + checkName2_ = value["CheckName2"].asString(); + +} + +std::string CreateOrderAuditResult::getType()const +{ + return type_; +} + +std::string CreateOrderAuditResult::getCheckName()const +{ + return checkName_; +} + +std::string CreateOrderAuditResult::getModifiedTime()const +{ + return modifiedTime_; +} + +std::string CreateOrderAuditResult::getCheckType()const +{ + return checkType_; +} + +std::string CreateOrderAuditResult::getCheckName1()const +{ + return checkName1_; +} + +std::string CreateOrderAuditResult::getCheckName2()const +{ + return checkName2_; +} + +std::string CreateOrderAuditResult::getCheckValue()const +{ + return checkValue_; +} + diff --git a/cas/src/model/CreateOrderCancelRequest.cc b/cas/src/model/CreateOrderCancelRequest.cc new file mode 100644 index 000000000..13283d37c --- /dev/null +++ b/cas/src/model/CreateOrderCancelRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::CreateOrderCancelRequest; + +CreateOrderCancelRequest::CreateOrderCancelRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateOrderCancel") +{} + +CreateOrderCancelRequest::~CreateOrderCancelRequest() +{} + +std::string CreateOrderCancelRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateOrderCancelRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long CreateOrderCancelRequest::getOrderId()const +{ + return orderId_; +} + +void CreateOrderCancelRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +std::string CreateOrderCancelRequest::getLang()const +{ + return lang_; +} + +void CreateOrderCancelRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/CreateOrderCancelResult.cc b/cas/src/model/CreateOrderCancelResult.cc new file mode 100644 index 000000000..531527db2 --- /dev/null +++ b/cas/src/model/CreateOrderCancelResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateOrderCancelResult::CreateOrderCancelResult() : + ServiceResult() +{} + +CreateOrderCancelResult::CreateOrderCancelResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateOrderCancelResult::~CreateOrderCancelResult() +{} + +void CreateOrderCancelResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/CreateOrderDocumentRequest.cc b/cas/src/model/CreateOrderDocumentRequest.cc new file mode 100644 index 000000000..742eebae8 --- /dev/null +++ b/cas/src/model/CreateOrderDocumentRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas::Model::CreateOrderDocumentRequest; + +CreateOrderDocumentRequest::CreateOrderDocumentRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateOrderDocument") +{} + +CreateOrderDocumentRequest::~CreateOrderDocumentRequest() +{} + +std::string CreateOrderDocumentRequest::getOssKey()const +{ + return ossKey_; +} + +void CreateOrderDocumentRequest::setOssKey(const std::string& ossKey) +{ + ossKey_ = ossKey; + setParameter("OssKey", ossKey); +} + +std::string CreateOrderDocumentRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateOrderDocumentRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long CreateOrderDocumentRequest::getOrderId()const +{ + return orderId_; +} + +void CreateOrderDocumentRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +int CreateOrderDocumentRequest::getDocumentType()const +{ + return documentType_; +} + +void CreateOrderDocumentRequest::setDocumentType(int documentType) +{ + documentType_ = documentType; + setParameter("DocumentType", std::to_string(documentType)); +} + +std::string CreateOrderDocumentRequest::getLang()const +{ + return lang_; +} + +void CreateOrderDocumentRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string CreateOrderDocumentRequest::getExtName()const +{ + return extName_; +} + +void CreateOrderDocumentRequest::setExtName(const std::string& extName) +{ + extName_ = extName; + setParameter("ExtName", extName); +} + diff --git a/cas/src/model/CreateOrderDocumentResult.cc b/cas/src/model/CreateOrderDocumentResult.cc new file mode 100644 index 000000000..5b940f86d --- /dev/null +++ b/cas/src/model/CreateOrderDocumentResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateOrderDocumentResult::CreateOrderDocumentResult() : + ServiceResult() +{} + +CreateOrderDocumentResult::CreateOrderDocumentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateOrderDocumentResult::~CreateOrderDocumentResult() +{} + +void CreateOrderDocumentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/CreateOrderMaterialRequest.cc b/cas/src/model/CreateOrderMaterialRequest.cc new file mode 100644 index 000000000..bde5910f3 --- /dev/null +++ b/cas/src/model/CreateOrderMaterialRequest.cc @@ -0,0 +1,313 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas::Model::CreateOrderMaterialRequest; + +CreateOrderMaterialRequest::CreateOrderMaterialRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateOrderMaterial") +{} + +CreateOrderMaterialRequest::~CreateOrderMaterialRequest() +{} + +std::string CreateOrderMaterialRequest::getLeaderName()const +{ + return leaderName_; +} + +void CreateOrderMaterialRequest::setLeaderName(const std::string& leaderName) +{ + leaderName_ = leaderName; + setParameter("LeaderName", leaderName); +} + +std::string CreateOrderMaterialRequest::getCity()const +{ + return city_; +} + +void CreateOrderMaterialRequest::setCity(const std::string& city) +{ + city_ = city; + setParameter("City", city); +} + +std::string CreateOrderMaterialRequest::getCountryCode()const +{ + return countryCode_; +} + +void CreateOrderMaterialRequest::setCountryCode(const std::string& countryCode) +{ + countryCode_ = countryCode; + setParameter("CountryCode", countryCode); +} + +std::string CreateOrderMaterialRequest::getLeaderEmail()const +{ + return leaderEmail_; +} + +void CreateOrderMaterialRequest::setLeaderEmail(const std::string& leaderEmail) +{ + leaderEmail_ = leaderEmail; + setParameter("LeaderEmail", leaderEmail); +} + +std::string CreateOrderMaterialRequest::getCompanyAddress()const +{ + return companyAddress_; +} + +void CreateOrderMaterialRequest::setCompanyAddress(const std::string& companyAddress) +{ + companyAddress_ = companyAddress; + setParameter("CompanyAddress", companyAddress); +} + +std::string CreateOrderMaterialRequest::getCompanyCode()const +{ + return companyCode_; +} + +void CreateOrderMaterialRequest::setCompanyCode(const std::string& companyCode) +{ + companyCode_ = companyCode; + setParameter("CompanyCode", companyCode); +} + +std::string CreateOrderMaterialRequest::getPersonEmail()const +{ + return personEmail_; +} + +void CreateOrderMaterialRequest::setPersonEmail(const std::string& personEmail) +{ + personEmail_ = personEmail; + setParameter("PersonEmail", personEmail); +} + +std::string CreateOrderMaterialRequest::getProvince()const +{ + return province_; +} + +void CreateOrderMaterialRequest::setProvince(const std::string& province) +{ + province_ = province; + setParameter("Province", province); +} + +int CreateOrderMaterialRequest::getDomainAuthType()const +{ + return domainAuthType_; +} + +void CreateOrderMaterialRequest::setDomainAuthType(int domainAuthType) +{ + domainAuthType_ = domainAuthType; + setParameter("DomainAuthType", std::to_string(domainAuthType)); +} + +std::string CreateOrderMaterialRequest::getLeaderPhone()const +{ + return leaderPhone_; +} + +void CreateOrderMaterialRequest::setLeaderPhone(const std::string& leaderPhone) +{ + leaderPhone_ = leaderPhone; + setParameter("LeaderPhone", leaderPhone); +} + +std::string CreateOrderMaterialRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateOrderMaterialRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string CreateOrderMaterialRequest::getCsrContent()const +{ + return csrContent_; +} + +void CreateOrderMaterialRequest::setCsrContent(const std::string& csrContent) +{ + csrContent_ = csrContent; + setParameter("CsrContent", csrContent); +} + +std::string CreateOrderMaterialRequest::getLang()const +{ + return lang_; +} + +void CreateOrderMaterialRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string CreateOrderMaterialRequest::getPersonName()const +{ + return personName_; +} + +void CreateOrderMaterialRequest::setPersonName(const std::string& personName) +{ + personName_ = personName; + setParameter("PersonName", personName); +} + +std::string CreateOrderMaterialRequest::getPersonIdCardNumber()const +{ + return personIdCardNumber_; +} + +void CreateOrderMaterialRequest::setPersonIdCardNumber(const std::string& personIdCardNumber) +{ + personIdCardNumber_ = personIdCardNumber; + setParameter("PersonIdCardNumber", personIdCardNumber); +} + +long CreateOrderMaterialRequest::getOrderId()const +{ + return orderId_; +} + +void CreateOrderMaterialRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +std::string CreateOrderMaterialRequest::getLeaderTitle()const +{ + return leaderTitle_; +} + +void CreateOrderMaterialRequest::setLeaderTitle(const std::string& leaderTitle) +{ + leaderTitle_ = leaderTitle; + setParameter("LeaderTitle", leaderTitle); +} + +std::string CreateOrderMaterialRequest::getPersonTitle()const +{ + return personTitle_; +} + +void CreateOrderMaterialRequest::setPersonTitle(const std::string& personTitle) +{ + personTitle_ = personTitle; + setParameter("PersonTitle", personTitle); +} + +std::string CreateOrderMaterialRequest::getPostCode()const +{ + return postCode_; +} + +void CreateOrderMaterialRequest::setPostCode(const std::string& postCode) +{ + postCode_ = postCode; + setParameter("PostCode", postCode); +} + +int CreateOrderMaterialRequest::getCreateCsr()const +{ + return createCsr_; +} + +void CreateOrderMaterialRequest::setCreateCsr(int createCsr) +{ + createCsr_ = createCsr; + setParameter("CreateCsr", std::to_string(createCsr)); +} + +std::string CreateOrderMaterialRequest::getPersonPhone()const +{ + return personPhone_; +} + +void CreateOrderMaterialRequest::setPersonPhone(const std::string& personPhone) +{ + personPhone_ = personPhone; + setParameter("PersonPhone", personPhone); +} + +std::string CreateOrderMaterialRequest::getCompanyName()const +{ + return companyName_; +} + +void CreateOrderMaterialRequest::setCompanyName(const std::string& companyName) +{ + companyName_ = companyName; + setParameter("CompanyName", companyName); +} + +std::string CreateOrderMaterialRequest::getCompanyPhone()const +{ + return companyPhone_; +} + +void CreateOrderMaterialRequest::setCompanyPhone(const std::string& companyPhone) +{ + companyPhone_ = companyPhone; + setParameter("CompanyPhone", companyPhone); +} + +int CreateOrderMaterialRequest::getCompanyType()const +{ + return companyType_; +} + +void CreateOrderMaterialRequest::setCompanyType(int companyType) +{ + companyType_ = companyType; + setParameter("CompanyType", std::to_string(companyType)); +} + +std::string CreateOrderMaterialRequest::getDomain()const +{ + return domain_; +} + +void CreateOrderMaterialRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); +} + +std::string CreateOrderMaterialRequest::getPersonDepartment()const +{ + return personDepartment_; +} + +void CreateOrderMaterialRequest::setPersonDepartment(const std::string& personDepartment) +{ + personDepartment_ = personDepartment; + setParameter("PersonDepartment", personDepartment); +} + diff --git a/cas/src/model/CreateOrderMaterialResult.cc b/cas/src/model/CreateOrderMaterialResult.cc new file mode 100644 index 000000000..cc2144a33 --- /dev/null +++ b/cas/src/model/CreateOrderMaterialResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateOrderMaterialResult::CreateOrderMaterialResult() : + ServiceResult() +{} + +CreateOrderMaterialResult::CreateOrderMaterialResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateOrderMaterialResult::~CreateOrderMaterialResult() +{} + +void CreateOrderMaterialResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/CreateOrderRevokeRequest.cc b/cas/src/model/CreateOrderRevokeRequest.cc new file mode 100644 index 000000000..4b63a1c7d --- /dev/null +++ b/cas/src/model/CreateOrderRevokeRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::CreateOrderRevokeRequest; + +CreateOrderRevokeRequest::CreateOrderRevokeRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateOrderRevoke") +{} + +CreateOrderRevokeRequest::~CreateOrderRevokeRequest() +{} + +std::string CreateOrderRevokeRequest::getReason()const +{ + return reason_; +} + +void CreateOrderRevokeRequest::setReason(const std::string& reason) +{ + reason_ = reason; + setParameter("Reason", reason); +} + +std::string CreateOrderRevokeRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateOrderRevokeRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long CreateOrderRevokeRequest::getOrderId()const +{ + return orderId_; +} + +void CreateOrderRevokeRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +std::string CreateOrderRevokeRequest::getLang()const +{ + return lang_; +} + +void CreateOrderRevokeRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/CreateOrderRevokeResult.cc b/cas/src/model/CreateOrderRevokeResult.cc new file mode 100644 index 000000000..a34b0e757 --- /dev/null +++ b/cas/src/model/CreateOrderRevokeResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateOrderRevokeResult::CreateOrderRevokeResult() : + ServiceResult() +{} + +CreateOrderRevokeResult::CreateOrderRevokeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateOrderRevokeResult::~CreateOrderRevokeResult() +{} + +void CreateOrderRevokeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/CreateSignatureDocumentRequest.cc b/cas/src/model/CreateSignatureDocumentRequest.cc new file mode 100644 index 000000000..79be9ab1d --- /dev/null +++ b/cas/src/model/CreateSignatureDocumentRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::CreateSignatureDocumentRequest; + +CreateSignatureDocumentRequest::CreateSignatureDocumentRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateSignatureDocument") +{} + +CreateSignatureDocumentRequest::~CreateSignatureDocumentRequest() +{} + +std::string CreateSignatureDocumentRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateSignatureDocumentRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string CreateSignatureDocumentRequest::getDocContent()const +{ + return docContent_; +} + +void CreateSignatureDocumentRequest::setDocContent(const std::string& docContent) +{ + docContent_ = docContent; + setParameter("DocContent", docContent); +} + +std::string CreateSignatureDocumentRequest::getLang()const +{ + return lang_; +} + +void CreateSignatureDocumentRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string CreateSignatureDocumentRequest::getDocTitle()const +{ + return docTitle_; +} + +void CreateSignatureDocumentRequest::setDocTitle(const std::string& docTitle) +{ + docTitle_ = docTitle; + setParameter("DocTitle", docTitle); +} + diff --git a/cas/src/model/CreateSignatureDocumentResult.cc b/cas/src/model/CreateSignatureDocumentResult.cc new file mode 100644 index 000000000..6d0544147 --- /dev/null +++ b/cas/src/model/CreateSignatureDocumentResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateSignatureDocumentResult::CreateSignatureDocumentResult() : + ServiceResult() +{} + +CreateSignatureDocumentResult::CreateSignatureDocumentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateSignatureDocumentResult::~CreateSignatureDocumentResult() +{} + +void CreateSignatureDocumentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/CreateSignaturePeopleCertificateRequest.cc b/cas/src/model/CreateSignaturePeopleCertificateRequest.cc new file mode 100644 index 000000000..e43dcbb69 --- /dev/null +++ b/cas/src/model/CreateSignaturePeopleCertificateRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas::Model::CreateSignaturePeopleCertificateRequest; + +CreateSignaturePeopleCertificateRequest::CreateSignaturePeopleCertificateRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateSignaturePeopleCertificate") +{} + +CreateSignaturePeopleCertificateRequest::~CreateSignaturePeopleCertificateRequest() +{} + +std::string CreateSignaturePeopleCertificateRequest::getPeopleName()const +{ + return peopleName_; +} + +void CreateSignaturePeopleCertificateRequest::setPeopleName(const std::string& peopleName) +{ + peopleName_ = peopleName; + setParameter("PeopleName", peopleName); +} + +std::string CreateSignaturePeopleCertificateRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateSignaturePeopleCertificateRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string CreateSignaturePeopleCertificateRequest::getMobile()const +{ + return mobile_; +} + +void CreateSignaturePeopleCertificateRequest::setMobile(const std::string& mobile) +{ + mobile_ = mobile; + setParameter("Mobile", mobile); +} + +std::string CreateSignaturePeopleCertificateRequest::getIdentityNumber()const +{ + return identityNumber_; +} + +void CreateSignaturePeopleCertificateRequest::setIdentityNumber(const std::string& identityNumber) +{ + identityNumber_ = identityNumber; + setParameter("IdentityNumber", identityNumber); +} + +std::string CreateSignaturePeopleCertificateRequest::getLang()const +{ + return lang_; +} + +void CreateSignaturePeopleCertificateRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string CreateSignaturePeopleCertificateRequest::getEmail()const +{ + return email_; +} + +void CreateSignaturePeopleCertificateRequest::setEmail(const std::string& email) +{ + email_ = email; + setParameter("Email", email); +} + diff --git a/cas/src/model/CreateSignaturePeopleCertificateResult.cc b/cas/src/model/CreateSignaturePeopleCertificateResult.cc new file mode 100644 index 000000000..86db51f4b --- /dev/null +++ b/cas/src/model/CreateSignaturePeopleCertificateResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateSignaturePeopleCertificateResult::CreateSignaturePeopleCertificateResult() : + ServiceResult() +{} + +CreateSignaturePeopleCertificateResult::CreateSignaturePeopleCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateSignaturePeopleCertificateResult::~CreateSignaturePeopleCertificateResult() +{} + +void CreateSignaturePeopleCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/CreateSignatureRequest.cc b/cas/src/model/CreateSignatureRequest.cc new file mode 100644 index 000000000..eeef83358 --- /dev/null +++ b/cas/src/model/CreateSignatureRequest.cc @@ -0,0 +1,214 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas::Model::CreateSignatureRequest; + +CreateSignatureRequest::CreateSignatureRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateSignature") +{} + +CreateSignatureRequest::~CreateSignatureRequest() +{} + +int CreateSignatureRequest::getQuantity()const +{ + return quantity_; +} + +void CreateSignatureRequest::setQuantity(int quantity) +{ + quantity_ = quantity; + setParameter("Quantity", std::to_string(quantity)); +} + +std::string CreateSignatureRequest::getHandSignImg()const +{ + return handSignImg_; +} + +void CreateSignatureRequest::setHandSignImg(const std::string& handSignImg) +{ + handSignImg_ = handSignImg; + setParameter("HandSignImg", handSignImg); +} + +std::string CreateSignatureRequest::getDocId()const +{ + return docId_; +} + +void CreateSignatureRequest::setDocId(const std::string& docId) +{ + docId_ = docId; + setParameter("DocId", docId); +} + +std::string CreateSignatureRequest::getCustomApi()const +{ + return customApi_; +} + +void CreateSignatureRequest::setCustomApi(const std::string& customApi) +{ + customApi_ = customApi; + setParameter("CustomApi", customApi); +} + +int CreateSignatureRequest::getPositionPage()const +{ + return positionPage_; +} + +void CreateSignatureRequest::setPositionPage(int positionPage) +{ + positionPage_ = positionPage; + setParameter("PositionPage", std::to_string(positionPage)); +} + +std::string CreateSignatureRequest::getDocTitle()const +{ + return docTitle_; +} + +void CreateSignatureRequest::setDocTitle(const std::string& docTitle) +{ + docTitle_ = docTitle; + setParameter("DocTitle", docTitle); +} + +int CreateSignatureRequest::getPositionX()const +{ + return positionX_; +} + +void CreateSignatureRequest::setPositionX(int positionX) +{ + positionX_ = positionX; + setParameter("PositionX", std::to_string(positionX)); +} + +int CreateSignatureRequest::getPositionY()const +{ + return positionY_; +} + +void CreateSignatureRequest::setPositionY(int positionY) +{ + positionY_ = positionY; + setParameter("PositionY", std::to_string(positionY)); +} + +std::string CreateSignatureRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateSignatureRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string CreateSignatureRequest::getPeopleId()const +{ + return peopleId_; +} + +void CreateSignatureRequest::setPeopleId(const std::string& peopleId) +{ + peopleId_ = peopleId; + setParameter("PeopleId", peopleId); +} + +int CreateSignatureRequest::getPositionType()const +{ + return positionType_; +} + +void CreateSignatureRequest::setPositionType(int positionType) +{ + positionType_ = positionType; + setParameter("PositionType", std::to_string(positionType)); +} + +std::string CreateSignatureRequest::getSignKeyword()const +{ + return signKeyword_; +} + +void CreateSignatureRequest::setSignKeyword(const std::string& signKeyword) +{ + signKeyword_ = signKeyword; + setParameter("SignKeyword", signKeyword); +} + +std::string CreateSignatureRequest::getNotifyUrl()const +{ + return notifyUrl_; +} + +void CreateSignatureRequest::setNotifyUrl(const std::string& notifyUrl) +{ + notifyUrl_ = notifyUrl; + setParameter("NotifyUrl", notifyUrl); +} + +int CreateSignatureRequest::getValidity()const +{ + return validity_; +} + +void CreateSignatureRequest::setValidity(int validity) +{ + validity_ = validity; + setParameter("Validity", std::to_string(validity)); +} + +std::string CreateSignatureRequest::getReturnUrl()const +{ + return returnUrl_; +} + +void CreateSignatureRequest::setReturnUrl(const std::string& returnUrl) +{ + returnUrl_ = returnUrl; + setParameter("ReturnUrl", returnUrl); +} + +std::string CreateSignatureRequest::getLang()const +{ + return lang_; +} + +void CreateSignatureRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +int CreateSignatureRequest::getKeywordStrategy()const +{ + return keywordStrategy_; +} + +void CreateSignatureRequest::setKeywordStrategy(int keywordStrategy) +{ + keywordStrategy_ = keywordStrategy; + setParameter("KeywordStrategy", std::to_string(keywordStrategy)); +} + diff --git a/cas/src/model/CreateSignatureResult.cc b/cas/src/model/CreateSignatureResult.cc new file mode 100644 index 000000000..6e271e63b --- /dev/null +++ b/cas/src/model/CreateSignatureResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateSignatureResult::CreateSignatureResult() : + ServiceResult() +{} + +CreateSignatureResult::CreateSignatureResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateSignatureResult::~CreateSignatureResult() +{} + +void CreateSignatureResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/CreateUnDeploymentRequest.cc b/cas/src/model/CreateUnDeploymentRequest.cc new file mode 100644 index 000000000..7630ef3be --- /dev/null +++ b/cas/src/model/CreateUnDeploymentRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::CreateUnDeploymentRequest; + +CreateUnDeploymentRequest::CreateUnDeploymentRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateUnDeployment") +{} + +CreateUnDeploymentRequest::~CreateUnDeploymentRequest() +{} + +std::string CreateUnDeploymentRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateUnDeploymentRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long CreateUnDeploymentRequest::getDeploymentId()const +{ + return deploymentId_; +} + +void CreateUnDeploymentRequest::setDeploymentId(long deploymentId) +{ + deploymentId_ = deploymentId; + setParameter("DeploymentId", std::to_string(deploymentId)); +} + +std::string CreateUnDeploymentRequest::getLang()const +{ + return lang_; +} + +void CreateUnDeploymentRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/CreateUnDeploymentResult.cc b/cas/src/model/CreateUnDeploymentResult.cc new file mode 100644 index 000000000..537917fe9 --- /dev/null +++ b/cas/src/model/CreateUnDeploymentResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateUnDeploymentResult::CreateUnDeploymentResult() : + ServiceResult() +{} + +CreateUnDeploymentResult::CreateUnDeploymentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateUnDeploymentResult::~CreateUnDeploymentResult() +{} + +void CreateUnDeploymentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/CreateWebSignatureRequest.cc b/cas/src/model/CreateWebSignatureRequest.cc new file mode 100644 index 000000000..5cecf7dc8 --- /dev/null +++ b/cas/src/model/CreateWebSignatureRequest.cc @@ -0,0 +1,214 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas::Model::CreateWebSignatureRequest; + +CreateWebSignatureRequest::CreateWebSignatureRequest() : + RpcServiceRequest("cas", "2018-08-13", "CreateWebSignature") +{} + +CreateWebSignatureRequest::~CreateWebSignatureRequest() +{} + +int CreateWebSignatureRequest::getQuantity()const +{ + return quantity_; +} + +void CreateWebSignatureRequest::setQuantity(int quantity) +{ + quantity_ = quantity; + setParameter("Quantity", std::to_string(quantity)); +} + +std::string CreateWebSignatureRequest::getHandSignImg()const +{ + return handSignImg_; +} + +void CreateWebSignatureRequest::setHandSignImg(const std::string& handSignImg) +{ + handSignImg_ = handSignImg; + setParameter("HandSignImg", handSignImg); +} + +std::string CreateWebSignatureRequest::getDocId()const +{ + return docId_; +} + +void CreateWebSignatureRequest::setDocId(const std::string& docId) +{ + docId_ = docId; + setParameter("DocId", docId); +} + +std::string CreateWebSignatureRequest::getCustomApi()const +{ + return customApi_; +} + +void CreateWebSignatureRequest::setCustomApi(const std::string& customApi) +{ + customApi_ = customApi; + setParameter("CustomApi", customApi); +} + +int CreateWebSignatureRequest::getPositionPage()const +{ + return positionPage_; +} + +void CreateWebSignatureRequest::setPositionPage(int positionPage) +{ + positionPage_ = positionPage; + setParameter("PositionPage", std::to_string(positionPage)); +} + +std::string CreateWebSignatureRequest::getDocTitle()const +{ + return docTitle_; +} + +void CreateWebSignatureRequest::setDocTitle(const std::string& docTitle) +{ + docTitle_ = docTitle; + setParameter("DocTitle", docTitle); +} + +int CreateWebSignatureRequest::getPositionX()const +{ + return positionX_; +} + +void CreateWebSignatureRequest::setPositionX(int positionX) +{ + positionX_ = positionX; + setParameter("PositionX", std::to_string(positionX)); +} + +int CreateWebSignatureRequest::getPositionY()const +{ + return positionY_; +} + +void CreateWebSignatureRequest::setPositionY(int positionY) +{ + positionY_ = positionY; + setParameter("PositionY", std::to_string(positionY)); +} + +std::string CreateWebSignatureRequest::getSourceIp()const +{ + return sourceIp_; +} + +void CreateWebSignatureRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string CreateWebSignatureRequest::getPeopleId()const +{ + return peopleId_; +} + +void CreateWebSignatureRequest::setPeopleId(const std::string& peopleId) +{ + peopleId_ = peopleId; + setParameter("PeopleId", peopleId); +} + +int CreateWebSignatureRequest::getPositionType()const +{ + return positionType_; +} + +void CreateWebSignatureRequest::setPositionType(int positionType) +{ + positionType_ = positionType; + setParameter("PositionType", std::to_string(positionType)); +} + +std::string CreateWebSignatureRequest::getSignKeyword()const +{ + return signKeyword_; +} + +void CreateWebSignatureRequest::setSignKeyword(const std::string& signKeyword) +{ + signKeyword_ = signKeyword; + setParameter("SignKeyword", signKeyword); +} + +std::string CreateWebSignatureRequest::getNotifyUrl()const +{ + return notifyUrl_; +} + +void CreateWebSignatureRequest::setNotifyUrl(const std::string& notifyUrl) +{ + notifyUrl_ = notifyUrl; + setParameter("NotifyUrl", notifyUrl); +} + +int CreateWebSignatureRequest::getValidity()const +{ + return validity_; +} + +void CreateWebSignatureRequest::setValidity(int validity) +{ + validity_ = validity; + setParameter("Validity", std::to_string(validity)); +} + +std::string CreateWebSignatureRequest::getReturnUrl()const +{ + return returnUrl_; +} + +void CreateWebSignatureRequest::setReturnUrl(const std::string& returnUrl) +{ + returnUrl_ = returnUrl; + setParameter("ReturnUrl", returnUrl); +} + +std::string CreateWebSignatureRequest::getLang()const +{ + return lang_; +} + +void CreateWebSignatureRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +int CreateWebSignatureRequest::getKeywordStrategy()const +{ + return keywordStrategy_; +} + +void CreateWebSignatureRequest::setKeywordStrategy(int keywordStrategy) +{ + keywordStrategy_ = keywordStrategy; + setParameter("KeywordStrategy", std::to_string(keywordStrategy)); +} + diff --git a/cas/src/model/CreateWebSignatureResult.cc b/cas/src/model/CreateWebSignatureResult.cc new file mode 100644 index 000000000..06ca1e520 --- /dev/null +++ b/cas/src/model/CreateWebSignatureResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateWebSignatureResult::CreateWebSignatureResult() : + ServiceResult() +{} + +CreateWebSignatureResult::CreateWebSignatureResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateWebSignatureResult::~CreateWebSignatureResult() +{} + +void CreateWebSignatureResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/DeleteCertificateRequest.cc b/cas/src/model/DeleteCertificateRequest.cc new file mode 100644 index 000000000..5757c95be --- /dev/null +++ b/cas/src/model/DeleteCertificateRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::DeleteCertificateRequest; + +DeleteCertificateRequest::DeleteCertificateRequest() : + RpcServiceRequest("cas", "2018-08-13", "DeleteCertificate") +{} + +DeleteCertificateRequest::~DeleteCertificateRequest() +{} + +std::string DeleteCertificateRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteCertificateRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DeleteCertificateRequest::getCertificateId()const +{ + return certificateId_; +} + +void DeleteCertificateRequest::setCertificateId(long certificateId) +{ + certificateId_ = certificateId; + setParameter("CertificateId", std::to_string(certificateId)); +} + +std::string DeleteCertificateRequest::getLang()const +{ + return lang_; +} + +void DeleteCertificateRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DeleteCertificateResult.cc b/cas/src/model/DeleteCertificateResult.cc new file mode 100644 index 000000000..920183e6d --- /dev/null +++ b/cas/src/model/DeleteCertificateResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DeleteCertificateResult::DeleteCertificateResult() : + ServiceResult() +{} + +DeleteCertificateResult::DeleteCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCertificateResult::~DeleteCertificateResult() +{} + +void DeleteCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/DeleteOrderRequest.cc b/cas/src/model/DeleteOrderRequest.cc new file mode 100644 index 000000000..b4091c415 --- /dev/null +++ b/cas/src/model/DeleteOrderRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::DeleteOrderRequest; + +DeleteOrderRequest::DeleteOrderRequest() : + RpcServiceRequest("cas", "2018-08-13", "DeleteOrder") +{} + +DeleteOrderRequest::~DeleteOrderRequest() +{} + +std::string DeleteOrderRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DeleteOrderRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DeleteOrderRequest::getOrderId()const +{ + return orderId_; +} + +void DeleteOrderRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +std::string DeleteOrderRequest::getLang()const +{ + return lang_; +} + +void DeleteOrderRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DeleteOrderResult.cc b/cas/src/model/DeleteOrderResult.cc new file mode 100644 index 000000000..e1c02e0bc --- /dev/null +++ b/cas/src/model/DeleteOrderResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DeleteOrderResult::DeleteOrderResult() : + ServiceResult() +{} + +DeleteOrderResult::DeleteOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteOrderResult::~DeleteOrderResult() +{} + +void DeleteOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/DescribeCertificateBrandListRequest.cc b/cas/src/model/DescribeCertificateBrandListRequest.cc new file mode 100644 index 000000000..5cf848fca --- /dev/null +++ b/cas/src/model/DescribeCertificateBrandListRequest.cc @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeCertificateBrandListRequest; + +DescribeCertificateBrandListRequest::DescribeCertificateBrandListRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeCertificateBrandList") +{} + +DescribeCertificateBrandListRequest::~DescribeCertificateBrandListRequest() +{} + +std::string DescribeCertificateBrandListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeCertificateBrandListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeCertificateBrandListRequest::getLang()const +{ + return lang_; +} + +void DescribeCertificateBrandListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeCertificateBrandListResult.cc b/cas/src/model/DescribeCertificateBrandListResult.cc new file mode 100644 index 000000000..1c9e23b6b --- /dev/null +++ b/cas/src/model/DescribeCertificateBrandListResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeCertificateBrandListResult::DescribeCertificateBrandListResult() : + ServiceResult() +{} + +DescribeCertificateBrandListResult::DescribeCertificateBrandListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCertificateBrandListResult::~DescribeCertificateBrandListResult() +{} + +void DescribeCertificateBrandListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allBrandList = value["BrandList"]["Brand"]; + for (auto value : allBrandList) + { + Brand brandListObject; + if(!value["Id"].isNull()) + brandListObject.id = std::stol(value["Id"].asString()); + if(!value["Name"].isNull()) + brandListObject.name = value["Name"].asString(); + brandList_.push_back(brandListObject); + } + +} + +std::vector DescribeCertificateBrandListResult::getBrandList()const +{ + return brandList_; +} + diff --git a/cas/src/model/DescribeCertificateDetailRequest.cc b/cas/src/model/DescribeCertificateDetailRequest.cc new file mode 100644 index 000000000..8f2e3da1a --- /dev/null +++ b/cas/src/model/DescribeCertificateDetailRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeCertificateDetailRequest; + +DescribeCertificateDetailRequest::DescribeCertificateDetailRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeCertificateDetail") +{} + +DescribeCertificateDetailRequest::~DescribeCertificateDetailRequest() +{} + +std::string DescribeCertificateDetailRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeCertificateDetailRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeCertificateDetailRequest::getCertificateId()const +{ + return certificateId_; +} + +void DescribeCertificateDetailRequest::setCertificateId(long certificateId) +{ + certificateId_ = certificateId; + setParameter("CertificateId", std::to_string(certificateId)); +} + +std::string DescribeCertificateDetailRequest::getLang()const +{ + return lang_; +} + +void DescribeCertificateDetailRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeCertificateDetailResult.cc b/cas/src/model/DescribeCertificateDetailResult.cc new file mode 100644 index 000000000..839af31cc --- /dev/null +++ b/cas/src/model/DescribeCertificateDetailResult.cc @@ -0,0 +1,143 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeCertificateDetailResult::DescribeCertificateDetailResult() : + ServiceResult() +{} + +DescribeCertificateDetailResult::DescribeCertificateDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCertificateDetailResult::~DescribeCertificateDetailResult() +{} + +void DescribeCertificateDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = std::stol(value["Id"].asString()); + if(!value["SourceType"].isNull()) + sourceType_ = value["SourceType"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["OrderId"].isNull()) + orderId_ = std::stol(value["OrderId"].asString()); + if(!value["Year"].isNull()) + year_ = std::stoi(value["Year"].asString()); + if(!value["BeforeDate"].isNull()) + beforeDate_ = std::stol(value["BeforeDate"].asString()); + if(!value["AfterDate"].isNull()) + afterDate_ = std::stol(value["AfterDate"].asString()); + if(!value["FingerPrint"].isNull()) + fingerPrint_ = value["FingerPrint"].asString(); + if(!value["Domains"].isNull()) + domains_ = value["Domains"].asString(); + if(!value["StatusCode"].isNull()) + statusCode_ = value["StatusCode"].asString(); + if(!value["BrandName"].isNull()) + brandName_ = value["BrandName"].asString(); + if(!value["CertType"].isNull()) + certType_ = value["CertType"].asString(); + if(!value["RemainingDays"].isNull()) + remainingDays_ = std::stoi(value["RemainingDays"].asString()); + +} + +long DescribeCertificateDetailResult::getAfterDate()const +{ + return afterDate_; +} + +std::string DescribeCertificateDetailResult::getInstanceId()const +{ + return instanceId_; +} + +std::string DescribeCertificateDetailResult::getSourceType()const +{ + return sourceType_; +} + +std::string DescribeCertificateDetailResult::getFingerPrint()const +{ + return fingerPrint_; +} + +std::string DescribeCertificateDetailResult::getCertType()const +{ + return certType_; +} + +int DescribeCertificateDetailResult::getRemainingDays()const +{ + return remainingDays_; +} + +long DescribeCertificateDetailResult::getOrderId()const +{ + return orderId_; +} + +std::string DescribeCertificateDetailResult::getStatusCode()const +{ + return statusCode_; +} + +std::string DescribeCertificateDetailResult::getName()const +{ + return name_; +} + +std::string DescribeCertificateDetailResult::getDomains()const +{ + return domains_; +} + +std::string DescribeCertificateDetailResult::getBrandName()const +{ + return brandName_; +} + +int DescribeCertificateDetailResult::getYear()const +{ + return year_; +} + +long DescribeCertificateDetailResult::getId()const +{ + return id_; +} + +long DescribeCertificateDetailResult::getBeforeDate()const +{ + return beforeDate_; +} + diff --git a/cas/src/model/DescribeCertificateListRequest.cc b/cas/src/model/DescribeCertificateListRequest.cc new file mode 100644 index 000000000..664581a37 --- /dev/null +++ b/cas/src/model/DescribeCertificateListRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas::Model::DescribeCertificateListRequest; + +DescribeCertificateListRequest::DescribeCertificateListRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeCertificateList") +{} + +DescribeCertificateListRequest::~DescribeCertificateListRequest() +{} + +std::string DescribeCertificateListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeCertificateListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +int DescribeCertificateListRequest::getShowSize()const +{ + return showSize_; +} + +void DescribeCertificateListRequest::setShowSize(int showSize) +{ + showSize_ = showSize; + setParameter("ShowSize", std::to_string(showSize)); +} + +int DescribeCertificateListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeCertificateListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeCertificateListRequest::getKeyword()const +{ + return keyword_; +} + +void DescribeCertificateListRequest::setKeyword(const std::string& keyword) +{ + keyword_ = keyword; + setParameter("Keyword", keyword); +} + +std::string DescribeCertificateListRequest::getLang()const +{ + return lang_; +} + +void DescribeCertificateListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeCertificateListRequest::getStatus()const +{ + return status_; +} + +void DescribeCertificateListRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/cas/src/model/DescribeCertificateListResult.cc b/cas/src/model/DescribeCertificateListResult.cc new file mode 100644 index 000000000..625389180 --- /dev/null +++ b/cas/src/model/DescribeCertificateListResult.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeCertificateListResult::DescribeCertificateListResult() : + ServiceResult() +{} + +DescribeCertificateListResult::DescribeCertificateListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCertificateListResult::~DescribeCertificateListResult() +{} + +void DescribeCertificateListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allCertificateList = value["CertificateList"]["Certificate"]; + for (auto value : allCertificateList) + { + Certificate certificateListObject; + if(!value["Id"].isNull()) + certificateListObject.id = std::stol(value["Id"].asString()); + if(!value["Name"].isNull()) + certificateListObject.name = value["Name"].asString(); + if(!value["SourceType"].isNull()) + certificateListObject.sourceType = value["SourceType"].asString(); + if(!value["CertType"].isNull()) + certificateListObject.certType = value["CertType"].asString(); + if(!value["InstanceId"].isNull()) + certificateListObject.instanceId = value["InstanceId"].asString(); + if(!value["OrderId"].isNull()) + certificateListObject.orderId = std::stol(value["OrderId"].asString()); + if(!value["OrderType"].isNull()) + certificateListObject.orderType = value["OrderType"].asString(); + if(!value["BrandName"].isNull()) + certificateListObject.brandName = value["BrandName"].asString(); + if(!value["BeforeDate"].isNull()) + certificateListObject.beforeDate = std::stol(value["BeforeDate"].asString()); + if(!value["AfterDate"].isNull()) + certificateListObject.afterDate = std::stol(value["AfterDate"].asString()); + if(!value["Year"].isNull()) + certificateListObject.year = std::stoi(value["Year"].asString()); + if(!value["Domain"].isNull()) + certificateListObject.domain = value["Domain"].asString(); + if(!value["RemainingDays"].isNull()) + certificateListObject.remainingDays = std::stoi(value["RemainingDays"].asString()); + if(!value["DeploymentCloudProduct"].isNull()) + certificateListObject.deploymentCloudProduct = value["DeploymentCloudProduct"].asString(); + if(!value["StatusCode"].isNull()) + certificateListObject.statusCode = value["StatusCode"].asString(); + if(!value["NewBuyCertType"].isNull()) + certificateListObject.newBuyCertType = value["NewBuyCertType"].asString(); + if(!value["NewBuyDomainType"].isNull()) + certificateListObject.newBuyDomainType = value["NewBuyDomainType"].asString(); + if(!value["NewBuyBrand"].isNull()) + certificateListObject.newBuyBrand = value["NewBuyBrand"].asString(); + if(!value["ShowDeployment"].isNull()) + certificateListObject.showDeployment = std::stoi(value["ShowDeployment"].asString()); + certificateList_.push_back(certificateListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["ShowSize"].isNull()) + showSize_ = std::stoi(value["ShowSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + +} + +int DescribeCertificateListResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeCertificateListResult::getCurrentPage()const +{ + return currentPage_; +} + +std::vector DescribeCertificateListResult::getCertificateList()const +{ + return certificateList_; +} + +int DescribeCertificateListResult::getShowSize()const +{ + return showSize_; +} + diff --git a/cas/src/model/DescribeCertificateStatusCountRequest.cc b/cas/src/model/DescribeCertificateStatusCountRequest.cc new file mode 100644 index 000000000..cdecf78ca --- /dev/null +++ b/cas/src/model/DescribeCertificateStatusCountRequest.cc @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeCertificateStatusCountRequest; + +DescribeCertificateStatusCountRequest::DescribeCertificateStatusCountRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeCertificateStatusCount") +{} + +DescribeCertificateStatusCountRequest::~DescribeCertificateStatusCountRequest() +{} + +std::string DescribeCertificateStatusCountRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeCertificateStatusCountRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeCertificateStatusCountRequest::getLang()const +{ + return lang_; +} + +void DescribeCertificateStatusCountRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeCertificateStatusCountResult.cc b/cas/src/model/DescribeCertificateStatusCountResult.cc new file mode 100644 index 000000000..8048c5ad3 --- /dev/null +++ b/cas/src/model/DescribeCertificateStatusCountResult.cc @@ -0,0 +1,101 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeCertificateStatusCountResult::DescribeCertificateStatusCountResult() : + ServiceResult() +{} + +DescribeCertificateStatusCountResult::DescribeCertificateStatusCountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCertificateStatusCountResult::~DescribeCertificateStatusCountResult() +{} + +void DescribeCertificateStatusCountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Payed"].isNull()) + payed_ = std::stoi(value["Payed"].asString()); + if(!value["Checking"].isNull()) + checking_ = std::stoi(value["Checking"].asString()); + if(!value["CheckedFail"].isNull()) + checkedFail_ = std::stoi(value["CheckedFail"].asString()); + if(!value["Issued"].isNull()) + issued_ = std::stoi(value["Issued"].asString()); + if(!value["Revoked"].isNull()) + revoked_ = std::stoi(value["Revoked"].asString()); + if(!value["Closed"].isNull()) + closed_ = std::stoi(value["Closed"].asString()); + if(!value["WillExpired"].isNull()) + willExpired_ = std::stoi(value["WillExpired"].asString()); + if(!value["Expired"].isNull()) + expired_ = std::stoi(value["Expired"].asString()); + +} + +int DescribeCertificateStatusCountResult::getPayed()const +{ + return payed_; +} + +int DescribeCertificateStatusCountResult::getRevoked()const +{ + return revoked_; +} + +int DescribeCertificateStatusCountResult::getClosed()const +{ + return closed_; +} + +int DescribeCertificateStatusCountResult::getWillExpired()const +{ + return willExpired_; +} + +int DescribeCertificateStatusCountResult::getIssued()const +{ + return issued_; +} + +int DescribeCertificateStatusCountResult::getExpired()const +{ + return expired_; +} + +int DescribeCertificateStatusCountResult::getCheckedFail()const +{ + return checkedFail_; +} + +int DescribeCertificateStatusCountResult::getChecking()const +{ + return checking_; +} + diff --git a/cas/src/model/DescribeDeploymentDetailRequest.cc b/cas/src/model/DescribeDeploymentDetailRequest.cc new file mode 100644 index 000000000..f0108348d --- /dev/null +++ b/cas/src/model/DescribeDeploymentDetailRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeDeploymentDetailRequest; + +DescribeDeploymentDetailRequest::DescribeDeploymentDetailRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeDeploymentDetail") +{} + +DescribeDeploymentDetailRequest::~DescribeDeploymentDetailRequest() +{} + +std::string DescribeDeploymentDetailRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeDeploymentDetailRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeDeploymentDetailRequest::getCertificateId()const +{ + return certificateId_; +} + +void DescribeDeploymentDetailRequest::setCertificateId(long certificateId) +{ + certificateId_ = certificateId; + setParameter("CertificateId", std::to_string(certificateId)); +} + +std::string DescribeDeploymentDetailRequest::getLang()const +{ + return lang_; +} + +void DescribeDeploymentDetailRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeDeploymentDetailResult.cc b/cas/src/model/DescribeDeploymentDetailResult.cc new file mode 100644 index 000000000..4e375c0a6 --- /dev/null +++ b/cas/src/model/DescribeDeploymentDetailResult.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::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeDeploymentDetailResult::DescribeDeploymentDetailResult() : + ServiceResult() +{} + +DescribeDeploymentDetailResult::DescribeDeploymentDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDeploymentDetailResult::~DescribeDeploymentDetailResult() +{} + +void DescribeDeploymentDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDeploymentDetail = value["DeploymentDetail"]["Deployment"]; + for (auto value : allDeploymentDetail) + { + Deployment deploymentDetailObject; + if(!value["CloudProduct"].isNull()) + deploymentDetailObject.cloudProduct = value["CloudProduct"].asString(); + if(!value["Domain"].isNull()) + deploymentDetailObject.domain = value["Domain"].asString(); + if(!value["Region"].isNull()) + deploymentDetailObject.region = value["Region"].asString(); + if(!value["DeployTime"].isNull()) + deploymentDetailObject.deployTime = std::stol(value["DeployTime"].asString()); + if(!value["Id"].isNull()) + deploymentDetailObject.id = std::stol(value["Id"].asString()); + deploymentDetail_.push_back(deploymentDetailObject); + } + +} + +std::vector DescribeDeploymentDetailResult::getDeploymentDetail()const +{ + return deploymentDetail_; +} + diff --git a/cas/src/model/DescribeDeploymentDomainListRequest.cc b/cas/src/model/DescribeDeploymentDomainListRequest.cc new file mode 100644 index 000000000..4b8848217 --- /dev/null +++ b/cas/src/model/DescribeDeploymentDomainListRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeDeploymentDomainListRequest; + +DescribeDeploymentDomainListRequest::DescribeDeploymentDomainListRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeDeploymentDomainList") +{} + +DescribeDeploymentDomainListRequest::~DescribeDeploymentDomainListRequest() +{} + +std::string DescribeDeploymentDomainListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeDeploymentDomainListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeDeploymentDomainListRequest::getCertificateId()const +{ + return certificateId_; +} + +void DescribeDeploymentDomainListRequest::setCertificateId(long certificateId) +{ + certificateId_ = certificateId; + setParameter("CertificateId", std::to_string(certificateId)); +} + +std::string DescribeDeploymentDomainListRequest::getCloudProduct()const +{ + return cloudProduct_; +} + +void DescribeDeploymentDomainListRequest::setCloudProduct(const std::string& cloudProduct) +{ + cloudProduct_ = cloudProduct; + setParameter("CloudProduct", cloudProduct); +} + +std::string DescribeDeploymentDomainListRequest::getLang()const +{ + return lang_; +} + +void DescribeDeploymentDomainListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeDeploymentDomainListResult.cc b/cas/src/model/DescribeDeploymentDomainListResult.cc new file mode 100644 index 000000000..76df8dd5a --- /dev/null +++ b/cas/src/model/DescribeDeploymentDomainListResult.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeDeploymentDomainListResult::DescribeDeploymentDomainListResult() : + ServiceResult() +{} + +DescribeDeploymentDomainListResult::DescribeDeploymentDomainListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDeploymentDomainListResult::~DescribeDeploymentDomainListResult() +{} + +void DescribeDeploymentDomainListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDomainList = value["DomainList"]["domain"]; + for (const auto &item : allDomainList) + domainList_.push_back(item.asString()); + +} + +std::vector DescribeDeploymentDomainListResult::getDomainList()const +{ + return domainList_; +} + diff --git a/cas/src/model/DescribeDeploymentProductRequest.cc b/cas/src/model/DescribeDeploymentProductRequest.cc new file mode 100644 index 000000000..c1324b987 --- /dev/null +++ b/cas/src/model/DescribeDeploymentProductRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeDeploymentProductRequest; + +DescribeDeploymentProductRequest::DescribeDeploymentProductRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeDeploymentProduct") +{} + +DescribeDeploymentProductRequest::~DescribeDeploymentProductRequest() +{} + +std::string DescribeDeploymentProductRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeDeploymentProductRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeDeploymentProductRequest::getCertificateId()const +{ + return certificateId_; +} + +void DescribeDeploymentProductRequest::setCertificateId(long certificateId) +{ + certificateId_ = certificateId; + setParameter("CertificateId", std::to_string(certificateId)); +} + +std::string DescribeDeploymentProductRequest::getLang()const +{ + return lang_; +} + +void DescribeDeploymentProductRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeDeploymentProductResult.cc b/cas/src/model/DescribeDeploymentProductResult.cc new file mode 100644 index 000000000..ac525755c --- /dev/null +++ b/cas/src/model/DescribeDeploymentProductResult.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeDeploymentProductResult::DescribeDeploymentProductResult() : + ServiceResult() +{} + +DescribeDeploymentProductResult::DescribeDeploymentProductResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDeploymentProductResult::~DescribeDeploymentProductResult() +{} + +void DescribeDeploymentProductResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allProductList = value["ProductList"]["product"]; + for (const auto &item : allProductList) + productList_.push_back(item.asString()); + +} + +std::vector DescribeDeploymentProductResult::getProductList()const +{ + return productList_; +} + diff --git a/cas/src/model/DescribeDeploymentRegionListRequest.cc b/cas/src/model/DescribeDeploymentRegionListRequest.cc new file mode 100644 index 000000000..2a0b65130 --- /dev/null +++ b/cas/src/model/DescribeDeploymentRegionListRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeDeploymentRegionListRequest; + +DescribeDeploymentRegionListRequest::DescribeDeploymentRegionListRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeDeploymentRegionList") +{} + +DescribeDeploymentRegionListRequest::~DescribeDeploymentRegionListRequest() +{} + +std::string DescribeDeploymentRegionListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeDeploymentRegionListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeDeploymentRegionListRequest::getCertificateId()const +{ + return certificateId_; +} + +void DescribeDeploymentRegionListRequest::setCertificateId(long certificateId) +{ + certificateId_ = certificateId; + setParameter("CertificateId", std::to_string(certificateId)); +} + +std::string DescribeDeploymentRegionListRequest::getCloudProduct()const +{ + return cloudProduct_; +} + +void DescribeDeploymentRegionListRequest::setCloudProduct(const std::string& cloudProduct) +{ + cloudProduct_ = cloudProduct; + setParameter("CloudProduct", cloudProduct); +} + +std::string DescribeDeploymentRegionListRequest::getLang()const +{ + return lang_; +} + +void DescribeDeploymentRegionListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeDeploymentRegionListResult.cc b/cas/src/model/DescribeDeploymentRegionListResult.cc new file mode 100644 index 000000000..1ab1c3b2f --- /dev/null +++ b/cas/src/model/DescribeDeploymentRegionListResult.cc @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeDeploymentRegionListResult::DescribeDeploymentRegionListResult() : + ServiceResult() +{} + +DescribeDeploymentRegionListResult::DescribeDeploymentRegionListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDeploymentRegionListResult::~DescribeDeploymentRegionListResult() +{} + +void DescribeDeploymentRegionListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allRegionList = value["RegionList"]["region"]; + for (const auto &item : allRegionList) + regionList_.push_back(item.asString()); + +} + +std::vector DescribeDeploymentRegionListResult::getRegionList()const +{ + return regionList_; +} + diff --git a/cas/src/model/DescribeDomainVerifyConfigurationStatusRequest.cc b/cas/src/model/DescribeDomainVerifyConfigurationStatusRequest.cc new file mode 100644 index 000000000..937eb4bf4 --- /dev/null +++ b/cas/src/model/DescribeDomainVerifyConfigurationStatusRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeDomainVerifyConfigurationStatusRequest; + +DescribeDomainVerifyConfigurationStatusRequest::DescribeDomainVerifyConfigurationStatusRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeDomainVerifyConfigurationStatus") +{} + +DescribeDomainVerifyConfigurationStatusRequest::~DescribeDomainVerifyConfigurationStatusRequest() +{} + +std::string DescribeDomainVerifyConfigurationStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeDomainVerifyConfigurationStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeDomainVerifyConfigurationStatusRequest::getOrderId()const +{ + return orderId_; +} + +void DescribeDomainVerifyConfigurationStatusRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +std::string DescribeDomainVerifyConfigurationStatusRequest::getLang()const +{ + return lang_; +} + +void DescribeDomainVerifyConfigurationStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeDomainVerifyConfigurationStatusResult.cc b/cas/src/model/DescribeDomainVerifyConfigurationStatusResult.cc new file mode 100644 index 000000000..bd19c1bbf --- /dev/null +++ b/cas/src/model/DescribeDomainVerifyConfigurationStatusResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeDomainVerifyConfigurationStatusResult::DescribeDomainVerifyConfigurationStatusResult() : + ServiceResult() +{} + +DescribeDomainVerifyConfigurationStatusResult::DescribeDomainVerifyConfigurationStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainVerifyConfigurationStatusResult::~DescribeDomainVerifyConfigurationStatusResult() +{} + +void DescribeDomainVerifyConfigurationStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cas/src/model/DescribeDomainVerifyInfoRequest.cc b/cas/src/model/DescribeDomainVerifyInfoRequest.cc new file mode 100644 index 000000000..d730b1334 --- /dev/null +++ b/cas/src/model/DescribeDomainVerifyInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeDomainVerifyInfoRequest; + +DescribeDomainVerifyInfoRequest::DescribeDomainVerifyInfoRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeDomainVerifyInfo") +{} + +DescribeDomainVerifyInfoRequest::~DescribeDomainVerifyInfoRequest() +{} + +std::string DescribeDomainVerifyInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeDomainVerifyInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeDomainVerifyInfoRequest::getOrderId()const +{ + return orderId_; +} + +void DescribeDomainVerifyInfoRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +std::string DescribeDomainVerifyInfoRequest::getLang()const +{ + return lang_; +} + +void DescribeDomainVerifyInfoRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeDomainVerifyInfoResult.cc b/cas/src/model/DescribeDomainVerifyInfoResult.cc new file mode 100644 index 000000000..be2702dd8 --- /dev/null +++ b/cas/src/model/DescribeDomainVerifyInfoResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeDomainVerifyInfoResult::DescribeDomainVerifyInfoResult() : + ServiceResult() +{} + +DescribeDomainVerifyInfoResult::DescribeDomainVerifyInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainVerifyInfoResult::~DescribeDomainVerifyInfoResult() +{} + +void DescribeDomainVerifyInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["CheckName"].isNull()) + checkName_ = value["CheckName"].asString(); + if(!value["CheckValue"].isNull()) + checkValue_ = value["CheckValue"].asString(); + if(!value["ModifiedTime"].isNull()) + modifiedTime_ = value["ModifiedTime"].asString(); + if(!value["CheckType"].isNull()) + checkType_ = value["CheckType"].asString(); + if(!value["CheckName1"].isNull()) + checkName1_ = value["CheckName1"].asString(); + if(!value["CheckName2"].isNull()) + checkName2_ = value["CheckName2"].asString(); + +} + +std::string DescribeDomainVerifyInfoResult::getType()const +{ + return type_; +} + +std::string DescribeDomainVerifyInfoResult::getCheckName()const +{ + return checkName_; +} + +std::string DescribeDomainVerifyInfoResult::getModifiedTime()const +{ + return modifiedTime_; +} + +std::string DescribeDomainVerifyInfoResult::getCheckType()const +{ + return checkType_; +} + +std::string DescribeDomainVerifyInfoResult::getCheckName1()const +{ + return checkName1_; +} + +std::string DescribeDomainVerifyInfoResult::getCheckName2()const +{ + return checkName2_; +} + +std::string DescribeDomainVerifyInfoResult::getCheckValue()const +{ + return checkValue_; +} + diff --git a/cas/src/model/DescribeDownloadCertificateRequest.cc b/cas/src/model/DescribeDownloadCertificateRequest.cc new file mode 100644 index 000000000..4fb675b4b --- /dev/null +++ b/cas/src/model/DescribeDownloadCertificateRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeDownloadCertificateRequest; + +DescribeDownloadCertificateRequest::DescribeDownloadCertificateRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeDownloadCertificate") +{} + +DescribeDownloadCertificateRequest::~DescribeDownloadCertificateRequest() +{} + +std::string DescribeDownloadCertificateRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeDownloadCertificateRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeDownloadCertificateRequest::getServerType()const +{ + return serverType_; +} + +void DescribeDownloadCertificateRequest::setServerType(const std::string& serverType) +{ + serverType_ = serverType; + setParameter("ServerType", serverType); +} + +long DescribeDownloadCertificateRequest::getCertificateId()const +{ + return certificateId_; +} + +void DescribeDownloadCertificateRequest::setCertificateId(long certificateId) +{ + certificateId_ = certificateId; + setParameter("CertificateId", std::to_string(certificateId)); +} + +std::string DescribeDownloadCertificateRequest::getLang()const +{ + return lang_; +} + +void DescribeDownloadCertificateRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeDownloadCertificateResult.cc b/cas/src/model/DescribeDownloadCertificateResult.cc new file mode 100644 index 000000000..0fe5751f8 --- /dev/null +++ b/cas/src/model/DescribeDownloadCertificateResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeDownloadCertificateResult::DescribeDownloadCertificateResult() : + ServiceResult() +{} + +DescribeDownloadCertificateResult::DescribeDownloadCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDownloadCertificateResult::~DescribeDownloadCertificateResult() +{} + +void DescribeDownloadCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["OssKey"].isNull()) + ossKey_ = value["OssKey"].asString(); + +} + +std::string DescribeDownloadCertificateResult::getOssKey()const +{ + return ossKey_; +} + diff --git a/cas/src/model/DescribeDownloadDomainVerifyConfigurationRequest.cc b/cas/src/model/DescribeDownloadDomainVerifyConfigurationRequest.cc new file mode 100644 index 000000000..b051e3b80 --- /dev/null +++ b/cas/src/model/DescribeDownloadDomainVerifyConfigurationRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeDownloadDomainVerifyConfigurationRequest; + +DescribeDownloadDomainVerifyConfigurationRequest::DescribeDownloadDomainVerifyConfigurationRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeDownloadDomainVerifyConfiguration") +{} + +DescribeDownloadDomainVerifyConfigurationRequest::~DescribeDownloadDomainVerifyConfigurationRequest() +{} + +std::string DescribeDownloadDomainVerifyConfigurationRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeDownloadDomainVerifyConfigurationRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeDownloadDomainVerifyConfigurationRequest::getOrderId()const +{ + return orderId_; +} + +void DescribeDownloadDomainVerifyConfigurationRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +std::string DescribeDownloadDomainVerifyConfigurationRequest::getLang()const +{ + return lang_; +} + +void DescribeDownloadDomainVerifyConfigurationRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeDownloadDomainVerifyConfigurationResult.cc b/cas/src/model/DescribeDownloadDomainVerifyConfigurationResult.cc new file mode 100644 index 000000000..08a51b3a3 --- /dev/null +++ b/cas/src/model/DescribeDownloadDomainVerifyConfigurationResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeDownloadDomainVerifyConfigurationResult::DescribeDownloadDomainVerifyConfigurationResult() : + ServiceResult() +{} + +DescribeDownloadDomainVerifyConfigurationResult::DescribeDownloadDomainVerifyConfigurationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDownloadDomainVerifyConfigurationResult::~DescribeDownloadDomainVerifyConfigurationResult() +{} + +void DescribeDownloadDomainVerifyConfigurationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["OssKey"].isNull()) + ossKey_ = value["OssKey"].asString(); + +} + +std::string DescribeDownloadDomainVerifyConfigurationResult::getOssKey()const +{ + return ossKey_; +} + diff --git a/cas/src/model/DescribeExpectationResultRequest.cc b/cas/src/model/DescribeExpectationResultRequest.cc new file mode 100644 index 000000000..eea7dc6ed --- /dev/null +++ b/cas/src/model/DescribeExpectationResultRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeExpectationResultRequest; + +DescribeExpectationResultRequest::DescribeExpectationResultRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeExpectationResult") +{} + +DescribeExpectationResultRequest::~DescribeExpectationResultRequest() +{} + +std::string DescribeExpectationResultRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeExpectationResultRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeExpectationResultRequest::getOrderId()const +{ + return orderId_; +} + +void DescribeExpectationResultRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +std::string DescribeExpectationResultRequest::getExpectationType()const +{ + return expectationType_; +} + +void DescribeExpectationResultRequest::setExpectationType(const std::string& expectationType) +{ + expectationType_ = expectationType; + setParameter("ExpectationType", expectationType); +} + +std::string DescribeExpectationResultRequest::getLang()const +{ + return lang_; +} + +void DescribeExpectationResultRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeExpectationResultResult.cc b/cas/src/model/DescribeExpectationResultResult.cc new file mode 100644 index 000000000..f834ef9da --- /dev/null +++ b/cas/src/model/DescribeExpectationResultResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeExpectationResultResult::DescribeExpectationResultResult() : + ServiceResult() +{} + +DescribeExpectationResultResult::DescribeExpectationResultResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeExpectationResultResult::~DescribeExpectationResultResult() +{} + +void DescribeExpectationResultResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["ExpectationType"].isNull()) + expectationType_ = value["ExpectationType"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ProcessStatus"].isNull()) + processStatus_ = value["ProcessStatus"].asString(); + if(!value["CheckName"].isNull()) + checkName_ = value["CheckName"].asString(); + if(!value["CheckValue"].isNull()) + checkValue_ = value["CheckValue"].asString(); + if(!value["ModifiedTime"].isNull()) + modifiedTime_ = value["ModifiedTime"].asString(); + if(!value["CheckType"].isNull()) + checkType_ = value["CheckType"].asString(); + if(!value["CheckName1"].isNull()) + checkName1_ = value["CheckName1"].asString(); + if(!value["CheckName2"].isNull()) + checkName2_ = value["CheckName2"].asString(); + +} + +std::string DescribeExpectationResultResult::getCheckName()const +{ + return checkName_; +} + +std::string DescribeExpectationResultResult::getModifiedTime()const +{ + return modifiedTime_; +} + +std::string DescribeExpectationResultResult::getProcessStatus()const +{ + return processStatus_; +} + +std::string DescribeExpectationResultResult::getExpectationType()const +{ + return expectationType_; +} + +std::string DescribeExpectationResultResult::getCheckType()const +{ + return checkType_; +} + +std::string DescribeExpectationResultResult::getCheckName1()const +{ + return checkName1_; +} + +std::string DescribeExpectationResultResult::getCheckName2()const +{ + return checkName2_; +} + +std::string DescribeExpectationResultResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DescribeExpectationResultResult::getCheckValue()const +{ + return checkValue_; +} + diff --git a/cas/src/model/DescribeHelpListRequest.cc b/cas/src/model/DescribeHelpListRequest.cc new file mode 100644 index 000000000..a4d24783e --- /dev/null +++ b/cas/src/model/DescribeHelpListRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeHelpListRequest; + +DescribeHelpListRequest::DescribeHelpListRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeHelpList") +{} + +DescribeHelpListRequest::~DescribeHelpListRequest() +{} + +std::string DescribeHelpListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeHelpListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeHelpListRequest::getCategory()const +{ + return category_; +} + +void DescribeHelpListRequest::setCategory(const std::string& category) +{ + category_ = category; + setParameter("Category", category); +} + +std::string DescribeHelpListRequest::getLang()const +{ + return lang_; +} + +void DescribeHelpListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeHelpListResult.cc b/cas/src/model/DescribeHelpListResult.cc new file mode 100644 index 000000000..834bb30ba --- /dev/null +++ b/cas/src/model/DescribeHelpListResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeHelpListResult::DescribeHelpListResult() : + ServiceResult() +{} + +DescribeHelpListResult::DescribeHelpListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeHelpListResult::~DescribeHelpListResult() +{} + +void DescribeHelpListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["HelpInfoList"].isNull()) + helpInfoList_ = value["HelpInfoList"].asString(); + +} + +std::string DescribeHelpListResult::getHelpInfoList()const +{ + return helpInfoList_; +} + diff --git a/cas/src/model/DescribeLocationListRequest.cc b/cas/src/model/DescribeLocationListRequest.cc new file mode 100644 index 000000000..f6de32fd1 --- /dev/null +++ b/cas/src/model/DescribeLocationListRequest.cc @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeLocationListRequest; + +DescribeLocationListRequest::DescribeLocationListRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeLocationList") +{} + +DescribeLocationListRequest::~DescribeLocationListRequest() +{} + +std::string DescribeLocationListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeLocationListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeLocationListRequest::getLang()const +{ + return lang_; +} + +void DescribeLocationListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeLocationListResult.cc b/cas/src/model/DescribeLocationListResult.cc new file mode 100644 index 000000000..5aecaf018 --- /dev/null +++ b/cas/src/model/DescribeLocationListResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeLocationListResult::DescribeLocationListResult() : + ServiceResult() +{} + +DescribeLocationListResult::DescribeLocationListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLocationListResult::~DescribeLocationListResult() +{} + +void DescribeLocationListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["LocationList"].isNull()) + locationList_ = value["LocationList"].asString(); + +} + +std::string DescribeLocationListResult::getLocationList()const +{ + return locationList_; +} + diff --git a/cas/src/model/DescribeOSSDownloadInfoRequest.cc b/cas/src/model/DescribeOSSDownloadInfoRequest.cc new file mode 100644 index 000000000..d9bda1ca7 --- /dev/null +++ b/cas/src/model/DescribeOSSDownloadInfoRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeOSSDownloadInfoRequest; + +DescribeOSSDownloadInfoRequest::DescribeOSSDownloadInfoRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeOSSDownloadInfo") +{} + +DescribeOSSDownloadInfoRequest::~DescribeOSSDownloadInfoRequest() +{} + +std::string DescribeOSSDownloadInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeOSSDownloadInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeOSSDownloadInfoRequest::getOssKey()const +{ + return ossKey_; +} + +void DescribeOSSDownloadInfoRequest::setOssKey(const std::string& ossKey) +{ + ossKey_ = ossKey; + setParameter("OssKey", ossKey); +} + +std::string DescribeOSSDownloadInfoRequest::getLang()const +{ + return lang_; +} + +void DescribeOSSDownloadInfoRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeOSSDownloadInfoResult.cc b/cas/src/model/DescribeOSSDownloadInfoResult.cc new file mode 100644 index 000000000..3bb37e1c8 --- /dev/null +++ b/cas/src/model/DescribeOSSDownloadInfoResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeOSSDownloadInfoResult::DescribeOSSDownloadInfoResult() : + ServiceResult() +{} + +DescribeOSSDownloadInfoResult::DescribeOSSDownloadInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOSSDownloadInfoResult::~DescribeOSSDownloadInfoResult() +{} + +void DescribeOSSDownloadInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["DownloadUrl"].isNull()) + downloadUrl_ = value["DownloadUrl"].asString(); + +} + +std::string DescribeOSSDownloadInfoResult::getDownloadUrl()const +{ + return downloadUrl_; +} + diff --git a/cas/src/model/DescribeOSSUploadInfoRequest.cc b/cas/src/model/DescribeOSSUploadInfoRequest.cc new file mode 100644 index 000000000..dd369b7b2 --- /dev/null +++ b/cas/src/model/DescribeOSSUploadInfoRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeOSSUploadInfoRequest; + +DescribeOSSUploadInfoRequest::DescribeOSSUploadInfoRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeOSSUploadInfo") +{} + +DescribeOSSUploadInfoRequest::~DescribeOSSUploadInfoRequest() +{} + +std::string DescribeOSSUploadInfoRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeOSSUploadInfoRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeOSSUploadInfoRequest::getOrderId()const +{ + return orderId_; +} + +void DescribeOSSUploadInfoRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +int DescribeOSSUploadInfoRequest::getDocumentType()const +{ + return documentType_; +} + +void DescribeOSSUploadInfoRequest::setDocumentType(int documentType) +{ + documentType_ = documentType; + setParameter("DocumentType", std::to_string(documentType)); +} + +std::string DescribeOSSUploadInfoRequest::getLang()const +{ + return lang_; +} + +void DescribeOSSUploadInfoRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeOSSUploadInfoResult.cc b/cas/src/model/DescribeOSSUploadInfoResult.cc new file mode 100644 index 000000000..53bc834b7 --- /dev/null +++ b/cas/src/model/DescribeOSSUploadInfoResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeOSSUploadInfoResult::DescribeOSSUploadInfoResult() : + ServiceResult() +{} + +DescribeOSSUploadInfoResult::DescribeOSSUploadInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOSSUploadInfoResult::~DescribeOSSUploadInfoResult() +{} + +void DescribeOSSUploadInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["AccessId"].isNull()) + accessId_ = value["AccessId"].asString(); + if(!value["Policy"].isNull()) + policy_ = value["Policy"].asString(); + if(!value["Signature"].isNull()) + signature_ = value["Signature"].asString(); + if(!value["Key"].isNull()) + key_ = value["Key"].asString(); + if(!value["Host"].isNull()) + host_ = value["Host"].asString(); + if(!value["Expire"].isNull()) + expire_ = std::stoi(value["Expire"].asString()); + +} + +std::string DescribeOSSUploadInfoResult::getPolicy()const +{ + return policy_; +} + +int DescribeOSSUploadInfoResult::getExpire()const +{ + return expire_; +} + +std::string DescribeOSSUploadInfoResult::getAccessId()const +{ + return accessId_; +} + +std::string DescribeOSSUploadInfoResult::getSignature()const +{ + return signature_; +} + +std::string DescribeOSSUploadInfoResult::getHost()const +{ + return host_; +} + +std::string DescribeOSSUploadInfoResult::getKey()const +{ + return key_; +} + diff --git a/cas/src/model/DescribeOrderAuditFailRecordRequest.cc b/cas/src/model/DescribeOrderAuditFailRecordRequest.cc new file mode 100644 index 000000000..b48f6e832 --- /dev/null +++ b/cas/src/model/DescribeOrderAuditFailRecordRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeOrderAuditFailRecordRequest; + +DescribeOrderAuditFailRecordRequest::DescribeOrderAuditFailRecordRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeOrderAuditFailRecord") +{} + +DescribeOrderAuditFailRecordRequest::~DescribeOrderAuditFailRecordRequest() +{} + +std::string DescribeOrderAuditFailRecordRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeOrderAuditFailRecordRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeOrderAuditFailRecordRequest::getOrderId()const +{ + return orderId_; +} + +void DescribeOrderAuditFailRecordRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +std::string DescribeOrderAuditFailRecordRequest::getLang()const +{ + return lang_; +} + +void DescribeOrderAuditFailRecordRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeOrderAuditFailRecordResult.cc b/cas/src/model/DescribeOrderAuditFailRecordResult.cc new file mode 100644 index 000000000..d7312dd6b --- /dev/null +++ b/cas/src/model/DescribeOrderAuditFailRecordResult.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::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeOrderAuditFailRecordResult::DescribeOrderAuditFailRecordResult() : + ServiceResult() +{} + +DescribeOrderAuditFailRecordResult::DescribeOrderAuditFailRecordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOrderAuditFailRecordResult::~DescribeOrderAuditFailRecordResult() +{} + +void DescribeOrderAuditFailRecordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["AuditNote"].isNull()) + auditNote_ = value["AuditNote"].asString(); + if(!value["AuditType"].isNull()) + auditType_ = value["AuditType"].asString(); + if(!value["AuditTime"].isNull()) + auditTime_ = std::stol(value["AuditTime"].asString()); + +} + +std::string DescribeOrderAuditFailRecordResult::getAuditNote()const +{ + return auditNote_; +} + +std::string DescribeOrderAuditFailRecordResult::getAuditType()const +{ + return auditType_; +} + +long DescribeOrderAuditFailRecordResult::getAuditTime()const +{ + return auditTime_; +} + diff --git a/cas/src/model/DescribeOrderDetailRequest.cc b/cas/src/model/DescribeOrderDetailRequest.cc new file mode 100644 index 000000000..97e474549 --- /dev/null +++ b/cas/src/model/DescribeOrderDetailRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeOrderDetailRequest; + +DescribeOrderDetailRequest::DescribeOrderDetailRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeOrderDetail") +{} + +DescribeOrderDetailRequest::~DescribeOrderDetailRequest() +{} + +std::string DescribeOrderDetailRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeOrderDetailRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeOrderDetailRequest::getOrderId()const +{ + return orderId_; +} + +void DescribeOrderDetailRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +std::string DescribeOrderDetailRequest::getLang()const +{ + return lang_; +} + +void DescribeOrderDetailRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeOrderDetailResult.cc b/cas/src/model/DescribeOrderDetailResult.cc new file mode 100644 index 000000000..9e51c74c4 --- /dev/null +++ b/cas/src/model/DescribeOrderDetailResult.cc @@ -0,0 +1,122 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeOrderDetailResult::DescribeOrderDetailResult() : + ServiceResult() +{} + +DescribeOrderDetailResult::DescribeOrderDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOrderDetailResult::~DescribeOrderDetailResult() +{} + +void DescribeOrderDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = std::stoi(value["Id"].asString()); + if(!value["SourceType"].isNull()) + sourceType_ = value["SourceType"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + if(!value["OrderId"].isNull()) + orderId_ = std::stol(value["OrderId"].asString()); + if(!value["Year"].isNull()) + year_ = std::stoi(value["Year"].asString()); + if(!value["BuyDate"].isNull()) + buyDate_ = std::stoi(value["BuyDate"].asString()); + if(!value["Domain"].isNull()) + domain_ = value["Domain"].asString(); + if(!value["StatusCode"].isNull()) + statusCode_ = std::stoi(value["StatusCode"].asString()); + if(!value["BrandName"].isNull()) + brandName_ = value["BrandName"].asString(); + if(!value["ProductAliasName"].isNull()) + productAliasName_ = value["ProductAliasName"].asString(); + if(!value["CertType"].isNull()) + certType_ = value["CertType"].asString(); + +} + +std::string DescribeOrderDetailResult::getBrandName()const +{ + return brandName_; +} + +int DescribeOrderDetailResult::getYear()const +{ + return year_; +} + +std::string DescribeOrderDetailResult::getInstanceId()const +{ + return instanceId_; +} + +std::string DescribeOrderDetailResult::getProductAliasName()const +{ + return productAliasName_; +} + +std::string DescribeOrderDetailResult::getSourceType()const +{ + return sourceType_; +} + +std::string DescribeOrderDetailResult::getCertType()const +{ + return certType_; +} + +int DescribeOrderDetailResult::getId()const +{ + return id_; +} + +long DescribeOrderDetailResult::getOrderId()const +{ + return orderId_; +} + +std::string DescribeOrderDetailResult::getDomain()const +{ + return domain_; +} + +int DescribeOrderDetailResult::getStatusCode()const +{ + return statusCode_; +} + +int DescribeOrderDetailResult::getBuyDate()const +{ + return buyDate_; +} + diff --git a/cas/src/model/DescribeOrderDocumentRequest.cc b/cas/src/model/DescribeOrderDocumentRequest.cc new file mode 100644 index 000000000..d3547f2d8 --- /dev/null +++ b/cas/src/model/DescribeOrderDocumentRequest.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeOrderDocumentRequest; + +DescribeOrderDocumentRequest::DescribeOrderDocumentRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeOrderDocument") +{} + +DescribeOrderDocumentRequest::~DescribeOrderDocumentRequest() +{} + +std::string DescribeOrderDocumentRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeOrderDocumentRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeOrderDocumentRequest::getOrderId()const +{ + return orderId_; +} + +void DescribeOrderDocumentRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +std::string DescribeOrderDocumentRequest::getType()const +{ + return type_; +} + +void DescribeOrderDocumentRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +std::string DescribeOrderDocumentRequest::getLang()const +{ + return lang_; +} + +void DescribeOrderDocumentRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeOrderDocumentResult.cc b/cas/src/model/DescribeOrderDocumentResult.cc new file mode 100644 index 000000000..60f4d7320 --- /dev/null +++ b/cas/src/model/DescribeOrderDocumentResult.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::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeOrderDocumentResult::DescribeOrderDocumentResult() : + ServiceResult() +{} + +DescribeOrderDocumentResult::DescribeOrderDocumentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOrderDocumentResult::~DescribeOrderDocumentResult() +{} + +void DescribeOrderDocumentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allOrderDocumentList = value["OrderDocumentList"]["OrderDocument"]; + for (auto value : allOrderDocumentList) + { + OrderDocument orderDocumentListObject; + if(!value["DocumentType"].isNull()) + orderDocumentListObject.documentType = std::stoi(value["DocumentType"].asString()); + if(!value["TplDocNote"].isNull()) + orderDocumentListObject.tplDocNote = value["TplDocNote"].asString(); + if(!value["TplDocOssKey"].isNull()) + orderDocumentListObject.tplDocOssKey = value["TplDocOssKey"].asString(); + if(!value["OrderDocOssKey"].isNull()) + orderDocumentListObject.orderDocOssKey = value["OrderDocOssKey"].asString(); + if(!value["OrderDocDate"].isNull()) + orderDocumentListObject.orderDocDate = std::stol(value["OrderDocDate"].asString()); + if(!value["OrderDocExt"].isNull()) + orderDocumentListObject.orderDocExt = value["OrderDocExt"].asString(); + orderDocumentList_.push_back(orderDocumentListObject); + } + +} + +std::vector DescribeOrderDocumentResult::getOrderDocumentList()const +{ + return orderDocumentList_; +} + diff --git a/cas/src/model/DescribeOrderListRequest.cc b/cas/src/model/DescribeOrderListRequest.cc new file mode 100644 index 000000000..91ffa8610 --- /dev/null +++ b/cas/src/model/DescribeOrderListRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas::Model::DescribeOrderListRequest; + +DescribeOrderListRequest::DescribeOrderListRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeOrderList") +{} + +DescribeOrderListRequest::~DescribeOrderListRequest() +{} + +std::string DescribeOrderListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeOrderListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +int DescribeOrderListRequest::getShowSize()const +{ + return showSize_; +} + +void DescribeOrderListRequest::setShowSize(int showSize) +{ + showSize_ = showSize; + setParameter("ShowSize", std::to_string(showSize)); +} + +long DescribeOrderListRequest::getBrandId()const +{ + return brandId_; +} + +void DescribeOrderListRequest::setBrandId(long brandId) +{ + brandId_ = brandId; + setParameter("BrandId", std::to_string(brandId)); +} + +int DescribeOrderListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeOrderListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeOrderListRequest::getKeyword()const +{ + return keyword_; +} + +void DescribeOrderListRequest::setKeyword(const std::string& keyword) +{ + keyword_ = keyword; + setParameter("Keyword", keyword); +} + +std::string DescribeOrderListRequest::getLang()const +{ + return lang_; +} + +void DescribeOrderListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeOrderListRequest::getStatus()const +{ + return status_; +} + +void DescribeOrderListRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/cas/src/model/DescribeOrderListResult.cc b/cas/src/model/DescribeOrderListResult.cc new file mode 100644 index 000000000..0e3fa5c21 --- /dev/null +++ b/cas/src/model/DescribeOrderListResult.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeOrderListResult::DescribeOrderListResult() : + ServiceResult() +{} + +DescribeOrderListResult::DescribeOrderListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOrderListResult::~DescribeOrderListResult() +{} + +void DescribeOrderListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allOrderList = value["OrderList"]["Order"]; + for (auto value : allOrderList) + { + Order orderListObject; + if(!value["Id"].isNull()) + orderListObject.id = std::stol(value["Id"].asString()); + if(!value["SourceType"].isNull()) + orderListObject.sourceType = value["SourceType"].asString(); + if(!value["CertType"].isNull()) + orderListObject.certType = value["CertType"].asString(); + if(!value["InstanceId"].isNull()) + orderListObject.instanceId = value["InstanceId"].asString(); + if(!value["Year"].isNull()) + orderListObject.year = std::stol(value["Year"].asString()); + if(!value["OrderId"].isNull()) + orderListObject.orderId = std::stol(value["OrderId"].asString()); + if(!value["OrderType"].isNull()) + orderListObject.orderType = value["OrderType"].asString(); + if(!value["BrandName"].isNull()) + orderListObject.brandName = value["BrandName"].asString(); + if(!value["BuyDate"].isNull()) + orderListObject.buyDate = std::stol(value["BuyDate"].asString()); + if(!value["StatusCode"].isNull()) + orderListObject.statusCode = value["StatusCode"].asString(); + if(!value["Domain"].isNull()) + orderListObject.domain = value["Domain"].asString(); + if(!value["ProductAliasName"].isNull()) + orderListObject.productAliasName = value["ProductAliasName"].asString(); + if(!value["DomainCount"].isNull()) + orderListObject.domainCount = std::stoi(value["DomainCount"].asString()); + if(!value["WildDomainCount"].isNull()) + orderListObject.wildDomainCount = std::stoi(value["WildDomainCount"].asString()); + if(!value["VerifyStatus"].isNull()) + orderListObject.verifyStatus = std::stoi(value["VerifyStatus"].asString()); + if(!value["MaybeIssueDate"].isNull()) + orderListObject.maybeIssueDate = std::stol(value["MaybeIssueDate"].asString()); + if(!value["BeforeDate"].isNull()) + orderListObject.beforeDate = std::stol(value["BeforeDate"].asString()); + if(!value["AfterDate"].isNull()) + orderListObject.afterDate = std::stol(value["AfterDate"].asString()); + if(!value["ShowCancel"].isNull()) + orderListObject.showCancel = value["ShowCancel"].asString() == "true"; + orderList_.push_back(orderListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["ShowSize"].isNull()) + showSize_ = std::stoi(value["ShowSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + +} + +int DescribeOrderListResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeOrderListResult::getCurrentPage()const +{ + return currentPage_; +} + +int DescribeOrderListResult::getShowSize()const +{ + return showSize_; +} + +std::vector DescribeOrderListResult::getOrderList()const +{ + return orderList_; +} + diff --git a/cas/src/model/DescribeOrderMaterialRequest.cc b/cas/src/model/DescribeOrderMaterialRequest.cc new file mode 100644 index 000000000..38de0a3b8 --- /dev/null +++ b/cas/src/model/DescribeOrderMaterialRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeOrderMaterialRequest; + +DescribeOrderMaterialRequest::DescribeOrderMaterialRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeOrderMaterial") +{} + +DescribeOrderMaterialRequest::~DescribeOrderMaterialRequest() +{} + +std::string DescribeOrderMaterialRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeOrderMaterialRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +long DescribeOrderMaterialRequest::getOrderId()const +{ + return orderId_; +} + +void DescribeOrderMaterialRequest::setOrderId(long orderId) +{ + orderId_ = orderId; + setParameter("OrderId", std::to_string(orderId)); +} + +std::string DescribeOrderMaterialRequest::getLang()const +{ + return lang_; +} + +void DescribeOrderMaterialRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeOrderMaterialResult.cc b/cas/src/model/DescribeOrderMaterialResult.cc new file mode 100644 index 000000000..aa020df8b --- /dev/null +++ b/cas/src/model/DescribeOrderMaterialResult.cc @@ -0,0 +1,213 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeOrderMaterialResult::DescribeOrderMaterialResult() : + ServiceResult() +{} + +DescribeOrderMaterialResult::DescribeOrderMaterialResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOrderMaterialResult::~DescribeOrderMaterialResult() +{} + +void DescribeOrderMaterialResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["CompanyName"].isNull()) + companyName_ = value["CompanyName"].asString(); + if(!value["CompanyPhone"].isNull()) + companyPhone_ = value["CompanyPhone"].asString(); + if(!value["CompanyCode"].isNull()) + companyCode_ = value["CompanyCode"].asString(); + if(!value["PersonName"].isNull()) + personName_ = value["PersonName"].asString(); + if(!value["PersonPhone"].isNull()) + personPhone_ = value["PersonPhone"].asString(); + if(!value["PersonEmail"].isNull()) + personEmail_ = value["PersonEmail"].asString(); + if(!value["CompanyEmail"].isNull()) + companyEmail_ = value["CompanyEmail"].asString(); + if(!value["CompanyAddress"].isNull()) + companyAddress_ = value["CompanyAddress"].asString(); + if(!value["PersonIdCardNumber"].isNull()) + personIdCardNumber_ = value["PersonIdCardNumber"].asString(); + if(!value["CompanyType"].isNull()) + companyType_ = std::stoi(value["CompanyType"].asString()); + if(!value["City"].isNull()) + city_ = value["City"].asString(); + if(!value["Province"].isNull()) + province_ = value["Province"].asString(); + if(!value["CreateCsr"].isNull()) + createCsr_ = std::stoi(value["CreateCsr"].asString()); + if(!value["PostCode"].isNull()) + postCode_ = value["PostCode"].asString(); + if(!value["CsrContent"].isNull()) + csrContent_ = value["CsrContent"].asString(); + if(!value["PersonTitle"].isNull()) + personTitle_ = value["PersonTitle"].asString(); + if(!value["LeaderName"].isNull()) + leaderName_ = value["LeaderName"].asString(); + if(!value["LeaderTitle"].isNull()) + leaderTitle_ = value["LeaderTitle"].asString(); + if(!value["LeaderEmail"].isNull()) + leaderEmail_ = value["LeaderEmail"].asString(); + if(!value["LeaderPhone"].isNull()) + leaderPhone_ = value["LeaderPhone"].asString(); + if(!value["CountryCode"].isNull()) + countryCode_ = value["CountryCode"].asString(); + if(!value["PersonDepartment"].isNull()) + personDepartment_ = value["PersonDepartment"].asString(); + if(!value["DomainAuthType"].isNull()) + domainAuthType_ = std::stoi(value["DomainAuthType"].asString()); + if(!value["Domain"].isNull()) + domain_ = value["Domain"].asString(); + +} + +std::string DescribeOrderMaterialResult::getPersonName()const +{ + return personName_; +} + +int DescribeOrderMaterialResult::getDomainAuthType()const +{ + return domainAuthType_; +} + +std::string DescribeOrderMaterialResult::getPersonIdCardNumber()const +{ + return personIdCardNumber_; +} + +std::string DescribeOrderMaterialResult::getLeaderName()const +{ + return leaderName_; +} + +std::string DescribeOrderMaterialResult::getCompanyEmail()const +{ + return companyEmail_; +} + +std::string DescribeOrderMaterialResult::getPersonPhone()const +{ + return personPhone_; +} + +int DescribeOrderMaterialResult::getCompanyType()const +{ + return companyType_; +} + +std::string DescribeOrderMaterialResult::getCity()const +{ + return city_; +} + +std::string DescribeOrderMaterialResult::getLeaderEmail()const +{ + return leaderEmail_; +} + +std::string DescribeOrderMaterialResult::getProvince()const +{ + return province_; +} + +std::string DescribeOrderMaterialResult::getPersonTitle()const +{ + return personTitle_; +} + +std::string DescribeOrderMaterialResult::getCompanyAddress()const +{ + return companyAddress_; +} + +std::string DescribeOrderMaterialResult::getCompanyName()const +{ + return companyName_; +} + +std::string DescribeOrderMaterialResult::getPersonDepartment()const +{ + return personDepartment_; +} + +int DescribeOrderMaterialResult::getCreateCsr()const +{ + return createCsr_; +} + +std::string DescribeOrderMaterialResult::getCsrContent()const +{ + return csrContent_; +} + +std::string DescribeOrderMaterialResult::getPostCode()const +{ + return postCode_; +} + +std::string DescribeOrderMaterialResult::getCountryCode()const +{ + return countryCode_; +} + +std::string DescribeOrderMaterialResult::getDomain()const +{ + return domain_; +} + +std::string DescribeOrderMaterialResult::getPersonEmail()const +{ + return personEmail_; +} + +std::string DescribeOrderMaterialResult::getLeaderPhone()const +{ + return leaderPhone_; +} + +std::string DescribeOrderMaterialResult::getCompanyPhone()const +{ + return companyPhone_; +} + +std::string DescribeOrderMaterialResult::getCompanyCode()const +{ + return companyCode_; +} + +std::string DescribeOrderMaterialResult::getLeaderTitle()const +{ + return leaderTitle_; +} + diff --git a/cas/src/model/DescribeSignatureCapacityRequest.cc b/cas/src/model/DescribeSignatureCapacityRequest.cc new file mode 100644 index 000000000..6edf190c9 --- /dev/null +++ b/cas/src/model/DescribeSignatureCapacityRequest.cc @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeSignatureCapacityRequest; + +DescribeSignatureCapacityRequest::DescribeSignatureCapacityRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeSignatureCapacity") +{} + +DescribeSignatureCapacityRequest::~DescribeSignatureCapacityRequest() +{} + +std::string DescribeSignatureCapacityRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSignatureCapacityRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeSignatureCapacityRequest::getLang()const +{ + return lang_; +} + +void DescribeSignatureCapacityRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeSignatureCapacityResult.cc b/cas/src/model/DescribeSignatureCapacityResult.cc new file mode 100644 index 000000000..9e62ccf76 --- /dev/null +++ b/cas/src/model/DescribeSignatureCapacityResult.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::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeSignatureCapacityResult::DescribeSignatureCapacityResult() : + ServiceResult() +{} + +DescribeSignatureCapacityResult::DescribeSignatureCapacityResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSignatureCapacityResult::~DescribeSignatureCapacityResult() +{} + +void DescribeSignatureCapacityResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["RemainCount"].isNull()) + remainCount_ = std::stoi(value["RemainCount"].asString()); + if(!value["UsedCount"].isNull()) + usedCount_ = std::stoi(value["UsedCount"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeSignatureCapacityResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeSignatureCapacityResult::getRemainCount()const +{ + return remainCount_; +} + +int DescribeSignatureCapacityResult::getUsedCount()const +{ + return usedCount_; +} + diff --git a/cas/src/model/DescribeSignatureStatisticsRequest.cc b/cas/src/model/DescribeSignatureStatisticsRequest.cc new file mode 100644 index 000000000..7eaf51892 --- /dev/null +++ b/cas/src/model/DescribeSignatureStatisticsRequest.cc @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeSignatureStatisticsRequest; + +DescribeSignatureStatisticsRequest::DescribeSignatureStatisticsRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeSignatureStatistics") +{} + +DescribeSignatureStatisticsRequest::~DescribeSignatureStatisticsRequest() +{} + +std::string DescribeSignatureStatisticsRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSignatureStatisticsRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeSignatureStatisticsRequest::getLang()const +{ + return lang_; +} + +void DescribeSignatureStatisticsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeSignatureStatisticsResult.cc b/cas/src/model/DescribeSignatureStatisticsResult.cc new file mode 100644 index 000000000..9a0aa4519 --- /dev/null +++ b/cas/src/model/DescribeSignatureStatisticsResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeSignatureStatisticsResult::DescribeSignatureStatisticsResult() : + ServiceResult() +{} + +DescribeSignatureStatisticsResult::DescribeSignatureStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSignatureStatisticsResult::~DescribeSignatureStatisticsResult() +{} + +void DescribeSignatureStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allDayDataList = value["DayDataList"]["dayData"]; + for (auto value : allDayDataList) + { + DayData dayDataListObject; + if(!value["Date"].isNull()) + dayDataListObject.date = value["Date"].asString(); + if(!value["UnSignCount"].isNull()) + dayDataListObject.unSignCount = std::stoi(value["UnSignCount"].asString()); + if(!value["SignCount"].isNull()) + dayDataListObject.signCount = std::stoi(value["SignCount"].asString()); + if(!value["FailCount"].isNull()) + dayDataListObject.failCount = std::stoi(value["FailCount"].asString()); + dayDataList_.push_back(dayDataListObject); + } + if(!value["UnSignCount"].isNull()) + unSignCount_ = std::stoi(value["UnSignCount"].asString()); + if(!value["SignCount"].isNull()) + signCount_ = std::stoi(value["SignCount"].asString()); + if(!value["FailCount"].isNull()) + failCount_ = std::stoi(value["FailCount"].asString()); + +} + +std::vector DescribeSignatureStatisticsResult::getDayDataList()const +{ + return dayDataList_; +} + +int DescribeSignatureStatisticsResult::getSignCount()const +{ + return signCount_; +} + +int DescribeSignatureStatisticsResult::getFailCount()const +{ + return failCount_; +} + +int DescribeSignatureStatisticsResult::getUnSignCount()const +{ + return unSignCount_; +} + diff --git a/cas/src/model/DescribeSignatureTradeDetailRequest.cc b/cas/src/model/DescribeSignatureTradeDetailRequest.cc new file mode 100644 index 000000000..de32c309a --- /dev/null +++ b/cas/src/model/DescribeSignatureTradeDetailRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeSignatureTradeDetailRequest; + +DescribeSignatureTradeDetailRequest::DescribeSignatureTradeDetailRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeSignatureTradeDetail") +{} + +DescribeSignatureTradeDetailRequest::~DescribeSignatureTradeDetailRequest() +{} + +std::string DescribeSignatureTradeDetailRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSignatureTradeDetailRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeSignatureTradeDetailRequest::getLang()const +{ + return lang_; +} + +void DescribeSignatureTradeDetailRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeSignatureTradeDetailRequest::getTransactionId()const +{ + return transactionId_; +} + +void DescribeSignatureTradeDetailRequest::setTransactionId(const std::string& transactionId) +{ + transactionId_ = transactionId; + setParameter("TransactionId", transactionId); +} + diff --git a/cas/src/model/DescribeSignatureTradeDetailResult.cc b/cas/src/model/DescribeSignatureTradeDetailResult.cc new file mode 100644 index 000000000..ddaee31d3 --- /dev/null +++ b/cas/src/model/DescribeSignatureTradeDetailResult.cc @@ -0,0 +1,136 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeSignatureTradeDetailResult::DescribeSignatureTradeDetailResult() : + ServiceResult() +{} + +DescribeSignatureTradeDetailResult::DescribeSignatureTradeDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSignatureTradeDetailResult::~DescribeSignatureTradeDetailResult() +{} + +void DescribeSignatureTradeDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = std::stol(value["Id"].asString()); + if(!value["DocTitle"].isNull()) + docTitle_ = value["DocTitle"].asString(); + if(!value["TransactionId"].isNull()) + transactionId_ = value["TransactionId"].asString(); + if(!value["PeopleName"].isNull()) + peopleName_ = value["PeopleName"].asString(); + if(!value["CreateTime"].isNull()) + createTime_ = std::stol(value["CreateTime"].asString()); + if(!value["SignStatus"].isNull()) + signStatus_ = std::stoi(value["SignStatus"].asString()); + if(!value["SignMode"].isNull()) + signMode_ = std::stoi(value["SignMode"].asString()); + if(!value["DocId"].isNull()) + docId_ = value["DocId"].asString(); + if(!value["PeopleId"].isNull()) + peopleId_ = value["PeopleId"].asString(); + if(!value["PeopleIdentity"].isNull()) + peopleIdentity_ = value["PeopleIdentity"].asString(); + if(!value["PeopleMobile"].isNull()) + peopleMobile_ = value["PeopleMobile"].asString(); + if(!value["PeopleEmail"].isNull()) + peopleEmail_ = value["PeopleEmail"].asString(); + if(!value["SignCompany"].isNull()) + signCompany_ = value["SignCompany"].asString(); + +} + +std::string DescribeSignatureTradeDetailResult::getDocId()const +{ + return docId_; +} + +std::string DescribeSignatureTradeDetailResult::getDocTitle()const +{ + return docTitle_; +} + +int DescribeSignatureTradeDetailResult::getSignMode()const +{ + return signMode_; +} + +long DescribeSignatureTradeDetailResult::getCreateTime()const +{ + return createTime_; +} + +std::string DescribeSignatureTradeDetailResult::getTransactionId()const +{ + return transactionId_; +} + +std::string DescribeSignatureTradeDetailResult::getSignCompany()const +{ + return signCompany_; +} + +std::string DescribeSignatureTradeDetailResult::getPeopleId()const +{ + return peopleId_; +} + +std::string DescribeSignatureTradeDetailResult::getPeopleName()const +{ + return peopleName_; +} + +int DescribeSignatureTradeDetailResult::getSignStatus()const +{ + return signStatus_; +} + +std::string DescribeSignatureTradeDetailResult::getPeopleEmail()const +{ + return peopleEmail_; +} + +long DescribeSignatureTradeDetailResult::getId()const +{ + return id_; +} + +std::string DescribeSignatureTradeDetailResult::getPeopleMobile()const +{ + return peopleMobile_; +} + +std::string DescribeSignatureTradeDetailResult::getPeopleIdentity()const +{ + return peopleIdentity_; +} + diff --git a/cas/src/model/DescribeSignatureTradeListRequest.cc b/cas/src/model/DescribeSignatureTradeListRequest.cc new file mode 100644 index 000000000..d10c31f30 --- /dev/null +++ b/cas/src/model/DescribeSignatureTradeListRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Cas::Model::DescribeSignatureTradeListRequest; + +DescribeSignatureTradeListRequest::DescribeSignatureTradeListRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeSignatureTradeList") +{} + +DescribeSignatureTradeListRequest::~DescribeSignatureTradeListRequest() +{} + +std::string DescribeSignatureTradeListRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeSignatureTradeListRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +int DescribeSignatureTradeListRequest::getShowSize()const +{ + return showSize_; +} + +void DescribeSignatureTradeListRequest::setShowSize(int showSize) +{ + showSize_ = showSize; + setParameter("ShowSize", std::to_string(showSize)); +} + +std::string DescribeSignatureTradeListRequest::getSearchType()const +{ + return searchType_; +} + +void DescribeSignatureTradeListRequest::setSearchType(const std::string& searchType) +{ + searchType_ = searchType; + setParameter("SearchType", searchType); +} + +int DescribeSignatureTradeListRequest::getCurrentPage()const +{ + return currentPage_; +} + +void DescribeSignatureTradeListRequest::setCurrentPage(int currentPage) +{ + currentPage_ = currentPage; + setParameter("CurrentPage", std::to_string(currentPage)); +} + +std::string DescribeSignatureTradeListRequest::getLang()const +{ + return lang_; +} + +void DescribeSignatureTradeListRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +std::string DescribeSignatureTradeListRequest::getSearchValue()const +{ + return searchValue_; +} + +void DescribeSignatureTradeListRequest::setSearchValue(const std::string& searchValue) +{ + searchValue_ = searchValue; + setParameter("SearchValue", searchValue); +} + diff --git a/cas/src/model/DescribeSignatureTradeListResult.cc b/cas/src/model/DescribeSignatureTradeListResult.cc new file mode 100644 index 000000000..046210dc5 --- /dev/null +++ b/cas/src/model/DescribeSignatureTradeListResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeSignatureTradeListResult::DescribeSignatureTradeListResult() : + ServiceResult() +{} + +DescribeSignatureTradeListResult::DescribeSignatureTradeListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSignatureTradeListResult::~DescribeSignatureTradeListResult() +{} + +void DescribeSignatureTradeListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + auto allTradeList = value["TradeList"]["trade"]; + for (auto value : allTradeList) + { + Trade tradeListObject; + if(!value["Id"].isNull()) + tradeListObject.id = std::stol(value["Id"].asString()); + if(!value["DocTitle"].isNull()) + tradeListObject.docTitle = value["DocTitle"].asString(); + if(!value["TransactionId"].isNull()) + tradeListObject.transactionId = value["TransactionId"].asString(); + if(!value["PeopleName"].isNull()) + tradeListObject.peopleName = value["PeopleName"].asString(); + if(!value["CreateTime"].isNull()) + tradeListObject.createTime = std::stol(value["CreateTime"].asString()); + if(!value["SignStatus"].isNull()) + tradeListObject.signStatus = std::stoi(value["SignStatus"].asString()); + if(!value["SignMode"].isNull()) + tradeListObject.signMode = std::stoi(value["SignMode"].asString()); + if(!value["DocId"].isNull()) + tradeListObject.docId = value["DocId"].asString(); + if(!value["PeopleId"].isNull()) + tradeListObject.peopleId = value["PeopleId"].asString(); + tradeList_.push_back(tradeListObject); + } + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stoi(value["CurrentPage"].asString()); + if(!value["ShowSize"].isNull()) + showSize_ = std::stoi(value["ShowSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeSignatureTradeListResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeSignatureTradeListResult::getCurrentPage()const +{ + return currentPage_; +} + +int DescribeSignatureTradeListResult::getShowSize()const +{ + return showSize_; +} + +std::vector DescribeSignatureTradeListResult::getTradeList()const +{ + return tradeList_; +} + diff --git a/cas/src/model/DescribeStsAuthStatusRequest.cc b/cas/src/model/DescribeStsAuthStatusRequest.cc new file mode 100644 index 000000000..46ab24832 --- /dev/null +++ b/cas/src/model/DescribeStsAuthStatusRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeStsAuthStatusRequest; + +DescribeStsAuthStatusRequest::DescribeStsAuthStatusRequest() : + RpcServiceRequest("cas", "2018-08-13", "DescribeStsAuthStatus") +{} + +DescribeStsAuthStatusRequest::~DescribeStsAuthStatusRequest() +{} + +std::string DescribeStsAuthStatusRequest::getSourceIp()const +{ + return sourceIp_; +} + +void DescribeStsAuthStatusRequest::setSourceIp(const std::string& sourceIp) +{ + sourceIp_ = sourceIp; + setParameter("SourceIp", sourceIp); +} + +std::string DescribeStsAuthStatusRequest::getCloudProduct()const +{ + return cloudProduct_; +} + +void DescribeStsAuthStatusRequest::setCloudProduct(const std::string& cloudProduct) +{ + cloudProduct_ = cloudProduct; + setParameter("CloudProduct", cloudProduct); +} + +std::string DescribeStsAuthStatusRequest::getLang()const +{ + return lang_; +} + +void DescribeStsAuthStatusRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + diff --git a/cas/src/model/DescribeStsAuthStatusResult.cc b/cas/src/model/DescribeStsAuthStatusResult.cc new file mode 100644 index 000000000..589352919 --- /dev/null +++ b/cas/src/model/DescribeStsAuthStatusResult.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 +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeStsAuthStatusResult::DescribeStsAuthStatusResult() : + ServiceResult() +{} + +DescribeStsAuthStatusResult::DescribeStsAuthStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeStsAuthStatusResult::~DescribeStsAuthStatusResult() +{} + +void DescribeStsAuthStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} +