Files
aliyun-openapi-cpp-sdk/live/src/model/CreateMessageGroupRequest.cc
2022-09-15 07:28:18 +00:00

57 lines
1.8 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/CreateMessageGroupRequest.h>
using AlibabaCloud::Live::Model::CreateMessageGroupRequest;
CreateMessageGroupRequest::CreateMessageGroupRequest()
: RpcServiceRequest("live", "2016-11-01", "CreateMessageGroup") {
setMethod(HttpRequest::Method::Post);
}
CreateMessageGroupRequest::~CreateMessageGroupRequest() {}
std::map<std::string, std::string> CreateMessageGroupRequest::getExtension() const {
return extension_;
}
void CreateMessageGroupRequest::setExtension(const std::map<std::string, std::string> &extension) {
extension_ = extension;
for(auto const &iter1 : extension) {
setBodyParameter(std::string("Extension") + "." + iter1.first, iter1.second);
}
}
std::string CreateMessageGroupRequest::getCreatorId() const {
return creatorId_;
}
void CreateMessageGroupRequest::setCreatorId(const std::string &creatorId) {
creatorId_ = creatorId;
setBodyParameter(std::string("CreatorId"), creatorId);
}
std::string CreateMessageGroupRequest::getAppId() const {
return appId_;
}
void CreateMessageGroupRequest::setAppId(const std::string &appId) {
appId_ = appId;
setBodyParameter(std::string("AppId"), appId);
}