| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- /*
- * 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/CreateSurveyRequest.h>
- using AlibabaCloud::CCC::Model::CreateSurveyRequest;
- CreateSurveyRequest::CreateSurveyRequest() :
- RpcServiceRequest("ccc", "2017-07-05", "CreateSurvey")
- {}
- CreateSurveyRequest::~CreateSurveyRequest()
- {}
- std::string CreateSurveyRequest::getInstanceId()const
- {
- return instanceId_;
- }
- void CreateSurveyRequest::setInstanceId(const std::string& instanceId)
- {
- instanceId_ = instanceId;
- setParameter("InstanceId", instanceId);
- }
- std::string CreateSurveyRequest::getRole()const
- {
- return role_;
- }
- void CreateSurveyRequest::setRole(const std::string& role)
- {
- role_ = role;
- setParameter("Role", role);
- }
- int CreateSurveyRequest::getRound()const
- {
- return round_;
- }
- void CreateSurveyRequest::setRound(int round)
- {
- round_ = round;
- setParameter("Round", std::to_string(round));
- }
- std::string CreateSurveyRequest::getFlowJson()const
- {
- return flowJson_;
- }
- void CreateSurveyRequest::setFlowJson(const std::string& flowJson)
- {
- flowJson_ = flowJson;
- setParameter("FlowJson", flowJson);
- }
- std::string CreateSurveyRequest::getName()const
- {
- return name_;
- }
- void CreateSurveyRequest::setName(const std::string& name)
- {
- name_ = name;
- setParameter("Name", name);
- }
- std::string CreateSurveyRequest::getGlobalQuestions()const
- {
- return globalQuestions_;
- }
- void CreateSurveyRequest::setGlobalQuestions(const std::string& globalQuestions)
- {
- globalQuestions_ = globalQuestions;
- setParameter("GlobalQuestions", globalQuestions);
- }
- std::string CreateSurveyRequest::getDescription()const
- {
- return description_;
- }
- void CreateSurveyRequest::setDescription(const std::string& description)
- {
- description_ = description;
- setParameter("Description", description);
- }
- std::string CreateSurveyRequest::getCorpora()const
- {
- return corpora_;
- }
- void CreateSurveyRequest::setCorpora(const std::string& corpora)
- {
- corpora_ = corpora;
- setParameter("Corpora", corpora);
- }
- std::string CreateSurveyRequest::getSpeechOptimizationParam()const
- {
- return speechOptimizationParam_;
- }
- void CreateSurveyRequest::setSpeechOptimizationParam(const std::string& speechOptimizationParam)
- {
- speechOptimizationParam_ = speechOptimizationParam;
- setParameter("SpeechOptimizationParam", speechOptimizationParam);
- }
- std::string CreateSurveyRequest::getScenarioId()const
- {
- return scenarioId_;
- }
- void CreateSurveyRequest::setScenarioId(const std::string& scenarioId)
- {
- scenarioId_ = scenarioId;
- setParameter("ScenarioId", scenarioId);
- }
|