| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- /*
- * 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/alimt/model/GetTitleGenerateRequest.h>
- using AlibabaCloud::Alimt::Model::GetTitleGenerateRequest;
- GetTitleGenerateRequest::GetTitleGenerateRequest()
- : RpcServiceRequest("alimt", "2018-10-12", "GetTitleGenerate") {
- setMethod(HttpRequest::Method::Post);
- }
- GetTitleGenerateRequest::~GetTitleGenerateRequest() {}
- std::string GetTitleGenerateRequest::getLanguage() const {
- return language_;
- }
- void GetTitleGenerateRequest::setLanguage(const std::string &language) {
- language_ = language;
- setBodyParameter(std::string("Language"), language);
- }
- std::string GetTitleGenerateRequest::getTitle() const {
- return title_;
- }
- void GetTitleGenerateRequest::setTitle(const std::string &title) {
- title_ = title;
- setBodyParameter(std::string("Title"), title);
- }
- std::string GetTitleGenerateRequest::getPlatform() const {
- return platform_;
- }
- void GetTitleGenerateRequest::setPlatform(const std::string &platform) {
- platform_ = platform;
- setBodyParameter(std::string("Platform"), platform);
- }
- std::string GetTitleGenerateRequest::getExtra() const {
- return extra_;
- }
- void GetTitleGenerateRequest::setExtra(const std::string &extra) {
- extra_ = extra;
- setBodyParameter(std::string("Extra"), extra);
- }
- std::string GetTitleGenerateRequest::getAttributes() const {
- return attributes_;
- }
- void GetTitleGenerateRequest::setAttributes(const std::string &attributes) {
- attributes_ = attributes;
- setBodyParameter(std::string("Attributes"), attributes);
- }
- std::string GetTitleGenerateRequest::getHotWords() const {
- return hotWords_;
- }
- void GetTitleGenerateRequest::setHotWords(const std::string &hotWords) {
- hotWords_ = hotWords;
- setBodyParameter(std::string("HotWords"), hotWords);
- }
- std::string GetTitleGenerateRequest::getCategoryId() const {
- return categoryId_;
- }
- void GetTitleGenerateRequest::setCategoryId(const std::string &categoryId) {
- categoryId_ = categoryId;
- setBodyParameter(std::string("CategoryId"), categoryId);
- }
|