From ba89b8f5b6ba7d55f9a03ba410d55d6bbdd3a758 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 5 Nov 2021 09:18:11 +0000 Subject: [PATCH] Add SetDcdnDomainSMCertificate. --- CHANGELOG | 3 + VERSION | 2 +- dcdn/CMakeLists.txt | 24 ++ dcdn/include/alibabacloud/dcdn/DcdnClient.h | 48 ++++ .../dcdn/model/DescribeDcdnAclFieldsRequest.h | 51 +++++ .../dcdn/model/DescribeDcdnAclFieldsResult.h | 55 +++++ .../DescribeDcdnConfigGroupDetailRequest.h | 54 +++++ .../DescribeDcdnConfigGroupDetailResult.h | 61 +++++ .../DescribeDcdnSMCertificateDetailRequest.h | 54 +++++ .../DescribeDcdnSMCertificateDetailResult.h | 57 +++++ .../DescribeDcdnSMCertificateListRequest.h | 54 +++++ .../DescribeDcdnSMCertificateListResult.h | 63 +++++ .../model/DescribeDcdnSecSpecInfoRequest.h | 48 ++++ .../model/DescribeDcdnSecSpecInfoResult.h | 64 ++++++ .../DescribeDcdnUserResourcePackageRequest.h | 3 + .../model/SetDcdnDomainSMCertificateRequest.h | 57 +++++ .../model/SetDcdnDomainSMCertificateResult.h | 49 ++++ dcdn/src/DcdnClient.cc | 216 ++++++++++++++++++ .../src/model/DescribeDcdnAclFieldsRequest.cc | 51 +++++ dcdn/src/model/DescribeDcdnAclFieldsResult.cc | 57 +++++ .../DescribeDcdnConfigGroupDetailRequest.cc | 62 +++++ .../DescribeDcdnConfigGroupDetailResult.cc | 86 +++++++ .../DescribeDcdnSMCertificateDetailRequest.cc | 62 +++++ .../DescribeDcdnSMCertificateDetailResult.cc | 72 ++++++ .../DescribeDcdnSMCertificateListRequest.cc | 62 +++++ .../DescribeDcdnSMCertificateListResult.cc | 66 ++++++ .../model/DescribeDcdnSecSpecInfoRequest.cc | 40 ++++ .../model/DescribeDcdnSecSpecInfoResult.cc | 76 ++++++ .../DescribeDcdnUserResourcePackageRequest.cc | 11 + .../SetDcdnDomainSMCertificateRequest.cc | 73 ++++++ .../model/SetDcdnDomainSMCertificateResult.cc | 44 ++++ 31 files changed, 1724 insertions(+), 1 deletion(-) create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnAclFieldsRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnAclFieldsResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateResult.h create mode 100644 dcdn/src/model/DescribeDcdnAclFieldsRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnAclFieldsResult.cc create mode 100644 dcdn/src/model/DescribeDcdnConfigGroupDetailRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnConfigGroupDetailResult.cc create mode 100644 dcdn/src/model/DescribeDcdnSMCertificateDetailRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnSMCertificateDetailResult.cc create mode 100644 dcdn/src/model/DescribeDcdnSMCertificateListRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnSMCertificateListResult.cc create mode 100644 dcdn/src/model/DescribeDcdnSecSpecInfoRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnSecSpecInfoResult.cc create mode 100644 dcdn/src/model/SetDcdnDomainSMCertificateRequest.cc create mode 100644 dcdn/src/model/SetDcdnDomainSMCertificateResult.cc diff --git a/CHANGELOG b/CHANGELOG index c3079f705..34555b601 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-11-05 Version: 1.36.924 +- Add SetDcdnDomainSMCertificate. + 2021-11-05 Version: 1.36.923 - Add SetCdnDomainSMCertificate. diff --git a/VERSION b/VERSION index fa24b3147..9cc3f64d6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.923 \ No newline at end of file +1.36.924 \ No newline at end of file diff --git a/dcdn/CMakeLists.txt b/dcdn/CMakeLists.txt index f03a6372b..581eb7f6d 100644 --- a/dcdn/CMakeLists.txt +++ b/dcdn/CMakeLists.txt @@ -71,6 +71,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DeleteRoutineCodeRevisionResult.h include/alibabacloud/dcdn/model/DeleteRoutineConfEnvsRequest.h include/alibabacloud/dcdn/model/DeleteRoutineConfEnvsResult.h + include/alibabacloud/dcdn/model/DescribeDcdnAclFieldsRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnAclFieldsResult.h include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataRequest.h @@ -81,6 +83,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailResult.h include/alibabacloud/dcdn/model/DescribeDcdnCertificateListRequest.h include/alibabacloud/dcdn/model/DescribeDcdnCertificateListResult.h + include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailResult.h include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionRequest.h include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionResult.h include/alibabacloud/dcdn/model/DescribeDcdnDeletedDomainsRequest.h @@ -197,8 +201,14 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnReportResult.h include/alibabacloud/dcdn/model/DescribeDcdnReportListRequest.h include/alibabacloud/dcdn/model/DescribeDcdnReportListResult.h + include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailResult.h + include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListResult.h include/alibabacloud/dcdn/model/DescribeDcdnSecFuncInfoRequest.h include/alibabacloud/dcdn/model/DescribeDcdnSecFuncInfoResult.h + include/alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoResult.h include/alibabacloud/dcdn/model/DescribeDcdnServiceRequest.h include/alibabacloud/dcdn/model/DescribeDcdnServiceResult.h include/alibabacloud/dcdn/model/DescribeDcdnStagingIpRequest.h @@ -279,6 +289,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/SetDcdnDomainCSRCertificateResult.h include/alibabacloud/dcdn/model/SetDcdnDomainCertificateRequest.h include/alibabacloud/dcdn/model/SetDcdnDomainCertificateResult.h + include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateRequest.h + include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateResult.h include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigRequest.h include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigResult.h include/alibabacloud/dcdn/model/SetDcdnUserConfigRequest.h @@ -364,6 +376,8 @@ set(dcdn_src src/model/DeleteRoutineCodeRevisionResult.cc src/model/DeleteRoutineConfEnvsRequest.cc src/model/DeleteRoutineConfEnvsResult.cc + src/model/DescribeDcdnAclFieldsRequest.cc + src/model/DescribeDcdnAclFieldsResult.cc src/model/DescribeDcdnBgpBpsDataRequest.cc src/model/DescribeDcdnBgpBpsDataResult.cc src/model/DescribeDcdnBgpTrafficDataRequest.cc @@ -374,6 +388,8 @@ set(dcdn_src src/model/DescribeDcdnCertificateDetailResult.cc src/model/DescribeDcdnCertificateListRequest.cc src/model/DescribeDcdnCertificateListResult.cc + src/model/DescribeDcdnConfigGroupDetailRequest.cc + src/model/DescribeDcdnConfigGroupDetailResult.cc src/model/DescribeDcdnConfigOfVersionRequest.cc src/model/DescribeDcdnConfigOfVersionResult.cc src/model/DescribeDcdnDeletedDomainsRequest.cc @@ -490,8 +506,14 @@ set(dcdn_src src/model/DescribeDcdnReportResult.cc src/model/DescribeDcdnReportListRequest.cc src/model/DescribeDcdnReportListResult.cc + src/model/DescribeDcdnSMCertificateDetailRequest.cc + src/model/DescribeDcdnSMCertificateDetailResult.cc + src/model/DescribeDcdnSMCertificateListRequest.cc + src/model/DescribeDcdnSMCertificateListResult.cc src/model/DescribeDcdnSecFuncInfoRequest.cc src/model/DescribeDcdnSecFuncInfoResult.cc + src/model/DescribeDcdnSecSpecInfoRequest.cc + src/model/DescribeDcdnSecSpecInfoResult.cc src/model/DescribeDcdnServiceRequest.cc src/model/DescribeDcdnServiceResult.cc src/model/DescribeDcdnStagingIpRequest.cc @@ -572,6 +594,8 @@ set(dcdn_src src/model/SetDcdnDomainCSRCertificateResult.cc src/model/SetDcdnDomainCertificateRequest.cc src/model/SetDcdnDomainCertificateResult.cc + src/model/SetDcdnDomainSMCertificateRequest.cc + src/model/SetDcdnDomainSMCertificateResult.cc src/model/SetDcdnDomainStagingConfigRequest.cc src/model/SetDcdnDomainStagingConfigResult.cc src/model/SetDcdnUserConfigRequest.cc diff --git a/dcdn/include/alibabacloud/dcdn/DcdnClient.h b/dcdn/include/alibabacloud/dcdn/DcdnClient.h index 8d805ebfb..a19ce11dd 100644 --- a/dcdn/include/alibabacloud/dcdn/DcdnClient.h +++ b/dcdn/include/alibabacloud/dcdn/DcdnClient.h @@ -72,6 +72,8 @@ #include "model/DeleteRoutineCodeRevisionResult.h" #include "model/DeleteRoutineConfEnvsRequest.h" #include "model/DeleteRoutineConfEnvsResult.h" +#include "model/DescribeDcdnAclFieldsRequest.h" +#include "model/DescribeDcdnAclFieldsResult.h" #include "model/DescribeDcdnBgpBpsDataRequest.h" #include "model/DescribeDcdnBgpBpsDataResult.h" #include "model/DescribeDcdnBgpTrafficDataRequest.h" @@ -82,6 +84,8 @@ #include "model/DescribeDcdnCertificateDetailResult.h" #include "model/DescribeDcdnCertificateListRequest.h" #include "model/DescribeDcdnCertificateListResult.h" +#include "model/DescribeDcdnConfigGroupDetailRequest.h" +#include "model/DescribeDcdnConfigGroupDetailResult.h" #include "model/DescribeDcdnConfigOfVersionRequest.h" #include "model/DescribeDcdnConfigOfVersionResult.h" #include "model/DescribeDcdnDeletedDomainsRequest.h" @@ -198,8 +202,14 @@ #include "model/DescribeDcdnReportResult.h" #include "model/DescribeDcdnReportListRequest.h" #include "model/DescribeDcdnReportListResult.h" +#include "model/DescribeDcdnSMCertificateDetailRequest.h" +#include "model/DescribeDcdnSMCertificateDetailResult.h" +#include "model/DescribeDcdnSMCertificateListRequest.h" +#include "model/DescribeDcdnSMCertificateListResult.h" #include "model/DescribeDcdnSecFuncInfoRequest.h" #include "model/DescribeDcdnSecFuncInfoResult.h" +#include "model/DescribeDcdnSecSpecInfoRequest.h" +#include "model/DescribeDcdnSecSpecInfoResult.h" #include "model/DescribeDcdnServiceRequest.h" #include "model/DescribeDcdnServiceResult.h" #include "model/DescribeDcdnStagingIpRequest.h" @@ -280,6 +290,8 @@ #include "model/SetDcdnDomainCSRCertificateResult.h" #include "model/SetDcdnDomainCertificateRequest.h" #include "model/SetDcdnDomainCertificateResult.h" +#include "model/SetDcdnDomainSMCertificateRequest.h" +#include "model/SetDcdnDomainSMCertificateResult.h" #include "model/SetDcdnDomainStagingConfigRequest.h" #include "model/SetDcdnDomainStagingConfigResult.h" #include "model/SetDcdnUserConfigRequest.h" @@ -396,6 +408,9 @@ namespace AlibabaCloud typedef Outcome DeleteRoutineConfEnvsOutcome; typedef std::future DeleteRoutineConfEnvsOutcomeCallable; typedef std::function&)> DeleteRoutineConfEnvsAsyncHandler; + typedef Outcome DescribeDcdnAclFieldsOutcome; + typedef std::future DescribeDcdnAclFieldsOutcomeCallable; + typedef std::function&)> DescribeDcdnAclFieldsAsyncHandler; typedef Outcome DescribeDcdnBgpBpsDataOutcome; typedef std::future DescribeDcdnBgpBpsDataOutcomeCallable; typedef std::function&)> DescribeDcdnBgpBpsDataAsyncHandler; @@ -411,6 +426,9 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnCertificateListOutcome; typedef std::future DescribeDcdnCertificateListOutcomeCallable; typedef std::function&)> DescribeDcdnCertificateListAsyncHandler; + typedef Outcome DescribeDcdnConfigGroupDetailOutcome; + typedef std::future DescribeDcdnConfigGroupDetailOutcomeCallable; + typedef std::function&)> DescribeDcdnConfigGroupDetailAsyncHandler; typedef Outcome DescribeDcdnConfigOfVersionOutcome; typedef std::future DescribeDcdnConfigOfVersionOutcomeCallable; typedef std::function&)> DescribeDcdnConfigOfVersionAsyncHandler; @@ -585,9 +603,18 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnReportListOutcome; typedef std::future DescribeDcdnReportListOutcomeCallable; typedef std::function&)> DescribeDcdnReportListAsyncHandler; + typedef Outcome DescribeDcdnSMCertificateDetailOutcome; + typedef std::future DescribeDcdnSMCertificateDetailOutcomeCallable; + typedef std::function&)> DescribeDcdnSMCertificateDetailAsyncHandler; + typedef Outcome DescribeDcdnSMCertificateListOutcome; + typedef std::future DescribeDcdnSMCertificateListOutcomeCallable; + typedef std::function&)> DescribeDcdnSMCertificateListAsyncHandler; typedef Outcome DescribeDcdnSecFuncInfoOutcome; typedef std::future DescribeDcdnSecFuncInfoOutcomeCallable; typedef std::function&)> DescribeDcdnSecFuncInfoAsyncHandler; + typedef Outcome DescribeDcdnSecSpecInfoOutcome; + typedef std::future DescribeDcdnSecSpecInfoOutcomeCallable; + typedef std::function&)> DescribeDcdnSecSpecInfoAsyncHandler; typedef Outcome DescribeDcdnServiceOutcome; typedef std::future DescribeDcdnServiceOutcomeCallable; typedef std::function&)> DescribeDcdnServiceAsyncHandler; @@ -708,6 +735,9 @@ namespace AlibabaCloud typedef Outcome SetDcdnDomainCertificateOutcome; typedef std::future SetDcdnDomainCertificateOutcomeCallable; typedef std::function&)> SetDcdnDomainCertificateAsyncHandler; + typedef Outcome SetDcdnDomainSMCertificateOutcome; + typedef std::future SetDcdnDomainSMCertificateOutcomeCallable; + typedef std::function&)> SetDcdnDomainSMCertificateAsyncHandler; typedef Outcome SetDcdnDomainStagingConfigOutcome; typedef std::future SetDcdnDomainStagingConfigOutcomeCallable; typedef std::function&)> SetDcdnDomainStagingConfigAsyncHandler; @@ -836,6 +866,9 @@ namespace AlibabaCloud DeleteRoutineConfEnvsOutcome deleteRoutineConfEnvs(const Model::DeleteRoutineConfEnvsRequest &request)const; void deleteRoutineConfEnvsAsync(const Model::DeleteRoutineConfEnvsRequest& request, const DeleteRoutineConfEnvsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteRoutineConfEnvsOutcomeCallable deleteRoutineConfEnvsCallable(const Model::DeleteRoutineConfEnvsRequest& request) const; + DescribeDcdnAclFieldsOutcome describeDcdnAclFields(const Model::DescribeDcdnAclFieldsRequest &request)const; + void describeDcdnAclFieldsAsync(const Model::DescribeDcdnAclFieldsRequest& request, const DescribeDcdnAclFieldsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnAclFieldsOutcomeCallable describeDcdnAclFieldsCallable(const Model::DescribeDcdnAclFieldsRequest& request) const; DescribeDcdnBgpBpsDataOutcome describeDcdnBgpBpsData(const Model::DescribeDcdnBgpBpsDataRequest &request)const; void describeDcdnBgpBpsDataAsync(const Model::DescribeDcdnBgpBpsDataRequest& request, const DescribeDcdnBgpBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnBgpBpsDataOutcomeCallable describeDcdnBgpBpsDataCallable(const Model::DescribeDcdnBgpBpsDataRequest& request) const; @@ -851,6 +884,9 @@ namespace AlibabaCloud DescribeDcdnCertificateListOutcome describeDcdnCertificateList(const Model::DescribeDcdnCertificateListRequest &request)const; void describeDcdnCertificateListAsync(const Model::DescribeDcdnCertificateListRequest& request, const DescribeDcdnCertificateListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnCertificateListOutcomeCallable describeDcdnCertificateListCallable(const Model::DescribeDcdnCertificateListRequest& request) const; + DescribeDcdnConfigGroupDetailOutcome describeDcdnConfigGroupDetail(const Model::DescribeDcdnConfigGroupDetailRequest &request)const; + void describeDcdnConfigGroupDetailAsync(const Model::DescribeDcdnConfigGroupDetailRequest& request, const DescribeDcdnConfigGroupDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnConfigGroupDetailOutcomeCallable describeDcdnConfigGroupDetailCallable(const Model::DescribeDcdnConfigGroupDetailRequest& request) const; DescribeDcdnConfigOfVersionOutcome describeDcdnConfigOfVersion(const Model::DescribeDcdnConfigOfVersionRequest &request)const; void describeDcdnConfigOfVersionAsync(const Model::DescribeDcdnConfigOfVersionRequest& request, const DescribeDcdnConfigOfVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnConfigOfVersionOutcomeCallable describeDcdnConfigOfVersionCallable(const Model::DescribeDcdnConfigOfVersionRequest& request) const; @@ -1025,9 +1061,18 @@ namespace AlibabaCloud DescribeDcdnReportListOutcome describeDcdnReportList(const Model::DescribeDcdnReportListRequest &request)const; void describeDcdnReportListAsync(const Model::DescribeDcdnReportListRequest& request, const DescribeDcdnReportListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnReportListOutcomeCallable describeDcdnReportListCallable(const Model::DescribeDcdnReportListRequest& request) const; + DescribeDcdnSMCertificateDetailOutcome describeDcdnSMCertificateDetail(const Model::DescribeDcdnSMCertificateDetailRequest &request)const; + void describeDcdnSMCertificateDetailAsync(const Model::DescribeDcdnSMCertificateDetailRequest& request, const DescribeDcdnSMCertificateDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnSMCertificateDetailOutcomeCallable describeDcdnSMCertificateDetailCallable(const Model::DescribeDcdnSMCertificateDetailRequest& request) const; + DescribeDcdnSMCertificateListOutcome describeDcdnSMCertificateList(const Model::DescribeDcdnSMCertificateListRequest &request)const; + void describeDcdnSMCertificateListAsync(const Model::DescribeDcdnSMCertificateListRequest& request, const DescribeDcdnSMCertificateListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnSMCertificateListOutcomeCallable describeDcdnSMCertificateListCallable(const Model::DescribeDcdnSMCertificateListRequest& request) const; DescribeDcdnSecFuncInfoOutcome describeDcdnSecFuncInfo(const Model::DescribeDcdnSecFuncInfoRequest &request)const; void describeDcdnSecFuncInfoAsync(const Model::DescribeDcdnSecFuncInfoRequest& request, const DescribeDcdnSecFuncInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnSecFuncInfoOutcomeCallable describeDcdnSecFuncInfoCallable(const Model::DescribeDcdnSecFuncInfoRequest& request) const; + DescribeDcdnSecSpecInfoOutcome describeDcdnSecSpecInfo(const Model::DescribeDcdnSecSpecInfoRequest &request)const; + void describeDcdnSecSpecInfoAsync(const Model::DescribeDcdnSecSpecInfoRequest& request, const DescribeDcdnSecSpecInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnSecSpecInfoOutcomeCallable describeDcdnSecSpecInfoCallable(const Model::DescribeDcdnSecSpecInfoRequest& request) const; DescribeDcdnServiceOutcome describeDcdnService(const Model::DescribeDcdnServiceRequest &request)const; void describeDcdnServiceAsync(const Model::DescribeDcdnServiceRequest& request, const DescribeDcdnServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnServiceOutcomeCallable describeDcdnServiceCallable(const Model::DescribeDcdnServiceRequest& request) const; @@ -1148,6 +1193,9 @@ namespace AlibabaCloud SetDcdnDomainCertificateOutcome setDcdnDomainCertificate(const Model::SetDcdnDomainCertificateRequest &request)const; void setDcdnDomainCertificateAsync(const Model::SetDcdnDomainCertificateRequest& request, const SetDcdnDomainCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetDcdnDomainCertificateOutcomeCallable setDcdnDomainCertificateCallable(const Model::SetDcdnDomainCertificateRequest& request) const; + SetDcdnDomainSMCertificateOutcome setDcdnDomainSMCertificate(const Model::SetDcdnDomainSMCertificateRequest &request)const; + void setDcdnDomainSMCertificateAsync(const Model::SetDcdnDomainSMCertificateRequest& request, const SetDcdnDomainSMCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDcdnDomainSMCertificateOutcomeCallable setDcdnDomainSMCertificateCallable(const Model::SetDcdnDomainSMCertificateRequest& request) const; SetDcdnDomainStagingConfigOutcome setDcdnDomainStagingConfig(const Model::SetDcdnDomainStagingConfigRequest &request)const; void setDcdnDomainStagingConfigAsync(const Model::SetDcdnDomainStagingConfigRequest& request, const SetDcdnDomainStagingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetDcdnDomainStagingConfigOutcomeCallable setDcdnDomainStagingConfigCallable(const Model::SetDcdnDomainStagingConfigRequest& request) const; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnAclFieldsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnAclFieldsRequest.h new file mode 100644 index 000000000..60a765bee --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnAclFieldsRequest.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_DCDN_MODEL_DESCRIBEDCDNACLFIELDSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNACLFIELDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnAclFieldsRequest : public RpcServiceRequest + { + + public: + DescribeDcdnAclFieldsRequest(); + ~DescribeDcdnAclFieldsRequest(); + + std::string getLang()const; + void setLang(const std::string& lang); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string lang_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNACLFIELDSREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnAclFieldsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnAclFieldsResult.h new file mode 100644 index 000000000..dc3f8c45e --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnAclFieldsResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNACLFIELDSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNACLFIELDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnAclFieldsResult : public ServiceResult + { + public: + struct ContentItem + { + std::string fields; + }; + + + DescribeDcdnAclFieldsResult(); + explicit DescribeDcdnAclFieldsResult(const std::string &payload); + ~DescribeDcdnAclFieldsResult(); + std::vector getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::vector content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNACLFIELDSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailRequest.h new file mode 100644 index 000000000..ac80f448b --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailRequest.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_DCDN_MODEL_DESCRIBEDCDNCONFIGGROUPDETAILREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGGROUPDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnConfigGroupDetailRequest : public RpcServiceRequest + { + + public: + DescribeDcdnConfigGroupDetailRequest(); + ~DescribeDcdnConfigGroupDetailRequest(); + + std::string getConfigGroupName()const; + void setConfigGroupName(const std::string& configGroupName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getConfigGroupId()const; + void setConfigGroupId(const std::string& configGroupId); + + private: + std::string configGroupName_; + long ownerId_; + std::string configGroupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGGROUPDETAILREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailResult.h new file mode 100644 index 000000000..e003d1796 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGGROUPDETAILRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGGROUPDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnConfigGroupDetailResult : public ServiceResult + { + public: + + + DescribeDcdnConfigGroupDetailResult(); + explicit DescribeDcdnConfigGroupDetailResult(const std::string &payload); + ~DescribeDcdnConfigGroupDetailResult(); + std::string getConfigGroupId()const; + std::string getDescription()const; + std::string getCreateTime()const; + std::string getConfigGroupName()const; + std::string getUpdateTime()const; + std::string getBizName()const; + + protected: + void parse(const std::string &payload); + private: + std::string configGroupId_; + std::string description_; + std::string createTime_; + std::string configGroupName_; + std::string updateTime_; + std::string bizName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGGROUPDETAILRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailRequest.h new file mode 100644 index 000000000..b4a53722b --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailRequest.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_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATEDETAILREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATEDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSMCertificateDetailRequest : public RpcServiceRequest + { + + public: + DescribeDcdnSMCertificateDetailRequest(); + ~DescribeDcdnSMCertificateDetailRequest(); + + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getCertIdentifier()const; + void setCertIdentifier(const std::string& certIdentifier); + + private: + long ownerId_; + std::string securityToken_; + std::string certIdentifier_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATEDETAILREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailResult.h new file mode 100644 index 000000000..882d4f734 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailResult.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_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATEDETAILRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATEDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSMCertificateDetailResult : public ServiceResult + { + public: + + + DescribeDcdnSMCertificateDetailResult(); + explicit DescribeDcdnSMCertificateDetailResult(const std::string &payload); + ~DescribeDcdnSMCertificateDetailResult(); + std::string getCertIdentifier()const; + std::string getSignCertificate()const; + std::string getCertName()const; + std::string getEncryptCertificate()const; + + protected: + void parse(const std::string &payload); + private: + std::string certIdentifier_; + std::string signCertificate_; + std::string certName_; + std::string encryptCertificate_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATEDETAILRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListRequest.h new file mode 100644 index 000000000..554c16441 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListRequest.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_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATELISTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSMCertificateListRequest : public RpcServiceRequest + { + + public: + DescribeDcdnSMCertificateListRequest(); + ~DescribeDcdnSMCertificateListRequest(); + + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + + private: + std::string domainName_; + long ownerId_; + std::string securityToken_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATELISTREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListResult.h new file mode 100644 index 000000000..930b94523 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATELISTRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSMCertificateListResult : public ServiceResult + { + public: + struct CertificateListModel + { + struct Cert + { + std::string issuer; + std::string certIdentifier; + std::string certName; + std::string common; + }; + std::vector certList; + int count; + }; + + + DescribeDcdnSMCertificateListResult(); + explicit DescribeDcdnSMCertificateListResult(const std::string &payload); + ~DescribeDcdnSMCertificateListResult(); + CertificateListModel getCertificateListModel()const; + + protected: + void parse(const std::string &payload); + private: + CertificateListModel certificateListModel_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATELISTRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoRequest.h new file mode 100644 index 000000000..333b51d37 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoRequest.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_DCDN_MODEL_DESCRIBEDCDNSECSPECINFOREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSPECINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSecSpecInfoRequest : public RpcServiceRequest + { + + public: + DescribeDcdnSecSpecInfoRequest(); + ~DescribeDcdnSecSpecInfoRequest(); + + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSPECINFOREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoResult.h new file mode 100644 index 000000000..c0e6458d1 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSPECINFORESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSPECINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSecSpecInfoResult : public ServiceResult + { + public: + struct RuleInfoItem + { + struct ConfigItem + { + std::string expr; + std::string value; + std::string code; + }; + std::vector ruleConfigs; + std::string ruleCode; + }; + + + DescribeDcdnSecSpecInfoResult(); + explicit DescribeDcdnSecSpecInfoResult(const std::string &payload); + ~DescribeDcdnSecSpecInfoResult(); + std::string getVersion()const; + std::vector getSpecInfos()const; + + protected: + void parse(const std::string &payload); + private: + std::string version_; + std::vector specInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSPECINFORESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageRequest.h index 8828f4ca5..66c7a3d11 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageRequest.h @@ -39,10 +39,13 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getSecurityToken()const; void setSecurityToken(const std::string& securityToken); + std::string getStatus()const; + void setStatus(const std::string& status); private: long ownerId_; std::string securityToken_; + std::string status_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateRequest.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateRequest.h new file mode 100644 index 000000000..1f3696b99 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateRequest.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_DCDN_MODEL_SETDCDNDOMAINSMCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSMCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainSMCertificateRequest : public RpcServiceRequest + { + + public: + SetDcdnDomainSMCertificateRequest(); + ~SetDcdnDomainSMCertificateRequest(); + + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getCertIdentifier()const; + void setCertIdentifier(const std::string& certIdentifier); + + private: + std::string domainName_; + long ownerId_; + std::string securityToken_; + std::string certIdentifier_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSMCERTIFICATEREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateResult.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateResult.h new file mode 100644 index 000000000..e3e1c11ec --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateResult.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_DCDN_MODEL_SETDCDNDOMAINSMCERTIFICATERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSMCERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainSMCertificateResult : public ServiceResult + { + public: + + + SetDcdnDomainSMCertificateResult(); + explicit SetDcdnDomainSMCertificateResult(const std::string &payload); + ~SetDcdnDomainSMCertificateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSMCERTIFICATERESULT_H_ \ No newline at end of file diff --git a/dcdn/src/DcdnClient.cc b/dcdn/src/DcdnClient.cc index a63cd1d38..ef074c4cb 100644 --- a/dcdn/src/DcdnClient.cc +++ b/dcdn/src/DcdnClient.cc @@ -951,6 +951,42 @@ DcdnClient::DeleteRoutineConfEnvsOutcomeCallable DcdnClient::deleteRoutineConfEn return task->get_future(); } +DcdnClient::DescribeDcdnAclFieldsOutcome DcdnClient::describeDcdnAclFields(const DescribeDcdnAclFieldsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnAclFieldsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnAclFieldsOutcome(DescribeDcdnAclFieldsResult(outcome.result())); + else + return DescribeDcdnAclFieldsOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnAclFieldsAsync(const DescribeDcdnAclFieldsRequest& request, const DescribeDcdnAclFieldsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnAclFields(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnAclFieldsOutcomeCallable DcdnClient::describeDcdnAclFieldsCallable(const DescribeDcdnAclFieldsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnAclFields(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnBgpBpsDataOutcome DcdnClient::describeDcdnBgpBpsData(const DescribeDcdnBgpBpsDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1131,6 +1167,42 @@ DcdnClient::DescribeDcdnCertificateListOutcomeCallable DcdnClient::describeDcdnC return task->get_future(); } +DcdnClient::DescribeDcdnConfigGroupDetailOutcome DcdnClient::describeDcdnConfigGroupDetail(const DescribeDcdnConfigGroupDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnConfigGroupDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnConfigGroupDetailOutcome(DescribeDcdnConfigGroupDetailResult(outcome.result())); + else + return DescribeDcdnConfigGroupDetailOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnConfigGroupDetailAsync(const DescribeDcdnConfigGroupDetailRequest& request, const DescribeDcdnConfigGroupDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnConfigGroupDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnConfigGroupDetailOutcomeCallable DcdnClient::describeDcdnConfigGroupDetailCallable(const DescribeDcdnConfigGroupDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnConfigGroupDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnConfigOfVersionOutcome DcdnClient::describeDcdnConfigOfVersion(const DescribeDcdnConfigOfVersionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3219,6 +3291,78 @@ DcdnClient::DescribeDcdnReportListOutcomeCallable DcdnClient::describeDcdnReport return task->get_future(); } +DcdnClient::DescribeDcdnSMCertificateDetailOutcome DcdnClient::describeDcdnSMCertificateDetail(const DescribeDcdnSMCertificateDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnSMCertificateDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnSMCertificateDetailOutcome(DescribeDcdnSMCertificateDetailResult(outcome.result())); + else + return DescribeDcdnSMCertificateDetailOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnSMCertificateDetailAsync(const DescribeDcdnSMCertificateDetailRequest& request, const DescribeDcdnSMCertificateDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnSMCertificateDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnSMCertificateDetailOutcomeCallable DcdnClient::describeDcdnSMCertificateDetailCallable(const DescribeDcdnSMCertificateDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnSMCertificateDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnSMCertificateListOutcome DcdnClient::describeDcdnSMCertificateList(const DescribeDcdnSMCertificateListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnSMCertificateListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnSMCertificateListOutcome(DescribeDcdnSMCertificateListResult(outcome.result())); + else + return DescribeDcdnSMCertificateListOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnSMCertificateListAsync(const DescribeDcdnSMCertificateListRequest& request, const DescribeDcdnSMCertificateListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnSMCertificateList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnSMCertificateListOutcomeCallable DcdnClient::describeDcdnSMCertificateListCallable(const DescribeDcdnSMCertificateListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnSMCertificateList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnSecFuncInfoOutcome DcdnClient::describeDcdnSecFuncInfo(const DescribeDcdnSecFuncInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3255,6 +3399,42 @@ DcdnClient::DescribeDcdnSecFuncInfoOutcomeCallable DcdnClient::describeDcdnSecFu return task->get_future(); } +DcdnClient::DescribeDcdnSecSpecInfoOutcome DcdnClient::describeDcdnSecSpecInfo(const DescribeDcdnSecSpecInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnSecSpecInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnSecSpecInfoOutcome(DescribeDcdnSecSpecInfoResult(outcome.result())); + else + return DescribeDcdnSecSpecInfoOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnSecSpecInfoAsync(const DescribeDcdnSecSpecInfoRequest& request, const DescribeDcdnSecSpecInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnSecSpecInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnSecSpecInfoOutcomeCallable DcdnClient::describeDcdnSecSpecInfoCallable(const DescribeDcdnSecSpecInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnSecSpecInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnServiceOutcome DcdnClient::describeDcdnService(const DescribeDcdnServiceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4695,6 +4875,42 @@ DcdnClient::SetDcdnDomainCertificateOutcomeCallable DcdnClient::setDcdnDomainCer return task->get_future(); } +DcdnClient::SetDcdnDomainSMCertificateOutcome DcdnClient::setDcdnDomainSMCertificate(const SetDcdnDomainSMCertificateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDcdnDomainSMCertificateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDcdnDomainSMCertificateOutcome(SetDcdnDomainSMCertificateResult(outcome.result())); + else + return SetDcdnDomainSMCertificateOutcome(outcome.error()); +} + +void DcdnClient::setDcdnDomainSMCertificateAsync(const SetDcdnDomainSMCertificateRequest& request, const SetDcdnDomainSMCertificateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setDcdnDomainSMCertificate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::SetDcdnDomainSMCertificateOutcomeCallable DcdnClient::setDcdnDomainSMCertificateCallable(const SetDcdnDomainSMCertificateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setDcdnDomainSMCertificate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::SetDcdnDomainStagingConfigOutcome DcdnClient::setDcdnDomainStagingConfig(const SetDcdnDomainStagingConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/dcdn/src/model/DescribeDcdnAclFieldsRequest.cc b/dcdn/src/model/DescribeDcdnAclFieldsRequest.cc new file mode 100644 index 000000000..429fa96a7 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnAclFieldsRequest.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 + +using AlibabaCloud::Dcdn::Model::DescribeDcdnAclFieldsRequest; + +DescribeDcdnAclFieldsRequest::DescribeDcdnAclFieldsRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnAclFields") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnAclFieldsRequest::~DescribeDcdnAclFieldsRequest() +{} + +std::string DescribeDcdnAclFieldsRequest::getLang()const +{ + return lang_; +} + +void DescribeDcdnAclFieldsRequest::setLang(const std::string& lang) +{ + lang_ = lang; + setParameter("Lang", lang); +} + +long DescribeDcdnAclFieldsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnAclFieldsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnAclFieldsResult.cc b/dcdn/src/model/DescribeDcdnAclFieldsResult.cc new file mode 100644 index 000000000..c77a2d3aa --- /dev/null +++ b/dcdn/src/model/DescribeDcdnAclFieldsResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnAclFieldsResult::DescribeDcdnAclFieldsResult() : + ServiceResult() +{} + +DescribeDcdnAclFieldsResult::DescribeDcdnAclFieldsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnAclFieldsResult::~DescribeDcdnAclFieldsResult() +{} + +void DescribeDcdnAclFieldsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentNode = value["Content"]["ContentItem"]; + for (auto valueContentContentItem : allContentNode) + { + ContentItem contentObject; + if(!valueContentContentItem["Fields"].isNull()) + contentObject.fields = valueContentContentItem["Fields"].asString(); + content_.push_back(contentObject); + } + +} + +std::vector DescribeDcdnAclFieldsResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DescribeDcdnConfigGroupDetailRequest.cc b/dcdn/src/model/DescribeDcdnConfigGroupDetailRequest.cc new file mode 100644 index 000000000..d1b9a421e --- /dev/null +++ b/dcdn/src/model/DescribeDcdnConfigGroupDetailRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnConfigGroupDetailRequest; + +DescribeDcdnConfigGroupDetailRequest::DescribeDcdnConfigGroupDetailRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnConfigGroupDetail") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnConfigGroupDetailRequest::~DescribeDcdnConfigGroupDetailRequest() +{} + +std::string DescribeDcdnConfigGroupDetailRequest::getConfigGroupName()const +{ + return configGroupName_; +} + +void DescribeDcdnConfigGroupDetailRequest::setConfigGroupName(const std::string& configGroupName) +{ + configGroupName_ = configGroupName; + setParameter("ConfigGroupName", configGroupName); +} + +long DescribeDcdnConfigGroupDetailRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnConfigGroupDetailRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeDcdnConfigGroupDetailRequest::getConfigGroupId()const +{ + return configGroupId_; +} + +void DescribeDcdnConfigGroupDetailRequest::setConfigGroupId(const std::string& configGroupId) +{ + configGroupId_ = configGroupId; + setParameter("ConfigGroupId", configGroupId); +} + diff --git a/dcdn/src/model/DescribeDcdnConfigGroupDetailResult.cc b/dcdn/src/model/DescribeDcdnConfigGroupDetailResult.cc new file mode 100644 index 000000000..7e174888b --- /dev/null +++ b/dcdn/src/model/DescribeDcdnConfigGroupDetailResult.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnConfigGroupDetailResult::DescribeDcdnConfigGroupDetailResult() : + ServiceResult() +{} + +DescribeDcdnConfigGroupDetailResult::DescribeDcdnConfigGroupDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnConfigGroupDetailResult::~DescribeDcdnConfigGroupDetailResult() +{} + +void DescribeDcdnConfigGroupDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ConfigGroupId"].isNull()) + configGroupId_ = value["ConfigGroupId"].asString(); + if(!value["ConfigGroupName"].isNull()) + configGroupName_ = value["ConfigGroupName"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["BizName"].isNull()) + bizName_ = value["BizName"].asString(); + if(!value["CreateTime"].isNull()) + createTime_ = value["CreateTime"].asString(); + if(!value["UpdateTime"].isNull()) + updateTime_ = value["UpdateTime"].asString(); + +} + +std::string DescribeDcdnConfigGroupDetailResult::getConfigGroupId()const +{ + return configGroupId_; +} + +std::string DescribeDcdnConfigGroupDetailResult::getDescription()const +{ + return description_; +} + +std::string DescribeDcdnConfigGroupDetailResult::getCreateTime()const +{ + return createTime_; +} + +std::string DescribeDcdnConfigGroupDetailResult::getConfigGroupName()const +{ + return configGroupName_; +} + +std::string DescribeDcdnConfigGroupDetailResult::getUpdateTime()const +{ + return updateTime_; +} + +std::string DescribeDcdnConfigGroupDetailResult::getBizName()const +{ + return bizName_; +} + diff --git a/dcdn/src/model/DescribeDcdnSMCertificateDetailRequest.cc b/dcdn/src/model/DescribeDcdnSMCertificateDetailRequest.cc new file mode 100644 index 000000000..a2f363543 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnSMCertificateDetailRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnSMCertificateDetailRequest; + +DescribeDcdnSMCertificateDetailRequest::DescribeDcdnSMCertificateDetailRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSMCertificateDetail") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnSMCertificateDetailRequest::~DescribeDcdnSMCertificateDetailRequest() +{} + +long DescribeDcdnSMCertificateDetailRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnSMCertificateDetailRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeDcdnSMCertificateDetailRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeDcdnSMCertificateDetailRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeDcdnSMCertificateDetailRequest::getCertIdentifier()const +{ + return certIdentifier_; +} + +void DescribeDcdnSMCertificateDetailRequest::setCertIdentifier(const std::string& certIdentifier) +{ + certIdentifier_ = certIdentifier; + setParameter("CertIdentifier", certIdentifier); +} + diff --git a/dcdn/src/model/DescribeDcdnSMCertificateDetailResult.cc b/dcdn/src/model/DescribeDcdnSMCertificateDetailResult.cc new file mode 100644 index 000000000..63bbb5447 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnSMCertificateDetailResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnSMCertificateDetailResult::DescribeDcdnSMCertificateDetailResult() : + ServiceResult() +{} + +DescribeDcdnSMCertificateDetailResult::DescribeDcdnSMCertificateDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnSMCertificateDetailResult::~DescribeDcdnSMCertificateDetailResult() +{} + +void DescribeDcdnSMCertificateDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["SignCertificate"].isNull()) + signCertificate_ = value["SignCertificate"].asString(); + if(!value["EncryptCertificate"].isNull()) + encryptCertificate_ = value["EncryptCertificate"].asString(); + if(!value["CertIdentifier"].isNull()) + certIdentifier_ = value["CertIdentifier"].asString(); + if(!value["CertName"].isNull()) + certName_ = value["CertName"].asString(); + +} + +std::string DescribeDcdnSMCertificateDetailResult::getCertIdentifier()const +{ + return certIdentifier_; +} + +std::string DescribeDcdnSMCertificateDetailResult::getSignCertificate()const +{ + return signCertificate_; +} + +std::string DescribeDcdnSMCertificateDetailResult::getCertName()const +{ + return certName_; +} + +std::string DescribeDcdnSMCertificateDetailResult::getEncryptCertificate()const +{ + return encryptCertificate_; +} + diff --git a/dcdn/src/model/DescribeDcdnSMCertificateListRequest.cc b/dcdn/src/model/DescribeDcdnSMCertificateListRequest.cc new file mode 100644 index 000000000..c7db0e98c --- /dev/null +++ b/dcdn/src/model/DescribeDcdnSMCertificateListRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnSMCertificateListRequest; + +DescribeDcdnSMCertificateListRequest::DescribeDcdnSMCertificateListRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSMCertificateList") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnSMCertificateListRequest::~DescribeDcdnSMCertificateListRequest() +{} + +std::string DescribeDcdnSMCertificateListRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeDcdnSMCertificateListRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeDcdnSMCertificateListRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnSMCertificateListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeDcdnSMCertificateListRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeDcdnSMCertificateListRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + diff --git a/dcdn/src/model/DescribeDcdnSMCertificateListResult.cc b/dcdn/src/model/DescribeDcdnSMCertificateListResult.cc new file mode 100644 index 000000000..aab7f588f --- /dev/null +++ b/dcdn/src/model/DescribeDcdnSMCertificateListResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnSMCertificateListResult::DescribeDcdnSMCertificateListResult() : + ServiceResult() +{} + +DescribeDcdnSMCertificateListResult::DescribeDcdnSMCertificateListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnSMCertificateListResult::~DescribeDcdnSMCertificateListResult() +{} + +void DescribeDcdnSMCertificateListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto certificateListModelNode = value["CertificateListModel"]; + if(!certificateListModelNode["Count"].isNull()) + certificateListModel_.count = std::stoi(certificateListModelNode["Count"].asString()); + auto allCertListNode = certificateListModelNode["CertList"]["Cert"]; + for (auto certificateListModelNodeCertListCert : allCertListNode) + { + CertificateListModel::Cert certObject; + if(!certificateListModelNodeCertListCert["CertName"].isNull()) + certObject.certName = certificateListModelNodeCertListCert["CertName"].asString(); + if(!certificateListModelNodeCertListCert["CertIdentifier"].isNull()) + certObject.certIdentifier = certificateListModelNodeCertListCert["CertIdentifier"].asString(); + if(!certificateListModelNodeCertListCert["Common"].isNull()) + certObject.common = certificateListModelNodeCertListCert["Common"].asString(); + if(!certificateListModelNodeCertListCert["Issuer"].isNull()) + certObject.issuer = certificateListModelNodeCertListCert["Issuer"].asString(); + certificateListModel_.certList.push_back(certObject); + } + +} + +DescribeDcdnSMCertificateListResult::CertificateListModel DescribeDcdnSMCertificateListResult::getCertificateListModel()const +{ + return certificateListModel_; +} + diff --git a/dcdn/src/model/DescribeDcdnSecSpecInfoRequest.cc b/dcdn/src/model/DescribeDcdnSecSpecInfoRequest.cc new file mode 100644 index 000000000..40dd256e8 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnSecSpecInfoRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnSecSpecInfoRequest; + +DescribeDcdnSecSpecInfoRequest::DescribeDcdnSecSpecInfoRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSecSpecInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnSecSpecInfoRequest::~DescribeDcdnSecSpecInfoRequest() +{} + +long DescribeDcdnSecSpecInfoRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnSecSpecInfoRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnSecSpecInfoResult.cc b/dcdn/src/model/DescribeDcdnSecSpecInfoResult.cc new file mode 100644 index 000000000..fd7de8c66 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnSecSpecInfoResult.cc @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnSecSpecInfoResult::DescribeDcdnSecSpecInfoResult() : + ServiceResult() +{} + +DescribeDcdnSecSpecInfoResult::DescribeDcdnSecSpecInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnSecSpecInfoResult::~DescribeDcdnSecSpecInfoResult() +{} + +void DescribeDcdnSecSpecInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allSpecInfosNode = value["SpecInfos"]["RuleInfoItem"]; + for (auto valueSpecInfosRuleInfoItem : allSpecInfosNode) + { + RuleInfoItem specInfosObject; + if(!valueSpecInfosRuleInfoItem["RuleCode"].isNull()) + specInfosObject.ruleCode = valueSpecInfosRuleInfoItem["RuleCode"].asString(); + auto allRuleConfigsNode = valueSpecInfosRuleInfoItem["RuleConfigs"]["ConfigItem"]; + for (auto valueSpecInfosRuleInfoItemRuleConfigsConfigItem : allRuleConfigsNode) + { + RuleInfoItem::ConfigItem ruleConfigsObject; + if(!valueSpecInfosRuleInfoItemRuleConfigsConfigItem["Code"].isNull()) + ruleConfigsObject.code = valueSpecInfosRuleInfoItemRuleConfigsConfigItem["Code"].asString(); + if(!valueSpecInfosRuleInfoItemRuleConfigsConfigItem["Expr"].isNull()) + ruleConfigsObject.expr = valueSpecInfosRuleInfoItemRuleConfigsConfigItem["Expr"].asString(); + if(!valueSpecInfosRuleInfoItemRuleConfigsConfigItem["Value"].isNull()) + ruleConfigsObject.value = valueSpecInfosRuleInfoItemRuleConfigsConfigItem["Value"].asString(); + specInfosObject.ruleConfigs.push_back(ruleConfigsObject); + } + specInfos_.push_back(specInfosObject); + } + if(!value["Version"].isNull()) + version_ = value["Version"].asString(); + +} + +std::string DescribeDcdnSecSpecInfoResult::getVersion()const +{ + return version_; +} + +std::vector DescribeDcdnSecSpecInfoResult::getSpecInfos()const +{ + return specInfos_; +} + diff --git a/dcdn/src/model/DescribeDcdnUserResourcePackageRequest.cc b/dcdn/src/model/DescribeDcdnUserResourcePackageRequest.cc index 28cc7142c..458ba8489 100644 --- a/dcdn/src/model/DescribeDcdnUserResourcePackageRequest.cc +++ b/dcdn/src/model/DescribeDcdnUserResourcePackageRequest.cc @@ -49,3 +49,14 @@ void DescribeDcdnUserResourcePackageRequest::setSecurityToken(const std::string& setParameter("SecurityToken", securityToken); } +std::string DescribeDcdnUserResourcePackageRequest::getStatus()const +{ + return status_; +} + +void DescribeDcdnUserResourcePackageRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/dcdn/src/model/SetDcdnDomainSMCertificateRequest.cc b/dcdn/src/model/SetDcdnDomainSMCertificateRequest.cc new file mode 100644 index 000000000..e1e825635 --- /dev/null +++ b/dcdn/src/model/SetDcdnDomainSMCertificateRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::SetDcdnDomainSMCertificateRequest; + +SetDcdnDomainSMCertificateRequest::SetDcdnDomainSMCertificateRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnDomainSMCertificate") +{ + setMethod(HttpRequest::Method::Post); +} + +SetDcdnDomainSMCertificateRequest::~SetDcdnDomainSMCertificateRequest() +{} + +std::string SetDcdnDomainSMCertificateRequest::getDomainName()const +{ + return domainName_; +} + +void SetDcdnDomainSMCertificateRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long SetDcdnDomainSMCertificateRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetDcdnDomainSMCertificateRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string SetDcdnDomainSMCertificateRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetDcdnDomainSMCertificateRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string SetDcdnDomainSMCertificateRequest::getCertIdentifier()const +{ + return certIdentifier_; +} + +void SetDcdnDomainSMCertificateRequest::setCertIdentifier(const std::string& certIdentifier) +{ + certIdentifier_ = certIdentifier; + setParameter("CertIdentifier", certIdentifier); +} + diff --git a/dcdn/src/model/SetDcdnDomainSMCertificateResult.cc b/dcdn/src/model/SetDcdnDomainSMCertificateResult.cc new file mode 100644 index 000000000..4809682a7 --- /dev/null +++ b/dcdn/src/model/SetDcdnDomainSMCertificateResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +SetDcdnDomainSMCertificateResult::SetDcdnDomainSMCertificateResult() : + ServiceResult() +{} + +SetDcdnDomainSMCertificateResult::SetDcdnDomainSMCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDcdnDomainSMCertificateResult::~SetDcdnDomainSMCertificateResult() +{} + +void SetDcdnDomainSMCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} +