7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
63 template<
typename ConditionT = Condition>
64 void SetCondition(ConditionT&& value) { m_conditionHasBeenSet =
true; m_condition = std::forward<ConditionT>(value); }
65 template<
typename ConditionT = Condition>
75 template<
typename NextStepT = DialogState>
76 void SetNextStep(NextStepT&& value) { m_nextStepHasBeenSet =
true; m_nextStep = std::forward<NextStepT>(value); }
77 template<
typename NextStepT = DialogState>
85 template<
typename ResponseT = ResponseSpecification>
86 void SetResponse(ResponseT&& value) { m_responseHasBeenSet =
true; m_response = std::forward<ResponseT>(value); }
87 template<
typename ResponseT = ResponseSpecification>
93 bool m_nameHasBeenSet =
false;
96 bool m_conditionHasBeenSet =
false;
99 bool m_nextStepHasBeenSet =
false;
102 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