93 lines
3.2 KiB
C++
93 lines
3.2 KiB
C++
/*
|
|
* 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_ADDLIVEAPPRECORDCONFIGREQUEST_H_
|
|
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_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 AddLiveAppRecordConfigRequest : public RpcServiceRequest {
|
|
public:
|
|
struct TranscodeRecordFormat {
|
|
std::string sliceOssObjectPrefix;
|
|
int sliceDuration;
|
|
std::string ossObjectPrefix;
|
|
std::string format;
|
|
int cycleDuration;
|
|
};
|
|
struct RecordFormat {
|
|
std::string sliceOssObjectPrefix;
|
|
int sliceDuration;
|
|
std::string ossObjectPrefix;
|
|
std::string format;
|
|
int cycleDuration;
|
|
};
|
|
AddLiveAppRecordConfigRequest();
|
|
~AddLiveAppRecordConfigRequest();
|
|
std::string getOssEndpoint() const;
|
|
void setOssEndpoint(const std::string &ossEndpoint);
|
|
std::vector<std::string> getTranscodeTemplates() const;
|
|
void setTranscodeTemplates(const std::vector<std::string> &transcodeTemplates);
|
|
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::vector<TranscodeRecordFormat> getTranscodeRecordFormat() const;
|
|
void setTranscodeRecordFormat(const std::vector<TranscodeRecordFormat> &transcodeRecordFormat);
|
|
int getOnDemand() const;
|
|
void setOnDemand(int onDemand);
|
|
std::string getStreamName() const;
|
|
void setStreamName(const std::string &streamName);
|
|
std::string getOssBucket() const;
|
|
void setOssBucket(const std::string &ossBucket);
|
|
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);
|
|
std::vector<RecordFormat> getRecordFormat() const;
|
|
void setRecordFormat(const std::vector<RecordFormat> &recordFormat);
|
|
|
|
private:
|
|
std::string ossEndpoint_;
|
|
std::vector<std::string> transcodeTemplates_;
|
|
std::string startTime_;
|
|
std::string appName_;
|
|
std::string securityToken_;
|
|
std::vector<TranscodeRecordFormat> transcodeRecordFormat_;
|
|
int onDemand_;
|
|
std::string streamName_;
|
|
std::string ossBucket_;
|
|
std::string domainName_;
|
|
std::string endTime_;
|
|
long ownerId_;
|
|
std::vector<RecordFormat> recordFormat_;
|
|
};
|
|
} // namespace Model
|
|
} // namespace Live
|
|
} // namespace AlibabaCloud
|
|
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_
|