Add SetDcdnDomainSMCertificate.

This commit is contained in:
sdk-team
2021-11-05 09:18:11 +00:00
parent 602862cc5e
commit ba89b8f5b6
31 changed files with 1724 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
2021-11-05 Version: 1.36.924
- Add SetDcdnDomainSMCertificate.
2021-11-05 Version: 1.36.923
- Add SetCdnDomainSMCertificate.

View File

@@ -1 +1 @@
1.36.923
1.36.924

View File

@@ -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

View File

@@ -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<Error, Model::DeleteRoutineConfEnvsResult> DeleteRoutineConfEnvsOutcome;
typedef std::future<DeleteRoutineConfEnvsOutcome> DeleteRoutineConfEnvsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DeleteRoutineConfEnvsRequest&, const DeleteRoutineConfEnvsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRoutineConfEnvsAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnAclFieldsResult> DescribeDcdnAclFieldsOutcome;
typedef std::future<DescribeDcdnAclFieldsOutcome> DescribeDcdnAclFieldsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnAclFieldsRequest&, const DescribeDcdnAclFieldsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnAclFieldsAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnBgpBpsDataResult> DescribeDcdnBgpBpsDataOutcome;
typedef std::future<DescribeDcdnBgpBpsDataOutcome> DescribeDcdnBgpBpsDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnBgpBpsDataRequest&, const DescribeDcdnBgpBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnBgpBpsDataAsyncHandler;
@@ -411,6 +426,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnCertificateListResult> DescribeDcdnCertificateListOutcome;
typedef std::future<DescribeDcdnCertificateListOutcome> DescribeDcdnCertificateListOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnCertificateListRequest&, const DescribeDcdnCertificateListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnCertificateListAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnConfigGroupDetailResult> DescribeDcdnConfigGroupDetailOutcome;
typedef std::future<DescribeDcdnConfigGroupDetailOutcome> DescribeDcdnConfigGroupDetailOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnConfigGroupDetailRequest&, const DescribeDcdnConfigGroupDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnConfigGroupDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnConfigOfVersionResult> DescribeDcdnConfigOfVersionOutcome;
typedef std::future<DescribeDcdnConfigOfVersionOutcome> DescribeDcdnConfigOfVersionOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnConfigOfVersionRequest&, const DescribeDcdnConfigOfVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnConfigOfVersionAsyncHandler;
@@ -585,9 +603,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnReportListResult> DescribeDcdnReportListOutcome;
typedef std::future<DescribeDcdnReportListOutcome> DescribeDcdnReportListOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnReportListRequest&, const DescribeDcdnReportListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnReportListAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnSMCertificateDetailResult> DescribeDcdnSMCertificateDetailOutcome;
typedef std::future<DescribeDcdnSMCertificateDetailOutcome> DescribeDcdnSMCertificateDetailOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnSMCertificateDetailRequest&, const DescribeDcdnSMCertificateDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnSMCertificateDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnSMCertificateListResult> DescribeDcdnSMCertificateListOutcome;
typedef std::future<DescribeDcdnSMCertificateListOutcome> DescribeDcdnSMCertificateListOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnSMCertificateListRequest&, const DescribeDcdnSMCertificateListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnSMCertificateListAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnSecFuncInfoResult> DescribeDcdnSecFuncInfoOutcome;
typedef std::future<DescribeDcdnSecFuncInfoOutcome> DescribeDcdnSecFuncInfoOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnSecFuncInfoRequest&, const DescribeDcdnSecFuncInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnSecFuncInfoAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnSecSpecInfoResult> DescribeDcdnSecSpecInfoOutcome;
typedef std::future<DescribeDcdnSecSpecInfoOutcome> DescribeDcdnSecSpecInfoOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnSecSpecInfoRequest&, const DescribeDcdnSecSpecInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnSecSpecInfoAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnServiceResult> DescribeDcdnServiceOutcome;
typedef std::future<DescribeDcdnServiceOutcome> DescribeDcdnServiceOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnServiceRequest&, const DescribeDcdnServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnServiceAsyncHandler;
@@ -708,6 +735,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SetDcdnDomainCertificateResult> SetDcdnDomainCertificateOutcome;
typedef std::future<SetDcdnDomainCertificateOutcome> SetDcdnDomainCertificateOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::SetDcdnDomainCertificateRequest&, const SetDcdnDomainCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDcdnDomainCertificateAsyncHandler;
typedef Outcome<Error, Model::SetDcdnDomainSMCertificateResult> SetDcdnDomainSMCertificateOutcome;
typedef std::future<SetDcdnDomainSMCertificateOutcome> SetDcdnDomainSMCertificateOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::SetDcdnDomainSMCertificateRequest&, const SetDcdnDomainSMCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDcdnDomainSMCertificateAsyncHandler;
typedef Outcome<Error, Model::SetDcdnDomainStagingConfigResult> SetDcdnDomainStagingConfigOutcome;
typedef std::future<SetDcdnDomainStagingConfigOutcome> SetDcdnDomainStagingConfigOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::SetDcdnDomainStagingConfigRequest&, const SetDcdnDomainStagingConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
SetDcdnDomainStagingConfigOutcomeCallable setDcdnDomainStagingConfigCallable(const Model::SetDcdnDomainStagingConfigRequest& request) const;

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNACLFIELDSREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNACLFIELDSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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<ContentItem> getContent()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ContentItem> content_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNACLFIELDSRESULT_H_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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<Cert> 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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSPECINFORESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSPECINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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<RuleInfoItem::ConfigItem> ruleConfigs;
std::string ruleCode;
};
DescribeDcdnSecSpecInfoResult();
explicit DescribeDcdnSecSpecInfoResult(const std::string &payload);
~DescribeDcdnSecSpecInfoResult();
std::string getVersion()const;
std::vector<RuleInfoItem> getSpecInfos()const;
protected:
void parse(const std::string &payload);
private:
std::string version_;
std::vector<RuleInfoItem> specInfos_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSPECINFORESULT_H_

View File

@@ -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_;
};
}

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
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_

View File

@@ -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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnAclFieldsOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnConfigGroupDetailOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnSMCertificateDetailOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnSMCertificateListOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDcdnSecSpecInfoOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<SetDcdnDomainSMCertificateOutcome()>>(
[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();

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnAclFieldsRequest.h>
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));
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnAclFieldsResult.h>
#include <json/json.h>
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::ContentItem> DescribeDcdnAclFieldsResult::getContent()const
{
return content_;
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailRequest.h>
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);
}

View File

@@ -0,0 +1,86 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailResult.h>
#include <json/json.h>
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_;
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailRequest.h>
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);
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailResult.h>
#include <json/json.h>
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_;
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnSMCertificateListRequest.h>
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);
}

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnSMCertificateListResult.h>
#include <json/json.h>
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_;
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoRequest.h>
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));
}

View File

@@ -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 <alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoResult.h>
#include <json/json.h>
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::RuleInfoItem> DescribeDcdnSecSpecInfoResult::getSpecInfos()const
{
return specInfos_;
}

View File

@@ -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);
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/SetDcdnDomainSMCertificateRequest.h>
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);
}

View File

@@ -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 <alibabacloud/dcdn/model/SetDcdnDomainSMCertificateResult.h>
#include <json/json.h>
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());
}