/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Configuration setting for a response sent to the user before Amazon Lex
* starts eliciting slots.See Also:
AWS
* API Reference
The next step in the conversation.
*/ inline const DialogState& GetNextStep() const{ return m_nextStep; } /** *The next step in the conversation.
*/ inline bool NextStepHasBeenSet() const { return m_nextStepHasBeenSet; } /** *The next step in the conversation.
*/ inline void SetNextStep(const DialogState& value) { m_nextStepHasBeenSet = true; m_nextStep = value; } /** *The next step in the conversation.
*/ inline void SetNextStep(DialogState&& value) { m_nextStepHasBeenSet = true; m_nextStep = std::move(value); } /** *The next step in the conversation.
*/ inline InitialResponseSetting& WithNextStep(const DialogState& value) { SetNextStep(value); return *this;} /** *The next step in the conversation.
*/ inline InitialResponseSetting& WithNextStep(DialogState&& value) { SetNextStep(std::move(value)); return *this;} inline const ConditionalSpecification& GetConditional() const{ return m_conditional; } inline bool ConditionalHasBeenSet() const { return m_conditionalHasBeenSet; } inline void SetConditional(const ConditionalSpecification& value) { m_conditionalHasBeenSet = true; m_conditional = value; } inline void SetConditional(ConditionalSpecification&& value) { m_conditionalHasBeenSet = true; m_conditional = std::move(value); } inline InitialResponseSetting& WithConditional(const ConditionalSpecification& value) { SetConditional(value); return *this;} inline InitialResponseSetting& WithConditional(ConditionalSpecification&& value) { SetConditional(std::move(value)); return *this;} inline const DialogCodeHookInvocationSetting& GetCodeHook() const{ return m_codeHook; } inline bool CodeHookHasBeenSet() const { return m_codeHookHasBeenSet; } inline void SetCodeHook(const DialogCodeHookInvocationSetting& value) { m_codeHookHasBeenSet = true; m_codeHook = value; } inline void SetCodeHook(DialogCodeHookInvocationSetting&& value) { m_codeHookHasBeenSet = true; m_codeHook = std::move(value); } inline InitialResponseSetting& WithCodeHook(const DialogCodeHookInvocationSetting& value) { SetCodeHook(value); return *this;} inline InitialResponseSetting& WithCodeHook(DialogCodeHookInvocationSetting&& value) { SetCodeHook(std::move(value)); return *this;} private: ResponseSpecification m_initialResponse; bool m_initialResponseHasBeenSet = false; DialogState m_nextStep; bool m_nextStepHasBeenSet = false; ConditionalSpecification m_conditional; bool m_conditionalHasBeenSet = false; DialogCodeHookInvocationSetting m_codeHook; bool m_codeHookHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws