7#include <aws/core/http/HttpResponse.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/Interpretation.h>
12#include <aws/lexv2-runtime/model/Message.h>
13#include <aws/lexv2-runtime/model/SessionState.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace LexRuntimeV2 {
39 template <
typename SessionIdT = Aws::String>
41 m_sessionIdHasBeenSet =
true;
42 m_sessionId = std::forward<SessionIdT>(value);
44 template <
typename SessionIdT = Aws::String>
58 template <
typename MessagesT = Aws::Vector<Message>>
60 m_messagesHasBeenSet =
true;
61 m_messages = std::forward<MessagesT>(value);
63 template <
typename MessagesT = Aws::Vector<Message>>
68 template <
typename MessagesT = Message>
70 m_messagesHasBeenSet =
true;
71 m_messages.emplace_back(std::forward<MessagesT>(value));
85 template <
typename InterpretationsT = Aws::Vector<Interpretation>>
87 m_interpretationsHasBeenSet =
true;
88 m_interpretations = std::forward<InterpretationsT>(value);
90 template <
typename InterpretationsT = Aws::Vector<Interpretation>>
95 template <
typename InterpretationsT = Interpretation>
97 m_interpretationsHasBeenSet =
true;
98 m_interpretations.emplace_back(std::forward<InterpretationsT>(value));
110 template <
typename SessionStateT = SessionState>
112 m_sessionStateHasBeenSet =
true;
113 m_sessionState = std::forward<SessionStateT>(value);
115 template <
typename SessionStateT = SessionState>
125 template <
typename RequestIdT = Aws::String>
127 m_requestIdHasBeenSet =
true;
128 m_requestId = std::forward<RequestIdT>(value);
130 template <
typename RequestIdT = Aws::String>
149 bool m_sessionIdHasBeenSet =
false;
150 bool m_messagesHasBeenSet =
false;
151 bool m_interpretationsHasBeenSet =
false;
152 bool m_sessionStateHasBeenSet =
false;
153 bool m_requestIdHasBeenSet =
false;
void SetInterpretations(InterpretationsT &&value)
const Aws::Vector< Interpretation > & GetInterpretations() const
const SessionState & GetSessionState() const
AWS_LEXRUNTIMEV2_API GetSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LEXRUNTIMEV2_API GetSessionResult()=default
void SetRequestId(RequestIdT &&value)
void SetMessages(MessagesT &&value)
GetSessionResult & WithSessionId(SessionIdT &&value)
GetSessionResult & AddInterpretations(InterpretationsT &&value)
const Aws::Vector< Message > & GetMessages() const
GetSessionResult & WithMessages(MessagesT &&value)
void SetSessionState(SessionStateT &&value)
const Aws::String & GetSessionId() const
const Aws::String & GetRequestId() const
AWS_LEXRUNTIMEV2_API GetSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSessionResult & AddMessages(MessagesT &&value)
GetSessionResult & WithRequestId(RequestIdT &&value)
GetSessionResult & WithSessionState(SessionStateT &&value)
GetSessionResult & WithInterpretations(InterpretationsT &&value)
void SetSessionId(SessionIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue