From a493636d49c0cf7ddbfedf019efadb52f17c8c68 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 3 Nov 2022 10:52:42 +0000 Subject: [PATCH] Support encrypt and decrypt. --- VERSION | 2 +- cas/CMakeLists.txt | 304 +--- cas/include/alibabacloud/cas/CasClient.h | 608 ++----- ...ancelCertificateForPackageRequestRequest.h | 45 + ...CancelCertificateForPackageRequestResult.h | 49 + .../cas/model/CancelOrderRequestRequest.h | 45 + ...ureResult.h => CancelOrderRequestResult.h} | 14 +- .../cas/model/CreateAliDnsRecordIdRequest.h | 60 - ...reateCertificateForPackageRequestRequest.h | 66 + ...reateCertificateForPackageRequestResult.h} | 18 +- .../cas/model/CreateCertificateNameRequest.h | 60 - .../cas/model/CreateCertificateRequest.h | 63 - .../model/CreateCertificateRequestRequest.h | 60 + ...ult.h => CreateCertificateRequestResult.h} | 14 +- .../CreateCertificateWithCsrRequestRequest.h | 60 + ...> CreateCertificateWithCsrRequestResult.h} | 14 +- .../cas/model/CreateCooperationOrderRequest.h | 63 - .../cas/model/CreateDeploymentRequest.h | 66 - ...teDomainVerifyConfigurationStatusRequest.h | 60 - ...ateDomainVerifyConfigurationStatusResult.h | 49 - .../CreateFilingSignatureDocumentRequest.h | 57 - .../CreateFilingSignatureDocumentResult.h | 49 - .../cas/model/CreateOrderAuditRequest.h | 60 - .../cas/model/CreateOrderAuditResult.h | 63 - .../cas/model/CreateOrderCancelRequest.h | 57 - .../cas/model/CreateOrderCancelResult.h | 49 - .../cas/model/CreateOrderDocumentRequest.h | 66 - .../cas/model/CreateOrderDocumentResult.h | 49 - .../cas/model/CreateOrderMaterialRequest.h | 126 -- .../cas/model/CreateOrderMaterialResult.h | 49 - .../model/CreateOrderRefundRecordRequest.h | 57 - .../cas/model/CreateOrderRefundRecordResult.h | 49 - .../cas/model/CreateOrderRevokeRequest.h | 60 - .../cas/model/CreateOrderRevokeResult.h | 49 - .../model/CreateSignatureDocumentRequest.h | 60 - .../cas/model/CreateSignatureDocumentResult.h | 51 - .../CreateSignaturePeopleCertificateRequest.h | 66 - .../cas/model/CreateSignatureRequest.h | 102 -- .../cas/model/CreateSignatureResult.h | 53 - .../cas/model/CreateUnDeploymentRequest.h | 57 - .../cas/model/CreateUnDeploymentResult.h | 49 - .../CreateWHCertificateWithExtensionRequest.h | 90 + ... CreateWHCertificateWithExtensionResult.h} | 22 +- .../model/CreateWHClientCertificateRequest.h | 69 + ...lt.h => CreateWHClientCertificateResult.h} | 26 +- .../cas/model/CreateWebSignatureRequest.h | 99 - .../alibabacloud/cas/model/DecryptRequest.h | 54 + ...ateCertificateResult.h => DecryptResult.h} | 18 +- .../cas/model/DeleteCertificateRequest.h | 57 - .../model/DeleteCertificateRequestRequest.h | 45 + ...ult.h => DeleteCertificateRequestResult.h} | 16 +- .../cas/model/DeleteOrderRequest.h | 57 - .../cas/model/DeletePCACertRequest.h | 45 + ...eteOrderResult.h => DeletePCACertResult.h} | 14 +- .../DescribeCertificateBrandListRequest.h | 54 - .../model/DescribeCertificateDetailRequest.h | 57 - .../model/DescribeCertificateDetailResult.h | 79 - .../model/DescribeCertificateListRequest.h | 81 - .../cas/model/DescribeCertificateListResult.h | 85 - .../model/DescribeCertificateStateRequest.h | 45 + ...ult.h => DescribeCertificateStateResult.h} | 44 +- .../DescribeCertificateStatusCountRequest.h | 63 - .../DescribeCertificateStatusCountResult.h | 67 - .../model/DescribeDeploymentDetailRequest.h | 57 - .../DescribeDeploymentDomainListRequest.h | 60 - .../DescribeDeploymentDomainListResult.h | 51 - .../model/DescribeDeploymentProductRequest.h | 57 - .../DescribeDeploymentRegionListRequest.h | 60 - .../DescribeDeploymentRegionListResult.h | 51 - ...beDomainVerifyConfigurationStatusRequest.h | 57 - ...ibeDomainVerifyConfigurationStatusResult.h | 49 - .../model/DescribeDomainVerifyInfoRequest.h | 57 - .../DescribeDownloadCertificateRequest.h | 60 - .../model/DescribeDownloadCertificateResult.h | 51 - ...DownloadDomainVerifyConfigurationRequest.h | 57 - ...eDownloadDomainVerifyConfigurationResult.h | 51 - .../model/DescribeExpectationResultRequest.h | 60 - .../model/DescribeExpectationResultResult.h | 67 - .../cas/model/DescribeHelpListRequest.h | 57 - .../cas/model/DescribeLocationListRequest.h | 54 - .../model/DescribeOSSDownloadInfoRequest.h | 57 - .../cas/model/DescribeOSSDownloadInfoResult.h | 51 - .../cas/model/DescribeOSSUploadInfoRequest.h | 60 - .../cas/model/DescribeOSSUploadInfoResult.h | 61 - .../DescribeOrderAuditFailRecordRequest.h | 57 - .../DescribeOrderAuditFailRecordResult.h | 55 - ...DescribeOrderCountForConsoleIndexRequest.h | 51 - .../DescribeOrderCountForConsoleIndexResult.h | 51 - .../cas/model/DescribeOrderDetailRequest.h | 57 - .../cas/model/DescribeOrderDetailResult.h | 89 - .../cas/model/DescribeOrderDocumentRequest.h | 60 - .../cas/model/DescribeOrderDocumentResult.h | 60 - .../cas/model/DescribeOrderListRequest.h | 78 - .../cas/model/DescribeOrderMaterialRequest.h | 57 - .../cas/model/DescribeOrderMaterialResult.h | 97 - .../model/DescribeOrderRefundRecordRequest.h | 51 - .../model/DescribeOrderRefundRecordResult.h | 51 - .../cas/model/DescribePackageStateRequest.h | 45 + ...tResult.h => DescribePackageStateResult.h} | 24 +- .../cas/model/DescribeRenewOrderRequest.h | 54 - .../model/DescribeSignatureCapacityRequest.h | 54 - .../model/DescribeSignatureCapacityResult.h | 55 - .../DescribeSignatureProductStateRequest.h | 51 - .../DescribeSignatureProductStateResult.h | 51 - .../DescribeSignatureStatisticsRequest.h | 54 - .../model/DescribeSignatureStatisticsResult.h | 64 - .../DescribeSignatureTradeDetailRequest.h | 57 - .../DescribeSignatureTradeDetailResult.h | 75 - .../model/DescribeSignatureTradeListRequest.h | 66 - .../model/DescribeSignatureTradeListResult.h | 69 - .../cas/model/DescribeStsAuthStatusRequest.h | 57 - .../cas/model/DescribeStsAuthStatusResult.h | 49 - .../alibabacloud/cas/model/EncryptRequest.h | 54 + ...ertificateNameResult.h => EncryptResult.h} | 18 +- .../alibabacloud/cas/model/ListCertRequest.h | 57 + ...loymentDetailResult.h => ListCertResult.h} | 42 +- .../cas/model/ListCertWarehouseRequest.h | 57 + ...ListResult.h => ListCertWarehouseResult.h} | 34 +- .../cas/model/ListTagKeysRequest.h | 63 - .../cas/model/ListTagKeysResult.h | 62 - .../cas/model/ListTagResourcesRequest.h | 72 - .../cas/model/ListTagResourcesResult.h | 60 - .../model/ListUserCertificateOrderRequest.h | 57 + ...ult.h => ListUserCertificateOrderResult.h} | 59 +- ...CertificateOrderForPackageRequestRequest.h | 48 + ...wCertificateOrderForPackageRequestResult.h | 51 + .../model/RevokeWHClientCertificateRequest.h | 45 + ...lt.h => RevokeWHClientCertificateResult.h} | 14 +- .../alibabacloud/cas/model/SignRequest.h | 54 + .../{UntagResourcesResult.h => SignResult.h} | 16 +- .../cas/model/TagResourcesRequest.h | 78 - .../cas/model/UntagResourcesRequest.h | 66 - .../cas/model/UploadPCACertRequest.h | 54 + ...esourcesResult.h => UploadPCACertResult.h} | 14 +- .../alibabacloud/cas/model/VerifyRequest.h | 57 + ...leteCertificateResult.h => VerifyResult.h} | 16 +- cas/src/CasClient.cc | 1608 ++--------------- ...ncelCertificateForPackageRequestRequest.cc | 45 + ...ncelCertificateForPackageRequestResult.cc} | 10 +- cas/src/model/CancelOrderRequestRequest.cc | 45 + ...eResult.cc => CancelOrderRequestResult.cc} | 10 +- cas/src/model/CreateAliDnsRecordIdRequest.cc | 84 - ...eateCertificateForPackageRequestRequest.cc | 108 ++ ...reateCertificateForPackageRequestResult.cc | 51 + cas/src/model/CreateCertificateNameRequest.cc | 84 - cas/src/model/CreateCertificateNameResult.cc | 44 - cas/src/model/CreateCertificateRequest.cc | 95 - .../model/CreateCertificateRequestRequest.cc | 90 + ...t.cc => CreateCertificateRequestResult.cc} | 12 +- .../CreateCertificateWithCsrRequestRequest.cc | 90 + ... CreateCertificateWithCsrRequestResult.cc} | 12 +- .../model/CreateCooperationOrderRequest.cc | 95 - cas/src/model/CreateDeploymentRequest.cc | 106 -- cas/src/model/CreateDeploymentResult.cc | 51 - ...eDomainVerifyConfigurationStatusRequest.cc | 84 - ...teDomainVerifyConfigurationStatusResult.cc | 44 - .../CreateFilingSignatureDocumentRequest.cc | 73 - .../CreateFilingSignatureDocumentResult.cc | 44 - cas/src/model/CreateOrderAuditRequest.cc | 84 - cas/src/model/CreateOrderAuditResult.cc | 93 - cas/src/model/CreateOrderCancelRequest.cc | 73 - cas/src/model/CreateOrderCancelResult.cc | 44 - cas/src/model/CreateOrderDocumentRequest.cc | 106 -- cas/src/model/CreateOrderMaterialRequest.cc | 326 ---- cas/src/model/CreateOrderMaterialResult.cc | 44 - .../model/CreateOrderRefundRecordRequest.cc | 73 - cas/src/model/CreateOrderRevokeRequest.cc | 84 - cas/src/model/CreateOrderRevokeResult.cc | 44 - .../model/CreateSignatureDocumentRequest.cc | 84 - ...CreateSignaturePeopleCertificateRequest.cc | 106 -- cas/src/model/CreateSignatureRequest.cc | 238 --- cas/src/model/CreateSignatureResult.cc | 58 - cas/src/model/CreateUnDeploymentRequest.cc | 73 - ...CreateWHCertificateWithExtensionRequest.cc | 180 ++ .../CreateWHCertificateWithExtensionResult.cc | 65 + .../model/CreateWHClientCertificateRequest.cc | 117 ++ .../model/CreateWHClientCertificateResult.cc | 79 + cas/src/model/CreateWebSignatureRequest.cc | 227 --- cas/src/model/DecryptRequest.cc | 72 + ...DownloadInfoResult.cc => DecryptResult.cc} | 25 +- cas/src/model/DeleteCertificateRequest.cc | 73 - .../model/DeleteCertificateRequestRequest.cc | 45 + ...t.cc => DeleteCertificateRequestResult.cc} | 10 +- cas/src/model/DeleteCertificateResult.cc | 44 - cas/src/model/DeleteOrderRequest.cc | 73 - cas/src/model/DeletePCACertRequest.cc | 45 + ...eOrderResult.cc => DeletePCACertResult.cc} | 10 +- .../DescribeCertificateBrandListRequest.cc | 62 - .../DescribeCertificateBrandListResult.cc | 59 - .../model/DescribeCertificateDetailRequest.cc | 73 - .../model/DescribeCertificateDetailResult.cc | 149 -- .../model/DescribeCertificateListRequest.cc | 144 -- .../model/DescribeCertificateListResult.cc | 126 -- .../model/DescribeCertificateStateRequest.cc | 45 + .../model/DescribeCertificateStateResult.cc | 114 ++ .../DescribeCertificateStatusCountRequest.cc | 78 - .../DescribeCertificateStatusCountResult.cc | 107 -- .../model/DescribeDeploymentDetailRequest.cc | 73 - .../model/DescribeDeploymentDetailResult.cc | 65 - .../DescribeDeploymentDomainListRequest.cc | 84 - .../DescribeDeploymentDomainListResult.cc | 52 - .../model/DescribeDeploymentProductRequest.cc | 73 - .../model/DescribeDeploymentProductResult.cc | 52 - .../DescribeDeploymentRegionListRequest.cc | 84 - .../DescribeDeploymentRegionListResult.cc | 52 - ...eDomainVerifyConfigurationStatusRequest.cc | 73 - ...beDomainVerifyConfigurationStatusResult.cc | 44 - .../model/DescribeDomainVerifyInfoRequest.cc | 73 - .../model/DescribeDomainVerifyInfoResult.cc | 93 - .../DescribeDownloadCertificateRequest.cc | 84 - .../DescribeDownloadCertificateResult.cc | 51 - ...ownloadDomainVerifyConfigurationRequest.cc | 73 - ...DownloadDomainVerifyConfigurationResult.cc | 51 - .../model/DescribeExpectationResultRequest.cc | 84 - .../model/DescribeExpectationResultResult.cc | 107 -- cas/src/model/DescribeHelpListRequest.cc | 73 - cas/src/model/DescribeHelpListResult.cc | 51 - cas/src/model/DescribeLocationListRequest.cc | 62 - cas/src/model/DescribeLocationListResult.cc | 51 - .../model/DescribeOSSDownloadInfoRequest.cc | 73 - cas/src/model/DescribeOSSUploadInfoRequest.cc | 84 - cas/src/model/DescribeOSSUploadInfoResult.cc | 86 - .../DescribeOrderAuditFailRecordRequest.cc | 73 - .../DescribeOrderAuditFailRecordResult.cc | 65 - ...escribeOrderCountForConsoleIndexRequest.cc | 51 - ...DescribeOrderCountForConsoleIndexResult.cc | 51 - cas/src/model/DescribeOrderDetailRequest.cc | 73 - cas/src/model/DescribeOrderDetailResult.cc | 184 -- cas/src/model/DescribeOrderDocumentRequest.cc | 84 - cas/src/model/DescribeOrderDocumentResult.cc | 67 - cas/src/model/DescribeOrderListRequest.cc | 133 -- cas/src/model/DescribeOrderListResult.cc | 120 -- cas/src/model/DescribeOrderMaterialRequest.cc | 73 - cas/src/model/DescribeOrderMaterialResult.cc | 212 --- .../model/DescribeOrderRefundRecordRequest.cc | 51 - .../model/DescribeOrderRefundRecordResult.cc | 51 - cas/src/model/DescribePackageStateRequest.cc | 45 + ...esult.cc => DescribePackageStateResult.cc} | 35 +- cas/src/model/DescribeRenewOrderRequest.cc | 62 - .../model/DescribeSignatureCapacityRequest.cc | 62 - .../DescribeSignatureProductStateRequest.cc | 51 - .../DescribeSignatureProductStateResult.cc | 51 - .../DescribeSignatureStatisticsRequest.cc | 62 - .../DescribeSignatureStatisticsResult.cc | 84 - .../DescribeSignatureTradeDetailRequest.cc | 73 - .../DescribeSignatureTradeDetailResult.cc | 135 -- .../DescribeSignatureTradeListRequest.cc | 106 -- .../model/DescribeSignatureTradeListResult.cc | 94 - cas/src/model/DescribeStsAuthStatusRequest.cc | 73 - cas/src/model/DescribeStsAuthStatusResult.cc | 44 - cas/src/model/EncryptRequest.cc | 72 + ...tureDocumentResult.cc => EncryptResult.cc} | 25 +- cas/src/model/ListCertRequest.cc | 81 + cas/src/model/ListCertResult.cc | 98 + cas/src/model/ListCertWarehouseRequest.cc | 81 + cas/src/model/ListCertWarehouseResult.cc | 92 + cas/src/model/ListTagKeysRequest.cc | 95 - cas/src/model/ListTagKeysResult.cc | 80 - cas/src/model/ListTagResourcesRequest.cc | 113 -- cas/src/model/ListTagResourcesResult.cc | 70 - .../model/ListUserCertificateOrderRequest.cc | 81 + .../model/ListUserCertificateOrderResult.cc | 114 ++ ...ertificateOrderForPackageRequestRequest.cc | 54 + ...ertificateOrderForPackageRequestResult.cc} | 18 +- .../model/RevokeWHClientCertificateRequest.cc | 45 + ....cc => RevokeWHClientCertificateResult.cc} | 10 +- cas/src/model/SignRequest.cc | 72 + ...ateUnDeploymentResult.cc => SignResult.cc} | 17 +- cas/src/model/TagResourcesRequest.cc | 135 -- cas/src/model/UntagResourcesRequest.cc | 110 -- cas/src/model/UntagResourcesResult.cc | 44 - cas/src/model/UploadPCACertRequest.cc | 72 + ...ourcesResult.cc => UploadPCACertResult.cc} | 10 +- cas/src/model/VerifyRequest.cc | 81 + ...rRefundRecordResult.cc => VerifyResult.cc} | 17 +- 275 files changed, 4250 insertions(+), 16044 deletions(-) create mode 100644 cas/include/alibabacloud/cas/model/CancelCertificateForPackageRequestRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CancelCertificateForPackageRequestResult.h create mode 100644 cas/include/alibabacloud/cas/model/CancelOrderRequestRequest.h rename cas/include/alibabacloud/cas/model/{CreateWebSignatureResult.h => CancelOrderRequestResult.h} (72%) delete mode 100644 cas/include/alibabacloud/cas/model/CreateAliDnsRecordIdRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateCertificateForPackageRequestRequest.h rename cas/include/alibabacloud/cas/model/{DescribeHelpListResult.h => CreateCertificateForPackageRequestResult.h} (65%) delete mode 100644 cas/include/alibabacloud/cas/model/CreateCertificateNameRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateCertificateRequest.h create mode 100644 cas/include/alibabacloud/cas/model/CreateCertificateRequestRequest.h rename cas/include/alibabacloud/cas/model/{CreateCooperationOrderResult.h => CreateCertificateRequestResult.h} (69%) create mode 100644 cas/include/alibabacloud/cas/model/CreateCertificateWithCsrRequestRequest.h rename cas/include/alibabacloud/cas/model/{DescribeRenewOrderResult.h => CreateCertificateWithCsrRequestResult.h} (67%) delete mode 100644 cas/include/alibabacloud/cas/model/CreateCooperationOrderRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateDeploymentRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusResult.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateFilingSignatureDocumentRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateFilingSignatureDocumentResult.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateOrderAuditRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateOrderAuditResult.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateOrderCancelRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateOrderCancelResult.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateOrderDocumentRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateOrderDocumentResult.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateOrderMaterialRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateOrderMaterialResult.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateOrderRefundRecordRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateOrderRefundRecordResult.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateOrderRevokeRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateOrderRevokeResult.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateSignatureDocumentRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateSignatureDocumentResult.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateSignaturePeopleCertificateRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateSignatureRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateSignatureResult.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateUnDeploymentRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/CreateUnDeploymentResult.h create mode 100644 cas/include/alibabacloud/cas/model/CreateWHCertificateWithExtensionRequest.h rename cas/include/alibabacloud/cas/model/{CreateSignaturePeopleCertificateResult.h => CreateWHCertificateWithExtensionResult.h} (59%) create mode 100644 cas/include/alibabacloud/cas/model/CreateWHClientCertificateRequest.h rename cas/include/alibabacloud/cas/model/{DescribeDeploymentProductResult.h => CreateWHClientCertificateResult.h} (55%) delete mode 100644 cas/include/alibabacloud/cas/model/CreateWebSignatureRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DecryptRequest.h rename cas/include/alibabacloud/cas/model/{CreateCertificateResult.h => DecryptResult.h} (67%) delete mode 100644 cas/include/alibabacloud/cas/model/DeleteCertificateRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DeleteCertificateRequestRequest.h rename cas/include/alibabacloud/cas/model/{CreateDeploymentResult.h => DeleteCertificateRequestResult.h} (68%) delete mode 100644 cas/include/alibabacloud/cas/model/DeleteOrderRequest.h create mode 100644 cas/include/alibabacloud/cas/model/DeletePCACertRequest.h rename cas/include/alibabacloud/cas/model/{DeleteOrderResult.h => DeletePCACertResult.h} (72%) delete mode 100644 cas/include/alibabacloud/cas/model/DescribeCertificateBrandListRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeCertificateDetailRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeCertificateDetailResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeCertificateListRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeCertificateListResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribeCertificateStateRequest.h rename cas/include/alibabacloud/cas/model/{DescribeDomainVerifyInfoResult.h => DescribeCertificateStateResult.h} (51%) delete mode 100644 cas/include/alibabacloud/cas/model/DescribeCertificateStatusCountRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeCertificateStatusCountResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeDeploymentDetailRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeDeploymentDomainListRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeDeploymentDomainListResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeDeploymentProductRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeDeploymentRegionListRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeDeploymentRegionListResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeDomainVerifyInfoRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeDownloadCertificateRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeDownloadCertificateResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeExpectationResultRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeExpectationResultResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeHelpListRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeLocationListRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOSSDownloadInfoRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOSSDownloadInfoResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOSSUploadInfoRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOSSUploadInfoResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderAuditFailRecordRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderAuditFailRecordResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderCountForConsoleIndexRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderCountForConsoleIndexResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderDetailRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderDetailResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderDocumentRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderDocumentResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderListRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderMaterialRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderMaterialResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderRefundRecordRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeOrderRefundRecordResult.h create mode 100644 cas/include/alibabacloud/cas/model/DescribePackageStateRequest.h rename cas/include/alibabacloud/cas/model/{DescribeLocationListResult.h => DescribePackageStateResult.h} (61%) delete mode 100644 cas/include/alibabacloud/cas/model/DescribeRenewOrderRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureCapacityRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureCapacityResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureProductStateRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureProductStateResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureStatisticsRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureStatisticsResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureTradeDetailRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureTradeDetailResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureTradeListRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeSignatureTradeListResult.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeStsAuthStatusRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/DescribeStsAuthStatusResult.h create mode 100644 cas/include/alibabacloud/cas/model/EncryptRequest.h rename cas/include/alibabacloud/cas/model/{CreateCertificateNameResult.h => EncryptResult.h} (66%) create mode 100644 cas/include/alibabacloud/cas/model/ListCertRequest.h rename cas/include/alibabacloud/cas/model/{DescribeDeploymentDetailResult.h => ListCertResult.h} (52%) create mode 100644 cas/include/alibabacloud/cas/model/ListCertWarehouseRequest.h rename cas/include/alibabacloud/cas/model/{DescribeCertificateBrandListResult.h => ListCertWarehouseResult.h} (53%) delete mode 100644 cas/include/alibabacloud/cas/model/ListTagKeysRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/ListTagKeysResult.h delete mode 100644 cas/include/alibabacloud/cas/model/ListTagResourcesRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/ListTagResourcesResult.h create mode 100644 cas/include/alibabacloud/cas/model/ListUserCertificateOrderRequest.h rename cas/include/alibabacloud/cas/model/{DescribeOrderListResult.h => ListUserCertificateOrderResult.h} (50%) create mode 100644 cas/include/alibabacloud/cas/model/RenewCertificateOrderForPackageRequestRequest.h create mode 100644 cas/include/alibabacloud/cas/model/RenewCertificateOrderForPackageRequestResult.h create mode 100644 cas/include/alibabacloud/cas/model/RevokeWHClientCertificateRequest.h rename cas/include/alibabacloud/cas/model/{CreateAliDnsRecordIdResult.h => RevokeWHClientCertificateResult.h} (68%) create mode 100644 cas/include/alibabacloud/cas/model/SignRequest.h rename cas/include/alibabacloud/cas/model/{UntagResourcesResult.h => SignResult.h} (72%) delete mode 100644 cas/include/alibabacloud/cas/model/TagResourcesRequest.h delete mode 100644 cas/include/alibabacloud/cas/model/UntagResourcesRequest.h create mode 100644 cas/include/alibabacloud/cas/model/UploadPCACertRequest.h rename cas/include/alibabacloud/cas/model/{TagResourcesResult.h => UploadPCACertResult.h} (72%) create mode 100644 cas/include/alibabacloud/cas/model/VerifyRequest.h rename cas/include/alibabacloud/cas/model/{DeleteCertificateResult.h => VerifyResult.h} (70%) create mode 100644 cas/src/model/CancelCertificateForPackageRequestRequest.cc rename cas/src/model/{CreateAliDnsRecordIdResult.cc => CancelCertificateForPackageRequestResult.cc} (67%) create mode 100644 cas/src/model/CancelOrderRequestRequest.cc rename cas/src/model/{CreateWebSignatureResult.cc => CancelOrderRequestResult.cc} (75%) delete mode 100644 cas/src/model/CreateAliDnsRecordIdRequest.cc create mode 100644 cas/src/model/CreateCertificateForPackageRequestRequest.cc create mode 100644 cas/src/model/CreateCertificateForPackageRequestResult.cc delete mode 100644 cas/src/model/CreateCertificateNameRequest.cc delete mode 100644 cas/src/model/CreateCertificateNameResult.cc delete mode 100644 cas/src/model/CreateCertificateRequest.cc create mode 100644 cas/src/model/CreateCertificateRequestRequest.cc rename cas/src/model/{DescribeRenewOrderResult.cc => CreateCertificateRequestResult.cc} (71%) create mode 100644 cas/src/model/CreateCertificateWithCsrRequestRequest.cc rename cas/src/model/{CreateCooperationOrderResult.cc => CreateCertificateWithCsrRequestResult.cc} (68%) delete mode 100644 cas/src/model/CreateCooperationOrderRequest.cc delete mode 100644 cas/src/model/CreateDeploymentRequest.cc delete mode 100644 cas/src/model/CreateDeploymentResult.cc delete mode 100644 cas/src/model/CreateDomainVerifyConfigurationStatusRequest.cc delete mode 100644 cas/src/model/CreateDomainVerifyConfigurationStatusResult.cc delete mode 100644 cas/src/model/CreateFilingSignatureDocumentRequest.cc delete mode 100644 cas/src/model/CreateFilingSignatureDocumentResult.cc delete mode 100644 cas/src/model/CreateOrderAuditRequest.cc delete mode 100644 cas/src/model/CreateOrderAuditResult.cc delete mode 100644 cas/src/model/CreateOrderCancelRequest.cc delete mode 100644 cas/src/model/CreateOrderCancelResult.cc delete mode 100644 cas/src/model/CreateOrderDocumentRequest.cc delete mode 100644 cas/src/model/CreateOrderMaterialRequest.cc delete mode 100644 cas/src/model/CreateOrderMaterialResult.cc delete mode 100644 cas/src/model/CreateOrderRefundRecordRequest.cc delete mode 100644 cas/src/model/CreateOrderRevokeRequest.cc delete mode 100644 cas/src/model/CreateOrderRevokeResult.cc delete mode 100644 cas/src/model/CreateSignatureDocumentRequest.cc delete mode 100644 cas/src/model/CreateSignaturePeopleCertificateRequest.cc delete mode 100644 cas/src/model/CreateSignatureRequest.cc delete mode 100644 cas/src/model/CreateSignatureResult.cc delete mode 100644 cas/src/model/CreateUnDeploymentRequest.cc create mode 100644 cas/src/model/CreateWHCertificateWithExtensionRequest.cc create mode 100644 cas/src/model/CreateWHCertificateWithExtensionResult.cc create mode 100644 cas/src/model/CreateWHClientCertificateRequest.cc create mode 100644 cas/src/model/CreateWHClientCertificateResult.cc delete mode 100644 cas/src/model/CreateWebSignatureRequest.cc create mode 100644 cas/src/model/DecryptRequest.cc rename cas/src/model/{DescribeOSSDownloadInfoResult.cc => DecryptResult.cc} (62%) delete mode 100644 cas/src/model/DeleteCertificateRequest.cc create mode 100644 cas/src/model/DeleteCertificateRequestRequest.cc rename cas/src/model/{CreateOrderDocumentResult.cc => DeleteCertificateRequestResult.cc} (71%) delete mode 100644 cas/src/model/DeleteCertificateResult.cc delete mode 100644 cas/src/model/DeleteOrderRequest.cc create mode 100644 cas/src/model/DeletePCACertRequest.cc rename cas/src/model/{DeleteOrderResult.cc => DeletePCACertResult.cc} (76%) delete mode 100644 cas/src/model/DescribeCertificateBrandListRequest.cc delete mode 100644 cas/src/model/DescribeCertificateBrandListResult.cc delete mode 100644 cas/src/model/DescribeCertificateDetailRequest.cc delete mode 100644 cas/src/model/DescribeCertificateDetailResult.cc delete mode 100644 cas/src/model/DescribeCertificateListRequest.cc delete mode 100644 cas/src/model/DescribeCertificateListResult.cc create mode 100644 cas/src/model/DescribeCertificateStateRequest.cc create mode 100644 cas/src/model/DescribeCertificateStateResult.cc delete mode 100644 cas/src/model/DescribeCertificateStatusCountRequest.cc delete mode 100644 cas/src/model/DescribeCertificateStatusCountResult.cc delete mode 100644 cas/src/model/DescribeDeploymentDetailRequest.cc delete mode 100644 cas/src/model/DescribeDeploymentDetailResult.cc delete mode 100644 cas/src/model/DescribeDeploymentDomainListRequest.cc delete mode 100644 cas/src/model/DescribeDeploymentDomainListResult.cc delete mode 100644 cas/src/model/DescribeDeploymentProductRequest.cc delete mode 100644 cas/src/model/DescribeDeploymentProductResult.cc delete mode 100644 cas/src/model/DescribeDeploymentRegionListRequest.cc delete mode 100644 cas/src/model/DescribeDeploymentRegionListResult.cc delete mode 100644 cas/src/model/DescribeDomainVerifyConfigurationStatusRequest.cc delete mode 100644 cas/src/model/DescribeDomainVerifyConfigurationStatusResult.cc delete mode 100644 cas/src/model/DescribeDomainVerifyInfoRequest.cc delete mode 100644 cas/src/model/DescribeDomainVerifyInfoResult.cc delete mode 100644 cas/src/model/DescribeDownloadCertificateRequest.cc delete mode 100644 cas/src/model/DescribeDownloadCertificateResult.cc delete mode 100644 cas/src/model/DescribeDownloadDomainVerifyConfigurationRequest.cc delete mode 100644 cas/src/model/DescribeDownloadDomainVerifyConfigurationResult.cc delete mode 100644 cas/src/model/DescribeExpectationResultRequest.cc delete mode 100644 cas/src/model/DescribeExpectationResultResult.cc delete mode 100644 cas/src/model/DescribeHelpListRequest.cc delete mode 100644 cas/src/model/DescribeHelpListResult.cc delete mode 100644 cas/src/model/DescribeLocationListRequest.cc delete mode 100644 cas/src/model/DescribeLocationListResult.cc delete mode 100644 cas/src/model/DescribeOSSDownloadInfoRequest.cc delete mode 100644 cas/src/model/DescribeOSSUploadInfoRequest.cc delete mode 100644 cas/src/model/DescribeOSSUploadInfoResult.cc delete mode 100644 cas/src/model/DescribeOrderAuditFailRecordRequest.cc delete mode 100644 cas/src/model/DescribeOrderAuditFailRecordResult.cc delete mode 100644 cas/src/model/DescribeOrderCountForConsoleIndexRequest.cc delete mode 100644 cas/src/model/DescribeOrderCountForConsoleIndexResult.cc delete mode 100644 cas/src/model/DescribeOrderDetailRequest.cc delete mode 100644 cas/src/model/DescribeOrderDetailResult.cc delete mode 100644 cas/src/model/DescribeOrderDocumentRequest.cc delete mode 100644 cas/src/model/DescribeOrderDocumentResult.cc delete mode 100644 cas/src/model/DescribeOrderListRequest.cc delete mode 100644 cas/src/model/DescribeOrderListResult.cc delete mode 100644 cas/src/model/DescribeOrderMaterialRequest.cc delete mode 100644 cas/src/model/DescribeOrderMaterialResult.cc delete mode 100644 cas/src/model/DescribeOrderRefundRecordRequest.cc delete mode 100644 cas/src/model/DescribeOrderRefundRecordResult.cc create mode 100644 cas/src/model/DescribePackageStateRequest.cc rename cas/src/model/{DescribeSignatureCapacityResult.cc => DescribePackageStateResult.cc} (53%) delete mode 100644 cas/src/model/DescribeRenewOrderRequest.cc delete mode 100644 cas/src/model/DescribeSignatureCapacityRequest.cc delete mode 100644 cas/src/model/DescribeSignatureProductStateRequest.cc delete mode 100644 cas/src/model/DescribeSignatureProductStateResult.cc delete mode 100644 cas/src/model/DescribeSignatureStatisticsRequest.cc delete mode 100644 cas/src/model/DescribeSignatureStatisticsResult.cc delete mode 100644 cas/src/model/DescribeSignatureTradeDetailRequest.cc delete mode 100644 cas/src/model/DescribeSignatureTradeDetailResult.cc delete mode 100644 cas/src/model/DescribeSignatureTradeListRequest.cc delete mode 100644 cas/src/model/DescribeSignatureTradeListResult.cc delete mode 100644 cas/src/model/DescribeStsAuthStatusRequest.cc delete mode 100644 cas/src/model/DescribeStsAuthStatusResult.cc create mode 100644 cas/src/model/EncryptRequest.cc rename cas/src/model/{CreateSignatureDocumentResult.cc => EncryptResult.cc} (61%) create mode 100644 cas/src/model/ListCertRequest.cc create mode 100644 cas/src/model/ListCertResult.cc create mode 100644 cas/src/model/ListCertWarehouseRequest.cc create mode 100644 cas/src/model/ListCertWarehouseResult.cc delete mode 100644 cas/src/model/ListTagKeysRequest.cc delete mode 100644 cas/src/model/ListTagKeysResult.cc delete mode 100644 cas/src/model/ListTagResourcesRequest.cc delete mode 100644 cas/src/model/ListTagResourcesResult.cc create mode 100644 cas/src/model/ListUserCertificateOrderRequest.cc create mode 100644 cas/src/model/ListUserCertificateOrderResult.cc create mode 100644 cas/src/model/RenewCertificateOrderForPackageRequestRequest.cc rename cas/src/model/{CreateSignaturePeopleCertificateResult.cc => RenewCertificateOrderForPackageRequestResult.cc} (58%) create mode 100644 cas/src/model/RevokeWHClientCertificateRequest.cc rename cas/src/model/{CreateCertificateResult.cc => RevokeWHClientCertificateResult.cc} (71%) create mode 100644 cas/src/model/SignRequest.cc rename cas/src/model/{CreateUnDeploymentResult.cc => SignResult.cc} (72%) delete mode 100644 cas/src/model/TagResourcesRequest.cc delete mode 100644 cas/src/model/UntagResourcesRequest.cc delete mode 100644 cas/src/model/UntagResourcesResult.cc create mode 100644 cas/src/model/UploadPCACertRequest.cc rename cas/src/model/{TagResourcesResult.cc => UploadPCACertResult.cc} (76%) create mode 100644 cas/src/model/VerifyRequest.cc rename cas/src/model/{CreateOrderRefundRecordResult.cc => VerifyResult.cc} (69%) diff --git a/VERSION b/VERSION index b4d3f5ea0..8246ffa29 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1321 \ No newline at end of file +1.36.1322 \ No newline at end of file diff --git a/cas/CMakeLists.txt b/cas/CMakeLists.txt index cfcf3f0ff..1209ac10d 100644 --- a/cas/CMakeLists.txt +++ b/cas/CMakeLists.txt @@ -21,229 +21,93 @@ set(cas_public_header include/alibabacloud/cas/CasExport.h ) set(cas_public_header_model - 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/CreateCertificateNameRequest.h - include/alibabacloud/cas/model/CreateCertificateNameResult.h - include/alibabacloud/cas/model/CreateCooperationOrderRequest.h - include/alibabacloud/cas/model/CreateCooperationOrderResult.h - include/alibabacloud/cas/model/CreateDeploymentRequest.h - include/alibabacloud/cas/model/CreateDeploymentResult.h - include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusRequest.h - include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusResult.h - include/alibabacloud/cas/model/CreateFilingSignatureDocumentRequest.h - include/alibabacloud/cas/model/CreateFilingSignatureDocumentResult.h - include/alibabacloud/cas/model/CreateOrderAuditRequest.h - include/alibabacloud/cas/model/CreateOrderAuditResult.h - include/alibabacloud/cas/model/CreateOrderCancelRequest.h - include/alibabacloud/cas/model/CreateOrderCancelResult.h - include/alibabacloud/cas/model/CreateOrderDocumentRequest.h - include/alibabacloud/cas/model/CreateOrderDocumentResult.h - include/alibabacloud/cas/model/CreateOrderMaterialRequest.h - include/alibabacloud/cas/model/CreateOrderMaterialResult.h - include/alibabacloud/cas/model/CreateOrderRefundRecordRequest.h - include/alibabacloud/cas/model/CreateOrderRefundRecordResult.h - include/alibabacloud/cas/model/CreateOrderRevokeRequest.h - include/alibabacloud/cas/model/CreateOrderRevokeResult.h - include/alibabacloud/cas/model/CreateSignatureRequest.h - include/alibabacloud/cas/model/CreateSignatureResult.h - include/alibabacloud/cas/model/CreateSignatureDocumentRequest.h - include/alibabacloud/cas/model/CreateSignatureDocumentResult.h - include/alibabacloud/cas/model/CreateSignaturePeopleCertificateRequest.h - include/alibabacloud/cas/model/CreateSignaturePeopleCertificateResult.h - include/alibabacloud/cas/model/CreateUnDeploymentRequest.h - include/alibabacloud/cas/model/CreateUnDeploymentResult.h - include/alibabacloud/cas/model/CreateWebSignatureRequest.h - include/alibabacloud/cas/model/CreateWebSignatureResult.h - include/alibabacloud/cas/model/DeleteCertificateRequest.h - include/alibabacloud/cas/model/DeleteCertificateResult.h - include/alibabacloud/cas/model/DeleteOrderRequest.h - include/alibabacloud/cas/model/DeleteOrderResult.h - include/alibabacloud/cas/model/DescribeCertificateBrandListRequest.h - include/alibabacloud/cas/model/DescribeCertificateBrandListResult.h - include/alibabacloud/cas/model/DescribeCertificateDetailRequest.h - include/alibabacloud/cas/model/DescribeCertificateDetailResult.h - include/alibabacloud/cas/model/DescribeCertificateListRequest.h - include/alibabacloud/cas/model/DescribeCertificateListResult.h - include/alibabacloud/cas/model/DescribeCertificateStatusCountRequest.h - include/alibabacloud/cas/model/DescribeCertificateStatusCountResult.h - include/alibabacloud/cas/model/DescribeDeploymentDetailRequest.h - include/alibabacloud/cas/model/DescribeDeploymentDetailResult.h - include/alibabacloud/cas/model/DescribeDeploymentDomainListRequest.h - include/alibabacloud/cas/model/DescribeDeploymentDomainListResult.h - include/alibabacloud/cas/model/DescribeDeploymentProductRequest.h - include/alibabacloud/cas/model/DescribeDeploymentProductResult.h - include/alibabacloud/cas/model/DescribeDeploymentRegionListRequest.h - include/alibabacloud/cas/model/DescribeDeploymentRegionListResult.h - include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusRequest.h - include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusResult.h - include/alibabacloud/cas/model/DescribeDomainVerifyInfoRequest.h - include/alibabacloud/cas/model/DescribeDomainVerifyInfoResult.h - include/alibabacloud/cas/model/DescribeDownloadCertificateRequest.h - include/alibabacloud/cas/model/DescribeDownloadCertificateResult.h - include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationRequest.h - include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationResult.h - include/alibabacloud/cas/model/DescribeExpectationResultRequest.h - include/alibabacloud/cas/model/DescribeExpectationResultResult.h - include/alibabacloud/cas/model/DescribeHelpListRequest.h - include/alibabacloud/cas/model/DescribeHelpListResult.h - include/alibabacloud/cas/model/DescribeLocationListRequest.h - include/alibabacloud/cas/model/DescribeLocationListResult.h - include/alibabacloud/cas/model/DescribeOSSDownloadInfoRequest.h - include/alibabacloud/cas/model/DescribeOSSDownloadInfoResult.h - include/alibabacloud/cas/model/DescribeOSSUploadInfoRequest.h - include/alibabacloud/cas/model/DescribeOSSUploadInfoResult.h - include/alibabacloud/cas/model/DescribeOrderAuditFailRecordRequest.h - include/alibabacloud/cas/model/DescribeOrderAuditFailRecordResult.h - include/alibabacloud/cas/model/DescribeOrderCountForConsoleIndexRequest.h - include/alibabacloud/cas/model/DescribeOrderCountForConsoleIndexResult.h - include/alibabacloud/cas/model/DescribeOrderDetailRequest.h - include/alibabacloud/cas/model/DescribeOrderDetailResult.h - include/alibabacloud/cas/model/DescribeOrderDocumentRequest.h - include/alibabacloud/cas/model/DescribeOrderDocumentResult.h - include/alibabacloud/cas/model/DescribeOrderListRequest.h - include/alibabacloud/cas/model/DescribeOrderListResult.h - include/alibabacloud/cas/model/DescribeOrderMaterialRequest.h - include/alibabacloud/cas/model/DescribeOrderMaterialResult.h - include/alibabacloud/cas/model/DescribeOrderRefundRecordRequest.h - include/alibabacloud/cas/model/DescribeOrderRefundRecordResult.h - include/alibabacloud/cas/model/DescribeRenewOrderRequest.h - include/alibabacloud/cas/model/DescribeRenewOrderResult.h - include/alibabacloud/cas/model/DescribeSignatureCapacityRequest.h - include/alibabacloud/cas/model/DescribeSignatureCapacityResult.h - include/alibabacloud/cas/model/DescribeSignatureProductStateRequest.h - include/alibabacloud/cas/model/DescribeSignatureProductStateResult.h - include/alibabacloud/cas/model/DescribeSignatureStatisticsRequest.h - include/alibabacloud/cas/model/DescribeSignatureStatisticsResult.h - include/alibabacloud/cas/model/DescribeSignatureTradeDetailRequest.h - include/alibabacloud/cas/model/DescribeSignatureTradeDetailResult.h - include/alibabacloud/cas/model/DescribeSignatureTradeListRequest.h - include/alibabacloud/cas/model/DescribeSignatureTradeListResult.h - include/alibabacloud/cas/model/DescribeStsAuthStatusRequest.h - include/alibabacloud/cas/model/DescribeStsAuthStatusResult.h - include/alibabacloud/cas/model/ListTagKeysRequest.h - include/alibabacloud/cas/model/ListTagKeysResult.h - include/alibabacloud/cas/model/ListTagResourcesRequest.h - include/alibabacloud/cas/model/ListTagResourcesResult.h - include/alibabacloud/cas/model/TagResourcesRequest.h - include/alibabacloud/cas/model/TagResourcesResult.h - include/alibabacloud/cas/model/UntagResourcesRequest.h - include/alibabacloud/cas/model/UntagResourcesResult.h ) + include/alibabacloud/cas/model/CancelCertificateForPackageRequestRequest.h + include/alibabacloud/cas/model/CancelCertificateForPackageRequestResult.h + include/alibabacloud/cas/model/CancelOrderRequestRequest.h + include/alibabacloud/cas/model/CancelOrderRequestResult.h + include/alibabacloud/cas/model/CreateCertificateForPackageRequestRequest.h + include/alibabacloud/cas/model/CreateCertificateForPackageRequestResult.h + include/alibabacloud/cas/model/CreateCertificateRequestRequest.h + include/alibabacloud/cas/model/CreateCertificateRequestResult.h + include/alibabacloud/cas/model/CreateCertificateWithCsrRequestRequest.h + include/alibabacloud/cas/model/CreateCertificateWithCsrRequestResult.h + include/alibabacloud/cas/model/CreateWHCertificateWithExtensionRequest.h + include/alibabacloud/cas/model/CreateWHCertificateWithExtensionResult.h + include/alibabacloud/cas/model/CreateWHClientCertificateRequest.h + include/alibabacloud/cas/model/CreateWHClientCertificateResult.h + include/alibabacloud/cas/model/DecryptRequest.h + include/alibabacloud/cas/model/DecryptResult.h + include/alibabacloud/cas/model/DeleteCertificateRequestRequest.h + include/alibabacloud/cas/model/DeleteCertificateRequestResult.h + include/alibabacloud/cas/model/DeletePCACertRequest.h + include/alibabacloud/cas/model/DeletePCACertResult.h + include/alibabacloud/cas/model/DescribeCertificateStateRequest.h + include/alibabacloud/cas/model/DescribeCertificateStateResult.h + include/alibabacloud/cas/model/DescribePackageStateRequest.h + include/alibabacloud/cas/model/DescribePackageStateResult.h + include/alibabacloud/cas/model/EncryptRequest.h + include/alibabacloud/cas/model/EncryptResult.h + include/alibabacloud/cas/model/ListCertRequest.h + include/alibabacloud/cas/model/ListCertResult.h + include/alibabacloud/cas/model/ListCertWarehouseRequest.h + include/alibabacloud/cas/model/ListCertWarehouseResult.h + include/alibabacloud/cas/model/ListUserCertificateOrderRequest.h + include/alibabacloud/cas/model/ListUserCertificateOrderResult.h + include/alibabacloud/cas/model/RenewCertificateOrderForPackageRequestRequest.h + include/alibabacloud/cas/model/RenewCertificateOrderForPackageRequestResult.h + include/alibabacloud/cas/model/RevokeWHClientCertificateRequest.h + include/alibabacloud/cas/model/RevokeWHClientCertificateResult.h + include/alibabacloud/cas/model/SignRequest.h + include/alibabacloud/cas/model/SignResult.h + include/alibabacloud/cas/model/UploadPCACertRequest.h + include/alibabacloud/cas/model/UploadPCACertResult.h + include/alibabacloud/cas/model/VerifyRequest.h + include/alibabacloud/cas/model/VerifyResult.h ) set(cas_src src/CasClient.cc - src/model/CreateAliDnsRecordIdRequest.cc - src/model/CreateAliDnsRecordIdResult.cc - src/model/CreateCertificateRequest.cc - src/model/CreateCertificateResult.cc - src/model/CreateCertificateNameRequest.cc - src/model/CreateCertificateNameResult.cc - src/model/CreateCooperationOrderRequest.cc - src/model/CreateCooperationOrderResult.cc - src/model/CreateDeploymentRequest.cc - src/model/CreateDeploymentResult.cc - src/model/CreateDomainVerifyConfigurationStatusRequest.cc - src/model/CreateDomainVerifyConfigurationStatusResult.cc - src/model/CreateFilingSignatureDocumentRequest.cc - src/model/CreateFilingSignatureDocumentResult.cc - src/model/CreateOrderAuditRequest.cc - src/model/CreateOrderAuditResult.cc - src/model/CreateOrderCancelRequest.cc - src/model/CreateOrderCancelResult.cc - src/model/CreateOrderDocumentRequest.cc - src/model/CreateOrderDocumentResult.cc - src/model/CreateOrderMaterialRequest.cc - src/model/CreateOrderMaterialResult.cc - src/model/CreateOrderRefundRecordRequest.cc - src/model/CreateOrderRefundRecordResult.cc - src/model/CreateOrderRevokeRequest.cc - src/model/CreateOrderRevokeResult.cc - src/model/CreateSignatureRequest.cc - src/model/CreateSignatureResult.cc - src/model/CreateSignatureDocumentRequest.cc - src/model/CreateSignatureDocumentResult.cc - src/model/CreateSignaturePeopleCertificateRequest.cc - src/model/CreateSignaturePeopleCertificateResult.cc - src/model/CreateUnDeploymentRequest.cc - src/model/CreateUnDeploymentResult.cc - src/model/CreateWebSignatureRequest.cc - src/model/CreateWebSignatureResult.cc - src/model/DeleteCertificateRequest.cc - src/model/DeleteCertificateResult.cc - src/model/DeleteOrderRequest.cc - src/model/DeleteOrderResult.cc - src/model/DescribeCertificateBrandListRequest.cc - src/model/DescribeCertificateBrandListResult.cc - src/model/DescribeCertificateDetailRequest.cc - src/model/DescribeCertificateDetailResult.cc - src/model/DescribeCertificateListRequest.cc - src/model/DescribeCertificateListResult.cc - src/model/DescribeCertificateStatusCountRequest.cc - src/model/DescribeCertificateStatusCountResult.cc - src/model/DescribeDeploymentDetailRequest.cc - src/model/DescribeDeploymentDetailResult.cc - src/model/DescribeDeploymentDomainListRequest.cc - src/model/DescribeDeploymentDomainListResult.cc - src/model/DescribeDeploymentProductRequest.cc - src/model/DescribeDeploymentProductResult.cc - src/model/DescribeDeploymentRegionListRequest.cc - src/model/DescribeDeploymentRegionListResult.cc - src/model/DescribeDomainVerifyConfigurationStatusRequest.cc - src/model/DescribeDomainVerifyConfigurationStatusResult.cc - src/model/DescribeDomainVerifyInfoRequest.cc - src/model/DescribeDomainVerifyInfoResult.cc - src/model/DescribeDownloadCertificateRequest.cc - src/model/DescribeDownloadCertificateResult.cc - src/model/DescribeDownloadDomainVerifyConfigurationRequest.cc - src/model/DescribeDownloadDomainVerifyConfigurationResult.cc - src/model/DescribeExpectationResultRequest.cc - src/model/DescribeExpectationResultResult.cc - src/model/DescribeHelpListRequest.cc - src/model/DescribeHelpListResult.cc - src/model/DescribeLocationListRequest.cc - src/model/DescribeLocationListResult.cc - src/model/DescribeOSSDownloadInfoRequest.cc - src/model/DescribeOSSDownloadInfoResult.cc - src/model/DescribeOSSUploadInfoRequest.cc - src/model/DescribeOSSUploadInfoResult.cc - src/model/DescribeOrderAuditFailRecordRequest.cc - src/model/DescribeOrderAuditFailRecordResult.cc - src/model/DescribeOrderCountForConsoleIndexRequest.cc - src/model/DescribeOrderCountForConsoleIndexResult.cc - src/model/DescribeOrderDetailRequest.cc - src/model/DescribeOrderDetailResult.cc - src/model/DescribeOrderDocumentRequest.cc - src/model/DescribeOrderDocumentResult.cc - src/model/DescribeOrderListRequest.cc - src/model/DescribeOrderListResult.cc - src/model/DescribeOrderMaterialRequest.cc - src/model/DescribeOrderMaterialResult.cc - src/model/DescribeOrderRefundRecordRequest.cc - src/model/DescribeOrderRefundRecordResult.cc - src/model/DescribeRenewOrderRequest.cc - src/model/DescribeRenewOrderResult.cc - src/model/DescribeSignatureCapacityRequest.cc - src/model/DescribeSignatureCapacityResult.cc - src/model/DescribeSignatureProductStateRequest.cc - src/model/DescribeSignatureProductStateResult.cc - src/model/DescribeSignatureStatisticsRequest.cc - src/model/DescribeSignatureStatisticsResult.cc - src/model/DescribeSignatureTradeDetailRequest.cc - src/model/DescribeSignatureTradeDetailResult.cc - src/model/DescribeSignatureTradeListRequest.cc - src/model/DescribeSignatureTradeListResult.cc - src/model/DescribeStsAuthStatusRequest.cc - src/model/DescribeStsAuthStatusResult.cc - src/model/ListTagKeysRequest.cc - src/model/ListTagKeysResult.cc - src/model/ListTagResourcesRequest.cc - src/model/ListTagResourcesResult.cc - src/model/TagResourcesRequest.cc - src/model/TagResourcesResult.cc - src/model/UntagResourcesRequest.cc - src/model/UntagResourcesResult.cc ) + src/model/CancelCertificateForPackageRequestRequest.cc + src/model/CancelCertificateForPackageRequestResult.cc + src/model/CancelOrderRequestRequest.cc + src/model/CancelOrderRequestResult.cc + src/model/CreateCertificateForPackageRequestRequest.cc + src/model/CreateCertificateForPackageRequestResult.cc + src/model/CreateCertificateRequestRequest.cc + src/model/CreateCertificateRequestResult.cc + src/model/CreateCertificateWithCsrRequestRequest.cc + src/model/CreateCertificateWithCsrRequestResult.cc + src/model/CreateWHCertificateWithExtensionRequest.cc + src/model/CreateWHCertificateWithExtensionResult.cc + src/model/CreateWHClientCertificateRequest.cc + src/model/CreateWHClientCertificateResult.cc + src/model/DecryptRequest.cc + src/model/DecryptResult.cc + src/model/DeleteCertificateRequestRequest.cc + src/model/DeleteCertificateRequestResult.cc + src/model/DeletePCACertRequest.cc + src/model/DeletePCACertResult.cc + src/model/DescribeCertificateStateRequest.cc + src/model/DescribeCertificateStateResult.cc + src/model/DescribePackageStateRequest.cc + src/model/DescribePackageStateResult.cc + src/model/EncryptRequest.cc + src/model/EncryptResult.cc + src/model/ListCertRequest.cc + src/model/ListCertResult.cc + src/model/ListCertWarehouseRequest.cc + src/model/ListCertWarehouseResult.cc + src/model/ListUserCertificateOrderRequest.cc + src/model/ListUserCertificateOrderResult.cc + src/model/RenewCertificateOrderForPackageRequestRequest.cc + src/model/RenewCertificateOrderForPackageRequestResult.cc + src/model/RevokeWHClientCertificateRequest.cc + src/model/RevokeWHClientCertificateResult.cc + src/model/SignRequest.cc + src/model/SignResult.cc + src/model/UploadPCACertRequest.cc + src/model/UploadPCACertResult.cc + src/model/VerifyRequest.cc + src/model/VerifyResult.cc ) add_library(cas ${LIB_TYPE} ${cas_public_header} diff --git a/cas/include/alibabacloud/cas/CasClient.h b/cas/include/alibabacloud/cas/CasClient.h index ae212ea09..114dfd802 100644 --- a/cas/include/alibabacloud/cas/CasClient.h +++ b/cas/include/alibabacloud/cas/CasClient.h @@ -22,116 +22,48 @@ #include #include #include "CasExport.h" -#include "model/CreateAliDnsRecordIdRequest.h" -#include "model/CreateAliDnsRecordIdResult.h" -#include "model/CreateCertificateRequest.h" -#include "model/CreateCertificateResult.h" -#include "model/CreateCertificateNameRequest.h" -#include "model/CreateCertificateNameResult.h" -#include "model/CreateCooperationOrderRequest.h" -#include "model/CreateCooperationOrderResult.h" -#include "model/CreateDeploymentRequest.h" -#include "model/CreateDeploymentResult.h" -#include "model/CreateDomainVerifyConfigurationStatusRequest.h" -#include "model/CreateDomainVerifyConfigurationStatusResult.h" -#include "model/CreateFilingSignatureDocumentRequest.h" -#include "model/CreateFilingSignatureDocumentResult.h" -#include "model/CreateOrderAuditRequest.h" -#include "model/CreateOrderAuditResult.h" -#include "model/CreateOrderCancelRequest.h" -#include "model/CreateOrderCancelResult.h" -#include "model/CreateOrderDocumentRequest.h" -#include "model/CreateOrderDocumentResult.h" -#include "model/CreateOrderMaterialRequest.h" -#include "model/CreateOrderMaterialResult.h" -#include "model/CreateOrderRefundRecordRequest.h" -#include "model/CreateOrderRefundRecordResult.h" -#include "model/CreateOrderRevokeRequest.h" -#include "model/CreateOrderRevokeResult.h" -#include "model/CreateSignatureRequest.h" -#include "model/CreateSignatureResult.h" -#include "model/CreateSignatureDocumentRequest.h" -#include "model/CreateSignatureDocumentResult.h" -#include "model/CreateSignaturePeopleCertificateRequest.h" -#include "model/CreateSignaturePeopleCertificateResult.h" -#include "model/CreateUnDeploymentRequest.h" -#include "model/CreateUnDeploymentResult.h" -#include "model/CreateWebSignatureRequest.h" -#include "model/CreateWebSignatureResult.h" -#include "model/DeleteCertificateRequest.h" -#include "model/DeleteCertificateResult.h" -#include "model/DeleteOrderRequest.h" -#include "model/DeleteOrderResult.h" -#include "model/DescribeCertificateBrandListRequest.h" -#include "model/DescribeCertificateBrandListResult.h" -#include "model/DescribeCertificateDetailRequest.h" -#include "model/DescribeCertificateDetailResult.h" -#include "model/DescribeCertificateListRequest.h" -#include "model/DescribeCertificateListResult.h" -#include "model/DescribeCertificateStatusCountRequest.h" -#include "model/DescribeCertificateStatusCountResult.h" -#include "model/DescribeDeploymentDetailRequest.h" -#include "model/DescribeDeploymentDetailResult.h" -#include "model/DescribeDeploymentDomainListRequest.h" -#include "model/DescribeDeploymentDomainListResult.h" -#include "model/DescribeDeploymentProductRequest.h" -#include "model/DescribeDeploymentProductResult.h" -#include "model/DescribeDeploymentRegionListRequest.h" -#include "model/DescribeDeploymentRegionListResult.h" -#include "model/DescribeDomainVerifyConfigurationStatusRequest.h" -#include "model/DescribeDomainVerifyConfigurationStatusResult.h" -#include "model/DescribeDomainVerifyInfoRequest.h" -#include "model/DescribeDomainVerifyInfoResult.h" -#include "model/DescribeDownloadCertificateRequest.h" -#include "model/DescribeDownloadCertificateResult.h" -#include "model/DescribeDownloadDomainVerifyConfigurationRequest.h" -#include "model/DescribeDownloadDomainVerifyConfigurationResult.h" -#include "model/DescribeExpectationResultRequest.h" -#include "model/DescribeExpectationResultResult.h" -#include "model/DescribeHelpListRequest.h" -#include "model/DescribeHelpListResult.h" -#include "model/DescribeLocationListRequest.h" -#include "model/DescribeLocationListResult.h" -#include "model/DescribeOSSDownloadInfoRequest.h" -#include "model/DescribeOSSDownloadInfoResult.h" -#include "model/DescribeOSSUploadInfoRequest.h" -#include "model/DescribeOSSUploadInfoResult.h" -#include "model/DescribeOrderAuditFailRecordRequest.h" -#include "model/DescribeOrderAuditFailRecordResult.h" -#include "model/DescribeOrderCountForConsoleIndexRequest.h" -#include "model/DescribeOrderCountForConsoleIndexResult.h" -#include "model/DescribeOrderDetailRequest.h" -#include "model/DescribeOrderDetailResult.h" -#include "model/DescribeOrderDocumentRequest.h" -#include "model/DescribeOrderDocumentResult.h" -#include "model/DescribeOrderListRequest.h" -#include "model/DescribeOrderListResult.h" -#include "model/DescribeOrderMaterialRequest.h" -#include "model/DescribeOrderMaterialResult.h" -#include "model/DescribeOrderRefundRecordRequest.h" -#include "model/DescribeOrderRefundRecordResult.h" -#include "model/DescribeRenewOrderRequest.h" -#include "model/DescribeRenewOrderResult.h" -#include "model/DescribeSignatureCapacityRequest.h" -#include "model/DescribeSignatureCapacityResult.h" -#include "model/DescribeSignatureProductStateRequest.h" -#include "model/DescribeSignatureProductStateResult.h" -#include "model/DescribeSignatureStatisticsRequest.h" -#include "model/DescribeSignatureStatisticsResult.h" -#include "model/DescribeSignatureTradeDetailRequest.h" -#include "model/DescribeSignatureTradeDetailResult.h" -#include "model/DescribeSignatureTradeListRequest.h" -#include "model/DescribeSignatureTradeListResult.h" -#include "model/DescribeStsAuthStatusRequest.h" -#include "model/DescribeStsAuthStatusResult.h" -#include "model/ListTagKeysRequest.h" -#include "model/ListTagKeysResult.h" -#include "model/ListTagResourcesRequest.h" -#include "model/ListTagResourcesResult.h" -#include "model/TagResourcesRequest.h" -#include "model/TagResourcesResult.h" -#include "model/UntagResourcesRequest.h" -#include "model/UntagResourcesResult.h" +#include "model/CancelCertificateForPackageRequestRequest.h" +#include "model/CancelCertificateForPackageRequestResult.h" +#include "model/CancelOrderRequestRequest.h" +#include "model/CancelOrderRequestResult.h" +#include "model/CreateCertificateForPackageRequestRequest.h" +#include "model/CreateCertificateForPackageRequestResult.h" +#include "model/CreateCertificateRequestRequest.h" +#include "model/CreateCertificateRequestResult.h" +#include "model/CreateCertificateWithCsrRequestRequest.h" +#include "model/CreateCertificateWithCsrRequestResult.h" +#include "model/CreateWHCertificateWithExtensionRequest.h" +#include "model/CreateWHCertificateWithExtensionResult.h" +#include "model/CreateWHClientCertificateRequest.h" +#include "model/CreateWHClientCertificateResult.h" +#include "model/DecryptRequest.h" +#include "model/DecryptResult.h" +#include "model/DeleteCertificateRequestRequest.h" +#include "model/DeleteCertificateRequestResult.h" +#include "model/DeletePCACertRequest.h" +#include "model/DeletePCACertResult.h" +#include "model/DescribeCertificateStateRequest.h" +#include "model/DescribeCertificateStateResult.h" +#include "model/DescribePackageStateRequest.h" +#include "model/DescribePackageStateResult.h" +#include "model/EncryptRequest.h" +#include "model/EncryptResult.h" +#include "model/ListCertRequest.h" +#include "model/ListCertResult.h" +#include "model/ListCertWarehouseRequest.h" +#include "model/ListCertWarehouseResult.h" +#include "model/ListUserCertificateOrderRequest.h" +#include "model/ListUserCertificateOrderResult.h" +#include "model/RenewCertificateOrderForPackageRequestRequest.h" +#include "model/RenewCertificateOrderForPackageRequestResult.h" +#include "model/RevokeWHClientCertificateRequest.h" +#include "model/RevokeWHClientCertificateResult.h" +#include "model/SignRequest.h" +#include "model/SignResult.h" +#include "model/UploadPCACertRequest.h" +#include "model/UploadPCACertResult.h" +#include "model/VerifyRequest.h" +#include "model/VerifyResult.h" namespace AlibabaCloud @@ -141,341 +73,137 @@ namespace AlibabaCloud class ALIBABACLOUD_CAS_EXPORT CasClient : public RpcServiceClient { public: - typedef Outcome CreateAliDnsRecordIdOutcome; - typedef std::future CreateAliDnsRecordIdOutcomeCallable; - typedef std::function&)> CreateAliDnsRecordIdAsyncHandler; - typedef Outcome CreateCertificateOutcome; - typedef std::future CreateCertificateOutcomeCallable; - typedef std::function&)> CreateCertificateAsyncHandler; - typedef Outcome CreateCertificateNameOutcome; - typedef std::future CreateCertificateNameOutcomeCallable; - typedef std::function&)> CreateCertificateNameAsyncHandler; - typedef Outcome CreateCooperationOrderOutcome; - typedef std::future CreateCooperationOrderOutcomeCallable; - typedef std::function&)> CreateCooperationOrderAsyncHandler; - typedef Outcome CreateDeploymentOutcome; - typedef std::future CreateDeploymentOutcomeCallable; - typedef std::function&)> CreateDeploymentAsyncHandler; - typedef Outcome CreateDomainVerifyConfigurationStatusOutcome; - typedef std::future CreateDomainVerifyConfigurationStatusOutcomeCallable; - typedef std::function&)> CreateDomainVerifyConfigurationStatusAsyncHandler; - typedef Outcome CreateFilingSignatureDocumentOutcome; - typedef std::future CreateFilingSignatureDocumentOutcomeCallable; - typedef std::function&)> CreateFilingSignatureDocumentAsyncHandler; - typedef Outcome CreateOrderAuditOutcome; - typedef std::future CreateOrderAuditOutcomeCallable; - typedef std::function&)> CreateOrderAuditAsyncHandler; - typedef Outcome CreateOrderCancelOutcome; - typedef std::future CreateOrderCancelOutcomeCallable; - typedef std::function&)> CreateOrderCancelAsyncHandler; - typedef Outcome CreateOrderDocumentOutcome; - typedef std::future CreateOrderDocumentOutcomeCallable; - typedef std::function&)> CreateOrderDocumentAsyncHandler; - typedef Outcome CreateOrderMaterialOutcome; - typedef std::future CreateOrderMaterialOutcomeCallable; - typedef std::function&)> CreateOrderMaterialAsyncHandler; - typedef Outcome CreateOrderRefundRecordOutcome; - typedef std::future CreateOrderRefundRecordOutcomeCallable; - typedef std::function&)> CreateOrderRefundRecordAsyncHandler; - typedef Outcome CreateOrderRevokeOutcome; - typedef std::future CreateOrderRevokeOutcomeCallable; - typedef std::function&)> CreateOrderRevokeAsyncHandler; - typedef Outcome CreateSignatureOutcome; - typedef std::future CreateSignatureOutcomeCallable; - typedef std::function&)> CreateSignatureAsyncHandler; - typedef Outcome CreateSignatureDocumentOutcome; - typedef std::future CreateSignatureDocumentOutcomeCallable; - typedef std::function&)> CreateSignatureDocumentAsyncHandler; - typedef Outcome CreateSignaturePeopleCertificateOutcome; - typedef std::future CreateSignaturePeopleCertificateOutcomeCallable; - typedef std::function&)> CreateSignaturePeopleCertificateAsyncHandler; - typedef Outcome CreateUnDeploymentOutcome; - typedef std::future CreateUnDeploymentOutcomeCallable; - typedef std::function&)> CreateUnDeploymentAsyncHandler; - typedef Outcome CreateWebSignatureOutcome; - typedef std::future CreateWebSignatureOutcomeCallable; - typedef std::function&)> CreateWebSignatureAsyncHandler; - typedef Outcome DeleteCertificateOutcome; - typedef std::future DeleteCertificateOutcomeCallable; - typedef std::function&)> DeleteCertificateAsyncHandler; - typedef Outcome DeleteOrderOutcome; - typedef std::future DeleteOrderOutcomeCallable; - typedef std::function&)> DeleteOrderAsyncHandler; - typedef Outcome DescribeCertificateBrandListOutcome; - typedef std::future DescribeCertificateBrandListOutcomeCallable; - typedef std::function&)> DescribeCertificateBrandListAsyncHandler; - typedef Outcome DescribeCertificateDetailOutcome; - typedef std::future DescribeCertificateDetailOutcomeCallable; - typedef std::function&)> DescribeCertificateDetailAsyncHandler; - typedef Outcome DescribeCertificateListOutcome; - typedef std::future DescribeCertificateListOutcomeCallable; - typedef std::function&)> DescribeCertificateListAsyncHandler; - typedef Outcome DescribeCertificateStatusCountOutcome; - typedef std::future DescribeCertificateStatusCountOutcomeCallable; - typedef std::function&)> DescribeCertificateStatusCountAsyncHandler; - typedef Outcome DescribeDeploymentDetailOutcome; - typedef std::future DescribeDeploymentDetailOutcomeCallable; - typedef std::function&)> DescribeDeploymentDetailAsyncHandler; - typedef Outcome DescribeDeploymentDomainListOutcome; - typedef std::future DescribeDeploymentDomainListOutcomeCallable; - typedef std::function&)> DescribeDeploymentDomainListAsyncHandler; - typedef Outcome DescribeDeploymentProductOutcome; - typedef std::future DescribeDeploymentProductOutcomeCallable; - typedef std::function&)> DescribeDeploymentProductAsyncHandler; - typedef Outcome DescribeDeploymentRegionListOutcome; - typedef std::future DescribeDeploymentRegionListOutcomeCallable; - typedef std::function&)> DescribeDeploymentRegionListAsyncHandler; - typedef Outcome DescribeDomainVerifyConfigurationStatusOutcome; - typedef std::future DescribeDomainVerifyConfigurationStatusOutcomeCallable; - typedef std::function&)> DescribeDomainVerifyConfigurationStatusAsyncHandler; - typedef Outcome DescribeDomainVerifyInfoOutcome; - typedef std::future DescribeDomainVerifyInfoOutcomeCallable; - typedef std::function&)> DescribeDomainVerifyInfoAsyncHandler; - typedef Outcome DescribeDownloadCertificateOutcome; - typedef std::future DescribeDownloadCertificateOutcomeCallable; - typedef std::function&)> DescribeDownloadCertificateAsyncHandler; - typedef Outcome DescribeDownloadDomainVerifyConfigurationOutcome; - typedef std::future DescribeDownloadDomainVerifyConfigurationOutcomeCallable; - typedef std::function&)> DescribeDownloadDomainVerifyConfigurationAsyncHandler; - typedef Outcome DescribeExpectationResultOutcome; - typedef std::future DescribeExpectationResultOutcomeCallable; - typedef std::function&)> DescribeExpectationResultAsyncHandler; - typedef Outcome DescribeHelpListOutcome; - typedef std::future DescribeHelpListOutcomeCallable; - typedef std::function&)> DescribeHelpListAsyncHandler; - typedef Outcome DescribeLocationListOutcome; - typedef std::future DescribeLocationListOutcomeCallable; - typedef std::function&)> DescribeLocationListAsyncHandler; - typedef Outcome DescribeOSSDownloadInfoOutcome; - typedef std::future DescribeOSSDownloadInfoOutcomeCallable; - typedef std::function&)> DescribeOSSDownloadInfoAsyncHandler; - typedef Outcome DescribeOSSUploadInfoOutcome; - typedef std::future DescribeOSSUploadInfoOutcomeCallable; - typedef std::function&)> DescribeOSSUploadInfoAsyncHandler; - typedef Outcome DescribeOrderAuditFailRecordOutcome; - typedef std::future DescribeOrderAuditFailRecordOutcomeCallable; - typedef std::function&)> DescribeOrderAuditFailRecordAsyncHandler; - typedef Outcome DescribeOrderCountForConsoleIndexOutcome; - typedef std::future DescribeOrderCountForConsoleIndexOutcomeCallable; - typedef std::function&)> DescribeOrderCountForConsoleIndexAsyncHandler; - typedef Outcome DescribeOrderDetailOutcome; - typedef std::future DescribeOrderDetailOutcomeCallable; - typedef std::function&)> DescribeOrderDetailAsyncHandler; - typedef Outcome DescribeOrderDocumentOutcome; - typedef std::future DescribeOrderDocumentOutcomeCallable; - typedef std::function&)> DescribeOrderDocumentAsyncHandler; - typedef Outcome DescribeOrderListOutcome; - typedef std::future DescribeOrderListOutcomeCallable; - typedef std::function&)> DescribeOrderListAsyncHandler; - typedef Outcome DescribeOrderMaterialOutcome; - typedef std::future DescribeOrderMaterialOutcomeCallable; - typedef std::function&)> DescribeOrderMaterialAsyncHandler; - typedef Outcome DescribeOrderRefundRecordOutcome; - typedef std::future DescribeOrderRefundRecordOutcomeCallable; - typedef std::function&)> DescribeOrderRefundRecordAsyncHandler; - typedef Outcome DescribeRenewOrderOutcome; - typedef std::future DescribeRenewOrderOutcomeCallable; - typedef std::function&)> DescribeRenewOrderAsyncHandler; - typedef Outcome DescribeSignatureCapacityOutcome; - typedef std::future DescribeSignatureCapacityOutcomeCallable; - typedef std::function&)> DescribeSignatureCapacityAsyncHandler; - typedef Outcome DescribeSignatureProductStateOutcome; - typedef std::future DescribeSignatureProductStateOutcomeCallable; - typedef std::function&)> DescribeSignatureProductStateAsyncHandler; - typedef Outcome DescribeSignatureStatisticsOutcome; - typedef std::future DescribeSignatureStatisticsOutcomeCallable; - typedef std::function&)> DescribeSignatureStatisticsAsyncHandler; - typedef Outcome DescribeSignatureTradeDetailOutcome; - typedef std::future DescribeSignatureTradeDetailOutcomeCallable; - typedef std::function&)> DescribeSignatureTradeDetailAsyncHandler; - typedef Outcome DescribeSignatureTradeListOutcome; - typedef std::future DescribeSignatureTradeListOutcomeCallable; - typedef std::function&)> DescribeSignatureTradeListAsyncHandler; - typedef Outcome DescribeStsAuthStatusOutcome; - typedef std::future DescribeStsAuthStatusOutcomeCallable; - typedef std::function&)> DescribeStsAuthStatusAsyncHandler; - typedef Outcome ListTagKeysOutcome; - typedef std::future ListTagKeysOutcomeCallable; - typedef std::function&)> ListTagKeysAsyncHandler; - typedef Outcome ListTagResourcesOutcome; - typedef std::future ListTagResourcesOutcomeCallable; - typedef std::function&)> ListTagResourcesAsyncHandler; - typedef Outcome TagResourcesOutcome; - typedef std::future TagResourcesOutcomeCallable; - typedef std::function&)> TagResourcesAsyncHandler; - typedef Outcome UntagResourcesOutcome; - typedef std::future UntagResourcesOutcomeCallable; - typedef std::function&)> UntagResourcesAsyncHandler; + typedef Outcome CancelCertificateForPackageRequestOutcome; + typedef std::future CancelCertificateForPackageRequestOutcomeCallable; + typedef std::function&)> CancelCertificateForPackageRequestAsyncHandler; + typedef Outcome CancelOrderRequestOutcome; + typedef std::future CancelOrderRequestOutcomeCallable; + typedef std::function&)> CancelOrderRequestAsyncHandler; + typedef Outcome CreateCertificateForPackageRequestOutcome; + typedef std::future CreateCertificateForPackageRequestOutcomeCallable; + typedef std::function&)> CreateCertificateForPackageRequestAsyncHandler; + typedef Outcome CreateCertificateRequestOutcome; + typedef std::future CreateCertificateRequestOutcomeCallable; + typedef std::function&)> CreateCertificateRequestAsyncHandler; + typedef Outcome CreateCertificateWithCsrRequestOutcome; + typedef std::future CreateCertificateWithCsrRequestOutcomeCallable; + typedef std::function&)> CreateCertificateWithCsrRequestAsyncHandler; + typedef Outcome CreateWHCertificateWithExtensionOutcome; + typedef std::future CreateWHCertificateWithExtensionOutcomeCallable; + typedef std::function&)> CreateWHCertificateWithExtensionAsyncHandler; + typedef Outcome CreateWHClientCertificateOutcome; + typedef std::future CreateWHClientCertificateOutcomeCallable; + typedef std::function&)> CreateWHClientCertificateAsyncHandler; + typedef Outcome DecryptOutcome; + typedef std::future DecryptOutcomeCallable; + typedef std::function&)> DecryptAsyncHandler; + typedef Outcome DeleteCertificateRequestOutcome; + typedef std::future DeleteCertificateRequestOutcomeCallable; + typedef std::function&)> DeleteCertificateRequestAsyncHandler; + typedef Outcome DeletePCACertOutcome; + typedef std::future DeletePCACertOutcomeCallable; + typedef std::function&)> DeletePCACertAsyncHandler; + typedef Outcome DescribeCertificateStateOutcome; + typedef std::future DescribeCertificateStateOutcomeCallable; + typedef std::function&)> DescribeCertificateStateAsyncHandler; + typedef Outcome DescribePackageStateOutcome; + typedef std::future DescribePackageStateOutcomeCallable; + typedef std::function&)> DescribePackageStateAsyncHandler; + typedef Outcome EncryptOutcome; + typedef std::future EncryptOutcomeCallable; + typedef std::function&)> EncryptAsyncHandler; + typedef Outcome ListCertOutcome; + typedef std::future ListCertOutcomeCallable; + typedef std::function&)> ListCertAsyncHandler; + typedef Outcome ListCertWarehouseOutcome; + typedef std::future ListCertWarehouseOutcomeCallable; + typedef std::function&)> ListCertWarehouseAsyncHandler; + typedef Outcome ListUserCertificateOrderOutcome; + typedef std::future ListUserCertificateOrderOutcomeCallable; + typedef std::function&)> ListUserCertificateOrderAsyncHandler; + typedef Outcome RenewCertificateOrderForPackageRequestOutcome; + typedef std::future RenewCertificateOrderForPackageRequestOutcomeCallable; + typedef std::function&)> RenewCertificateOrderForPackageRequestAsyncHandler; + typedef Outcome RevokeWHClientCertificateOutcome; + typedef std::future RevokeWHClientCertificateOutcomeCallable; + typedef std::function&)> RevokeWHClientCertificateAsyncHandler; + typedef Outcome SignOutcome; + typedef std::future SignOutcomeCallable; + typedef std::function&)> SignAsyncHandler; + typedef Outcome UploadPCACertOutcome; + typedef std::future UploadPCACertOutcomeCallable; + typedef std::function&)> UploadPCACertAsyncHandler; + typedef Outcome VerifyOutcome; + typedef std::future VerifyOutcomeCallable; + typedef std::function&)> VerifyAsyncHandler; 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(); - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - CreateOrderRefundRecordOutcome createOrderRefundRecord(const Model::CreateOrderRefundRecordRequest &request)const; - void createOrderRefundRecordAsync(const Model::CreateOrderRefundRecordRequest& request, const CreateOrderRefundRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateOrderRefundRecordOutcomeCallable createOrderRefundRecordCallable(const Model::CreateOrderRefundRecordRequest& 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - DescribeOrderCountForConsoleIndexOutcome describeOrderCountForConsoleIndex(const Model::DescribeOrderCountForConsoleIndexRequest &request)const; - void describeOrderCountForConsoleIndexAsync(const Model::DescribeOrderCountForConsoleIndexRequest& request, const DescribeOrderCountForConsoleIndexAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeOrderCountForConsoleIndexOutcomeCallable describeOrderCountForConsoleIndexCallable(const Model::DescribeOrderCountForConsoleIndexRequest& 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; - 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; - 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; - 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; - DescribeOrderRefundRecordOutcome describeOrderRefundRecord(const Model::DescribeOrderRefundRecordRequest &request)const; - void describeOrderRefundRecordAsync(const Model::DescribeOrderRefundRecordRequest& request, const DescribeOrderRefundRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeOrderRefundRecordOutcomeCallable describeOrderRefundRecordCallable(const Model::DescribeOrderRefundRecordRequest& request) const; - DescribeRenewOrderOutcome describeRenewOrder(const Model::DescribeRenewOrderRequest &request)const; - void describeRenewOrderAsync(const Model::DescribeRenewOrderRequest& request, const DescribeRenewOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeRenewOrderOutcomeCallable describeRenewOrderCallable(const Model::DescribeRenewOrderRequest& 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; - DescribeSignatureProductStateOutcome describeSignatureProductState(const Model::DescribeSignatureProductStateRequest &request)const; - void describeSignatureProductStateAsync(const Model::DescribeSignatureProductStateRequest& request, const DescribeSignatureProductStateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeSignatureProductStateOutcomeCallable describeSignatureProductStateCallable(const Model::DescribeSignatureProductStateRequest& 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; - 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; - 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; - 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; - ListTagKeysOutcome listTagKeys(const Model::ListTagKeysRequest &request)const; - void listTagKeysAsync(const Model::ListTagKeysRequest& request, const ListTagKeysAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListTagKeysOutcomeCallable listTagKeysCallable(const Model::ListTagKeysRequest& request) const; - ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const; - void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const; - TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const; - void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const; - UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const; - void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const; + CancelCertificateForPackageRequestOutcome cancelCertificateForPackageRequest(const Model::CancelCertificateForPackageRequestRequest &request)const; + void cancelCertificateForPackageRequestAsync(const Model::CancelCertificateForPackageRequestRequest& request, const CancelCertificateForPackageRequestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CancelCertificateForPackageRequestOutcomeCallable cancelCertificateForPackageRequestCallable(const Model::CancelCertificateForPackageRequestRequest& request) const; + CancelOrderRequestOutcome cancelOrderRequest(const Model::CancelOrderRequestRequest &request)const; + void cancelOrderRequestAsync(const Model::CancelOrderRequestRequest& request, const CancelOrderRequestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CancelOrderRequestOutcomeCallable cancelOrderRequestCallable(const Model::CancelOrderRequestRequest& request) const; + CreateCertificateForPackageRequestOutcome createCertificateForPackageRequest(const Model::CreateCertificateForPackageRequestRequest &request)const; + void createCertificateForPackageRequestAsync(const Model::CreateCertificateForPackageRequestRequest& request, const CreateCertificateForPackageRequestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCertificateForPackageRequestOutcomeCallable createCertificateForPackageRequestCallable(const Model::CreateCertificateForPackageRequestRequest& request) const; + CreateCertificateRequestOutcome createCertificateRequest(const Model::CreateCertificateRequestRequest &request)const; + void createCertificateRequestAsync(const Model::CreateCertificateRequestRequest& request, const CreateCertificateRequestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCertificateRequestOutcomeCallable createCertificateRequestCallable(const Model::CreateCertificateRequestRequest& request) const; + CreateCertificateWithCsrRequestOutcome createCertificateWithCsrRequest(const Model::CreateCertificateWithCsrRequestRequest &request)const; + void createCertificateWithCsrRequestAsync(const Model::CreateCertificateWithCsrRequestRequest& request, const CreateCertificateWithCsrRequestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCertificateWithCsrRequestOutcomeCallable createCertificateWithCsrRequestCallable(const Model::CreateCertificateWithCsrRequestRequest& request) const; + CreateWHCertificateWithExtensionOutcome createWHCertificateWithExtension(const Model::CreateWHCertificateWithExtensionRequest &request)const; + void createWHCertificateWithExtensionAsync(const Model::CreateWHCertificateWithExtensionRequest& request, const CreateWHCertificateWithExtensionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateWHCertificateWithExtensionOutcomeCallable createWHCertificateWithExtensionCallable(const Model::CreateWHCertificateWithExtensionRequest& request) const; + CreateWHClientCertificateOutcome createWHClientCertificate(const Model::CreateWHClientCertificateRequest &request)const; + void createWHClientCertificateAsync(const Model::CreateWHClientCertificateRequest& request, const CreateWHClientCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateWHClientCertificateOutcomeCallable createWHClientCertificateCallable(const Model::CreateWHClientCertificateRequest& request) const; + DecryptOutcome decrypt(const Model::DecryptRequest &request)const; + void decryptAsync(const Model::DecryptRequest& request, const DecryptAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DecryptOutcomeCallable decryptCallable(const Model::DecryptRequest& request) const; + DeleteCertificateRequestOutcome deleteCertificateRequest(const Model::DeleteCertificateRequestRequest &request)const; + void deleteCertificateRequestAsync(const Model::DeleteCertificateRequestRequest& request, const DeleteCertificateRequestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCertificateRequestOutcomeCallable deleteCertificateRequestCallable(const Model::DeleteCertificateRequestRequest& request) const; + DeletePCACertOutcome deletePCACert(const Model::DeletePCACertRequest &request)const; + void deletePCACertAsync(const Model::DeletePCACertRequest& request, const DeletePCACertAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeletePCACertOutcomeCallable deletePCACertCallable(const Model::DeletePCACertRequest& request) const; + DescribeCertificateStateOutcome describeCertificateState(const Model::DescribeCertificateStateRequest &request)const; + void describeCertificateStateAsync(const Model::DescribeCertificateStateRequest& request, const DescribeCertificateStateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCertificateStateOutcomeCallable describeCertificateStateCallable(const Model::DescribeCertificateStateRequest& request) const; + DescribePackageStateOutcome describePackageState(const Model::DescribePackageStateRequest &request)const; + void describePackageStateAsync(const Model::DescribePackageStateRequest& request, const DescribePackageStateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribePackageStateOutcomeCallable describePackageStateCallable(const Model::DescribePackageStateRequest& request) const; + EncryptOutcome encrypt(const Model::EncryptRequest &request)const; + void encryptAsync(const Model::EncryptRequest& request, const EncryptAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + EncryptOutcomeCallable encryptCallable(const Model::EncryptRequest& request) const; + ListCertOutcome listCert(const Model::ListCertRequest &request)const; + void listCertAsync(const Model::ListCertRequest& request, const ListCertAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCertOutcomeCallable listCertCallable(const Model::ListCertRequest& request) const; + ListCertWarehouseOutcome listCertWarehouse(const Model::ListCertWarehouseRequest &request)const; + void listCertWarehouseAsync(const Model::ListCertWarehouseRequest& request, const ListCertWarehouseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCertWarehouseOutcomeCallable listCertWarehouseCallable(const Model::ListCertWarehouseRequest& request) const; + ListUserCertificateOrderOutcome listUserCertificateOrder(const Model::ListUserCertificateOrderRequest &request)const; + void listUserCertificateOrderAsync(const Model::ListUserCertificateOrderRequest& request, const ListUserCertificateOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListUserCertificateOrderOutcomeCallable listUserCertificateOrderCallable(const Model::ListUserCertificateOrderRequest& request) const; + RenewCertificateOrderForPackageRequestOutcome renewCertificateOrderForPackageRequest(const Model::RenewCertificateOrderForPackageRequestRequest &request)const; + void renewCertificateOrderForPackageRequestAsync(const Model::RenewCertificateOrderForPackageRequestRequest& request, const RenewCertificateOrderForPackageRequestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RenewCertificateOrderForPackageRequestOutcomeCallable renewCertificateOrderForPackageRequestCallable(const Model::RenewCertificateOrderForPackageRequestRequest& request) const; + RevokeWHClientCertificateOutcome revokeWHClientCertificate(const Model::RevokeWHClientCertificateRequest &request)const; + void revokeWHClientCertificateAsync(const Model::RevokeWHClientCertificateRequest& request, const RevokeWHClientCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RevokeWHClientCertificateOutcomeCallable revokeWHClientCertificateCallable(const Model::RevokeWHClientCertificateRequest& request) const; + SignOutcome sign(const Model::SignRequest &request)const; + void signAsync(const Model::SignRequest& request, const SignAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SignOutcomeCallable signCallable(const Model::SignRequest& request) const; + UploadPCACertOutcome uploadPCACert(const Model::UploadPCACertRequest &request)const; + void uploadPCACertAsync(const Model::UploadPCACertRequest& request, const UploadPCACertAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UploadPCACertOutcomeCallable uploadPCACertCallable(const Model::UploadPCACertRequest& request) const; + VerifyOutcome verify(const Model::VerifyRequest &request)const; + void verifyAsync(const Model::VerifyRequest& request, const VerifyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + VerifyOutcomeCallable verifyCallable(const Model::VerifyRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/cas/include/alibabacloud/cas/model/CancelCertificateForPackageRequestRequest.h b/cas/include/alibabacloud/cas/model/CancelCertificateForPackageRequestRequest.h new file mode 100644 index 000000000..846dc379c --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CancelCertificateForPackageRequestRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CANCELCERTIFICATEFORPACKAGEREQUESTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CANCELCERTIFICATEFORPACKAGEREQUESTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT CancelCertificateForPackageRequestRequest : public RpcServiceRequest { +public: + CancelCertificateForPackageRequestRequest(); + ~CancelCertificateForPackageRequestRequest(); + long getOrderId() const; + void setOrderId(long orderId); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + +private: + long orderId_; + std::string sourceIp_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_CANCELCERTIFICATEFORPACKAGEREQUESTREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/CancelCertificateForPackageRequestResult.h b/cas/include/alibabacloud/cas/model/CancelCertificateForPackageRequestResult.h new file mode 100644 index 000000000..9f5567151 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CancelCertificateForPackageRequestResult.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_CANCELCERTIFICATEFORPACKAGEREQUESTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CANCELCERTIFICATEFORPACKAGEREQUESTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT CancelCertificateForPackageRequestResult : public ServiceResult + { + public: + + + CancelCertificateForPackageRequestResult(); + explicit CancelCertificateForPackageRequestResult(const std::string &payload); + ~CancelCertificateForPackageRequestResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_CANCELCERTIFICATEFORPACKAGEREQUESTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CancelOrderRequestRequest.h b/cas/include/alibabacloud/cas/model/CancelOrderRequestRequest.h new file mode 100644 index 000000000..e11d1eb76 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CancelOrderRequestRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CANCELORDERREQUESTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CANCELORDERREQUESTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT CancelOrderRequestRequest : public RpcServiceRequest { +public: + CancelOrderRequestRequest(); + ~CancelOrderRequestRequest(); + long getOrderId() const; + void setOrderId(long orderId); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + +private: + long orderId_; + std::string sourceIp_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_CANCELORDERREQUESTREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/CreateWebSignatureResult.h b/cas/include/alibabacloud/cas/model/CancelOrderRequestResult.h similarity index 72% rename from cas/include/alibabacloud/cas/model/CreateWebSignatureResult.h rename to cas/include/alibabacloud/cas/model/CancelOrderRequestResult.h index fe7f9924b..4c2c9cab4 100644 --- a/cas/include/alibabacloud/cas/model/CreateWebSignatureResult.h +++ b/cas/include/alibabacloud/cas/model/CancelOrderRequestResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_CREATEWEBSIGNATURERESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_CREATEWEBSIGNATURERESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_CANCELORDERREQUESTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CANCELORDERREQUESTRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT CreateWebSignatureResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT CancelOrderRequestResult : public ServiceResult { public: - CreateWebSignatureResult(); - explicit CreateWebSignatureResult(const std::string &payload); - ~CreateWebSignatureResult(); + CancelOrderRequestResult(); + explicit CancelOrderRequestResult(const std::string &payload); + ~CancelOrderRequestResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_CAS_MODEL_CREATEWEBSIGNATURERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_CANCELORDERREQUESTRESULT_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 deleted file mode 100644 index 1a117b46e..000000000 --- a/cas/include/alibabacloud/cas/model/CreateAliDnsRecordIdRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getOrderId()const; - void setOrderId(long orderId); - std::string getRecordId()const; - void setRecordId(const std::string& recordId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long orderId_; - std::string recordId_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string lang_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_CREATEALIDNSRECORDIDREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateCertificateForPackageRequestRequest.h b/cas/include/alibabacloud/cas/model/CreateCertificateForPackageRequestRequest.h new file mode 100644 index 000000000..e64543439 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateCertificateForPackageRequestRequest.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_CREATECERTIFICATEFORPACKAGEREQUESTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEFORPACKAGEREQUESTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT CreateCertificateForPackageRequestRequest : public RpcServiceRequest { +public: + CreateCertificateForPackageRequestRequest(); + ~CreateCertificateForPackageRequestRequest(); + std::string getProductCode() const; + void setProductCode(const std::string &productCode); + std::string getCsr() const; + void setCsr(const std::string &csr); + std::string getValidateType() const; + void setValidateType(const std::string &validateType); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getEmail() const; + void setEmail(const std::string &email); + std::string getPhone() const; + void setPhone(const std::string &phone); + std::string getCompanyName() const; + void setCompanyName(const std::string &companyName); + std::string getDomain() const; + void setDomain(const std::string &domain); + std::string getUsername() const; + void setUsername(const std::string &username); + +private: + std::string productCode_; + std::string csr_; + std::string validateType_; + std::string sourceIp_; + std::string email_; + std::string phone_; + std::string companyName_; + std::string domain_; + std::string username_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEFORPACKAGEREQUESTREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/DescribeHelpListResult.h b/cas/include/alibabacloud/cas/model/CreateCertificateForPackageRequestResult.h similarity index 65% rename from cas/include/alibabacloud/cas/model/DescribeHelpListResult.h rename to cas/include/alibabacloud/cas/model/CreateCertificateForPackageRequestResult.h index 8b1b78fc4..7f108e88c 100644 --- a/cas/include/alibabacloud/cas/model/DescribeHelpListResult.h +++ b/cas/include/alibabacloud/cas/model/CreateCertificateForPackageRequestResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEHELPLISTRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_DESCRIBEHELPLISTRESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEFORPACKAGEREQUESTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEFORPACKAGEREQUESTRESULT_H_ #include #include @@ -29,23 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT DescribeHelpListResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT CreateCertificateForPackageRequestResult : public ServiceResult { public: - DescribeHelpListResult(); - explicit DescribeHelpListResult(const std::string &payload); - ~DescribeHelpListResult(); - std::string getHelpInfoList()const; + CreateCertificateForPackageRequestResult(); + explicit CreateCertificateForPackageRequestResult(const std::string &payload); + ~CreateCertificateForPackageRequestResult(); + long getOrderId()const; protected: void parse(const std::string &payload); private: - std::string helpInfoList_; + long orderId_; }; } } } -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEHELPLISTRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEFORPACKAGEREQUESTRESULT_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 deleted file mode 100644 index 4be04a3e9..000000000 --- a/cas/include/alibabacloud/cas/model/CreateCertificateNameRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getCertificateId()const; - void setCertificateId(long certificateId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getName()const; - void setName(const std::string& name); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long certificateId_; - std::string resourceGroupId_; - std::string sourceIp_; - 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/CreateCertificateRequest.h b/cas/include/alibabacloud/cas/model/CreateCertificateRequest.h deleted file mode 100644 index 739f8d511..000000000 --- a/cas/include/alibabacloud/cas/model/CreateCertificateRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getCert()const; - void setCert(const std::string& cert); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - std::string getKey()const; - void setKey(const std::string& key); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string cert_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string lang_; - std::string key_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateCertificateRequestRequest.h b/cas/include/alibabacloud/cas/model/CreateCertificateRequestRequest.h new file mode 100644 index 000000000..e7be677c1 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateCertificateRequestRequest.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_CREATECERTIFICATEREQUESTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEREQUESTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT CreateCertificateRequestRequest : public RpcServiceRequest { +public: + CreateCertificateRequestRequest(); + ~CreateCertificateRequestRequest(); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getProductCode() const; + void setProductCode(const std::string &productCode); + std::string getUsername() const; + void setUsername(const std::string &username); + std::string getPhone() const; + void setPhone(const std::string &phone); + std::string getEmail() const; + void setEmail(const std::string &email); + std::string getDomain() const; + void setDomain(const std::string &domain); + std::string getValidateType() const; + void setValidateType(const std::string &validateType); + +private: + std::string sourceIp_; + std::string productCode_; + std::string username_; + std::string phone_; + std::string email_; + std::string domain_; + std::string validateType_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEREQUESTREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/CreateCooperationOrderResult.h b/cas/include/alibabacloud/cas/model/CreateCertificateRequestResult.h similarity index 69% rename from cas/include/alibabacloud/cas/model/CreateCooperationOrderResult.h rename to cas/include/alibabacloud/cas/model/CreateCertificateRequestResult.h index cffc435e4..cab73501e 100644 --- a/cas/include/alibabacloud/cas/model/CreateCooperationOrderResult.h +++ b/cas/include/alibabacloud/cas/model/CreateCertificateRequestResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_CREATECOOPERATIONORDERRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_CREATECOOPERATIONORDERRESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEREQUESTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEREQUESTRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT CreateCooperationOrderResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT CreateCertificateRequestResult : public ServiceResult { public: - CreateCooperationOrderResult(); - explicit CreateCooperationOrderResult(const std::string &payload); - ~CreateCooperationOrderResult(); + CreateCertificateRequestResult(); + explicit CreateCertificateRequestResult(const std::string &payload); + ~CreateCertificateRequestResult(); long getOrderId()const; protected: @@ -48,4 +48,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_CAS_MODEL_CREATECOOPERATIONORDERRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEREQUESTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateCertificateWithCsrRequestRequest.h b/cas/include/alibabacloud/cas/model/CreateCertificateWithCsrRequestRequest.h new file mode 100644 index 000000000..4c1a8577e --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateCertificateWithCsrRequestRequest.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_CREATECERTIFICATEWITHCSRREQUESTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEWITHCSRREQUESTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT CreateCertificateWithCsrRequestRequest : public RpcServiceRequest { +public: + CreateCertificateWithCsrRequestRequest(); + ~CreateCertificateWithCsrRequestRequest(); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getCsr() const; + void setCsr(const std::string &csr); + std::string getProductCode() const; + void setProductCode(const std::string &productCode); + std::string getUsername() const; + void setUsername(const std::string &username); + std::string getPhone() const; + void setPhone(const std::string &phone); + std::string getEmail() const; + void setEmail(const std::string &email); + std::string getValidateType() const; + void setValidateType(const std::string &validateType); + +private: + std::string sourceIp_; + std::string csr_; + std::string productCode_; + std::string username_; + std::string phone_; + std::string email_; + std::string validateType_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEWITHCSRREQUESTREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/DescribeRenewOrderResult.h b/cas/include/alibabacloud/cas/model/CreateCertificateWithCsrRequestResult.h similarity index 67% rename from cas/include/alibabacloud/cas/model/DescribeRenewOrderResult.h rename to cas/include/alibabacloud/cas/model/CreateCertificateWithCsrRequestResult.h index 41da3447d..c3c566534 100644 --- a/cas/include/alibabacloud/cas/model/DescribeRenewOrderResult.h +++ b/cas/include/alibabacloud/cas/model/CreateCertificateWithCsrRequestResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBERENEWORDERRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_DESCRIBERENEWORDERRESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEWITHCSRREQUESTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEWITHCSRREQUESTRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT DescribeRenewOrderResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT CreateCertificateWithCsrRequestResult : public ServiceResult { public: - DescribeRenewOrderResult(); - explicit DescribeRenewOrderResult(const std::string &payload); - ~DescribeRenewOrderResult(); + CreateCertificateWithCsrRequestResult(); + explicit CreateCertificateWithCsrRequestResult(const std::string &payload); + ~CreateCertificateWithCsrRequestResult(); long getOrderId()const; protected: @@ -48,4 +48,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBERENEWORDERRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATEWITHCSRREQUESTRESULT_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 deleted file mode 100644 index 6d1c7020b..000000000 --- a/cas/include/alibabacloud/cas/model/CreateCooperationOrderRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getFrom()const; - void setFrom(const std::string& from); - std::string getLang()const; - void setLang(const std::string& lang); - std::string getDomain()const; - void setDomain(const std::string& domain); - - private: - std::string productCode_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string from_; - std::string lang_; - std::string domain_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_CREATECOOPERATIONORDERREQUEST_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 deleted file mode 100644 index 7885444a2..000000000 --- a/cas/include/alibabacloud/cas/model/CreateDeploymentRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getCloudProduct()const; - void setCloudProduct(const std::string& cloudProduct); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - long getCertificateId()const; - void setCertificateId(long certificateId); - std::string getDomain()const; - void setDomain(const std::string& domain); - std::string getRegion()const; - void setRegion(const std::string& region); - - private: - std::string cloudProduct_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string lang_; - long certificateId_; - std::string domain_; - std::string region_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_CREATEDEPLOYMENTREQUEST_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 deleted file mode 100644 index 1b4ade948..000000000 --- a/cas/include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getOrderId()const; - void setOrderId(long orderId); - std::string getType()const; - void setType(const std::string& type); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long orderId_; - std::string type_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string lang_; - - }; - } - } -} -#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 deleted file mode 100644 index 65ad6a15f..000000000 --- a/cas/include/alibabacloud/cas/model/CreateDomainVerifyConfigurationStatusResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index a28dcef12..000000000 --- a/cas/include/alibabacloud/cas/model/CreateFilingSignatureDocumentRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getDocId()const; - void setDocId(const std::string& docId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - std::string docId_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index a0f177e47..000000000 --- a/cas/include/alibabacloud/cas/model/CreateFilingSignatureDocumentResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index f66d800c9..000000000 --- a/cas/include/alibabacloud/cas/model/CreateOrderAuditRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getOrderId()const; - void setOrderId(long orderId); - std::string getType()const; - void setType(const std::string& type); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long orderId_; - std::string type_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string lang_; - - }; - } - } -} -#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 deleted file mode 100644 index 1ea58c510..000000000 --- a/cas/include/alibabacloud/cas/model/CreateOrderAuditResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index caa318a9f..000000000 --- a/cas/include/alibabacloud/cas/model/CreateOrderCancelRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getOrderId()const; - void setOrderId(long orderId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long orderId_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index 05c55b8db..000000000 --- a/cas/include/alibabacloud/cas/model/CreateOrderCancelResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index e763c9d8b..000000000 --- a/cas/include/alibabacloud/cas/model/CreateOrderDocumentRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - std::string getExtName()const; - void setExtName(const std::string& extName); - long getOrderId()const; - void setOrderId(long orderId); - int getDocumentType()const; - void setDocumentType(int documentType); - - private: - std::string ossKey_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string lang_; - std::string extName_; - long orderId_; - int documentType_; - - }; - } - } -} -#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 deleted file mode 100644 index 0face272b..000000000 --- a/cas/include/alibabacloud/cas/model/CreateOrderDocumentResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index aa6e9b3d1..000000000 --- a/cas/include/alibabacloud/cas/model/CreateOrderMaterialRequest.h +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - 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 resourceGroupId_; - 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 deleted file mode 100644 index eb0329851..000000000 --- a/cas/include/alibabacloud/cas/model/CreateOrderMaterialResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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/CreateOrderRefundRecordRequest.h b/cas/include/alibabacloud/cas/model/CreateOrderRefundRecordRequest.h deleted file mode 100644 index 78a3de504..000000000 --- a/cas/include/alibabacloud/cas/model/CreateOrderRefundRecordRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CAS_MODEL_CREATEORDERREFUNDRECORDREQUEST_H_ -#define ALIBABACLOUD_CAS_MODEL_CREATEORDERREFUNDRECORDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cas - { - namespace Model - { - class ALIBABACLOUD_CAS_EXPORT CreateOrderRefundRecordRequest : public RpcServiceRequest - { - - public: - CreateOrderRefundRecordRequest(); - ~CreateOrderRefundRecordRequest(); - - std::string getReason()const; - void setReason(const std::string& reason); - long getOrderId()const; - void setOrderId(long orderId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - - private: - std::string reason_; - long orderId_; - std::string resourceGroupId_; - std::string sourceIp_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_CREATEORDERREFUNDRECORDREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateOrderRefundRecordResult.h b/cas/include/alibabacloud/cas/model/CreateOrderRefundRecordResult.h deleted file mode 100644 index 4d657b364..000000000 --- a/cas/include/alibabacloud/cas/model/CreateOrderRefundRecordResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CAS_MODEL_CREATEORDERREFUNDRECORDRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_CREATEORDERREFUNDRECORDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cas - { - namespace Model - { - class ALIBABACLOUD_CAS_EXPORT CreateOrderRefundRecordResult : public ServiceResult - { - public: - - - CreateOrderRefundRecordResult(); - explicit CreateOrderRefundRecordResult(const std::string &payload); - ~CreateOrderRefundRecordResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_CREATEORDERREFUNDRECORDRESULT_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 deleted file mode 100644 index 38496da71..000000000 --- a/cas/include/alibabacloud/cas/model/CreateOrderRevokeRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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); - long getOrderId()const; - void setOrderId(long orderId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - std::string reason_; - long orderId_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index d971cc99c..000000000 --- a/cas/include/alibabacloud/cas/model/CreateOrderRevokeResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index fda5f55a9..000000000 --- a/cas/include/alibabacloud/cas/model/CreateSignatureDocumentRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getDocContent()const; - void setDocContent(const std::string& docContent); - std::string getDocTitle()const; - void setDocTitle(const std::string& docTitle); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - std::string docContent_; - std::string docTitle_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string lang_; - - }; - } - } -} -#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 deleted file mode 100644 index 5f811dddf..000000000 --- a/cas/include/alibabacloud/cas/model/CreateSignatureDocumentResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - std::string getDocId()const; - - protected: - void parse(const std::string &payload); - private: - std::string docId_; - - }; - } - } -} -#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 deleted file mode 100644 index 72a61fd75..000000000 --- a/cas/include/alibabacloud/cas/model/CreateSignaturePeopleCertificateRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getIdentityNumber()const; - void setIdentityNumber(const std::string& identityNumber); - std::string getPeopleName()const; - void setPeopleName(const std::string& peopleName); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - std::string getEmail()const; - void setEmail(const std::string& email); - std::string getMobile()const; - void setMobile(const std::string& mobile); - - private: - std::string identityNumber_; - std::string peopleName_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string lang_; - std::string email_; - std::string mobile_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREPEOPLECERTIFICATEREQUEST_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 deleted file mode 100644 index f3aa74225..000000000 --- a/cas/include/alibabacloud/cas/model/CreateSignatureRequest.h +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - std::string getIconId()const; - void setIconId(const std::string& iconId); - std::string getHandSignImg()const; - void setHandSignImg(const std::string& handSignImg); - std::string getCustomApi()const; - void setCustomApi(const std::string& customApi); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getSignKeyword()const; - void setSignKeyword(const std::string& signKeyword); - std::string getNotifyUrl()const; - void setNotifyUrl(const std::string& notifyUrl); - std::string getLang()const; - void setLang(const std::string& lang); - int getQuantity()const; - void setQuantity(int quantity); - std::string getDocId()const; - void setDocId(const std::string& docId); - 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 getPeopleId()const; - void setPeopleId(const std::string& peopleId); - int getPositionType()const; - void setPositionType(int positionType); - int getValidity()const; - void setValidity(int validity); - std::string getReturnUrl()const; - void setReturnUrl(const std::string& returnUrl); - int getKeywordStrategy()const; - void setKeywordStrategy(int keywordStrategy); - - private: - std::string iconId_; - std::string handSignImg_; - std::string customApi_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string signKeyword_; - std::string notifyUrl_; - std::string lang_; - int quantity_; - std::string docId_; - int positionPage_; - std::string docTitle_; - int positionX_; - int positionY_; - std::string peopleId_; - int positionType_; - int validity_; - std::string returnUrl_; - 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 deleted file mode 100644 index 8f6d6a438..000000000 --- a/cas/include/alibabacloud/cas/model/CreateSignatureResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - std::string getDocContent()const; - std::string getTransactionId()const; - - protected: - void parse(const std::string &payload); - private: - std::string docContent_; - std::string transactionId_; - - }; - } - } -} -#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 deleted file mode 100644 index d1942bce3..000000000 --- a/cas/include/alibabacloud/cas/model/CreateUnDeploymentRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - 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 resourceGroupId_; - 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 deleted file mode 100644 index 0426908d5..000000000 --- a/cas/include/alibabacloud/cas/model/CreateUnDeploymentResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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/CreateWHCertificateWithExtensionRequest.h b/cas/include/alibabacloud/cas/model/CreateWHCertificateWithExtensionRequest.h new file mode 100644 index 000000000..5d9b124a6 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateWHCertificateWithExtensionRequest.h @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEWHCERTIFICATEWITHEXTENSIONREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEWHCERTIFICATEWITHEXTENSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT CreateWHCertificateWithExtensionRequest : public RpcServiceRequest { +public: + CreateWHCertificateWithExtensionRequest(); + ~CreateWHCertificateWithExtensionRequest(); + bool getAppendCrl() const; + void setAppendCrl(bool appendCrl); + std::string getCountryCode() const; + void setCountryCode(const std::string &countryCode); + std::string getCommonName() const; + void setCommonName(const std::string &commonName); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getCertType() const; + void setCertType(const std::string &certType); + std::string getState() const; + void setState(const std::string &state); + std::string getCsrPemString() const; + void setCsrPemString(const std::string &csrPemString); + std::string getAlgorithmKeySize() const; + void setAlgorithmKeySize(const std::string &algorithmKeySize); + long getAfterTime() const; + void setAfterTime(long afterTime); + std::string getSans() const; + void setSans(const std::string &sans); + std::string getLocality() const; + void setLocality(const std::string &locality); + bool getBasicConstraintsCritical() const; + void setBasicConstraintsCritical(bool basicConstraintsCritical); + std::string getAliasName() const; + void setAliasName(const std::string &aliasName); + std::string getOrganization() const; + void setOrganization(const std::string &organization); + long getBeforeTime() const; + void setBeforeTime(long beforeTime); + std::string getParentIdentifier() const; + void setParentIdentifier(const std::string &parentIdentifier); + std::string getOrganizationUnit() const; + void setOrganizationUnit(const std::string &organizationUnit); + +private: + bool appendCrl_; + std::string countryCode_; + std::string commonName_; + std::string sourceIp_; + std::string certType_; + std::string state_; + std::string csrPemString_; + std::string algorithmKeySize_; + long afterTime_; + std::string sans_; + std::string locality_; + bool basicConstraintsCritical_; + std::string aliasName_; + std::string organization_; + long beforeTime_; + std::string parentIdentifier_; + std::string organizationUnit_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEWHCERTIFICATEWITHEXTENSIONREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/CreateSignaturePeopleCertificateResult.h b/cas/include/alibabacloud/cas/model/CreateWHCertificateWithExtensionResult.h similarity index 59% rename from cas/include/alibabacloud/cas/model/CreateSignaturePeopleCertificateResult.h rename to cas/include/alibabacloud/cas/model/CreateWHCertificateWithExtensionResult.h index eb5e31019..12eec1a33 100644 --- a/cas/include/alibabacloud/cas/model/CreateSignaturePeopleCertificateResult.h +++ b/cas/include/alibabacloud/cas/model/CreateWHCertificateWithExtensionResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREPEOPLECERTIFICATERESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREPEOPLECERTIFICATERESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEWHCERTIFICATEWITHEXTENSIONRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEWHCERTIFICATEWITHEXTENSIONRESULT_H_ #include #include @@ -29,23 +29,27 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT CreateSignaturePeopleCertificateResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT CreateWHCertificateWithExtensionResult : public ServiceResult { public: - CreateSignaturePeopleCertificateResult(); - explicit CreateSignaturePeopleCertificateResult(const std::string &payload); - ~CreateSignaturePeopleCertificateResult(); - std::string getPeopleId()const; + CreateWHCertificateWithExtensionResult(); + explicit CreateWHCertificateWithExtensionResult(const std::string &payload); + ~CreateWHCertificateWithExtensionResult(); + std::string getIdentifier()const; + std::string getCertificateChain()const; + std::string getCertificate()const; protected: void parse(const std::string &payload); private: - std::string peopleId_; + std::string identifier_; + std::string certificateChain_; + std::string certificate_; }; } } } -#endif // !ALIBABACLOUD_CAS_MODEL_CREATESIGNATUREPEOPLECERTIFICATERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEWHCERTIFICATEWITHEXTENSIONRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/CreateWHClientCertificateRequest.h b/cas/include/alibabacloud/cas/model/CreateWHClientCertificateRequest.h new file mode 100644 index 000000000..6b68a1eb8 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/CreateWHClientCertificateRequest.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_CREATEWHCLIENTCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEWHCLIENTCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT CreateWHClientCertificateRequest : public RpcServiceRequest { +public: + CreateWHClientCertificateRequest(); + ~CreateWHClientCertificateRequest(); + std::string getCsr() const; + void setCsr(const std::string &csr); + std::string getCommonName() const; + void setCommonName(const std::string &commonName); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getSanValue() const; + void setSanValue(const std::string &sanValue); + std::string getAlgorithm() const; + void setAlgorithm(const std::string &algorithm); + long getAfterTime() const; + void setAfterTime(long afterTime); + long getSanType() const; + void setSanType(long sanType); + long getDays() const; + void setDays(long days); + long getBeforeTime() const; + void setBeforeTime(long beforeTime); + std::string getParentIdentifier() const; + void setParentIdentifier(const std::string &parentIdentifier); + +private: + std::string csr_; + std::string commonName_; + std::string sourceIp_; + std::string sanValue_; + std::string algorithm_; + long afterTime_; + long sanType_; + long days_; + long beforeTime_; + std::string parentIdentifier_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEWHCLIENTCERTIFICATEREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/DescribeDeploymentProductResult.h b/cas/include/alibabacloud/cas/model/CreateWHClientCertificateResult.h similarity index 55% rename from cas/include/alibabacloud/cas/model/DescribeDeploymentProductResult.h rename to cas/include/alibabacloud/cas/model/CreateWHClientCertificateResult.h index 1de672294..8aaa6db9e 100644 --- a/cas/include/alibabacloud/cas/model/DescribeDeploymentProductResult.h +++ b/cas/include/alibabacloud/cas/model/CreateWHClientCertificateResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTPRODUCTRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTPRODUCTRESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_CREATEWHCLIENTCERTIFICATERESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_CREATEWHCLIENTCERTIFICATERESULT_H_ #include #include @@ -29,23 +29,31 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT DescribeDeploymentProductResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT CreateWHClientCertificateResult : public ServiceResult { public: - DescribeDeploymentProductResult(); - explicit DescribeDeploymentProductResult(const std::string &payload); - ~DescribeDeploymentProductResult(); - std::vector getProductList()const; + CreateWHClientCertificateResult(); + explicit CreateWHClientCertificateResult(const std::string &payload); + ~CreateWHClientCertificateResult(); + std::string getIdentifier()const; + std::string getParentX509Certificate()const; + std::string getCertificateChain()const; + std::string getRootX509Certificate()const; + std::string getX509Certificate()const; protected: void parse(const std::string &payload); private: - std::vector productList_; + std::string identifier_; + std::string parentX509Certificate_; + std::string certificateChain_; + std::string rootX509Certificate_; + std::string x509Certificate_; }; } } } -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTPRODUCTRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_CREATEWHCLIENTCERTIFICATERESULT_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 deleted file mode 100644 index 62487ff98..000000000 --- a/cas/include/alibabacloud/cas/model/CreateWebSignatureRequest.h +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - std::string getHandSignImg()const; - void setHandSignImg(const std::string& handSignImg); - std::string getCustomApi()const; - void setCustomApi(const std::string& customApi); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getSignKeyword()const; - void setSignKeyword(const std::string& signKeyword); - std::string getNotifyUrl()const; - void setNotifyUrl(const std::string& notifyUrl); - std::string getLang()const; - void setLang(const std::string& lang); - int getQuantity()const; - void setQuantity(int quantity); - std::string getDocId()const; - void setDocId(const std::string& docId); - 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 getPeopleId()const; - void setPeopleId(const std::string& peopleId); - int getPositionType()const; - void setPositionType(int positionType); - int getValidity()const; - void setValidity(int validity); - std::string getReturnUrl()const; - void setReturnUrl(const std::string& returnUrl); - int getKeywordStrategy()const; - void setKeywordStrategy(int keywordStrategy); - - private: - std::string handSignImg_; - std::string customApi_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string signKeyword_; - std::string notifyUrl_; - std::string lang_; - int quantity_; - std::string docId_; - int positionPage_; - std::string docTitle_; - int positionX_; - int positionY_; - std::string peopleId_; - int positionType_; - int validity_; - std::string returnUrl_; - int keywordStrategy_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_CREATEWEBSIGNATUREREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DecryptRequest.h b/cas/include/alibabacloud/cas/model/DecryptRequest.h new file mode 100644 index 000000000..7fffeeefd --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DecryptRequest.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_DECRYPTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DECRYPTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT DecryptRequest : public RpcServiceRequest { +public: + DecryptRequest(); + ~DecryptRequest(); + std::string getMessageType() const; + void setMessageType(const std::string &messageType); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getCertIdentifier() const; + void setCertIdentifier(const std::string &certIdentifier); + std::string getAlgorithm() const; + void setAlgorithm(const std::string &algorithm); + std::string getCiphertextBlob() const; + void setCiphertextBlob(const std::string &ciphertextBlob); + +private: + std::string messageType_; + std::string sourceIp_; + std::string certIdentifier_; + std::string algorithm_; + std::string ciphertextBlob_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_DECRYPTREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/CreateCertificateResult.h b/cas/include/alibabacloud/cas/model/DecryptResult.h similarity index 67% rename from cas/include/alibabacloud/cas/model/CreateCertificateResult.h rename to cas/include/alibabacloud/cas/model/DecryptResult.h index 0c809e358..d1ce51a7a 100644 --- a/cas/include/alibabacloud/cas/model/CreateCertificateResult.h +++ b/cas/include/alibabacloud/cas/model/DecryptResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATERESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATERESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_DECRYPTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DECRYPTRESULT_H_ #include #include @@ -29,21 +29,25 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT CreateCertificateResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT DecryptResult : public ServiceResult { public: - CreateCertificateResult(); - explicit CreateCertificateResult(const std::string &payload); - ~CreateCertificateResult(); + DecryptResult(); + explicit DecryptResult(const std::string &payload); + ~DecryptResult(); + std::string getPlaintext()const; + std::string getCertIdentifier()const; protected: void parse(const std::string &payload); private: + std::string plaintext_; + std::string certIdentifier_; }; } } } -#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_DECRYPTRESULT_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 deleted file mode 100644 index 4d0ef101d..000000000 --- a/cas/include/alibabacloud/cas/model/DeleteCertificateRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getCertificateId()const; - void setCertificateId(long certificateId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long certificateId_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string lang_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_DELETECERTIFICATEREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DeleteCertificateRequestRequest.h b/cas/include/alibabacloud/cas/model/DeleteCertificateRequestRequest.h new file mode 100644 index 000000000..853f43c21 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DeleteCertificateRequestRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DELETECERTIFICATEREQUESTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DELETECERTIFICATEREQUESTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT DeleteCertificateRequestRequest : public RpcServiceRequest { +public: + DeleteCertificateRequestRequest(); + ~DeleteCertificateRequestRequest(); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + long getOrderId() const; + void setOrderId(long orderId); + +private: + std::string sourceIp_; + long orderId_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_DELETECERTIFICATEREQUESTREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/CreateDeploymentResult.h b/cas/include/alibabacloud/cas/model/DeleteCertificateRequestResult.h similarity index 68% rename from cas/include/alibabacloud/cas/model/CreateDeploymentResult.h rename to cas/include/alibabacloud/cas/model/DeleteCertificateRequestResult.h index 42cedf63a..d22ac2171 100644 --- a/cas/include/alibabacloud/cas/model/CreateDeploymentResult.h +++ b/cas/include/alibabacloud/cas/model/DeleteCertificateRequestResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_CREATEDEPLOYMENTRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_CREATEDEPLOYMENTRESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_DELETECERTIFICATEREQUESTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DELETECERTIFICATEREQUESTRESULT_H_ #include #include @@ -29,23 +29,21 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT CreateDeploymentResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT DeleteCertificateRequestResult : public ServiceResult { public: - CreateDeploymentResult(); - explicit CreateDeploymentResult(const std::string &payload); - ~CreateDeploymentResult(); - long getDeploymentId()const; + DeleteCertificateRequestResult(); + explicit DeleteCertificateRequestResult(const std::string &payload); + ~DeleteCertificateRequestResult(); protected: void parse(const std::string &payload); private: - long deploymentId_; }; } } } -#endif // !ALIBABACLOUD_CAS_MODEL_CREATEDEPLOYMENTRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_DELETECERTIFICATEREQUESTRESULT_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 deleted file mode 100644 index a803fe73b..000000000 --- a/cas/include/alibabacloud/cas/model/DeleteOrderRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getOrderId()const; - void setOrderId(long orderId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long orderId_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string lang_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_DELETEORDERREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DeletePCACertRequest.h b/cas/include/alibabacloud/cas/model/DeletePCACertRequest.h new file mode 100644 index 000000000..c39a3a144 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DeletePCACertRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DELETEPCACERTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DELETEPCACERTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT DeletePCACertRequest : public RpcServiceRequest { +public: + DeletePCACertRequest(); + ~DeletePCACertRequest(); + std::string getIdentifier() const; + void setIdentifier(const std::string &identifier); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + +private: + std::string identifier_; + std::string sourceIp_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_DELETEPCACERTREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/DeleteOrderResult.h b/cas/include/alibabacloud/cas/model/DeletePCACertResult.h similarity index 72% rename from cas/include/alibabacloud/cas/model/DeleteOrderResult.h rename to cas/include/alibabacloud/cas/model/DeletePCACertResult.h index f9f92e741..d4bb0fde5 100644 --- a/cas/include/alibabacloud/cas/model/DeleteOrderResult.h +++ b/cas/include/alibabacloud/cas/model/DeletePCACertResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_DELETEORDERRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_DELETEORDERRESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_DELETEPCACERTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DELETEPCACERTRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT DeleteOrderResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT DeletePCACertResult : public ServiceResult { public: - DeleteOrderResult(); - explicit DeleteOrderResult(const std::string &payload); - ~DeleteOrderResult(); + DeletePCACertResult(); + explicit DeletePCACertResult(const std::string &payload); + ~DeletePCACertResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_CAS_MODEL_DELETEORDERRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_DELETEPCACERTRESULT_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 deleted file mode 100644 index 8779df380..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeCertificateBrandListRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - std::string resourceGroupId_; - 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/DescribeCertificateDetailRequest.h b/cas/include/alibabacloud/cas/model/DescribeCertificateDetailRequest.h deleted file mode 100644 index e1b3aed4f..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeCertificateDetailRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getCertificateId()const; - void setCertificateId(long certificateId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long certificateId_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index d1fc0058e..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeCertificateDetailResult.h +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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; - int getAccessDownload()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_; - int accessDownload_; - 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 deleted file mode 100644 index 8c29b9b43..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeCertificateListRequest.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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: - struct Tag - { - std::string value; - std::string key; - }; - - public: - DescribeCertificateListRequest(); - ~DescribeCertificateListRequest(); - - std::string getSortType()const; - void setSortType(const std::string& sortType); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::vector getTag()const; - void setTag(const std::vector& tag); - std::string getLang()const; - void setLang(const std::string& lang); - std::string getKeyword()const; - void setKeyword(const std::string& keyword); - int getShowSize()const; - void setShowSize(int showSize); - int getCurrentPage()const; - void setCurrentPage(int currentPage); - std::string getSortColumn()const; - void setSortColumn(const std::string& sortColumn); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - std::string sortType_; - std::string resourceGroupId_; - std::string sourceIp_; - std::vector tag_; - std::string lang_; - std::string keyword_; - int showSize_; - int currentPage_; - std::string sortColumn_; - 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 deleted file mode 100644 index faf6700b9..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeCertificateListResult.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 - { - bool showRefund; - std::string sourceType; - std::string certType; - int remainingDays; - std::string partnerOrderId; - std::string newBuyCertType; - std::string statusCode; - int newBuyDomainCount; - std::string name; - std::string brandName; - std::string newBuyBrand; - bool isFree; - std::string orderType; - long beforeDate; - long afterDate; - std::string instanceId; - int showDeployment; - long orderId; - int year; - int accessDownload; - long id; - std::string deploymentCloudProduct; - std::string domain; - std::string newBuyDomainType; - int expireRenew; - }; - - - 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/DescribeCertificateStateRequest.h b/cas/include/alibabacloud/cas/model/DescribeCertificateStateRequest.h new file mode 100644 index 000000000..30f88e9e8 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribeCertificateStateRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATESTATEREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATESTATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT DescribeCertificateStateRequest : public RpcServiceRequest { +public: + DescribeCertificateStateRequest(); + ~DescribeCertificateStateRequest(); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + long getOrderId() const; + void setOrderId(long orderId); + +private: + std::string sourceIp_; + long orderId_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATESTATEREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/DescribeDomainVerifyInfoResult.h b/cas/include/alibabacloud/cas/model/DescribeCertificateStateResult.h similarity index 51% rename from cas/include/alibabacloud/cas/model/DescribeDomainVerifyInfoResult.h rename to cas/include/alibabacloud/cas/model/DescribeCertificateStateResult.h index da1bc4c08..503275951 100644 --- a/cas/include/alibabacloud/cas/model/DescribeDomainVerifyInfoResult.h +++ b/cas/include/alibabacloud/cas/model/DescribeCertificateStateResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDOMAINVERIFYINFORESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDOMAINVERIFYINFORESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATESTATERESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATESTATERESULT_H_ #include #include @@ -29,35 +29,41 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT DescribeDomainVerifyInfoResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT DescribeCertificateStateResult : public ServiceResult { public: - DescribeDomainVerifyInfoResult(); - explicit DescribeDomainVerifyInfoResult(const std::string &payload); - ~DescribeDomainVerifyInfoResult(); + DescribeCertificateStateResult(); + explicit DescribeCertificateStateResult(const std::string &payload); + ~DescribeCertificateStateResult(); 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; + std::string getPrivateKey()const; + std::string getRecordType()const; + std::string getContent()const; + std::string getRecordDomain()const; + std::string getRecordValue()const; + std::string getDomain()const; + std::string getValidateType()const; + std::string getUri()const; + std::string getCertificate()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_; + std::string privateKey_; + std::string recordType_; + std::string content_; + std::string recordDomain_; + std::string recordValue_; + std::string domain_; + std::string validateType_; + std::string uri_; + std::string certificate_; }; } } } -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDOMAINVERIFYINFORESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATESTATERESULT_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 deleted file mode 100644 index ec5c00652..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeCertificateStatusCountRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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: - struct Tag - { - std::string value; - std::string key; - }; - - public: - DescribeCertificateStatusCountRequest(); - ~DescribeCertificateStatusCountRequest(); - - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::vector getTag()const; - void setTag(const std::vector& tag); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - std::string resourceGroupId_; - std::string sourceIp_; - std::vector tag_; - 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 deleted file mode 100644 index 44b63b56b..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeCertificateStatusCountResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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; - int getRevokeChecking()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_; - int revokeChecking_; - - }; - } - } -} -#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 deleted file mode 100644 index 14e00db65..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeDeploymentDetailRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getCertificateId()const; - void setCertificateId(long certificateId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long certificateId_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string lang_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTDETAILREQUEST_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 deleted file mode 100644 index 242ec451f..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeDeploymentDomainListRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getCertificateId()const; - void setCertificateId(long certificateId); - std::string getCloudProduct()const; - void setCloudProduct(const std::string& cloudProduct); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long certificateId_; - std::string cloudProduct_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index b1fc5bdab..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeDeploymentDomainListResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index a70f77e0c..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeDeploymentProductRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getCertificateId()const; - void setCertificateId(long certificateId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long certificateId_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string lang_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTPRODUCTREQUEST_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 deleted file mode 100644 index 4db6c6ea1..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeDeploymentRegionListRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getCertificateId()const; - void setCertificateId(long certificateId); - std::string getCloudProduct()const; - void setCloudProduct(const std::string& cloudProduct); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long certificateId_; - std::string cloudProduct_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index a87a282ce..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeDeploymentRegionListResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index aea68f7ef..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getOrderId()const; - void setOrderId(long orderId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long orderId_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index e2a3e2308..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeDomainVerifyConfigurationStatusResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index 1c8438675..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeDomainVerifyInfoRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getOrderId()const; - void setOrderId(long orderId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long orderId_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string lang_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDOMAINVERIFYINFOREQUEST_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 deleted file mode 100644 index 58be33e94..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeDownloadCertificateRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getServerType()const; - void setServerType(const std::string& serverType); - long getCertificateId()const; - void setCertificateId(long certificateId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - std::string serverType_; - long certificateId_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index 5b7826bbe..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeDownloadCertificateResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index 7e7f789e8..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getOrderId()const; - void setOrderId(long orderId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long orderId_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index d521718eb..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeDownloadDomainVerifyConfigurationResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index 25e0014c1..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeExpectationResultRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getOrderId()const; - void setOrderId(long orderId); - std::string getExpectationType()const; - void setExpectationType(const std::string& expectationType); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long orderId_; - std::string expectationType_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index 9eff31d10..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeExpectationResultResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index cb8895fe0..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeHelpListRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - 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 resourceGroupId_; - 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/DescribeLocationListRequest.h b/cas/include/alibabacloud/cas/model/DescribeLocationListRequest.h deleted file mode 100644 index 5ef389a93..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeLocationListRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - std::string resourceGroupId_; - 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/DescribeOSSDownloadInfoRequest.h b/cas/include/alibabacloud/cas/model/DescribeOSSDownloadInfoRequest.h deleted file mode 100644 index 85c2115a1..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOSSDownloadInfoRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getOssKey()const; - void setOssKey(const std::string& ossKey); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - std::string ossKey_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index 998405d62..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOSSDownloadInfoResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index ada98c56d..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOSSUploadInfoRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getOrderId()const; - void setOrderId(long orderId); - int getDocumentType()const; - void setDocumentType(int documentType); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long orderId_; - int documentType_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index 875348a54..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOSSUploadInfoResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index d6e30de1f..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOrderAuditFailRecordRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getOrderId()const; - void setOrderId(long orderId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long orderId_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index bd5df1c30..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOrderAuditFailRecordResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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/DescribeOrderCountForConsoleIndexRequest.h b/cas/include/alibabacloud/cas/model/DescribeOrderCountForConsoleIndexRequest.h deleted file mode 100644 index fbf2c0f3b..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOrderCountForConsoleIndexRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERCOUNTFORCONSOLEINDEXREQUEST_H_ -#define ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERCOUNTFORCONSOLEINDEXREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cas - { - namespace Model - { - class ALIBABACLOUD_CAS_EXPORT DescribeOrderCountForConsoleIndexRequest : public RpcServiceRequest - { - - public: - DescribeOrderCountForConsoleIndexRequest(); - ~DescribeOrderCountForConsoleIndexRequest(); - - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - - private: - std::string resourceGroupId_; - std::string sourceIp_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERCOUNTFORCONSOLEINDEXREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeOrderCountForConsoleIndexResult.h b/cas/include/alibabacloud/cas/model/DescribeOrderCountForConsoleIndexResult.h deleted file mode 100644 index 38b2fe9dd..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOrderCountForConsoleIndexResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERCOUNTFORCONSOLEINDEXRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERCOUNTFORCONSOLEINDEXRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cas - { - namespace Model - { - class ALIBABACLOUD_CAS_EXPORT DescribeOrderCountForConsoleIndexResult : public ServiceResult - { - public: - - - DescribeOrderCountForConsoleIndexResult(); - explicit DescribeOrderCountForConsoleIndexResult(const std::string &payload); - ~DescribeOrderCountForConsoleIndexResult(); - bool getBuySuccess()const; - - protected: - void parse(const std::string &payload); - private: - bool buySuccess_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERCOUNTFORCONSOLEINDEXRESULT_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 deleted file mode 100644 index fa688bc27..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOrderDetailRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getOrderId()const; - void setOrderId(long orderId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long orderId_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index 9b1067e4d..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOrderDetailResult.h +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - int getVerifyStatus()const; - long getAfterDate()const; - bool getShowRefund()const; - std::string getInstanceId()const; - std::string getSourceType()const; - std::string getCertType()const; - int getWildDomainCount()const; - long getOrderId()const; - std::string getStatusCode()const; - std::string getBrandName()const; - std::string getOrderType()const; - long getYear()const; - bool getShowCancel()const; - std::string getProductAliasName()const; - long getMaybeIssueDate()const; - long getId()const; - std::string getDomain()const; - long getBuyDate()const; - int getDomainCount()const; - long getBeforeDate()const; - - protected: - void parse(const std::string &payload); - private: - int verifyStatus_; - long afterDate_; - bool showRefund_; - 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_; - - }; - } - } -} -#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 deleted file mode 100644 index 142285fca..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOrderDocumentRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getOrderId()const; - void setOrderId(long orderId); - std::string getType()const; - void setType(const std::string& type); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long orderId_; - std::string type_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index 1ba7fa056..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOrderDocumentResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index aed78e87d..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOrderListRequest.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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: - struct Tag - { - std::string value; - std::string key; - }; - - public: - DescribeOrderListRequest(); - ~DescribeOrderListRequest(); - - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - long getBrandId()const; - void setBrandId(long brandId); - std::vector getTag()const; - void setTag(const std::vector& tag); - std::string getKeyword()const; - void setKeyword(const std::string& keyword); - std::string getLang()const; - void setLang(const std::string& lang); - int getShowSize()const; - void setShowSize(int showSize); - int getCurrentPage()const; - void setCurrentPage(int currentPage); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - std::string resourceGroupId_; - std::string sourceIp_; - long brandId_; - std::vector tag_; - std::string keyword_; - std::string lang_; - int showSize_; - int currentPage_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERLISTREQUEST_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 deleted file mode 100644 index aaf3dbcca..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOrderMaterialRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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(); - - long getOrderId()const; - void setOrderId(long orderId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - long orderId_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index b49b8bf7c..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOrderMaterialResult.h +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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/DescribeOrderRefundRecordRequest.h b/cas/include/alibabacloud/cas/model/DescribeOrderRefundRecordRequest.h deleted file mode 100644 index 33e5e979a..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOrderRefundRecordRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERREFUNDRECORDREQUEST_H_ -#define ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERREFUNDRECORDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cas - { - namespace Model - { - class ALIBABACLOUD_CAS_EXPORT DescribeOrderRefundRecordRequest : public RpcServiceRequest - { - - public: - DescribeOrderRefundRecordRequest(); - ~DescribeOrderRefundRecordRequest(); - - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - - private: - std::string resourceGroupId_; - std::string sourceIp_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERREFUNDRECORDREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeOrderRefundRecordResult.h b/cas/include/alibabacloud/cas/model/DescribeOrderRefundRecordResult.h deleted file mode 100644 index 3326de0ed..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeOrderRefundRecordResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERREFUNDRECORDRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERREFUNDRECORDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cas - { - namespace Model - { - class ALIBABACLOUD_CAS_EXPORT DescribeOrderRefundRecordResult : public ServiceResult - { - public: - - - DescribeOrderRefundRecordResult(); - explicit DescribeOrderRefundRecordResult(const std::string &payload); - ~DescribeOrderRefundRecordResult(); - std::string getOrderRefundList()const; - - protected: - void parse(const std::string &payload); - private: - std::string orderRefundList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERREFUNDRECORDRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribePackageStateRequest.h b/cas/include/alibabacloud/cas/model/DescribePackageStateRequest.h new file mode 100644 index 000000000..b73111c7a --- /dev/null +++ b/cas/include/alibabacloud/cas/model/DescribePackageStateRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEPACKAGESTATEREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEPACKAGESTATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT DescribePackageStateRequest : public RpcServiceRequest { +public: + DescribePackageStateRequest(); + ~DescribePackageStateRequest(); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getProductCode() const; + void setProductCode(const std::string &productCode); + +private: + std::string sourceIp_; + std::string productCode_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEPACKAGESTATEREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/DescribeLocationListResult.h b/cas/include/alibabacloud/cas/model/DescribePackageStateResult.h similarity index 61% rename from cas/include/alibabacloud/cas/model/DescribeLocationListResult.h rename to cas/include/alibabacloud/cas/model/DescribePackageStateResult.h index 795d65c58..81e170980 100644 --- a/cas/include/alibabacloud/cas/model/DescribeLocationListResult.h +++ b/cas/include/alibabacloud/cas/model/DescribePackageStateResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBELOCATIONLISTRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_DESCRIBELOCATIONLISTRESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEPACKAGESTATERESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_DESCRIBEPACKAGESTATERESULT_H_ #include #include @@ -29,23 +29,29 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT DescribeLocationListResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT DescribePackageStateResult : public ServiceResult { public: - DescribeLocationListResult(); - explicit DescribeLocationListResult(const std::string &payload); - ~DescribeLocationListResult(); - std::string getLocationList()const; + DescribePackageStateResult(); + explicit DescribePackageStateResult(const std::string &payload); + ~DescribePackageStateResult(); + long getTotalCount()const; + std::string getProductCode()const; + long getUsedCount()const; + long getIssuedCount()const; protected: void parse(const std::string &payload); private: - std::string locationList_; + long totalCount_; + std::string productCode_; + long usedCount_; + long issuedCount_; }; } } } -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBELOCATIONLISTRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEPACKAGESTATERESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeRenewOrderRequest.h b/cas/include/alibabacloud/cas/model/DescribeRenewOrderRequest.h deleted file mode 100644 index 90cb1d4dc..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeRenewOrderRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBERENEWORDERREQUEST_H_ -#define ALIBABACLOUD_CAS_MODEL_DESCRIBERENEWORDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cas - { - namespace Model - { - class ALIBABACLOUD_CAS_EXPORT DescribeRenewOrderRequest : public RpcServiceRequest - { - - public: - DescribeRenewOrderRequest(); - ~DescribeRenewOrderRequest(); - - long getOrderId()const; - void setOrderId(long orderId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - - private: - long orderId_; - std::string resourceGroupId_; - std::string sourceIp_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBERENEWORDERREQUEST_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 deleted file mode 100644 index c93a97248..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeSignatureCapacityRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - std::string resourceGroupId_; - 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 deleted file mode 100644 index 91e73bb8f..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeSignatureCapacityResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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/DescribeSignatureProductStateRequest.h b/cas/include/alibabacloud/cas/model/DescribeSignatureProductStateRequest.h deleted file mode 100644 index 252dc0d32..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeSignatureProductStateRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATUREPRODUCTSTATEREQUEST_H_ -#define ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATUREPRODUCTSTATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cas - { - namespace Model - { - class ALIBABACLOUD_CAS_EXPORT DescribeSignatureProductStateRequest : public RpcServiceRequest - { - - public: - DescribeSignatureProductStateRequest(); - ~DescribeSignatureProductStateRequest(); - - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - - private: - std::string resourceGroupId_; - std::string sourceIp_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATUREPRODUCTSTATEREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/DescribeSignatureProductStateResult.h b/cas/include/alibabacloud/cas/model/DescribeSignatureProductStateResult.h deleted file mode 100644 index 78c6fb29b..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeSignatureProductStateResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATUREPRODUCTSTATERESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATUREPRODUCTSTATERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cas - { - namespace Model - { - class ALIBABACLOUD_CAS_EXPORT DescribeSignatureProductStateResult : public ServiceResult - { - public: - - - DescribeSignatureProductStateResult(); - explicit DescribeSignatureProductStateResult(const std::string &payload); - ~DescribeSignatureProductStateResult(); - std::string getState()const; - - protected: - void parse(const std::string &payload); - private: - std::string state_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBESIGNATUREPRODUCTSTATERESULT_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 deleted file mode 100644 index d16f8bd99..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeSignatureStatisticsRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - std::string resourceGroupId_; - 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 deleted file mode 100644 index 0d27764e7..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeSignatureStatisticsResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index 9fa9daebd..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeSignatureTradeDetailRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getTransactionId()const; - void setTransactionId(const std::string& transactionId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - std::string transactionId_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string lang_; - - }; - } - } -} -#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 deleted file mode 100644 index 87f37b91a..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeSignatureTradeDetailResult.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index dd48cc1e4..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeSignatureTradeListRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getSearchType()const; - void setSearchType(const std::string& searchType); - std::string getLang()const; - void setLang(const std::string& lang); - std::string getSearchValue()const; - void setSearchValue(const std::string& searchValue); - int getShowSize()const; - void setShowSize(int showSize); - int getCurrentPage()const; - void setCurrentPage(int currentPage); - - private: - std::string resourceGroupId_; - std::string sourceIp_; - std::string searchType_; - std::string lang_; - std::string searchValue_; - int showSize_; - int currentPage_; - - }; - } - } -} -#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 deleted file mode 100644 index 3a796b2b2..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeSignatureTradeListResult.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index d2c026d4d..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeStsAuthStatusRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 getCloudProduct()const; - void setCloudProduct(const std::string& cloudProduct); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getLang()const; - void setLang(const std::string& lang); - - private: - std::string cloudProduct_; - std::string resourceGroupId_; - std::string sourceIp_; - 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 deleted file mode 100644 index c21739be4..000000000 --- a/cas/include/alibabacloud/cas/model/DescribeStsAuthStatusResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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/include/alibabacloud/cas/model/EncryptRequest.h b/cas/include/alibabacloud/cas/model/EncryptRequest.h new file mode 100644 index 000000000..7215c4a95 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/EncryptRequest.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_ENCRYPTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_ENCRYPTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT EncryptRequest : public RpcServiceRequest { +public: + EncryptRequest(); + ~EncryptRequest(); + std::string getMessageType() const; + void setMessageType(const std::string &messageType); + std::string getPlaintext() const; + void setPlaintext(const std::string &plaintext); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getCertIdentifier() const; + void setCertIdentifier(const std::string &certIdentifier); + std::string getAlgorithm() const; + void setAlgorithm(const std::string &algorithm); + +private: + std::string messageType_; + std::string plaintext_; + std::string sourceIp_; + std::string certIdentifier_; + std::string algorithm_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_ENCRYPTREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/CreateCertificateNameResult.h b/cas/include/alibabacloud/cas/model/EncryptResult.h similarity index 66% rename from cas/include/alibabacloud/cas/model/CreateCertificateNameResult.h rename to cas/include/alibabacloud/cas/model/EncryptResult.h index 674a5f5fe..17e91137a 100644 --- a/cas/include/alibabacloud/cas/model/CreateCertificateNameResult.h +++ b/cas/include/alibabacloud/cas/model/EncryptResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATENAMERESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATENAMERESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_ENCRYPTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_ENCRYPTRESULT_H_ #include #include @@ -29,21 +29,25 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT CreateCertificateNameResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT EncryptResult : public ServiceResult { public: - CreateCertificateNameResult(); - explicit CreateCertificateNameResult(const std::string &payload); - ~CreateCertificateNameResult(); + EncryptResult(); + explicit EncryptResult(const std::string &payload); + ~EncryptResult(); + std::string getCiphertextBlob()const; + std::string getCertIdentifier()const; protected: void parse(const std::string &payload); private: + std::string ciphertextBlob_; + std::string certIdentifier_; }; } } } -#endif // !ALIBABACLOUD_CAS_MODEL_CREATECERTIFICATENAMERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_ENCRYPTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/ListCertRequest.h b/cas/include/alibabacloud/cas/model/ListCertRequest.h new file mode 100644 index 000000000..877178a27 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/ListCertRequest.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_LISTCERTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_LISTCERTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT ListCertRequest : public RpcServiceRequest { +public: + ListCertRequest(); + ~ListCertRequest(); + long getShowSize() const; + void setShowSize(long showSize); + long getCurrentPage() const; + void setCurrentPage(long currentPage); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + long getWarehouseId() const; + void setWarehouseId(long warehouseId); + std::string getKeyWord() const; + void setKeyWord(const std::string &keyWord); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + long showSize_; + long currentPage_; + std::string sourceIp_; + long warehouseId_; + std::string keyWord_; + std::string status_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_LISTCERTREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/DescribeDeploymentDetailResult.h b/cas/include/alibabacloud/cas/model/ListCertResult.h similarity index 52% rename from cas/include/alibabacloud/cas/model/DescribeDeploymentDetailResult.h rename to cas/include/alibabacloud/cas/model/ListCertResult.h index 4a15e406d..9da5bf8be 100644 --- a/cas/include/alibabacloud/cas/model/DescribeDeploymentDetailResult.h +++ b/cas/include/alibabacloud/cas/model/ListCertResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTDETAILRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTDETAILRESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_LISTCERTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_LISTCERTRESULT_H_ #include #include @@ -29,31 +29,43 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT DescribeDeploymentDetailResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT ListCertResult : public ServiceResult { public: - struct Deployment + struct Cert { - long deployTime; - std::string region; - long id; - std::string domain; - std::string cloudProduct; + std::string status; + long afterDate; + std::string identifier; + std::string sans; + long whId; + std::string issuer; + bool existPrivateKey; + std::string sourceType; + std::string whInstanceId; + std::string commonName; + long beforeDate; }; - DescribeDeploymentDetailResult(); - explicit DescribeDeploymentDetailResult(const std::string &payload); - ~DescribeDeploymentDetailResult(); - std::vector getDeploymentDetail()const; + ListCertResult(); + explicit ListCertResult(const std::string &payload); + ~ListCertResult(); + std::vector getCertList()const; + long getTotalCount()const; + long getCurrentPage()const; + long getShowSize()const; protected: void parse(const std::string &payload); private: - std::vector deploymentDetail_; + std::vector certList_; + long totalCount_; + long currentPage_; + long showSize_; }; } } } -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEDEPLOYMENTDETAILRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_LISTCERTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/ListCertWarehouseRequest.h b/cas/include/alibabacloud/cas/model/ListCertWarehouseRequest.h new file mode 100644 index 000000000..5a50e9ac5 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/ListCertWarehouseRequest.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_LISTCERTWAREHOUSEREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_LISTCERTWAREHOUSEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT ListCertWarehouseRequest : public RpcServiceRequest { +public: + ListCertWarehouseRequest(); + ~ListCertWarehouseRequest(); + long getShowSize() const; + void setShowSize(long showSize); + long getCurrentPage() const; + void setCurrentPage(long currentPage); + std::string getType() const; + void setType(const std::string &type); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getName() const; + void setName(const std::string &name); + +private: + long showSize_; + long currentPage_; + std::string type_; + std::string instanceId_; + std::string sourceIp_; + std::string name_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_LISTCERTWAREHOUSEREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/DescribeCertificateBrandListResult.h b/cas/include/alibabacloud/cas/model/ListCertWarehouseResult.h similarity index 53% rename from cas/include/alibabacloud/cas/model/DescribeCertificateBrandListResult.h rename to cas/include/alibabacloud/cas/model/ListCertWarehouseResult.h index b35d2f687..68de6cc8f 100644 --- a/cas/include/alibabacloud/cas/model/DescribeCertificateBrandListResult.h +++ b/cas/include/alibabacloud/cas/model/ListCertWarehouseResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATEBRANDLISTRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATEBRANDLISTRESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_LISTCERTWAREHOUSERESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_LISTCERTWAREHOUSERESULT_H_ #include #include @@ -29,28 +29,40 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT DescribeCertificateBrandListResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT ListCertWarehouseResult : public ServiceResult { public: - struct Brand + struct CertWarehouse { - long id; + bool isExpired; + std::string type; + long endTime; + long whId; + std::string instanceId; + long qps; + std::string pcaInstanceId; std::string name; }; - DescribeCertificateBrandListResult(); - explicit DescribeCertificateBrandListResult(const std::string &payload); - ~DescribeCertificateBrandListResult(); - std::vector getBrandList()const; + ListCertWarehouseResult(); + explicit ListCertWarehouseResult(const std::string &payload); + ~ListCertWarehouseResult(); + long getTotalCount()const; + long getCurrentPage()const; + long getShowSize()const; + std::vector getCertWarehouseList()const; protected: void parse(const std::string &payload); private: - std::vector brandList_; + long totalCount_; + long currentPage_; + long showSize_; + std::vector certWarehouseList_; }; } } } -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBECERTIFICATEBRANDLISTRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_LISTCERTWAREHOUSERESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/ListTagKeysRequest.h b/cas/include/alibabacloud/cas/model/ListTagKeysRequest.h deleted file mode 100644 index b09cc0188..000000000 --- a/cas/include/alibabacloud/cas/model/ListTagKeysRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CAS_MODEL_LISTTAGKEYSREQUEST_H_ -#define ALIBABACLOUD_CAS_MODEL_LISTTAGKEYSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cas - { - namespace Model - { - class ALIBABACLOUD_CAS_EXPORT ListTagKeysRequest : public RpcServiceRequest - { - - public: - ListTagKeysRequest(); - ~ListTagKeysRequest(); - - int getCurrentPage()const; - void setCurrentPage(int currentPage); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - int currentPage_; - std::string resourceType_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string regionId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_LISTTAGKEYSREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/ListTagKeysResult.h b/cas/include/alibabacloud/cas/model/ListTagKeysResult.h deleted file mode 100644 index 29bc4f761..000000000 --- a/cas/include/alibabacloud/cas/model/ListTagKeysResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CAS_MODEL_LISTTAGKEYSRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_LISTTAGKEYSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cas - { - namespace Model - { - class ALIBABACLOUD_CAS_EXPORT ListTagKeysResult : public ServiceResult - { - public: - struct TagKey - { - int tagCount; - std::string tagKey; - }; - - - ListTagKeysResult(); - explicit ListTagKeysResult(const std::string &payload); - ~ListTagKeysResult(); - int getTotalCount()const; - int getPageSize()const; - int getCurrentPage()const; - std::vector getTagKeys()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int currentPage_; - std::vector tagKeys_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_LISTTAGKEYSRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/ListTagResourcesRequest.h b/cas/include/alibabacloud/cas/model/ListTagResourcesRequest.h deleted file mode 100644 index b10f03d52..000000000 --- a/cas/include/alibabacloud/cas/model/ListTagResourcesRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CAS_MODEL_LISTTAGRESOURCESREQUEST_H_ -#define ALIBABACLOUD_CAS_MODEL_LISTTAGRESOURCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cas - { - namespace Model - { - class ALIBABACLOUD_CAS_EXPORT ListTagResourcesRequest : public RpcServiceRequest - { - public: - struct Tag - { - std::string value; - std::string key; - }; - - public: - ListTagResourcesRequest(); - ~ListTagResourcesRequest(); - - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getNextToken()const; - void setNextToken(const std::string& nextToken); - std::vector getTag()const; - void setTag(const std::vector& tag); - std::vector getResourceId()const; - void setResourceId(const std::vector& resourceId); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - - private: - std::string resourceGroupId_; - std::string sourceIp_; - std::string regionId_; - std::string nextToken_; - std::vector tag_; - std::vector resourceId_; - std::string resourceType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_LISTTAGRESOURCESREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/ListTagResourcesResult.h b/cas/include/alibabacloud/cas/model/ListTagResourcesResult.h deleted file mode 100644 index 9cf98603a..000000000 --- a/cas/include/alibabacloud/cas/model/ListTagResourcesResult.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CAS_MODEL_LISTTAGRESOURCESRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_LISTTAGRESOURCESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cas - { - namespace Model - { - class ALIBABACLOUD_CAS_EXPORT ListTagResourcesResult : public ServiceResult - { - public: - struct TagResource - { - std::string resourceId; - std::string tagKey; - std::string resourceType; - std::string tagValue; - }; - - - ListTagResourcesResult(); - explicit ListTagResourcesResult(const std::string &payload); - ~ListTagResourcesResult(); - std::string getNextToken()const; - std::vector getTagResources()const; - - protected: - void parse(const std::string &payload); - private: - std::string nextToken_; - std::vector tagResources_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_LISTTAGRESOURCESRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/ListUserCertificateOrderRequest.h b/cas/include/alibabacloud/cas/model/ListUserCertificateOrderRequest.h new file mode 100644 index 000000000..bd07597e9 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/ListUserCertificateOrderRequest.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_LISTUSERCERTIFICATEORDERREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_LISTUSERCERTIFICATEORDERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT ListUserCertificateOrderRequest : public RpcServiceRequest { +public: + ListUserCertificateOrderRequest(); + ~ListUserCertificateOrderRequest(); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getKeyword() const; + void setKeyword(const std::string &keyword); + long getShowSize() const; + void setShowSize(long showSize); + long getCurrentPage() const; + void setCurrentPage(long currentPage); + std::string getStatus() const; + void setStatus(const std::string &status); + std::string getOrderType() const; + void setOrderType(const std::string &orderType); + +private: + std::string sourceIp_; + std::string keyword_; + long showSize_; + long currentPage_; + std::string status_; + std::string orderType_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_LISTUSERCERTIFICATEORDERREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/DescribeOrderListResult.h b/cas/include/alibabacloud/cas/model/ListUserCertificateOrderResult.h similarity index 50% rename from cas/include/alibabacloud/cas/model/DescribeOrderListResult.h rename to cas/include/alibabacloud/cas/model/ListUserCertificateOrderResult.h index ad346e7d9..cf2a50e1c 100644 --- a/cas/include/alibabacloud/cas/model/DescribeOrderListResult.h +++ b/cas/include/alibabacloud/cas/model/ListUserCertificateOrderResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERLISTRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERLISTRESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_LISTUSERCERTIFICATEORDERRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_LISTUSERCERTIFICATEORDERRESULT_H_ #include #include @@ -29,54 +29,51 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT DescribeOrderListResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT ListUserCertificateOrderResult : public ServiceResult { public: - struct Order + struct CertificateOrderListItem { - int verifyStatus; - long afterDate; - bool showRefund; + std::string status; + std::string productName; std::string instanceId; + std::string productCode; + long certEndTime; std::string sourceType; std::string certType; - int wildDomainCount; + long wildDomainCount; std::string partnerOrderId; + long certStartTime; long orderId; - std::string statusCode; - std::string brandName; - bool isFree; - std::string orderType; - long year; - bool showCancel; - std::string productAliasName; - long maybeIssueDate; - long id; + std::string algorithm; + std::string rootBrand; + long aliyunOrderId; + std::string domainType; + std::string trusteeStatus; std::string domain; long buyDate; - int domainCount; - long beforeDate; + long domainCount; }; - DescribeOrderListResult(); - explicit DescribeOrderListResult(const std::string &payload); - ~DescribeOrderListResult(); - int getTotalCount()const; - int getCurrentPage()const; - int getShowSize()const; - std::vector getOrderList()const; + ListUserCertificateOrderResult(); + explicit ListUserCertificateOrderResult(const std::string &payload); + ~ListUserCertificateOrderResult(); + long getTotalCount()const; + long getCurrentPage()const; + long getShowSize()const; + std::vector getCertificateOrderList()const; protected: void parse(const std::string &payload); private: - int totalCount_; - int currentPage_; - int showSize_; - std::vector orderList_; + long totalCount_; + long currentPage_; + long showSize_; + std::vector certificateOrderList_; }; } } } -#endif // !ALIBABACLOUD_CAS_MODEL_DESCRIBEORDERLISTRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_LISTUSERCERTIFICATEORDERRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/RenewCertificateOrderForPackageRequestRequest.h b/cas/include/alibabacloud/cas/model/RenewCertificateOrderForPackageRequestRequest.h new file mode 100644 index 000000000..ffab20cf6 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/RenewCertificateOrderForPackageRequestRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_RENEWCERTIFICATEORDERFORPACKAGEREQUESTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_RENEWCERTIFICATEORDERFORPACKAGEREQUESTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT RenewCertificateOrderForPackageRequestRequest : public RpcServiceRequest { +public: + RenewCertificateOrderForPackageRequestRequest(); + ~RenewCertificateOrderForPackageRequestRequest(); + std::string getCsr() const; + void setCsr(const std::string &csr); + long getOrderId() const; + void setOrderId(long orderId); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + +private: + std::string csr_; + long orderId_; + std::string sourceIp_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_RENEWCERTIFICATEORDERFORPACKAGEREQUESTREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/RenewCertificateOrderForPackageRequestResult.h b/cas/include/alibabacloud/cas/model/RenewCertificateOrderForPackageRequestResult.h new file mode 100644 index 000000000..e99311c23 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/RenewCertificateOrderForPackageRequestResult.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_RENEWCERTIFICATEORDERFORPACKAGEREQUESTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_RENEWCERTIFICATEORDERFORPACKAGEREQUESTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cas + { + namespace Model + { + class ALIBABACLOUD_CAS_EXPORT RenewCertificateOrderForPackageRequestResult : public ServiceResult + { + public: + + + RenewCertificateOrderForPackageRequestResult(); + explicit RenewCertificateOrderForPackageRequestResult(const std::string &payload); + ~RenewCertificateOrderForPackageRequestResult(); + long getOrderId()const; + + protected: + void parse(const std::string &payload); + private: + long orderId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CAS_MODEL_RENEWCERTIFICATEORDERFORPACKAGEREQUESTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/RevokeWHClientCertificateRequest.h b/cas/include/alibabacloud/cas/model/RevokeWHClientCertificateRequest.h new file mode 100644 index 000000000..6327095b4 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/RevokeWHClientCertificateRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CAS_MODEL_REVOKEWHCLIENTCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_REVOKEWHCLIENTCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT RevokeWHClientCertificateRequest : public RpcServiceRequest { +public: + RevokeWHClientCertificateRequest(); + ~RevokeWHClientCertificateRequest(); + std::string getIdentifier() const; + void setIdentifier(const std::string &identifier); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + +private: + std::string identifier_; + std::string sourceIp_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_REVOKEWHCLIENTCERTIFICATEREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/CreateAliDnsRecordIdResult.h b/cas/include/alibabacloud/cas/model/RevokeWHClientCertificateResult.h similarity index 68% rename from cas/include/alibabacloud/cas/model/CreateAliDnsRecordIdResult.h rename to cas/include/alibabacloud/cas/model/RevokeWHClientCertificateResult.h index 5ecb0acda..75c6b8bf7 100644 --- a/cas/include/alibabacloud/cas/model/CreateAliDnsRecordIdResult.h +++ b/cas/include/alibabacloud/cas/model/RevokeWHClientCertificateResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_CREATEALIDNSRECORDIDRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_CREATEALIDNSRECORDIDRESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_REVOKEWHCLIENTCERTIFICATERESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_REVOKEWHCLIENTCERTIFICATERESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT CreateAliDnsRecordIdResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT RevokeWHClientCertificateResult : public ServiceResult { public: - CreateAliDnsRecordIdResult(); - explicit CreateAliDnsRecordIdResult(const std::string &payload); - ~CreateAliDnsRecordIdResult(); + RevokeWHClientCertificateResult(); + explicit RevokeWHClientCertificateResult(const std::string &payload); + ~RevokeWHClientCertificateResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_CAS_MODEL_CREATEALIDNSRECORDIDRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_REVOKEWHCLIENTCERTIFICATERESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/SignRequest.h b/cas/include/alibabacloud/cas/model/SignRequest.h new file mode 100644 index 000000000..a5a61e04a --- /dev/null +++ b/cas/include/alibabacloud/cas/model/SignRequest.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_SIGNREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_SIGNREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT SignRequest : public RpcServiceRequest { +public: + SignRequest(); + ~SignRequest(); + std::string getMessageType() const; + void setMessageType(const std::string &messageType); + std::string getSigningAlgorithm() const; + void setSigningAlgorithm(const std::string &signingAlgorithm); + std::string getMessage() const; + void setMessage(const std::string &message); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getCertIdentifier() const; + void setCertIdentifier(const std::string &certIdentifier); + +private: + std::string messageType_; + std::string signingAlgorithm_; + std::string message_; + std::string sourceIp_; + std::string certIdentifier_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_SIGNREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/UntagResourcesResult.h b/cas/include/alibabacloud/cas/model/SignResult.h similarity index 72% rename from cas/include/alibabacloud/cas/model/UntagResourcesResult.h rename to cas/include/alibabacloud/cas/model/SignResult.h index e3b2dbd7f..7f6da6a40 100644 --- a/cas/include/alibabacloud/cas/model/UntagResourcesResult.h +++ b/cas/include/alibabacloud/cas/model/SignResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_UNTAGRESOURCESRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_UNTAGRESOURCESRESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_SIGNRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_SIGNRESULT_H_ #include #include @@ -29,21 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT UntagResourcesResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT SignResult : public ServiceResult { public: - UntagResourcesResult(); - explicit UntagResourcesResult(const std::string &payload); - ~UntagResourcesResult(); + SignResult(); + explicit SignResult(const std::string &payload); + ~SignResult(); + std::string getSignature()const; protected: void parse(const std::string &payload); private: + std::string signature_; }; } } } -#endif // !ALIBABACLOUD_CAS_MODEL_UNTAGRESOURCESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_SIGNRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/TagResourcesRequest.h b/cas/include/alibabacloud/cas/model/TagResourcesRequest.h deleted file mode 100644 index 408fcb6e9..000000000 --- a/cas/include/alibabacloud/cas/model/TagResourcesRequest.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CAS_MODEL_TAGRESOURCESREQUEST_H_ -#define ALIBABACLOUD_CAS_MODEL_TAGRESOURCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cas - { - namespace Model - { - class ALIBABACLOUD_CAS_EXPORT TagResourcesRequest : public RpcServiceRequest - { - public: - struct Tag - { - std::string value; - std::string key; - }; - - public: - TagResourcesRequest(); - ~TagResourcesRequest(); - - std::string getTagOwnerUid()const; - void setTagOwnerUid(const std::string& tagOwnerUid); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getScope()const; - void setScope(const std::string& scope); - std::string getTagOwnerBid()const; - void setTagOwnerBid(const std::string& tagOwnerBid); - std::vector getTag()const; - void setTag(const std::vector& tag); - std::vector getResourceId()const; - void setResourceId(const std::vector& resourceId); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - - private: - std::string tagOwnerUid_; - std::string resourceGroupId_; - std::string sourceIp_; - std::string regionId_; - std::string scope_; - std::string tagOwnerBid_; - std::vector tag_; - std::vector resourceId_; - std::string resourceType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_TAGRESOURCESREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/UntagResourcesRequest.h b/cas/include/alibabacloud/cas/model/UntagResourcesRequest.h deleted file mode 100644 index 32b70a19a..000000000 --- a/cas/include/alibabacloud/cas/model/UntagResourcesRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CAS_MODEL_UNTAGRESOURCESREQUEST_H_ -#define ALIBABACLOUD_CAS_MODEL_UNTAGRESOURCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cas - { - namespace Model - { - class ALIBABACLOUD_CAS_EXPORT UntagResourcesRequest : public RpcServiceRequest - { - - public: - UntagResourcesRequest(); - ~UntagResourcesRequest(); - - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getSourceIp()const; - void setSourceIp(const std::string& sourceIp); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - bool getAll()const; - void setAll(bool all); - std::vector getResourceId()const; - void setResourceId(const std::vector& resourceId); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - std::vector getTagKey()const; - void setTagKey(const std::vector& tagKey); - - private: - std::string resourceGroupId_; - std::string sourceIp_; - std::string regionId_; - bool all_; - std::vector resourceId_; - std::string resourceType_; - std::vector tagKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CAS_MODEL_UNTAGRESOURCESREQUEST_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/UploadPCACertRequest.h b/cas/include/alibabacloud/cas/model/UploadPCACertRequest.h new file mode 100644 index 000000000..f47415a96 --- /dev/null +++ b/cas/include/alibabacloud/cas/model/UploadPCACertRequest.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_UPLOADPCACERTREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_UPLOADPCACERTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT UploadPCACertRequest : public RpcServiceRequest { +public: + UploadPCACertRequest(); + ~UploadPCACertRequest(); + std::string getCert() const; + void setCert(const std::string &cert); + std::string getPrivateKey() const; + void setPrivateKey(const std::string &privateKey); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + long getWarehouseId() const; + void setWarehouseId(long warehouseId); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string cert_; + std::string privateKey_; + std::string sourceIp_; + long warehouseId_; + std::string name_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_UPLOADPCACERTREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/TagResourcesResult.h b/cas/include/alibabacloud/cas/model/UploadPCACertResult.h similarity index 72% rename from cas/include/alibabacloud/cas/model/TagResourcesResult.h rename to cas/include/alibabacloud/cas/model/UploadPCACertResult.h index 78d500f77..b7f948b09 100644 --- a/cas/include/alibabacloud/cas/model/TagResourcesResult.h +++ b/cas/include/alibabacloud/cas/model/UploadPCACertResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_TAGRESOURCESRESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_TAGRESOURCESRESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_UPLOADPCACERTRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_UPLOADPCACERTRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT TagResourcesResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT UploadPCACertResult : public ServiceResult { public: - TagResourcesResult(); - explicit TagResourcesResult(const std::string &payload); - ~TagResourcesResult(); + UploadPCACertResult(); + explicit UploadPCACertResult(const std::string &payload); + ~UploadPCACertResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_CAS_MODEL_TAGRESOURCESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_UPLOADPCACERTRESULT_H_ \ No newline at end of file diff --git a/cas/include/alibabacloud/cas/model/VerifyRequest.h b/cas/include/alibabacloud/cas/model/VerifyRequest.h new file mode 100644 index 000000000..16fbb4f5e --- /dev/null +++ b/cas/include/alibabacloud/cas/model/VerifyRequest.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_VERIFYREQUEST_H_ +#define ALIBABACLOUD_CAS_MODEL_VERIFYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Cas { +namespace Model { +class ALIBABACLOUD_CAS_EXPORT VerifyRequest : public RpcServiceRequest { +public: + VerifyRequest(); + ~VerifyRequest(); + std::string getMessageType() const; + void setMessageType(const std::string &messageType); + std::string getSigningAlgorithm() const; + void setSigningAlgorithm(const std::string &signingAlgorithm); + std::string getMessage() const; + void setMessage(const std::string &message); + std::string getSignatureValue() const; + void setSignatureValue(const std::string &signatureValue); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getCertIdentifier() const; + void setCertIdentifier(const std::string &certIdentifier); + +private: + std::string messageType_; + std::string signingAlgorithm_; + std::string message_; + std::string signatureValue_; + std::string sourceIp_; + std::string certIdentifier_; +}; +} // namespace Model +} // namespace Cas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CAS_MODEL_VERIFYREQUEST_H_ diff --git a/cas/include/alibabacloud/cas/model/DeleteCertificateResult.h b/cas/include/alibabacloud/cas/model/VerifyResult.h similarity index 70% rename from cas/include/alibabacloud/cas/model/DeleteCertificateResult.h rename to cas/include/alibabacloud/cas/model/VerifyResult.h index d77e2c4ce..39a2e429f 100644 --- a/cas/include/alibabacloud/cas/model/DeleteCertificateResult.h +++ b/cas/include/alibabacloud/cas/model/VerifyResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CAS_MODEL_DELETECERTIFICATERESULT_H_ -#define ALIBABACLOUD_CAS_MODEL_DELETECERTIFICATERESULT_H_ +#ifndef ALIBABACLOUD_CAS_MODEL_VERIFYRESULT_H_ +#define ALIBABACLOUD_CAS_MODEL_VERIFYRESULT_H_ #include #include @@ -29,21 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CAS_EXPORT DeleteCertificateResult : public ServiceResult + class ALIBABACLOUD_CAS_EXPORT VerifyResult : public ServiceResult { public: - DeleteCertificateResult(); - explicit DeleteCertificateResult(const std::string &payload); - ~DeleteCertificateResult(); + VerifyResult(); + explicit VerifyResult(const std::string &payload); + ~VerifyResult(); + bool getSignatureValid()const; protected: void parse(const std::string &payload); private: + bool signatureValid_; }; } } } -#endif // !ALIBABACLOUD_CAS_MODEL_DELETECERTIFICATERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CAS_MODEL_VERIFYRESULT_H_ \ No newline at end of file diff --git a/cas/src/CasClient.cc b/cas/src/CasClient.cc index 57aadf237..8ef3af8c7 100644 --- a/cas/src/CasClient.cc +++ b/cas/src/CasClient.cc @@ -31,2000 +31,776 @@ CasClient::CasClient(const Credentials &credentials, const ClientConfiguration & 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"); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); } 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"); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); } 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"); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); } CasClient::~CasClient() {} -CasClient::CreateAliDnsRecordIdOutcome CasClient::createAliDnsRecordId(const CreateAliDnsRecordIdRequest &request) const +CasClient::CancelCertificateForPackageRequestOutcome CasClient::cancelCertificateForPackageRequest(const CancelCertificateForPackageRequestRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateAliDnsRecordIdOutcome(endpointOutcome.error()); + return CancelCertificateForPackageRequestOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateAliDnsRecordIdOutcome(CreateAliDnsRecordIdResult(outcome.result())); + return CancelCertificateForPackageRequestOutcome(CancelCertificateForPackageRequestResult(outcome.result())); else - return CreateAliDnsRecordIdOutcome(outcome.error()); + return CancelCertificateForPackageRequestOutcome(outcome.error()); } -void CasClient::createAliDnsRecordIdAsync(const CreateAliDnsRecordIdRequest& request, const CreateAliDnsRecordIdAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::cancelCertificateForPackageRequestAsync(const CancelCertificateForPackageRequestRequest& request, const CancelCertificateForPackageRequestAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createAliDnsRecordId(request), context); + handler(this, request, cancelCertificateForPackageRequest(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateAliDnsRecordIdOutcomeCallable CasClient::createAliDnsRecordIdCallable(const CreateAliDnsRecordIdRequest &request) const +CasClient::CancelCertificateForPackageRequestOutcomeCallable CasClient::cancelCertificateForPackageRequestCallable(const CancelCertificateForPackageRequestRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createAliDnsRecordId(request); + return this->cancelCertificateForPackageRequest(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateCertificateOutcome CasClient::createCertificate(const CreateCertificateRequest &request) const +CasClient::CancelOrderRequestOutcome CasClient::cancelOrderRequest(const CancelOrderRequestRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateCertificateOutcome(endpointOutcome.error()); + return CancelOrderRequestOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateCertificateOutcome(CreateCertificateResult(outcome.result())); + return CancelOrderRequestOutcome(CancelOrderRequestResult(outcome.result())); else - return CreateCertificateOutcome(outcome.error()); + return CancelOrderRequestOutcome(outcome.error()); } -void CasClient::createCertificateAsync(const CreateCertificateRequest& request, const CreateCertificateAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::cancelOrderRequestAsync(const CancelOrderRequestRequest& request, const CancelOrderRequestAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createCertificate(request), context); + handler(this, request, cancelOrderRequest(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateCertificateOutcomeCallable CasClient::createCertificateCallable(const CreateCertificateRequest &request) const +CasClient::CancelOrderRequestOutcomeCallable CasClient::cancelOrderRequestCallable(const CancelOrderRequestRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createCertificate(request); + return this->cancelOrderRequest(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateCertificateNameOutcome CasClient::createCertificateName(const CreateCertificateNameRequest &request) const +CasClient::CreateCertificateForPackageRequestOutcome CasClient::createCertificateForPackageRequest(const CreateCertificateForPackageRequestRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateCertificateNameOutcome(endpointOutcome.error()); + return CreateCertificateForPackageRequestOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateCertificateNameOutcome(CreateCertificateNameResult(outcome.result())); + return CreateCertificateForPackageRequestOutcome(CreateCertificateForPackageRequestResult(outcome.result())); else - return CreateCertificateNameOutcome(outcome.error()); + return CreateCertificateForPackageRequestOutcome(outcome.error()); } -void CasClient::createCertificateNameAsync(const CreateCertificateNameRequest& request, const CreateCertificateNameAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::createCertificateForPackageRequestAsync(const CreateCertificateForPackageRequestRequest& request, const CreateCertificateForPackageRequestAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createCertificateName(request), context); + handler(this, request, createCertificateForPackageRequest(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateCertificateNameOutcomeCallable CasClient::createCertificateNameCallable(const CreateCertificateNameRequest &request) const +CasClient::CreateCertificateForPackageRequestOutcomeCallable CasClient::createCertificateForPackageRequestCallable(const CreateCertificateForPackageRequestRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createCertificateName(request); + return this->createCertificateForPackageRequest(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateCooperationOrderOutcome CasClient::createCooperationOrder(const CreateCooperationOrderRequest &request) const +CasClient::CreateCertificateRequestOutcome CasClient::createCertificateRequest(const CreateCertificateRequestRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateCooperationOrderOutcome(endpointOutcome.error()); + return CreateCertificateRequestOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateCooperationOrderOutcome(CreateCooperationOrderResult(outcome.result())); + return CreateCertificateRequestOutcome(CreateCertificateRequestResult(outcome.result())); else - return CreateCooperationOrderOutcome(outcome.error()); + return CreateCertificateRequestOutcome(outcome.error()); } -void CasClient::createCooperationOrderAsync(const CreateCooperationOrderRequest& request, const CreateCooperationOrderAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::createCertificateRequestAsync(const CreateCertificateRequestRequest& request, const CreateCertificateRequestAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createCooperationOrder(request), context); + handler(this, request, createCertificateRequest(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateCooperationOrderOutcomeCallable CasClient::createCooperationOrderCallable(const CreateCooperationOrderRequest &request) const +CasClient::CreateCertificateRequestOutcomeCallable CasClient::createCertificateRequestCallable(const CreateCertificateRequestRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createCooperationOrder(request); + return this->createCertificateRequest(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateDeploymentOutcome CasClient::createDeployment(const CreateDeploymentRequest &request) const +CasClient::CreateCertificateWithCsrRequestOutcome CasClient::createCertificateWithCsrRequest(const CreateCertificateWithCsrRequestRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateDeploymentOutcome(endpointOutcome.error()); + return CreateCertificateWithCsrRequestOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateDeploymentOutcome(CreateDeploymentResult(outcome.result())); + return CreateCertificateWithCsrRequestOutcome(CreateCertificateWithCsrRequestResult(outcome.result())); else - return CreateDeploymentOutcome(outcome.error()); + return CreateCertificateWithCsrRequestOutcome(outcome.error()); } -void CasClient::createDeploymentAsync(const CreateDeploymentRequest& request, const CreateDeploymentAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::createCertificateWithCsrRequestAsync(const CreateCertificateWithCsrRequestRequest& request, const CreateCertificateWithCsrRequestAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createDeployment(request), context); + handler(this, request, createCertificateWithCsrRequest(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateDeploymentOutcomeCallable CasClient::createDeploymentCallable(const CreateDeploymentRequest &request) const +CasClient::CreateCertificateWithCsrRequestOutcomeCallable CasClient::createCertificateWithCsrRequestCallable(const CreateCertificateWithCsrRequestRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createDeployment(request); + return this->createCertificateWithCsrRequest(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateDomainVerifyConfigurationStatusOutcome CasClient::createDomainVerifyConfigurationStatus(const CreateDomainVerifyConfigurationStatusRequest &request) const +CasClient::CreateWHCertificateWithExtensionOutcome CasClient::createWHCertificateWithExtension(const CreateWHCertificateWithExtensionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateDomainVerifyConfigurationStatusOutcome(endpointOutcome.error()); + return CreateWHCertificateWithExtensionOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateDomainVerifyConfigurationStatusOutcome(CreateDomainVerifyConfigurationStatusResult(outcome.result())); + return CreateWHCertificateWithExtensionOutcome(CreateWHCertificateWithExtensionResult(outcome.result())); else - return CreateDomainVerifyConfigurationStatusOutcome(outcome.error()); + return CreateWHCertificateWithExtensionOutcome(outcome.error()); } -void CasClient::createDomainVerifyConfigurationStatusAsync(const CreateDomainVerifyConfigurationStatusRequest& request, const CreateDomainVerifyConfigurationStatusAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::createWHCertificateWithExtensionAsync(const CreateWHCertificateWithExtensionRequest& request, const CreateWHCertificateWithExtensionAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createDomainVerifyConfigurationStatus(request), context); + handler(this, request, createWHCertificateWithExtension(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateDomainVerifyConfigurationStatusOutcomeCallable CasClient::createDomainVerifyConfigurationStatusCallable(const CreateDomainVerifyConfigurationStatusRequest &request) const +CasClient::CreateWHCertificateWithExtensionOutcomeCallable CasClient::createWHCertificateWithExtensionCallable(const CreateWHCertificateWithExtensionRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createDomainVerifyConfigurationStatus(request); + return this->createWHCertificateWithExtension(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateFilingSignatureDocumentOutcome CasClient::createFilingSignatureDocument(const CreateFilingSignatureDocumentRequest &request) const +CasClient::CreateWHClientCertificateOutcome CasClient::createWHClientCertificate(const CreateWHClientCertificateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateFilingSignatureDocumentOutcome(endpointOutcome.error()); + return CreateWHClientCertificateOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateFilingSignatureDocumentOutcome(CreateFilingSignatureDocumentResult(outcome.result())); + return CreateWHClientCertificateOutcome(CreateWHClientCertificateResult(outcome.result())); else - return CreateFilingSignatureDocumentOutcome(outcome.error()); + return CreateWHClientCertificateOutcome(outcome.error()); } -void CasClient::createFilingSignatureDocumentAsync(const CreateFilingSignatureDocumentRequest& request, const CreateFilingSignatureDocumentAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::createWHClientCertificateAsync(const CreateWHClientCertificateRequest& request, const CreateWHClientCertificateAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createFilingSignatureDocument(request), context); + handler(this, request, createWHClientCertificate(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateFilingSignatureDocumentOutcomeCallable CasClient::createFilingSignatureDocumentCallable(const CreateFilingSignatureDocumentRequest &request) const +CasClient::CreateWHClientCertificateOutcomeCallable CasClient::createWHClientCertificateCallable(const CreateWHClientCertificateRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createFilingSignatureDocument(request); + return this->createWHClientCertificate(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateOrderAuditOutcome CasClient::createOrderAudit(const CreateOrderAuditRequest &request) const +CasClient::DecryptOutcome CasClient::decrypt(const DecryptRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateOrderAuditOutcome(endpointOutcome.error()); + return DecryptOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateOrderAuditOutcome(CreateOrderAuditResult(outcome.result())); + return DecryptOutcome(DecryptResult(outcome.result())); else - return CreateOrderAuditOutcome(outcome.error()); + return DecryptOutcome(outcome.error()); } -void CasClient::createOrderAuditAsync(const CreateOrderAuditRequest& request, const CreateOrderAuditAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::decryptAsync(const DecryptRequest& request, const DecryptAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createOrderAudit(request), context); + handler(this, request, decrypt(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateOrderAuditOutcomeCallable CasClient::createOrderAuditCallable(const CreateOrderAuditRequest &request) const +CasClient::DecryptOutcomeCallable CasClient::decryptCallable(const DecryptRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createOrderAudit(request); + return this->decrypt(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateOrderCancelOutcome CasClient::createOrderCancel(const CreateOrderCancelRequest &request) const +CasClient::DeleteCertificateRequestOutcome CasClient::deleteCertificateRequest(const DeleteCertificateRequestRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateOrderCancelOutcome(endpointOutcome.error()); + return DeleteCertificateRequestOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateOrderCancelOutcome(CreateOrderCancelResult(outcome.result())); + return DeleteCertificateRequestOutcome(DeleteCertificateRequestResult(outcome.result())); else - return CreateOrderCancelOutcome(outcome.error()); + return DeleteCertificateRequestOutcome(outcome.error()); } -void CasClient::createOrderCancelAsync(const CreateOrderCancelRequest& request, const CreateOrderCancelAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::deleteCertificateRequestAsync(const DeleteCertificateRequestRequest& request, const DeleteCertificateRequestAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createOrderCancel(request), context); + handler(this, request, deleteCertificateRequest(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateOrderCancelOutcomeCallable CasClient::createOrderCancelCallable(const CreateOrderCancelRequest &request) const +CasClient::DeleteCertificateRequestOutcomeCallable CasClient::deleteCertificateRequestCallable(const DeleteCertificateRequestRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createOrderCancel(request); + return this->deleteCertificateRequest(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateOrderDocumentOutcome CasClient::createOrderDocument(const CreateOrderDocumentRequest &request) const +CasClient::DeletePCACertOutcome CasClient::deletePCACert(const DeletePCACertRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateOrderDocumentOutcome(endpointOutcome.error()); + return DeletePCACertOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateOrderDocumentOutcome(CreateOrderDocumentResult(outcome.result())); + return DeletePCACertOutcome(DeletePCACertResult(outcome.result())); else - return CreateOrderDocumentOutcome(outcome.error()); + return DeletePCACertOutcome(outcome.error()); } -void CasClient::createOrderDocumentAsync(const CreateOrderDocumentRequest& request, const CreateOrderDocumentAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::deletePCACertAsync(const DeletePCACertRequest& request, const DeletePCACertAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createOrderDocument(request), context); + handler(this, request, deletePCACert(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateOrderDocumentOutcomeCallable CasClient::createOrderDocumentCallable(const CreateOrderDocumentRequest &request) const +CasClient::DeletePCACertOutcomeCallable CasClient::deletePCACertCallable(const DeletePCACertRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createOrderDocument(request); + return this->deletePCACert(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateOrderMaterialOutcome CasClient::createOrderMaterial(const CreateOrderMaterialRequest &request) const +CasClient::DescribeCertificateStateOutcome CasClient::describeCertificateState(const DescribeCertificateStateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateOrderMaterialOutcome(endpointOutcome.error()); + return DescribeCertificateStateOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateOrderMaterialOutcome(CreateOrderMaterialResult(outcome.result())); + return DescribeCertificateStateOutcome(DescribeCertificateStateResult(outcome.result())); else - return CreateOrderMaterialOutcome(outcome.error()); + return DescribeCertificateStateOutcome(outcome.error()); } -void CasClient::createOrderMaterialAsync(const CreateOrderMaterialRequest& request, const CreateOrderMaterialAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::describeCertificateStateAsync(const DescribeCertificateStateRequest& request, const DescribeCertificateStateAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createOrderMaterial(request), context); + handler(this, request, describeCertificateState(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateOrderMaterialOutcomeCallable CasClient::createOrderMaterialCallable(const CreateOrderMaterialRequest &request) const +CasClient::DescribeCertificateStateOutcomeCallable CasClient::describeCertificateStateCallable(const DescribeCertificateStateRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createOrderMaterial(request); + return this->describeCertificateState(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateOrderRefundRecordOutcome CasClient::createOrderRefundRecord(const CreateOrderRefundRecordRequest &request) const +CasClient::DescribePackageStateOutcome CasClient::describePackageState(const DescribePackageStateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateOrderRefundRecordOutcome(endpointOutcome.error()); + return DescribePackageStateOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateOrderRefundRecordOutcome(CreateOrderRefundRecordResult(outcome.result())); + return DescribePackageStateOutcome(DescribePackageStateResult(outcome.result())); else - return CreateOrderRefundRecordOutcome(outcome.error()); + return DescribePackageStateOutcome(outcome.error()); } -void CasClient::createOrderRefundRecordAsync(const CreateOrderRefundRecordRequest& request, const CreateOrderRefundRecordAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::describePackageStateAsync(const DescribePackageStateRequest& request, const DescribePackageStateAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createOrderRefundRecord(request), context); + handler(this, request, describePackageState(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateOrderRefundRecordOutcomeCallable CasClient::createOrderRefundRecordCallable(const CreateOrderRefundRecordRequest &request) const +CasClient::DescribePackageStateOutcomeCallable CasClient::describePackageStateCallable(const DescribePackageStateRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createOrderRefundRecord(request); + return this->describePackageState(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateOrderRevokeOutcome CasClient::createOrderRevoke(const CreateOrderRevokeRequest &request) const +CasClient::EncryptOutcome CasClient::encrypt(const EncryptRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateOrderRevokeOutcome(endpointOutcome.error()); + return EncryptOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateOrderRevokeOutcome(CreateOrderRevokeResult(outcome.result())); + return EncryptOutcome(EncryptResult(outcome.result())); else - return CreateOrderRevokeOutcome(outcome.error()); + return EncryptOutcome(outcome.error()); } -void CasClient::createOrderRevokeAsync(const CreateOrderRevokeRequest& request, const CreateOrderRevokeAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::encryptAsync(const EncryptRequest& request, const EncryptAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createOrderRevoke(request), context); + handler(this, request, encrypt(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateOrderRevokeOutcomeCallable CasClient::createOrderRevokeCallable(const CreateOrderRevokeRequest &request) const +CasClient::EncryptOutcomeCallable CasClient::encryptCallable(const EncryptRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createOrderRevoke(request); + return this->encrypt(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateSignatureOutcome CasClient::createSignature(const CreateSignatureRequest &request) const +CasClient::ListCertOutcome CasClient::listCert(const ListCertRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateSignatureOutcome(endpointOutcome.error()); + return ListCertOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateSignatureOutcome(CreateSignatureResult(outcome.result())); + return ListCertOutcome(ListCertResult(outcome.result())); else - return CreateSignatureOutcome(outcome.error()); + return ListCertOutcome(outcome.error()); } -void CasClient::createSignatureAsync(const CreateSignatureRequest& request, const CreateSignatureAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::listCertAsync(const ListCertRequest& request, const ListCertAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createSignature(request), context); + handler(this, request, listCert(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateSignatureOutcomeCallable CasClient::createSignatureCallable(const CreateSignatureRequest &request) const +CasClient::ListCertOutcomeCallable CasClient::listCertCallable(const ListCertRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createSignature(request); + return this->listCert(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateSignatureDocumentOutcome CasClient::createSignatureDocument(const CreateSignatureDocumentRequest &request) const +CasClient::ListCertWarehouseOutcome CasClient::listCertWarehouse(const ListCertWarehouseRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateSignatureDocumentOutcome(endpointOutcome.error()); + return ListCertWarehouseOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateSignatureDocumentOutcome(CreateSignatureDocumentResult(outcome.result())); + return ListCertWarehouseOutcome(ListCertWarehouseResult(outcome.result())); else - return CreateSignatureDocumentOutcome(outcome.error()); + return ListCertWarehouseOutcome(outcome.error()); } -void CasClient::createSignatureDocumentAsync(const CreateSignatureDocumentRequest& request, const CreateSignatureDocumentAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::listCertWarehouseAsync(const ListCertWarehouseRequest& request, const ListCertWarehouseAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createSignatureDocument(request), context); + handler(this, request, listCertWarehouse(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateSignatureDocumentOutcomeCallable CasClient::createSignatureDocumentCallable(const CreateSignatureDocumentRequest &request) const +CasClient::ListCertWarehouseOutcomeCallable CasClient::listCertWarehouseCallable(const ListCertWarehouseRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createSignatureDocument(request); + return this->listCertWarehouse(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateSignaturePeopleCertificateOutcome CasClient::createSignaturePeopleCertificate(const CreateSignaturePeopleCertificateRequest &request) const +CasClient::ListUserCertificateOrderOutcome CasClient::listUserCertificateOrder(const ListUserCertificateOrderRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateSignaturePeopleCertificateOutcome(endpointOutcome.error()); + return ListUserCertificateOrderOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateSignaturePeopleCertificateOutcome(CreateSignaturePeopleCertificateResult(outcome.result())); + return ListUserCertificateOrderOutcome(ListUserCertificateOrderResult(outcome.result())); else - return CreateSignaturePeopleCertificateOutcome(outcome.error()); + return ListUserCertificateOrderOutcome(outcome.error()); } -void CasClient::createSignaturePeopleCertificateAsync(const CreateSignaturePeopleCertificateRequest& request, const CreateSignaturePeopleCertificateAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::listUserCertificateOrderAsync(const ListUserCertificateOrderRequest& request, const ListUserCertificateOrderAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createSignaturePeopleCertificate(request), context); + handler(this, request, listUserCertificateOrder(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateSignaturePeopleCertificateOutcomeCallable CasClient::createSignaturePeopleCertificateCallable(const CreateSignaturePeopleCertificateRequest &request) const +CasClient::ListUserCertificateOrderOutcomeCallable CasClient::listUserCertificateOrderCallable(const ListUserCertificateOrderRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createSignaturePeopleCertificate(request); + return this->listUserCertificateOrder(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateUnDeploymentOutcome CasClient::createUnDeployment(const CreateUnDeploymentRequest &request) const +CasClient::RenewCertificateOrderForPackageRequestOutcome CasClient::renewCertificateOrderForPackageRequest(const RenewCertificateOrderForPackageRequestRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateUnDeploymentOutcome(endpointOutcome.error()); + return RenewCertificateOrderForPackageRequestOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateUnDeploymentOutcome(CreateUnDeploymentResult(outcome.result())); + return RenewCertificateOrderForPackageRequestOutcome(RenewCertificateOrderForPackageRequestResult(outcome.result())); else - return CreateUnDeploymentOutcome(outcome.error()); + return RenewCertificateOrderForPackageRequestOutcome(outcome.error()); } -void CasClient::createUnDeploymentAsync(const CreateUnDeploymentRequest& request, const CreateUnDeploymentAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::renewCertificateOrderForPackageRequestAsync(const RenewCertificateOrderForPackageRequestRequest& request, const RenewCertificateOrderForPackageRequestAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createUnDeployment(request), context); + handler(this, request, renewCertificateOrderForPackageRequest(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateUnDeploymentOutcomeCallable CasClient::createUnDeploymentCallable(const CreateUnDeploymentRequest &request) const +CasClient::RenewCertificateOrderForPackageRequestOutcomeCallable CasClient::renewCertificateOrderForPackageRequestCallable(const RenewCertificateOrderForPackageRequestRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createUnDeployment(request); + return this->renewCertificateOrderForPackageRequest(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::CreateWebSignatureOutcome CasClient::createWebSignature(const CreateWebSignatureRequest &request) const +CasClient::RevokeWHClientCertificateOutcome CasClient::revokeWHClientCertificate(const RevokeWHClientCertificateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateWebSignatureOutcome(endpointOutcome.error()); + return RevokeWHClientCertificateOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateWebSignatureOutcome(CreateWebSignatureResult(outcome.result())); + return RevokeWHClientCertificateOutcome(RevokeWHClientCertificateResult(outcome.result())); else - return CreateWebSignatureOutcome(outcome.error()); + return RevokeWHClientCertificateOutcome(outcome.error()); } -void CasClient::createWebSignatureAsync(const CreateWebSignatureRequest& request, const CreateWebSignatureAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::revokeWHClientCertificateAsync(const RevokeWHClientCertificateRequest& request, const RevokeWHClientCertificateAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createWebSignature(request), context); + handler(this, request, revokeWHClientCertificate(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::CreateWebSignatureOutcomeCallable CasClient::createWebSignatureCallable(const CreateWebSignatureRequest &request) const +CasClient::RevokeWHClientCertificateOutcomeCallable CasClient::revokeWHClientCertificateCallable(const RevokeWHClientCertificateRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createWebSignature(request); + return this->revokeWHClientCertificate(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::DeleteCertificateOutcome CasClient::deleteCertificate(const DeleteCertificateRequest &request) const +CasClient::SignOutcome CasClient::sign(const SignRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteCertificateOutcome(endpointOutcome.error()); + return SignOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteCertificateOutcome(DeleteCertificateResult(outcome.result())); + return SignOutcome(SignResult(outcome.result())); else - return DeleteCertificateOutcome(outcome.error()); + return SignOutcome(outcome.error()); } -void CasClient::deleteCertificateAsync(const DeleteCertificateRequest& request, const DeleteCertificateAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::signAsync(const SignRequest& request, const SignAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteCertificate(request), context); + handler(this, request, sign(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::DeleteCertificateOutcomeCallable CasClient::deleteCertificateCallable(const DeleteCertificateRequest &request) const +CasClient::SignOutcomeCallable CasClient::signCallable(const SignRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteCertificate(request); + return this->sign(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::DeleteOrderOutcome CasClient::deleteOrder(const DeleteOrderRequest &request) const +CasClient::UploadPCACertOutcome CasClient::uploadPCACert(const UploadPCACertRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteOrderOutcome(endpointOutcome.error()); + return UploadPCACertOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteOrderOutcome(DeleteOrderResult(outcome.result())); + return UploadPCACertOutcome(UploadPCACertResult(outcome.result())); else - return DeleteOrderOutcome(outcome.error()); + return UploadPCACertOutcome(outcome.error()); } -void CasClient::deleteOrderAsync(const DeleteOrderRequest& request, const DeleteOrderAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::uploadPCACertAsync(const UploadPCACertRequest& request, const UploadPCACertAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteOrder(request), context); + handler(this, request, uploadPCACert(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::DeleteOrderOutcomeCallable CasClient::deleteOrderCallable(const DeleteOrderRequest &request) const +CasClient::UploadPCACertOutcomeCallable CasClient::uploadPCACertCallable(const UploadPCACertRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteOrder(request); + return this->uploadPCACert(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -CasClient::DescribeCertificateBrandListOutcome CasClient::describeCertificateBrandList(const DescribeCertificateBrandListRequest &request) const +CasClient::VerifyOutcome CasClient::verify(const VerifyRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeCertificateBrandListOutcome(endpointOutcome.error()); + return VerifyOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeCertificateBrandListOutcome(DescribeCertificateBrandListResult(outcome.result())); + return VerifyOutcome(VerifyResult(outcome.result())); else - return DescribeCertificateBrandListOutcome(outcome.error()); + return VerifyOutcome(outcome.error()); } -void CasClient::describeCertificateBrandListAsync(const DescribeCertificateBrandListRequest& request, const DescribeCertificateBrandListAsyncHandler& handler, const std::shared_ptr& context) const +void CasClient::verifyAsync(const VerifyRequest& request, const VerifyAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeCertificateBrandList(request), context); + handler(this, request, verify(request), context); }; asyncExecute(new Runnable(fn)); } -CasClient::DescribeCertificateBrandListOutcomeCallable CasClient::describeCertificateBrandListCallable(const DescribeCertificateBrandListRequest &request) const +CasClient::VerifyOutcomeCallable CasClient::verifyCallable(const VerifyRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeCertificateBrandList(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::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::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::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::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::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::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::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::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::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::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::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::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::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::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::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::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::DescribeOrderCountForConsoleIndexOutcome CasClient::describeOrderCountForConsoleIndex(const DescribeOrderCountForConsoleIndexRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeOrderCountForConsoleIndexOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeOrderCountForConsoleIndexOutcome(DescribeOrderCountForConsoleIndexResult(outcome.result())); - else - return DescribeOrderCountForConsoleIndexOutcome(outcome.error()); -} - -void CasClient::describeOrderCountForConsoleIndexAsync(const DescribeOrderCountForConsoleIndexRequest& request, const DescribeOrderCountForConsoleIndexAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeOrderCountForConsoleIndex(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CasClient::DescribeOrderCountForConsoleIndexOutcomeCallable CasClient::describeOrderCountForConsoleIndexCallable(const DescribeOrderCountForConsoleIndexRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeOrderCountForConsoleIndex(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::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::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::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::DescribeOrderRefundRecordOutcome CasClient::describeOrderRefundRecord(const DescribeOrderRefundRecordRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeOrderRefundRecordOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeOrderRefundRecordOutcome(DescribeOrderRefundRecordResult(outcome.result())); - else - return DescribeOrderRefundRecordOutcome(outcome.error()); -} - -void CasClient::describeOrderRefundRecordAsync(const DescribeOrderRefundRecordRequest& request, const DescribeOrderRefundRecordAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeOrderRefundRecord(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CasClient::DescribeOrderRefundRecordOutcomeCallable CasClient::describeOrderRefundRecordCallable(const DescribeOrderRefundRecordRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeOrderRefundRecord(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CasClient::DescribeRenewOrderOutcome CasClient::describeRenewOrder(const DescribeRenewOrderRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeRenewOrderOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeRenewOrderOutcome(DescribeRenewOrderResult(outcome.result())); - else - return DescribeRenewOrderOutcome(outcome.error()); -} - -void CasClient::describeRenewOrderAsync(const DescribeRenewOrderRequest& request, const DescribeRenewOrderAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeRenewOrder(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CasClient::DescribeRenewOrderOutcomeCallable CasClient::describeRenewOrderCallable(const DescribeRenewOrderRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeRenewOrder(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::DescribeSignatureProductStateOutcome CasClient::describeSignatureProductState(const DescribeSignatureProductStateRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeSignatureProductStateOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeSignatureProductStateOutcome(DescribeSignatureProductStateResult(outcome.result())); - else - return DescribeSignatureProductStateOutcome(outcome.error()); -} - -void CasClient::describeSignatureProductStateAsync(const DescribeSignatureProductStateRequest& request, const DescribeSignatureProductStateAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeSignatureProductState(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CasClient::DescribeSignatureProductStateOutcomeCallable CasClient::describeSignatureProductStateCallable(const DescribeSignatureProductStateRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeSignatureProductState(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::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::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::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::ListTagKeysOutcome CasClient::listTagKeys(const ListTagKeysRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListTagKeysOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListTagKeysOutcome(ListTagKeysResult(outcome.result())); - else - return ListTagKeysOutcome(outcome.error()); -} - -void CasClient::listTagKeysAsync(const ListTagKeysRequest& request, const ListTagKeysAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listTagKeys(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CasClient::ListTagKeysOutcomeCallable CasClient::listTagKeysCallable(const ListTagKeysRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listTagKeys(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CasClient::ListTagResourcesOutcome CasClient::listTagResources(const ListTagResourcesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListTagResourcesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListTagResourcesOutcome(ListTagResourcesResult(outcome.result())); - else - return ListTagResourcesOutcome(outcome.error()); -} - -void CasClient::listTagResourcesAsync(const ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listTagResources(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CasClient::ListTagResourcesOutcomeCallable CasClient::listTagResourcesCallable(const ListTagResourcesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listTagResources(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CasClient::TagResourcesOutcome CasClient::tagResources(const TagResourcesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return TagResourcesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return TagResourcesOutcome(TagResourcesResult(outcome.result())); - else - return TagResourcesOutcome(outcome.error()); -} - -void CasClient::tagResourcesAsync(const TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, tagResources(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CasClient::TagResourcesOutcomeCallable CasClient::tagResourcesCallable(const TagResourcesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->tagResources(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CasClient::UntagResourcesOutcome CasClient::untagResources(const UntagResourcesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UntagResourcesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UntagResourcesOutcome(UntagResourcesResult(outcome.result())); - else - return UntagResourcesOutcome(outcome.error()); -} - -void CasClient::untagResourcesAsync(const UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, untagResources(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CasClient::UntagResourcesOutcomeCallable CasClient::untagResourcesCallable(const UntagResourcesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->untagResources(request); + return this->verify(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); diff --git a/cas/src/model/CancelCertificateForPackageRequestRequest.cc b/cas/src/model/CancelCertificateForPackageRequestRequest.cc new file mode 100644 index 000000000..976b391f3 --- /dev/null +++ b/cas/src/model/CancelCertificateForPackageRequestRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::CancelCertificateForPackageRequestRequest; + +CancelCertificateForPackageRequestRequest::CancelCertificateForPackageRequestRequest() + : RpcServiceRequest("cas", "2020-04-07", "CancelCertificateForPackageRequest") { + setMethod(HttpRequest::Method::Post); +} + +CancelCertificateForPackageRequestRequest::~CancelCertificateForPackageRequestRequest() {} + +long CancelCertificateForPackageRequestRequest::getOrderId() const { + return orderId_; +} + +void CancelCertificateForPackageRequestRequest::setOrderId(long orderId) { + orderId_ = orderId; + setParameter(std::string("OrderId"), std::to_string(orderId)); +} + +std::string CancelCertificateForPackageRequestRequest::getSourceIp() const { + return sourceIp_; +} + +void CancelCertificateForPackageRequestRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + diff --git a/cas/src/model/CreateAliDnsRecordIdResult.cc b/cas/src/model/CancelCertificateForPackageRequestResult.cc similarity index 67% rename from cas/src/model/CreateAliDnsRecordIdResult.cc rename to cas/src/model/CancelCertificateForPackageRequestResult.cc index 654f9c90a..8b4d682b6 100644 --- a/cas/src/model/CreateAliDnsRecordIdResult.cc +++ b/cas/src/model/CancelCertificateForPackageRequestResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cas; using namespace AlibabaCloud::Cas::Model; -CreateAliDnsRecordIdResult::CreateAliDnsRecordIdResult() : +CancelCertificateForPackageRequestResult::CancelCertificateForPackageRequestResult() : ServiceResult() {} -CreateAliDnsRecordIdResult::CreateAliDnsRecordIdResult(const std::string &payload) : +CancelCertificateForPackageRequestResult::CancelCertificateForPackageRequestResult(const std::string &payload) : ServiceResult() { parse(payload); } -CreateAliDnsRecordIdResult::~CreateAliDnsRecordIdResult() +CancelCertificateForPackageRequestResult::~CancelCertificateForPackageRequestResult() {} -void CreateAliDnsRecordIdResult::parse(const std::string &payload) +void CancelCertificateForPackageRequestResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/cas/src/model/CancelOrderRequestRequest.cc b/cas/src/model/CancelOrderRequestRequest.cc new file mode 100644 index 000000000..6ea2d0d1e --- /dev/null +++ b/cas/src/model/CancelOrderRequestRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::CancelOrderRequestRequest; + +CancelOrderRequestRequest::CancelOrderRequestRequest() + : RpcServiceRequest("cas", "2020-04-07", "CancelOrderRequest") { + setMethod(HttpRequest::Method::Post); +} + +CancelOrderRequestRequest::~CancelOrderRequestRequest() {} + +long CancelOrderRequestRequest::getOrderId() const { + return orderId_; +} + +void CancelOrderRequestRequest::setOrderId(long orderId) { + orderId_ = orderId; + setParameter(std::string("OrderId"), std::to_string(orderId)); +} + +std::string CancelOrderRequestRequest::getSourceIp() const { + return sourceIp_; +} + +void CancelOrderRequestRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + diff --git a/cas/src/model/CreateWebSignatureResult.cc b/cas/src/model/CancelOrderRequestResult.cc similarity index 75% rename from cas/src/model/CreateWebSignatureResult.cc rename to cas/src/model/CancelOrderRequestResult.cc index 02d895ee1..0fef26075 100644 --- a/cas/src/model/CreateWebSignatureResult.cc +++ b/cas/src/model/CancelOrderRequestResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cas; using namespace AlibabaCloud::Cas::Model; -CreateWebSignatureResult::CreateWebSignatureResult() : +CancelOrderRequestResult::CancelOrderRequestResult() : ServiceResult() {} -CreateWebSignatureResult::CreateWebSignatureResult(const std::string &payload) : +CancelOrderRequestResult::CancelOrderRequestResult(const std::string &payload) : ServiceResult() { parse(payload); } -CreateWebSignatureResult::~CreateWebSignatureResult() +CancelOrderRequestResult::~CancelOrderRequestResult() {} -void CreateWebSignatureResult::parse(const std::string &payload) +void CancelOrderRequestResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/cas/src/model/CreateAliDnsRecordIdRequest.cc b/cas/src/model/CreateAliDnsRecordIdRequest.cc deleted file mode 100644 index e315e93b5..000000000 --- a/cas/src/model/CreateAliDnsRecordIdRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateAliDnsRecordIdRequest; - -CreateAliDnsRecordIdRequest::CreateAliDnsRecordIdRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateAliDnsRecordId") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateAliDnsRecordIdRequest::~CreateAliDnsRecordIdRequest() -{} - -long CreateAliDnsRecordIdRequest::getOrderId()const -{ - return orderId_; -} - -void CreateAliDnsRecordIdRequest::setOrderId(long orderId) -{ - orderId_ = orderId; - setParameter("OrderId", std::to_string(orderId)); -} - -std::string CreateAliDnsRecordIdRequest::getRecordId()const -{ - return recordId_; -} - -void CreateAliDnsRecordIdRequest::setRecordId(const std::string& recordId) -{ - recordId_ = recordId; - setParameter("RecordId", recordId); -} - -std::string CreateAliDnsRecordIdRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateAliDnsRecordIdRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateAliDnsRecordIdRequest::getSourceIp()const -{ - return sourceIp_; -} - -void CreateAliDnsRecordIdRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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/CreateCertificateForPackageRequestRequest.cc b/cas/src/model/CreateCertificateForPackageRequestRequest.cc new file mode 100644 index 000000000..d3ae11384 --- /dev/null +++ b/cas/src/model/CreateCertificateForPackageRequestRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::CreateCertificateForPackageRequestRequest; + +CreateCertificateForPackageRequestRequest::CreateCertificateForPackageRequestRequest() + : RpcServiceRequest("cas", "2020-04-07", "CreateCertificateForPackageRequest") { + setMethod(HttpRequest::Method::Post); +} + +CreateCertificateForPackageRequestRequest::~CreateCertificateForPackageRequestRequest() {} + +std::string CreateCertificateForPackageRequestRequest::getProductCode() const { + return productCode_; +} + +void CreateCertificateForPackageRequestRequest::setProductCode(const std::string &productCode) { + productCode_ = productCode; + setParameter(std::string("ProductCode"), productCode); +} + +std::string CreateCertificateForPackageRequestRequest::getCsr() const { + return csr_; +} + +void CreateCertificateForPackageRequestRequest::setCsr(const std::string &csr) { + csr_ = csr; + setParameter(std::string("Csr"), csr); +} + +std::string CreateCertificateForPackageRequestRequest::getValidateType() const { + return validateType_; +} + +void CreateCertificateForPackageRequestRequest::setValidateType(const std::string &validateType) { + validateType_ = validateType; + setParameter(std::string("ValidateType"), validateType); +} + +std::string CreateCertificateForPackageRequestRequest::getSourceIp() const { + return sourceIp_; +} + +void CreateCertificateForPackageRequestRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string CreateCertificateForPackageRequestRequest::getEmail() const { + return email_; +} + +void CreateCertificateForPackageRequestRequest::setEmail(const std::string &email) { + email_ = email; + setParameter(std::string("Email"), email); +} + +std::string CreateCertificateForPackageRequestRequest::getPhone() const { + return phone_; +} + +void CreateCertificateForPackageRequestRequest::setPhone(const std::string &phone) { + phone_ = phone; + setParameter(std::string("Phone"), phone); +} + +std::string CreateCertificateForPackageRequestRequest::getCompanyName() const { + return companyName_; +} + +void CreateCertificateForPackageRequestRequest::setCompanyName(const std::string &companyName) { + companyName_ = companyName; + setParameter(std::string("CompanyName"), companyName); +} + +std::string CreateCertificateForPackageRequestRequest::getDomain() const { + return domain_; +} + +void CreateCertificateForPackageRequestRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); +} + +std::string CreateCertificateForPackageRequestRequest::getUsername() const { + return username_; +} + +void CreateCertificateForPackageRequestRequest::setUsername(const std::string &username) { + username_ = username; + setParameter(std::string("Username"), username); +} + diff --git a/cas/src/model/CreateCertificateForPackageRequestResult.cc b/cas/src/model/CreateCertificateForPackageRequestResult.cc new file mode 100644 index 000000000..bf7657ef9 --- /dev/null +++ b/cas/src/model/CreateCertificateForPackageRequestResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateCertificateForPackageRequestResult::CreateCertificateForPackageRequestResult() : + ServiceResult() +{} + +CreateCertificateForPackageRequestResult::CreateCertificateForPackageRequestResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCertificateForPackageRequestResult::~CreateCertificateForPackageRequestResult() +{} + +void CreateCertificateForPackageRequestResult::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 CreateCertificateForPackageRequestResult::getOrderId()const +{ + return orderId_; +} + diff --git a/cas/src/model/CreateCertificateNameRequest.cc b/cas/src/model/CreateCertificateNameRequest.cc deleted file mode 100644 index b31f4be4b..000000000 --- a/cas/src/model/CreateCertificateNameRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateCertificateNameRequest; - -CreateCertificateNameRequest::CreateCertificateNameRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateCertificateName") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateCertificateNameRequest::~CreateCertificateNameRequest() -{} - -long CreateCertificateNameRequest::getCertificateId()const -{ - return certificateId_; -} - -void CreateCertificateNameRequest::setCertificateId(long certificateId) -{ - certificateId_ = certificateId; - setParameter("CertificateId", std::to_string(certificateId)); -} - -std::string CreateCertificateNameRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateCertificateNameRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateCertificateNameRequest::getSourceIp()const -{ - return sourceIp_; -} - -void CreateCertificateNameRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index b7bb1ac83..000000000 --- a/cas/src/model/CreateCertificateNameResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 87ea49000..000000000 --- a/cas/src/model/CreateCertificateRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateCertificateRequest; - -CreateCertificateRequest::CreateCertificateRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateCertificate") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateCertificateRequest::~CreateCertificateRequest() -{} - -std::string CreateCertificateRequest::getCert()const -{ - return cert_; -} - -void CreateCertificateRequest::setCert(const std::string& cert) -{ - cert_ = cert; - setParameter("Cert", cert); -} - -std::string CreateCertificateRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateCertificateRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateCertificateRequest::getSourceIp()const -{ - return sourceIp_; -} - -void CreateCertificateRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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); -} - -std::string CreateCertificateRequest::getName()const -{ - return name_; -} - -void CreateCertificateRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - diff --git a/cas/src/model/CreateCertificateRequestRequest.cc b/cas/src/model/CreateCertificateRequestRequest.cc new file mode 100644 index 000000000..a0f57f02e --- /dev/null +++ b/cas/src/model/CreateCertificateRequestRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::CreateCertificateRequestRequest; + +CreateCertificateRequestRequest::CreateCertificateRequestRequest() + : RpcServiceRequest("cas", "2020-04-07", "CreateCertificateRequest") { + setMethod(HttpRequest::Method::Post); +} + +CreateCertificateRequestRequest::~CreateCertificateRequestRequest() {} + +std::string CreateCertificateRequestRequest::getSourceIp() const { + return sourceIp_; +} + +void CreateCertificateRequestRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string CreateCertificateRequestRequest::getProductCode() const { + return productCode_; +} + +void CreateCertificateRequestRequest::setProductCode(const std::string &productCode) { + productCode_ = productCode; + setParameter(std::string("ProductCode"), productCode); +} + +std::string CreateCertificateRequestRequest::getUsername() const { + return username_; +} + +void CreateCertificateRequestRequest::setUsername(const std::string &username) { + username_ = username; + setParameter(std::string("Username"), username); +} + +std::string CreateCertificateRequestRequest::getPhone() const { + return phone_; +} + +void CreateCertificateRequestRequest::setPhone(const std::string &phone) { + phone_ = phone; + setParameter(std::string("Phone"), phone); +} + +std::string CreateCertificateRequestRequest::getEmail() const { + return email_; +} + +void CreateCertificateRequestRequest::setEmail(const std::string &email) { + email_ = email; + setParameter(std::string("Email"), email); +} + +std::string CreateCertificateRequestRequest::getDomain() const { + return domain_; +} + +void CreateCertificateRequestRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); +} + +std::string CreateCertificateRequestRequest::getValidateType() const { + return validateType_; +} + +void CreateCertificateRequestRequest::setValidateType(const std::string &validateType) { + validateType_ = validateType; + setParameter(std::string("ValidateType"), validateType); +} + diff --git a/cas/src/model/DescribeRenewOrderResult.cc b/cas/src/model/CreateCertificateRequestResult.cc similarity index 71% rename from cas/src/model/DescribeRenewOrderResult.cc rename to cas/src/model/CreateCertificateRequestResult.cc index 0e1eae5cc..8bc75370c 100644 --- a/cas/src/model/DescribeRenewOrderResult.cc +++ b/cas/src/model/CreateCertificateRequestResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cas; using namespace AlibabaCloud::Cas::Model; -DescribeRenewOrderResult::DescribeRenewOrderResult() : +CreateCertificateRequestResult::CreateCertificateRequestResult() : ServiceResult() {} -DescribeRenewOrderResult::DescribeRenewOrderResult(const std::string &payload) : +CreateCertificateRequestResult::CreateCertificateRequestResult(const std::string &payload) : ServiceResult() { parse(payload); } -DescribeRenewOrderResult::~DescribeRenewOrderResult() +CreateCertificateRequestResult::~CreateCertificateRequestResult() {} -void DescribeRenewOrderResult::parse(const std::string &payload) +void CreateCertificateRequestResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -44,7 +44,7 @@ void DescribeRenewOrderResult::parse(const std::string &payload) } -long DescribeRenewOrderResult::getOrderId()const +long CreateCertificateRequestResult::getOrderId()const { return orderId_; } diff --git a/cas/src/model/CreateCertificateWithCsrRequestRequest.cc b/cas/src/model/CreateCertificateWithCsrRequestRequest.cc new file mode 100644 index 000000000..cb8cdf81f --- /dev/null +++ b/cas/src/model/CreateCertificateWithCsrRequestRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::CreateCertificateWithCsrRequestRequest; + +CreateCertificateWithCsrRequestRequest::CreateCertificateWithCsrRequestRequest() + : RpcServiceRequest("cas", "2020-04-07", "CreateCertificateWithCsrRequest") { + setMethod(HttpRequest::Method::Post); +} + +CreateCertificateWithCsrRequestRequest::~CreateCertificateWithCsrRequestRequest() {} + +std::string CreateCertificateWithCsrRequestRequest::getSourceIp() const { + return sourceIp_; +} + +void CreateCertificateWithCsrRequestRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string CreateCertificateWithCsrRequestRequest::getCsr() const { + return csr_; +} + +void CreateCertificateWithCsrRequestRequest::setCsr(const std::string &csr) { + csr_ = csr; + setParameter(std::string("Csr"), csr); +} + +std::string CreateCertificateWithCsrRequestRequest::getProductCode() const { + return productCode_; +} + +void CreateCertificateWithCsrRequestRequest::setProductCode(const std::string &productCode) { + productCode_ = productCode; + setParameter(std::string("ProductCode"), productCode); +} + +std::string CreateCertificateWithCsrRequestRequest::getUsername() const { + return username_; +} + +void CreateCertificateWithCsrRequestRequest::setUsername(const std::string &username) { + username_ = username; + setParameter(std::string("Username"), username); +} + +std::string CreateCertificateWithCsrRequestRequest::getPhone() const { + return phone_; +} + +void CreateCertificateWithCsrRequestRequest::setPhone(const std::string &phone) { + phone_ = phone; + setParameter(std::string("Phone"), phone); +} + +std::string CreateCertificateWithCsrRequestRequest::getEmail() const { + return email_; +} + +void CreateCertificateWithCsrRequestRequest::setEmail(const std::string &email) { + email_ = email; + setParameter(std::string("Email"), email); +} + +std::string CreateCertificateWithCsrRequestRequest::getValidateType() const { + return validateType_; +} + +void CreateCertificateWithCsrRequestRequest::setValidateType(const std::string &validateType) { + validateType_ = validateType; + setParameter(std::string("ValidateType"), validateType); +} + diff --git a/cas/src/model/CreateCooperationOrderResult.cc b/cas/src/model/CreateCertificateWithCsrRequestResult.cc similarity index 68% rename from cas/src/model/CreateCooperationOrderResult.cc rename to cas/src/model/CreateCertificateWithCsrRequestResult.cc index 9b7ad0cd4..1e4aa1c45 100644 --- a/cas/src/model/CreateCooperationOrderResult.cc +++ b/cas/src/model/CreateCertificateWithCsrRequestResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cas; using namespace AlibabaCloud::Cas::Model; -CreateCooperationOrderResult::CreateCooperationOrderResult() : +CreateCertificateWithCsrRequestResult::CreateCertificateWithCsrRequestResult() : ServiceResult() {} -CreateCooperationOrderResult::CreateCooperationOrderResult(const std::string &payload) : +CreateCertificateWithCsrRequestResult::CreateCertificateWithCsrRequestResult(const std::string &payload) : ServiceResult() { parse(payload); } -CreateCooperationOrderResult::~CreateCooperationOrderResult() +CreateCertificateWithCsrRequestResult::~CreateCertificateWithCsrRequestResult() {} -void CreateCooperationOrderResult::parse(const std::string &payload) +void CreateCertificateWithCsrRequestResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -44,7 +44,7 @@ void CreateCooperationOrderResult::parse(const std::string &payload) } -long CreateCooperationOrderResult::getOrderId()const +long CreateCertificateWithCsrRequestResult::getOrderId()const { return orderId_; } diff --git a/cas/src/model/CreateCooperationOrderRequest.cc b/cas/src/model/CreateCooperationOrderRequest.cc deleted file mode 100644 index 0881956db..000000000 --- a/cas/src/model/CreateCooperationOrderRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateCooperationOrderRequest; - -CreateCooperationOrderRequest::CreateCooperationOrderRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateCooperationOrder") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateCooperationOrderRequest::~CreateCooperationOrderRequest() -{} - -std::string CreateCooperationOrderRequest::getProductCode()const -{ - return productCode_; -} - -void CreateCooperationOrderRequest::setProductCode(const std::string& productCode) -{ - productCode_ = productCode; - setParameter("ProductCode", productCode); -} - -std::string CreateCooperationOrderRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateCooperationOrderRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateCooperationOrderRequest::getSourceIp()const -{ - return sourceIp_; -} - -void CreateCooperationOrderRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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); -} - -std::string CreateCooperationOrderRequest::getDomain()const -{ - return domain_; -} - -void CreateCooperationOrderRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); -} - diff --git a/cas/src/model/CreateDeploymentRequest.cc b/cas/src/model/CreateDeploymentRequest.cc deleted file mode 100644 index 1a189007a..000000000 --- a/cas/src/model/CreateDeploymentRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateDeploymentRequest; - -CreateDeploymentRequest::CreateDeploymentRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateDeployment") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDeploymentRequest::~CreateDeploymentRequest() -{} - -std::string CreateDeploymentRequest::getCloudProduct()const -{ - return cloudProduct_; -} - -void CreateDeploymentRequest::setCloudProduct(const std::string& cloudProduct) -{ - cloudProduct_ = cloudProduct; - setParameter("CloudProduct", cloudProduct); -} - -std::string CreateDeploymentRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateDeploymentRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateDeploymentRequest::getSourceIp()const -{ - return sourceIp_; -} - -void CreateDeploymentRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -std::string CreateDeploymentRequest::getLang()const -{ - return lang_; -} - -void CreateDeploymentRequest::setLang(const std::string& lang) -{ - lang_ = lang; - setParameter("Lang", lang); -} - -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::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 deleted file mode 100644 index 947b0fc8c..000000000 --- a/cas/src/model/CreateDeploymentResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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()); - if(!value["DeploymentId"].isNull()) - deploymentId_ = std::stol(value["DeploymentId"].asString()); - -} - -long CreateDeploymentResult::getDeploymentId()const -{ - return deploymentId_; -} - diff --git a/cas/src/model/CreateDomainVerifyConfigurationStatusRequest.cc b/cas/src/model/CreateDomainVerifyConfigurationStatusRequest.cc deleted file mode 100644 index d38741d09..000000000 --- a/cas/src/model/CreateDomainVerifyConfigurationStatusRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateDomainVerifyConfigurationStatusRequest; - -CreateDomainVerifyConfigurationStatusRequest::CreateDomainVerifyConfigurationStatusRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateDomainVerifyConfigurationStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDomainVerifyConfigurationStatusRequest::~CreateDomainVerifyConfigurationStatusRequest() -{} - -long CreateDomainVerifyConfigurationStatusRequest::getOrderId()const -{ - return orderId_; -} - -void CreateDomainVerifyConfigurationStatusRequest::setOrderId(long orderId) -{ - orderId_ = orderId; - setParameter("OrderId", std::to_string(orderId)); -} - -std::string CreateDomainVerifyConfigurationStatusRequest::getType()const -{ - return type_; -} - -void CreateDomainVerifyConfigurationStatusRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); -} - -std::string CreateDomainVerifyConfigurationStatusRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateDomainVerifyConfigurationStatusRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateDomainVerifyConfigurationStatusRequest::getSourceIp()const -{ - return sourceIp_; -} - -void CreateDomainVerifyConfigurationStatusRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -std::string CreateDomainVerifyConfigurationStatusRequest::getLang()const -{ - return lang_; -} - -void CreateDomainVerifyConfigurationStatusRequest::setLang(const std::string& lang) -{ - lang_ = lang; - setParameter("Lang", lang); -} - diff --git a/cas/src/model/CreateDomainVerifyConfigurationStatusResult.cc b/cas/src/model/CreateDomainVerifyConfigurationStatusResult.cc deleted file mode 100644 index 7f5db0985..000000000 --- a/cas/src/model/CreateDomainVerifyConfigurationStatusResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 68ab9aecd..000000000 --- a/cas/src/model/CreateFilingSignatureDocumentRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateFilingSignatureDocumentRequest; - -CreateFilingSignatureDocumentRequest::CreateFilingSignatureDocumentRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateFilingSignatureDocument") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateFilingSignatureDocumentRequest::~CreateFilingSignatureDocumentRequest() -{} - -std::string CreateFilingSignatureDocumentRequest::getDocId()const -{ - return docId_; -} - -void CreateFilingSignatureDocumentRequest::setDocId(const std::string& docId) -{ - docId_ = docId; - setParameter("DocId", docId); -} - -std::string CreateFilingSignatureDocumentRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateFilingSignatureDocumentRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateFilingSignatureDocumentRequest::getSourceIp()const -{ - return sourceIp_; -} - -void CreateFilingSignatureDocumentRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index 88c98dc97..000000000 --- a/cas/src/model/CreateFilingSignatureDocumentResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 5f52107bf..000000000 --- a/cas/src/model/CreateOrderAuditRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateOrderAuditRequest; - -CreateOrderAuditRequest::CreateOrderAuditRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateOrderAudit") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateOrderAuditRequest::~CreateOrderAuditRequest() -{} - -long CreateOrderAuditRequest::getOrderId()const -{ - return orderId_; -} - -void CreateOrderAuditRequest::setOrderId(long orderId) -{ - orderId_ = orderId; - setParameter("OrderId", std::to_string(orderId)); -} - -std::string CreateOrderAuditRequest::getType()const -{ - return type_; -} - -void CreateOrderAuditRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); -} - -std::string CreateOrderAuditRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateOrderAuditRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateOrderAuditRequest::getSourceIp()const -{ - return sourceIp_; -} - -void CreateOrderAuditRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -std::string CreateOrderAuditRequest::getLang()const -{ - return lang_; -} - -void CreateOrderAuditRequest::setLang(const std::string& lang) -{ - lang_ = lang; - setParameter("Lang", lang); -} - diff --git a/cas/src/model/CreateOrderAuditResult.cc b/cas/src/model/CreateOrderAuditResult.cc deleted file mode 100644 index 313882a4b..000000000 --- a/cas/src/model/CreateOrderAuditResult.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 9bd41969e..000000000 --- a/cas/src/model/CreateOrderCancelRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateOrderCancelRequest; - -CreateOrderCancelRequest::CreateOrderCancelRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateOrderCancel") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateOrderCancelRequest::~CreateOrderCancelRequest() -{} - -long CreateOrderCancelRequest::getOrderId()const -{ - return orderId_; -} - -void CreateOrderCancelRequest::setOrderId(long orderId) -{ - orderId_ = orderId; - setParameter("OrderId", std::to_string(orderId)); -} - -std::string CreateOrderCancelRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateOrderCancelRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateOrderCancelRequest::getSourceIp()const -{ - return sourceIp_; -} - -void CreateOrderCancelRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index b6f38cd6f..000000000 --- a/cas/src/model/CreateOrderCancelResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 676fde1a4..000000000 --- a/cas/src/model/CreateOrderDocumentRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateOrderDocumentRequest; - -CreateOrderDocumentRequest::CreateOrderDocumentRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateOrderDocument") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateOrderDocumentRequest::~CreateOrderDocumentRequest() -{} - -std::string CreateOrderDocumentRequest::getOssKey()const -{ - return ossKey_; -} - -void CreateOrderDocumentRequest::setOssKey(const std::string& ossKey) -{ - ossKey_ = ossKey; - setParameter("OssKey", ossKey); -} - -std::string CreateOrderDocumentRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateOrderDocumentRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateOrderDocumentRequest::getSourceIp()const -{ - return sourceIp_; -} - -void CreateOrderDocumentRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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); -} - -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)); -} - diff --git a/cas/src/model/CreateOrderMaterialRequest.cc b/cas/src/model/CreateOrderMaterialRequest.cc deleted file mode 100644 index 6427d9f12..000000000 --- a/cas/src/model/CreateOrderMaterialRequest.cc +++ /dev/null @@ -1,326 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateOrderMaterialRequest; - -CreateOrderMaterialRequest::CreateOrderMaterialRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateOrderMaterial") -{ - setMethod(HttpRequest::Method::Post); -} - -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::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateOrderMaterialRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -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 deleted file mode 100644 index 90f88fabc..000000000 --- a/cas/src/model/CreateOrderMaterialResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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/CreateOrderRefundRecordRequest.cc b/cas/src/model/CreateOrderRefundRecordRequest.cc deleted file mode 100644 index e323c6157..000000000 --- a/cas/src/model/CreateOrderRefundRecordRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateOrderRefundRecordRequest; - -CreateOrderRefundRecordRequest::CreateOrderRefundRecordRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateOrderRefundRecord") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateOrderRefundRecordRequest::~CreateOrderRefundRecordRequest() -{} - -std::string CreateOrderRefundRecordRequest::getReason()const -{ - return reason_; -} - -void CreateOrderRefundRecordRequest::setReason(const std::string& reason) -{ - reason_ = reason; - setParameter("Reason", reason); -} - -long CreateOrderRefundRecordRequest::getOrderId()const -{ - return orderId_; -} - -void CreateOrderRefundRecordRequest::setOrderId(long orderId) -{ - orderId_ = orderId; - setParameter("OrderId", std::to_string(orderId)); -} - -std::string CreateOrderRefundRecordRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateOrderRefundRecordRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateOrderRefundRecordRequest::getSourceIp()const -{ - return sourceIp_; -} - -void CreateOrderRefundRecordRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - diff --git a/cas/src/model/CreateOrderRevokeRequest.cc b/cas/src/model/CreateOrderRevokeRequest.cc deleted file mode 100644 index ac82671c1..000000000 --- a/cas/src/model/CreateOrderRevokeRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateOrderRevokeRequest; - -CreateOrderRevokeRequest::CreateOrderRevokeRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateOrderRevoke") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateOrderRevokeRequest::~CreateOrderRevokeRequest() -{} - -std::string CreateOrderRevokeRequest::getReason()const -{ - return reason_; -} - -void CreateOrderRevokeRequest::setReason(const std::string& reason) -{ - reason_ = reason; - setParameter("Reason", reason); -} - -long CreateOrderRevokeRequest::getOrderId()const -{ - return orderId_; -} - -void CreateOrderRevokeRequest::setOrderId(long orderId) -{ - orderId_ = orderId; - setParameter("OrderId", std::to_string(orderId)); -} - -std::string CreateOrderRevokeRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateOrderRevokeRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateOrderRevokeRequest::getSourceIp()const -{ - return sourceIp_; -} - -void CreateOrderRevokeRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index 058b454ec..000000000 --- a/cas/src/model/CreateOrderRevokeResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 928ef97f3..000000000 --- a/cas/src/model/CreateSignatureDocumentRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateSignatureDocumentRequest; - -CreateSignatureDocumentRequest::CreateSignatureDocumentRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateSignatureDocument") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateSignatureDocumentRequest::~CreateSignatureDocumentRequest() -{} - -std::string CreateSignatureDocumentRequest::getDocContent()const -{ - return docContent_; -} - -void CreateSignatureDocumentRequest::setDocContent(const std::string& docContent) -{ - docContent_ = docContent; - setBodyParameter("DocContent", docContent); -} - -std::string CreateSignatureDocumentRequest::getDocTitle()const -{ - return docTitle_; -} - -void CreateSignatureDocumentRequest::setDocTitle(const std::string& docTitle) -{ - docTitle_ = docTitle; - setParameter("DocTitle", docTitle); -} - -std::string CreateSignatureDocumentRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateSignatureDocumentRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateSignatureDocumentRequest::getSourceIp()const -{ - return sourceIp_; -} - -void CreateSignatureDocumentRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -std::string CreateSignatureDocumentRequest::getLang()const -{ - return lang_; -} - -void CreateSignatureDocumentRequest::setLang(const std::string& lang) -{ - lang_ = lang; - setParameter("Lang", lang); -} - diff --git a/cas/src/model/CreateSignaturePeopleCertificateRequest.cc b/cas/src/model/CreateSignaturePeopleCertificateRequest.cc deleted file mode 100644 index 37c58f77d..000000000 --- a/cas/src/model/CreateSignaturePeopleCertificateRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateSignaturePeopleCertificateRequest; - -CreateSignaturePeopleCertificateRequest::CreateSignaturePeopleCertificateRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateSignaturePeopleCertificate") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateSignaturePeopleCertificateRequest::~CreateSignaturePeopleCertificateRequest() -{} - -std::string CreateSignaturePeopleCertificateRequest::getIdentityNumber()const -{ - return identityNumber_; -} - -void CreateSignaturePeopleCertificateRequest::setIdentityNumber(const std::string& identityNumber) -{ - identityNumber_ = identityNumber; - setParameter("IdentityNumber", identityNumber); -} - -std::string CreateSignaturePeopleCertificateRequest::getPeopleName()const -{ - return peopleName_; -} - -void CreateSignaturePeopleCertificateRequest::setPeopleName(const std::string& peopleName) -{ - peopleName_ = peopleName; - setParameter("PeopleName", peopleName); -} - -std::string CreateSignaturePeopleCertificateRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateSignaturePeopleCertificateRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateSignaturePeopleCertificateRequest::getSourceIp()const -{ - return sourceIp_; -} - -void CreateSignaturePeopleCertificateRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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); -} - -std::string CreateSignaturePeopleCertificateRequest::getMobile()const -{ - return mobile_; -} - -void CreateSignaturePeopleCertificateRequest::setMobile(const std::string& mobile) -{ - mobile_ = mobile; - setParameter("Mobile", mobile); -} - diff --git a/cas/src/model/CreateSignatureRequest.cc b/cas/src/model/CreateSignatureRequest.cc deleted file mode 100644 index 5b30ab8d7..000000000 --- a/cas/src/model/CreateSignatureRequest.cc +++ /dev/null @@ -1,238 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateSignatureRequest; - -CreateSignatureRequest::CreateSignatureRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateSignature") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateSignatureRequest::~CreateSignatureRequest() -{} - -std::string CreateSignatureRequest::getIconId()const -{ - return iconId_; -} - -void CreateSignatureRequest::setIconId(const std::string& iconId) -{ - iconId_ = iconId; - setParameter("IconId", iconId); -} - -std::string CreateSignatureRequest::getHandSignImg()const -{ - return handSignImg_; -} - -void CreateSignatureRequest::setHandSignImg(const std::string& handSignImg) -{ - handSignImg_ = handSignImg; - setParameter("HandSignImg", handSignImg); -} - -std::string CreateSignatureRequest::getCustomApi()const -{ - return customApi_; -} - -void CreateSignatureRequest::setCustomApi(const std::string& customApi) -{ - customApi_ = customApi; - setParameter("CustomApi", customApi); -} - -std::string CreateSignatureRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateSignatureRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateSignatureRequest::getSourceIp()const -{ - return sourceIp_; -} - -void CreateSignatureRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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); -} - -std::string CreateSignatureRequest::getLang()const -{ - return lang_; -} - -void CreateSignatureRequest::setLang(const std::string& lang) -{ - lang_ = lang; - setParameter("Lang", lang); -} - -int CreateSignatureRequest::getQuantity()const -{ - return quantity_; -} - -void CreateSignatureRequest::setQuantity(int quantity) -{ - quantity_ = quantity; - setParameter("Quantity", std::to_string(quantity)); -} - -std::string CreateSignatureRequest::getDocId()const -{ - return docId_; -} - -void CreateSignatureRequest::setDocId(const std::string& docId) -{ - docId_ = docId; - setParameter("DocId", docId); -} - -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::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)); -} - -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); -} - -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 deleted file mode 100644 index 66972e31c..000000000 --- a/cas/src/model/CreateSignatureResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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()); - if(!value["TransactionId"].isNull()) - transactionId_ = value["TransactionId"].asString(); - if(!value["DocContent"].isNull()) - docContent_ = value["DocContent"].asString(); - -} - -std::string CreateSignatureResult::getDocContent()const -{ - return docContent_; -} - -std::string CreateSignatureResult::getTransactionId()const -{ - return transactionId_; -} - diff --git a/cas/src/model/CreateUnDeploymentRequest.cc b/cas/src/model/CreateUnDeploymentRequest.cc deleted file mode 100644 index 5bd537d55..000000000 --- a/cas/src/model/CreateUnDeploymentRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateUnDeploymentRequest; - -CreateUnDeploymentRequest::CreateUnDeploymentRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateUnDeployment") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateUnDeploymentRequest::~CreateUnDeploymentRequest() -{} - -std::string CreateUnDeploymentRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateUnDeploymentRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -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/CreateWHCertificateWithExtensionRequest.cc b/cas/src/model/CreateWHCertificateWithExtensionRequest.cc new file mode 100644 index 000000000..6ae75b494 --- /dev/null +++ b/cas/src/model/CreateWHCertificateWithExtensionRequest.cc @@ -0,0 +1,180 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CreateWHCertificateWithExtensionRequest; + +CreateWHCertificateWithExtensionRequest::CreateWHCertificateWithExtensionRequest() + : RpcServiceRequest("cas", "2020-04-07", "CreateWHCertificateWithExtension") { + setMethod(HttpRequest::Method::Post); +} + +CreateWHCertificateWithExtensionRequest::~CreateWHCertificateWithExtensionRequest() {} + +bool CreateWHCertificateWithExtensionRequest::getAppendCrl() const { + return appendCrl_; +} + +void CreateWHCertificateWithExtensionRequest::setAppendCrl(bool appendCrl) { + appendCrl_ = appendCrl; + setParameter(std::string("AppendCrl"), appendCrl ? "true" : "false"); +} + +std::string CreateWHCertificateWithExtensionRequest::getCountryCode() const { + return countryCode_; +} + +void CreateWHCertificateWithExtensionRequest::setCountryCode(const std::string &countryCode) { + countryCode_ = countryCode; + setParameter(std::string("CountryCode"), countryCode); +} + +std::string CreateWHCertificateWithExtensionRequest::getCommonName() const { + return commonName_; +} + +void CreateWHCertificateWithExtensionRequest::setCommonName(const std::string &commonName) { + commonName_ = commonName; + setParameter(std::string("CommonName"), commonName); +} + +std::string CreateWHCertificateWithExtensionRequest::getSourceIp() const { + return sourceIp_; +} + +void CreateWHCertificateWithExtensionRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string CreateWHCertificateWithExtensionRequest::getCertType() const { + return certType_; +} + +void CreateWHCertificateWithExtensionRequest::setCertType(const std::string &certType) { + certType_ = certType; + setParameter(std::string("CertType"), certType); +} + +std::string CreateWHCertificateWithExtensionRequest::getState() const { + return state_; +} + +void CreateWHCertificateWithExtensionRequest::setState(const std::string &state) { + state_ = state; + setParameter(std::string("State"), state); +} + +std::string CreateWHCertificateWithExtensionRequest::getCsrPemString() const { + return csrPemString_; +} + +void CreateWHCertificateWithExtensionRequest::setCsrPemString(const std::string &csrPemString) { + csrPemString_ = csrPemString; + setParameter(std::string("CsrPemString"), csrPemString); +} + +std::string CreateWHCertificateWithExtensionRequest::getAlgorithmKeySize() const { + return algorithmKeySize_; +} + +void CreateWHCertificateWithExtensionRequest::setAlgorithmKeySize(const std::string &algorithmKeySize) { + algorithmKeySize_ = algorithmKeySize; + setParameter(std::string("AlgorithmKeySize"), algorithmKeySize); +} + +long CreateWHCertificateWithExtensionRequest::getAfterTime() const { + return afterTime_; +} + +void CreateWHCertificateWithExtensionRequest::setAfterTime(long afterTime) { + afterTime_ = afterTime; + setParameter(std::string("AfterTime"), std::to_string(afterTime)); +} + +std::string CreateWHCertificateWithExtensionRequest::getSans() const { + return sans_; +} + +void CreateWHCertificateWithExtensionRequest::setSans(const std::string &sans) { + sans_ = sans; + setParameter(std::string("Sans"), sans); +} + +std::string CreateWHCertificateWithExtensionRequest::getLocality() const { + return locality_; +} + +void CreateWHCertificateWithExtensionRequest::setLocality(const std::string &locality) { + locality_ = locality; + setParameter(std::string("Locality"), locality); +} + +bool CreateWHCertificateWithExtensionRequest::getBasicConstraintsCritical() const { + return basicConstraintsCritical_; +} + +void CreateWHCertificateWithExtensionRequest::setBasicConstraintsCritical(bool basicConstraintsCritical) { + basicConstraintsCritical_ = basicConstraintsCritical; + setParameter(std::string("BasicConstraintsCritical"), basicConstraintsCritical ? "true" : "false"); +} + +std::string CreateWHCertificateWithExtensionRequest::getAliasName() const { + return aliasName_; +} + +void CreateWHCertificateWithExtensionRequest::setAliasName(const std::string &aliasName) { + aliasName_ = aliasName; + setParameter(std::string("AliasName"), aliasName); +} + +std::string CreateWHCertificateWithExtensionRequest::getOrganization() const { + return organization_; +} + +void CreateWHCertificateWithExtensionRequest::setOrganization(const std::string &organization) { + organization_ = organization; + setParameter(std::string("Organization"), organization); +} + +long CreateWHCertificateWithExtensionRequest::getBeforeTime() const { + return beforeTime_; +} + +void CreateWHCertificateWithExtensionRequest::setBeforeTime(long beforeTime) { + beforeTime_ = beforeTime; + setParameter(std::string("BeforeTime"), std::to_string(beforeTime)); +} + +std::string CreateWHCertificateWithExtensionRequest::getParentIdentifier() const { + return parentIdentifier_; +} + +void CreateWHCertificateWithExtensionRequest::setParentIdentifier(const std::string &parentIdentifier) { + parentIdentifier_ = parentIdentifier; + setParameter(std::string("ParentIdentifier"), parentIdentifier); +} + +std::string CreateWHCertificateWithExtensionRequest::getOrganizationUnit() const { + return organizationUnit_; +} + +void CreateWHCertificateWithExtensionRequest::setOrganizationUnit(const std::string &organizationUnit) { + organizationUnit_ = organizationUnit; + setParameter(std::string("OrganizationUnit"), organizationUnit); +} + diff --git a/cas/src/model/CreateWHCertificateWithExtensionResult.cc b/cas/src/model/CreateWHCertificateWithExtensionResult.cc new file mode 100644 index 000000000..cdc12777a --- /dev/null +++ b/cas/src/model/CreateWHCertificateWithExtensionResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateWHCertificateWithExtensionResult::CreateWHCertificateWithExtensionResult() : + ServiceResult() +{} + +CreateWHCertificateWithExtensionResult::CreateWHCertificateWithExtensionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateWHCertificateWithExtensionResult::~CreateWHCertificateWithExtensionResult() +{} + +void CreateWHCertificateWithExtensionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Identifier"].isNull()) + identifier_ = value["Identifier"].asString(); + if(!value["Certificate"].isNull()) + certificate_ = value["Certificate"].asString(); + if(!value["CertificateChain"].isNull()) + certificateChain_ = value["CertificateChain"].asString(); + +} + +std::string CreateWHCertificateWithExtensionResult::getIdentifier()const +{ + return identifier_; +} + +std::string CreateWHCertificateWithExtensionResult::getCertificateChain()const +{ + return certificateChain_; +} + +std::string CreateWHCertificateWithExtensionResult::getCertificate()const +{ + return certificate_; +} + diff --git a/cas/src/model/CreateWHClientCertificateRequest.cc b/cas/src/model/CreateWHClientCertificateRequest.cc new file mode 100644 index 000000000..7f57d7dbb --- /dev/null +++ b/cas/src/model/CreateWHClientCertificateRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CreateWHClientCertificateRequest; + +CreateWHClientCertificateRequest::CreateWHClientCertificateRequest() + : RpcServiceRequest("cas", "2020-04-07", "CreateWHClientCertificate") { + setMethod(HttpRequest::Method::Post); +} + +CreateWHClientCertificateRequest::~CreateWHClientCertificateRequest() {} + +std::string CreateWHClientCertificateRequest::getCsr() const { + return csr_; +} + +void CreateWHClientCertificateRequest::setCsr(const std::string &csr) { + csr_ = csr; + setParameter(std::string("Csr"), csr); +} + +std::string CreateWHClientCertificateRequest::getCommonName() const { + return commonName_; +} + +void CreateWHClientCertificateRequest::setCommonName(const std::string &commonName) { + commonName_ = commonName; + setParameter(std::string("CommonName"), commonName); +} + +std::string CreateWHClientCertificateRequest::getSourceIp() const { + return sourceIp_; +} + +void CreateWHClientCertificateRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string CreateWHClientCertificateRequest::getSanValue() const { + return sanValue_; +} + +void CreateWHClientCertificateRequest::setSanValue(const std::string &sanValue) { + sanValue_ = sanValue; + setParameter(std::string("SanValue"), sanValue); +} + +std::string CreateWHClientCertificateRequest::getAlgorithm() const { + return algorithm_; +} + +void CreateWHClientCertificateRequest::setAlgorithm(const std::string &algorithm) { + algorithm_ = algorithm; + setParameter(std::string("Algorithm"), algorithm); +} + +long CreateWHClientCertificateRequest::getAfterTime() const { + return afterTime_; +} + +void CreateWHClientCertificateRequest::setAfterTime(long afterTime) { + afterTime_ = afterTime; + setParameter(std::string("AfterTime"), std::to_string(afterTime)); +} + +long CreateWHClientCertificateRequest::getSanType() const { + return sanType_; +} + +void CreateWHClientCertificateRequest::setSanType(long sanType) { + sanType_ = sanType; + setParameter(std::string("SanType"), std::to_string(sanType)); +} + +long CreateWHClientCertificateRequest::getDays() const { + return days_; +} + +void CreateWHClientCertificateRequest::setDays(long days) { + days_ = days; + setParameter(std::string("Days"), std::to_string(days)); +} + +long CreateWHClientCertificateRequest::getBeforeTime() const { + return beforeTime_; +} + +void CreateWHClientCertificateRequest::setBeforeTime(long beforeTime) { + beforeTime_ = beforeTime; + setParameter(std::string("BeforeTime"), std::to_string(beforeTime)); +} + +std::string CreateWHClientCertificateRequest::getParentIdentifier() const { + return parentIdentifier_; +} + +void CreateWHClientCertificateRequest::setParentIdentifier(const std::string &parentIdentifier) { + parentIdentifier_ = parentIdentifier; + setParameter(std::string("ParentIdentifier"), parentIdentifier); +} + diff --git a/cas/src/model/CreateWHClientCertificateResult.cc b/cas/src/model/CreateWHClientCertificateResult.cc new file mode 100644 index 000000000..2f6691e3d --- /dev/null +++ b/cas/src/model/CreateWHClientCertificateResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +CreateWHClientCertificateResult::CreateWHClientCertificateResult() : + ServiceResult() +{} + +CreateWHClientCertificateResult::CreateWHClientCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateWHClientCertificateResult::~CreateWHClientCertificateResult() +{} + +void CreateWHClientCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Identifier"].isNull()) + identifier_ = value["Identifier"].asString(); + if(!value["RootX509Certificate"].isNull()) + rootX509Certificate_ = value["RootX509Certificate"].asString(); + if(!value["ParentX509Certificate"].isNull()) + parentX509Certificate_ = value["ParentX509Certificate"].asString(); + if(!value["X509Certificate"].isNull()) + x509Certificate_ = value["X509Certificate"].asString(); + if(!value["CertificateChain"].isNull()) + certificateChain_ = value["CertificateChain"].asString(); + +} + +std::string CreateWHClientCertificateResult::getIdentifier()const +{ + return identifier_; +} + +std::string CreateWHClientCertificateResult::getParentX509Certificate()const +{ + return parentX509Certificate_; +} + +std::string CreateWHClientCertificateResult::getCertificateChain()const +{ + return certificateChain_; +} + +std::string CreateWHClientCertificateResult::getRootX509Certificate()const +{ + return rootX509Certificate_; +} + +std::string CreateWHClientCertificateResult::getX509Certificate()const +{ + return x509Certificate_; +} + diff --git a/cas/src/model/CreateWebSignatureRequest.cc b/cas/src/model/CreateWebSignatureRequest.cc deleted file mode 100644 index cfcb752eb..000000000 --- a/cas/src/model/CreateWebSignatureRequest.cc +++ /dev/null @@ -1,227 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::CreateWebSignatureRequest; - -CreateWebSignatureRequest::CreateWebSignatureRequest() : - RpcServiceRequest("cas", "2018-08-13", "CreateWebSignature") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateWebSignatureRequest::~CreateWebSignatureRequest() -{} - -std::string CreateWebSignatureRequest::getHandSignImg()const -{ - return handSignImg_; -} - -void CreateWebSignatureRequest::setHandSignImg(const std::string& handSignImg) -{ - handSignImg_ = handSignImg; - setParameter("HandSignImg", handSignImg); -} - -std::string CreateWebSignatureRequest::getCustomApi()const -{ - return customApi_; -} - -void CreateWebSignatureRequest::setCustomApi(const std::string& customApi) -{ - customApi_ = customApi; - setParameter("CustomApi", customApi); -} - -std::string CreateWebSignatureRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateWebSignatureRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateWebSignatureRequest::getSourceIp()const -{ - return sourceIp_; -} - -void CreateWebSignatureRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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); -} - -std::string CreateWebSignatureRequest::getLang()const -{ - return lang_; -} - -void CreateWebSignatureRequest::setLang(const std::string& lang) -{ - lang_ = lang; - setParameter("Lang", lang); -} - -int CreateWebSignatureRequest::getQuantity()const -{ - return quantity_; -} - -void CreateWebSignatureRequest::setQuantity(int quantity) -{ - quantity_ = quantity; - setParameter("Quantity", std::to_string(quantity)); -} - -std::string CreateWebSignatureRequest::getDocId()const -{ - return docId_; -} - -void CreateWebSignatureRequest::setDocId(const std::string& docId) -{ - docId_ = docId; - setParameter("DocId", docId); -} - -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::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)); -} - -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); -} - -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/DecryptRequest.cc b/cas/src/model/DecryptRequest.cc new file mode 100644 index 000000000..4d9684a14 --- /dev/null +++ b/cas/src/model/DecryptRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::DecryptRequest; + +DecryptRequest::DecryptRequest() + : RpcServiceRequest("cas", "2020-04-07", "Decrypt") { + setMethod(HttpRequest::Method::Post); +} + +DecryptRequest::~DecryptRequest() {} + +std::string DecryptRequest::getMessageType() const { + return messageType_; +} + +void DecryptRequest::setMessageType(const std::string &messageType) { + messageType_ = messageType; + setParameter(std::string("MessageType"), messageType); +} + +std::string DecryptRequest::getSourceIp() const { + return sourceIp_; +} + +void DecryptRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string DecryptRequest::getCertIdentifier() const { + return certIdentifier_; +} + +void DecryptRequest::setCertIdentifier(const std::string &certIdentifier) { + certIdentifier_ = certIdentifier; + setParameter(std::string("CertIdentifier"), certIdentifier); +} + +std::string DecryptRequest::getAlgorithm() const { + return algorithm_; +} + +void DecryptRequest::setAlgorithm(const std::string &algorithm) { + algorithm_ = algorithm; + setParameter(std::string("Algorithm"), algorithm); +} + +std::string DecryptRequest::getCiphertextBlob() const { + return ciphertextBlob_; +} + +void DecryptRequest::setCiphertextBlob(const std::string &ciphertextBlob) { + ciphertextBlob_ = ciphertextBlob; + setParameter(std::string("CiphertextBlob"), ciphertextBlob); +} + diff --git a/cas/src/model/DescribeOSSDownloadInfoResult.cc b/cas/src/model/DecryptResult.cc similarity index 62% rename from cas/src/model/DescribeOSSDownloadInfoResult.cc rename to cas/src/model/DecryptResult.cc index 8b57a82c4..7f3792c55 100644 --- a/cas/src/model/DescribeOSSDownloadInfoResult.cc +++ b/cas/src/model/DecryptResult.cc @@ -14,38 +14,45 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cas; using namespace AlibabaCloud::Cas::Model; -DescribeOSSDownloadInfoResult::DescribeOSSDownloadInfoResult() : +DecryptResult::DecryptResult() : ServiceResult() {} -DescribeOSSDownloadInfoResult::DescribeOSSDownloadInfoResult(const std::string &payload) : +DecryptResult::DecryptResult(const std::string &payload) : ServiceResult() { parse(payload); } -DescribeOSSDownloadInfoResult::~DescribeOSSDownloadInfoResult() +DecryptResult::~DecryptResult() {} -void DescribeOSSDownloadInfoResult::parse(const std::string &payload) +void DecryptResult::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(); + if(!value["Plaintext"].isNull()) + plaintext_ = value["Plaintext"].asString(); + if(!value["CertIdentifier"].isNull()) + certIdentifier_ = value["CertIdentifier"].asString(); } -std::string DescribeOSSDownloadInfoResult::getDownloadUrl()const +std::string DecryptResult::getPlaintext()const { - return downloadUrl_; + return plaintext_; +} + +std::string DecryptResult::getCertIdentifier()const +{ + return certIdentifier_; } diff --git a/cas/src/model/DeleteCertificateRequest.cc b/cas/src/model/DeleteCertificateRequest.cc deleted file mode 100644 index 7c3e89a19..000000000 --- a/cas/src/model/DeleteCertificateRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DeleteCertificateRequest; - -DeleteCertificateRequest::DeleteCertificateRequest() : - RpcServiceRequest("cas", "2018-08-13", "DeleteCertificate") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteCertificateRequest::~DeleteCertificateRequest() -{} - -long DeleteCertificateRequest::getCertificateId()const -{ - return certificateId_; -} - -void DeleteCertificateRequest::setCertificateId(long certificateId) -{ - certificateId_ = certificateId; - setParameter("CertificateId", std::to_string(certificateId)); -} - -std::string DeleteCertificateRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DeleteCertificateRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DeleteCertificateRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DeleteCertificateRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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/DeleteCertificateRequestRequest.cc b/cas/src/model/DeleteCertificateRequestRequest.cc new file mode 100644 index 000000000..2af4b96d2 --- /dev/null +++ b/cas/src/model/DeleteCertificateRequestRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::DeleteCertificateRequestRequest; + +DeleteCertificateRequestRequest::DeleteCertificateRequestRequest() + : RpcServiceRequest("cas", "2020-04-07", "DeleteCertificateRequest") { + setMethod(HttpRequest::Method::Post); +} + +DeleteCertificateRequestRequest::~DeleteCertificateRequestRequest() {} + +std::string DeleteCertificateRequestRequest::getSourceIp() const { + return sourceIp_; +} + +void DeleteCertificateRequestRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +long DeleteCertificateRequestRequest::getOrderId() const { + return orderId_; +} + +void DeleteCertificateRequestRequest::setOrderId(long orderId) { + orderId_ = orderId; + setParameter(std::string("OrderId"), std::to_string(orderId)); +} + diff --git a/cas/src/model/CreateOrderDocumentResult.cc b/cas/src/model/DeleteCertificateRequestResult.cc similarity index 71% rename from cas/src/model/CreateOrderDocumentResult.cc rename to cas/src/model/DeleteCertificateRequestResult.cc index d27882d05..51b9f7d8a 100644 --- a/cas/src/model/CreateOrderDocumentResult.cc +++ b/cas/src/model/DeleteCertificateRequestResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cas; using namespace AlibabaCloud::Cas::Model; -CreateOrderDocumentResult::CreateOrderDocumentResult() : +DeleteCertificateRequestResult::DeleteCertificateRequestResult() : ServiceResult() {} -CreateOrderDocumentResult::CreateOrderDocumentResult(const std::string &payload) : +DeleteCertificateRequestResult::DeleteCertificateRequestResult(const std::string &payload) : ServiceResult() { parse(payload); } -CreateOrderDocumentResult::~CreateOrderDocumentResult() +DeleteCertificateRequestResult::~DeleteCertificateRequestResult() {} -void CreateOrderDocumentResult::parse(const std::string &payload) +void DeleteCertificateRequestResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/cas/src/model/DeleteCertificateResult.cc b/cas/src/model/DeleteCertificateResult.cc deleted file mode 100644 index 81ae34b61..000000000 --- a/cas/src/model/DeleteCertificateResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 257ecdd1c..000000000 --- a/cas/src/model/DeleteOrderRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DeleteOrderRequest; - -DeleteOrderRequest::DeleteOrderRequest() : - RpcServiceRequest("cas", "2018-08-13", "DeleteOrder") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteOrderRequest::~DeleteOrderRequest() -{} - -long DeleteOrderRequest::getOrderId()const -{ - return orderId_; -} - -void DeleteOrderRequest::setOrderId(long orderId) -{ - orderId_ = orderId; - setParameter("OrderId", std::to_string(orderId)); -} - -std::string DeleteOrderRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DeleteOrderRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DeleteOrderRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DeleteOrderRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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/DeletePCACertRequest.cc b/cas/src/model/DeletePCACertRequest.cc new file mode 100644 index 000000000..05b36cd87 --- /dev/null +++ b/cas/src/model/DeletePCACertRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::DeletePCACertRequest; + +DeletePCACertRequest::DeletePCACertRequest() + : RpcServiceRequest("cas", "2020-04-07", "DeletePCACert") { + setMethod(HttpRequest::Method::Post); +} + +DeletePCACertRequest::~DeletePCACertRequest() {} + +std::string DeletePCACertRequest::getIdentifier() const { + return identifier_; +} + +void DeletePCACertRequest::setIdentifier(const std::string &identifier) { + identifier_ = identifier; + setParameter(std::string("Identifier"), identifier); +} + +std::string DeletePCACertRequest::getSourceIp() const { + return sourceIp_; +} + +void DeletePCACertRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + diff --git a/cas/src/model/DeleteOrderResult.cc b/cas/src/model/DeletePCACertResult.cc similarity index 76% rename from cas/src/model/DeleteOrderResult.cc rename to cas/src/model/DeletePCACertResult.cc index adc299353..0a8871aba 100644 --- a/cas/src/model/DeleteOrderResult.cc +++ b/cas/src/model/DeletePCACertResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cas; using namespace AlibabaCloud::Cas::Model; -DeleteOrderResult::DeleteOrderResult() : +DeletePCACertResult::DeletePCACertResult() : ServiceResult() {} -DeleteOrderResult::DeleteOrderResult(const std::string &payload) : +DeletePCACertResult::DeletePCACertResult(const std::string &payload) : ServiceResult() { parse(payload); } -DeleteOrderResult::~DeleteOrderResult() +DeletePCACertResult::~DeletePCACertResult() {} -void DeleteOrderResult::parse(const std::string &payload) +void DeletePCACertResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/cas/src/model/DescribeCertificateBrandListRequest.cc b/cas/src/model/DescribeCertificateBrandListRequest.cc deleted file mode 100644 index db2061df8..000000000 --- a/cas/src/model/DescribeCertificateBrandListRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeCertificateBrandListRequest; - -DescribeCertificateBrandListRequest::DescribeCertificateBrandListRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeCertificateBrandList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCertificateBrandListRequest::~DescribeCertificateBrandListRequest() -{} - -std::string DescribeCertificateBrandListRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeCertificateBrandListRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -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 deleted file mode 100644 index 7bd718f43..000000000 --- a/cas/src/model/DescribeCertificateBrandListResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 allBrandListNode = value["BrandList"]["Brand"]; - for (auto valueBrandListBrand : allBrandListNode) - { - Brand brandListObject; - if(!valueBrandListBrand["Id"].isNull()) - brandListObject.id = std::stol(valueBrandListBrand["Id"].asString()); - if(!valueBrandListBrand["Name"].isNull()) - brandListObject.name = valueBrandListBrand["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 deleted file mode 100644 index e2ed373cf..000000000 --- a/cas/src/model/DescribeCertificateDetailRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeCertificateDetailRequest; - -DescribeCertificateDetailRequest::DescribeCertificateDetailRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeCertificateDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCertificateDetailRequest::~DescribeCertificateDetailRequest() -{} - -long DescribeCertificateDetailRequest::getCertificateId()const -{ - return certificateId_; -} - -void DescribeCertificateDetailRequest::setCertificateId(long certificateId) -{ - certificateId_ = certificateId; - setParameter("CertificateId", std::to_string(certificateId)); -} - -std::string DescribeCertificateDetailRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeCertificateDetailRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeCertificateDetailRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeCertificateDetailRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index 92a00cf45..000000000 --- a/cas/src/model/DescribeCertificateDetailResult.cc +++ /dev/null @@ -1,149 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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()); - if(!value["AccessDownload"].isNull()) - accessDownload_ = std::stoi(value["AccessDownload"].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_; -} - -int DescribeCertificateDetailResult::getAccessDownload()const -{ - return accessDownload_; -} - -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 deleted file mode 100644 index 383c8db05..000000000 --- a/cas/src/model/DescribeCertificateListRequest.cc +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeCertificateListRequest; - -DescribeCertificateListRequest::DescribeCertificateListRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeCertificateList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCertificateListRequest::~DescribeCertificateListRequest() -{} - -std::string DescribeCertificateListRequest::getSortType()const -{ - return sortType_; -} - -void DescribeCertificateListRequest::setSortType(const std::string& sortType) -{ - sortType_ = sortType; - setParameter("SortType", sortType); -} - -std::string DescribeCertificateListRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeCertificateListRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeCertificateListRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeCertificateListRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -std::vector DescribeCertificateListRequest::getTag()const -{ - return tag_; -} - -void DescribeCertificateListRequest::setTag(const std::vector& tag) -{ - tag_ = tag; - for(int dep1 = 0; dep1!= tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = "Tag." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Value", tagObj.value); - setParameter(tagObjStr + ".Key", tagObj.key); - } -} - -std::string DescribeCertificateListRequest::getLang()const -{ - return lang_; -} - -void DescribeCertificateListRequest::setLang(const std::string& lang) -{ - lang_ = lang; - setParameter("Lang", lang); -} - -std::string DescribeCertificateListRequest::getKeyword()const -{ - return keyword_; -} - -void DescribeCertificateListRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setParameter("Keyword", keyword); -} - -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::getSortColumn()const -{ - return sortColumn_; -} - -void DescribeCertificateListRequest::setSortColumn(const std::string& sortColumn) -{ - sortColumn_ = sortColumn; - setParameter("SortColumn", sortColumn); -} - -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 deleted file mode 100644 index 31c940727..000000000 --- a/cas/src/model/DescribeCertificateListResult.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 allCertificateListNode = value["CertificateList"]["Certificate"]; - for (auto valueCertificateListCertificate : allCertificateListNode) - { - Certificate certificateListObject; - if(!valueCertificateListCertificate["Id"].isNull()) - certificateListObject.id = std::stol(valueCertificateListCertificate["Id"].asString()); - if(!valueCertificateListCertificate["Name"].isNull()) - certificateListObject.name = valueCertificateListCertificate["Name"].asString(); - if(!valueCertificateListCertificate["SourceType"].isNull()) - certificateListObject.sourceType = valueCertificateListCertificate["SourceType"].asString(); - if(!valueCertificateListCertificate["CertType"].isNull()) - certificateListObject.certType = valueCertificateListCertificate["CertType"].asString(); - if(!valueCertificateListCertificate["InstanceId"].isNull()) - certificateListObject.instanceId = valueCertificateListCertificate["InstanceId"].asString(); - if(!valueCertificateListCertificate["OrderId"].isNull()) - certificateListObject.orderId = std::stol(valueCertificateListCertificate["OrderId"].asString()); - if(!valueCertificateListCertificate["OrderType"].isNull()) - certificateListObject.orderType = valueCertificateListCertificate["OrderType"].asString(); - if(!valueCertificateListCertificate["BrandName"].isNull()) - certificateListObject.brandName = valueCertificateListCertificate["BrandName"].asString(); - if(!valueCertificateListCertificate["BeforeDate"].isNull()) - certificateListObject.beforeDate = std::stol(valueCertificateListCertificate["BeforeDate"].asString()); - if(!valueCertificateListCertificate["AfterDate"].isNull()) - certificateListObject.afterDate = std::stol(valueCertificateListCertificate["AfterDate"].asString()); - if(!valueCertificateListCertificate["Year"].isNull()) - certificateListObject.year = std::stoi(valueCertificateListCertificate["Year"].asString()); - if(!valueCertificateListCertificate["Domain"].isNull()) - certificateListObject.domain = valueCertificateListCertificate["Domain"].asString(); - if(!valueCertificateListCertificate["RemainingDays"].isNull()) - certificateListObject.remainingDays = std::stoi(valueCertificateListCertificate["RemainingDays"].asString()); - if(!valueCertificateListCertificate["DeploymentCloudProduct"].isNull()) - certificateListObject.deploymentCloudProduct = valueCertificateListCertificate["DeploymentCloudProduct"].asString(); - if(!valueCertificateListCertificate["StatusCode"].isNull()) - certificateListObject.statusCode = valueCertificateListCertificate["StatusCode"].asString(); - if(!valueCertificateListCertificate["NewBuyCertType"].isNull()) - certificateListObject.newBuyCertType = valueCertificateListCertificate["NewBuyCertType"].asString(); - if(!valueCertificateListCertificate["NewBuyDomainType"].isNull()) - certificateListObject.newBuyDomainType = valueCertificateListCertificate["NewBuyDomainType"].asString(); - if(!valueCertificateListCertificate["NewBuyBrand"].isNull()) - certificateListObject.newBuyBrand = valueCertificateListCertificate["NewBuyBrand"].asString(); - if(!valueCertificateListCertificate["NewBuyDomainCount"].isNull()) - certificateListObject.newBuyDomainCount = std::stoi(valueCertificateListCertificate["NewBuyDomainCount"].asString()); - if(!valueCertificateListCertificate["ShowDeployment"].isNull()) - certificateListObject.showDeployment = std::stoi(valueCertificateListCertificate["ShowDeployment"].asString()); - if(!valueCertificateListCertificate["ShowRefund"].isNull()) - certificateListObject.showRefund = valueCertificateListCertificate["ShowRefund"].asString() == "true"; - if(!valueCertificateListCertificate["AccessDownload"].isNull()) - certificateListObject.accessDownload = std::stoi(valueCertificateListCertificate["AccessDownload"].asString()); - if(!valueCertificateListCertificate["PartnerOrderId"].isNull()) - certificateListObject.partnerOrderId = valueCertificateListCertificate["PartnerOrderId"].asString(); - if(!valueCertificateListCertificate["IsFree"].isNull()) - certificateListObject.isFree = valueCertificateListCertificate["IsFree"].asString() == "true"; - if(!valueCertificateListCertificate["ExpireRenew"].isNull()) - certificateListObject.expireRenew = std::stoi(valueCertificateListCertificate["ExpireRenew"].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/DescribeCertificateStateRequest.cc b/cas/src/model/DescribeCertificateStateRequest.cc new file mode 100644 index 000000000..ea80c455b --- /dev/null +++ b/cas/src/model/DescribeCertificateStateRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribeCertificateStateRequest; + +DescribeCertificateStateRequest::DescribeCertificateStateRequest() + : RpcServiceRequest("cas", "2020-04-07", "DescribeCertificateState") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCertificateStateRequest::~DescribeCertificateStateRequest() {} + +std::string DescribeCertificateStateRequest::getSourceIp() const { + return sourceIp_; +} + +void DescribeCertificateStateRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +long DescribeCertificateStateRequest::getOrderId() const { + return orderId_; +} + +void DescribeCertificateStateRequest::setOrderId(long orderId) { + orderId_ = orderId; + setParameter(std::string("OrderId"), std::to_string(orderId)); +} + diff --git a/cas/src/model/DescribeCertificateStateResult.cc b/cas/src/model/DescribeCertificateStateResult.cc new file mode 100644 index 000000000..9ae26ebd9 --- /dev/null +++ b/cas/src/model/DescribeCertificateStateResult.cc @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +DescribeCertificateStateResult::DescribeCertificateStateResult() : + ServiceResult() +{} + +DescribeCertificateStateResult::DescribeCertificateStateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCertificateStateResult::~DescribeCertificateStateResult() +{} + +void DescribeCertificateStateResult::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["Domain"].isNull()) + domain_ = value["Domain"].asString(); + if(!value["RecordType"].isNull()) + recordType_ = value["RecordType"].asString(); + if(!value["Certificate"].isNull()) + certificate_ = value["Certificate"].asString(); + if(!value["RecordDomain"].isNull()) + recordDomain_ = value["RecordDomain"].asString(); + if(!value["PrivateKey"].isNull()) + privateKey_ = value["PrivateKey"].asString(); + if(!value["ValidateType"].isNull()) + validateType_ = value["ValidateType"].asString(); + if(!value["RecordValue"].isNull()) + recordValue_ = value["RecordValue"].asString(); + if(!value["Content"].isNull()) + content_ = value["Content"].asString(); + if(!value["Uri"].isNull()) + uri_ = value["Uri"].asString(); + +} + +std::string DescribeCertificateStateResult::getType()const +{ + return type_; +} + +std::string DescribeCertificateStateResult::getPrivateKey()const +{ + return privateKey_; +} + +std::string DescribeCertificateStateResult::getRecordType()const +{ + return recordType_; +} + +std::string DescribeCertificateStateResult::getContent()const +{ + return content_; +} + +std::string DescribeCertificateStateResult::getRecordDomain()const +{ + return recordDomain_; +} + +std::string DescribeCertificateStateResult::getRecordValue()const +{ + return recordValue_; +} + +std::string DescribeCertificateStateResult::getDomain()const +{ + return domain_; +} + +std::string DescribeCertificateStateResult::getValidateType()const +{ + return validateType_; +} + +std::string DescribeCertificateStateResult::getUri()const +{ + return uri_; +} + +std::string DescribeCertificateStateResult::getCertificate()const +{ + return certificate_; +} + diff --git a/cas/src/model/DescribeCertificateStatusCountRequest.cc b/cas/src/model/DescribeCertificateStatusCountRequest.cc deleted file mode 100644 index b53a39875..000000000 --- a/cas/src/model/DescribeCertificateStatusCountRequest.cc +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeCertificateStatusCountRequest; - -DescribeCertificateStatusCountRequest::DescribeCertificateStatusCountRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeCertificateStatusCount") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCertificateStatusCountRequest::~DescribeCertificateStatusCountRequest() -{} - -std::string DescribeCertificateStatusCountRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeCertificateStatusCountRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeCertificateStatusCountRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeCertificateStatusCountRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -std::vector DescribeCertificateStatusCountRequest::getTag()const -{ - return tag_; -} - -void DescribeCertificateStatusCountRequest::setTag(const std::vector& tag) -{ - tag_ = tag; - for(int dep1 = 0; dep1!= tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = "Tag." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Value", tagObj.value); - setParameter(tagObjStr + ".Key", tagObj.key); - } -} - -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 deleted file mode 100644 index c5b7ee0fb..000000000 --- a/cas/src/model/DescribeCertificateStatusCountResult.cc +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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()); - if(!value["RevokeChecking"].isNull()) - revokeChecking_ = std::stoi(value["RevokeChecking"].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_; -} - -int DescribeCertificateStatusCountResult::getRevokeChecking()const -{ - return revokeChecking_; -} - diff --git a/cas/src/model/DescribeDeploymentDetailRequest.cc b/cas/src/model/DescribeDeploymentDetailRequest.cc deleted file mode 100644 index 138622750..000000000 --- a/cas/src/model/DescribeDeploymentDetailRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeDeploymentDetailRequest; - -DescribeDeploymentDetailRequest::DescribeDeploymentDetailRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeDeploymentDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDeploymentDetailRequest::~DescribeDeploymentDetailRequest() -{} - -long DescribeDeploymentDetailRequest::getCertificateId()const -{ - return certificateId_; -} - -void DescribeDeploymentDetailRequest::setCertificateId(long certificateId) -{ - certificateId_ = certificateId; - setParameter("CertificateId", std::to_string(certificateId)); -} - -std::string DescribeDeploymentDetailRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeDeploymentDetailRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeDeploymentDetailRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeDeploymentDetailRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index d19cf26fc..000000000 --- a/cas/src/model/DescribeDeploymentDetailResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 allDeploymentDetailNode = value["DeploymentDetail"]["Deployment"]; - for (auto valueDeploymentDetailDeployment : allDeploymentDetailNode) - { - Deployment deploymentDetailObject; - if(!valueDeploymentDetailDeployment["CloudProduct"].isNull()) - deploymentDetailObject.cloudProduct = valueDeploymentDetailDeployment["CloudProduct"].asString(); - if(!valueDeploymentDetailDeployment["Domain"].isNull()) - deploymentDetailObject.domain = valueDeploymentDetailDeployment["Domain"].asString(); - if(!valueDeploymentDetailDeployment["Region"].isNull()) - deploymentDetailObject.region = valueDeploymentDetailDeployment["Region"].asString(); - if(!valueDeploymentDetailDeployment["DeployTime"].isNull()) - deploymentDetailObject.deployTime = std::stol(valueDeploymentDetailDeployment["DeployTime"].asString()); - if(!valueDeploymentDetailDeployment["Id"].isNull()) - deploymentDetailObject.id = std::stol(valueDeploymentDetailDeployment["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 deleted file mode 100644 index c1becd494..000000000 --- a/cas/src/model/DescribeDeploymentDomainListRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeDeploymentDomainListRequest; - -DescribeDeploymentDomainListRequest::DescribeDeploymentDomainListRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeDeploymentDomainList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDeploymentDomainListRequest::~DescribeDeploymentDomainListRequest() -{} - -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::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeDeploymentDomainListRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeDeploymentDomainListRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeDeploymentDomainListRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index 33b3c17a1..000000000 --- a/cas/src/model/DescribeDeploymentDomainListResult.cc +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 7170f7edc..000000000 --- a/cas/src/model/DescribeDeploymentProductRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeDeploymentProductRequest; - -DescribeDeploymentProductRequest::DescribeDeploymentProductRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeDeploymentProduct") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDeploymentProductRequest::~DescribeDeploymentProductRequest() -{} - -long DescribeDeploymentProductRequest::getCertificateId()const -{ - return certificateId_; -} - -void DescribeDeploymentProductRequest::setCertificateId(long certificateId) -{ - certificateId_ = certificateId; - setParameter("CertificateId", std::to_string(certificateId)); -} - -std::string DescribeDeploymentProductRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeDeploymentProductRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeDeploymentProductRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeDeploymentProductRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index 558ea0e42..000000000 --- a/cas/src/model/DescribeDeploymentProductResult.cc +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index b557bd5d1..000000000 --- a/cas/src/model/DescribeDeploymentRegionListRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeDeploymentRegionListRequest; - -DescribeDeploymentRegionListRequest::DescribeDeploymentRegionListRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeDeploymentRegionList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDeploymentRegionListRequest::~DescribeDeploymentRegionListRequest() -{} - -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::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeDeploymentRegionListRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeDeploymentRegionListRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeDeploymentRegionListRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index a366f7cf5..000000000 --- a/cas/src/model/DescribeDeploymentRegionListResult.cc +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 4ec6f4f19..000000000 --- a/cas/src/model/DescribeDomainVerifyConfigurationStatusRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeDomainVerifyConfigurationStatusRequest; - -DescribeDomainVerifyConfigurationStatusRequest::DescribeDomainVerifyConfigurationStatusRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeDomainVerifyConfigurationStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainVerifyConfigurationStatusRequest::~DescribeDomainVerifyConfigurationStatusRequest() -{} - -long DescribeDomainVerifyConfigurationStatusRequest::getOrderId()const -{ - return orderId_; -} - -void DescribeDomainVerifyConfigurationStatusRequest::setOrderId(long orderId) -{ - orderId_ = orderId; - setParameter("OrderId", std::to_string(orderId)); -} - -std::string DescribeDomainVerifyConfigurationStatusRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeDomainVerifyConfigurationStatusRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeDomainVerifyConfigurationStatusRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeDomainVerifyConfigurationStatusRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index ac0661015..000000000 --- a/cas/src/model/DescribeDomainVerifyConfigurationStatusResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 2a99f9588..000000000 --- a/cas/src/model/DescribeDomainVerifyInfoRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeDomainVerifyInfoRequest; - -DescribeDomainVerifyInfoRequest::DescribeDomainVerifyInfoRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeDomainVerifyInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainVerifyInfoRequest::~DescribeDomainVerifyInfoRequest() -{} - -long DescribeDomainVerifyInfoRequest::getOrderId()const -{ - return orderId_; -} - -void DescribeDomainVerifyInfoRequest::setOrderId(long orderId) -{ - orderId_ = orderId; - setParameter("OrderId", std::to_string(orderId)); -} - -std::string DescribeDomainVerifyInfoRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeDomainVerifyInfoRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeDomainVerifyInfoRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeDomainVerifyInfoRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index 7a70050c3..000000000 --- a/cas/src/model/DescribeDomainVerifyInfoResult.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 3be80cb60..000000000 --- a/cas/src/model/DescribeDownloadCertificateRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeDownloadCertificateRequest; - -DescribeDownloadCertificateRequest::DescribeDownloadCertificateRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeDownloadCertificate") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDownloadCertificateRequest::~DescribeDownloadCertificateRequest() -{} - -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::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeDownloadCertificateRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeDownloadCertificateRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeDownloadCertificateRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index b3a7cb64a..000000000 --- a/cas/src/model/DescribeDownloadCertificateResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 7d26bf346..000000000 --- a/cas/src/model/DescribeDownloadDomainVerifyConfigurationRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeDownloadDomainVerifyConfigurationRequest; - -DescribeDownloadDomainVerifyConfigurationRequest::DescribeDownloadDomainVerifyConfigurationRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeDownloadDomainVerifyConfiguration") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDownloadDomainVerifyConfigurationRequest::~DescribeDownloadDomainVerifyConfigurationRequest() -{} - -long DescribeDownloadDomainVerifyConfigurationRequest::getOrderId()const -{ - return orderId_; -} - -void DescribeDownloadDomainVerifyConfigurationRequest::setOrderId(long orderId) -{ - orderId_ = orderId; - setParameter("OrderId", std::to_string(orderId)); -} - -std::string DescribeDownloadDomainVerifyConfigurationRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeDownloadDomainVerifyConfigurationRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeDownloadDomainVerifyConfigurationRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeDownloadDomainVerifyConfigurationRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index 413b1839d..000000000 --- a/cas/src/model/DescribeDownloadDomainVerifyConfigurationResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index e477013c5..000000000 --- a/cas/src/model/DescribeExpectationResultRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeExpectationResultRequest; - -DescribeExpectationResultRequest::DescribeExpectationResultRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeExpectationResult") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeExpectationResultRequest::~DescribeExpectationResultRequest() -{} - -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::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeExpectationResultRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeExpectationResultRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeExpectationResultRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index 754080ffb..000000000 --- a/cas/src/model/DescribeExpectationResultResult.cc +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index cce2ae8a7..000000000 --- a/cas/src/model/DescribeHelpListRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeHelpListRequest; - -DescribeHelpListRequest::DescribeHelpListRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeHelpList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeHelpListRequest::~DescribeHelpListRequest() -{} - -std::string DescribeHelpListRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeHelpListRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -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 deleted file mode 100644 index cc3db2e89..000000000 --- a/cas/src/model/DescribeHelpListResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 940492cf0..000000000 --- a/cas/src/model/DescribeLocationListRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeLocationListRequest; - -DescribeLocationListRequest::DescribeLocationListRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeLocationList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLocationListRequest::~DescribeLocationListRequest() -{} - -std::string DescribeLocationListRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeLocationListRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -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 deleted file mode 100644 index 086d4de62..000000000 --- a/cas/src/model/DescribeLocationListResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 3da62d029..000000000 --- a/cas/src/model/DescribeOSSDownloadInfoRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeOSSDownloadInfoRequest; - -DescribeOSSDownloadInfoRequest::DescribeOSSDownloadInfoRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeOSSDownloadInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeOSSDownloadInfoRequest::~DescribeOSSDownloadInfoRequest() -{} - -std::string DescribeOSSDownloadInfoRequest::getOssKey()const -{ - return ossKey_; -} - -void DescribeOSSDownloadInfoRequest::setOssKey(const std::string& ossKey) -{ - ossKey_ = ossKey; - setParameter("OssKey", ossKey); -} - -std::string DescribeOSSDownloadInfoRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeOSSDownloadInfoRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeOSSDownloadInfoRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeOSSDownloadInfoRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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/DescribeOSSUploadInfoRequest.cc b/cas/src/model/DescribeOSSUploadInfoRequest.cc deleted file mode 100644 index 0977970f9..000000000 --- a/cas/src/model/DescribeOSSUploadInfoRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeOSSUploadInfoRequest; - -DescribeOSSUploadInfoRequest::DescribeOSSUploadInfoRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeOSSUploadInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeOSSUploadInfoRequest::~DescribeOSSUploadInfoRequest() -{} - -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::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeOSSUploadInfoRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeOSSUploadInfoRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeOSSUploadInfoRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index d1e5965e2..000000000 --- a/cas/src/model/DescribeOSSUploadInfoResult.cc +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index ccc06a803..000000000 --- a/cas/src/model/DescribeOrderAuditFailRecordRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeOrderAuditFailRecordRequest; - -DescribeOrderAuditFailRecordRequest::DescribeOrderAuditFailRecordRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeOrderAuditFailRecord") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeOrderAuditFailRecordRequest::~DescribeOrderAuditFailRecordRequest() -{} - -long DescribeOrderAuditFailRecordRequest::getOrderId()const -{ - return orderId_; -} - -void DescribeOrderAuditFailRecordRequest::setOrderId(long orderId) -{ - orderId_ = orderId; - setParameter("OrderId", std::to_string(orderId)); -} - -std::string DescribeOrderAuditFailRecordRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeOrderAuditFailRecordRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeOrderAuditFailRecordRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeOrderAuditFailRecordRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index 4e496f305..000000000 --- a/cas/src/model/DescribeOrderAuditFailRecordResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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/DescribeOrderCountForConsoleIndexRequest.cc b/cas/src/model/DescribeOrderCountForConsoleIndexRequest.cc deleted file mode 100644 index b9a50c555..000000000 --- a/cas/src/model/DescribeOrderCountForConsoleIndexRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeOrderCountForConsoleIndexRequest; - -DescribeOrderCountForConsoleIndexRequest::DescribeOrderCountForConsoleIndexRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeOrderCountForConsoleIndex") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeOrderCountForConsoleIndexRequest::~DescribeOrderCountForConsoleIndexRequest() -{} - -std::string DescribeOrderCountForConsoleIndexRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeOrderCountForConsoleIndexRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeOrderCountForConsoleIndexRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeOrderCountForConsoleIndexRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - diff --git a/cas/src/model/DescribeOrderCountForConsoleIndexResult.cc b/cas/src/model/DescribeOrderCountForConsoleIndexResult.cc deleted file mode 100644 index 6903277b9..000000000 --- a/cas/src/model/DescribeOrderCountForConsoleIndexResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cas; -using namespace AlibabaCloud::Cas::Model; - -DescribeOrderCountForConsoleIndexResult::DescribeOrderCountForConsoleIndexResult() : - ServiceResult() -{} - -DescribeOrderCountForConsoleIndexResult::DescribeOrderCountForConsoleIndexResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeOrderCountForConsoleIndexResult::~DescribeOrderCountForConsoleIndexResult() -{} - -void DescribeOrderCountForConsoleIndexResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["BuySuccess"].isNull()) - buySuccess_ = value["BuySuccess"].asString() == "true"; - -} - -bool DescribeOrderCountForConsoleIndexResult::getBuySuccess()const -{ - return buySuccess_; -} - diff --git a/cas/src/model/DescribeOrderDetailRequest.cc b/cas/src/model/DescribeOrderDetailRequest.cc deleted file mode 100644 index 4594577a6..000000000 --- a/cas/src/model/DescribeOrderDetailRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeOrderDetailRequest; - -DescribeOrderDetailRequest::DescribeOrderDetailRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeOrderDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeOrderDetailRequest::~DescribeOrderDetailRequest() -{} - -long DescribeOrderDetailRequest::getOrderId()const -{ - return orderId_; -} - -void DescribeOrderDetailRequest::setOrderId(long orderId) -{ - orderId_ = orderId; - setParameter("OrderId", std::to_string(orderId)); -} - -std::string DescribeOrderDetailRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeOrderDetailRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeOrderDetailRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeOrderDetailRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index 810a38e1d..000000000 --- a/cas/src/model/DescribeOrderDetailResult.cc +++ /dev/null @@ -1,184 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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::stol(value["Id"].asString()); - if(!value["SourceType"].isNull()) - sourceType_ = value["SourceType"].asString(); - if(!value["CertType"].isNull()) - certType_ = value["CertType"].asString(); - if(!value["InstanceId"].isNull()) - instanceId_ = value["InstanceId"].asString(); - if(!value["Year"].isNull()) - year_ = std::stol(value["Year"].asString()); - if(!value["OrderId"].isNull()) - orderId_ = std::stol(value["OrderId"].asString()); - if(!value["OrderType"].isNull()) - orderType_ = value["OrderType"].asString(); - if(!value["BrandName"].isNull()) - brandName_ = value["BrandName"].asString(); - if(!value["BuyDate"].isNull()) - buyDate_ = std::stol(value["BuyDate"].asString()); - if(!value["StatusCode"].isNull()) - statusCode_ = value["StatusCode"].asString(); - if(!value["Domain"].isNull()) - domain_ = value["Domain"].asString(); - if(!value["ProductAliasName"].isNull()) - productAliasName_ = value["ProductAliasName"].asString(); - if(!value["DomainCount"].isNull()) - domainCount_ = std::stoi(value["DomainCount"].asString()); - if(!value["WildDomainCount"].isNull()) - wildDomainCount_ = std::stoi(value["WildDomainCount"].asString()); - if(!value["VerifyStatus"].isNull()) - verifyStatus_ = std::stoi(value["VerifyStatus"].asString()); - if(!value["MaybeIssueDate"].isNull()) - maybeIssueDate_ = std::stol(value["MaybeIssueDate"].asString()); - if(!value["BeforeDate"].isNull()) - beforeDate_ = std::stol(value["BeforeDate"].asString()); - if(!value["AfterDate"].isNull()) - afterDate_ = std::stol(value["AfterDate"].asString()); - if(!value["ShowCancel"].isNull()) - showCancel_ = value["ShowCancel"].asString() == "true"; - if(!value["ShowRefund"].isNull()) - showRefund_ = value["ShowRefund"].asString() == "true"; - -} - -int DescribeOrderDetailResult::getVerifyStatus()const -{ - return verifyStatus_; -} - -long DescribeOrderDetailResult::getAfterDate()const -{ - return afterDate_; -} - -bool DescribeOrderDetailResult::getShowRefund()const -{ - return showRefund_; -} - -std::string DescribeOrderDetailResult::getInstanceId()const -{ - return instanceId_; -} - -std::string DescribeOrderDetailResult::getSourceType()const -{ - return sourceType_; -} - -std::string DescribeOrderDetailResult::getCertType()const -{ - return certType_; -} - -int DescribeOrderDetailResult::getWildDomainCount()const -{ - return wildDomainCount_; -} - -long DescribeOrderDetailResult::getOrderId()const -{ - return orderId_; -} - -std::string DescribeOrderDetailResult::getStatusCode()const -{ - return statusCode_; -} - -std::string DescribeOrderDetailResult::getBrandName()const -{ - return brandName_; -} - -std::string DescribeOrderDetailResult::getOrderType()const -{ - return orderType_; -} - -long DescribeOrderDetailResult::getYear()const -{ - return year_; -} - -bool DescribeOrderDetailResult::getShowCancel()const -{ - return showCancel_; -} - -std::string DescribeOrderDetailResult::getProductAliasName()const -{ - return productAliasName_; -} - -long DescribeOrderDetailResult::getMaybeIssueDate()const -{ - return maybeIssueDate_; -} - -long DescribeOrderDetailResult::getId()const -{ - return id_; -} - -std::string DescribeOrderDetailResult::getDomain()const -{ - return domain_; -} - -long DescribeOrderDetailResult::getBuyDate()const -{ - return buyDate_; -} - -int DescribeOrderDetailResult::getDomainCount()const -{ - return domainCount_; -} - -long DescribeOrderDetailResult::getBeforeDate()const -{ - return beforeDate_; -} - diff --git a/cas/src/model/DescribeOrderDocumentRequest.cc b/cas/src/model/DescribeOrderDocumentRequest.cc deleted file mode 100644 index d902e006e..000000000 --- a/cas/src/model/DescribeOrderDocumentRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeOrderDocumentRequest; - -DescribeOrderDocumentRequest::DescribeOrderDocumentRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeOrderDocument") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeOrderDocumentRequest::~DescribeOrderDocumentRequest() -{} - -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::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeOrderDocumentRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeOrderDocumentRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeOrderDocumentRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index 0b41fdc4c..000000000 --- a/cas/src/model/DescribeOrderDocumentResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 allOrderDocumentListNode = value["OrderDocumentList"]["OrderDocument"]; - for (auto valueOrderDocumentListOrderDocument : allOrderDocumentListNode) - { - OrderDocument orderDocumentListObject; - if(!valueOrderDocumentListOrderDocument["DocumentType"].isNull()) - orderDocumentListObject.documentType = std::stoi(valueOrderDocumentListOrderDocument["DocumentType"].asString()); - if(!valueOrderDocumentListOrderDocument["TplDocNote"].isNull()) - orderDocumentListObject.tplDocNote = valueOrderDocumentListOrderDocument["TplDocNote"].asString(); - if(!valueOrderDocumentListOrderDocument["TplDocOssKey"].isNull()) - orderDocumentListObject.tplDocOssKey = valueOrderDocumentListOrderDocument["TplDocOssKey"].asString(); - if(!valueOrderDocumentListOrderDocument["OrderDocOssKey"].isNull()) - orderDocumentListObject.orderDocOssKey = valueOrderDocumentListOrderDocument["OrderDocOssKey"].asString(); - if(!valueOrderDocumentListOrderDocument["OrderDocDate"].isNull()) - orderDocumentListObject.orderDocDate = std::stol(valueOrderDocumentListOrderDocument["OrderDocDate"].asString()); - if(!valueOrderDocumentListOrderDocument["OrderDocExt"].isNull()) - orderDocumentListObject.orderDocExt = valueOrderDocumentListOrderDocument["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 deleted file mode 100644 index 8e1fc2e1a..000000000 --- a/cas/src/model/DescribeOrderListRequest.cc +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeOrderListRequest; - -DescribeOrderListRequest::DescribeOrderListRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeOrderList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeOrderListRequest::~DescribeOrderListRequest() -{} - -std::string DescribeOrderListRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeOrderListRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeOrderListRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeOrderListRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -long DescribeOrderListRequest::getBrandId()const -{ - return brandId_; -} - -void DescribeOrderListRequest::setBrandId(long brandId) -{ - brandId_ = brandId; - setParameter("BrandId", std::to_string(brandId)); -} - -std::vector DescribeOrderListRequest::getTag()const -{ - return tag_; -} - -void DescribeOrderListRequest::setTag(const std::vector& tag) -{ - tag_ = tag; - for(int dep1 = 0; dep1!= tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = "Tag." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Value", tagObj.value); - setParameter(tagObjStr + ".Key", tagObj.key); - } -} - -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); -} - -int DescribeOrderListRequest::getShowSize()const -{ - return showSize_; -} - -void DescribeOrderListRequest::setShowSize(int showSize) -{ - showSize_ = showSize; - setParameter("ShowSize", std::to_string(showSize)); -} - -int DescribeOrderListRequest::getCurrentPage()const -{ - return currentPage_; -} - -void DescribeOrderListRequest::setCurrentPage(int currentPage) -{ - currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); -} - -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 deleted file mode 100644 index a96796fe5..000000000 --- a/cas/src/model/DescribeOrderListResult.cc +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 allOrderListNode = value["OrderList"]["Order"]; - for (auto valueOrderListOrder : allOrderListNode) - { - Order orderListObject; - if(!valueOrderListOrder["Id"].isNull()) - orderListObject.id = std::stol(valueOrderListOrder["Id"].asString()); - if(!valueOrderListOrder["SourceType"].isNull()) - orderListObject.sourceType = valueOrderListOrder["SourceType"].asString(); - if(!valueOrderListOrder["CertType"].isNull()) - orderListObject.certType = valueOrderListOrder["CertType"].asString(); - if(!valueOrderListOrder["InstanceId"].isNull()) - orderListObject.instanceId = valueOrderListOrder["InstanceId"].asString(); - if(!valueOrderListOrder["Year"].isNull()) - orderListObject.year = std::stol(valueOrderListOrder["Year"].asString()); - if(!valueOrderListOrder["OrderId"].isNull()) - orderListObject.orderId = std::stol(valueOrderListOrder["OrderId"].asString()); - if(!valueOrderListOrder["OrderType"].isNull()) - orderListObject.orderType = valueOrderListOrder["OrderType"].asString(); - if(!valueOrderListOrder["BrandName"].isNull()) - orderListObject.brandName = valueOrderListOrder["BrandName"].asString(); - if(!valueOrderListOrder["BuyDate"].isNull()) - orderListObject.buyDate = std::stol(valueOrderListOrder["BuyDate"].asString()); - if(!valueOrderListOrder["StatusCode"].isNull()) - orderListObject.statusCode = valueOrderListOrder["StatusCode"].asString(); - if(!valueOrderListOrder["Domain"].isNull()) - orderListObject.domain = valueOrderListOrder["Domain"].asString(); - if(!valueOrderListOrder["ProductAliasName"].isNull()) - orderListObject.productAliasName = valueOrderListOrder["ProductAliasName"].asString(); - if(!valueOrderListOrder["DomainCount"].isNull()) - orderListObject.domainCount = std::stoi(valueOrderListOrder["DomainCount"].asString()); - if(!valueOrderListOrder["WildDomainCount"].isNull()) - orderListObject.wildDomainCount = std::stoi(valueOrderListOrder["WildDomainCount"].asString()); - if(!valueOrderListOrder["VerifyStatus"].isNull()) - orderListObject.verifyStatus = std::stoi(valueOrderListOrder["VerifyStatus"].asString()); - if(!valueOrderListOrder["MaybeIssueDate"].isNull()) - orderListObject.maybeIssueDate = std::stol(valueOrderListOrder["MaybeIssueDate"].asString()); - if(!valueOrderListOrder["BeforeDate"].isNull()) - orderListObject.beforeDate = std::stol(valueOrderListOrder["BeforeDate"].asString()); - if(!valueOrderListOrder["AfterDate"].isNull()) - orderListObject.afterDate = std::stol(valueOrderListOrder["AfterDate"].asString()); - if(!valueOrderListOrder["ShowCancel"].isNull()) - orderListObject.showCancel = valueOrderListOrder["ShowCancel"].asString() == "true"; - if(!valueOrderListOrder["ShowRefund"].isNull()) - orderListObject.showRefund = valueOrderListOrder["ShowRefund"].asString() == "true"; - if(!valueOrderListOrder["PartnerOrderId"].isNull()) - orderListObject.partnerOrderId = valueOrderListOrder["PartnerOrderId"].asString(); - if(!valueOrderListOrder["IsFree"].isNull()) - orderListObject.isFree = valueOrderListOrder["IsFree"].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 deleted file mode 100644 index 6c0a6397c..000000000 --- a/cas/src/model/DescribeOrderMaterialRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeOrderMaterialRequest; - -DescribeOrderMaterialRequest::DescribeOrderMaterialRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeOrderMaterial") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeOrderMaterialRequest::~DescribeOrderMaterialRequest() -{} - -long DescribeOrderMaterialRequest::getOrderId()const -{ - return orderId_; -} - -void DescribeOrderMaterialRequest::setOrderId(long orderId) -{ - orderId_ = orderId; - setParameter("OrderId", std::to_string(orderId)); -} - -std::string DescribeOrderMaterialRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeOrderMaterialRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeOrderMaterialRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeOrderMaterialRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index 9bdc9e152..000000000 --- a/cas/src/model/DescribeOrderMaterialResult.cc +++ /dev/null @@ -1,212 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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/DescribeOrderRefundRecordRequest.cc b/cas/src/model/DescribeOrderRefundRecordRequest.cc deleted file mode 100644 index ec69761be..000000000 --- a/cas/src/model/DescribeOrderRefundRecordRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeOrderRefundRecordRequest; - -DescribeOrderRefundRecordRequest::DescribeOrderRefundRecordRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeOrderRefundRecord") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeOrderRefundRecordRequest::~DescribeOrderRefundRecordRequest() -{} - -std::string DescribeOrderRefundRecordRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeOrderRefundRecordRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeOrderRefundRecordRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeOrderRefundRecordRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - diff --git a/cas/src/model/DescribeOrderRefundRecordResult.cc b/cas/src/model/DescribeOrderRefundRecordResult.cc deleted file mode 100644 index e2244b15f..000000000 --- a/cas/src/model/DescribeOrderRefundRecordResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cas; -using namespace AlibabaCloud::Cas::Model; - -DescribeOrderRefundRecordResult::DescribeOrderRefundRecordResult() : - ServiceResult() -{} - -DescribeOrderRefundRecordResult::DescribeOrderRefundRecordResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeOrderRefundRecordResult::~DescribeOrderRefundRecordResult() -{} - -void DescribeOrderRefundRecordResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["OrderRefundList"].isNull()) - orderRefundList_ = value["OrderRefundList"].asString(); - -} - -std::string DescribeOrderRefundRecordResult::getOrderRefundList()const -{ - return orderRefundList_; -} - diff --git a/cas/src/model/DescribePackageStateRequest.cc b/cas/src/model/DescribePackageStateRequest.cc new file mode 100644 index 000000000..bf704de4c --- /dev/null +++ b/cas/src/model/DescribePackageStateRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::DescribePackageStateRequest; + +DescribePackageStateRequest::DescribePackageStateRequest() + : RpcServiceRequest("cas", "2020-04-07", "DescribePackageState") { + setMethod(HttpRequest::Method::Post); +} + +DescribePackageStateRequest::~DescribePackageStateRequest() {} + +std::string DescribePackageStateRequest::getSourceIp() const { + return sourceIp_; +} + +void DescribePackageStateRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string DescribePackageStateRequest::getProductCode() const { + return productCode_; +} + +void DescribePackageStateRequest::setProductCode(const std::string &productCode) { + productCode_ = productCode; + setParameter(std::string("ProductCode"), productCode); +} + diff --git a/cas/src/model/DescribeSignatureCapacityResult.cc b/cas/src/model/DescribePackageStateResult.cc similarity index 53% rename from cas/src/model/DescribeSignatureCapacityResult.cc rename to cas/src/model/DescribePackageStateResult.cc index b50f65487..6472e7792 100644 --- a/cas/src/model/DescribeSignatureCapacityResult.cc +++ b/cas/src/model/DescribePackageStateResult.cc @@ -14,52 +14,59 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cas; using namespace AlibabaCloud::Cas::Model; -DescribeSignatureCapacityResult::DescribeSignatureCapacityResult() : +DescribePackageStateResult::DescribePackageStateResult() : ServiceResult() {} -DescribeSignatureCapacityResult::DescribeSignatureCapacityResult(const std::string &payload) : +DescribePackageStateResult::DescribePackageStateResult(const std::string &payload) : ServiceResult() { parse(payload); } -DescribeSignatureCapacityResult::~DescribeSignatureCapacityResult() +DescribePackageStateResult::~DescribePackageStateResult() {} -void DescribeSignatureCapacityResult::parse(const std::string &payload) +void DescribePackageStateResult::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["IssuedCount"].isNull()) + issuedCount_ = std::stol(value["IssuedCount"].asString()); if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); + totalCount_ = std::stol(value["TotalCount"].asString()); + if(!value["ProductCode"].isNull()) + productCode_ = value["ProductCode"].asString(); + if(!value["UsedCount"].isNull()) + usedCount_ = std::stol(value["UsedCount"].asString()); } -int DescribeSignatureCapacityResult::getTotalCount()const +long DescribePackageStateResult::getTotalCount()const { return totalCount_; } -int DescribeSignatureCapacityResult::getRemainCount()const +std::string DescribePackageStateResult::getProductCode()const { - return remainCount_; + return productCode_; } -int DescribeSignatureCapacityResult::getUsedCount()const +long DescribePackageStateResult::getUsedCount()const { return usedCount_; } +long DescribePackageStateResult::getIssuedCount()const +{ + return issuedCount_; +} + diff --git a/cas/src/model/DescribeRenewOrderRequest.cc b/cas/src/model/DescribeRenewOrderRequest.cc deleted file mode 100644 index 01455dbc0..000000000 --- a/cas/src/model/DescribeRenewOrderRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeRenewOrderRequest; - -DescribeRenewOrderRequest::DescribeRenewOrderRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeRenewOrder") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeRenewOrderRequest::~DescribeRenewOrderRequest() -{} - -long DescribeRenewOrderRequest::getOrderId()const -{ - return orderId_; -} - -void DescribeRenewOrderRequest::setOrderId(long orderId) -{ - orderId_ = orderId; - setParameter("OrderId", std::to_string(orderId)); -} - -std::string DescribeRenewOrderRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeRenewOrderRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeRenewOrderRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeRenewOrderRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - diff --git a/cas/src/model/DescribeSignatureCapacityRequest.cc b/cas/src/model/DescribeSignatureCapacityRequest.cc deleted file mode 100644 index c17d28069..000000000 --- a/cas/src/model/DescribeSignatureCapacityRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeSignatureCapacityRequest; - -DescribeSignatureCapacityRequest::DescribeSignatureCapacityRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeSignatureCapacity") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeSignatureCapacityRequest::~DescribeSignatureCapacityRequest() -{} - -std::string DescribeSignatureCapacityRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeSignatureCapacityRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -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/DescribeSignatureProductStateRequest.cc b/cas/src/model/DescribeSignatureProductStateRequest.cc deleted file mode 100644 index 3aa8ba6e7..000000000 --- a/cas/src/model/DescribeSignatureProductStateRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeSignatureProductStateRequest; - -DescribeSignatureProductStateRequest::DescribeSignatureProductStateRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeSignatureProductState") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeSignatureProductStateRequest::~DescribeSignatureProductStateRequest() -{} - -std::string DescribeSignatureProductStateRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeSignatureProductStateRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeSignatureProductStateRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeSignatureProductStateRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - diff --git a/cas/src/model/DescribeSignatureProductStateResult.cc b/cas/src/model/DescribeSignatureProductStateResult.cc deleted file mode 100644 index 72156ef49..000000000 --- a/cas/src/model/DescribeSignatureProductStateResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cas; -using namespace AlibabaCloud::Cas::Model; - -DescribeSignatureProductStateResult::DescribeSignatureProductStateResult() : - ServiceResult() -{} - -DescribeSignatureProductStateResult::DescribeSignatureProductStateResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeSignatureProductStateResult::~DescribeSignatureProductStateResult() -{} - -void DescribeSignatureProductStateResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["State"].isNull()) - state_ = value["State"].asString(); - -} - -std::string DescribeSignatureProductStateResult::getState()const -{ - return state_; -} - diff --git a/cas/src/model/DescribeSignatureStatisticsRequest.cc b/cas/src/model/DescribeSignatureStatisticsRequest.cc deleted file mode 100644 index fed2f0448..000000000 --- a/cas/src/model/DescribeSignatureStatisticsRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeSignatureStatisticsRequest; - -DescribeSignatureStatisticsRequest::DescribeSignatureStatisticsRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeSignatureStatistics") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeSignatureStatisticsRequest::~DescribeSignatureStatisticsRequest() -{} - -std::string DescribeSignatureStatisticsRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeSignatureStatisticsRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -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 deleted file mode 100644 index c6072fcd0..000000000 --- a/cas/src/model/DescribeSignatureStatisticsResult.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 allDayDataListNode = value["DayDataList"]["dayData"]; - for (auto valueDayDataListdayData : allDayDataListNode) - { - DayData dayDataListObject; - if(!valueDayDataListdayData["Date"].isNull()) - dayDataListObject.date = valueDayDataListdayData["Date"].asString(); - if(!valueDayDataListdayData["UnSignCount"].isNull()) - dayDataListObject.unSignCount = std::stoi(valueDayDataListdayData["UnSignCount"].asString()); - if(!valueDayDataListdayData["SignCount"].isNull()) - dayDataListObject.signCount = std::stoi(valueDayDataListdayData["SignCount"].asString()); - if(!valueDayDataListdayData["FailCount"].isNull()) - dayDataListObject.failCount = std::stoi(valueDayDataListdayData["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 deleted file mode 100644 index 31b1d7f15..000000000 --- a/cas/src/model/DescribeSignatureTradeDetailRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeSignatureTradeDetailRequest; - -DescribeSignatureTradeDetailRequest::DescribeSignatureTradeDetailRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeSignatureTradeDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeSignatureTradeDetailRequest::~DescribeSignatureTradeDetailRequest() -{} - -std::string DescribeSignatureTradeDetailRequest::getTransactionId()const -{ - return transactionId_; -} - -void DescribeSignatureTradeDetailRequest::setTransactionId(const std::string& transactionId) -{ - transactionId_ = transactionId; - setParameter("TransactionId", transactionId); -} - -std::string DescribeSignatureTradeDetailRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeSignatureTradeDetailRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -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); -} - diff --git a/cas/src/model/DescribeSignatureTradeDetailResult.cc b/cas/src/model/DescribeSignatureTradeDetailResult.cc deleted file mode 100644 index 6f0265198..000000000 --- a/cas/src/model/DescribeSignatureTradeDetailResult.cc +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 deleted file mode 100644 index 7ad310daa..000000000 --- a/cas/src/model/DescribeSignatureTradeListRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeSignatureTradeListRequest; - -DescribeSignatureTradeListRequest::DescribeSignatureTradeListRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeSignatureTradeList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeSignatureTradeListRequest::~DescribeSignatureTradeListRequest() -{} - -std::string DescribeSignatureTradeListRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeSignatureTradeListRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeSignatureTradeListRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeSignatureTradeListRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -std::string DescribeSignatureTradeListRequest::getSearchType()const -{ - return searchType_; -} - -void DescribeSignatureTradeListRequest::setSearchType(const std::string& searchType) -{ - searchType_ = searchType; - setParameter("SearchType", searchType); -} - -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); -} - -int DescribeSignatureTradeListRequest::getShowSize()const -{ - return showSize_; -} - -void DescribeSignatureTradeListRequest::setShowSize(int showSize) -{ - showSize_ = showSize; - setParameter("ShowSize", std::to_string(showSize)); -} - -int DescribeSignatureTradeListRequest::getCurrentPage()const -{ - return currentPage_; -} - -void DescribeSignatureTradeListRequest::setCurrentPage(int currentPage) -{ - currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); -} - diff --git a/cas/src/model/DescribeSignatureTradeListResult.cc b/cas/src/model/DescribeSignatureTradeListResult.cc deleted file mode 100644 index d551c6514..000000000 --- a/cas/src/model/DescribeSignatureTradeListResult.cc +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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 allTradeListNode = value["TradeList"]["trade"]; - for (auto valueTradeListtrade : allTradeListNode) - { - Trade tradeListObject; - if(!valueTradeListtrade["Id"].isNull()) - tradeListObject.id = std::stol(valueTradeListtrade["Id"].asString()); - if(!valueTradeListtrade["DocTitle"].isNull()) - tradeListObject.docTitle = valueTradeListtrade["DocTitle"].asString(); - if(!valueTradeListtrade["TransactionId"].isNull()) - tradeListObject.transactionId = valueTradeListtrade["TransactionId"].asString(); - if(!valueTradeListtrade["PeopleName"].isNull()) - tradeListObject.peopleName = valueTradeListtrade["PeopleName"].asString(); - if(!valueTradeListtrade["CreateTime"].isNull()) - tradeListObject.createTime = std::stol(valueTradeListtrade["CreateTime"].asString()); - if(!valueTradeListtrade["SignStatus"].isNull()) - tradeListObject.signStatus = std::stoi(valueTradeListtrade["SignStatus"].asString()); - if(!valueTradeListtrade["SignMode"].isNull()) - tradeListObject.signMode = std::stoi(valueTradeListtrade["SignMode"].asString()); - if(!valueTradeListtrade["DocId"].isNull()) - tradeListObject.docId = valueTradeListtrade["DocId"].asString(); - if(!valueTradeListtrade["PeopleId"].isNull()) - tradeListObject.peopleId = valueTradeListtrade["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 deleted file mode 100644 index 7d9cc9632..000000000 --- a/cas/src/model/DescribeStsAuthStatusRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::DescribeStsAuthStatusRequest; - -DescribeStsAuthStatusRequest::DescribeStsAuthStatusRequest() : - RpcServiceRequest("cas", "2018-08-13", "DescribeStsAuthStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeStsAuthStatusRequest::~DescribeStsAuthStatusRequest() -{} - -std::string DescribeStsAuthStatusRequest::getCloudProduct()const -{ - return cloudProduct_; -} - -void DescribeStsAuthStatusRequest::setCloudProduct(const std::string& cloudProduct) -{ - cloudProduct_ = cloudProduct; - setParameter("CloudProduct", cloudProduct); -} - -std::string DescribeStsAuthStatusRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeStsAuthStatusRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeStsAuthStatusRequest::getSourceIp()const -{ - return sourceIp_; -} - -void DescribeStsAuthStatusRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -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 deleted file mode 100644 index 46847b767..000000000 --- a/cas/src/model/DescribeStsAuthStatusResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#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()); - -} - diff --git a/cas/src/model/EncryptRequest.cc b/cas/src/model/EncryptRequest.cc new file mode 100644 index 000000000..4be65bdf8 --- /dev/null +++ b/cas/src/model/EncryptRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::EncryptRequest; + +EncryptRequest::EncryptRequest() + : RpcServiceRequest("cas", "2020-04-07", "Encrypt") { + setMethod(HttpRequest::Method::Post); +} + +EncryptRequest::~EncryptRequest() {} + +std::string EncryptRequest::getMessageType() const { + return messageType_; +} + +void EncryptRequest::setMessageType(const std::string &messageType) { + messageType_ = messageType; + setParameter(std::string("MessageType"), messageType); +} + +std::string EncryptRequest::getPlaintext() const { + return plaintext_; +} + +void EncryptRequest::setPlaintext(const std::string &plaintext) { + plaintext_ = plaintext; + setParameter(std::string("Plaintext"), plaintext); +} + +std::string EncryptRequest::getSourceIp() const { + return sourceIp_; +} + +void EncryptRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string EncryptRequest::getCertIdentifier() const { + return certIdentifier_; +} + +void EncryptRequest::setCertIdentifier(const std::string &certIdentifier) { + certIdentifier_ = certIdentifier; + setParameter(std::string("CertIdentifier"), certIdentifier); +} + +std::string EncryptRequest::getAlgorithm() const { + return algorithm_; +} + +void EncryptRequest::setAlgorithm(const std::string &algorithm) { + algorithm_ = algorithm; + setParameter(std::string("Algorithm"), algorithm); +} + diff --git a/cas/src/model/CreateSignatureDocumentResult.cc b/cas/src/model/EncryptResult.cc similarity index 61% rename from cas/src/model/CreateSignatureDocumentResult.cc rename to cas/src/model/EncryptResult.cc index 8395b89ac..ffe9c40ed 100644 --- a/cas/src/model/CreateSignatureDocumentResult.cc +++ b/cas/src/model/EncryptResult.cc @@ -14,38 +14,45 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cas; using namespace AlibabaCloud::Cas::Model; -CreateSignatureDocumentResult::CreateSignatureDocumentResult() : +EncryptResult::EncryptResult() : ServiceResult() {} -CreateSignatureDocumentResult::CreateSignatureDocumentResult(const std::string &payload) : +EncryptResult::EncryptResult(const std::string &payload) : ServiceResult() { parse(payload); } -CreateSignatureDocumentResult::~CreateSignatureDocumentResult() +EncryptResult::~EncryptResult() {} -void CreateSignatureDocumentResult::parse(const std::string &payload) +void EncryptResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["DocId"].isNull()) - docId_ = value["DocId"].asString(); + if(!value["CertIdentifier"].isNull()) + certIdentifier_ = value["CertIdentifier"].asString(); + if(!value["CiphertextBlob"].isNull()) + ciphertextBlob_ = value["CiphertextBlob"].asString(); } -std::string CreateSignatureDocumentResult::getDocId()const +std::string EncryptResult::getCiphertextBlob()const { - return docId_; + return ciphertextBlob_; +} + +std::string EncryptResult::getCertIdentifier()const +{ + return certIdentifier_; } diff --git a/cas/src/model/ListCertRequest.cc b/cas/src/model/ListCertRequest.cc new file mode 100644 index 000000000..2c69f6983 --- /dev/null +++ b/cas/src/model/ListCertRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::ListCertRequest; + +ListCertRequest::ListCertRequest() + : RpcServiceRequest("cas", "2020-04-07", "ListCert") { + setMethod(HttpRequest::Method::Post); +} + +ListCertRequest::~ListCertRequest() {} + +long ListCertRequest::getShowSize() const { + return showSize_; +} + +void ListCertRequest::setShowSize(long showSize) { + showSize_ = showSize; + setParameter(std::string("ShowSize"), std::to_string(showSize)); +} + +long ListCertRequest::getCurrentPage() const { + return currentPage_; +} + +void ListCertRequest::setCurrentPage(long currentPage) { + currentPage_ = currentPage; + setParameter(std::string("CurrentPage"), std::to_string(currentPage)); +} + +std::string ListCertRequest::getSourceIp() const { + return sourceIp_; +} + +void ListCertRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +long ListCertRequest::getWarehouseId() const { + return warehouseId_; +} + +void ListCertRequest::setWarehouseId(long warehouseId) { + warehouseId_ = warehouseId; + setParameter(std::string("WarehouseId"), std::to_string(warehouseId)); +} + +std::string ListCertRequest::getKeyWord() const { + return keyWord_; +} + +void ListCertRequest::setKeyWord(const std::string &keyWord) { + keyWord_ = keyWord; + setParameter(std::string("KeyWord"), keyWord); +} + +std::string ListCertRequest::getStatus() const { + return status_; +} + +void ListCertRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); +} + diff --git a/cas/src/model/ListCertResult.cc b/cas/src/model/ListCertResult.cc new file mode 100644 index 000000000..beac6bd90 --- /dev/null +++ b/cas/src/model/ListCertResult.cc @@ -0,0 +1,98 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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; + +ListCertResult::ListCertResult() : + ServiceResult() +{} + +ListCertResult::ListCertResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCertResult::~ListCertResult() +{} + +void ListCertResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCertListNode = value["CertList"]["Cert"]; + for (auto valueCertListCert : allCertListNode) + { + Cert certListObject; + if(!valueCertListCert["WhId"].isNull()) + certListObject.whId = std::stol(valueCertListCert["WhId"].asString()); + if(!valueCertListCert["Identifier"].isNull()) + certListObject.identifier = valueCertListCert["Identifier"].asString(); + if(!valueCertListCert["WhInstanceId"].isNull()) + certListObject.whInstanceId = valueCertListCert["WhInstanceId"].asString(); + if(!valueCertListCert["Status"].isNull()) + certListObject.status = valueCertListCert["Status"].asString(); + if(!valueCertListCert["SourceType"].isNull()) + certListObject.sourceType = valueCertListCert["SourceType"].asString(); + if(!valueCertListCert["CommonName"].isNull()) + certListObject.commonName = valueCertListCert["CommonName"].asString(); + if(!valueCertListCert["BeforeDate"].isNull()) + certListObject.beforeDate = std::stol(valueCertListCert["BeforeDate"].asString()); + if(!valueCertListCert["Issuer"].isNull()) + certListObject.issuer = valueCertListCert["Issuer"].asString(); + if(!valueCertListCert["AfterDate"].isNull()) + certListObject.afterDate = std::stol(valueCertListCert["AfterDate"].asString()); + if(!valueCertListCert["ExistPrivateKey"].isNull()) + certListObject.existPrivateKey = valueCertListCert["ExistPrivateKey"].asString() == "true"; + if(!valueCertListCert["Sans"].isNull()) + certListObject.sans = valueCertListCert["Sans"].asString(); + certList_.push_back(certListObject); + } + if(!value["ShowSize"].isNull()) + showSize_ = std::stol(value["ShowSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stol(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +std::vector ListCertResult::getCertList()const +{ + return certList_; +} + +long ListCertResult::getTotalCount()const +{ + return totalCount_; +} + +long ListCertResult::getCurrentPage()const +{ + return currentPage_; +} + +long ListCertResult::getShowSize()const +{ + return showSize_; +} + diff --git a/cas/src/model/ListCertWarehouseRequest.cc b/cas/src/model/ListCertWarehouseRequest.cc new file mode 100644 index 000000000..8304faddf --- /dev/null +++ b/cas/src/model/ListCertWarehouseRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::ListCertWarehouseRequest; + +ListCertWarehouseRequest::ListCertWarehouseRequest() + : RpcServiceRequest("cas", "2020-04-07", "ListCertWarehouse") { + setMethod(HttpRequest::Method::Post); +} + +ListCertWarehouseRequest::~ListCertWarehouseRequest() {} + +long ListCertWarehouseRequest::getShowSize() const { + return showSize_; +} + +void ListCertWarehouseRequest::setShowSize(long showSize) { + showSize_ = showSize; + setParameter(std::string("ShowSize"), std::to_string(showSize)); +} + +long ListCertWarehouseRequest::getCurrentPage() const { + return currentPage_; +} + +void ListCertWarehouseRequest::setCurrentPage(long currentPage) { + currentPage_ = currentPage; + setParameter(std::string("CurrentPage"), std::to_string(currentPage)); +} + +std::string ListCertWarehouseRequest::getType() const { + return type_; +} + +void ListCertWarehouseRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); +} + +std::string ListCertWarehouseRequest::getInstanceId() const { + return instanceId_; +} + +void ListCertWarehouseRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListCertWarehouseRequest::getSourceIp() const { + return sourceIp_; +} + +void ListCertWarehouseRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string ListCertWarehouseRequest::getName() const { + return name_; +} + +void ListCertWarehouseRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/cas/src/model/ListCertWarehouseResult.cc b/cas/src/model/ListCertWarehouseResult.cc new file mode 100644 index 000000000..f85248a3b --- /dev/null +++ b/cas/src/model/ListCertWarehouseResult.cc @@ -0,0 +1,92 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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; + +ListCertWarehouseResult::ListCertWarehouseResult() : + ServiceResult() +{} + +ListCertWarehouseResult::ListCertWarehouseResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCertWarehouseResult::~ListCertWarehouseResult() +{} + +void ListCertWarehouseResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCertWarehouseListNode = value["CertWarehouseList"]["CertWarehouse"]; + for (auto valueCertWarehouseListCertWarehouse : allCertWarehouseListNode) + { + CertWarehouse certWarehouseListObject; + if(!valueCertWarehouseListCertWarehouse["WhId"].isNull()) + certWarehouseListObject.whId = std::stol(valueCertWarehouseListCertWarehouse["WhId"].asString()); + if(!valueCertWarehouseListCertWarehouse["InstanceId"].isNull()) + certWarehouseListObject.instanceId = valueCertWarehouseListCertWarehouse["InstanceId"].asString(); + if(!valueCertWarehouseListCertWarehouse["Name"].isNull()) + certWarehouseListObject.name = valueCertWarehouseListCertWarehouse["Name"].asString(); + if(!valueCertWarehouseListCertWarehouse["PcaInstanceId"].isNull()) + certWarehouseListObject.pcaInstanceId = valueCertWarehouseListCertWarehouse["PcaInstanceId"].asString(); + if(!valueCertWarehouseListCertWarehouse["Qps"].isNull()) + certWarehouseListObject.qps = std::stol(valueCertWarehouseListCertWarehouse["Qps"].asString()); + if(!valueCertWarehouseListCertWarehouse["Type"].isNull()) + certWarehouseListObject.type = valueCertWarehouseListCertWarehouse["Type"].asString(); + if(!valueCertWarehouseListCertWarehouse["EndTime"].isNull()) + certWarehouseListObject.endTime = std::stol(valueCertWarehouseListCertWarehouse["EndTime"].asString()); + if(!valueCertWarehouseListCertWarehouse["IsExpired"].isNull()) + certWarehouseListObject.isExpired = valueCertWarehouseListCertWarehouse["IsExpired"].asString() == "true"; + certWarehouseList_.push_back(certWarehouseListObject); + } + if(!value["ShowSize"].isNull()) + showSize_ = std::stol(value["ShowSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stol(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long ListCertWarehouseResult::getTotalCount()const +{ + return totalCount_; +} + +long ListCertWarehouseResult::getCurrentPage()const +{ + return currentPage_; +} + +long ListCertWarehouseResult::getShowSize()const +{ + return showSize_; +} + +std::vector ListCertWarehouseResult::getCertWarehouseList()const +{ + return certWarehouseList_; +} + diff --git a/cas/src/model/ListTagKeysRequest.cc b/cas/src/model/ListTagKeysRequest.cc deleted file mode 100644 index 83c51f596..000000000 --- a/cas/src/model/ListTagKeysRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::ListTagKeysRequest; - -ListTagKeysRequest::ListTagKeysRequest() : - RpcServiceRequest("cas", "2018-08-13", "ListTagKeys") -{ - setMethod(HttpRequest::Method::Post); -} - -ListTagKeysRequest::~ListTagKeysRequest() -{} - -int ListTagKeysRequest::getCurrentPage()const -{ - return currentPage_; -} - -void ListTagKeysRequest::setCurrentPage(int currentPage) -{ - currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); -} - -std::string ListTagKeysRequest::getResourceType()const -{ - return resourceType_; -} - -void ListTagKeysRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); -} - -std::string ListTagKeysRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void ListTagKeysRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string ListTagKeysRequest::getSourceIp()const -{ - return sourceIp_; -} - -void ListTagKeysRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -std::string ListTagKeysRequest::getRegionId()const -{ - return regionId_; -} - -void ListTagKeysRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int ListTagKeysRequest::getPageSize()const -{ - return pageSize_; -} - -void ListTagKeysRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - diff --git a/cas/src/model/ListTagKeysResult.cc b/cas/src/model/ListTagKeysResult.cc deleted file mode 100644 index aad9e867d..000000000 --- a/cas/src/model/ListTagKeysResult.cc +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cas; -using namespace AlibabaCloud::Cas::Model; - -ListTagKeysResult::ListTagKeysResult() : - ServiceResult() -{} - -ListTagKeysResult::ListTagKeysResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListTagKeysResult::~ListTagKeysResult() -{} - -void ListTagKeysResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allTagKeysNode = value["TagKeys"]["TagKey"]; - for (auto valueTagKeysTagKey : allTagKeysNode) - { - TagKey tagKeysObject; - if(!valueTagKeysTagKey["TagKey"].isNull()) - tagKeysObject.tagKey = valueTagKeysTagKey["TagKey"].asString(); - if(!valueTagKeysTagKey["TagCount"].isNull()) - tagKeysObject.tagCount = std::stoi(valueTagKeysTagKey["TagCount"].asString()); - tagKeys_.push_back(tagKeysObject); - } - if(!value["CurrentPage"].isNull()) - currentPage_ = std::stoi(value["CurrentPage"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int ListTagKeysResult::getTotalCount()const -{ - return totalCount_; -} - -int ListTagKeysResult::getPageSize()const -{ - return pageSize_; -} - -int ListTagKeysResult::getCurrentPage()const -{ - return currentPage_; -} - -std::vector ListTagKeysResult::getTagKeys()const -{ - return tagKeys_; -} - diff --git a/cas/src/model/ListTagResourcesRequest.cc b/cas/src/model/ListTagResourcesRequest.cc deleted file mode 100644 index 1cc98d052..000000000 --- a/cas/src/model/ListTagResourcesRequest.cc +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::ListTagResourcesRequest; - -ListTagResourcesRequest::ListTagResourcesRequest() : - RpcServiceRequest("cas", "2018-08-13", "ListTagResources") -{ - setMethod(HttpRequest::Method::Post); -} - -ListTagResourcesRequest::~ListTagResourcesRequest() -{} - -std::string ListTagResourcesRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void ListTagResourcesRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string ListTagResourcesRequest::getSourceIp()const -{ - return sourceIp_; -} - -void ListTagResourcesRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -std::string ListTagResourcesRequest::getRegionId()const -{ - return regionId_; -} - -void ListTagResourcesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string ListTagResourcesRequest::getNextToken()const -{ - return nextToken_; -} - -void ListTagResourcesRequest::setNextToken(const std::string& nextToken) -{ - nextToken_ = nextToken; - setParameter("NextToken", nextToken); -} - -std::vector ListTagResourcesRequest::getTag()const -{ - return tag_; -} - -void ListTagResourcesRequest::setTag(const std::vector& tag) -{ - tag_ = tag; - for(int dep1 = 0; dep1!= tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = "Tag." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Value", tagObj.value); - setParameter(tagObjStr + ".Key", tagObj.key); - } -} - -std::vector ListTagResourcesRequest::getResourceId()const -{ - return resourceId_; -} - -void ListTagResourcesRequest::setResourceId(const std::vector& resourceId) -{ - resourceId_ = resourceId; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } -} - -std::string ListTagResourcesRequest::getResourceType()const -{ - return resourceType_; -} - -void ListTagResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); -} - diff --git a/cas/src/model/ListTagResourcesResult.cc b/cas/src/model/ListTagResourcesResult.cc deleted file mode 100644 index 310b67e04..000000000 --- a/cas/src/model/ListTagResourcesResult.cc +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cas; -using namespace AlibabaCloud::Cas::Model; - -ListTagResourcesResult::ListTagResourcesResult() : - ServiceResult() -{} - -ListTagResourcesResult::ListTagResourcesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListTagResourcesResult::~ListTagResourcesResult() -{} - -void ListTagResourcesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allTagResourcesNode = value["TagResources"]["TagResource"]; - for (auto valueTagResourcesTagResource : allTagResourcesNode) - { - TagResource tagResourcesObject; - if(!valueTagResourcesTagResource["ResourceType"].isNull()) - tagResourcesObject.resourceType = valueTagResourcesTagResource["ResourceType"].asString(); - if(!valueTagResourcesTagResource["ResourceId"].isNull()) - tagResourcesObject.resourceId = valueTagResourcesTagResource["ResourceId"].asString(); - if(!valueTagResourcesTagResource["TagKey"].isNull()) - tagResourcesObject.tagKey = valueTagResourcesTagResource["TagKey"].asString(); - if(!valueTagResourcesTagResource["TagValue"].isNull()) - tagResourcesObject.tagValue = valueTagResourcesTagResource["TagValue"].asString(); - tagResources_.push_back(tagResourcesObject); - } - if(!value["NextToken"].isNull()) - nextToken_ = value["NextToken"].asString(); - -} - -std::string ListTagResourcesResult::getNextToken()const -{ - return nextToken_; -} - -std::vector ListTagResourcesResult::getTagResources()const -{ - return tagResources_; -} - diff --git a/cas/src/model/ListUserCertificateOrderRequest.cc b/cas/src/model/ListUserCertificateOrderRequest.cc new file mode 100644 index 000000000..094837b2d --- /dev/null +++ b/cas/src/model/ListUserCertificateOrderRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::ListUserCertificateOrderRequest; + +ListUserCertificateOrderRequest::ListUserCertificateOrderRequest() + : RpcServiceRequest("cas", "2020-04-07", "ListUserCertificateOrder") { + setMethod(HttpRequest::Method::Post); +} + +ListUserCertificateOrderRequest::~ListUserCertificateOrderRequest() {} + +std::string ListUserCertificateOrderRequest::getSourceIp() const { + return sourceIp_; +} + +void ListUserCertificateOrderRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string ListUserCertificateOrderRequest::getKeyword() const { + return keyword_; +} + +void ListUserCertificateOrderRequest::setKeyword(const std::string &keyword) { + keyword_ = keyword; + setParameter(std::string("Keyword"), keyword); +} + +long ListUserCertificateOrderRequest::getShowSize() const { + return showSize_; +} + +void ListUserCertificateOrderRequest::setShowSize(long showSize) { + showSize_ = showSize; + setParameter(std::string("ShowSize"), std::to_string(showSize)); +} + +long ListUserCertificateOrderRequest::getCurrentPage() const { + return currentPage_; +} + +void ListUserCertificateOrderRequest::setCurrentPage(long currentPage) { + currentPage_ = currentPage; + setParameter(std::string("CurrentPage"), std::to_string(currentPage)); +} + +std::string ListUserCertificateOrderRequest::getStatus() const { + return status_; +} + +void ListUserCertificateOrderRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); +} + +std::string ListUserCertificateOrderRequest::getOrderType() const { + return orderType_; +} + +void ListUserCertificateOrderRequest::setOrderType(const std::string &orderType) { + orderType_ = orderType; + setParameter(std::string("OrderType"), orderType); +} + diff --git a/cas/src/model/ListUserCertificateOrderResult.cc b/cas/src/model/ListUserCertificateOrderResult.cc new file mode 100644 index 000000000..4a6452095 --- /dev/null +++ b/cas/src/model/ListUserCertificateOrderResult.cc @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cas; +using namespace AlibabaCloud::Cas::Model; + +ListUserCertificateOrderResult::ListUserCertificateOrderResult() : + ServiceResult() +{} + +ListUserCertificateOrderResult::ListUserCertificateOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListUserCertificateOrderResult::~ListUserCertificateOrderResult() +{} + +void ListUserCertificateOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCertificateOrderListNode = value["CertificateOrderList"]["CertificateOrderListItem"]; + for (auto valueCertificateOrderListCertificateOrderListItem : allCertificateOrderListNode) + { + CertificateOrderListItem certificateOrderListObject; + if(!valueCertificateOrderListCertificateOrderListItem["Algorithm"].isNull()) + certificateOrderListObject.algorithm = valueCertificateOrderListCertificateOrderListItem["Algorithm"].asString(); + if(!valueCertificateOrderListCertificateOrderListItem["AliyunOrderId"].isNull()) + certificateOrderListObject.aliyunOrderId = std::stol(valueCertificateOrderListCertificateOrderListItem["AliyunOrderId"].asString()); + if(!valueCertificateOrderListCertificateOrderListItem["BuyDate"].isNull()) + certificateOrderListObject.buyDate = std::stol(valueCertificateOrderListCertificateOrderListItem["BuyDate"].asString()); + if(!valueCertificateOrderListCertificateOrderListItem["CertEndTime"].isNull()) + certificateOrderListObject.certEndTime = std::stol(valueCertificateOrderListCertificateOrderListItem["CertEndTime"].asString()); + if(!valueCertificateOrderListCertificateOrderListItem["CertStartTime"].isNull()) + certificateOrderListObject.certStartTime = std::stol(valueCertificateOrderListCertificateOrderListItem["CertStartTime"].asString()); + if(!valueCertificateOrderListCertificateOrderListItem["CertType"].isNull()) + certificateOrderListObject.certType = valueCertificateOrderListCertificateOrderListItem["CertType"].asString(); + if(!valueCertificateOrderListCertificateOrderListItem["Domain"].isNull()) + certificateOrderListObject.domain = valueCertificateOrderListCertificateOrderListItem["Domain"].asString(); + if(!valueCertificateOrderListCertificateOrderListItem["DomainCount"].isNull()) + certificateOrderListObject.domainCount = std::stol(valueCertificateOrderListCertificateOrderListItem["DomainCount"].asString()); + if(!valueCertificateOrderListCertificateOrderListItem["DomainType"].isNull()) + certificateOrderListObject.domainType = valueCertificateOrderListCertificateOrderListItem["DomainType"].asString(); + if(!valueCertificateOrderListCertificateOrderListItem["InstanceId"].isNull()) + certificateOrderListObject.instanceId = valueCertificateOrderListCertificateOrderListItem["InstanceId"].asString(); + if(!valueCertificateOrderListCertificateOrderListItem["OrderId"].isNull()) + certificateOrderListObject.orderId = std::stol(valueCertificateOrderListCertificateOrderListItem["OrderId"].asString()); + if(!valueCertificateOrderListCertificateOrderListItem["PartnerOrderId"].isNull()) + certificateOrderListObject.partnerOrderId = valueCertificateOrderListCertificateOrderListItem["PartnerOrderId"].asString(); + if(!valueCertificateOrderListCertificateOrderListItem["ProductCode"].isNull()) + certificateOrderListObject.productCode = valueCertificateOrderListCertificateOrderListItem["ProductCode"].asString(); + if(!valueCertificateOrderListCertificateOrderListItem["ProductName"].isNull()) + certificateOrderListObject.productName = valueCertificateOrderListCertificateOrderListItem["ProductName"].asString(); + if(!valueCertificateOrderListCertificateOrderListItem["RootBrand"].isNull()) + certificateOrderListObject.rootBrand = valueCertificateOrderListCertificateOrderListItem["RootBrand"].asString(); + if(!valueCertificateOrderListCertificateOrderListItem["SourceType"].isNull()) + certificateOrderListObject.sourceType = valueCertificateOrderListCertificateOrderListItem["SourceType"].asString(); + if(!valueCertificateOrderListCertificateOrderListItem["Status"].isNull()) + certificateOrderListObject.status = valueCertificateOrderListCertificateOrderListItem["Status"].asString(); + if(!valueCertificateOrderListCertificateOrderListItem["TrusteeStatus"].isNull()) + certificateOrderListObject.trusteeStatus = valueCertificateOrderListCertificateOrderListItem["TrusteeStatus"].asString(); + if(!valueCertificateOrderListCertificateOrderListItem["WildDomainCount"].isNull()) + certificateOrderListObject.wildDomainCount = std::stol(valueCertificateOrderListCertificateOrderListItem["WildDomainCount"].asString()); + certificateOrderList_.push_back(certificateOrderListObject); + } + if(!value["ShowSize"].isNull()) + showSize_ = std::stol(value["ShowSize"].asString()); + if(!value["CurrentPage"].isNull()) + currentPage_ = std::stol(value["CurrentPage"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long ListUserCertificateOrderResult::getTotalCount()const +{ + return totalCount_; +} + +long ListUserCertificateOrderResult::getCurrentPage()const +{ + return currentPage_; +} + +long ListUserCertificateOrderResult::getShowSize()const +{ + return showSize_; +} + +std::vector ListUserCertificateOrderResult::getCertificateOrderList()const +{ + return certificateOrderList_; +} + diff --git a/cas/src/model/RenewCertificateOrderForPackageRequestRequest.cc b/cas/src/model/RenewCertificateOrderForPackageRequestRequest.cc new file mode 100644 index 000000000..34c04358b --- /dev/null +++ b/cas/src/model/RenewCertificateOrderForPackageRequestRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::RenewCertificateOrderForPackageRequestRequest; + +RenewCertificateOrderForPackageRequestRequest::RenewCertificateOrderForPackageRequestRequest() + : RpcServiceRequest("cas", "2020-04-07", "RenewCertificateOrderForPackageRequest") { + setMethod(HttpRequest::Method::Post); +} + +RenewCertificateOrderForPackageRequestRequest::~RenewCertificateOrderForPackageRequestRequest() {} + +std::string RenewCertificateOrderForPackageRequestRequest::getCsr() const { + return csr_; +} + +void RenewCertificateOrderForPackageRequestRequest::setCsr(const std::string &csr) { + csr_ = csr; + setParameter(std::string("Csr"), csr); +} + +long RenewCertificateOrderForPackageRequestRequest::getOrderId() const { + return orderId_; +} + +void RenewCertificateOrderForPackageRequestRequest::setOrderId(long orderId) { + orderId_ = orderId; + setParameter(std::string("OrderId"), std::to_string(orderId)); +} + +std::string RenewCertificateOrderForPackageRequestRequest::getSourceIp() const { + return sourceIp_; +} + +void RenewCertificateOrderForPackageRequestRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + diff --git a/cas/src/model/CreateSignaturePeopleCertificateResult.cc b/cas/src/model/RenewCertificateOrderForPackageRequestResult.cc similarity index 58% rename from cas/src/model/CreateSignaturePeopleCertificateResult.cc rename to cas/src/model/RenewCertificateOrderForPackageRequestResult.cc index b51753288..6c2f09105 100644 --- a/cas/src/model/CreateSignaturePeopleCertificateResult.cc +++ b/cas/src/model/RenewCertificateOrderForPackageRequestResult.cc @@ -14,38 +14,38 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cas; using namespace AlibabaCloud::Cas::Model; -CreateSignaturePeopleCertificateResult::CreateSignaturePeopleCertificateResult() : +RenewCertificateOrderForPackageRequestResult::RenewCertificateOrderForPackageRequestResult() : ServiceResult() {} -CreateSignaturePeopleCertificateResult::CreateSignaturePeopleCertificateResult(const std::string &payload) : +RenewCertificateOrderForPackageRequestResult::RenewCertificateOrderForPackageRequestResult(const std::string &payload) : ServiceResult() { parse(payload); } -CreateSignaturePeopleCertificateResult::~CreateSignaturePeopleCertificateResult() +RenewCertificateOrderForPackageRequestResult::~RenewCertificateOrderForPackageRequestResult() {} -void CreateSignaturePeopleCertificateResult::parse(const std::string &payload) +void RenewCertificateOrderForPackageRequestResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["PeopleId"].isNull()) - peopleId_ = value["PeopleId"].asString(); + if(!value["OrderId"].isNull()) + orderId_ = std::stol(value["OrderId"].asString()); } -std::string CreateSignaturePeopleCertificateResult::getPeopleId()const +long RenewCertificateOrderForPackageRequestResult::getOrderId()const { - return peopleId_; + return orderId_; } diff --git a/cas/src/model/RevokeWHClientCertificateRequest.cc b/cas/src/model/RevokeWHClientCertificateRequest.cc new file mode 100644 index 000000000..1ed3e1551 --- /dev/null +++ b/cas/src/model/RevokeWHClientCertificateRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::RevokeWHClientCertificateRequest; + +RevokeWHClientCertificateRequest::RevokeWHClientCertificateRequest() + : RpcServiceRequest("cas", "2020-04-07", "RevokeWHClientCertificate") { + setMethod(HttpRequest::Method::Post); +} + +RevokeWHClientCertificateRequest::~RevokeWHClientCertificateRequest() {} + +std::string RevokeWHClientCertificateRequest::getIdentifier() const { + return identifier_; +} + +void RevokeWHClientCertificateRequest::setIdentifier(const std::string &identifier) { + identifier_ = identifier; + setParameter(std::string("Identifier"), identifier); +} + +std::string RevokeWHClientCertificateRequest::getSourceIp() const { + return sourceIp_; +} + +void RevokeWHClientCertificateRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + diff --git a/cas/src/model/CreateCertificateResult.cc b/cas/src/model/RevokeWHClientCertificateResult.cc similarity index 71% rename from cas/src/model/CreateCertificateResult.cc rename to cas/src/model/RevokeWHClientCertificateResult.cc index 891d0f8f7..f3eda056d 100644 --- a/cas/src/model/CreateCertificateResult.cc +++ b/cas/src/model/RevokeWHClientCertificateResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cas; using namespace AlibabaCloud::Cas::Model; -CreateCertificateResult::CreateCertificateResult() : +RevokeWHClientCertificateResult::RevokeWHClientCertificateResult() : ServiceResult() {} -CreateCertificateResult::CreateCertificateResult(const std::string &payload) : +RevokeWHClientCertificateResult::RevokeWHClientCertificateResult(const std::string &payload) : ServiceResult() { parse(payload); } -CreateCertificateResult::~CreateCertificateResult() +RevokeWHClientCertificateResult::~RevokeWHClientCertificateResult() {} -void CreateCertificateResult::parse(const std::string &payload) +void RevokeWHClientCertificateResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/cas/src/model/SignRequest.cc b/cas/src/model/SignRequest.cc new file mode 100644 index 000000000..b55ade98d --- /dev/null +++ b/cas/src/model/SignRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::SignRequest; + +SignRequest::SignRequest() + : RpcServiceRequest("cas", "2020-04-07", "Sign") { + setMethod(HttpRequest::Method::Post); +} + +SignRequest::~SignRequest() {} + +std::string SignRequest::getMessageType() const { + return messageType_; +} + +void SignRequest::setMessageType(const std::string &messageType) { + messageType_ = messageType; + setParameter(std::string("MessageType"), messageType); +} + +std::string SignRequest::getSigningAlgorithm() const { + return signingAlgorithm_; +} + +void SignRequest::setSigningAlgorithm(const std::string &signingAlgorithm) { + signingAlgorithm_ = signingAlgorithm; + setParameter(std::string("SigningAlgorithm"), signingAlgorithm); +} + +std::string SignRequest::getMessage() const { + return message_; +} + +void SignRequest::setMessage(const std::string &message) { + message_ = message; + setParameter(std::string("Message"), message); +} + +std::string SignRequest::getSourceIp() const { + return sourceIp_; +} + +void SignRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string SignRequest::getCertIdentifier() const { + return certIdentifier_; +} + +void SignRequest::setCertIdentifier(const std::string &certIdentifier) { + certIdentifier_ = certIdentifier; + setParameter(std::string("CertIdentifier"), certIdentifier); +} + diff --git a/cas/src/model/CreateUnDeploymentResult.cc b/cas/src/model/SignResult.cc similarity index 72% rename from cas/src/model/CreateUnDeploymentResult.cc rename to cas/src/model/SignResult.cc index 2eb88dc54..3fe56ab05 100644 --- a/cas/src/model/CreateUnDeploymentResult.cc +++ b/cas/src/model/SignResult.cc @@ -14,31 +14,38 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cas; using namespace AlibabaCloud::Cas::Model; -CreateUnDeploymentResult::CreateUnDeploymentResult() : +SignResult::SignResult() : ServiceResult() {} -CreateUnDeploymentResult::CreateUnDeploymentResult(const std::string &payload) : +SignResult::SignResult(const std::string &payload) : ServiceResult() { parse(payload); } -CreateUnDeploymentResult::~CreateUnDeploymentResult() +SignResult::~SignResult() {} -void CreateUnDeploymentResult::parse(const std::string &payload) +void SignResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); + if(!value["Signature"].isNull()) + signature_ = value["Signature"].asString(); } +std::string SignResult::getSignature()const +{ + return signature_; +} + diff --git a/cas/src/model/TagResourcesRequest.cc b/cas/src/model/TagResourcesRequest.cc deleted file mode 100644 index 2109f21d4..000000000 --- a/cas/src/model/TagResourcesRequest.cc +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::TagResourcesRequest; - -TagResourcesRequest::TagResourcesRequest() : - RpcServiceRequest("cas", "2018-08-13", "TagResources") -{ - setMethod(HttpRequest::Method::Post); -} - -TagResourcesRequest::~TagResourcesRequest() -{} - -std::string TagResourcesRequest::getTagOwnerUid()const -{ - return tagOwnerUid_; -} - -void TagResourcesRequest::setTagOwnerUid(const std::string& tagOwnerUid) -{ - tagOwnerUid_ = tagOwnerUid; - setParameter("TagOwnerUid", tagOwnerUid); -} - -std::string TagResourcesRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void TagResourcesRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string TagResourcesRequest::getSourceIp()const -{ - return sourceIp_; -} - -void TagResourcesRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -std::string TagResourcesRequest::getRegionId()const -{ - return regionId_; -} - -void TagResourcesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string TagResourcesRequest::getScope()const -{ - return scope_; -} - -void TagResourcesRequest::setScope(const std::string& scope) -{ - scope_ = scope; - setParameter("Scope", scope); -} - -std::string TagResourcesRequest::getTagOwnerBid()const -{ - return tagOwnerBid_; -} - -void TagResourcesRequest::setTagOwnerBid(const std::string& tagOwnerBid) -{ - tagOwnerBid_ = tagOwnerBid; - setParameter("TagOwnerBid", tagOwnerBid); -} - -std::vector TagResourcesRequest::getTag()const -{ - return tag_; -} - -void TagResourcesRequest::setTag(const std::vector& tag) -{ - tag_ = tag; - for(int dep1 = 0; dep1!= tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = "Tag." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Value", tagObj.value); - setParameter(tagObjStr + ".Key", tagObj.key); - } -} - -std::vector TagResourcesRequest::getResourceId()const -{ - return resourceId_; -} - -void TagResourcesRequest::setResourceId(const std::vector& resourceId) -{ - resourceId_ = resourceId; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } -} - -std::string TagResourcesRequest::getResourceType()const -{ - return resourceType_; -} - -void TagResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); -} - diff --git a/cas/src/model/UntagResourcesRequest.cc b/cas/src/model/UntagResourcesRequest.cc deleted file mode 100644 index 10a15d9b9..000000000 --- a/cas/src/model/UntagResourcesRequest.cc +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cas::Model::UntagResourcesRequest; - -UntagResourcesRequest::UntagResourcesRequest() : - RpcServiceRequest("cas", "2018-08-13", "UntagResources") -{ - setMethod(HttpRequest::Method::Post); -} - -UntagResourcesRequest::~UntagResourcesRequest() -{} - -std::string UntagResourcesRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void UntagResourcesRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string UntagResourcesRequest::getSourceIp()const -{ - return sourceIp_; -} - -void UntagResourcesRequest::setSourceIp(const std::string& sourceIp) -{ - sourceIp_ = sourceIp; - setParameter("SourceIp", sourceIp); -} - -std::string UntagResourcesRequest::getRegionId()const -{ - return regionId_; -} - -void UntagResourcesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -bool UntagResourcesRequest::getAll()const -{ - return all_; -} - -void UntagResourcesRequest::setAll(bool all) -{ - all_ = all; - setParameter("All", all ? "true" : "false"); -} - -std::vector UntagResourcesRequest::getResourceId()const -{ - return resourceId_; -} - -void UntagResourcesRequest::setResourceId(const std::vector& resourceId) -{ - resourceId_ = resourceId; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } -} - -std::string UntagResourcesRequest::getResourceType()const -{ - return resourceType_; -} - -void UntagResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); -} - -std::vector UntagResourcesRequest::getTagKey()const -{ - return tagKey_; -} - -void UntagResourcesRequest::setTagKey(const std::vector& tagKey) -{ - tagKey_ = tagKey; - for(int dep1 = 0; dep1!= tagKey.size(); dep1++) { - setParameter("TagKey."+ std::to_string(dep1), tagKey.at(dep1)); - } -} - diff --git a/cas/src/model/UntagResourcesResult.cc b/cas/src/model/UntagResourcesResult.cc deleted file mode 100644 index cdb4b8596..000000000 --- a/cas/src/model/UntagResourcesResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cas; -using namespace AlibabaCloud::Cas::Model; - -UntagResourcesResult::UntagResourcesResult() : - ServiceResult() -{} - -UntagResourcesResult::UntagResourcesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UntagResourcesResult::~UntagResourcesResult() -{} - -void UntagResourcesResult::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/UploadPCACertRequest.cc b/cas/src/model/UploadPCACertRequest.cc new file mode 100644 index 000000000..59fd99f5f --- /dev/null +++ b/cas/src/model/UploadPCACertRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::UploadPCACertRequest; + +UploadPCACertRequest::UploadPCACertRequest() + : RpcServiceRequest("cas", "2020-04-07", "UploadPCACert") { + setMethod(HttpRequest::Method::Post); +} + +UploadPCACertRequest::~UploadPCACertRequest() {} + +std::string UploadPCACertRequest::getCert() const { + return cert_; +} + +void UploadPCACertRequest::setCert(const std::string &cert) { + cert_ = cert; + setParameter(std::string("Cert"), cert); +} + +std::string UploadPCACertRequest::getPrivateKey() const { + return privateKey_; +} + +void UploadPCACertRequest::setPrivateKey(const std::string &privateKey) { + privateKey_ = privateKey; + setParameter(std::string("PrivateKey"), privateKey); +} + +std::string UploadPCACertRequest::getSourceIp() const { + return sourceIp_; +} + +void UploadPCACertRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +long UploadPCACertRequest::getWarehouseId() const { + return warehouseId_; +} + +void UploadPCACertRequest::setWarehouseId(long warehouseId) { + warehouseId_ = warehouseId; + setParameter(std::string("WarehouseId"), std::to_string(warehouseId)); +} + +std::string UploadPCACertRequest::getName() const { + return name_; +} + +void UploadPCACertRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/cas/src/model/TagResourcesResult.cc b/cas/src/model/UploadPCACertResult.cc similarity index 76% rename from cas/src/model/TagResourcesResult.cc rename to cas/src/model/UploadPCACertResult.cc index 53aeae263..55cdd64b0 100644 --- a/cas/src/model/TagResourcesResult.cc +++ b/cas/src/model/UploadPCACertResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cas; using namespace AlibabaCloud::Cas::Model; -TagResourcesResult::TagResourcesResult() : +UploadPCACertResult::UploadPCACertResult() : ServiceResult() {} -TagResourcesResult::TagResourcesResult(const std::string &payload) : +UploadPCACertResult::UploadPCACertResult(const std::string &payload) : ServiceResult() { parse(payload); } -TagResourcesResult::~TagResourcesResult() +UploadPCACertResult::~UploadPCACertResult() {} -void TagResourcesResult::parse(const std::string &payload) +void UploadPCACertResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/cas/src/model/VerifyRequest.cc b/cas/src/model/VerifyRequest.cc new file mode 100644 index 000000000..6f82b6b35 --- /dev/null +++ b/cas/src/model/VerifyRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cas::Model::VerifyRequest; + +VerifyRequest::VerifyRequest() + : RpcServiceRequest("cas", "2020-04-07", "Verify") { + setMethod(HttpRequest::Method::Post); +} + +VerifyRequest::~VerifyRequest() {} + +std::string VerifyRequest::getMessageType() const { + return messageType_; +} + +void VerifyRequest::setMessageType(const std::string &messageType) { + messageType_ = messageType; + setParameter(std::string("MessageType"), messageType); +} + +std::string VerifyRequest::getSigningAlgorithm() const { + return signingAlgorithm_; +} + +void VerifyRequest::setSigningAlgorithm(const std::string &signingAlgorithm) { + signingAlgorithm_ = signingAlgorithm; + setParameter(std::string("SigningAlgorithm"), signingAlgorithm); +} + +std::string VerifyRequest::getMessage() const { + return message_; +} + +void VerifyRequest::setMessage(const std::string &message) { + message_ = message; + setParameter(std::string("Message"), message); +} + +std::string VerifyRequest::getSignatureValue() const { + return signatureValue_; +} + +void VerifyRequest::setSignatureValue(const std::string &signatureValue) { + signatureValue_ = signatureValue; + setParameter(std::string("SignatureValue"), signatureValue); +} + +std::string VerifyRequest::getSourceIp() const { + return sourceIp_; +} + +void VerifyRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string VerifyRequest::getCertIdentifier() const { + return certIdentifier_; +} + +void VerifyRequest::setCertIdentifier(const std::string &certIdentifier) { + certIdentifier_ = certIdentifier; + setParameter(std::string("CertIdentifier"), certIdentifier); +} + diff --git a/cas/src/model/CreateOrderRefundRecordResult.cc b/cas/src/model/VerifyResult.cc similarity index 69% rename from cas/src/model/CreateOrderRefundRecordResult.cc rename to cas/src/model/VerifyResult.cc index a52ff792c..907242fc2 100644 --- a/cas/src/model/CreateOrderRefundRecordResult.cc +++ b/cas/src/model/VerifyResult.cc @@ -14,31 +14,38 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Cas; using namespace AlibabaCloud::Cas::Model; -CreateOrderRefundRecordResult::CreateOrderRefundRecordResult() : +VerifyResult::VerifyResult() : ServiceResult() {} -CreateOrderRefundRecordResult::CreateOrderRefundRecordResult(const std::string &payload) : +VerifyResult::VerifyResult(const std::string &payload) : ServiceResult() { parse(payload); } -CreateOrderRefundRecordResult::~CreateOrderRefundRecordResult() +VerifyResult::~VerifyResult() {} -void CreateOrderRefundRecordResult::parse(const std::string &payload) +void VerifyResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); + if(!value["SignatureValid"].isNull()) + signatureValid_ = value["SignatureValid"].asString() == "true"; } +bool VerifyResult::getSignatureValid()const +{ + return signatureValid_; +} +