7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/lexv2-runtime/model/InputMode.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-runtime/model/SessionState.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/lexv2-runtime/model/RecognizedBotMember.h>
14#include <aws/lexv2-runtime/model/Interpretation.h>
68 template<
typename InterpretationsT = Aws::Vector<Interpretation>>
69 void SetInterpretations(InterpretationsT&& value) { m_interpretationsHasBeenSet =
true; m_interpretations = std::forward<InterpretationsT>(value); }
70 template<
typename InterpretationsT = Aws::Vector<Interpretation>>
72 template<
typename InterpretationsT = Interpretation>
73 IntentResultEvent&
AddInterpretations(InterpretationsT&& value) { m_interpretationsHasBeenSet =
true; m_interpretations.emplace_back(std::forward<InterpretationsT>(value));
return *
this; }
80 template<
typename SessionStateT = SessionState>
81 void SetSessionState(SessionStateT&& value) { m_sessionStateHasBeenSet =
true; m_sessionState = std::forward<SessionStateT>(value); }
82 template<
typename SessionStateT = SessionState>
92 template<
typename RequestAttributesT = Aws::Map<Aws::String, Aws::String>>
93 void SetRequestAttributes(RequestAttributesT&& value) { m_requestAttributesHasBeenSet =
true; m_requestAttributes = std::forward<RequestAttributesT>(value); }
94 template<
typename RequestAttributesT = Aws::Map<Aws::String, Aws::String>>
96 template<
typename RequestAttributesKeyT = Aws::String,
typename RequestAttributesValueT = Aws::String>
98 m_requestAttributesHasBeenSet =
true; m_requestAttributes.emplace(std::forward<RequestAttributesKeyT>(key), std::forward<RequestAttributesValueT>(value));
return *
this;
108 template<
typename SessionIdT = Aws::String>
109 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet =
true; m_sessionId = std::forward<SessionIdT>(value); }
110 template<
typename SessionIdT = Aws::String>
122 template<
typename EventIdT = Aws::String>
123 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
124 template<
typename EventIdT = Aws::String>
134 template<
typename RecognizedBotMemberT = RecognizedBotMember>
135 void SetRecognizedBotMember(RecognizedBotMemberT&& value) { m_recognizedBotMemberHasBeenSet =
true; m_recognizedBotMember = std::forward<RecognizedBotMemberT>(value); }
136 template<
typename RecognizedBotMemberT = RecognizedBotMember>
142 bool m_inputModeHasBeenSet =
false;
145 bool m_interpretationsHasBeenSet =
false;
147 SessionState m_sessionState;
148 bool m_sessionStateHasBeenSet =
false;
151 bool m_requestAttributesHasBeenSet =
false;
154 bool m_sessionIdHasBeenSet =
false;
157 bool m_eventIdHasBeenSet =
false;
159 RecognizedBotMember m_recognizedBotMember;
160 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