82 lines
2.4 KiB
C++
82 lines
2.4 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.
|
|
*/
|
|
|
|
#include <alibabacloud/live/model/AddPlaylistItemsRequest.h>
|
|
|
|
using AlibabaCloud::Live::Model::AddPlaylistItemsRequest;
|
|
|
|
AddPlaylistItemsRequest::AddPlaylistItemsRequest()
|
|
: RpcServiceRequest("live", "2016-11-01", "AddPlaylistItems") {
|
|
setMethod(HttpRequest::Method::Post);
|
|
}
|
|
|
|
AddPlaylistItemsRequest::~AddPlaylistItemsRequest() {}
|
|
|
|
std::string AddPlaylistItemsRequest::getProgramItems() const {
|
|
return programItems_;
|
|
}
|
|
|
|
void AddPlaylistItemsRequest::setProgramItems(const std::string &programItems) {
|
|
programItems_ = programItems;
|
|
setParameter(std::string("ProgramItems"), programItems);
|
|
}
|
|
|
|
std::string AddPlaylistItemsRequest::getRegionId() const {
|
|
return regionId_;
|
|
}
|
|
|
|
void AddPlaylistItemsRequest::setRegionId(const std::string ®ionId) {
|
|
regionId_ = regionId;
|
|
setParameter(std::string("RegionId"), regionId);
|
|
}
|
|
|
|
std::string AddPlaylistItemsRequest::getProgramId() const {
|
|
return programId_;
|
|
}
|
|
|
|
void AddPlaylistItemsRequest::setProgramId(const std::string &programId) {
|
|
programId_ = programId;
|
|
setParameter(std::string("ProgramId"), programId);
|
|
}
|
|
|
|
std::string AddPlaylistItemsRequest::getCasterId() const {
|
|
return casterId_;
|
|
}
|
|
|
|
void AddPlaylistItemsRequest::setCasterId(const std::string &casterId) {
|
|
casterId_ = casterId;
|
|
setParameter(std::string("CasterId"), casterId);
|
|
}
|
|
|
|
long AddPlaylistItemsRequest::getOwnerId() const {
|
|
return ownerId_;
|
|
}
|
|
|
|
void AddPlaylistItemsRequest::setOwnerId(long ownerId) {
|
|
ownerId_ = ownerId;
|
|
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
|
}
|
|
|
|
std::string AddPlaylistItemsRequest::getProgramConfig() const {
|
|
return programConfig_;
|
|
}
|
|
|
|
void AddPlaylistItemsRequest::setProgramConfig(const std::string &programConfig) {
|
|
programConfig_ = programConfig;
|
|
setParameter(std::string("ProgramConfig"), programConfig);
|
|
}
|
|
|