Support mau.

This commit is contained in:
sdk-team
2020-02-12 08:45:34 +08:00
parent 9e40693b46
commit dd6bc60245
71 changed files with 2443 additions and 196 deletions

View File

@@ -26,12 +26,16 @@
#include "model/CreateChannelResult.h"
#include "model/CreateConferenceRequest.h"
#include "model/CreateConferenceResult.h"
#include "model/CreateMAURuleRequest.h"
#include "model/CreateMAURuleResult.h"
#include "model/CreateTemplateRequest.h"
#include "model/CreateTemplateResult.h"
#include "model/DeleteChannelRequest.h"
#include "model/DeleteChannelResult.h"
#include "model/DeleteConferenceRequest.h"
#include "model/DeleteConferenceResult.h"
#include "model/DeleteMAURuleRequest.h"
#include "model/DeleteMAURuleResult.h"
#include "model/DeleteTemplateRequest.h"
#include "model/DeleteTemplateResult.h"
#include "model/DescribeAppsRequest.h"
@@ -40,6 +44,8 @@
#include "model/DescribeChannelParticipantsResult.h"
#include "model/DescribeConferenceAuthInfoRequest.h"
#include "model/DescribeConferenceAuthInfoResult.h"
#include "model/DescribeMAURuleRequest.h"
#include "model/DescribeMAURuleResult.h"
#include "model/DescribeRtcChannelCntDataRequest.h"
#include "model/DescribeRtcChannelCntDataResult.h"
#include "model/DescribeRtcChannelListRequest.h"
@@ -54,8 +60,16 @@
#include "model/DescribeRtcPeakChannelCntDataResult.h"
#include "model/DescribeRtcPeakUserCntDataRequest.h"
#include "model/DescribeRtcPeakUserCntDataResult.h"
#include "model/DescribeRtcQualityMetricRequest.h"
#include "model/DescribeRtcQualityMetricResult.h"
#include "model/DescribeRtcUserCntDataRequest.h"
#include "model/DescribeRtcUserCntDataResult.h"
#include "model/DescribeRtcUserListRequest.h"
#include "model/DescribeRtcUserListResult.h"
#include "model/DisableMAURuleRequest.h"
#include "model/DisableMAURuleResult.h"
#include "model/EnableMAURuleRequest.h"
#include "model/EnableMAURuleResult.h"
#include "model/GetMPUTaskStatusRequest.h"
#include "model/GetMPUTaskStatusResult.h"
#include "model/GetTaskStatusRequest.h"
@@ -105,6 +119,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateConferenceResult> CreateConferenceOutcome;
typedef std::future<CreateConferenceOutcome> CreateConferenceOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::CreateConferenceRequest&, const CreateConferenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConferenceAsyncHandler;
typedef Outcome<Error, Model::CreateMAURuleResult> CreateMAURuleOutcome;
typedef std::future<CreateMAURuleOutcome> CreateMAURuleOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::CreateMAURuleRequest&, const CreateMAURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMAURuleAsyncHandler;
typedef Outcome<Error, Model::CreateTemplateResult> CreateTemplateOutcome;
typedef std::future<CreateTemplateOutcome> CreateTemplateOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::CreateTemplateRequest&, const CreateTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTemplateAsyncHandler;
@@ -114,6 +131,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteConferenceResult> DeleteConferenceOutcome;
typedef std::future<DeleteConferenceOutcome> DeleteConferenceOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::DeleteConferenceRequest&, const DeleteConferenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConferenceAsyncHandler;
typedef Outcome<Error, Model::DeleteMAURuleResult> DeleteMAURuleOutcome;
typedef std::future<DeleteMAURuleOutcome> DeleteMAURuleOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::DeleteMAURuleRequest&, const DeleteMAURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMAURuleAsyncHandler;
typedef Outcome<Error, Model::DeleteTemplateResult> DeleteTemplateOutcome;
typedef std::future<DeleteTemplateOutcome> DeleteTemplateOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::DeleteTemplateRequest&, const DeleteTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTemplateAsyncHandler;
@@ -126,6 +146,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeConferenceAuthInfoResult> DescribeConferenceAuthInfoOutcome;
typedef std::future<DescribeConferenceAuthInfoOutcome> DescribeConferenceAuthInfoOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::DescribeConferenceAuthInfoRequest&, const DescribeConferenceAuthInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConferenceAuthInfoAsyncHandler;
typedef Outcome<Error, Model::DescribeMAURuleResult> DescribeMAURuleOutcome;
typedef std::future<DescribeMAURuleOutcome> DescribeMAURuleOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::DescribeMAURuleRequest&, const DescribeMAURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMAURuleAsyncHandler;
typedef Outcome<Error, Model::DescribeRtcChannelCntDataResult> DescribeRtcChannelCntDataOutcome;
typedef std::future<DescribeRtcChannelCntDataOutcome> DescribeRtcChannelCntDataOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::DescribeRtcChannelCntDataRequest&, const DescribeRtcChannelCntDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcChannelCntDataAsyncHandler;
@@ -147,9 +170,21 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeRtcPeakUserCntDataResult> DescribeRtcPeakUserCntDataOutcome;
typedef std::future<DescribeRtcPeakUserCntDataOutcome> DescribeRtcPeakUserCntDataOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::DescribeRtcPeakUserCntDataRequest&, const DescribeRtcPeakUserCntDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcPeakUserCntDataAsyncHandler;
typedef Outcome<Error, Model::DescribeRtcQualityMetricResult> DescribeRtcQualityMetricOutcome;
typedef std::future<DescribeRtcQualityMetricOutcome> DescribeRtcQualityMetricOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::DescribeRtcQualityMetricRequest&, const DescribeRtcQualityMetricOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcQualityMetricAsyncHandler;
typedef Outcome<Error, Model::DescribeRtcUserCntDataResult> DescribeRtcUserCntDataOutcome;
typedef std::future<DescribeRtcUserCntDataOutcome> DescribeRtcUserCntDataOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::DescribeRtcUserCntDataRequest&, const DescribeRtcUserCntDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcUserCntDataAsyncHandler;
typedef Outcome<Error, Model::DescribeRtcUserListResult> DescribeRtcUserListOutcome;
typedef std::future<DescribeRtcUserListOutcome> DescribeRtcUserListOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::DescribeRtcUserListRequest&, const DescribeRtcUserListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcUserListAsyncHandler;
typedef Outcome<Error, Model::DisableMAURuleResult> DisableMAURuleOutcome;
typedef std::future<DisableMAURuleOutcome> DisableMAURuleOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::DisableMAURuleRequest&, const DisableMAURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableMAURuleAsyncHandler;
typedef Outcome<Error, Model::EnableMAURuleResult> EnableMAURuleOutcome;
typedef std::future<EnableMAURuleOutcome> EnableMAURuleOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::EnableMAURuleRequest&, const EnableMAURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableMAURuleAsyncHandler;
typedef Outcome<Error, Model::GetMPUTaskStatusResult> GetMPUTaskStatusOutcome;
typedef std::future<GetMPUTaskStatusOutcome> GetMPUTaskStatusOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::GetMPUTaskStatusRequest&, const GetMPUTaskStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMPUTaskStatusAsyncHandler;
@@ -212,6 +247,9 @@ namespace AlibabaCloud
CreateConferenceOutcome createConference(const Model::CreateConferenceRequest &request)const;
void createConferenceAsync(const Model::CreateConferenceRequest& request, const CreateConferenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateConferenceOutcomeCallable createConferenceCallable(const Model::CreateConferenceRequest& request) const;
CreateMAURuleOutcome createMAURule(const Model::CreateMAURuleRequest &request)const;
void createMAURuleAsync(const Model::CreateMAURuleRequest& request, const CreateMAURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMAURuleOutcomeCallable createMAURuleCallable(const Model::CreateMAURuleRequest& request) const;
CreateTemplateOutcome createTemplate(const Model::CreateTemplateRequest &request)const;
void createTemplateAsync(const Model::CreateTemplateRequest& request, const CreateTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTemplateOutcomeCallable createTemplateCallable(const Model::CreateTemplateRequest& request) const;
@@ -221,6 +259,9 @@ namespace AlibabaCloud
DeleteConferenceOutcome deleteConference(const Model::DeleteConferenceRequest &request)const;
void deleteConferenceAsync(const Model::DeleteConferenceRequest& request, const DeleteConferenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteConferenceOutcomeCallable deleteConferenceCallable(const Model::DeleteConferenceRequest& request) const;
DeleteMAURuleOutcome deleteMAURule(const Model::DeleteMAURuleRequest &request)const;
void deleteMAURuleAsync(const Model::DeleteMAURuleRequest& request, const DeleteMAURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteMAURuleOutcomeCallable deleteMAURuleCallable(const Model::DeleteMAURuleRequest& request) const;
DeleteTemplateOutcome deleteTemplate(const Model::DeleteTemplateRequest &request)const;
void deleteTemplateAsync(const Model::DeleteTemplateRequest& request, const DeleteTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTemplateOutcomeCallable deleteTemplateCallable(const Model::DeleteTemplateRequest& request) const;
@@ -233,6 +274,9 @@ namespace AlibabaCloud
DescribeConferenceAuthInfoOutcome describeConferenceAuthInfo(const Model::DescribeConferenceAuthInfoRequest &request)const;
void describeConferenceAuthInfoAsync(const Model::DescribeConferenceAuthInfoRequest& request, const DescribeConferenceAuthInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeConferenceAuthInfoOutcomeCallable describeConferenceAuthInfoCallable(const Model::DescribeConferenceAuthInfoRequest& request) const;
DescribeMAURuleOutcome describeMAURule(const Model::DescribeMAURuleRequest &request)const;
void describeMAURuleAsync(const Model::DescribeMAURuleRequest& request, const DescribeMAURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMAURuleOutcomeCallable describeMAURuleCallable(const Model::DescribeMAURuleRequest& request) const;
DescribeRtcChannelCntDataOutcome describeRtcChannelCntData(const Model::DescribeRtcChannelCntDataRequest &request)const;
void describeRtcChannelCntDataAsync(const Model::DescribeRtcChannelCntDataRequest& request, const DescribeRtcChannelCntDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRtcChannelCntDataOutcomeCallable describeRtcChannelCntDataCallable(const Model::DescribeRtcChannelCntDataRequest& request) const;
@@ -254,9 +298,21 @@ namespace AlibabaCloud
DescribeRtcPeakUserCntDataOutcome describeRtcPeakUserCntData(const Model::DescribeRtcPeakUserCntDataRequest &request)const;
void describeRtcPeakUserCntDataAsync(const Model::DescribeRtcPeakUserCntDataRequest& request, const DescribeRtcPeakUserCntDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRtcPeakUserCntDataOutcomeCallable describeRtcPeakUserCntDataCallable(const Model::DescribeRtcPeakUserCntDataRequest& request) const;
DescribeRtcQualityMetricOutcome describeRtcQualityMetric(const Model::DescribeRtcQualityMetricRequest &request)const;
void describeRtcQualityMetricAsync(const Model::DescribeRtcQualityMetricRequest& request, const DescribeRtcQualityMetricAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRtcQualityMetricOutcomeCallable describeRtcQualityMetricCallable(const Model::DescribeRtcQualityMetricRequest& request) const;
DescribeRtcUserCntDataOutcome describeRtcUserCntData(const Model::DescribeRtcUserCntDataRequest &request)const;
void describeRtcUserCntDataAsync(const Model::DescribeRtcUserCntDataRequest& request, const DescribeRtcUserCntDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRtcUserCntDataOutcomeCallable describeRtcUserCntDataCallable(const Model::DescribeRtcUserCntDataRequest& request) const;
DescribeRtcUserListOutcome describeRtcUserList(const Model::DescribeRtcUserListRequest &request)const;
void describeRtcUserListAsync(const Model::DescribeRtcUserListRequest& request, const DescribeRtcUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRtcUserListOutcomeCallable describeRtcUserListCallable(const Model::DescribeRtcUserListRequest& request) const;
DisableMAURuleOutcome disableMAURule(const Model::DisableMAURuleRequest &request)const;
void disableMAURuleAsync(const Model::DisableMAURuleRequest& request, const DisableMAURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableMAURuleOutcomeCallable disableMAURuleCallable(const Model::DisableMAURuleRequest& request) const;
EnableMAURuleOutcome enableMAURule(const Model::EnableMAURuleRequest &request)const;
void enableMAURuleAsync(const Model::EnableMAURuleRequest& request, const EnableMAURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnableMAURuleOutcomeCallable enableMAURuleCallable(const Model::EnableMAURuleRequest& request) const;
GetMPUTaskStatusOutcome getMPUTaskStatus(const Model::GetMPUTaskStatusRequest &request)const;
void getMPUTaskStatusAsync(const Model::GetMPUTaskStatusRequest& request, const GetMPUTaskStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMPUTaskStatusOutcomeCallable getMPUTaskStatusCallable(const Model::GetMPUTaskStatusRequest& request) const;

View 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.
*/
#ifndef ALIBABACLOUD_RTC_MODEL_CREATEMAURULEREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_CREATEMAURULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rtc/RtcExport.h>
namespace AlibabaCloud
{
namespace Rtc
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT CreateMAURuleRequest : public RpcServiceRequest
{
public:
CreateMAURuleRequest();
~CreateMAURuleRequest();
std::string getUseridPrefix()const;
void setUseridPrefix(const std::string& useridPrefix);
std::string getChannelPrefix()const;
void setChannelPrefix(const std::string& channelPrefix);
long getOwnerId()const;
void setOwnerId(long ownerId);
long getMauTemplateId()const;
void setMauTemplateId(long mauTemplateId);
std::string getAppId()const;
void setAppId(const std::string& appId);
std::string getCallBack()const;
void setCallBack(const std::string& callBack);
private:
std::string useridPrefix_;
std::string channelPrefix_;
long ownerId_;
long mauTemplateId_;
std::string appId_;
std::string callBack_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_CREATEMAURULEREQUEST_H_

View File

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

View File

@@ -30,6 +30,7 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_RTC_EXPORT CreateTemplateRequest : public RpcServiceRequest
{
public:
struct LiveConfig
{
std::string domainName;

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RTC_MODEL_DELETEMAURULEREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_DELETEMAURULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rtc/RtcExport.h>
namespace AlibabaCloud
{
namespace Rtc
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT DeleteMAURuleRequest : public RpcServiceRequest
{
public:
DeleteMAURuleRequest();
~DeleteMAURuleRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAppId()const;
void setAppId(const std::string& appId);
long getRuleId()const;
void setRuleId(long ruleId);
private:
long ownerId_;
std::string appId_;
long ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_DELETEMAURULEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_RTC_MODEL_DELETEMAURULERESULT_H_
#define ALIBABACLOUD_RTC_MODEL_DELETEMAURULERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/rtc/RtcExport.h>
namespace AlibabaCloud
{
namespace Rtc
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT DeleteMAURuleResult : public ServiceResult
{
public:
DeleteMAURuleResult();
explicit DeleteMAURuleResult(const std::string &payload);
~DeleteMAURuleResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_DELETEMAURULERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBEMAURULEREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_DESCRIBEMAURULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rtc/RtcExport.h>
namespace AlibabaCloud
{
namespace Rtc
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT DescribeMAURuleRequest : public RpcServiceRequest
{
public:
DescribeMAURuleRequest();
~DescribeMAURuleRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAppId()const;
void setAppId(const std::string& appId);
private:
long ownerId_;
std::string appId_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBEMAURULEREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* 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_RTC_MODEL_DESCRIBEMAURULERESULT_H_
#define ALIBABACLOUD_RTC_MODEL_DESCRIBEMAURULERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/rtc/RtcExport.h>
namespace AlibabaCloud
{
namespace Rtc
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT DescribeMAURuleResult : public ServiceResult
{
public:
struct Rule
{
std::string channelPrefix;
int isEnable;
std::string callBack;
long ruleId;
std::string useridPrefix;
long templateId;
};
DescribeMAURuleResult();
explicit DescribeMAURuleResult(const std::string &payload);
~DescribeMAURuleResult();
std::vector<Rule> getRules()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Rule> rules_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBEMAURULERESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* 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_RTC_MODEL_DESCRIBERTCQUALITYMETRICREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCQUALITYMETRICREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rtc/RtcExport.h>
namespace AlibabaCloud
{
namespace Rtc
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT DescribeRtcQualityMetricRequest : public RpcServiceRequest
{
public:
DescribeRtcQualityMetricRequest();
~DescribeRtcQualityMetricRequest();
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getSubUser()const;
void setSubUser(const std::string& subUser);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPubUser()const;
void setPubUser(const std::string& pubUser);
std::string getAppId()const;
void setAppId(const std::string& appId);
std::string getChannelId()const;
void setChannelId(const std::string& channelId);
private:
std::string startTime_;
std::string subUser_;
std::string endTime_;
long ownerId_;
std::string pubUser_;
std::string appId_;
std::string channelId_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCQUALITYMETRICREQUEST_H_

View File

@@ -0,0 +1,170 @@
/*
* 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_RTC_MODEL_DESCRIBERTCQUALITYMETRICRESULT_H_
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCQUALITYMETRICRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/rtc/RtcExport.h>
namespace AlibabaCloud
{
namespace Rtc
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT DescribeRtcQualityMetricResult : public ServiceResult
{
public:
struct QualityMetric
{
struct SubInfo
{
struct User
{
std::string oS;
std::string userId;
std::string sDKVersion;
std::string province;
};
struct DataItem
{
struct Fps
{
long small;
long super;
long large;
long share;
};
struct Resolution
{
long small;
long super;
long large;
long share;
};
struct BitRate
{
long small;
long super;
long large;
long audio;
long share;
};
struct Network
{
long rtt;
float loss;
};
Network network;
Fps fps;
std::string time;
BitRate bitRate;
Resolution resolution;
};
struct EventsItem
{
std::string category;
std::string description;
long eventId;
std::string time;
std::string name;
std::string result;
};
User user;
std::vector<EventsItem> events;
std::vector<DataItem> data;
};
struct PubInfo
{
struct User1
{
std::string oS;
std::string userId;
std::string sDKVersion;
std::string province;
};
struct DataItem4
{
struct Fps5
{
long small;
long super;
long large;
long share;
};
struct Resolution6
{
long small;
long super;
long large;
long share;
};
struct BitRate7
{
long small;
long super;
long large;
long audio;
long share;
};
struct Network8
{
long rtt;
float loss;
};
BitRate7 bitRate7;
std::string time;
Fps5 fps5;
Resolution6 resolution6;
Network8 network8;
};
struct EventsItem9
{
std::string category;
std::string description;
long eventId;
std::string time;
std::string name;
std::string result;
};
std::vector<DataItem4> data2;
User1 user1;
std::vector<EventsItem9> events3;
};
SubInfo subInfo;
PubInfo pubInfo;
};
DescribeRtcQualityMetricResult();
explicit DescribeRtcQualityMetricResult(const std::string &payload);
~DescribeRtcQualityMetricResult();
QualityMetric getQualityMetric()const;
protected:
void parse(const std::string &payload);
private:
QualityMetric qualityMetric_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCQUALITYMETRICRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* 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_RTC_MODEL_DESCRIBERTCUSERLISTREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCUSERLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rtc/RtcExport.h>
namespace AlibabaCloud
{
namespace Rtc
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT DescribeRtcUserListRequest : public RpcServiceRequest
{
public:
DescribeRtcUserListRequest();
~DescribeRtcUserListRequest();
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 getAppId()const;
void setAppId(const std::string& appId);
std::string getChannelId()const;
void setChannelId(const std::string& channelId);
private:
std::string startTime_;
std::string endTime_;
long ownerId_;
std::string appId_;
std::string channelId_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCUSERLISTREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* 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_RTC_MODEL_DESCRIBERTCUSERLISTRESULT_H_
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCUSERLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/rtc/RtcExport.h>
namespace AlibabaCloud
{
namespace Rtc
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT DescribeRtcUserListResult : public ServiceResult
{
public:
struct UserListItem
{
std::string user;
};
DescribeRtcUserListResult();
explicit DescribeRtcUserListResult(const std::string &payload);
~DescribeRtcUserListResult();
std::vector<UserListItem> getUserList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<UserListItem> userList_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCUSERLISTRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RTC_MODEL_DISABLEMAURULEREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_DISABLEMAURULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rtc/RtcExport.h>
namespace AlibabaCloud
{
namespace Rtc
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT DisableMAURuleRequest : public RpcServiceRequest
{
public:
DisableMAURuleRequest();
~DisableMAURuleRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAppId()const;
void setAppId(const std::string& appId);
long getRuleId()const;
void setRuleId(long ruleId);
private:
long ownerId_;
std::string appId_;
long ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_DISABLEMAURULEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_RTC_MODEL_DISABLEMAURULERESULT_H_
#define ALIBABACLOUD_RTC_MODEL_DISABLEMAURULERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/rtc/RtcExport.h>
namespace AlibabaCloud
{
namespace Rtc
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT DisableMAURuleResult : public ServiceResult
{
public:
DisableMAURuleResult();
explicit DisableMAURuleResult(const std::string &payload);
~DisableMAURuleResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_DISABLEMAURULERESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RTC_MODEL_ENABLEMAURULEREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_ENABLEMAURULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rtc/RtcExport.h>
namespace AlibabaCloud
{
namespace Rtc
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT EnableMAURuleRequest : public RpcServiceRequest
{
public:
EnableMAURuleRequest();
~EnableMAURuleRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAppId()const;
void setAppId(const std::string& appId);
long getRuleId()const;
void setRuleId(long ruleId);
private:
long ownerId_;
std::string appId_;
long ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_ENABLEMAURULEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_RTC_MODEL_ENABLEMAURULERESULT_H_
#define ALIBABACLOUD_RTC_MODEL_ENABLEMAURULERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/rtc/RtcExport.h>
namespace AlibabaCloud
{
namespace Rtc
{
namespace Model
{
class ALIBABACLOUD_RTC_EXPORT EnableMAURuleResult : public ServiceResult
{
public:
EnableMAURuleResult();
explicit EnableMAURuleResult(const std::string &payload);
~EnableMAURuleResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_ENABLEMAURULERESULT_H_

View File

@@ -30,6 +30,7 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_RTC_EXPORT StartMPUTaskRequest : public RpcServiceRequest
{
public:
struct UserPanes
{
int paneId;

View File

@@ -30,6 +30,7 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_RTC_EXPORT StartTaskRequest : public RpcServiceRequest
{
public:
struct MixPanes
{
int paneId;

View File

@@ -30,6 +30,7 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_RTC_EXPORT UpdateMPULayoutRequest : public RpcServiceRequest
{
public:
struct UserPanes
{
int paneId;