Delete Api.

This commit is contained in:
sdk-team
2021-05-10 02:39:56 +00:00
parent 761c9a617d
commit 131a52ee78
25 changed files with 1570 additions and 1 deletions

View File

@@ -65,6 +65,8 @@ set(dcdn_public_header_model
include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnBlockedRegionsRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnBlockedRegionsResult.h
include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailResult.h
include/alibabacloud/dcdn/model/DescribeDcdnCertificateListRequest.h
@@ -177,6 +179,8 @@ 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/DescribeDcdnSecFuncInfoRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnSecFuncInfoResult.h
include/alibabacloud/dcdn/model/DescribeDcdnServiceRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnServiceResult.h
include/alibabacloud/dcdn/model/DescribeDcdnStagingIpRequest.h
@@ -201,6 +205,8 @@ set(dcdn_public_header_model
include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageResult.h
include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropResult.h
include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropByMinuteRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropByMinuteResult.h
include/alibabacloud/dcdn/model/DescribeDcdnUserTagsRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnUserTagsResult.h
include/alibabacloud/dcdn/model/DescribeDcdnVerifyContentRequest.h
@@ -211,6 +217,10 @@ set(dcdn_public_header_model
include/alibabacloud/dcdn/model/DescribeUserDcdnIpaStatusResult.h
include/alibabacloud/dcdn/model/DescribeUserDcdnStatusRequest.h
include/alibabacloud/dcdn/model/DescribeUserDcdnStatusResult.h
include/alibabacloud/dcdn/model/DescribeUserErStatusRequest.h
include/alibabacloud/dcdn/model/DescribeUserErStatusResult.h
include/alibabacloud/dcdn/model/DescribeUserLogserviceStatusRequest.h
include/alibabacloud/dcdn/model/DescribeUserLogserviceStatusResult.h
include/alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryRequest.h
include/alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryResult.h
include/alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryRequest.h
@@ -306,6 +316,8 @@ set(dcdn_src
src/model/DescribeDcdnBgpBpsDataResult.cc
src/model/DescribeDcdnBgpTrafficDataRequest.cc
src/model/DescribeDcdnBgpTrafficDataResult.cc
src/model/DescribeDcdnBlockedRegionsRequest.cc
src/model/DescribeDcdnBlockedRegionsResult.cc
src/model/DescribeDcdnCertificateDetailRequest.cc
src/model/DescribeDcdnCertificateDetailResult.cc
src/model/DescribeDcdnCertificateListRequest.cc
@@ -418,6 +430,8 @@ set(dcdn_src
src/model/DescribeDcdnReportResult.cc
src/model/DescribeDcdnReportListRequest.cc
src/model/DescribeDcdnReportListResult.cc
src/model/DescribeDcdnSecFuncInfoRequest.cc
src/model/DescribeDcdnSecFuncInfoResult.cc
src/model/DescribeDcdnServiceRequest.cc
src/model/DescribeDcdnServiceResult.cc
src/model/DescribeDcdnStagingIpRequest.cc
@@ -442,6 +456,8 @@ set(dcdn_src
src/model/DescribeDcdnUserResourcePackageResult.cc
src/model/DescribeDcdnUserSecDropRequest.cc
src/model/DescribeDcdnUserSecDropResult.cc
src/model/DescribeDcdnUserSecDropByMinuteRequest.cc
src/model/DescribeDcdnUserSecDropByMinuteResult.cc
src/model/DescribeDcdnUserTagsRequest.cc
src/model/DescribeDcdnUserTagsResult.cc
src/model/DescribeDcdnVerifyContentRequest.cc
@@ -452,6 +468,10 @@ set(dcdn_src
src/model/DescribeUserDcdnIpaStatusResult.cc
src/model/DescribeUserDcdnStatusRequest.cc
src/model/DescribeUserDcdnStatusResult.cc
src/model/DescribeUserErStatusRequest.cc
src/model/DescribeUserErStatusResult.cc
src/model/DescribeUserLogserviceStatusRequest.cc
src/model/DescribeUserLogserviceStatusResult.cc
src/model/DisableDcdnDomainOfflineLogDeliveryRequest.cc
src/model/DisableDcdnDomainOfflineLogDeliveryResult.cc
src/model/DisableDcdnOfflineLogDeliveryRequest.cc

View File

@@ -66,6 +66,8 @@
#include "model/DescribeDcdnBgpBpsDataResult.h"
#include "model/DescribeDcdnBgpTrafficDataRequest.h"
#include "model/DescribeDcdnBgpTrafficDataResult.h"
#include "model/DescribeDcdnBlockedRegionsRequest.h"
#include "model/DescribeDcdnBlockedRegionsResult.h"
#include "model/DescribeDcdnCertificateDetailRequest.h"
#include "model/DescribeDcdnCertificateDetailResult.h"
#include "model/DescribeDcdnCertificateListRequest.h"
@@ -178,6 +180,8 @@
#include "model/DescribeDcdnReportResult.h"
#include "model/DescribeDcdnReportListRequest.h"
#include "model/DescribeDcdnReportListResult.h"
#include "model/DescribeDcdnSecFuncInfoRequest.h"
#include "model/DescribeDcdnSecFuncInfoResult.h"
#include "model/DescribeDcdnServiceRequest.h"
#include "model/DescribeDcdnServiceResult.h"
#include "model/DescribeDcdnStagingIpRequest.h"
@@ -202,6 +206,8 @@
#include "model/DescribeDcdnUserResourcePackageResult.h"
#include "model/DescribeDcdnUserSecDropRequest.h"
#include "model/DescribeDcdnUserSecDropResult.h"
#include "model/DescribeDcdnUserSecDropByMinuteRequest.h"
#include "model/DescribeDcdnUserSecDropByMinuteResult.h"
#include "model/DescribeDcdnUserTagsRequest.h"
#include "model/DescribeDcdnUserTagsResult.h"
#include "model/DescribeDcdnVerifyContentRequest.h"
@@ -212,6 +218,10 @@
#include "model/DescribeUserDcdnIpaStatusResult.h"
#include "model/DescribeUserDcdnStatusRequest.h"
#include "model/DescribeUserDcdnStatusResult.h"
#include "model/DescribeUserErStatusRequest.h"
#include "model/DescribeUserErStatusResult.h"
#include "model/DescribeUserLogserviceStatusRequest.h"
#include "model/DescribeUserLogserviceStatusResult.h"
#include "model/DisableDcdnDomainOfflineLogDeliveryRequest.h"
#include "model/DisableDcdnDomainOfflineLogDeliveryResult.h"
#include "model/DisableDcdnOfflineLogDeliveryRequest.h"
@@ -335,6 +345,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnBgpTrafficDataResult> DescribeDcdnBgpTrafficDataOutcome;
typedef std::future<DescribeDcdnBgpTrafficDataOutcome> DescribeDcdnBgpTrafficDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnBgpTrafficDataRequest&, const DescribeDcdnBgpTrafficDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnBgpTrafficDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnBlockedRegionsResult> DescribeDcdnBlockedRegionsOutcome;
typedef std::future<DescribeDcdnBlockedRegionsOutcome> DescribeDcdnBlockedRegionsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnBlockedRegionsRequest&, const DescribeDcdnBlockedRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnBlockedRegionsAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnCertificateDetailResult> DescribeDcdnCertificateDetailOutcome;
typedef std::future<DescribeDcdnCertificateDetailOutcome> DescribeDcdnCertificateDetailOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnCertificateDetailRequest&, const DescribeDcdnCertificateDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnCertificateDetailAsyncHandler;
@@ -503,6 +516,9 @@ 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::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::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;
@@ -539,6 +555,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnUserSecDropResult> DescribeDcdnUserSecDropOutcome;
typedef std::future<DescribeDcdnUserSecDropOutcome> DescribeDcdnUserSecDropOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserSecDropRequest&, const DescribeDcdnUserSecDropOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserSecDropAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnUserSecDropByMinuteResult> DescribeDcdnUserSecDropByMinuteOutcome;
typedef std::future<DescribeDcdnUserSecDropByMinuteOutcome> DescribeDcdnUserSecDropByMinuteOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserSecDropByMinuteRequest&, const DescribeDcdnUserSecDropByMinuteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserSecDropByMinuteAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnUserTagsResult> DescribeDcdnUserTagsOutcome;
typedef std::future<DescribeDcdnUserTagsOutcome> DescribeDcdnUserTagsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnUserTagsRequest&, const DescribeDcdnUserTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnUserTagsAsyncHandler;
@@ -554,6 +573,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeUserDcdnStatusResult> DescribeUserDcdnStatusOutcome;
typedef std::future<DescribeUserDcdnStatusOutcome> DescribeUserDcdnStatusOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeUserDcdnStatusRequest&, const DescribeUserDcdnStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserDcdnStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeUserErStatusResult> DescribeUserErStatusOutcome;
typedef std::future<DescribeUserErStatusOutcome> DescribeUserErStatusOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeUserErStatusRequest&, const DescribeUserErStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserErStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeUserLogserviceStatusResult> DescribeUserLogserviceStatusOutcome;
typedef std::future<DescribeUserLogserviceStatusOutcome> DescribeUserLogserviceStatusOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeUserLogserviceStatusRequest&, const DescribeUserLogserviceStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserLogserviceStatusAsyncHandler;
typedef Outcome<Error, Model::DisableDcdnDomainOfflineLogDeliveryResult> DisableDcdnDomainOfflineLogDeliveryOutcome;
typedef std::future<DisableDcdnDomainOfflineLogDeliveryOutcome> DisableDcdnDomainOfflineLogDeliveryOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DisableDcdnDomainOfflineLogDeliveryRequest&, const DisableDcdnDomainOfflineLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableDcdnDomainOfflineLogDeliveryAsyncHandler;
@@ -697,6 +722,9 @@ namespace AlibabaCloud
DescribeDcdnBgpTrafficDataOutcome describeDcdnBgpTrafficData(const Model::DescribeDcdnBgpTrafficDataRequest &request)const;
void describeDcdnBgpTrafficDataAsync(const Model::DescribeDcdnBgpTrafficDataRequest& request, const DescribeDcdnBgpTrafficDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnBgpTrafficDataOutcomeCallable describeDcdnBgpTrafficDataCallable(const Model::DescribeDcdnBgpTrafficDataRequest& request) const;
DescribeDcdnBlockedRegionsOutcome describeDcdnBlockedRegions(const Model::DescribeDcdnBlockedRegionsRequest &request)const;
void describeDcdnBlockedRegionsAsync(const Model::DescribeDcdnBlockedRegionsRequest& request, const DescribeDcdnBlockedRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnBlockedRegionsOutcomeCallable describeDcdnBlockedRegionsCallable(const Model::DescribeDcdnBlockedRegionsRequest& request) const;
DescribeDcdnCertificateDetailOutcome describeDcdnCertificateDetail(const Model::DescribeDcdnCertificateDetailRequest &request)const;
void describeDcdnCertificateDetailAsync(const Model::DescribeDcdnCertificateDetailRequest& request, const DescribeDcdnCertificateDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnCertificateDetailOutcomeCallable describeDcdnCertificateDetailCallable(const Model::DescribeDcdnCertificateDetailRequest& request) const;
@@ -865,6 +893,9 @@ 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;
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;
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;
@@ -901,6 +932,9 @@ namespace AlibabaCloud
DescribeDcdnUserSecDropOutcome describeDcdnUserSecDrop(const Model::DescribeDcdnUserSecDropRequest &request)const;
void describeDcdnUserSecDropAsync(const Model::DescribeDcdnUserSecDropRequest& request, const DescribeDcdnUserSecDropAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnUserSecDropOutcomeCallable describeDcdnUserSecDropCallable(const Model::DescribeDcdnUserSecDropRequest& request) const;
DescribeDcdnUserSecDropByMinuteOutcome describeDcdnUserSecDropByMinute(const Model::DescribeDcdnUserSecDropByMinuteRequest &request)const;
void describeDcdnUserSecDropByMinuteAsync(const Model::DescribeDcdnUserSecDropByMinuteRequest& request, const DescribeDcdnUserSecDropByMinuteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnUserSecDropByMinuteOutcomeCallable describeDcdnUserSecDropByMinuteCallable(const Model::DescribeDcdnUserSecDropByMinuteRequest& request) const;
DescribeDcdnUserTagsOutcome describeDcdnUserTags(const Model::DescribeDcdnUserTagsRequest &request)const;
void describeDcdnUserTagsAsync(const Model::DescribeDcdnUserTagsRequest& request, const DescribeDcdnUserTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnUserTagsOutcomeCallable describeDcdnUserTagsCallable(const Model::DescribeDcdnUserTagsRequest& request) const;
@@ -916,6 +950,12 @@ namespace AlibabaCloud
DescribeUserDcdnStatusOutcome describeUserDcdnStatus(const Model::DescribeUserDcdnStatusRequest &request)const;
void describeUserDcdnStatusAsync(const Model::DescribeUserDcdnStatusRequest& request, const DescribeUserDcdnStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserDcdnStatusOutcomeCallable describeUserDcdnStatusCallable(const Model::DescribeUserDcdnStatusRequest& request) const;
DescribeUserErStatusOutcome describeUserErStatus(const Model::DescribeUserErStatusRequest &request)const;
void describeUserErStatusAsync(const Model::DescribeUserErStatusRequest& request, const DescribeUserErStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserErStatusOutcomeCallable describeUserErStatusCallable(const Model::DescribeUserErStatusRequest& request) const;
DescribeUserLogserviceStatusOutcome describeUserLogserviceStatus(const Model::DescribeUserLogserviceStatusRequest &request)const;
void describeUserLogserviceStatusAsync(const Model::DescribeUserLogserviceStatusRequest& request, const DescribeUserLogserviceStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserLogserviceStatusOutcomeCallable describeUserLogserviceStatusCallable(const Model::DescribeUserLogserviceStatusRequest& request) const;
DisableDcdnDomainOfflineLogDeliveryOutcome disableDcdnDomainOfflineLogDelivery(const Model::DisableDcdnDomainOfflineLogDeliveryRequest &request)const;
void disableDcdnDomainOfflineLogDeliveryAsync(const Model::DisableDcdnDomainOfflineLogDeliveryRequest& request, const DisableDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableDcdnDomainOfflineLogDeliveryOutcomeCallable disableDcdnDomainOfflineLogDeliveryCallable(const Model::DisableDcdnDomainOfflineLogDeliveryRequest& 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_DESCRIBEDCDNBLOCKEDREGIONSREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBLOCKEDREGIONSREQUEST_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 DescribeDcdnBlockedRegionsRequest : public RpcServiceRequest
{
public:
DescribeDcdnBlockedRegionsRequest();
~DescribeDcdnBlockedRegionsRequest();
std::string getLanguage()const;
void setLanguage(const std::string& language);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string language_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBLOCKEDREGIONSREQUEST_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_DESCRIBEDCDNBLOCKEDREGIONSRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBLOCKEDREGIONSRESULT_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 DescribeDcdnBlockedRegionsResult : public ServiceResult
{
public:
struct InfoItem
{
std::string continent;
std::string countriesAndRegionsName;
std::string countriesAndRegions;
};
DescribeDcdnBlockedRegionsResult();
explicit DescribeDcdnBlockedRegionsResult(const std::string &payload);
~DescribeDcdnBlockedRegionsResult();
std::vector<InfoItem> getInfoList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<InfoItem> infoList_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBLOCKEDREGIONSRESULT_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_DESCRIBEDCDNSECFUNCINFOREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECFUNCINFOREQUEST_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 DescribeDcdnSecFuncInfoRequest : public RpcServiceRequest
{
public:
DescribeDcdnSecFuncInfoRequest();
~DescribeDcdnSecFuncInfoRequest();
std::string getLang()const;
void setLang(const std::string& lang);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSecFuncType()const;
void setSecFuncType(const std::string& secFuncType);
private:
std::string lang_;
long ownerId_;
std::string secFuncType_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECFUNCINFOREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECFUNCINFORESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECFUNCINFORESULT_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 DescribeDcdnSecFuncInfoResult : public ServiceResult
{
public:
struct ContentItem
{
std::string label;
std::string value;
};
DescribeDcdnSecFuncInfoResult();
explicit DescribeDcdnSecFuncInfoResult(const std::string &payload);
~DescribeDcdnSecFuncInfoResult();
std::string getDescription()const;
std::string getRetCode()const;
std::string getHttpStatus()const;
std::vector<ContentItem> getContent()const;
protected:
void parse(const std::string &payload);
private:
std::string description_;
std::string retCode_;
std::string httpStatus_;
std::vector<ContentItem> content_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECFUNCINFORESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPBYMINUTEREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPBYMINUTEREQUEST_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 DescribeDcdnUserSecDropByMinuteRequest : public RpcServiceRequest
{
public:
DescribeDcdnUserSecDropByMinuteRequest();
~DescribeDcdnUserSecDropByMinuteRequest();
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
long getPageNumber()const;
void setPageNumber(long pageNumber);
long getPageSize()const;
void setPageSize(long pageSize);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSecFunc()const;
void setSecFunc(const std::string& secFunc);
std::string getObject()const;
void setObject(const std::string& object);
private:
std::string ruleName_;
std::string startTime_;
long pageNumber_;
long pageSize_;
std::string lang_;
std::string domainName_;
std::string endTime_;
long ownerId_;
std::string secFunc_;
std::string object_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPBYMINUTEREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPBYMINUTERESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPBYMINUTERESULT_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 DescribeDcdnUserSecDropByMinuteResult : public ServiceResult
{
public:
struct RowsItem
{
std::string secFunc;
int drops;
std::string object;
std::string tmStr;
std::string domain;
std::string ruleName;
};
DescribeDcdnUserSecDropByMinuteResult();
explicit DescribeDcdnUserSecDropByMinuteResult(const std::string &payload);
~DescribeDcdnUserSecDropByMinuteResult();
int getTotalCount()const;
std::string getDescription()const;
int getLen()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<RowsItem> getRows()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string description_;
int len_;
int pageSize_;
int pageNumber_;
std::vector<RowsItem> rows_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPBYMINUTERESULT_H_

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_DESCRIBEUSERERSTATUSREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERERSTATUSREQUEST_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 DescribeUserErStatusRequest : public RpcServiceRequest
{
public:
DescribeUserErStatusRequest();
~DescribeUserErStatusRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
private:
long ownerId_;
std::string securityToken_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERERSTATUSREQUEST_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_DESCRIBEUSERERSTATUSRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERERSTATUSRESULT_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 DescribeUserErStatusResult : public ServiceResult
{
public:
DescribeUserErStatusResult();
explicit DescribeUserErStatusResult(const std::string &payload);
~DescribeUserErStatusResult();
bool getInDebt()const;
bool getEnabled()const;
bool getInDebtOverdue()const;
bool getOnService()const;
protected:
void parse(const std::string &payload);
private:
bool inDebt_;
bool enabled_;
bool inDebtOverdue_;
bool onService_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERERSTATUSRESULT_H_

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_DESCRIBEUSERLOGSERVICESTATUSREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERLOGSERVICESTATUSREQUEST_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 DescribeUserLogserviceStatusRequest : public RpcServiceRequest
{
public:
DescribeUserLogserviceStatusRequest();
~DescribeUserLogserviceStatusRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
private:
long ownerId_;
std::string securityToken_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERLOGSERVICESTATUSREQUEST_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_DESCRIBEUSERLOGSERVICESTATUSRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERLOGSERVICESTATUSRESULT_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 DescribeUserLogserviceStatusResult : public ServiceResult
{
public:
DescribeUserLogserviceStatusResult();
explicit DescribeUserLogserviceStatusResult(const std::string &payload);
~DescribeUserLogserviceStatusResult();
bool getInDebt()const;
bool getEnabled()const;
bool getInDebtOverdue()const;
bool getOnService()const;
protected:
void parse(const std::string &payload);
private:
bool inDebt_;
bool enabled_;
bool inDebtOverdue_;
bool onService_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERLOGSERVICESTATUSRESULT_H_

View File

@@ -843,6 +843,42 @@ DcdnClient::DescribeDcdnBgpTrafficDataOutcomeCallable DcdnClient::describeDcdnBg
return task->get_future();
}
DcdnClient::DescribeDcdnBlockedRegionsOutcome DcdnClient::describeDcdnBlockedRegions(const DescribeDcdnBlockedRegionsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnBlockedRegionsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnBlockedRegionsOutcome(DescribeDcdnBlockedRegionsResult(outcome.result()));
else
return DescribeDcdnBlockedRegionsOutcome(outcome.error());
}
void DcdnClient::describeDcdnBlockedRegionsAsync(const DescribeDcdnBlockedRegionsRequest& request, const DescribeDcdnBlockedRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnBlockedRegions(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnBlockedRegionsOutcomeCallable DcdnClient::describeDcdnBlockedRegionsCallable(const DescribeDcdnBlockedRegionsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnBlockedRegionsOutcome()>>(
[this, request]()
{
return this->describeDcdnBlockedRegions(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnCertificateDetailOutcome DcdnClient::describeDcdnCertificateDetail(const DescribeDcdnCertificateDetailRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2859,6 +2895,42 @@ DcdnClient::DescribeDcdnReportListOutcomeCallable DcdnClient::describeDcdnReport
return task->get_future();
}
DcdnClient::DescribeDcdnSecFuncInfoOutcome DcdnClient::describeDcdnSecFuncInfo(const DescribeDcdnSecFuncInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnSecFuncInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnSecFuncInfoOutcome(DescribeDcdnSecFuncInfoResult(outcome.result()));
else
return DescribeDcdnSecFuncInfoOutcome(outcome.error());
}
void DcdnClient::describeDcdnSecFuncInfoAsync(const DescribeDcdnSecFuncInfoRequest& request, const DescribeDcdnSecFuncInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnSecFuncInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnSecFuncInfoOutcomeCallable DcdnClient::describeDcdnSecFuncInfoCallable(const DescribeDcdnSecFuncInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnSecFuncInfoOutcome()>>(
[this, request]()
{
return this->describeDcdnSecFuncInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnServiceOutcome DcdnClient::describeDcdnService(const DescribeDcdnServiceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3291,6 +3363,42 @@ DcdnClient::DescribeDcdnUserSecDropOutcomeCallable DcdnClient::describeDcdnUserS
return task->get_future();
}
DcdnClient::DescribeDcdnUserSecDropByMinuteOutcome DcdnClient::describeDcdnUserSecDropByMinute(const DescribeDcdnUserSecDropByMinuteRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnUserSecDropByMinuteOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnUserSecDropByMinuteOutcome(DescribeDcdnUserSecDropByMinuteResult(outcome.result()));
else
return DescribeDcdnUserSecDropByMinuteOutcome(outcome.error());
}
void DcdnClient::describeDcdnUserSecDropByMinuteAsync(const DescribeDcdnUserSecDropByMinuteRequest& request, const DescribeDcdnUserSecDropByMinuteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnUserSecDropByMinute(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnUserSecDropByMinuteOutcomeCallable DcdnClient::describeDcdnUserSecDropByMinuteCallable(const DescribeDcdnUserSecDropByMinuteRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnUserSecDropByMinuteOutcome()>>(
[this, request]()
{
return this->describeDcdnUserSecDropByMinute(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnUserTagsOutcome DcdnClient::describeDcdnUserTags(const DescribeDcdnUserTagsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3471,6 +3579,78 @@ DcdnClient::DescribeUserDcdnStatusOutcomeCallable DcdnClient::describeUserDcdnSt
return task->get_future();
}
DcdnClient::DescribeUserErStatusOutcome DcdnClient::describeUserErStatus(const DescribeUserErStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeUserErStatusOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeUserErStatusOutcome(DescribeUserErStatusResult(outcome.result()));
else
return DescribeUserErStatusOutcome(outcome.error());
}
void DcdnClient::describeUserErStatusAsync(const DescribeUserErStatusRequest& request, const DescribeUserErStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeUserErStatus(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeUserErStatusOutcomeCallable DcdnClient::describeUserErStatusCallable(const DescribeUserErStatusRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeUserErStatusOutcome()>>(
[this, request]()
{
return this->describeUserErStatus(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeUserLogserviceStatusOutcome DcdnClient::describeUserLogserviceStatus(const DescribeUserLogserviceStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeUserLogserviceStatusOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeUserLogserviceStatusOutcome(DescribeUserLogserviceStatusResult(outcome.result()));
else
return DescribeUserLogserviceStatusOutcome(outcome.error());
}
void DcdnClient::describeUserLogserviceStatusAsync(const DescribeUserLogserviceStatusRequest& request, const DescribeUserLogserviceStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeUserLogserviceStatus(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeUserLogserviceStatusOutcomeCallable DcdnClient::describeUserLogserviceStatusCallable(const DescribeUserLogserviceStatusRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeUserLogserviceStatusOutcome()>>(
[this, request]()
{
return this->describeUserLogserviceStatus(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DisableDcdnDomainOfflineLogDeliveryOutcome DcdnClient::disableDcdnDomainOfflineLogDelivery(const DisableDcdnDomainOfflineLogDeliveryRequest &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/DescribeDcdnBlockedRegionsRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnBlockedRegionsRequest;
DescribeDcdnBlockedRegionsRequest::DescribeDcdnBlockedRegionsRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnBlockedRegions")
{
setMethod(HttpRequest::Method::Get);
}
DescribeDcdnBlockedRegionsRequest::~DescribeDcdnBlockedRegionsRequest()
{}
std::string DescribeDcdnBlockedRegionsRequest::getLanguage()const
{
return language_;
}
void DescribeDcdnBlockedRegionsRequest::setLanguage(const std::string& language)
{
language_ = language;
setParameter("Language", language);
}
long DescribeDcdnBlockedRegionsRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnBlockedRegionsRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

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.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnBlockedRegionsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnBlockedRegionsResult::DescribeDcdnBlockedRegionsResult() :
ServiceResult()
{}
DescribeDcdnBlockedRegionsResult::DescribeDcdnBlockedRegionsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnBlockedRegionsResult::~DescribeDcdnBlockedRegionsResult()
{}
void DescribeDcdnBlockedRegionsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allInfoListNode = value["InfoList"]["InfoItem"];
for (auto valueInfoListInfoItem : allInfoListNode)
{
InfoItem infoListObject;
if(!valueInfoListInfoItem["CountriesAndRegions"].isNull())
infoListObject.countriesAndRegions = valueInfoListInfoItem["CountriesAndRegions"].asString();
if(!valueInfoListInfoItem["CountriesAndRegionsName"].isNull())
infoListObject.countriesAndRegionsName = valueInfoListInfoItem["CountriesAndRegionsName"].asString();
if(!valueInfoListInfoItem["Continent"].isNull())
infoListObject.continent = valueInfoListInfoItem["Continent"].asString();
infoList_.push_back(infoListObject);
}
}
std::vector<DescribeDcdnBlockedRegionsResult::InfoItem> DescribeDcdnBlockedRegionsResult::getInfoList()const
{
return infoList_;
}

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/DescribeDcdnSecFuncInfoRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnSecFuncInfoRequest;
DescribeDcdnSecFuncInfoRequest::DescribeDcdnSecFuncInfoRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSecFuncInfo")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnSecFuncInfoRequest::~DescribeDcdnSecFuncInfoRequest()
{}
std::string DescribeDcdnSecFuncInfoRequest::getLang()const
{
return lang_;
}
void DescribeDcdnSecFuncInfoRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}
long DescribeDcdnSecFuncInfoRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnSecFuncInfoRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeDcdnSecFuncInfoRequest::getSecFuncType()const
{
return secFuncType_;
}
void DescribeDcdnSecFuncInfoRequest::setSecFuncType(const std::string& secFuncType)
{
secFuncType_ = secFuncType;
setParameter("SecFuncType", secFuncType);
}

View File

@@ -0,0 +1,80 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/DescribeDcdnSecFuncInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnSecFuncInfoResult::DescribeDcdnSecFuncInfoResult() :
ServiceResult()
{}
DescribeDcdnSecFuncInfoResult::DescribeDcdnSecFuncInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnSecFuncInfoResult::~DescribeDcdnSecFuncInfoResult()
{}
void DescribeDcdnSecFuncInfoResult::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["Label"].isNull())
contentObject.label = valueContentContentItem["Label"].asString();
if(!valueContentContentItem["Value"].isNull())
contentObject.value = valueContentContentItem["Value"].asString();
content_.push_back(contentObject);
}
if(!value["Description"].isNull())
description_ = value["Description"].asString();
if(!value["RetCode"].isNull())
retCode_ = value["RetCode"].asString();
if(!value["HttpStatus"].isNull())
httpStatus_ = value["HttpStatus"].asString();
}
std::string DescribeDcdnSecFuncInfoResult::getDescription()const
{
return description_;
}
std::string DescribeDcdnSecFuncInfoResult::getRetCode()const
{
return retCode_;
}
std::string DescribeDcdnSecFuncInfoResult::getHttpStatus()const
{
return httpStatus_;
}
std::vector<DescribeDcdnSecFuncInfoResult::ContentItem> DescribeDcdnSecFuncInfoResult::getContent()const
{
return content_;
}

View File

@@ -0,0 +1,139 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/DescribeDcdnUserSecDropByMinuteRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnUserSecDropByMinuteRequest;
DescribeDcdnUserSecDropByMinuteRequest::DescribeDcdnUserSecDropByMinuteRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserSecDropByMinute")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnUserSecDropByMinuteRequest::~DescribeDcdnUserSecDropByMinuteRequest()
{}
std::string DescribeDcdnUserSecDropByMinuteRequest::getRuleName()const
{
return ruleName_;
}
void DescribeDcdnUserSecDropByMinuteRequest::setRuleName(const std::string& ruleName)
{
ruleName_ = ruleName;
setParameter("RuleName", ruleName);
}
std::string DescribeDcdnUserSecDropByMinuteRequest::getStartTime()const
{
return startTime_;
}
void DescribeDcdnUserSecDropByMinuteRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
long DescribeDcdnUserSecDropByMinuteRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeDcdnUserSecDropByMinuteRequest::setPageNumber(long pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
long DescribeDcdnUserSecDropByMinuteRequest::getPageSize()const
{
return pageSize_;
}
void DescribeDcdnUserSecDropByMinuteRequest::setPageSize(long pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string DescribeDcdnUserSecDropByMinuteRequest::getLang()const
{
return lang_;
}
void DescribeDcdnUserSecDropByMinuteRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}
std::string DescribeDcdnUserSecDropByMinuteRequest::getDomainName()const
{
return domainName_;
}
void DescribeDcdnUserSecDropByMinuteRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
std::string DescribeDcdnUserSecDropByMinuteRequest::getEndTime()const
{
return endTime_;
}
void DescribeDcdnUserSecDropByMinuteRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
long DescribeDcdnUserSecDropByMinuteRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnUserSecDropByMinuteRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeDcdnUserSecDropByMinuteRequest::getSecFunc()const
{
return secFunc_;
}
void DescribeDcdnUserSecDropByMinuteRequest::setSecFunc(const std::string& secFunc)
{
secFunc_ = secFunc;
setParameter("SecFunc", secFunc);
}
std::string DescribeDcdnUserSecDropByMinuteRequest::getObject()const
{
return object_;
}
void DescribeDcdnUserSecDropByMinuteRequest::setObject(const std::string& object)
{
object_ = object;
setParameter("Object", object);
}

View File

@@ -0,0 +1,102 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/DescribeDcdnUserSecDropByMinuteResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnUserSecDropByMinuteResult::DescribeDcdnUserSecDropByMinuteResult() :
ServiceResult()
{}
DescribeDcdnUserSecDropByMinuteResult::DescribeDcdnUserSecDropByMinuteResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnUserSecDropByMinuteResult::~DescribeDcdnUserSecDropByMinuteResult()
{}
void DescribeDcdnUserSecDropByMinuteResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allRowsNode = value["Rows"]["RowsItem"];
for (auto valueRowsRowsItem : allRowsNode)
{
RowsItem rowsObject;
if(!valueRowsRowsItem["RuleName"].isNull())
rowsObject.ruleName = valueRowsRowsItem["RuleName"].asString();
if(!valueRowsRowsItem["Object"].isNull())
rowsObject.object = valueRowsRowsItem["Object"].asString();
if(!valueRowsRowsItem["Domain"].isNull())
rowsObject.domain = valueRowsRowsItem["Domain"].asString();
if(!valueRowsRowsItem["SecFunc"].isNull())
rowsObject.secFunc = valueRowsRowsItem["SecFunc"].asString();
if(!valueRowsRowsItem["TmStr"].isNull())
rowsObject.tmStr = valueRowsRowsItem["TmStr"].asString();
if(!valueRowsRowsItem["Drops"].isNull())
rowsObject.drops = std::stoi(valueRowsRowsItem["Drops"].asString());
rows_.push_back(rowsObject);
}
if(!value["Description"].isNull())
description_ = value["Description"].asString();
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["Len"].isNull())
len_ = std::stoi(value["Len"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
}
int DescribeDcdnUserSecDropByMinuteResult::getTotalCount()const
{
return totalCount_;
}
std::string DescribeDcdnUserSecDropByMinuteResult::getDescription()const
{
return description_;
}
int DescribeDcdnUserSecDropByMinuteResult::getLen()const
{
return len_;
}
int DescribeDcdnUserSecDropByMinuteResult::getPageSize()const
{
return pageSize_;
}
int DescribeDcdnUserSecDropByMinuteResult::getPageNumber()const
{
return pageNumber_;
}
std::vector<DescribeDcdnUserSecDropByMinuteResult::RowsItem> DescribeDcdnUserSecDropByMinuteResult::getRows()const
{
return rows_;
}

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/DescribeUserErStatusRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeUserErStatusRequest;
DescribeUserErStatusRequest::DescribeUserErStatusRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeUserErStatus")
{
setMethod(HttpRequest::Method::Post);
}
DescribeUserErStatusRequest::~DescribeUserErStatusRequest()
{}
long DescribeUserErStatusRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeUserErStatusRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeUserErStatusRequest::getSecurityToken()const
{
return securityToken_;
}
void DescribeUserErStatusRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}

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/DescribeUserErStatusResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeUserErStatusResult::DescribeUserErStatusResult() :
ServiceResult()
{}
DescribeUserErStatusResult::DescribeUserErStatusResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeUserErStatusResult::~DescribeUserErStatusResult()
{}
void DescribeUserErStatusResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Enabled"].isNull())
enabled_ = value["Enabled"].asString() == "true";
if(!value["OnService"].isNull())
onService_ = value["OnService"].asString() == "true";
if(!value["InDebt"].isNull())
inDebt_ = value["InDebt"].asString() == "true";
if(!value["InDebtOverdue"].isNull())
inDebtOverdue_ = value["InDebtOverdue"].asString() == "true";
}
bool DescribeUserErStatusResult::getInDebt()const
{
return inDebt_;
}
bool DescribeUserErStatusResult::getEnabled()const
{
return enabled_;
}
bool DescribeUserErStatusResult::getInDebtOverdue()const
{
return inDebtOverdue_;
}
bool DescribeUserErStatusResult::getOnService()const
{
return onService_;
}

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/DescribeUserLogserviceStatusRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeUserLogserviceStatusRequest;
DescribeUserLogserviceStatusRequest::DescribeUserLogserviceStatusRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeUserLogserviceStatus")
{
setMethod(HttpRequest::Method::Post);
}
DescribeUserLogserviceStatusRequest::~DescribeUserLogserviceStatusRequest()
{}
long DescribeUserLogserviceStatusRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeUserLogserviceStatusRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeUserLogserviceStatusRequest::getSecurityToken()const
{
return securityToken_;
}
void DescribeUserLogserviceStatusRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}

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/DescribeUserLogserviceStatusResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeUserLogserviceStatusResult::DescribeUserLogserviceStatusResult() :
ServiceResult()
{}
DescribeUserLogserviceStatusResult::DescribeUserLogserviceStatusResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeUserLogserviceStatusResult::~DescribeUserLogserviceStatusResult()
{}
void DescribeUserLogserviceStatusResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Enabled"].isNull())
enabled_ = value["Enabled"].asString() == "true";
if(!value["OnService"].isNull())
onService_ = value["OnService"].asString() == "true";
if(!value["InDebt"].isNull())
inDebt_ = value["InDebt"].asString() == "true";
if(!value["InDebtOverdue"].isNull())
inDebtOverdue_ = value["InDebtOverdue"].asString() == "true";
}
bool DescribeUserLogserviceStatusResult::getInDebt()const
{
return inDebt_;
}
bool DescribeUserLogserviceStatusResult::getEnabled()const
{
return enabled_;
}
bool DescribeUserLogserviceStatusResult::getInDebtOverdue()const
{
return inDebtOverdue_;
}
bool DescribeUserLogserviceStatusResult::getOnService()const
{
return onService_;
}