/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A set of actions that Amazon Lex should run if none of the other conditions
* are met.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 DefaultConditionalBranch& WithNextStep(const DialogState& value) { SetNextStep(value); return *this;} /** *The next step in the conversation.
*/ inline DefaultConditionalBranch& WithNextStep(DialogState&& value) { SetNextStep(std::move(value)); return *this;} inline const ResponseSpecification& GetResponse() const{ return m_response; } inline bool ResponseHasBeenSet() const { return m_responseHasBeenSet; } inline void SetResponse(const ResponseSpecification& value) { m_responseHasBeenSet = true; m_response = value; } inline void SetResponse(ResponseSpecification&& value) { m_responseHasBeenSet = true; m_response = std::move(value); } inline DefaultConditionalBranch& WithResponse(const ResponseSpecification& value) { SetResponse(value); return *this;} inline DefaultConditionalBranch& WithResponse(ResponseSpecification&& value) { SetResponse(std::move(value)); return *this;} private: DialogState m_nextStep; bool m_nextStepHasBeenSet = false; ResponseSpecification m_response; bool m_responseHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws