Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1bc2727696 | ||
|
|
8d73cf03cf | ||
|
|
3611eea277 | ||
|
|
c4b557376c | ||
|
|
24b001f51b | ||
|
|
15e8858e41 |
18
CHANGELOG
18
CHANGELOG
@@ -1,3 +1,21 @@
|
||||
2021-12-27 Version: 1.36.998
|
||||
- Support ACR EE, OSS, EIP for deploy.
|
||||
|
||||
2021-12-27 Version: 1.36.997
|
||||
- DescribeDBInstances Add CapacityUnit.
|
||||
|
||||
2021-12-27 Version: 1.36.996
|
||||
- Update DeleteFCTrigger.
|
||||
|
||||
2021-12-27 Version: 1.36.995
|
||||
- Add CreateDcdnSubTask.
|
||||
|
||||
2021-12-27 Version: 1.36.994
|
||||
- Add DescribeScdnDomainCcInfo.
|
||||
|
||||
2021-12-24 Version: 1.36.993
|
||||
- Supported CheckBlockVolumeName api for Checking the volume name has been already used by the OSS bucket folder.
|
||||
|
||||
2021-12-23 Version: 1.36.992
|
||||
- Fix array params.
|
||||
|
||||
|
||||
@@ -253,8 +253,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeL2VipsByDomainResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLivePullStreamConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLivePullStreamConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamBitRateDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamBitRateDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRecordContentRequest.h
|
||||
@@ -265,8 +263,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsBlockListRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsBlockListResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsOnlineListRequest.h
|
||||
@@ -387,8 +383,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/SetReqHeaderConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetSourceHostConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetSourceHostConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetUserGreenManagerConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetUserGreenManagerConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetWaitingRoomConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetWaitingRoomConfigResult.h
|
||||
include/alibabacloud/cdn/model/StartCdnDomainRequest.h
|
||||
@@ -642,8 +636,6 @@ set(cdn_src
|
||||
src/model/DescribeL2VipsByDomainResult.cc
|
||||
src/model/DescribeLivePullStreamConfigRequest.cc
|
||||
src/model/DescribeLivePullStreamConfigResult.cc
|
||||
src/model/DescribeLiveStreamBitRateDataRequest.cc
|
||||
src/model/DescribeLiveStreamBitRateDataResult.cc
|
||||
src/model/DescribeLiveStreamOnlineUserNumRequest.cc
|
||||
src/model/DescribeLiveStreamOnlineUserNumResult.cc
|
||||
src/model/DescribeLiveStreamRecordContentRequest.cc
|
||||
@@ -654,8 +646,6 @@ set(cdn_src
|
||||
src/model/DescribeLiveStreamRecordIndexFilesResult.cc
|
||||
src/model/DescribeLiveStreamSnapshotInfoRequest.cc
|
||||
src/model/DescribeLiveStreamSnapshotInfoResult.cc
|
||||
src/model/DescribeLiveStreamsBlockListRequest.cc
|
||||
src/model/DescribeLiveStreamsBlockListResult.cc
|
||||
src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc
|
||||
src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc
|
||||
src/model/DescribeLiveStreamsOnlineListRequest.cc
|
||||
@@ -776,8 +766,6 @@ set(cdn_src
|
||||
src/model/SetReqHeaderConfigResult.cc
|
||||
src/model/SetSourceHostConfigRequest.cc
|
||||
src/model/SetSourceHostConfigResult.cc
|
||||
src/model/SetUserGreenManagerConfigRequest.cc
|
||||
src/model/SetUserGreenManagerConfigResult.cc
|
||||
src/model/SetWaitingRoomConfigRequest.cc
|
||||
src/model/SetWaitingRoomConfigResult.cc
|
||||
src/model/StartCdnDomainRequest.cc
|
||||
|
||||
@@ -254,8 +254,6 @@
|
||||
#include "model/DescribeL2VipsByDomainResult.h"
|
||||
#include "model/DescribeLivePullStreamConfigRequest.h"
|
||||
#include "model/DescribeLivePullStreamConfigResult.h"
|
||||
#include "model/DescribeLiveStreamBitRateDataRequest.h"
|
||||
#include "model/DescribeLiveStreamBitRateDataResult.h"
|
||||
#include "model/DescribeLiveStreamOnlineUserNumRequest.h"
|
||||
#include "model/DescribeLiveStreamOnlineUserNumResult.h"
|
||||
#include "model/DescribeLiveStreamRecordContentRequest.h"
|
||||
@@ -266,8 +264,6 @@
|
||||
#include "model/DescribeLiveStreamRecordIndexFilesResult.h"
|
||||
#include "model/DescribeLiveStreamSnapshotInfoRequest.h"
|
||||
#include "model/DescribeLiveStreamSnapshotInfoResult.h"
|
||||
#include "model/DescribeLiveStreamsBlockListRequest.h"
|
||||
#include "model/DescribeLiveStreamsBlockListResult.h"
|
||||
#include "model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h"
|
||||
#include "model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h"
|
||||
#include "model/DescribeLiveStreamsOnlineListRequest.h"
|
||||
@@ -388,8 +384,6 @@
|
||||
#include "model/SetReqHeaderConfigResult.h"
|
||||
#include "model/SetSourceHostConfigRequest.h"
|
||||
#include "model/SetSourceHostConfigResult.h"
|
||||
#include "model/SetUserGreenManagerConfigRequest.h"
|
||||
#include "model/SetUserGreenManagerConfigResult.h"
|
||||
#include "model/SetWaitingRoomConfigRequest.h"
|
||||
#include "model/SetWaitingRoomConfigResult.h"
|
||||
#include "model/StartCdnDomainRequest.h"
|
||||
@@ -765,9 +759,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeLivePullStreamConfigResult> DescribeLivePullStreamConfigOutcome;
|
||||
typedef std::future<DescribeLivePullStreamConfigOutcome> DescribeLivePullStreamConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLivePullStreamConfigRequest&, const DescribeLivePullStreamConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLivePullStreamConfigAsyncHandler;
|
||||
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::DescribeLiveStreamOnlineUserNumResult> DescribeLiveStreamOnlineUserNumOutcome;
|
||||
typedef std::future<DescribeLiveStreamOnlineUserNumOutcome> DescribeLiveStreamOnlineUserNumOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamOnlineUserNumRequest&, const DescribeLiveStreamOnlineUserNumOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamOnlineUserNumAsyncHandler;
|
||||
@@ -783,9 +774,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamSnapshotInfoResult> DescribeLiveStreamSnapshotInfoOutcome;
|
||||
typedef std::future<DescribeLiveStreamSnapshotInfoOutcome> DescribeLiveStreamSnapshotInfoOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamSnapshotInfoRequest&, const DescribeLiveStreamSnapshotInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamSnapshotInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamsBlockListResult> DescribeLiveStreamsBlockListOutcome;
|
||||
typedef std::future<DescribeLiveStreamsBlockListOutcome> DescribeLiveStreamsBlockListOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamsBlockListRequest&, const DescribeLiveStreamsBlockListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamsBlockListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamsFrameRateAndBitRateDataResult> DescribeLiveStreamsFrameRateAndBitRateDataOutcome;
|
||||
typedef std::future<DescribeLiveStreamsFrameRateAndBitRateDataOutcome> DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest&, const DescribeLiveStreamsFrameRateAndBitRateDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamsFrameRateAndBitRateDataAsyncHandler;
|
||||
@@ -966,9 +954,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetSourceHostConfigResult> SetSourceHostConfigOutcome;
|
||||
typedef std::future<SetSourceHostConfigOutcome> SetSourceHostConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::SetSourceHostConfigRequest&, const SetSourceHostConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetSourceHostConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetUserGreenManagerConfigResult> SetUserGreenManagerConfigOutcome;
|
||||
typedef std::future<SetUserGreenManagerConfigOutcome> SetUserGreenManagerConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::SetUserGreenManagerConfigRequest&, const SetUserGreenManagerConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetUserGreenManagerConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetWaitingRoomConfigResult> SetWaitingRoomConfigOutcome;
|
||||
typedef std::future<SetWaitingRoomConfigOutcome> SetWaitingRoomConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::SetWaitingRoomConfigRequest&, const SetWaitingRoomConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetWaitingRoomConfigAsyncHandler;
|
||||
@@ -1349,9 +1334,6 @@ namespace AlibabaCloud
|
||||
DescribeLivePullStreamConfigOutcome describeLivePullStreamConfig(const Model::DescribeLivePullStreamConfigRequest &request)const;
|
||||
void describeLivePullStreamConfigAsync(const Model::DescribeLivePullStreamConfigRequest& request, const DescribeLivePullStreamConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLivePullStreamConfigOutcomeCallable describeLivePullStreamConfigCallable(const Model::DescribeLivePullStreamConfigRequest& request) const;
|
||||
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;
|
||||
DescribeLiveStreamOnlineUserNumOutcome describeLiveStreamOnlineUserNum(const Model::DescribeLiveStreamOnlineUserNumRequest &request)const;
|
||||
void describeLiveStreamOnlineUserNumAsync(const Model::DescribeLiveStreamOnlineUserNumRequest& request, const DescribeLiveStreamOnlineUserNumAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamOnlineUserNumOutcomeCallable describeLiveStreamOnlineUserNumCallable(const Model::DescribeLiveStreamOnlineUserNumRequest& request) const;
|
||||
@@ -1367,9 +1349,6 @@ namespace AlibabaCloud
|
||||
DescribeLiveStreamSnapshotInfoOutcome describeLiveStreamSnapshotInfo(const Model::DescribeLiveStreamSnapshotInfoRequest &request)const;
|
||||
void describeLiveStreamSnapshotInfoAsync(const Model::DescribeLiveStreamSnapshotInfoRequest& request, const DescribeLiveStreamSnapshotInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamSnapshotInfoOutcomeCallable describeLiveStreamSnapshotInfoCallable(const Model::DescribeLiveStreamSnapshotInfoRequest& request) const;
|
||||
DescribeLiveStreamsBlockListOutcome describeLiveStreamsBlockList(const Model::DescribeLiveStreamsBlockListRequest &request)const;
|
||||
void describeLiveStreamsBlockListAsync(const Model::DescribeLiveStreamsBlockListRequest& request, const DescribeLiveStreamsBlockListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamsBlockListOutcomeCallable describeLiveStreamsBlockListCallable(const Model::DescribeLiveStreamsBlockListRequest& request) const;
|
||||
DescribeLiveStreamsFrameRateAndBitRateDataOutcome describeLiveStreamsFrameRateAndBitRateData(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest &request)const;
|
||||
void describeLiveStreamsFrameRateAndBitRateDataAsync(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest& request, const DescribeLiveStreamsFrameRateAndBitRateDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable describeLiveStreamsFrameRateAndBitRateDataCallable(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest& request) const;
|
||||
@@ -1550,9 +1529,6 @@ namespace AlibabaCloud
|
||||
SetSourceHostConfigOutcome setSourceHostConfig(const Model::SetSourceHostConfigRequest &request)const;
|
||||
void setSourceHostConfigAsync(const Model::SetSourceHostConfigRequest& request, const SetSourceHostConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetSourceHostConfigOutcomeCallable setSourceHostConfigCallable(const Model::SetSourceHostConfigRequest& request) const;
|
||||
SetUserGreenManagerConfigOutcome setUserGreenManagerConfig(const Model::SetUserGreenManagerConfigRequest &request)const;
|
||||
void setUserGreenManagerConfigAsync(const Model::SetUserGreenManagerConfigRequest& request, const SetUserGreenManagerConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetUserGreenManagerConfigOutcomeCallable setUserGreenManagerConfigCallable(const Model::SetUserGreenManagerConfigRequest& request) const;
|
||||
SetWaitingRoomConfigOutcome setWaitingRoomConfig(const Model::SetWaitingRoomConfigRequest &request)const;
|
||||
void setWaitingRoomConfigAsync(const Model::SetWaitingRoomConfigRequest& request, const SetWaitingRoomConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetWaitingRoomConfigOutcomeCallable setWaitingRoomConfigCallable(const Model::SetWaitingRoomConfigRequest& request) const;
|
||||
|
||||
@@ -152,12 +152,6 @@ namespace AlibabaCloud
|
||||
std::string configId;
|
||||
std::string appList;
|
||||
};
|
||||
struct GreenManagerConfig
|
||||
{
|
||||
std::string status;
|
||||
std::string enabled;
|
||||
std::string configId;
|
||||
};
|
||||
struct HttpsOptionConfig
|
||||
{
|
||||
std::string status;
|
||||
@@ -231,7 +225,6 @@ namespace AlibabaCloud
|
||||
RedirectTypeConfig redirectTypeConfig;
|
||||
std::vector<SetVarsConfig> setVarsConfigs;
|
||||
ReqAuthConfig reqAuthConfig;
|
||||
GreenManagerConfig greenManagerConfig;
|
||||
RefererConfig refererConfig;
|
||||
SrcHostConfig srcHostConfig;
|
||||
ForwardSchemeConfig forwardSchemeConfig;
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMBITRATEDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMBITRATEDATAREQUEST_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 DescribeLiveStreamBitRateDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLiveStreamBitRateDataRequest();
|
||||
~DescribeLiveStreamBitRateDataRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getAppName()const;
|
||||
void setAppName(const std::string& appName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getStreamName()const;
|
||||
void setStreamName(const std::string& streamName);
|
||||
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);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string appName_;
|
||||
std::string securityToken_;
|
||||
std::string streamName_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMBITRATEDATAREQUEST_H_
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMBITRATEDATARESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMBITRATEDATARESULT_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 DescribeLiveStreamBitRateDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct FrameRateAndBitRateInfo
|
||||
{
|
||||
float videoFrameRate;
|
||||
std::string time;
|
||||
float audioFrameRate;
|
||||
float bitRate;
|
||||
std::string streamUrl;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveStreamBitRateDataResult();
|
||||
explicit DescribeLiveStreamBitRateDataResult(const std::string &payload);
|
||||
~DescribeLiveStreamBitRateDataResult();
|
||||
std::vector<FrameRateAndBitRateInfo> getFrameRateAndBitRateInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<FrameRateAndBitRateInfo> frameRateAndBitRateInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMBITRATEDATARESULT_H_
|
||||
@@ -1,54 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSBLOCKLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSBLOCKLISTREQUEST_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 DescribeLiveStreamsBlockListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLiveStreamsBlockListRequest();
|
||||
~DescribeLiveStreamsBlockListRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSBLOCKLISTREQUEST_H_
|
||||
@@ -1,53 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSBLOCKLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSBLOCKLISTRESULT_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 DescribeLiveStreamsBlockListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeLiveStreamsBlockListResult();
|
||||
explicit DescribeLiveStreamsBlockListResult(const std::string &payload);
|
||||
~DescribeLiveStreamsBlockListResult();
|
||||
std::string getDomainName()const;
|
||||
std::vector<std::string> getStreamUrls()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::vector<std::string> streamUrls_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSBLOCKLISTRESULT_H_
|
||||
@@ -40,17 +40,11 @@ namespace AlibabaCloud
|
||||
std::string enable;
|
||||
std::string prefix;
|
||||
};
|
||||
struct GreenManagerConfig
|
||||
{
|
||||
std::string quota;
|
||||
std::string ratio;
|
||||
};
|
||||
struct WafConfig
|
||||
{
|
||||
std::string enable;
|
||||
};
|
||||
OssLogConfig ossLogConfig;
|
||||
GreenManagerConfig greenManagerConfig;
|
||||
WafConfig wafConfig;
|
||||
};
|
||||
|
||||
|
||||
@@ -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_SETUSERGREENMANAGERCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_SETUSERGREENMANAGERCONFIGREQUEST_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 SetUserGreenManagerConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SetUserGreenManagerConfigRequest();
|
||||
~SetUserGreenManagerConfigRequest();
|
||||
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getQuota()const;
|
||||
void setQuota(const std::string& quota);
|
||||
std::string getRatio()const;
|
||||
void setRatio(const std::string& ratio);
|
||||
|
||||
private:
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
std::string quota_;
|
||||
std::string ratio_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_SETUSERGREENMANAGERCONFIGREQUEST_H_
|
||||
@@ -4227,42 +4227,6 @@ CdnClient::DescribeLivePullStreamConfigOutcomeCallable CdnClient::describeLivePu
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamBitRateDataOutcome CdnClient::describeLiveStreamBitRateData(const DescribeLiveStreamBitRateDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLiveStreamBitRateDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLiveStreamBitRateDataOutcome(DescribeLiveStreamBitRateDataResult(outcome.result()));
|
||||
else
|
||||
return DescribeLiveStreamBitRateDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeLiveStreamBitRateDataAsync(const DescribeLiveStreamBitRateDataRequest& request, const DescribeLiveStreamBitRateDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLiveStreamBitRateData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamBitRateDataOutcomeCallable CdnClient::describeLiveStreamBitRateDataCallable(const DescribeLiveStreamBitRateDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLiveStreamBitRateDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLiveStreamBitRateData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamOnlineUserNumOutcome CdnClient::describeLiveStreamOnlineUserNum(const DescribeLiveStreamOnlineUserNumRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4443,42 +4407,6 @@ CdnClient::DescribeLiveStreamSnapshotInfoOutcomeCallable CdnClient::describeLive
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamsBlockListOutcome CdnClient::describeLiveStreamsBlockList(const DescribeLiveStreamsBlockListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLiveStreamsBlockListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLiveStreamsBlockListOutcome(DescribeLiveStreamsBlockListResult(outcome.result()));
|
||||
else
|
||||
return DescribeLiveStreamsBlockListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeLiveStreamsBlockListAsync(const DescribeLiveStreamsBlockListRequest& request, const DescribeLiveStreamsBlockListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLiveStreamsBlockList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamsBlockListOutcomeCallable CdnClient::describeLiveStreamsBlockListCallable(const DescribeLiveStreamsBlockListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLiveStreamsBlockListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLiveStreamsBlockList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamsFrameRateAndBitRateDataOutcome CdnClient::describeLiveStreamsFrameRateAndBitRateData(const DescribeLiveStreamsFrameRateAndBitRateDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6639,42 +6567,6 @@ CdnClient::SetSourceHostConfigOutcomeCallable CdnClient::setSourceHostConfigCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::SetUserGreenManagerConfigOutcome CdnClient::setUserGreenManagerConfig(const SetUserGreenManagerConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SetUserGreenManagerConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SetUserGreenManagerConfigOutcome(SetUserGreenManagerConfigResult(outcome.result()));
|
||||
else
|
||||
return SetUserGreenManagerConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::setUserGreenManagerConfigAsync(const SetUserGreenManagerConfigRequest& request, const SetUserGreenManagerConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, setUserGreenManagerConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::SetUserGreenManagerConfigOutcomeCallable CdnClient::setUserGreenManagerConfigCallable(const SetUserGreenManagerConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SetUserGreenManagerConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->setUserGreenManagerConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::SetWaitingRoomConfigOutcome CdnClient::setWaitingRoomConfig(const SetWaitingRoomConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -287,13 +287,6 @@ void DescribeDomainConfigsResult::parse(const std::string &payload)
|
||||
domainConfigs_.macServiceConfig.configId = macServiceConfigNode["ConfigId"].asString();
|
||||
if(!macServiceConfigNode["Status"].isNull())
|
||||
domainConfigs_.macServiceConfig.status = macServiceConfigNode["Status"].asString();
|
||||
auto greenManagerConfigNode = domainConfigsNode["GreenManagerConfig"];
|
||||
if(!greenManagerConfigNode["Enabled"].isNull())
|
||||
domainConfigs_.greenManagerConfig.enabled = greenManagerConfigNode["Enabled"].asString();
|
||||
if(!greenManagerConfigNode["ConfigId"].isNull())
|
||||
domainConfigs_.greenManagerConfig.configId = greenManagerConfigNode["ConfigId"].asString();
|
||||
if(!greenManagerConfigNode["Status"].isNull())
|
||||
domainConfigs_.greenManagerConfig.status = greenManagerConfigNode["Status"].asString();
|
||||
auto httpsOptionConfigNode = domainConfigsNode["HttpsOptionConfig"];
|
||||
if(!httpsOptionConfigNode["Http2"].isNull())
|
||||
domainConfigs_.httpsOptionConfig.http2 = httpsOptionConfigNode["Http2"].asString();
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeLiveStreamBitRateDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeLiveStreamBitRateDataRequest;
|
||||
|
||||
DescribeLiveStreamBitRateDataRequest::DescribeLiveStreamBitRateDataRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveStreamBitRateData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLiveStreamBitRateDataRequest::~DescribeLiveStreamBitRateDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeLiveStreamBitRateDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamBitRateDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamBitRateDataRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamBitRateDataRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamBitRateDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamBitRateDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamBitRateDataRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamBitRateDataRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamBitRateDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamBitRateDataRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamBitRateDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamBitRateDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeLiveStreamBitRateDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamBitRateDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeLiveStreamBitRateDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeLiveStreamBitRateDataResult::DescribeLiveStreamBitRateDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveStreamBitRateDataResult::DescribeLiveStreamBitRateDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveStreamBitRateDataResult::~DescribeLiveStreamBitRateDataResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveStreamBitRateDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allFrameRateAndBitRateInfosNode = value["FrameRateAndBitRateInfos"]["FrameRateAndBitRateInfo"];
|
||||
for (auto valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo : allFrameRateAndBitRateInfosNode)
|
||||
{
|
||||
FrameRateAndBitRateInfo frameRateAndBitRateInfosObject;
|
||||
if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["StreamUrl"].isNull())
|
||||
frameRateAndBitRateInfosObject.streamUrl = valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["StreamUrl"].asString();
|
||||
if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["VideoFrameRate"].isNull())
|
||||
frameRateAndBitRateInfosObject.videoFrameRate = std::stof(valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["VideoFrameRate"].asString());
|
||||
if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["AudioFrameRate"].isNull())
|
||||
frameRateAndBitRateInfosObject.audioFrameRate = std::stof(valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["AudioFrameRate"].asString());
|
||||
if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["BitRate"].isNull())
|
||||
frameRateAndBitRateInfosObject.bitRate = std::stof(valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["BitRate"].asString());
|
||||
if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["Time"].isNull())
|
||||
frameRateAndBitRateInfosObject.time = valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["Time"].asString();
|
||||
frameRateAndBitRateInfos_.push_back(frameRateAndBitRateInfosObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeLiveStreamBitRateDataResult::FrameRateAndBitRateInfo> DescribeLiveStreamBitRateDataResult::getFrameRateAndBitRateInfos()const
|
||||
{
|
||||
return frameRateAndBitRateInfos_;
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeLiveStreamsBlockListRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeLiveStreamsBlockListRequest;
|
||||
|
||||
DescribeLiveStreamsBlockListRequest::DescribeLiveStreamsBlockListRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveStreamsBlockList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLiveStreamsBlockListRequest::~DescribeLiveStreamsBlockListRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeLiveStreamsBlockListRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamsBlockListRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DescribeLiveStreamsBlockListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamsBlockListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamsBlockListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamsBlockListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeLiveStreamsBlockListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeLiveStreamsBlockListResult::DescribeLiveStreamsBlockListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveStreamsBlockListResult::DescribeLiveStreamsBlockListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveStreamsBlockListResult::~DescribeLiveStreamsBlockListResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveStreamsBlockListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStreamUrls = value["StreamUrls"]["StreamUrl"];
|
||||
for (const auto &item : allStreamUrls)
|
||||
streamUrls_.push_back(item.asString());
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamsBlockListResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeLiveStreamsBlockListResult::getStreamUrls()const
|
||||
{
|
||||
return streamUrls_;
|
||||
}
|
||||
|
||||
@@ -47,11 +47,6 @@ void DescribeUserConfigsResult::parse(const std::string &payload)
|
||||
configs_.ossLogConfig.bucket = ossLogConfigNode["Bucket"].asString();
|
||||
if(!ossLogConfigNode["Prefix"].isNull())
|
||||
configs_.ossLogConfig.prefix = ossLogConfigNode["Prefix"].asString();
|
||||
auto greenManagerConfigNode = configsNode["GreenManagerConfig"];
|
||||
if(!greenManagerConfigNode["Quota"].isNull())
|
||||
configs_.greenManagerConfig.quota = greenManagerConfigNode["Quota"].asString();
|
||||
if(!greenManagerConfigNode["Ratio"].isNull())
|
||||
configs_.greenManagerConfig.ratio = greenManagerConfigNode["Ratio"].asString();
|
||||
auto wafConfigNode = configsNode["WafConfig"];
|
||||
if(!wafConfigNode["Enable"].isNull())
|
||||
configs_.wafConfig.enable = wafConfigNode["Enable"].asString();
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/SetUserGreenManagerConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::SetUserGreenManagerConfigRequest;
|
||||
|
||||
SetUserGreenManagerConfigRequest::SetUserGreenManagerConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "SetUserGreenManagerConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetUserGreenManagerConfigRequest::~SetUserGreenManagerConfigRequest()
|
||||
{}
|
||||
|
||||
long SetUserGreenManagerConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SetUserGreenManagerConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SetUserGreenManagerConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void SetUserGreenManagerConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string SetUserGreenManagerConfigRequest::getQuota()const
|
||||
{
|
||||
return quota_;
|
||||
}
|
||||
|
||||
void SetUserGreenManagerConfigRequest::setQuota(const std::string& quota)
|
||||
{
|
||||
quota_ = quota;
|
||||
setParameter("Quota", quota);
|
||||
}
|
||||
|
||||
std::string SetUserGreenManagerConfigRequest::getRatio()const
|
||||
{
|
||||
return ratio_;
|
||||
}
|
||||
|
||||
void SetUserGreenManagerConfigRequest::setRatio(const std::string& ratio)
|
||||
{
|
||||
ratio_ = ratio;
|
||||
setParameter("Ratio", ratio);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/SetUserGreenManagerConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
SetUserGreenManagerConfigResult::SetUserGreenManagerConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SetUserGreenManagerConfigResult::SetUserGreenManagerConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SetUserGreenManagerConfigResult::~SetUserGreenManagerConfigResult()
|
||||
{}
|
||||
|
||||
void SetUserGreenManagerConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -47,8 +47,6 @@ set(dcdn_public_header_model
|
||||
include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestResult.h
|
||||
include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskRequest.h
|
||||
include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskResult.h
|
||||
include/alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryRequest.h
|
||||
include/alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryResult.h
|
||||
include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryRequest.h
|
||||
include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryResult.h
|
||||
include/alibabacloud/dcdn/model/CreateDcdnSubTaskRequest.h
|
||||
@@ -177,6 +175,10 @@ set(dcdn_public_header_model
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketTrafficDataRequest.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketTrafficDataResult.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataRequest.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataResult.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataRequest.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataResult.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListRequest.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListResult.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnIpInfoRequest.h
|
||||
@@ -189,14 +191,6 @@ set(dcdn_public_header_model
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnIpaServiceResult.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsRequest.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsResult.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRequest.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryResult.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldRequest.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldResult.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsRequest.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsResult.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusRequest.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusResult.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldRequest.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldResult.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaRequest.h
|
||||
@@ -275,14 +269,8 @@ set(dcdn_public_header_model
|
||||
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
|
||||
include/alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryResult.h
|
||||
include/alibabacloud/dcdn/model/EditRoutineConfRequest.h
|
||||
include/alibabacloud/dcdn/model/EditRoutineConfResult.h
|
||||
include/alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryRequest.h
|
||||
include/alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryResult.h
|
||||
include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectRequest.h
|
||||
include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectResult.h
|
||||
include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyRequest.h
|
||||
@@ -374,8 +362,6 @@ set(dcdn_src
|
||||
src/model/CreateDcdnCertificateSigningRequestResult.cc
|
||||
src/model/CreateDcdnDeliverTaskRequest.cc
|
||||
src/model/CreateDcdnDeliverTaskResult.cc
|
||||
src/model/CreateDcdnDomainOfflineLogDeliveryRequest.cc
|
||||
src/model/CreateDcdnDomainOfflineLogDeliveryResult.cc
|
||||
src/model/CreateDcdnSLSRealTimeLogDeliveryRequest.cc
|
||||
src/model/CreateDcdnSLSRealTimeLogDeliveryResult.cc
|
||||
src/model/CreateDcdnSubTaskRequest.cc
|
||||
@@ -504,6 +490,10 @@ set(dcdn_src
|
||||
src/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.cc
|
||||
src/model/DescribeDcdnDomainWebsocketTrafficDataRequest.cc
|
||||
src/model/DescribeDcdnDomainWebsocketTrafficDataResult.cc
|
||||
src/model/DescribeDcdnEsExceptionDataRequest.cc
|
||||
src/model/DescribeDcdnEsExceptionDataResult.cc
|
||||
src/model/DescribeDcdnEsExecuteDataRequest.cc
|
||||
src/model/DescribeDcdnEsExecuteDataResult.cc
|
||||
src/model/DescribeDcdnHttpsDomainListRequest.cc
|
||||
src/model/DescribeDcdnHttpsDomainListResult.cc
|
||||
src/model/DescribeDcdnIpInfoRequest.cc
|
||||
@@ -516,14 +506,6 @@ set(dcdn_src
|
||||
src/model/DescribeDcdnIpaServiceResult.cc
|
||||
src/model/DescribeDcdnIpaUserDomainsRequest.cc
|
||||
src/model/DescribeDcdnIpaUserDomainsResult.cc
|
||||
src/model/DescribeDcdnOfflineLogDeliveryRequest.cc
|
||||
src/model/DescribeDcdnOfflineLogDeliveryResult.cc
|
||||
src/model/DescribeDcdnOfflineLogDeliveryFieldRequest.cc
|
||||
src/model/DescribeDcdnOfflineLogDeliveryFieldResult.cc
|
||||
src/model/DescribeDcdnOfflineLogDeliveryRegionsRequest.cc
|
||||
src/model/DescribeDcdnOfflineLogDeliveryRegionsResult.cc
|
||||
src/model/DescribeDcdnOfflineLogDeliveryStatusRequest.cc
|
||||
src/model/DescribeDcdnOfflineLogDeliveryStatusResult.cc
|
||||
src/model/DescribeDcdnRealTimeDeliveryFieldRequest.cc
|
||||
src/model/DescribeDcdnRealTimeDeliveryFieldResult.cc
|
||||
src/model/DescribeDcdnRefreshQuotaRequest.cc
|
||||
@@ -602,14 +584,8 @@ set(dcdn_src
|
||||
src/model/DescribeUserErStatusResult.cc
|
||||
src/model/DescribeUserLogserviceStatusRequest.cc
|
||||
src/model/DescribeUserLogserviceStatusResult.cc
|
||||
src/model/DisableDcdnDomainOfflineLogDeliveryRequest.cc
|
||||
src/model/DisableDcdnDomainOfflineLogDeliveryResult.cc
|
||||
src/model/DisableDcdnOfflineLogDeliveryRequest.cc
|
||||
src/model/DisableDcdnOfflineLogDeliveryResult.cc
|
||||
src/model/EditRoutineConfRequest.cc
|
||||
src/model/EditRoutineConfResult.cc
|
||||
src/model/EnableDcdnDomainOfflineLogDeliveryRequest.cc
|
||||
src/model/EnableDcdnDomainOfflineLogDeliveryResult.cc
|
||||
src/model/ListDcdnRealTimeDeliveryProjectRequest.cc
|
||||
src/model/ListDcdnRealTimeDeliveryProjectResult.cc
|
||||
src/model/ModifyDCdnDomainSchdmByPropertyRequest.cc
|
||||
|
||||
@@ -48,8 +48,6 @@
|
||||
#include "model/CreateDcdnCertificateSigningRequestResult.h"
|
||||
#include "model/CreateDcdnDeliverTaskRequest.h"
|
||||
#include "model/CreateDcdnDeliverTaskResult.h"
|
||||
#include "model/CreateDcdnDomainOfflineLogDeliveryRequest.h"
|
||||
#include "model/CreateDcdnDomainOfflineLogDeliveryResult.h"
|
||||
#include "model/CreateDcdnSLSRealTimeLogDeliveryRequest.h"
|
||||
#include "model/CreateDcdnSLSRealTimeLogDeliveryResult.h"
|
||||
#include "model/CreateDcdnSubTaskRequest.h"
|
||||
@@ -178,6 +176,10 @@
|
||||
#include "model/DescribeDcdnDomainWebsocketHttpCodeDataResult.h"
|
||||
#include "model/DescribeDcdnDomainWebsocketTrafficDataRequest.h"
|
||||
#include "model/DescribeDcdnDomainWebsocketTrafficDataResult.h"
|
||||
#include "model/DescribeDcdnEsExceptionDataRequest.h"
|
||||
#include "model/DescribeDcdnEsExceptionDataResult.h"
|
||||
#include "model/DescribeDcdnEsExecuteDataRequest.h"
|
||||
#include "model/DescribeDcdnEsExecuteDataResult.h"
|
||||
#include "model/DescribeDcdnHttpsDomainListRequest.h"
|
||||
#include "model/DescribeDcdnHttpsDomainListResult.h"
|
||||
#include "model/DescribeDcdnIpInfoRequest.h"
|
||||
@@ -190,14 +192,6 @@
|
||||
#include "model/DescribeDcdnIpaServiceResult.h"
|
||||
#include "model/DescribeDcdnIpaUserDomainsRequest.h"
|
||||
#include "model/DescribeDcdnIpaUserDomainsResult.h"
|
||||
#include "model/DescribeDcdnOfflineLogDeliveryRequest.h"
|
||||
#include "model/DescribeDcdnOfflineLogDeliveryResult.h"
|
||||
#include "model/DescribeDcdnOfflineLogDeliveryFieldRequest.h"
|
||||
#include "model/DescribeDcdnOfflineLogDeliveryFieldResult.h"
|
||||
#include "model/DescribeDcdnOfflineLogDeliveryRegionsRequest.h"
|
||||
#include "model/DescribeDcdnOfflineLogDeliveryRegionsResult.h"
|
||||
#include "model/DescribeDcdnOfflineLogDeliveryStatusRequest.h"
|
||||
#include "model/DescribeDcdnOfflineLogDeliveryStatusResult.h"
|
||||
#include "model/DescribeDcdnRealTimeDeliveryFieldRequest.h"
|
||||
#include "model/DescribeDcdnRealTimeDeliveryFieldResult.h"
|
||||
#include "model/DescribeDcdnRefreshQuotaRequest.h"
|
||||
@@ -276,14 +270,8 @@
|
||||
#include "model/DescribeUserErStatusResult.h"
|
||||
#include "model/DescribeUserLogserviceStatusRequest.h"
|
||||
#include "model/DescribeUserLogserviceStatusResult.h"
|
||||
#include "model/DisableDcdnDomainOfflineLogDeliveryRequest.h"
|
||||
#include "model/DisableDcdnDomainOfflineLogDeliveryResult.h"
|
||||
#include "model/DisableDcdnOfflineLogDeliveryRequest.h"
|
||||
#include "model/DisableDcdnOfflineLogDeliveryResult.h"
|
||||
#include "model/EditRoutineConfRequest.h"
|
||||
#include "model/EditRoutineConfResult.h"
|
||||
#include "model/EnableDcdnDomainOfflineLogDeliveryRequest.h"
|
||||
#include "model/EnableDcdnDomainOfflineLogDeliveryResult.h"
|
||||
#include "model/ListDcdnRealTimeDeliveryProjectRequest.h"
|
||||
#include "model/ListDcdnRealTimeDeliveryProjectResult.h"
|
||||
#include "model/ModifyDCdnDomainSchdmByPropertyRequest.h"
|
||||
@@ -394,9 +382,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateDcdnDeliverTaskResult> CreateDcdnDeliverTaskOutcome;
|
||||
typedef std::future<CreateDcdnDeliverTaskOutcome> CreateDcdnDeliverTaskOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::CreateDcdnDeliverTaskRequest&, const CreateDcdnDeliverTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDcdnDeliverTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDcdnDomainOfflineLogDeliveryResult> CreateDcdnDomainOfflineLogDeliveryOutcome;
|
||||
typedef std::future<CreateDcdnDomainOfflineLogDeliveryOutcome> CreateDcdnDomainOfflineLogDeliveryOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::CreateDcdnDomainOfflineLogDeliveryRequest&, const CreateDcdnDomainOfflineLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDcdnDomainOfflineLogDeliveryAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDcdnSLSRealTimeLogDeliveryResult> CreateDcdnSLSRealTimeLogDeliveryOutcome;
|
||||
typedef std::future<CreateDcdnSLSRealTimeLogDeliveryOutcome> CreateDcdnSLSRealTimeLogDeliveryOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::CreateDcdnSLSRealTimeLogDeliveryRequest&, const CreateDcdnSLSRealTimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDcdnSLSRealTimeLogDeliveryAsyncHandler;
|
||||
@@ -589,6 +574,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDcdnDomainWebsocketTrafficDataResult> DescribeDcdnDomainWebsocketTrafficDataOutcome;
|
||||
typedef std::future<DescribeDcdnDomainWebsocketTrafficDataOutcome> DescribeDcdnDomainWebsocketTrafficDataOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainWebsocketTrafficDataRequest&, const DescribeDcdnDomainWebsocketTrafficDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainWebsocketTrafficDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDcdnEsExceptionDataResult> DescribeDcdnEsExceptionDataOutcome;
|
||||
typedef std::future<DescribeDcdnEsExceptionDataOutcome> DescribeDcdnEsExceptionDataOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnEsExceptionDataRequest&, const DescribeDcdnEsExceptionDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnEsExceptionDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDcdnEsExecuteDataResult> DescribeDcdnEsExecuteDataOutcome;
|
||||
typedef std::future<DescribeDcdnEsExecuteDataOutcome> DescribeDcdnEsExecuteDataOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnEsExecuteDataRequest&, const DescribeDcdnEsExecuteDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnEsExecuteDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDcdnHttpsDomainListResult> DescribeDcdnHttpsDomainListOutcome;
|
||||
typedef std::future<DescribeDcdnHttpsDomainListOutcome> DescribeDcdnHttpsDomainListOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnHttpsDomainListRequest&, const DescribeDcdnHttpsDomainListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnHttpsDomainListAsyncHandler;
|
||||
@@ -607,18 +598,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDcdnIpaUserDomainsResult> DescribeDcdnIpaUserDomainsOutcome;
|
||||
typedef std::future<DescribeDcdnIpaUserDomainsOutcome> DescribeDcdnIpaUserDomainsOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnIpaUserDomainsRequest&, const DescribeDcdnIpaUserDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnIpaUserDomainsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDcdnOfflineLogDeliveryResult> DescribeDcdnOfflineLogDeliveryOutcome;
|
||||
typedef std::future<DescribeDcdnOfflineLogDeliveryOutcome> DescribeDcdnOfflineLogDeliveryOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnOfflineLogDeliveryRequest&, const DescribeDcdnOfflineLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnOfflineLogDeliveryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDcdnOfflineLogDeliveryFieldResult> DescribeDcdnOfflineLogDeliveryFieldOutcome;
|
||||
typedef std::future<DescribeDcdnOfflineLogDeliveryFieldOutcome> DescribeDcdnOfflineLogDeliveryFieldOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnOfflineLogDeliveryFieldRequest&, const DescribeDcdnOfflineLogDeliveryFieldOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnOfflineLogDeliveryFieldAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDcdnOfflineLogDeliveryRegionsResult> DescribeDcdnOfflineLogDeliveryRegionsOutcome;
|
||||
typedef std::future<DescribeDcdnOfflineLogDeliveryRegionsOutcome> DescribeDcdnOfflineLogDeliveryRegionsOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnOfflineLogDeliveryRegionsRequest&, const DescribeDcdnOfflineLogDeliveryRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnOfflineLogDeliveryRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDcdnOfflineLogDeliveryStatusResult> DescribeDcdnOfflineLogDeliveryStatusOutcome;
|
||||
typedef std::future<DescribeDcdnOfflineLogDeliveryStatusOutcome> DescribeDcdnOfflineLogDeliveryStatusOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnOfflineLogDeliveryStatusRequest&, const DescribeDcdnOfflineLogDeliveryStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnOfflineLogDeliveryStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDcdnRealTimeDeliveryFieldResult> DescribeDcdnRealTimeDeliveryFieldOutcome;
|
||||
typedef std::future<DescribeDcdnRealTimeDeliveryFieldOutcome> DescribeDcdnRealTimeDeliveryFieldOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnRealTimeDeliveryFieldRequest&, const DescribeDcdnRealTimeDeliveryFieldOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnRealTimeDeliveryFieldAsyncHandler;
|
||||
@@ -736,18 +715,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
typedef Outcome<Error, Model::DisableDcdnOfflineLogDeliveryResult> DisableDcdnOfflineLogDeliveryOutcome;
|
||||
typedef std::future<DisableDcdnOfflineLogDeliveryOutcome> DisableDcdnOfflineLogDeliveryOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DisableDcdnOfflineLogDeliveryRequest&, const DisableDcdnOfflineLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableDcdnOfflineLogDeliveryAsyncHandler;
|
||||
typedef Outcome<Error, Model::EditRoutineConfResult> EditRoutineConfOutcome;
|
||||
typedef std::future<EditRoutineConfOutcome> EditRoutineConfOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::EditRoutineConfRequest&, const EditRoutineConfOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EditRoutineConfAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableDcdnDomainOfflineLogDeliveryResult> EnableDcdnDomainOfflineLogDeliveryOutcome;
|
||||
typedef std::future<EnableDcdnDomainOfflineLogDeliveryOutcome> EnableDcdnDomainOfflineLogDeliveryOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::EnableDcdnDomainOfflineLogDeliveryRequest&, const EnableDcdnDomainOfflineLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableDcdnDomainOfflineLogDeliveryAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDcdnRealTimeDeliveryProjectResult> ListDcdnRealTimeDeliveryProjectOutcome;
|
||||
typedef std::future<ListDcdnRealTimeDeliveryProjectOutcome> ListDcdnRealTimeDeliveryProjectOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::ListDcdnRealTimeDeliveryProjectRequest&, const ListDcdnRealTimeDeliveryProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDcdnRealTimeDeliveryProjectAsyncHandler;
|
||||
@@ -885,9 +855,6 @@ namespace AlibabaCloud
|
||||
CreateDcdnDeliverTaskOutcome createDcdnDeliverTask(const Model::CreateDcdnDeliverTaskRequest &request)const;
|
||||
void createDcdnDeliverTaskAsync(const Model::CreateDcdnDeliverTaskRequest& request, const CreateDcdnDeliverTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDcdnDeliverTaskOutcomeCallable createDcdnDeliverTaskCallable(const Model::CreateDcdnDeliverTaskRequest& request) const;
|
||||
CreateDcdnDomainOfflineLogDeliveryOutcome createDcdnDomainOfflineLogDelivery(const Model::CreateDcdnDomainOfflineLogDeliveryRequest &request)const;
|
||||
void createDcdnDomainOfflineLogDeliveryAsync(const Model::CreateDcdnDomainOfflineLogDeliveryRequest& request, const CreateDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDcdnDomainOfflineLogDeliveryOutcomeCallable createDcdnDomainOfflineLogDeliveryCallable(const Model::CreateDcdnDomainOfflineLogDeliveryRequest& request) const;
|
||||
CreateDcdnSLSRealTimeLogDeliveryOutcome createDcdnSLSRealTimeLogDelivery(const Model::CreateDcdnSLSRealTimeLogDeliveryRequest &request)const;
|
||||
void createDcdnSLSRealTimeLogDeliveryAsync(const Model::CreateDcdnSLSRealTimeLogDeliveryRequest& request, const CreateDcdnSLSRealTimeLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDcdnSLSRealTimeLogDeliveryOutcomeCallable createDcdnSLSRealTimeLogDeliveryCallable(const Model::CreateDcdnSLSRealTimeLogDeliveryRequest& request) const;
|
||||
@@ -1080,6 +1047,12 @@ namespace AlibabaCloud
|
||||
DescribeDcdnDomainWebsocketTrafficDataOutcome describeDcdnDomainWebsocketTrafficData(const Model::DescribeDcdnDomainWebsocketTrafficDataRequest &request)const;
|
||||
void describeDcdnDomainWebsocketTrafficDataAsync(const Model::DescribeDcdnDomainWebsocketTrafficDataRequest& request, const DescribeDcdnDomainWebsocketTrafficDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDcdnDomainWebsocketTrafficDataOutcomeCallable describeDcdnDomainWebsocketTrafficDataCallable(const Model::DescribeDcdnDomainWebsocketTrafficDataRequest& request) const;
|
||||
DescribeDcdnEsExceptionDataOutcome describeDcdnEsExceptionData(const Model::DescribeDcdnEsExceptionDataRequest &request)const;
|
||||
void describeDcdnEsExceptionDataAsync(const Model::DescribeDcdnEsExceptionDataRequest& request, const DescribeDcdnEsExceptionDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDcdnEsExceptionDataOutcomeCallable describeDcdnEsExceptionDataCallable(const Model::DescribeDcdnEsExceptionDataRequest& request) const;
|
||||
DescribeDcdnEsExecuteDataOutcome describeDcdnEsExecuteData(const Model::DescribeDcdnEsExecuteDataRequest &request)const;
|
||||
void describeDcdnEsExecuteDataAsync(const Model::DescribeDcdnEsExecuteDataRequest& request, const DescribeDcdnEsExecuteDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDcdnEsExecuteDataOutcomeCallable describeDcdnEsExecuteDataCallable(const Model::DescribeDcdnEsExecuteDataRequest& request) const;
|
||||
DescribeDcdnHttpsDomainListOutcome describeDcdnHttpsDomainList(const Model::DescribeDcdnHttpsDomainListRequest &request)const;
|
||||
void describeDcdnHttpsDomainListAsync(const Model::DescribeDcdnHttpsDomainListRequest& request, const DescribeDcdnHttpsDomainListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDcdnHttpsDomainListOutcomeCallable describeDcdnHttpsDomainListCallable(const Model::DescribeDcdnHttpsDomainListRequest& request) const;
|
||||
@@ -1098,18 +1071,6 @@ namespace AlibabaCloud
|
||||
DescribeDcdnIpaUserDomainsOutcome describeDcdnIpaUserDomains(const Model::DescribeDcdnIpaUserDomainsRequest &request)const;
|
||||
void describeDcdnIpaUserDomainsAsync(const Model::DescribeDcdnIpaUserDomainsRequest& request, const DescribeDcdnIpaUserDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDcdnIpaUserDomainsOutcomeCallable describeDcdnIpaUserDomainsCallable(const Model::DescribeDcdnIpaUserDomainsRequest& request) const;
|
||||
DescribeDcdnOfflineLogDeliveryOutcome describeDcdnOfflineLogDelivery(const Model::DescribeDcdnOfflineLogDeliveryRequest &request)const;
|
||||
void describeDcdnOfflineLogDeliveryAsync(const Model::DescribeDcdnOfflineLogDeliveryRequest& request, const DescribeDcdnOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDcdnOfflineLogDeliveryOutcomeCallable describeDcdnOfflineLogDeliveryCallable(const Model::DescribeDcdnOfflineLogDeliveryRequest& request) const;
|
||||
DescribeDcdnOfflineLogDeliveryFieldOutcome describeDcdnOfflineLogDeliveryField(const Model::DescribeDcdnOfflineLogDeliveryFieldRequest &request)const;
|
||||
void describeDcdnOfflineLogDeliveryFieldAsync(const Model::DescribeDcdnOfflineLogDeliveryFieldRequest& request, const DescribeDcdnOfflineLogDeliveryFieldAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDcdnOfflineLogDeliveryFieldOutcomeCallable describeDcdnOfflineLogDeliveryFieldCallable(const Model::DescribeDcdnOfflineLogDeliveryFieldRequest& request) const;
|
||||
DescribeDcdnOfflineLogDeliveryRegionsOutcome describeDcdnOfflineLogDeliveryRegions(const Model::DescribeDcdnOfflineLogDeliveryRegionsRequest &request)const;
|
||||
void describeDcdnOfflineLogDeliveryRegionsAsync(const Model::DescribeDcdnOfflineLogDeliveryRegionsRequest& request, const DescribeDcdnOfflineLogDeliveryRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDcdnOfflineLogDeliveryRegionsOutcomeCallable describeDcdnOfflineLogDeliveryRegionsCallable(const Model::DescribeDcdnOfflineLogDeliveryRegionsRequest& request) const;
|
||||
DescribeDcdnOfflineLogDeliveryStatusOutcome describeDcdnOfflineLogDeliveryStatus(const Model::DescribeDcdnOfflineLogDeliveryStatusRequest &request)const;
|
||||
void describeDcdnOfflineLogDeliveryStatusAsync(const Model::DescribeDcdnOfflineLogDeliveryStatusRequest& request, const DescribeDcdnOfflineLogDeliveryStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDcdnOfflineLogDeliveryStatusOutcomeCallable describeDcdnOfflineLogDeliveryStatusCallable(const Model::DescribeDcdnOfflineLogDeliveryStatusRequest& request) const;
|
||||
DescribeDcdnRealTimeDeliveryFieldOutcome describeDcdnRealTimeDeliveryField(const Model::DescribeDcdnRealTimeDeliveryFieldRequest &request)const;
|
||||
void describeDcdnRealTimeDeliveryFieldAsync(const Model::DescribeDcdnRealTimeDeliveryFieldRequest& request, const DescribeDcdnRealTimeDeliveryFieldAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDcdnRealTimeDeliveryFieldOutcomeCallable describeDcdnRealTimeDeliveryFieldCallable(const Model::DescribeDcdnRealTimeDeliveryFieldRequest& request) const;
|
||||
@@ -1227,18 +1188,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
DisableDcdnOfflineLogDeliveryOutcome disableDcdnOfflineLogDelivery(const Model::DisableDcdnOfflineLogDeliveryRequest &request)const;
|
||||
void disableDcdnOfflineLogDeliveryAsync(const Model::DisableDcdnOfflineLogDeliveryRequest& request, const DisableDcdnOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableDcdnOfflineLogDeliveryOutcomeCallable disableDcdnOfflineLogDeliveryCallable(const Model::DisableDcdnOfflineLogDeliveryRequest& request) const;
|
||||
EditRoutineConfOutcome editRoutineConf(const Model::EditRoutineConfRequest &request)const;
|
||||
void editRoutineConfAsync(const Model::EditRoutineConfRequest& request, const EditRoutineConfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EditRoutineConfOutcomeCallable editRoutineConfCallable(const Model::EditRoutineConfRequest& request) const;
|
||||
EnableDcdnDomainOfflineLogDeliveryOutcome enableDcdnDomainOfflineLogDelivery(const Model::EnableDcdnDomainOfflineLogDeliveryRequest &request)const;
|
||||
void enableDcdnDomainOfflineLogDeliveryAsync(const Model::EnableDcdnDomainOfflineLogDeliveryRequest& request, const EnableDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableDcdnDomainOfflineLogDeliveryOutcomeCallable enableDcdnDomainOfflineLogDeliveryCallable(const Model::EnableDcdnDomainOfflineLogDeliveryRequest& request) const;
|
||||
ListDcdnRealTimeDeliveryProjectOutcome listDcdnRealTimeDeliveryProject(const Model::ListDcdnRealTimeDeliveryProjectRequest &request)const;
|
||||
void listDcdnRealTimeDeliveryProjectAsync(const Model::ListDcdnRealTimeDeliveryProjectRequest& request, const ListDcdnRealTimeDeliveryProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDcdnRealTimeDeliveryProjectOutcomeCallable listDcdnRealTimeDeliveryProjectCallable(const Model::ListDcdnRealTimeDeliveryProjectRequest& request) const;
|
||||
|
||||
@@ -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_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_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 CreateDcdnDomainOfflineLogDeliveryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDcdnDomainOfflineLogDeliveryRequest();
|
||||
~CreateDcdnDomainOfflineLogDeliveryRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getFieldId()const;
|
||||
void setFieldId(const std::string& fieldId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string fieldId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_
|
||||
@@ -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_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYRESULT_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 CreateDcdnDomainOfflineLogDeliveryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDcdnDomainOfflineLogDeliveryResult();
|
||||
explicit CreateDcdnDomainOfflineLogDeliveryResult(const std::string &payload);
|
||||
~CreateDcdnDomainOfflineLogDeliveryResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,21 +28,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryRegionsRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnEsExceptionDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDcdnOfflineLogDeliveryRegionsRequest();
|
||||
~DescribeDcdnOfflineLogDeliveryRegionsRequest();
|
||||
DescribeDcdnEsExceptionDataRequest();
|
||||
~DescribeDcdnEsExceptionDataRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getRuleId()const;
|
||||
void setRuleId(const std::string& ruleId);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string ruleId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATAREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATARESULT_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,23 +29,29 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryStatusResult : public ServiceResult
|
||||
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnEsExceptionDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Content
|
||||
{
|
||||
std::vector<std::string> points;
|
||||
std::vector<std::string> columns;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryStatusResult();
|
||||
explicit DescribeDcdnOfflineLogDeliveryStatusResult(const std::string &payload);
|
||||
~DescribeDcdnOfflineLogDeliveryStatusResult();
|
||||
std::string getOpenStatus()const;
|
||||
DescribeDcdnEsExceptionDataResult();
|
||||
explicit DescribeDcdnEsExceptionDataResult(const std::string &payload);
|
||||
~DescribeDcdnEsExceptionDataResult();
|
||||
std::vector<Content> getContents()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string openStatus_;
|
||||
std::vector<Content> contents_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATARESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREQUEST_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,21 +28,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnEsExecuteDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDcdnOfflineLogDeliveryRequest();
|
||||
~DescribeDcdnOfflineLogDeliveryRequest();
|
||||
DescribeDcdnEsExecuteDataRequest();
|
||||
~DescribeDcdnEsExecuteDataRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getRuleId()const;
|
||||
void setRuleId(const std::string& ruleId);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string ruleId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATAREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATARESULT_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,21 +29,29 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DCDN_EXPORT DisableDcdnDomainOfflineLogDeliveryResult : public ServiceResult
|
||||
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnEsExecuteDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Content
|
||||
{
|
||||
std::vector<std::string> points;
|
||||
std::vector<std::string> columns;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DisableDcdnDomainOfflineLogDeliveryResult();
|
||||
explicit DisableDcdnDomainOfflineLogDeliveryResult(const std::string &payload);
|
||||
~DisableDcdnDomainOfflineLogDeliveryResult();
|
||||
DescribeDcdnEsExecuteDataResult();
|
||||
explicit DescribeDcdnEsExecuteDataResult(const std::string &payload);
|
||||
~DescribeDcdnEsExecuteDataResult();
|
||||
std::vector<Content> getContents()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Content> contents_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATARESULT_H_
|
||||
@@ -1,48 +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_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDREQUEST_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDREQUEST_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 DescribeDcdnOfflineLogDeliveryFieldRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDcdnOfflineLogDeliveryFieldRequest();
|
||||
~DescribeDcdnOfflineLogDeliveryFieldRequest();
|
||||
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDREQUEST_H_
|
||||
@@ -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_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDRESULT_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDRESULT_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 DescribeDcdnOfflineLogDeliveryFieldResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Field
|
||||
{
|
||||
std::string description;
|
||||
std::string fieldId;
|
||||
std::string fieldName;
|
||||
};
|
||||
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryFieldResult();
|
||||
explicit DescribeDcdnOfflineLogDeliveryFieldResult(const std::string &payload);
|
||||
~DescribeDcdnOfflineLogDeliveryFieldResult();
|
||||
std::vector<Field> getFields()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Field> fields_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDRESULT_H_
|
||||
@@ -1,64 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSRESULT_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSRESULT_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 DescribeDcdnOfflineLogDeliveryRegionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Area
|
||||
{
|
||||
struct RegionInfo
|
||||
{
|
||||
std::string isOverseas;
|
||||
std::string ossEndpoint;
|
||||
std::string regionName;
|
||||
std::string regionId;
|
||||
};
|
||||
std::string areaName;
|
||||
std::string areaId;
|
||||
std::vector<Area::RegionInfo> regionInfos;
|
||||
};
|
||||
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryRegionsResult();
|
||||
explicit DescribeDcdnOfflineLogDeliveryRegionsResult(const std::string &payload);
|
||||
~DescribeDcdnOfflineLogDeliveryRegionsResult();
|
||||
std::vector<Area> getAreas()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Area> areas_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSRESULT_H_
|
||||
@@ -1,74 +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_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYRESULT_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYRESULT_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 DescribeDcdnOfflineLogDeliveryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Domain
|
||||
{
|
||||
std::string domainName;
|
||||
};
|
||||
struct Region
|
||||
{
|
||||
std::string dlaVcName;
|
||||
std::string areaName;
|
||||
std::string ossPathPrefix;
|
||||
std::string isOverseas;
|
||||
std::string ossEndpoint;
|
||||
int ossId;
|
||||
std::string regionName;
|
||||
std::string dlaTableName;
|
||||
std::string areaId;
|
||||
std::string ossBucketName;
|
||||
std::string regionId;
|
||||
std::string dlaDbName;
|
||||
};
|
||||
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryResult();
|
||||
explicit DescribeDcdnOfflineLogDeliveryResult(const std::string &payload);
|
||||
~DescribeDcdnOfflineLogDeliveryResult();
|
||||
std::vector<Domain> getDomains()const;
|
||||
std::vector<std::string> getFields()const;
|
||||
std::vector<Region> getRegions()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Domain> domains_;
|
||||
std::vector<std::string> fields_;
|
||||
std::vector<Region> regions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYRESULT_H_
|
||||
@@ -1,48 +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_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSREQUEST_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 DescribeDcdnOfflineLogDeliveryStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDcdnOfflineLogDeliveryStatusRequest();
|
||||
~DescribeDcdnOfflineLogDeliveryStatusRequest();
|
||||
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSREQUEST_H_
|
||||
@@ -40,8 +40,10 @@ namespace AlibabaCloud
|
||||
std::string getUrlRemain()const;
|
||||
std::string getPreloadRemain()const;
|
||||
std::string getBlockRemain()const;
|
||||
std::string getRegexRemain()const;
|
||||
std::string getDirRemain()const;
|
||||
std::string getBlockQuota()const;
|
||||
std::string getRegexQuota()const;
|
||||
std::string getUrlQuota()const;
|
||||
std::string getDirQuota()const;
|
||||
std::string getPreloadQuota()const;
|
||||
@@ -52,8 +54,10 @@ namespace AlibabaCloud
|
||||
std::string urlRemain_;
|
||||
std::string preloadRemain_;
|
||||
std::string blockRemain_;
|
||||
std::string regexRemain_;
|
||||
std::string dirRemain_;
|
||||
std::string blockQuota_;
|
||||
std::string regexQuota_;
|
||||
std::string urlQuota_;
|
||||
std::string dirQuota_;
|
||||
std::string preloadQuota_;
|
||||
|
||||
@@ -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_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_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 DisableDcdnDomainOfflineLogDeliveryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DisableDcdnDomainOfflineLogDeliveryRequest();
|
||||
~DisableDcdnDomainOfflineLogDeliveryRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_
|
||||
@@ -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_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYRESULT_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYRESULT_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 DisableDcdnOfflineLogDeliveryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DisableDcdnOfflineLogDeliveryResult();
|
||||
explicit DisableDcdnOfflineLogDeliveryResult(const std::string &payload);
|
||||
~DisableDcdnOfflineLogDeliveryResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYRESULT_H_
|
||||
@@ -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_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_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 EnableDcdnDomainOfflineLogDeliveryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EnableDcdnDomainOfflineLogDeliveryRequest();
|
||||
~EnableDcdnDomainOfflineLogDeliveryRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_
|
||||
@@ -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_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_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 EnableDcdnDomainOfflineLogDeliveryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EnableDcdnDomainOfflineLogDeliveryResult();
|
||||
explicit EnableDcdnDomainOfflineLogDeliveryResult(const std::string &payload);
|
||||
~EnableDcdnDomainOfflineLogDeliveryResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_
|
||||
@@ -519,42 +519,6 @@ DcdnClient::CreateDcdnDeliverTaskOutcomeCallable DcdnClient::createDcdnDeliverTa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::CreateDcdnDomainOfflineLogDeliveryOutcome DcdnClient::createDcdnDomainOfflineLogDelivery(const CreateDcdnDomainOfflineLogDeliveryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateDcdnDomainOfflineLogDeliveryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateDcdnDomainOfflineLogDeliveryOutcome(CreateDcdnDomainOfflineLogDeliveryResult(outcome.result()));
|
||||
else
|
||||
return CreateDcdnDomainOfflineLogDeliveryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DcdnClient::createDcdnDomainOfflineLogDeliveryAsync(const CreateDcdnDomainOfflineLogDeliveryRequest& request, const CreateDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createDcdnDomainOfflineLogDelivery(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DcdnClient::CreateDcdnDomainOfflineLogDeliveryOutcomeCallable DcdnClient::createDcdnDomainOfflineLogDeliveryCallable(const CreateDcdnDomainOfflineLogDeliveryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateDcdnDomainOfflineLogDeliveryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createDcdnDomainOfflineLogDelivery(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::CreateDcdnSLSRealTimeLogDeliveryOutcome DcdnClient::createDcdnSLSRealTimeLogDelivery(const CreateDcdnSLSRealTimeLogDeliveryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2859,6 +2823,78 @@ DcdnClient::DescribeDcdnDomainWebsocketTrafficDataOutcomeCallable DcdnClient::de
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::DescribeDcdnEsExceptionDataOutcome DcdnClient::describeDcdnEsExceptionData(const DescribeDcdnEsExceptionDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDcdnEsExceptionDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDcdnEsExceptionDataOutcome(DescribeDcdnEsExceptionDataResult(outcome.result()));
|
||||
else
|
||||
return DescribeDcdnEsExceptionDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DcdnClient::describeDcdnEsExceptionDataAsync(const DescribeDcdnEsExceptionDataRequest& request, const DescribeDcdnEsExceptionDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDcdnEsExceptionData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DcdnClient::DescribeDcdnEsExceptionDataOutcomeCallable DcdnClient::describeDcdnEsExceptionDataCallable(const DescribeDcdnEsExceptionDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDcdnEsExceptionDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDcdnEsExceptionData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::DescribeDcdnEsExecuteDataOutcome DcdnClient::describeDcdnEsExecuteData(const DescribeDcdnEsExecuteDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDcdnEsExecuteDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDcdnEsExecuteDataOutcome(DescribeDcdnEsExecuteDataResult(outcome.result()));
|
||||
else
|
||||
return DescribeDcdnEsExecuteDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DcdnClient::describeDcdnEsExecuteDataAsync(const DescribeDcdnEsExecuteDataRequest& request, const DescribeDcdnEsExecuteDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDcdnEsExecuteData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DcdnClient::DescribeDcdnEsExecuteDataOutcomeCallable DcdnClient::describeDcdnEsExecuteDataCallable(const DescribeDcdnEsExecuteDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDcdnEsExecuteDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDcdnEsExecuteData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::DescribeDcdnHttpsDomainListOutcome DcdnClient::describeDcdnHttpsDomainList(const DescribeDcdnHttpsDomainListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3075,150 +3111,6 @@ DcdnClient::DescribeDcdnIpaUserDomainsOutcomeCallable DcdnClient::describeDcdnIp
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::DescribeDcdnOfflineLogDeliveryOutcome DcdnClient::describeDcdnOfflineLogDelivery(const DescribeDcdnOfflineLogDeliveryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDcdnOfflineLogDeliveryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDcdnOfflineLogDeliveryOutcome(DescribeDcdnOfflineLogDeliveryResult(outcome.result()));
|
||||
else
|
||||
return DescribeDcdnOfflineLogDeliveryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DcdnClient::describeDcdnOfflineLogDeliveryAsync(const DescribeDcdnOfflineLogDeliveryRequest& request, const DescribeDcdnOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDcdnOfflineLogDelivery(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DcdnClient::DescribeDcdnOfflineLogDeliveryOutcomeCallable DcdnClient::describeDcdnOfflineLogDeliveryCallable(const DescribeDcdnOfflineLogDeliveryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDcdnOfflineLogDeliveryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDcdnOfflineLogDelivery(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::DescribeDcdnOfflineLogDeliveryFieldOutcome DcdnClient::describeDcdnOfflineLogDeliveryField(const DescribeDcdnOfflineLogDeliveryFieldRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDcdnOfflineLogDeliveryFieldOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDcdnOfflineLogDeliveryFieldOutcome(DescribeDcdnOfflineLogDeliveryFieldResult(outcome.result()));
|
||||
else
|
||||
return DescribeDcdnOfflineLogDeliveryFieldOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DcdnClient::describeDcdnOfflineLogDeliveryFieldAsync(const DescribeDcdnOfflineLogDeliveryFieldRequest& request, const DescribeDcdnOfflineLogDeliveryFieldAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDcdnOfflineLogDeliveryField(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DcdnClient::DescribeDcdnOfflineLogDeliveryFieldOutcomeCallable DcdnClient::describeDcdnOfflineLogDeliveryFieldCallable(const DescribeDcdnOfflineLogDeliveryFieldRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDcdnOfflineLogDeliveryFieldOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDcdnOfflineLogDeliveryField(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::DescribeDcdnOfflineLogDeliveryRegionsOutcome DcdnClient::describeDcdnOfflineLogDeliveryRegions(const DescribeDcdnOfflineLogDeliveryRegionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDcdnOfflineLogDeliveryRegionsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDcdnOfflineLogDeliveryRegionsOutcome(DescribeDcdnOfflineLogDeliveryRegionsResult(outcome.result()));
|
||||
else
|
||||
return DescribeDcdnOfflineLogDeliveryRegionsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DcdnClient::describeDcdnOfflineLogDeliveryRegionsAsync(const DescribeDcdnOfflineLogDeliveryRegionsRequest& request, const DescribeDcdnOfflineLogDeliveryRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDcdnOfflineLogDeliveryRegions(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DcdnClient::DescribeDcdnOfflineLogDeliveryRegionsOutcomeCallable DcdnClient::describeDcdnOfflineLogDeliveryRegionsCallable(const DescribeDcdnOfflineLogDeliveryRegionsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDcdnOfflineLogDeliveryRegionsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDcdnOfflineLogDeliveryRegions(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::DescribeDcdnOfflineLogDeliveryStatusOutcome DcdnClient::describeDcdnOfflineLogDeliveryStatus(const DescribeDcdnOfflineLogDeliveryStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDcdnOfflineLogDeliveryStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDcdnOfflineLogDeliveryStatusOutcome(DescribeDcdnOfflineLogDeliveryStatusResult(outcome.result()));
|
||||
else
|
||||
return DescribeDcdnOfflineLogDeliveryStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DcdnClient::describeDcdnOfflineLogDeliveryStatusAsync(const DescribeDcdnOfflineLogDeliveryStatusRequest& request, const DescribeDcdnOfflineLogDeliveryStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDcdnOfflineLogDeliveryStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DcdnClient::DescribeDcdnOfflineLogDeliveryStatusOutcomeCallable DcdnClient::describeDcdnOfflineLogDeliveryStatusCallable(const DescribeDcdnOfflineLogDeliveryStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDcdnOfflineLogDeliveryStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDcdnOfflineLogDeliveryStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::DescribeDcdnRealTimeDeliveryFieldOutcome DcdnClient::describeDcdnRealTimeDeliveryField(const DescribeDcdnRealTimeDeliveryFieldRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4623,78 +4515,6 @@ DcdnClient::DescribeUserLogserviceStatusOutcomeCallable DcdnClient::describeUser
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::DisableDcdnDomainOfflineLogDeliveryOutcome DcdnClient::disableDcdnDomainOfflineLogDelivery(const DisableDcdnDomainOfflineLogDeliveryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DisableDcdnDomainOfflineLogDeliveryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DisableDcdnDomainOfflineLogDeliveryOutcome(DisableDcdnDomainOfflineLogDeliveryResult(outcome.result()));
|
||||
else
|
||||
return DisableDcdnDomainOfflineLogDeliveryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DcdnClient::disableDcdnDomainOfflineLogDeliveryAsync(const DisableDcdnDomainOfflineLogDeliveryRequest& request, const DisableDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, disableDcdnDomainOfflineLogDelivery(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DcdnClient::DisableDcdnDomainOfflineLogDeliveryOutcomeCallable DcdnClient::disableDcdnDomainOfflineLogDeliveryCallable(const DisableDcdnDomainOfflineLogDeliveryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DisableDcdnDomainOfflineLogDeliveryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->disableDcdnDomainOfflineLogDelivery(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::DisableDcdnOfflineLogDeliveryOutcome DcdnClient::disableDcdnOfflineLogDelivery(const DisableDcdnOfflineLogDeliveryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DisableDcdnOfflineLogDeliveryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DisableDcdnOfflineLogDeliveryOutcome(DisableDcdnOfflineLogDeliveryResult(outcome.result()));
|
||||
else
|
||||
return DisableDcdnOfflineLogDeliveryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DcdnClient::disableDcdnOfflineLogDeliveryAsync(const DisableDcdnOfflineLogDeliveryRequest& request, const DisableDcdnOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, disableDcdnOfflineLogDelivery(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DcdnClient::DisableDcdnOfflineLogDeliveryOutcomeCallable DcdnClient::disableDcdnOfflineLogDeliveryCallable(const DisableDcdnOfflineLogDeliveryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DisableDcdnOfflineLogDeliveryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->disableDcdnOfflineLogDelivery(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::EditRoutineConfOutcome DcdnClient::editRoutineConf(const EditRoutineConfRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4731,42 +4551,6 @@ DcdnClient::EditRoutineConfOutcomeCallable DcdnClient::editRoutineConfCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::EnableDcdnDomainOfflineLogDeliveryOutcome DcdnClient::enableDcdnDomainOfflineLogDelivery(const EnableDcdnDomainOfflineLogDeliveryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return EnableDcdnDomainOfflineLogDeliveryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return EnableDcdnDomainOfflineLogDeliveryOutcome(EnableDcdnDomainOfflineLogDeliveryResult(outcome.result()));
|
||||
else
|
||||
return EnableDcdnDomainOfflineLogDeliveryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DcdnClient::enableDcdnDomainOfflineLogDeliveryAsync(const EnableDcdnDomainOfflineLogDeliveryRequest& request, const EnableDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, enableDcdnDomainOfflineLogDelivery(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DcdnClient::EnableDcdnDomainOfflineLogDeliveryOutcomeCallable DcdnClient::enableDcdnDomainOfflineLogDeliveryCallable(const EnableDcdnDomainOfflineLogDeliveryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<EnableDcdnDomainOfflineLogDeliveryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->enableDcdnDomainOfflineLogDelivery(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::ListDcdnRealTimeDeliveryProjectOutcome DcdnClient::listDcdnRealTimeDeliveryProject(const ListDcdnRealTimeDeliveryProjectRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::CreateDcdnDomainOfflineLogDeliveryRequest;
|
||||
|
||||
CreateDcdnDomainOfflineLogDeliveryRequest::CreateDcdnDomainOfflineLogDeliveryRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "CreateDcdnDomainOfflineLogDelivery")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDcdnDomainOfflineLogDeliveryRequest::~CreateDcdnDomainOfflineLogDeliveryRequest()
|
||||
{}
|
||||
|
||||
std::string CreateDcdnDomainOfflineLogDeliveryRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateDcdnDomainOfflineLogDeliveryRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setBodyParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateDcdnDomainOfflineLogDeliveryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void CreateDcdnDomainOfflineLogDeliveryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setBodyParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long CreateDcdnDomainOfflineLogDeliveryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateDcdnDomainOfflineLogDeliveryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateDcdnDomainOfflineLogDeliveryRequest::getFieldId()const
|
||||
{
|
||||
return fieldId_;
|
||||
}
|
||||
|
||||
void CreateDcdnDomainOfflineLogDeliveryRequest::setFieldId(const std::string& fieldId)
|
||||
{
|
||||
fieldId_ = fieldId;
|
||||
setBodyParameter("FieldId", fieldId);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
CreateDcdnDomainOfflineLogDeliveryResult::CreateDcdnDomainOfflineLogDeliveryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateDcdnDomainOfflineLogDeliveryResult::CreateDcdnDomainOfflineLogDeliveryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateDcdnDomainOfflineLogDeliveryResult::~CreateDcdnDomainOfflineLogDeliveryResult()
|
||||
{}
|
||||
|
||||
void CreateDcdnDomainOfflineLogDeliveryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
73
dcdn/src/model/DescribeDcdnEsExceptionDataRequest.cc
Normal file
73
dcdn/src/model/DescribeDcdnEsExceptionDataRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnEsExceptionDataRequest;
|
||||
|
||||
DescribeDcdnEsExceptionDataRequest::DescribeDcdnEsExceptionDataRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnEsExceptionData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDcdnEsExceptionDataRequest::~DescribeDcdnEsExceptionDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDcdnEsExceptionDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnEsExceptionDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnEsExceptionDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnEsExceptionDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeDcdnEsExceptionDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnEsExceptionDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnEsExceptionDataRequest::getRuleId()const
|
||||
{
|
||||
return ruleId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnEsExceptionDataRequest::setRuleId(const std::string& ruleId)
|
||||
{
|
||||
ruleId_ = ruleId;
|
||||
setParameter("RuleId", ruleId);
|
||||
}
|
||||
|
||||
63
dcdn/src/model/DescribeDcdnEsExceptionDataResult.cc
Normal file
63
dcdn/src/model/DescribeDcdnEsExceptionDataResult.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnEsExceptionDataResult::DescribeDcdnEsExceptionDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnEsExceptionDataResult::DescribeDcdnEsExceptionDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnEsExceptionDataResult::~DescribeDcdnEsExceptionDataResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnEsExceptionDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allContentsNode = value["Contents"]["Content"];
|
||||
for (auto valueContentsContent : allContentsNode)
|
||||
{
|
||||
Content contentsObject;
|
||||
if(!valueContentsContent["Name"].isNull())
|
||||
contentsObject.name = valueContentsContent["Name"].asString();
|
||||
auto allColumns = value["Columns"]["columns"];
|
||||
for (auto value : allColumns)
|
||||
contentsObject.columns.push_back(value.asString());
|
||||
auto allPoints = value["Points"]["points"];
|
||||
for (auto value : allPoints)
|
||||
contentsObject.points.push_back(value.asString());
|
||||
contents_.push_back(contentsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnEsExceptionDataResult::Content> DescribeDcdnEsExceptionDataResult::getContents()const
|
||||
{
|
||||
return contents_;
|
||||
}
|
||||
|
||||
73
dcdn/src/model/DescribeDcdnEsExecuteDataRequest.cc
Normal file
73
dcdn/src/model/DescribeDcdnEsExecuteDataRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnEsExecuteDataRequest;
|
||||
|
||||
DescribeDcdnEsExecuteDataRequest::DescribeDcdnEsExecuteDataRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnEsExecuteData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDcdnEsExecuteDataRequest::~DescribeDcdnEsExecuteDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDcdnEsExecuteDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnEsExecuteDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnEsExecuteDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnEsExecuteDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeDcdnEsExecuteDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnEsExecuteDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnEsExecuteDataRequest::getRuleId()const
|
||||
{
|
||||
return ruleId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnEsExecuteDataRequest::setRuleId(const std::string& ruleId)
|
||||
{
|
||||
ruleId_ = ruleId;
|
||||
setParameter("RuleId", ruleId);
|
||||
}
|
||||
|
||||
63
dcdn/src/model/DescribeDcdnEsExecuteDataResult.cc
Normal file
63
dcdn/src/model/DescribeDcdnEsExecuteDataResult.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnEsExecuteDataResult::DescribeDcdnEsExecuteDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnEsExecuteDataResult::DescribeDcdnEsExecuteDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnEsExecuteDataResult::~DescribeDcdnEsExecuteDataResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnEsExecuteDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allContentsNode = value["Contents"]["Content"];
|
||||
for (auto valueContentsContent : allContentsNode)
|
||||
{
|
||||
Content contentsObject;
|
||||
if(!valueContentsContent["Name"].isNull())
|
||||
contentsObject.name = valueContentsContent["Name"].asString();
|
||||
auto allColumns = value["Columns"]["columns"];
|
||||
for (auto value : allColumns)
|
||||
contentsObject.columns.push_back(value.asString());
|
||||
auto allPoints = value["Points"]["points"];
|
||||
for (auto value : allPoints)
|
||||
contentsObject.points.push_back(value.asString());
|
||||
contents_.push_back(contentsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnEsExecuteDataResult::Content> DescribeDcdnEsExecuteDataResult::getContents()const
|
||||
{
|
||||
return contents_;
|
||||
}
|
||||
|
||||
@@ -1,40 +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/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnOfflineLogDeliveryFieldRequest;
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryFieldRequest::DescribeDcdnOfflineLogDeliveryFieldRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOfflineLogDeliveryField")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryFieldRequest::~DescribeDcdnOfflineLogDeliveryFieldRequest()
|
||||
{}
|
||||
|
||||
long DescribeDcdnOfflineLogDeliveryFieldRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnOfflineLogDeliveryFieldRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryFieldResult::DescribeDcdnOfflineLogDeliveryFieldResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryFieldResult::DescribeDcdnOfflineLogDeliveryFieldResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryFieldResult::~DescribeDcdnOfflineLogDeliveryFieldResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnOfflineLogDeliveryFieldResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allFieldsNode = value["Fields"]["Field"];
|
||||
for (auto valueFieldsField : allFieldsNode)
|
||||
{
|
||||
Field fieldsObject;
|
||||
if(!valueFieldsField["FieldId"].isNull())
|
||||
fieldsObject.fieldId = valueFieldsField["FieldId"].asString();
|
||||
if(!valueFieldsField["FieldName"].isNull())
|
||||
fieldsObject.fieldName = valueFieldsField["FieldName"].asString();
|
||||
if(!valueFieldsField["Description"].isNull())
|
||||
fieldsObject.description = valueFieldsField["Description"].asString();
|
||||
fields_.push_back(fieldsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnOfflineLogDeliveryFieldResult::Field> DescribeDcdnOfflineLogDeliveryFieldResult::getFields()const
|
||||
{
|
||||
return fields_;
|
||||
}
|
||||
|
||||
@@ -1,40 +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/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnOfflineLogDeliveryRegionsRequest;
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryRegionsRequest::DescribeDcdnOfflineLogDeliveryRegionsRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOfflineLogDeliveryRegions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryRegionsRequest::~DescribeDcdnOfflineLogDeliveryRegionsRequest()
|
||||
{}
|
||||
|
||||
long DescribeDcdnOfflineLogDeliveryRegionsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnOfflineLogDeliveryRegionsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryRegionsResult::DescribeDcdnOfflineLogDeliveryRegionsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryRegionsResult::DescribeDcdnOfflineLogDeliveryRegionsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryRegionsResult::~DescribeDcdnOfflineLogDeliveryRegionsResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnOfflineLogDeliveryRegionsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAreasNode = value["Areas"]["Area"];
|
||||
for (auto valueAreasArea : allAreasNode)
|
||||
{
|
||||
Area areasObject;
|
||||
if(!valueAreasArea["AreaId"].isNull())
|
||||
areasObject.areaId = valueAreasArea["AreaId"].asString();
|
||||
if(!valueAreasArea["AreaName"].isNull())
|
||||
areasObject.areaName = valueAreasArea["AreaName"].asString();
|
||||
auto allRegionInfosNode = valueAreasArea["RegionInfos"]["RegionInfo"];
|
||||
for (auto valueAreasAreaRegionInfosRegionInfo : allRegionInfosNode)
|
||||
{
|
||||
Area::RegionInfo regionInfosObject;
|
||||
if(!valueAreasAreaRegionInfosRegionInfo["RegionId"].isNull())
|
||||
regionInfosObject.regionId = valueAreasAreaRegionInfosRegionInfo["RegionId"].asString();
|
||||
if(!valueAreasAreaRegionInfosRegionInfo["RegionName"].isNull())
|
||||
regionInfosObject.regionName = valueAreasAreaRegionInfosRegionInfo["RegionName"].asString();
|
||||
if(!valueAreasAreaRegionInfosRegionInfo["IsOverseas"].isNull())
|
||||
regionInfosObject.isOverseas = valueAreasAreaRegionInfosRegionInfo["IsOverseas"].asString();
|
||||
if(!valueAreasAreaRegionInfosRegionInfo["OssEndpoint"].isNull())
|
||||
regionInfosObject.ossEndpoint = valueAreasAreaRegionInfosRegionInfo["OssEndpoint"].asString();
|
||||
areasObject.regionInfos.push_back(regionInfosObject);
|
||||
}
|
||||
areas_.push_back(areasObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnOfflineLogDeliveryRegionsResult::Area> DescribeDcdnOfflineLogDeliveryRegionsResult::getAreas()const
|
||||
{
|
||||
return areas_;
|
||||
}
|
||||
|
||||
@@ -1,40 +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/dcdn/model/DescribeDcdnOfflineLogDeliveryRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnOfflineLogDeliveryRequest;
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryRequest::DescribeDcdnOfflineLogDeliveryRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOfflineLogDelivery")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryRequest::~DescribeDcdnOfflineLogDeliveryRequest()
|
||||
{}
|
||||
|
||||
long DescribeDcdnOfflineLogDeliveryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnOfflineLogDeliveryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,100 +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/dcdn/model/DescribeDcdnOfflineLogDeliveryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryResult::DescribeDcdnOfflineLogDeliveryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryResult::DescribeDcdnOfflineLogDeliveryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryResult::~DescribeDcdnOfflineLogDeliveryResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnOfflineLogDeliveryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDomainsNode = value["Domains"]["Domain"];
|
||||
for (auto valueDomainsDomain : allDomainsNode)
|
||||
{
|
||||
Domain domainsObject;
|
||||
if(!valueDomainsDomain["DomainName"].isNull())
|
||||
domainsObject.domainName = valueDomainsDomain["DomainName"].asString();
|
||||
domains_.push_back(domainsObject);
|
||||
}
|
||||
auto allRegionsNode = value["Regions"]["Region"];
|
||||
for (auto valueRegionsRegion : allRegionsNode)
|
||||
{
|
||||
Region regionsObject;
|
||||
if(!valueRegionsRegion["OssId"].isNull())
|
||||
regionsObject.ossId = std::stoi(valueRegionsRegion["OssId"].asString());
|
||||
if(!valueRegionsRegion["OssBucketName"].isNull())
|
||||
regionsObject.ossBucketName = valueRegionsRegion["OssBucketName"].asString();
|
||||
if(!valueRegionsRegion["OssPathPrefix"].isNull())
|
||||
regionsObject.ossPathPrefix = valueRegionsRegion["OssPathPrefix"].asString();
|
||||
if(!valueRegionsRegion["DlaVcName"].isNull())
|
||||
regionsObject.dlaVcName = valueRegionsRegion["DlaVcName"].asString();
|
||||
if(!valueRegionsRegion["RegionId"].isNull())
|
||||
regionsObject.regionId = valueRegionsRegion["RegionId"].asString();
|
||||
if(!valueRegionsRegion["RegionName"].isNull())
|
||||
regionsObject.regionName = valueRegionsRegion["RegionName"].asString();
|
||||
if(!valueRegionsRegion["IsOverseas"].isNull())
|
||||
regionsObject.isOverseas = valueRegionsRegion["IsOverseas"].asString();
|
||||
if(!valueRegionsRegion["OssEndpoint"].isNull())
|
||||
regionsObject.ossEndpoint = valueRegionsRegion["OssEndpoint"].asString();
|
||||
if(!valueRegionsRegion["AreaId"].isNull())
|
||||
regionsObject.areaId = valueRegionsRegion["AreaId"].asString();
|
||||
if(!valueRegionsRegion["AreaName"].isNull())
|
||||
regionsObject.areaName = valueRegionsRegion["AreaName"].asString();
|
||||
if(!valueRegionsRegion["DlaDbName"].isNull())
|
||||
regionsObject.dlaDbName = valueRegionsRegion["DlaDbName"].asString();
|
||||
if(!valueRegionsRegion["DlaTableName"].isNull())
|
||||
regionsObject.dlaTableName = valueRegionsRegion["DlaTableName"].asString();
|
||||
regions_.push_back(regionsObject);
|
||||
}
|
||||
auto allFields = value["Fields"]["Field"];
|
||||
for (const auto &item : allFields)
|
||||
fields_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnOfflineLogDeliveryResult::Domain> DescribeDcdnOfflineLogDeliveryResult::getDomains()const
|
||||
{
|
||||
return domains_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeDcdnOfflineLogDeliveryResult::getFields()const
|
||||
{
|
||||
return fields_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnOfflineLogDeliveryResult::Region> DescribeDcdnOfflineLogDeliveryResult::getRegions()const
|
||||
{
|
||||
return regions_;
|
||||
}
|
||||
|
||||
@@ -1,40 +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/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnOfflineLogDeliveryStatusRequest;
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryStatusRequest::DescribeDcdnOfflineLogDeliveryStatusRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOfflineLogDeliveryStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryStatusRequest::~DescribeDcdnOfflineLogDeliveryStatusRequest()
|
||||
{}
|
||||
|
||||
long DescribeDcdnOfflineLogDeliveryStatusRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnOfflineLogDeliveryStatusRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryStatusResult::DescribeDcdnOfflineLogDeliveryStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryStatusResult::DescribeDcdnOfflineLogDeliveryStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryStatusResult::~DescribeDcdnOfflineLogDeliveryStatusResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnOfflineLogDeliveryStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["OpenStatus"].isNull())
|
||||
openStatus_ = value["OpenStatus"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDcdnOfflineLogDeliveryStatusResult::getOpenStatus()const
|
||||
{
|
||||
return openStatus_;
|
||||
}
|
||||
|
||||
@@ -53,8 +53,12 @@ void DescribeDcdnRefreshQuotaResult::parse(const std::string &payload)
|
||||
blockQuota_ = value["BlockQuota"].asString();
|
||||
if(!value["PreloadRemain"].isNull())
|
||||
preloadRemain_ = value["PreloadRemain"].asString();
|
||||
if(!value["blockRemain"].isNull())
|
||||
blockRemain_ = value["blockRemain"].asString();
|
||||
if(!value["BlockRemain"].isNull())
|
||||
blockRemain_ = value["BlockRemain"].asString();
|
||||
if(!value["RegexQuota"].isNull())
|
||||
regexQuota_ = value["RegexQuota"].asString();
|
||||
if(!value["RegexRemain"].isNull())
|
||||
regexRemain_ = value["RegexRemain"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -73,6 +77,11 @@ std::string DescribeDcdnRefreshQuotaResult::getBlockRemain()const
|
||||
return blockRemain_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnRefreshQuotaResult::getRegexRemain()const
|
||||
{
|
||||
return regexRemain_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnRefreshQuotaResult::getDirRemain()const
|
||||
{
|
||||
return dirRemain_;
|
||||
@@ -83,6 +92,11 @@ std::string DescribeDcdnRefreshQuotaResult::getBlockQuota()const
|
||||
return blockQuota_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnRefreshQuotaResult::getRegexQuota()const
|
||||
{
|
||||
return regexQuota_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnRefreshQuotaResult::getUrlQuota()const
|
||||
{
|
||||
return urlQuota_;
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DisableDcdnDomainOfflineLogDeliveryRequest;
|
||||
|
||||
DisableDcdnDomainOfflineLogDeliveryRequest::DisableDcdnDomainOfflineLogDeliveryRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DisableDcdnDomainOfflineLogDelivery")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DisableDcdnDomainOfflineLogDeliveryRequest::~DisableDcdnDomainOfflineLogDeliveryRequest()
|
||||
{}
|
||||
|
||||
std::string DisableDcdnDomainOfflineLogDeliveryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DisableDcdnDomainOfflineLogDeliveryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setBodyParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DisableDcdnDomainOfflineLogDeliveryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DisableDcdnDomainOfflineLogDeliveryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DisableDcdnOfflineLogDeliveryResult::DisableDcdnOfflineLogDeliveryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DisableDcdnOfflineLogDeliveryResult::DisableDcdnOfflineLogDeliveryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DisableDcdnOfflineLogDeliveryResult::~DisableDcdnOfflineLogDeliveryResult()
|
||||
{}
|
||||
|
||||
void DisableDcdnOfflineLogDeliveryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::EnableDcdnDomainOfflineLogDeliveryRequest;
|
||||
|
||||
EnableDcdnDomainOfflineLogDeliveryRequest::EnableDcdnDomainOfflineLogDeliveryRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "EnableDcdnDomainOfflineLogDelivery")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
EnableDcdnDomainOfflineLogDeliveryRequest::~EnableDcdnDomainOfflineLogDeliveryRequest()
|
||||
{}
|
||||
|
||||
std::string EnableDcdnDomainOfflineLogDeliveryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void EnableDcdnDomainOfflineLogDeliveryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setBodyParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long EnableDcdnDomainOfflineLogDeliveryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void EnableDcdnDomainOfflineLogDeliveryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
EnableDcdnDomainOfflineLogDeliveryResult::EnableDcdnDomainOfflineLogDeliveryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
EnableDcdnDomainOfflineLogDeliveryResult::EnableDcdnDomainOfflineLogDeliveryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
EnableDcdnDomainOfflineLogDeliveryResult::~EnableDcdnDomainOfflineLogDeliveryResult()
|
||||
{}
|
||||
|
||||
void EnableDcdnDomainOfflineLogDeliveryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -65,6 +65,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getStorageEngine()const;
|
||||
void setStorageEngine(const std::string& storageEngine);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSecurityToken()const;
|
||||
@@ -114,6 +116,7 @@ namespace AlibabaCloud
|
||||
std::vector<ReplicaSet> replicaSet_;
|
||||
std::string accessKeyId_;
|
||||
std::string storageEngine_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string securityToken_;
|
||||
std::string engine_;
|
||||
|
||||
@@ -113,6 +113,7 @@ namespace AlibabaCloud
|
||||
int maxConnections;
|
||||
std::string readonlyReplicas;
|
||||
std::string replicationFactor;
|
||||
std::string cloudType;
|
||||
std::string vPCId;
|
||||
std::string dBInstanceClass;
|
||||
std::string vSwitchId;
|
||||
|
||||
@@ -69,6 +69,7 @@ namespace AlibabaCloud
|
||||
std::string dBInstanceStatus;
|
||||
std::string zoneId;
|
||||
std::string replicationFactor;
|
||||
std::string cloudType;
|
||||
std::string dBInstanceClass;
|
||||
std::vector<DBInstance::ShardAttribute> shardList;
|
||||
std::string lockMode;
|
||||
|
||||
@@ -110,6 +110,17 @@ void CreateShardingDBInstanceRequest::setStorageEngine(const std::string& storag
|
||||
setParameter("StorageEngine", storageEngine);
|
||||
}
|
||||
|
||||
std::string CreateShardingDBInstanceRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateShardingDBInstanceRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateShardingDBInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
|
||||
@@ -113,6 +113,8 @@ void DescribeDBInstanceAttributeResult::parse(const std::string &payload)
|
||||
dBInstancesObject.kindCode = valueDBInstancesDBInstance["KindCode"].asString();
|
||||
if(!valueDBInstancesDBInstance["CapacityUnit"].isNull())
|
||||
dBInstancesObject.capacityUnit = valueDBInstancesDBInstance["CapacityUnit"].asString();
|
||||
if(!valueDBInstancesDBInstance["CloudType"].isNull())
|
||||
dBInstancesObject.cloudType = valueDBInstancesDBInstance["CloudType"].asString();
|
||||
auto allReplicaSetsNode = valueDBInstancesDBInstance["ReplicaSets"]["ReplicaSet"];
|
||||
for (auto valueDBInstancesDBInstanceReplicaSetsReplicaSet : allReplicaSetsNode)
|
||||
{
|
||||
|
||||
@@ -71,8 +71,6 @@ void DescribeDBInstancesResult::parse(const std::string &payload)
|
||||
dBInstancesObject.regionId = valueDBInstancesDBInstance["RegionId"].asString();
|
||||
if(!valueDBInstancesDBInstance["DBInstanceStorage"].isNull())
|
||||
dBInstancesObject.dBInstanceStorage = std::stoi(valueDBInstancesDBInstance["DBInstanceStorage"].asString());
|
||||
if(!valueDBInstancesDBInstance["CapacityUnit"].isNull())
|
||||
dBInstancesObject.capacityUnit = valueDBInstancesDBInstance["CapacityUnit"].asString();
|
||||
if(!valueDBInstancesDBInstance["ResourceGroupId"].isNull())
|
||||
dBInstancesObject.resourceGroupId = valueDBInstancesDBInstance["ResourceGroupId"].asString();
|
||||
if(!valueDBInstancesDBInstance["ZoneId"].isNull())
|
||||
@@ -87,6 +85,10 @@ void DescribeDBInstancesResult::parse(const std::string &payload)
|
||||
dBInstancesObject.replicationFactor = valueDBInstancesDBInstance["ReplicationFactor"].asString();
|
||||
if(!valueDBInstancesDBInstance["KindCode"].isNull())
|
||||
dBInstancesObject.kindCode = valueDBInstancesDBInstance["KindCode"].asString();
|
||||
if(!valueDBInstancesDBInstance["CloudType"].isNull())
|
||||
dBInstancesObject.cloudType = valueDBInstancesDBInstance["CloudType"].asString();
|
||||
if(!valueDBInstancesDBInstance["CapacityUnit"].isNull())
|
||||
dBInstancesObject.capacityUnit = valueDBInstancesDBInstance["CapacityUnit"].asString();
|
||||
auto allTagsNode = valueDBInstancesDBInstance["Tags"]["Tag"];
|
||||
for (auto valueDBInstancesDBInstanceTagsTag : allTagsNode)
|
||||
{
|
||||
|
||||
@@ -43,14 +43,14 @@ void ListTagResourcesResult::parse(const std::string &payload)
|
||||
for (auto valueTagResourcesTagResource : allTagResourcesNode)
|
||||
{
|
||||
TagResource tagResourcesObject;
|
||||
if(!valueTagResourcesTagResource["TagKey"].isNull())
|
||||
tagResourcesObject.tagKey = valueTagResourcesTagResource["TagKey"].asString();
|
||||
if(!valueTagResourcesTagResource["TagValue"].isNull())
|
||||
tagResourcesObject.tagValue = valueTagResourcesTagResource["TagValue"].asString();
|
||||
if(!valueTagResourcesTagResource["ResourceType"].isNull())
|
||||
tagResourcesObject.resourceType = valueTagResourcesTagResource["ResourceType"].asString();
|
||||
if(!valueTagResourcesTagResource["TagValue"].isNull())
|
||||
tagResourcesObject.tagValue = valueTagResourcesTagResource["TagValue"].asString();
|
||||
if(!valueTagResourcesTagResource["ResourceId"].isNull())
|
||||
tagResourcesObject.resourceId = valueTagResourcesTagResource["ResourceId"].asString();
|
||||
if(!valueTagResourcesTagResource["TagKey"].isNull())
|
||||
tagResourcesObject.tagKey = valueTagResourcesTagResource["TagKey"].asString();
|
||||
tagResources_.push_back(tagResourcesObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
|
||||
@@ -39,6 +39,8 @@ set(scdn_public_header_model
|
||||
include/alibabacloud/scdn/model/DeleteScdnDomainResult.h
|
||||
include/alibabacloud/scdn/model/DeleteScdnSpecificConfigRequest.h
|
||||
include/alibabacloud/scdn/model/DeleteScdnSpecificConfigResult.h
|
||||
include/alibabacloud/scdn/model/DescribeScdnCcInfoRequest.h
|
||||
include/alibabacloud/scdn/model/DescribeScdnCcInfoResult.h
|
||||
include/alibabacloud/scdn/model/DescribeScdnCcQpsInfoRequest.h
|
||||
include/alibabacloud/scdn/model/DescribeScdnCcQpsInfoResult.h
|
||||
include/alibabacloud/scdn/model/DescribeScdnCcTopIpRequest.h
|
||||
@@ -162,6 +164,8 @@ set(scdn_src
|
||||
src/model/DeleteScdnDomainResult.cc
|
||||
src/model/DeleteScdnSpecificConfigRequest.cc
|
||||
src/model/DeleteScdnSpecificConfigResult.cc
|
||||
src/model/DescribeScdnCcInfoRequest.cc
|
||||
src/model/DescribeScdnCcInfoResult.cc
|
||||
src/model/DescribeScdnCcQpsInfoRequest.cc
|
||||
src/model/DescribeScdnCcQpsInfoResult.cc
|
||||
src/model/DescribeScdnCcTopIpRequest.cc
|
||||
|
||||
@@ -40,6 +40,8 @@
|
||||
#include "model/DeleteScdnDomainResult.h"
|
||||
#include "model/DeleteScdnSpecificConfigRequest.h"
|
||||
#include "model/DeleteScdnSpecificConfigResult.h"
|
||||
#include "model/DescribeScdnCcInfoRequest.h"
|
||||
#include "model/DescribeScdnCcInfoResult.h"
|
||||
#include "model/DescribeScdnCcQpsInfoRequest.h"
|
||||
#include "model/DescribeScdnCcQpsInfoResult.h"
|
||||
#include "model/DescribeScdnCcTopIpRequest.h"
|
||||
@@ -178,6 +180,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteScdnSpecificConfigResult> DeleteScdnSpecificConfigOutcome;
|
||||
typedef std::future<DeleteScdnSpecificConfigOutcome> DeleteScdnSpecificConfigOutcomeCallable;
|
||||
typedef std::function<void(const ScdnClient*, const Model::DeleteScdnSpecificConfigRequest&, const DeleteScdnSpecificConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteScdnSpecificConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeScdnCcInfoResult> DescribeScdnCcInfoOutcome;
|
||||
typedef std::future<DescribeScdnCcInfoOutcome> DescribeScdnCcInfoOutcomeCallable;
|
||||
typedef std::function<void(const ScdnClient*, const Model::DescribeScdnCcInfoRequest&, const DescribeScdnCcInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeScdnCcInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeScdnCcQpsInfoResult> DescribeScdnCcQpsInfoOutcome;
|
||||
typedef std::future<DescribeScdnCcQpsInfoOutcome> DescribeScdnCcQpsInfoOutcomeCallable;
|
||||
typedef std::function<void(const ScdnClient*, const Model::DescribeScdnCcQpsInfoRequest&, const DescribeScdnCcQpsInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeScdnCcQpsInfoAsyncHandler;
|
||||
@@ -363,6 +368,9 @@ namespace AlibabaCloud
|
||||
DeleteScdnSpecificConfigOutcome deleteScdnSpecificConfig(const Model::DeleteScdnSpecificConfigRequest &request)const;
|
||||
void deleteScdnSpecificConfigAsync(const Model::DeleteScdnSpecificConfigRequest& request, const DeleteScdnSpecificConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteScdnSpecificConfigOutcomeCallable deleteScdnSpecificConfigCallable(const Model::DeleteScdnSpecificConfigRequest& request) const;
|
||||
DescribeScdnCcInfoOutcome describeScdnCcInfo(const Model::DescribeScdnCcInfoRequest &request)const;
|
||||
void describeScdnCcInfoAsync(const Model::DescribeScdnCcInfoRequest& request, const DescribeScdnCcInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeScdnCcInfoOutcomeCallable describeScdnCcInfoCallable(const Model::DescribeScdnCcInfoRequest& request) const;
|
||||
DescribeScdnCcQpsInfoOutcome describeScdnCcQpsInfo(const Model::DescribeScdnCcQpsInfoRequest &request)const;
|
||||
void describeScdnCcQpsInfoAsync(const Model::DescribeScdnCcQpsInfoRequest& request, const DescribeScdnCcQpsInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeScdnCcQpsInfoOutcomeCallable describeScdnCcQpsInfoCallable(const Model::DescribeScdnCcQpsInfoRequest& request) const;
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace AlibabaCloud
|
||||
void setFunctions(const std::string& functions);
|
||||
std::string getDomainNames()const;
|
||||
void setDomainNames(const std::string& domainNames);
|
||||
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 getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
std::string functions_;
|
||||
std::string domainNames_;
|
||||
std::string securityToken_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,20 +35,20 @@ namespace AlibabaCloud
|
||||
DeleteScdnDomainRequest();
|
||||
~DeleteScdnDomainRequest();
|
||||
|
||||
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 getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
std::string securityToken_;
|
||||
std::string ownerAccount_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYREQUEST_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_SCDN_MODEL_DESCRIBESCDNCCINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_SCDN_MODEL_DESCRIBESCDNCCINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
#include <alibabacloud/scdn/ScdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dcdn
|
||||
namespace Scdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DCDN_EXPORT DisableDcdnOfflineLogDeliveryRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_SCDN_EXPORT DescribeScdnCcInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DisableDcdnOfflineLogDeliveryRequest();
|
||||
~DisableDcdnOfflineLogDeliveryRequest();
|
||||
DescribeScdnCcInfoRequest();
|
||||
~DescribeScdnCcInfoRequest();
|
||||
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
@@ -45,4 +45,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_SCDN_MODEL_DESCRIBESCDNCCINFOREQUEST_H_
|
||||
@@ -14,36 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_SETUSERGREENMANAGERCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_SETUSERGREENMANAGERCONFIGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_SCDN_MODEL_DESCRIBESCDNCCINFORESULT_H_
|
||||
#define ALIBABACLOUD_SCDN_MODEL_DESCRIBESCDNCCINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/scdn/ScdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace Scdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT SetUserGreenManagerConfigResult : public ServiceResult
|
||||
class ALIBABACLOUD_SCDN_EXPORT DescribeScdnCcInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SetUserGreenManagerConfigResult();
|
||||
explicit SetUserGreenManagerConfigResult(const std::string &payload);
|
||||
~SetUserGreenManagerConfigResult();
|
||||
DescribeScdnCcInfoResult();
|
||||
explicit DescribeScdnCcInfoResult(const std::string &payload);
|
||||
~DescribeScdnCcInfoResult();
|
||||
std::string getStatus()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_SETUSERGREENMANAGERCONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_SCDN_MODEL_DESCRIBESCDNCCINFORESULT_H_
|
||||
@@ -37,21 +37,21 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getSources()const;
|
||||
void setSources(const std::string& sources);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string sources_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -375,6 +375,42 @@ ScdnClient::DeleteScdnSpecificConfigOutcomeCallable ScdnClient::deleteScdnSpecif
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ScdnClient::DescribeScdnCcInfoOutcome ScdnClient::describeScdnCcInfo(const DescribeScdnCcInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeScdnCcInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeScdnCcInfoOutcome(DescribeScdnCcInfoResult(outcome.result()));
|
||||
else
|
||||
return DescribeScdnCcInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ScdnClient::describeScdnCcInfoAsync(const DescribeScdnCcInfoRequest& request, const DescribeScdnCcInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeScdnCcInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ScdnClient::DescribeScdnCcInfoOutcomeCallable ScdnClient::describeScdnCcInfoCallable(const DescribeScdnCcInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeScdnCcInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeScdnCcInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ScdnClient::DescribeScdnCcQpsInfoOutcome ScdnClient::describeScdnCcQpsInfo(const DescribeScdnCcQpsInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -49,6 +49,17 @@ void BatchSetScdnDomainConfigsRequest::setDomainNames(const std::string& domainN
|
||||
setParameter("DomainNames", domainNames);
|
||||
}
|
||||
|
||||
std::string BatchSetScdnDomainConfigsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchSetScdnDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string BatchSetScdnDomainConfigsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -71,14 +82,3 @@ void BatchSetScdnDomainConfigsRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BatchSetScdnDomainConfigsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchSetScdnDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -27,6 +27,17 @@ DeleteScdnDomainRequest::DeleteScdnDomainRequest() :
|
||||
DeleteScdnDomainRequest::~DeleteScdnDomainRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteScdnDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteScdnDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteScdnDomainRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -60,14 +71,3 @@ void DeleteScdnDomainRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteScdnDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteScdnDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -14,25 +14,25 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryRequest.h>
|
||||
#include <alibabacloud/scdn/model/DescribeScdnCcInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DisableDcdnOfflineLogDeliveryRequest;
|
||||
using AlibabaCloud::Scdn::Model::DescribeScdnCcInfoRequest;
|
||||
|
||||
DisableDcdnOfflineLogDeliveryRequest::DisableDcdnOfflineLogDeliveryRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DisableDcdnOfflineLogDelivery")
|
||||
DescribeScdnCcInfoRequest::DescribeScdnCcInfoRequest() :
|
||||
RpcServiceRequest("scdn", "2017-11-15", "DescribeScdnCcInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DisableDcdnOfflineLogDeliveryRequest::~DisableDcdnOfflineLogDeliveryRequest()
|
||||
DescribeScdnCcInfoRequest::~DescribeScdnCcInfoRequest()
|
||||
{}
|
||||
|
||||
long DisableDcdnOfflineLogDeliveryRequest::getOwnerId()const
|
||||
long DescribeScdnCcInfoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DisableDcdnOfflineLogDeliveryRequest::setOwnerId(long ownerId)
|
||||
void DescribeScdnCcInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
@@ -14,31 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryResult.h>
|
||||
#include <alibabacloud/scdn/model/DescribeScdnCcInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
using namespace AlibabaCloud::Scdn;
|
||||
using namespace AlibabaCloud::Scdn::Model;
|
||||
|
||||
DisableDcdnDomainOfflineLogDeliveryResult::DisableDcdnDomainOfflineLogDeliveryResult() :
|
||||
DescribeScdnCcInfoResult::DescribeScdnCcInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DisableDcdnDomainOfflineLogDeliveryResult::DisableDcdnDomainOfflineLogDeliveryResult(const std::string &payload) :
|
||||
DescribeScdnCcInfoResult::DescribeScdnCcInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DisableDcdnDomainOfflineLogDeliveryResult::~DisableDcdnDomainOfflineLogDeliveryResult()
|
||||
DescribeScdnCcInfoResult::~DescribeScdnCcInfoResult()
|
||||
{}
|
||||
|
||||
void DisableDcdnDomainOfflineLogDeliveryResult::parse(const std::string &payload)
|
||||
void DescribeScdnCcInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeScdnCcInfoResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
@@ -38,28 +38,6 @@ void UpdateScdnDomainRequest::setSources(const std::string& sources)
|
||||
setParameter("Sources", sources);
|
||||
}
|
||||
|
||||
std::string UpdateScdnDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void UpdateScdnDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long UpdateScdnDomainRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpdateScdnDomainRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UpdateScdnDomainRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
@@ -82,3 +60,25 @@ void UpdateScdnDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string UpdateScdnDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void UpdateScdnDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long UpdateScdnDomainRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpdateScdnDomainRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string getIsRequireRecovery()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getIsAlreadyExist()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
@@ -48,6 +49,7 @@ namespace AlibabaCloud
|
||||
std::string isRequireRecovery_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool isAlreadyExist_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
|
||||
@@ -39,14 +39,16 @@ void CheckBlockVolumeNameResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["IsRequireRecovery"].isNull())
|
||||
isRequireRecovery_ = value["IsRequireRecovery"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["IsAlreadyExist"].isNull())
|
||||
isAlreadyExist_ = value["IsAlreadyExist"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
@@ -65,6 +67,11 @@ std::string CheckBlockVolumeNameResult::getCode()const
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool CheckBlockVolumeNameResult::getIsAlreadyExist()const
|
||||
{
|
||||
return isAlreadyExist_;
|
||||
}
|
||||
|
||||
bool CheckBlockVolumeNameResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
|
||||
Reference in New Issue
Block a user