CDN SDK Auto Released By xiaoyao,Version:1.21.4

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
yixiong.jxy
2018-08-08 12:31:55 +08:00
parent 7282a6a906
commit 3cb89d84bd
35 changed files with 64 additions and 1461 deletions

View File

@@ -77,8 +77,6 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeDomainAverageResponseTimeResult.h
include/alibabacloud/cdn/model/DescribeLiveStreamBitRateDataRequest.h
include/alibabacloud/cdn/model/DescribeLiveStreamBitRateDataResult.h
include/alibabacloud/cdn/model/SetUserDomainBlackListRequest.h
include/alibabacloud/cdn/model/SetUserDomainBlackListResult.h
include/alibabacloud/cdn/model/SetLocationAccessRestrictionRequest.h
include/alibabacloud/cdn/model/SetLocationAccessRestrictionResult.h
include/alibabacloud/cdn/model/DescribeUserCustomLogConfigRequest.h
@@ -291,8 +289,6 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/AddLiveAppSnapshotConfigResult.h
include/alibabacloud/cdn/model/DescribeDomainISPDataRequest.h
include/alibabacloud/cdn/model/DescribeDomainISPDataResult.h
include/alibabacloud/cdn/model/ClearUserDomainBlackListRequest.h
include/alibabacloud/cdn/model/ClearUserDomainBlackListResult.h
include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataRequest.h
include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataResult.h
include/alibabacloud/cdn/model/DescribeLiveSpecificDomainMappingRequest.h
@@ -311,10 +307,6 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/UpdateFCTriggerResult.h
include/alibabacloud/cdn/model/DescribeFCTriggerRequest.h
include/alibabacloud/cdn/model/DescribeFCTriggerResult.h
include/alibabacloud/cdn/model/SetUserBlackListRequest.h
include/alibabacloud/cdn/model/SetUserBlackListResult.h
include/alibabacloud/cdn/model/GetUserDomainBlackListRequest.h
include/alibabacloud/cdn/model/GetUserDomainBlackListResult.h
include/alibabacloud/cdn/model/DescribeDomainCCAttackInfoRequest.h
include/alibabacloud/cdn/model/DescribeDomainCCAttackInfoResult.h
include/alibabacloud/cdn/model/DescribeLiveStreamsPublishListRequest.h
@@ -325,8 +317,6 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DeleteLivePullStreamInfoResult.h
include/alibabacloud/cdn/model/DescribeDomainDownstreamBpsOfEdgeRequest.h
include/alibabacloud/cdn/model/DescribeDomainDownstreamBpsOfEdgeResult.h
include/alibabacloud/cdn/model/ClearUserBlackListRequest.h
include/alibabacloud/cdn/model/ClearUserBlackListResult.h
include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataRequest.h
include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataResult.h
include/alibabacloud/cdn/model/SetHttpsOptionConfigRequest.h
@@ -428,8 +418,6 @@ set(cdn_src
src/model/DescribeDomainAverageResponseTimeResult.cc
src/model/DescribeLiveStreamBitRateDataRequest.cc
src/model/DescribeLiveStreamBitRateDataResult.cc
src/model/SetUserDomainBlackListRequest.cc
src/model/SetUserDomainBlackListResult.cc
src/model/SetLocationAccessRestrictionRequest.cc
src/model/SetLocationAccessRestrictionResult.cc
src/model/DescribeUserCustomLogConfigRequest.cc
@@ -642,8 +630,6 @@ set(cdn_src
src/model/AddLiveAppSnapshotConfigResult.cc
src/model/DescribeDomainISPDataRequest.cc
src/model/DescribeDomainISPDataResult.cc
src/model/ClearUserDomainBlackListRequest.cc
src/model/ClearUserDomainBlackListResult.cc
src/model/DescribeDomainFileSizeProportionDataRequest.cc
src/model/DescribeDomainFileSizeProportionDataResult.cc
src/model/DescribeLiveSpecificDomainMappingRequest.cc
@@ -662,10 +648,6 @@ set(cdn_src
src/model/UpdateFCTriggerResult.cc
src/model/DescribeFCTriggerRequest.cc
src/model/DescribeFCTriggerResult.cc
src/model/SetUserBlackListRequest.cc
src/model/SetUserBlackListResult.cc
src/model/GetUserDomainBlackListRequest.cc
src/model/GetUserDomainBlackListResult.cc
src/model/DescribeDomainCCAttackInfoRequest.cc
src/model/DescribeDomainCCAttackInfoResult.cc
src/model/DescribeLiveStreamsPublishListRequest.cc
@@ -676,8 +658,6 @@ set(cdn_src
src/model/DeleteLivePullStreamInfoResult.cc
src/model/DescribeDomainDownstreamBpsOfEdgeRequest.cc
src/model/DescribeDomainDownstreamBpsOfEdgeResult.cc
src/model/ClearUserBlackListRequest.cc
src/model/ClearUserBlackListResult.cc
src/model/DescribeDomainMax95BpsDataRequest.cc
src/model/DescribeDomainMax95BpsDataResult.cc
src/model/SetHttpsOptionConfigRequest.cc

View File

@@ -78,8 +78,6 @@
#include "model/DescribeDomainAverageResponseTimeResult.h"
#include "model/DescribeLiveStreamBitRateDataRequest.h"
#include "model/DescribeLiveStreamBitRateDataResult.h"
#include "model/SetUserDomainBlackListRequest.h"
#include "model/SetUserDomainBlackListResult.h"
#include "model/SetLocationAccessRestrictionRequest.h"
#include "model/SetLocationAccessRestrictionResult.h"
#include "model/DescribeUserCustomLogConfigRequest.h"
@@ -292,8 +290,6 @@
#include "model/AddLiveAppSnapshotConfigResult.h"
#include "model/DescribeDomainISPDataRequest.h"
#include "model/DescribeDomainISPDataResult.h"
#include "model/ClearUserDomainBlackListRequest.h"
#include "model/ClearUserDomainBlackListResult.h"
#include "model/DescribeDomainFileSizeProportionDataRequest.h"
#include "model/DescribeDomainFileSizeProportionDataResult.h"
#include "model/DescribeLiveSpecificDomainMappingRequest.h"
@@ -312,10 +308,6 @@
#include "model/UpdateFCTriggerResult.h"
#include "model/DescribeFCTriggerRequest.h"
#include "model/DescribeFCTriggerResult.h"
#include "model/SetUserBlackListRequest.h"
#include "model/SetUserBlackListResult.h"
#include "model/GetUserDomainBlackListRequest.h"
#include "model/GetUserDomainBlackListResult.h"
#include "model/DescribeDomainCCAttackInfoRequest.h"
#include "model/DescribeDomainCCAttackInfoResult.h"
#include "model/DescribeLiveStreamsPublishListRequest.h"
@@ -326,8 +318,6 @@
#include "model/DeleteLivePullStreamInfoResult.h"
#include "model/DescribeDomainDownstreamBpsOfEdgeRequest.h"
#include "model/DescribeDomainDownstreamBpsOfEdgeResult.h"
#include "model/ClearUserBlackListRequest.h"
#include "model/ClearUserBlackListResult.h"
#include "model/DescribeDomainMax95BpsDataRequest.h"
#include "model/DescribeDomainMax95BpsDataResult.h"
#include "model/SetHttpsOptionConfigRequest.h"
@@ -463,9 +453,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeLiveStreamBitRateDataResult> DescribeLiveStreamBitRateDataOutcome;
typedef std::future<DescribeLiveStreamBitRateDataOutcome> DescribeLiveStreamBitRateDataOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamBitRateDataRequest&, const DescribeLiveStreamBitRateDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamBitRateDataAsyncHandler;
typedef Outcome<Error, Model::SetUserDomainBlackListResult> SetUserDomainBlackListOutcome;
typedef std::future<SetUserDomainBlackListOutcome> SetUserDomainBlackListOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetUserDomainBlackListRequest&, const SetUserDomainBlackListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetUserDomainBlackListAsyncHandler;
typedef Outcome<Error, Model::SetLocationAccessRestrictionResult> SetLocationAccessRestrictionOutcome;
typedef std::future<SetLocationAccessRestrictionOutcome> SetLocationAccessRestrictionOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetLocationAccessRestrictionRequest&, const SetLocationAccessRestrictionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetLocationAccessRestrictionAsyncHandler;
@@ -784,9 +771,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDomainISPDataResult> DescribeDomainISPDataOutcome;
typedef std::future<DescribeDomainISPDataOutcome> DescribeDomainISPDataOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainISPDataRequest&, const DescribeDomainISPDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainISPDataAsyncHandler;
typedef Outcome<Error, Model::ClearUserDomainBlackListResult> ClearUserDomainBlackListOutcome;
typedef std::future<ClearUserDomainBlackListOutcome> ClearUserDomainBlackListOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ClearUserDomainBlackListRequest&, const ClearUserDomainBlackListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ClearUserDomainBlackListAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainFileSizeProportionDataResult> DescribeDomainFileSizeProportionDataOutcome;
typedef std::future<DescribeDomainFileSizeProportionDataOutcome> DescribeDomainFileSizeProportionDataOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainFileSizeProportionDataRequest&, const DescribeDomainFileSizeProportionDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainFileSizeProportionDataAsyncHandler;
@@ -814,12 +798,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeFCTriggerResult> DescribeFCTriggerOutcome;
typedef std::future<DescribeFCTriggerOutcome> DescribeFCTriggerOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeFCTriggerRequest&, const DescribeFCTriggerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFCTriggerAsyncHandler;
typedef Outcome<Error, Model::SetUserBlackListResult> SetUserBlackListOutcome;
typedef std::future<SetUserBlackListOutcome> SetUserBlackListOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetUserBlackListRequest&, const SetUserBlackListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetUserBlackListAsyncHandler;
typedef Outcome<Error, Model::GetUserDomainBlackListResult> GetUserDomainBlackListOutcome;
typedef std::future<GetUserDomainBlackListOutcome> GetUserDomainBlackListOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::GetUserDomainBlackListRequest&, const GetUserDomainBlackListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserDomainBlackListAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainCCAttackInfoResult> DescribeDomainCCAttackInfoOutcome;
typedef std::future<DescribeDomainCCAttackInfoOutcome> DescribeDomainCCAttackInfoOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainCCAttackInfoRequest&, const DescribeDomainCCAttackInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainCCAttackInfoAsyncHandler;
@@ -835,9 +813,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDomainDownstreamBpsOfEdgeResult> DescribeDomainDownstreamBpsOfEdgeOutcome;
typedef std::future<DescribeDomainDownstreamBpsOfEdgeOutcome> DescribeDomainDownstreamBpsOfEdgeOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainDownstreamBpsOfEdgeRequest&, const DescribeDomainDownstreamBpsOfEdgeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainDownstreamBpsOfEdgeAsyncHandler;
typedef Outcome<Error, Model::ClearUserBlackListResult> ClearUserBlackListOutcome;
typedef std::future<ClearUserBlackListOutcome> ClearUserBlackListOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ClearUserBlackListRequest&, const ClearUserBlackListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ClearUserBlackListAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainMax95BpsDataResult> DescribeDomainMax95BpsDataOutcome;
typedef std::future<DescribeDomainMax95BpsDataOutcome> DescribeDomainMax95BpsDataOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeDomainMax95BpsDataRequest&, const DescribeDomainMax95BpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainMax95BpsDataAsyncHandler;
@@ -990,9 +965,6 @@ namespace AlibabaCloud
DescribeLiveStreamBitRateDataOutcome describeLiveStreamBitRateData(const Model::DescribeLiveStreamBitRateDataRequest &request)const;
void describeLiveStreamBitRateDataAsync(const Model::DescribeLiveStreamBitRateDataRequest& request, const DescribeLiveStreamBitRateDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLiveStreamBitRateDataOutcomeCallable describeLiveStreamBitRateDataCallable(const Model::DescribeLiveStreamBitRateDataRequest& request) const;
SetUserDomainBlackListOutcome setUserDomainBlackList(const Model::SetUserDomainBlackListRequest &request)const;
void setUserDomainBlackListAsync(const Model::SetUserDomainBlackListRequest& request, const SetUserDomainBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetUserDomainBlackListOutcomeCallable setUserDomainBlackListCallable(const Model::SetUserDomainBlackListRequest& request) const;
SetLocationAccessRestrictionOutcome setLocationAccessRestriction(const Model::SetLocationAccessRestrictionRequest &request)const;
void setLocationAccessRestrictionAsync(const Model::SetLocationAccessRestrictionRequest& request, const SetLocationAccessRestrictionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetLocationAccessRestrictionOutcomeCallable setLocationAccessRestrictionCallable(const Model::SetLocationAccessRestrictionRequest& request) const;
@@ -1311,9 +1283,6 @@ namespace AlibabaCloud
DescribeDomainISPDataOutcome describeDomainISPData(const Model::DescribeDomainISPDataRequest &request)const;
void describeDomainISPDataAsync(const Model::DescribeDomainISPDataRequest& request, const DescribeDomainISPDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainISPDataOutcomeCallable describeDomainISPDataCallable(const Model::DescribeDomainISPDataRequest& request) const;
ClearUserDomainBlackListOutcome clearUserDomainBlackList(const Model::ClearUserDomainBlackListRequest &request)const;
void clearUserDomainBlackListAsync(const Model::ClearUserDomainBlackListRequest& request, const ClearUserDomainBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ClearUserDomainBlackListOutcomeCallable clearUserDomainBlackListCallable(const Model::ClearUserDomainBlackListRequest& request) const;
DescribeDomainFileSizeProportionDataOutcome describeDomainFileSizeProportionData(const Model::DescribeDomainFileSizeProportionDataRequest &request)const;
void describeDomainFileSizeProportionDataAsync(const Model::DescribeDomainFileSizeProportionDataRequest& request, const DescribeDomainFileSizeProportionDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainFileSizeProportionDataOutcomeCallable describeDomainFileSizeProportionDataCallable(const Model::DescribeDomainFileSizeProportionDataRequest& request) const;
@@ -1341,12 +1310,6 @@ namespace AlibabaCloud
DescribeFCTriggerOutcome describeFCTrigger(const Model::DescribeFCTriggerRequest &request)const;
void describeFCTriggerAsync(const Model::DescribeFCTriggerRequest& request, const DescribeFCTriggerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeFCTriggerOutcomeCallable describeFCTriggerCallable(const Model::DescribeFCTriggerRequest& request) const;
SetUserBlackListOutcome setUserBlackList(const Model::SetUserBlackListRequest &request)const;
void setUserBlackListAsync(const Model::SetUserBlackListRequest& request, const SetUserBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetUserBlackListOutcomeCallable setUserBlackListCallable(const Model::SetUserBlackListRequest& request) const;
GetUserDomainBlackListOutcome getUserDomainBlackList(const Model::GetUserDomainBlackListRequest &request)const;
void getUserDomainBlackListAsync(const Model::GetUserDomainBlackListRequest& request, const GetUserDomainBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserDomainBlackListOutcomeCallable getUserDomainBlackListCallable(const Model::GetUserDomainBlackListRequest& request) const;
DescribeDomainCCAttackInfoOutcome describeDomainCCAttackInfo(const Model::DescribeDomainCCAttackInfoRequest &request)const;
void describeDomainCCAttackInfoAsync(const Model::DescribeDomainCCAttackInfoRequest& request, const DescribeDomainCCAttackInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainCCAttackInfoOutcomeCallable describeDomainCCAttackInfoCallable(const Model::DescribeDomainCCAttackInfoRequest& request) const;
@@ -1362,9 +1325,6 @@ namespace AlibabaCloud
DescribeDomainDownstreamBpsOfEdgeOutcome describeDomainDownstreamBpsOfEdge(const Model::DescribeDomainDownstreamBpsOfEdgeRequest &request)const;
void describeDomainDownstreamBpsOfEdgeAsync(const Model::DescribeDomainDownstreamBpsOfEdgeRequest& request, const DescribeDomainDownstreamBpsOfEdgeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainDownstreamBpsOfEdgeOutcomeCallable describeDomainDownstreamBpsOfEdgeCallable(const Model::DescribeDomainDownstreamBpsOfEdgeRequest& request) const;
ClearUserBlackListOutcome clearUserBlackList(const Model::ClearUserBlackListRequest &request)const;
void clearUserBlackListAsync(const Model::ClearUserBlackListRequest& request, const ClearUserBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ClearUserBlackListOutcomeCallable clearUserBlackListCallable(const Model::ClearUserBlackListRequest& request) const;
DescribeDomainMax95BpsDataOutcome describeDomainMax95BpsData(const Model::DescribeDomainMax95BpsDataRequest &request)const;
void describeDomainMax95BpsDataAsync(const Model::DescribeDomainMax95BpsDataRequest& request, const DescribeDomainMax95BpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainMax95BpsDataOutcomeCallable describeDomainMax95BpsDataCallable(const Model::DescribeDomainMax95BpsDataRequest& request) const;

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_CLEARUSERBLACKLISTREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_CLEARUSERBLACKLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT ClearUserBlackListRequest : public RpcServiceRequest
{
public:
ClearUserBlackListRequest();
~ClearUserBlackListRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string securityToken_;
std::string ownerAccount_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_CLEARUSERBLACKLISTREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_CLEARUSERBLACKLISTRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_CLEARUSERBLACKLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT ClearUserBlackListResult : public ServiceResult
{
public:
ClearUserBlackListResult();
explicit ClearUserBlackListResult(const std::string &payload);
~ClearUserBlackListResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_CLEARUSERBLACKLISTRESULT_H_

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_CLEARUSERDOMAINBLACKLISTREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_CLEARUSERDOMAINBLACKLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT ClearUserDomainBlackListRequest : public RpcServiceRequest
{
public:
ClearUserDomainBlackListRequest();
~ClearUserDomainBlackListRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string securityToken_;
std::string ownerAccount_;
std::string domainName_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_CLEARUSERDOMAINBLACKLISTREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_CLEARUSERDOMAINBLACKLISTRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_CLEARUSERDOMAINBLACKLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT ClearUserDomainBlackListResult : public ServiceResult
{
public:
ClearUserDomainBlackListResult();
explicit ClearUserDomainBlackListResult(const std::string &payload);
~ClearUserDomainBlackListResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_CLEARUSERDOMAINBLACKLISTRESULT_H_

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
void setPopProduct(const std::string& popProduct);
std::string getProduct()const;
void setProduct(const std::string& product);
long getCallerParentId()const;
@@ -80,6 +82,7 @@ namespace AlibabaCloud
private:
std::string app_ip_;
std::string popProduct_;
std::string product_;
long callerParentId_;
std::string domainName_;

View File

@@ -35,14 +35,19 @@ namespace AlibabaCloud
struct CertInfo
{
std::string status;
std::string certLife;
std::string domainName;
std::string certType;
std::string certStartTime;
std::string serverCertificateStatus;
std::string serverCertificate;
std::string certUpdateTime;
std::string certLife;
std::string certDomainName;
std::string certOrg;
std::string certType;
std::string certCommonName;
std::string certExpireTime;
std::string domainCnameStatus;
std::string certName;
std::string serverCertificateStatus;
};

View File

@@ -67,6 +67,8 @@ namespace AlibabaCloud
void setCallerUid(long callerUid);
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
@@ -103,6 +105,7 @@ namespace AlibabaCloud
std::string callerUidEmail_;
long callerUid_;
std::string app_ip_;
std::string product_;
std::string domainName_;
std::string endTime_;
std::string callerBid_;

View File

@@ -35,20 +35,11 @@ namespace AlibabaCloud
DescribeUserCustomLogConfigRequest();
~DescribeUserCustomLogConfigRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getVersion()const;
void setVersion(const std::string& version);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string securityToken_;
long ownerId_;
std::string version_;
std::string accessKeyId_;
};
}

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_GETUSERDOMAINBLACKLISTREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_GETUSERDOMAINBLACKLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT GetUserDomainBlackListRequest : public RpcServiceRequest
{
public:
GetUserDomainBlackListRequest();
~GetUserDomainBlackListRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string securityToken_;
std::string ownerAccount_;
std::string domainName_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_GETUSERDOMAINBLACKLISTREQUEST_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_GETUSERDOMAINBLACKLISTRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_GETUSERDOMAINBLACKLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT GetUserDomainBlackListResult : public ServiceResult
{
public:
GetUserDomainBlackListResult();
explicit GetUserDomainBlackListResult(const std::string &payload);
~GetUserDomainBlackListResult();
std::string getBind()const;
protected:
void parse(const std::string &payload);
private:
std::string bind_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_GETUSERDOMAINBLACKLISTRESULT_H_

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
PushObjectCacheRequest();
~PushObjectCacheRequest();
std::string getArea()const;
void setArea(const std::string& area);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getObjectPath()const;
@@ -45,6 +47,7 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string area_;
std::string securityToken_;
std::string objectPath_;
long ownerId_;

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_SETUSERBLACKLISTREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_SETUSERBLACKLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT SetUserBlackListRequest : public RpcServiceRequest
{
public:
SetUserBlackListRequest();
~SetUserBlackListRequest();
std::string getConfigUrl()const;
void setConfigUrl(const std::string& configUrl);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string configUrl_;
std::string securityToken_;
std::string ownerAccount_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_SETUSERBLACKLISTREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_SETUSERBLACKLISTRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_SETUSERBLACKLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT SetUserBlackListResult : public ServiceResult
{
public:
SetUserBlackListResult();
explicit SetUserBlackListResult(const std::string &payload);
~SetUserBlackListResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_SETUSERBLACKLISTRESULT_H_

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_SETUSERDOMAINBLACKLISTREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_SETUSERDOMAINBLACKLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT SetUserDomainBlackListRequest : public RpcServiceRequest
{
public:
SetUserDomainBlackListRequest();
~SetUserDomainBlackListRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string securityToken_;
std::string ownerAccount_;
std::string domainName_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_SETUSERDOMAINBLACKLISTREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_SETUSERDOMAINBLACKLISTRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_SETUSERDOMAINBLACKLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT SetUserDomainBlackListResult : public ServiceResult
{
public:
SetUserDomainBlackListResult();
explicit SetUserDomainBlackListResult(const std::string &payload);
~SetUserDomainBlackListResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_SETUSERDOMAINBLACKLISTRESULT_H_

View File

@@ -1059,42 +1059,6 @@ CdnClient::DescribeLiveStreamBitRateDataOutcomeCallable CdnClient::describeLiveS
return task->get_future();
}
CdnClient::SetUserDomainBlackListOutcome CdnClient::setUserDomainBlackList(const SetUserDomainBlackListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetUserDomainBlackListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SetUserDomainBlackListOutcome(SetUserDomainBlackListResult(outcome.result()));
else
return SetUserDomainBlackListOutcome(outcome.error());
}
void CdnClient::setUserDomainBlackListAsync(const SetUserDomainBlackListRequest& request, const SetUserDomainBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, setUserDomainBlackList(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::SetUserDomainBlackListOutcomeCallable CdnClient::setUserDomainBlackListCallable(const SetUserDomainBlackListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SetUserDomainBlackListOutcome()>>(
[this, request]()
{
return this->setUserDomainBlackList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::SetLocationAccessRestrictionOutcome CdnClient::setLocationAccessRestriction(const SetLocationAccessRestrictionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -4911,42 +4875,6 @@ CdnClient::DescribeDomainISPDataOutcomeCallable CdnClient::describeDomainISPData
return task->get_future();
}
CdnClient::ClearUserDomainBlackListOutcome CdnClient::clearUserDomainBlackList(const ClearUserDomainBlackListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ClearUserDomainBlackListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ClearUserDomainBlackListOutcome(ClearUserDomainBlackListResult(outcome.result()));
else
return ClearUserDomainBlackListOutcome(outcome.error());
}
void CdnClient::clearUserDomainBlackListAsync(const ClearUserDomainBlackListRequest& request, const ClearUserDomainBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, clearUserDomainBlackList(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::ClearUserDomainBlackListOutcomeCallable CdnClient::clearUserDomainBlackListCallable(const ClearUserDomainBlackListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ClearUserDomainBlackListOutcome()>>(
[this, request]()
{
return this->clearUserDomainBlackList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::DescribeDomainFileSizeProportionDataOutcome CdnClient::describeDomainFileSizeProportionData(const DescribeDomainFileSizeProportionDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -5271,78 +5199,6 @@ CdnClient::DescribeFCTriggerOutcomeCallable CdnClient::describeFCTriggerCallable
return task->get_future();
}
CdnClient::SetUserBlackListOutcome CdnClient::setUserBlackList(const SetUserBlackListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetUserBlackListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SetUserBlackListOutcome(SetUserBlackListResult(outcome.result()));
else
return SetUserBlackListOutcome(outcome.error());
}
void CdnClient::setUserBlackListAsync(const SetUserBlackListRequest& request, const SetUserBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, setUserBlackList(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::SetUserBlackListOutcomeCallable CdnClient::setUserBlackListCallable(const SetUserBlackListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SetUserBlackListOutcome()>>(
[this, request]()
{
return this->setUserBlackList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::GetUserDomainBlackListOutcome CdnClient::getUserDomainBlackList(const GetUserDomainBlackListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetUserDomainBlackListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetUserDomainBlackListOutcome(GetUserDomainBlackListResult(outcome.result()));
else
return GetUserDomainBlackListOutcome(outcome.error());
}
void CdnClient::getUserDomainBlackListAsync(const GetUserDomainBlackListRequest& request, const GetUserDomainBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getUserDomainBlackList(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::GetUserDomainBlackListOutcomeCallable CdnClient::getUserDomainBlackListCallable(const GetUserDomainBlackListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetUserDomainBlackListOutcome()>>(
[this, request]()
{
return this->getUserDomainBlackList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::DescribeDomainCCAttackInfoOutcome CdnClient::describeDomainCCAttackInfo(const DescribeDomainCCAttackInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -5523,42 +5379,6 @@ CdnClient::DescribeDomainDownstreamBpsOfEdgeOutcomeCallable CdnClient::describeD
return task->get_future();
}
CdnClient::ClearUserBlackListOutcome CdnClient::clearUserBlackList(const ClearUserBlackListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ClearUserBlackListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ClearUserBlackListOutcome(ClearUserBlackListResult(outcome.result()));
else
return ClearUserBlackListOutcome(outcome.error());
}
void CdnClient::clearUserBlackListAsync(const ClearUserBlackListRequest& request, const ClearUserBlackListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, clearUserBlackList(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::ClearUserBlackListOutcomeCallable CdnClient::clearUserBlackListCallable(const ClearUserBlackListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ClearUserBlackListOutcome()>>(
[this, request]()
{
return this->clearUserBlackList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::DescribeDomainMax95BpsDataOutcome CdnClient::describeDomainMax95BpsData(const DescribeDomainMax95BpsDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -1,71 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/ClearUserBlackListRequest.h>
using AlibabaCloud::Cdn::Model::ClearUserBlackListRequest;
ClearUserBlackListRequest::ClearUserBlackListRequest() :
RpcServiceRequest("cdn", "2014-11-11", "ClearUserBlackList")
{}
ClearUserBlackListRequest::~ClearUserBlackListRequest()
{}
std::string ClearUserBlackListRequest::getSecurityToken()const
{
return securityToken_;
}
void ClearUserBlackListRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string ClearUserBlackListRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void ClearUserBlackListRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long ClearUserBlackListRequest::getOwnerId()const
{
return ownerId_;
}
void ClearUserBlackListRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ClearUserBlackListRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ClearUserBlackListRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/ClearUserBlackListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
ClearUserBlackListResult::ClearUserBlackListResult() :
ServiceResult()
{}
ClearUserBlackListResult::ClearUserBlackListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ClearUserBlackListResult::~ClearUserBlackListResult()
{}
void ClearUserBlackListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,82 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/ClearUserDomainBlackListRequest.h>
using AlibabaCloud::Cdn::Model::ClearUserDomainBlackListRequest;
ClearUserDomainBlackListRequest::ClearUserDomainBlackListRequest() :
RpcServiceRequest("cdn", "2014-11-11", "ClearUserDomainBlackList")
{}
ClearUserDomainBlackListRequest::~ClearUserDomainBlackListRequest()
{}
std::string ClearUserDomainBlackListRequest::getSecurityToken()const
{
return securityToken_;
}
void ClearUserDomainBlackListRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string ClearUserDomainBlackListRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void ClearUserDomainBlackListRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
std::string ClearUserDomainBlackListRequest::getDomainName()const
{
return domainName_;
}
void ClearUserDomainBlackListRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long ClearUserDomainBlackListRequest::getOwnerId()const
{
return ownerId_;
}
void ClearUserDomainBlackListRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ClearUserDomainBlackListRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ClearUserDomainBlackListRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/ClearUserDomainBlackListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
ClearUserDomainBlackListResult::ClearUserDomainBlackListResult() :
ServiceResult()
{}
ClearUserDomainBlackListResult::ClearUserDomainBlackListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ClearUserDomainBlackListResult::~ClearUserDomainBlackListResult()
{}
void ClearUserDomainBlackListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -36,6 +36,17 @@ void DescribeDomainCertificateInfoRequest::setApp_ip(const std::string& app_ip)
setParameter("App_ip", app_ip);
}
std::string DescribeDomainCertificateInfoRequest::getPopProduct()const
{
return popProduct_;
}
void DescribeDomainCertificateInfoRequest::setPopProduct(const std::string& popProduct)
{
popProduct_ = popProduct;
setParameter("PopProduct", popProduct);
}
std::string DescribeDomainCertificateInfoRequest::getProduct()const
{
return product_;

View File

@@ -62,6 +62,16 @@ void DescribeDomainCertificateInfoResult::parse(const std::string &payload)
certInfosObject.serverCertificateStatus = value["ServerCertificateStatus"].asString();
if(!value["Status"].isNull())
certInfosObject.status = value["Status"].asString();
if(!value["ServerCertificate"].isNull())
certInfosObject.serverCertificate = value["ServerCertificate"].asString();
if(!value["CertUpdateTime"].isNull())
certInfosObject.certUpdateTime = value["CertUpdateTime"].asString();
if(!value["CertStartTime"].isNull())
certInfosObject.certStartTime = value["CertStartTime"].asString();
if(!value["CertCommonName"].isNull())
certInfosObject.certCommonName = value["CertCommonName"].asString();
if(!value["DomainCnameStatus"].isNull())
certInfosObject.domainCnameStatus = value["DomainCnameStatus"].asString();
certInfos_.push_back(certInfosObject);
}

View File

@@ -201,6 +201,17 @@ void DescribeDomainPathDataRequest::setApp_ip(const std::string& app_ip)
setParameter("App_ip", app_ip);
}
std::string DescribeDomainPathDataRequest::getProduct()const
{
return product_;
}
void DescribeDomainPathDataRequest::setProduct(const std::string& product)
{
product_ = product;
setParameter("Product", product);
}
std::string DescribeDomainPathDataRequest::getDomainName()const
{
return domainName_;

View File

@@ -25,17 +25,6 @@ DescribeUserCustomLogConfigRequest::DescribeUserCustomLogConfigRequest() :
DescribeUserCustomLogConfigRequest::~DescribeUserCustomLogConfigRequest()
{}
std::string DescribeUserCustomLogConfigRequest::getSecurityToken()const
{
return securityToken_;
}
void DescribeUserCustomLogConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
long DescribeUserCustomLogConfigRequest::getOwnerId()const
{
return ownerId_;
@@ -47,25 +36,3 @@ void DescribeUserCustomLogConfigRequest::setOwnerId(long ownerId)
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeUserCustomLogConfigRequest::getVersion()const
{
return version_;
}
void DescribeUserCustomLogConfigRequest::setVersion(const std::string& version)
{
version_ = version;
setParameter("Version", version);
}
std::string DescribeUserCustomLogConfigRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeUserCustomLogConfigRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,82 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/GetUserDomainBlackListRequest.h>
using AlibabaCloud::Cdn::Model::GetUserDomainBlackListRequest;
GetUserDomainBlackListRequest::GetUserDomainBlackListRequest() :
RpcServiceRequest("cdn", "2014-11-11", "GetUserDomainBlackList")
{}
GetUserDomainBlackListRequest::~GetUserDomainBlackListRequest()
{}
std::string GetUserDomainBlackListRequest::getSecurityToken()const
{
return securityToken_;
}
void GetUserDomainBlackListRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string GetUserDomainBlackListRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void GetUserDomainBlackListRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
std::string GetUserDomainBlackListRequest::getDomainName()const
{
return domainName_;
}
void GetUserDomainBlackListRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long GetUserDomainBlackListRequest::getOwnerId()const
{
return ownerId_;
}
void GetUserDomainBlackListRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string GetUserDomainBlackListRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetUserDomainBlackListRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,52 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/GetUserDomainBlackListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
GetUserDomainBlackListResult::GetUserDomainBlackListResult() :
ServiceResult()
{}
GetUserDomainBlackListResult::GetUserDomainBlackListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetUserDomainBlackListResult::~GetUserDomainBlackListResult()
{}
void GetUserDomainBlackListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Bind"].isNull())
bind_ = value["Bind"].asString();
}
std::string GetUserDomainBlackListResult::getBind()const
{
return bind_;
}

View File

@@ -25,6 +25,17 @@ PushObjectCacheRequest::PushObjectCacheRequest() :
PushObjectCacheRequest::~PushObjectCacheRequest()
{}
std::string PushObjectCacheRequest::getArea()const
{
return area_;
}
void PushObjectCacheRequest::setArea(const std::string& area)
{
area_ = area;
setParameter("Area", area);
}
std::string PushObjectCacheRequest::getSecurityToken()const
{
return securityToken_;

View File

@@ -1,82 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/SetUserBlackListRequest.h>
using AlibabaCloud::Cdn::Model::SetUserBlackListRequest;
SetUserBlackListRequest::SetUserBlackListRequest() :
RpcServiceRequest("cdn", "2014-11-11", "SetUserBlackList")
{}
SetUserBlackListRequest::~SetUserBlackListRequest()
{}
std::string SetUserBlackListRequest::getConfigUrl()const
{
return configUrl_;
}
void SetUserBlackListRequest::setConfigUrl(const std::string& configUrl)
{
configUrl_ = configUrl;
setParameter("ConfigUrl", configUrl);
}
std::string SetUserBlackListRequest::getSecurityToken()const
{
return securityToken_;
}
void SetUserBlackListRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string SetUserBlackListRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void SetUserBlackListRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long SetUserBlackListRequest::getOwnerId()const
{
return ownerId_;
}
void SetUserBlackListRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string SetUserBlackListRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void SetUserBlackListRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/SetUserBlackListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
SetUserBlackListResult::SetUserBlackListResult() :
ServiceResult()
{}
SetUserBlackListResult::SetUserBlackListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SetUserBlackListResult::~SetUserBlackListResult()
{}
void SetUserBlackListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,82 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/SetUserDomainBlackListRequest.h>
using AlibabaCloud::Cdn::Model::SetUserDomainBlackListRequest;
SetUserDomainBlackListRequest::SetUserDomainBlackListRequest() :
RpcServiceRequest("cdn", "2014-11-11", "SetUserDomainBlackList")
{}
SetUserDomainBlackListRequest::~SetUserDomainBlackListRequest()
{}
std::string SetUserDomainBlackListRequest::getSecurityToken()const
{
return securityToken_;
}
void SetUserDomainBlackListRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string SetUserDomainBlackListRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void SetUserDomainBlackListRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
std::string SetUserDomainBlackListRequest::getDomainName()const
{
return domainName_;
}
void SetUserDomainBlackListRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long SetUserDomainBlackListRequest::getOwnerId()const
{
return ownerId_;
}
void SetUserDomainBlackListRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string SetUserDomainBlackListRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void SetUserDomainBlackListRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/SetUserDomainBlackListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
SetUserDomainBlackListResult::SetUserDomainBlackListResult() :
ServiceResult()
{}
SetUserDomainBlackListResult::SetUserDomainBlackListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SetUserDomainBlackListResult::~SetUserDomainBlackListResult()
{}
void SetUserDomainBlackListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}