Update DeleteFCTrigger.

This commit is contained in:
sdk-team
2021-12-27 02:12:03 +00:00
parent c4b557376c
commit 3611eea277
21 changed files with 4 additions and 917 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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