| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- /*
- * 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/outboundbot/model/DialogueRequest.h>
- using AlibabaCloud::OutboundBot::Model::DialogueRequest;
- DialogueRequest::DialogueRequest() :
- RpcServiceRequest("outboundbot", "2019-12-26", "Dialogue")
- {
- setMethod(HttpRequest::Method::Post);
- }
- DialogueRequest::~DialogueRequest()
- {}
- std::string DialogueRequest::getCallId()const
- {
- return callId_;
- }
- void DialogueRequest::setCallId(const std::string& callId)
- {
- callId_ = callId;
- setParameter("CallId", callId);
- }
- std::string DialogueRequest::getActionParams()const
- {
- return actionParams_;
- }
- void DialogueRequest::setActionParams(const std::string& actionParams)
- {
- actionParams_ = actionParams;
- setParameter("ActionParams", actionParams);
- }
- std::string DialogueRequest::getCallingNumber()const
- {
- return callingNumber_;
- }
- void DialogueRequest::setCallingNumber(const std::string& callingNumber)
- {
- callingNumber_ = callingNumber;
- setParameter("CallingNumber", callingNumber);
- }
- std::string DialogueRequest::getInstanceId()const
- {
- return instanceId_;
- }
- void DialogueRequest::setInstanceId(const std::string& instanceId)
- {
- instanceId_ = instanceId;
- setParameter("InstanceId", instanceId);
- }
- long DialogueRequest::getInstanceOwnerId()const
- {
- return instanceOwnerId_;
- }
- void DialogueRequest::setInstanceOwnerId(long instanceOwnerId)
- {
- instanceOwnerId_ = instanceOwnerId;
- setParameter("InstanceOwnerId", std::to_string(instanceOwnerId));
- }
- std::string DialogueRequest::getCalledNumber()const
- {
- return calledNumber_;
- }
- void DialogueRequest::setCalledNumber(const std::string& calledNumber)
- {
- calledNumber_ = calledNumber;
- setParameter("CalledNumber", calledNumber);
- }
- std::string DialogueRequest::getActionKey()const
- {
- return actionKey_;
- }
- void DialogueRequest::setActionKey(const std::string& actionKey)
- {
- actionKey_ = actionKey;
- setParameter("ActionKey", actionKey);
- }
- std::string DialogueRequest::getCallType()const
- {
- return callType_;
- }
- void DialogueRequest::setCallType(const std::string& callType)
- {
- callType_ = callType;
- setParameter("CallType", callType);
- }
- std::string DialogueRequest::getScenarioId()const
- {
- return scenarioId_;
- }
- void DialogueRequest::setScenarioId(const std::string& scenarioId)
- {
- scenarioId_ = scenarioId;
- setParameter("ScenarioId", scenarioId);
- }
- std::string DialogueRequest::getTaskId()const
- {
- return taskId_;
- }
- void DialogueRequest::setTaskId(const std::string& taskId)
- {
- taskId_ = taskId;
- setParameter("TaskId", taskId);
- }
- std::string DialogueRequest::getUtterance()const
- {
- return utterance_;
- }
- void DialogueRequest::setUtterance(const std::string& utterance)
- {
- utterance_ = utterance;
- setParameter("Utterance", utterance);
- }
|