| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- /*
- * 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/ccs/model/CreateTicketRequest.h>
- using AlibabaCloud::Ccs::Model::CreateTicketRequest;
- CreateTicketRequest::CreateTicketRequest() :
- RpcServiceRequest("ccs", "2017-10-01", "CreateTicket")
- {
- setMethod(HttpRequest::Method::Post);
- }
- CreateTicketRequest::~CreateTicketRequest()
- {}
- std::string CreateTicketRequest::getCreatorId()const
- {
- return creatorId_;
- }
- void CreateTicketRequest::setCreatorId(const std::string& creatorId)
- {
- creatorId_ = creatorId;
- setParameter("CreatorId", creatorId);
- }
- std::string CreateTicketRequest::getDescription()const
- {
- return description_;
- }
- void CreateTicketRequest::setDescription(const std::string& description)
- {
- description_ = description;
- setParameter("Description", description);
- }
- std::string CreateTicketRequest::getType()const
- {
- return type_;
- }
- void CreateTicketRequest::setType(const std::string& type)
- {
- type_ = type;
- setParameter("Type", type);
- }
- std::string CreateTicketRequest::getCustomFields()const
- {
- return customFields_;
- }
- void CreateTicketRequest::setCustomFields(const std::string& customFields)
- {
- customFields_ = customFields;
- setParameter("CustomFields", customFields);
- }
- std::string CreateTicketRequest::getCcsInstanceId()const
- {
- return ccsInstanceId_;
- }
- void CreateTicketRequest::setCcsInstanceId(const std::string& ccsInstanceId)
- {
- ccsInstanceId_ = ccsInstanceId;
- setParameter("CcsInstanceId", ccsInstanceId);
- }
|