7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9#include <aws/lexv2-models/model/Condition.h>
10#include <aws/lexv2-models/model/DialogState.h>
11#include <aws/lexv2-models/model/ResponseSpecification.h>
22namespace LexModelsV2 {
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
63 template <
typename ConditionT = Condition>
65 m_conditionHasBeenSet =
true;
66 m_condition = std::forward<ConditionT>(value);
68 template <
typename ConditionT = Condition>
81 template <
typename NextStepT = DialogState>
83 m_nextStepHasBeenSet =
true;
84 m_nextStep = std::forward<NextStepT>(value);
86 template <
typename NextStepT = DialogState>
97 template <
typename ResponseT = ResponseSpecification>
99 m_responseHasBeenSet =
true;
100 m_response = std::forward<ResponseT>(value);
102 template <
typename ResponseT = ResponseSpecification>
116 bool m_nameHasBeenSet =
false;
117 bool m_conditionHasBeenSet =
false;
118 bool m_nextStepHasBeenSet =
false;
119 bool m_responseHasBeenSet =
false;
bool NextStepHasBeenSet() const
void SetCondition(ConditionT &&value)
const Condition & GetCondition() const
const Aws::String & GetName() const
void SetResponse(ResponseT &&value)
AWS_LEXMODELSV2_API ConditionalBranch(Aws::Utils::Json::JsonView jsonValue)
ConditionalBranch & WithNextStep(NextStepT &&value)
bool NameHasBeenSet() const
ConditionalBranch & WithName(NameT &&value)
bool ConditionHasBeenSet() const
ConditionalBranch & WithResponse(ResponseT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ConditionalBranch & WithCondition(ConditionT &&value)
bool ResponseHasBeenSet() const
const ResponseSpecification & GetResponse() const
AWS_LEXMODELSV2_API ConditionalBranch & operator=(Aws::Utils::Json::JsonView jsonValue)
const DialogState & GetNextStep() const
void SetName(NameT &&value)
AWS_LEXMODELSV2_API ConditionalBranch()=default
void SetNextStep(NextStepT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue