Update to support new apis.
This commit is contained in:
@@ -288,6 +288,8 @@
|
||||
#include "model/DescribeLiveAudioAuditNotifyConfigResult.h"
|
||||
#include "model/DescribeLiveCdnDiagnoseInfoRequest.h"
|
||||
#include "model/DescribeLiveCdnDiagnoseInfoResult.h"
|
||||
#include "model/DescribeLiveCenterStreamRateDataRequest.h"
|
||||
#include "model/DescribeLiveCenterStreamRateDataResult.h"
|
||||
#include "model/DescribeLiveCenterTransferRequest.h"
|
||||
#include "model/DescribeLiveCenterTransferResult.h"
|
||||
#include "model/DescribeLiveCertificateDetailRequest.h"
|
||||
@@ -1216,6 +1218,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeLiveCdnDiagnoseInfoResult> DescribeLiveCdnDiagnoseInfoOutcome;
|
||||
typedef std::future<DescribeLiveCdnDiagnoseInfoOutcome> DescribeLiveCdnDiagnoseInfoOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveCdnDiagnoseInfoRequest&, const DescribeLiveCdnDiagnoseInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveCdnDiagnoseInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveCenterStreamRateDataResult> DescribeLiveCenterStreamRateDataOutcome;
|
||||
typedef std::future<DescribeLiveCenterStreamRateDataOutcome> DescribeLiveCenterStreamRateDataOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveCenterStreamRateDataRequest&, const DescribeLiveCenterStreamRateDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveCenterStreamRateDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveCenterTransferResult> DescribeLiveCenterTransferOutcome;
|
||||
typedef std::future<DescribeLiveCenterTransferOutcome> DescribeLiveCenterTransferOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveCenterTransferRequest&, const DescribeLiveCenterTransferOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveCenterTransferAsyncHandler;
|
||||
@@ -2400,6 +2405,9 @@ namespace AlibabaCloud
|
||||
DescribeLiveCdnDiagnoseInfoOutcome describeLiveCdnDiagnoseInfo(const Model::DescribeLiveCdnDiagnoseInfoRequest &request)const;
|
||||
void describeLiveCdnDiagnoseInfoAsync(const Model::DescribeLiveCdnDiagnoseInfoRequest& request, const DescribeLiveCdnDiagnoseInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveCdnDiagnoseInfoOutcomeCallable describeLiveCdnDiagnoseInfoCallable(const Model::DescribeLiveCdnDiagnoseInfoRequest& request) const;
|
||||
DescribeLiveCenterStreamRateDataOutcome describeLiveCenterStreamRateData(const Model::DescribeLiveCenterStreamRateDataRequest &request)const;
|
||||
void describeLiveCenterStreamRateDataAsync(const Model::DescribeLiveCenterStreamRateDataRequest& request, const DescribeLiveCenterStreamRateDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveCenterStreamRateDataOutcomeCallable describeLiveCenterStreamRateDataCallable(const Model::DescribeLiveCenterStreamRateDataRequest& request) const;
|
||||
DescribeLiveCenterTransferOutcome describeLiveCenterTransfer(const Model::DescribeLiveCenterTransferRequest &request)const;
|
||||
void describeLiveCenterTransferAsync(const Model::DescribeLiveCenterTransferRequest& request, const DescribeLiveCenterTransferAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveCenterTransferOutcomeCallable describeLiveCenterTransferCallable(const Model::DescribeLiveCenterTransferRequest& request) const;
|
||||
|
||||
@@ -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_LIVE_MODEL_DESCRIBELIVECENTERSTREAMRATEDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECENTERSTREAMRATEDATAREQUEST_H_
|
||||
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Live {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_LIVE_EXPORT DescribeLiveCenterStreamRateDataRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeLiveCenterStreamRateDataRequest();
|
||||
~DescribeLiveCenterStreamRateDataRequest();
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
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);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string appName_;
|
||||
std::string streamName_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Live
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECENTERSTREAMRATEDATAREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* 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_DESCRIBELIVECENTERSTREAMRATEDATARESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECENTERSTREAMRATEDATARESULT_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 DescribeLiveCenterStreamRateDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string videoFps;
|
||||
std::string audioFps;
|
||||
std::string time;
|
||||
std::string audioRate;
|
||||
std::string videoRate;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveCenterStreamRateDataResult();
|
||||
explicit DescribeLiveCenterStreamRateDataResult(const std::string &payload);
|
||||
~DescribeLiveCenterStreamRateDataResult();
|
||||
std::vector<Data> getRateDatas()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Data> rateDatas_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECENTERSTREAMRATEDATARESULT_H_
|
||||
@@ -32,15 +32,31 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_LIVE_EXPORT ModifyLiveMessageUserInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SuccessGroups
|
||||
{
|
||||
bool success;
|
||||
std::string groupId;
|
||||
};
|
||||
struct FailGroups
|
||||
{
|
||||
int code;
|
||||
bool success;
|
||||
std::string reason;
|
||||
std::string groupId;
|
||||
};
|
||||
|
||||
|
||||
ModifyLiveMessageUserInfoResult();
|
||||
explicit ModifyLiveMessageUserInfoResult(const std::string &payload);
|
||||
~ModifyLiveMessageUserInfoResult();
|
||||
std::vector<SuccessGroups> getSuccessList()const;
|
||||
std::vector<FailGroups> getFailList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<SuccessGroups> successList_;
|
||||
std::vector<FailGroups> failList_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user