Generated 2016-11-01 for live.
This commit is contained in:
@@ -258,6 +258,8 @@
|
||||
#include "model/DescribeLiveDomainFrameRateAndBitRateDataResult.h"
|
||||
#include "model/DescribeLiveDomainLimitRequest.h"
|
||||
#include "model/DescribeLiveDomainLimitResult.h"
|
||||
#include "model/DescribeLiveDomainLogRequest.h"
|
||||
#include "model/DescribeLiveDomainLogResult.h"
|
||||
#include "model/DescribeLiveDomainMappingRequest.h"
|
||||
#include "model/DescribeLiveDomainMappingResult.h"
|
||||
#include "model/DescribeLiveDomainOnlineUserNumRequest.h"
|
||||
@@ -406,6 +408,8 @@
|
||||
#include "model/ForbidLiveStreamResult.h"
|
||||
#include "model/ForbidPushStreamRequest.h"
|
||||
#include "model/ForbidPushStreamResult.h"
|
||||
#include "model/GetAllCustomTemplatesRequest.h"
|
||||
#include "model/GetAllCustomTemplatesResult.h"
|
||||
#include "model/GetCustomTemplateRequest.h"
|
||||
#include "model/GetCustomTemplateResult.h"
|
||||
#include "model/GetMultiRateConfigRequest.h"
|
||||
@@ -899,6 +903,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeLiveDomainLimitResult> DescribeLiveDomainLimitOutcome;
|
||||
typedef std::future<DescribeLiveDomainLimitOutcome> DescribeLiveDomainLimitOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveDomainLimitRequest&, const DescribeLiveDomainLimitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveDomainLimitAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveDomainLogResult> DescribeLiveDomainLogOutcome;
|
||||
typedef std::future<DescribeLiveDomainLogOutcome> DescribeLiveDomainLogOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveDomainLogRequest&, const DescribeLiveDomainLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveDomainLogAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveDomainMappingResult> DescribeLiveDomainMappingOutcome;
|
||||
typedef std::future<DescribeLiveDomainMappingOutcome> DescribeLiveDomainMappingOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveDomainMappingRequest&, const DescribeLiveDomainMappingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveDomainMappingAsyncHandler;
|
||||
@@ -1121,6 +1128,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ForbidPushStreamResult> ForbidPushStreamOutcome;
|
||||
typedef std::future<ForbidPushStreamOutcome> ForbidPushStreamOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::ForbidPushStreamRequest&, const ForbidPushStreamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ForbidPushStreamAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAllCustomTemplatesResult> GetAllCustomTemplatesOutcome;
|
||||
typedef std::future<GetAllCustomTemplatesOutcome> GetAllCustomTemplatesOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::GetAllCustomTemplatesRequest&, const GetAllCustomTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAllCustomTemplatesAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetCustomTemplateResult> GetCustomTemplateOutcome;
|
||||
typedef std::future<GetCustomTemplateOutcome> GetCustomTemplateOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::GetCustomTemplateRequest&, const GetCustomTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCustomTemplateAsyncHandler;
|
||||
@@ -1675,6 +1685,9 @@ namespace AlibabaCloud
|
||||
DescribeLiveDomainLimitOutcome describeLiveDomainLimit(const Model::DescribeLiveDomainLimitRequest &request)const;
|
||||
void describeLiveDomainLimitAsync(const Model::DescribeLiveDomainLimitRequest& request, const DescribeLiveDomainLimitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveDomainLimitOutcomeCallable describeLiveDomainLimitCallable(const Model::DescribeLiveDomainLimitRequest& request) const;
|
||||
DescribeLiveDomainLogOutcome describeLiveDomainLog(const Model::DescribeLiveDomainLogRequest &request)const;
|
||||
void describeLiveDomainLogAsync(const Model::DescribeLiveDomainLogRequest& request, const DescribeLiveDomainLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveDomainLogOutcomeCallable describeLiveDomainLogCallable(const Model::DescribeLiveDomainLogRequest& request) const;
|
||||
DescribeLiveDomainMappingOutcome describeLiveDomainMapping(const Model::DescribeLiveDomainMappingRequest &request)const;
|
||||
void describeLiveDomainMappingAsync(const Model::DescribeLiveDomainMappingRequest& request, const DescribeLiveDomainMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveDomainMappingOutcomeCallable describeLiveDomainMappingCallable(const Model::DescribeLiveDomainMappingRequest& request) const;
|
||||
@@ -1897,6 +1910,9 @@ namespace AlibabaCloud
|
||||
ForbidPushStreamOutcome forbidPushStream(const Model::ForbidPushStreamRequest &request)const;
|
||||
void forbidPushStreamAsync(const Model::ForbidPushStreamRequest& request, const ForbidPushStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ForbidPushStreamOutcomeCallable forbidPushStreamCallable(const Model::ForbidPushStreamRequest& request) const;
|
||||
GetAllCustomTemplatesOutcome getAllCustomTemplates(const Model::GetAllCustomTemplatesRequest &request)const;
|
||||
void getAllCustomTemplatesAsync(const Model::GetAllCustomTemplatesRequest& request, const GetAllCustomTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAllCustomTemplatesOutcomeCallable getAllCustomTemplatesCallable(const Model::GetAllCustomTemplatesRequest& request) const;
|
||||
GetCustomTemplateOutcome getCustomTemplate(const Model::GetCustomTemplateRequest &request)const;
|
||||
void getCustomTemplateAsync(const Model::GetCustomTemplateRequest& request, const GetCustomTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetCustomTemplateOutcomeCallable getCustomTemplateCallable(const Model::GetCustomTemplateRequest& request) const;
|
||||
|
||||
@@ -50,39 +50,47 @@ namespace AlibabaCloud
|
||||
std::vector<RecordFormatItem> recordFormat;
|
||||
std::string ossBucket;
|
||||
};
|
||||
struct SyncGroup
|
||||
{
|
||||
std::vector<std::string> resourceIds;
|
||||
int mode;
|
||||
std::string hostResourceId;
|
||||
};
|
||||
|
||||
|
||||
DescribeCasterConfigResult();
|
||||
explicit DescribeCasterConfigResult(const std::string &payload);
|
||||
~DescribeCasterConfigResult();
|
||||
int getChannelEnable()const;
|
||||
std::string getDomainName()const;
|
||||
std::string getUrgentMaterialId()const;
|
||||
TranscodeConfig getTranscodeConfig()const;
|
||||
std::string getProgramName()const;
|
||||
float getDelay()const;
|
||||
std::string getSideOutputUrl()const;
|
||||
std::string getCallbackUrl()const;
|
||||
std::string getCasterName()const;
|
||||
int getChannelEnable()const;
|
||||
std::string getDomainName()const;
|
||||
int getProgramEffect()const;
|
||||
std::string getUrgentMaterialId()const;
|
||||
TranscodeConfig getTranscodeConfig()const;
|
||||
std::vector<SyncGroup> getSyncGroupsConfig()const;
|
||||
std::string getCasterId()const;
|
||||
std::string getProgramName()const;
|
||||
RecordConfig getRecordConfig()const;
|
||||
float getDelay()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int channelEnable_;
|
||||
std::string domainName_;
|
||||
std::string urgentMaterialId_;
|
||||
TranscodeConfig transcodeConfig_;
|
||||
std::string programName_;
|
||||
float delay_;
|
||||
std::string sideOutputUrl_;
|
||||
std::string callbackUrl_;
|
||||
std::string casterName_;
|
||||
int channelEnable_;
|
||||
std::string domainName_;
|
||||
int programEffect_;
|
||||
std::string urgentMaterialId_;
|
||||
TranscodeConfig transcodeConfig_;
|
||||
std::vector<SyncGroup> syncGroupsConfig_;
|
||||
std::string casterId_;
|
||||
std::string programName_;
|
||||
RecordConfig recordConfig_;
|
||||
float delay_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLOGREQUEST_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLOGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainLogRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLiveDomainLogRequest();
|
||||
~DescribeLiveDomainLogRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string 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_;
|
||||
long pageNumber_;
|
||||
long pageSize_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLOGREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLOGRESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLOGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainLogResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DomainLogDetail
|
||||
{
|
||||
struct PageInfos
|
||||
{
|
||||
long pageSize;
|
||||
long total;
|
||||
long pageIndex;
|
||||
};
|
||||
struct LogInfoDetail
|
||||
{
|
||||
long logSize;
|
||||
std::string endTime;
|
||||
std::string startTime;
|
||||
std::string logName;
|
||||
std::string logPath;
|
||||
};
|
||||
std::vector<DomainLogDetail::LogInfoDetail> logInfos;
|
||||
PageInfos pageInfos;
|
||||
long logCount;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveDomainLogResult();
|
||||
explicit DescribeLiveDomainLogResult(const std::string &payload);
|
||||
~DescribeLiveDomainLogResult();
|
||||
std::string getDomainName()const;
|
||||
std::vector<DomainLogDetail> getDomainLogDetails()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::vector<DomainLogDetail> domainLogDetails_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLOGRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_GETALLCUSTOMTEMPLATESREQUEST_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_GETALLCUSTOMTEMPLATESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT GetAllCustomTemplatesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAllCustomTemplatesRequest();
|
||||
~GetAllCustomTemplatesRequest();
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_GETALLCUSTOMTEMPLATESREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_GETALLCUSTOMTEMPLATESRESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_GETALLCUSTOMTEMPLATESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT GetAllCustomTemplatesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetAllCustomTemplatesResult();
|
||||
explicit GetAllCustomTemplatesResult(const std::string &payload);
|
||||
~GetAllCustomTemplatesResult();
|
||||
std::string getCustomTemplates()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string customTemplates_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_GETALLCUSTOMTEMPLATESRESULT_H_
|
||||
@@ -51,6 +51,8 @@ namespace AlibabaCloud
|
||||
void setCasterName(const std::string& casterName);
|
||||
std::string getSideOutputUrl()const;
|
||||
void setSideOutputUrl(const std::string& sideOutputUrl);
|
||||
std::string getSyncGroupsConfig()const;
|
||||
void setSyncGroupsConfig(const std::string& syncGroupsConfig);
|
||||
std::string getCasterId()const;
|
||||
void setCasterId(const std::string& casterId);
|
||||
std::string getDomainName()const;
|
||||
@@ -71,6 +73,7 @@ namespace AlibabaCloud
|
||||
std::string transcodeConfig_;
|
||||
std::string casterName_;
|
||||
std::string sideOutputUrl_;
|
||||
std::string syncGroupsConfig_;
|
||||
std::string casterId_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
Reference in New Issue
Block a user