7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
11#include <aws/lexv2-runtime/model/InputMode.h>
12#include <aws/lexv2-runtime/model/Interpretation.h>
13#include <aws/lexv2-runtime/model/RecognizedBotMember.h>
14#include <aws/lexv2-runtime/model/SessionState.h>
25namespace LexRuntimeV2 {
49 m_inputModeHasBeenSet =
true;
68 template <
typename InterpretationsT = Aws::Vector<Interpretation>>
70 m_interpretationsHasBeenSet =
true;
71 m_interpretations = std::forward<InterpretationsT>(value);
73 template <
typename InterpretationsT = Aws::Vector<Interpretation>>
78 template <
typename InterpretationsT = Interpretation>
80 m_interpretationsHasBeenSet =
true;
81 m_interpretations.emplace_back(std::forward<InterpretationsT>(value));
90 template <
typename SessionStateT = SessionState>
92 m_sessionStateHasBeenSet =
true;
93 m_sessionState = std::forward<SessionStateT>(value);
95 template <
typename SessionStateT = SessionState>
108 template <
typename RequestAttributesT = Aws::Map<Aws::String, Aws::String>>
110 m_requestAttributesHasBeenSet =
true;
111 m_requestAttributes = std::forward<RequestAttributesT>(value);
113 template <
typename RequestAttributesT = Aws::Map<Aws::String, Aws::String>>
118 template <
typename RequestAttributesKeyT = Aws::String,
typename RequestAttributesValueT = Aws::String>
120 m_requestAttributesHasBeenSet =
true;
121 m_requestAttributes.emplace(std::forward<RequestAttributesKeyT>(key), std::forward<RequestAttributesValueT>(value));
132 template <
typename SessionIdT = Aws::String>
134 m_sessionIdHasBeenSet =
true;
135 m_sessionId = std::forward<SessionIdT>(value);
137 template <
typename SessionIdT = Aws::String>
152 template <
typename EventIdT = Aws::String>
154 m_eventIdHasBeenSet =
true;
155 m_eventId = std::forward<EventIdT>(value);
157 template <
typename EventIdT = Aws::String>
170 template <
typename RecognizedBotMemberT = RecognizedBotMember>
172 m_recognizedBotMemberHasBeenSet =
true;
173 m_recognizedBotMember = std::forward<RecognizedBotMemberT>(value);
175 template <
typename RecognizedBotMemberT = RecognizedBotMember>
186 SessionState m_sessionState;
194 RecognizedBotMember m_recognizedBotMember;
195 bool m_inputModeHasBeenSet =
false;
196 bool m_interpretationsHasBeenSet =
false;
197 bool m_sessionStateHasBeenSet =
false;
198 bool m_requestAttributesHasBeenSet =
false;
199 bool m_sessionIdHasBeenSet =
false;
200 bool m_eventIdHasBeenSet =
false;
201 bool m_recognizedBotMemberHasBeenSet =
false;
IntentResultEvent & WithRecognizedBotMember(RecognizedBotMemberT &&value)
bool SessionStateHasBeenSet() const
void SetSessionId(SessionIdT &&value)
bool SessionIdHasBeenSet() const
bool InterpretationsHasBeenSet() const
IntentResultEvent & AddInterpretations(InterpretationsT &&value)
AWS_LEXRUNTIMEV2_API IntentResultEvent()=default
void SetSessionState(SessionStateT &&value)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXRUNTIMEV2_API IntentResultEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
IntentResultEvent & WithSessionId(SessionIdT &&value)
void SetRecognizedBotMember(RecognizedBotMemberT &&value)
InputMode GetInputMode() const
bool InputModeHasBeenSet() const
bool EventIdHasBeenSet() const
IntentResultEvent & WithEventId(EventIdT &&value)
IntentResultEvent & AddRequestAttributes(RequestAttributesKeyT &&key, RequestAttributesValueT &&value)
void SetRequestAttributes(RequestAttributesT &&value)
const Aws::Vector< Interpretation > & GetInterpretations() const
bool RequestAttributesHasBeenSet() const
const Aws::String & GetSessionId() const
IntentResultEvent & WithRequestAttributes(RequestAttributesT &&value)
IntentResultEvent & WithInputMode(InputMode value)
const Aws::Map< Aws::String, Aws::String > & GetRequestAttributes() const
const SessionState & GetSessionState() const
void SetEventId(EventIdT &&value)
IntentResultEvent & WithInterpretations(InterpretationsT &&value)
AWS_LEXRUNTIMEV2_API IntentResultEvent(Aws::Utils::Json::JsonView jsonValue)
const RecognizedBotMember & GetRecognizedBotMember() const
void SetInputMode(InputMode value)
IntentResultEvent & WithSessionState(SessionStateT &&value)
const Aws::String & GetEventId() const
bool RecognizedBotMemberHasBeenSet() const
void SetInterpretations(InterpretationsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue