Files
aliyun-openapi-cpp-sdk/ccc/src/model/CreateContactFlowRequest.cc
2021-09-28 09:06:22 +00:00

107 lines
2.5 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/ccc/model/CreateContactFlowRequest.h>
using AlibabaCloud::CCC::Model::CreateContactFlowRequest;
CreateContactFlowRequest::CreateContactFlowRequest() :
RpcServiceRequest("ccc", "2017-07-05", "CreateContactFlow")
{
setMethod(HttpRequest::Method::Post);
}
CreateContactFlowRequest::~CreateContactFlowRequest()
{}
std::string CreateContactFlowRequest::getCanvas()const
{
return canvas_;
}
void CreateContactFlowRequest::setCanvas(const std::string& canvas)
{
canvas_ = canvas;
setBodyParameter("Canvas", canvas);
}
std::string CreateContactFlowRequest::getDescription()const
{
return description_;
}
void CreateContactFlowRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
std::string CreateContactFlowRequest::getType()const
{
return type_;
}
void CreateContactFlowRequest::setType(const std::string& type)
{
type_ = type;
setParameter("Type", type);
}
std::string CreateContactFlowRequest::getContent()const
{
return content_;
}
void CreateContactFlowRequest::setContent(const std::string& content)
{
content_ = content;
setBodyParameter("Content", content);
}
std::string CreateContactFlowRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateContactFlowRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string CreateContactFlowRequest::getInstanceId()const
{
return instanceId_;
}
void CreateContactFlowRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
}
std::string CreateContactFlowRequest::getName()const
{
return name_;
}
void CreateContactFlowRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}