7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lexv2-runtime/model/Message.h>
51 template<
typename MessagesT = Aws::Vector<Message>>
52 void SetMessages(MessagesT&& value) { m_messagesHasBeenSet =
true; m_messages = std::forward<MessagesT>(value); }
53 template<
typename MessagesT = Aws::Vector<Message>>
55 template<
typename MessagesT = Message>
56 TextResponseEvent&
AddMessages(MessagesT&& value) { m_messagesHasBeenSet =
true; m_messages.emplace_back(std::forward<MessagesT>(value));
return *
this; }
67 template<
typename EventIdT = Aws::String>
68 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
69 template<
typename EventIdT = Aws::String>
75 bool m_messagesHasBeenSet =
false;
78 bool m_eventIdHasBeenSet =
false;
const Aws::Vector< Message > & GetMessages() const
bool MessagesHasBeenSet() const
const Aws::String & GetEventId() const
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool EventIdHasBeenSet() const
TextResponseEvent & WithEventId(EventIdT &&value)
void SetMessages(MessagesT &&value)
TextResponseEvent & WithMessages(MessagesT &&value)
AWS_LEXRUNTIMEV2_API TextResponseEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEventId(EventIdT &&value)
AWS_LEXRUNTIMEV2_API TextResponseEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMEV2_API TextResponseEvent()=default
TextResponseEvent & AddMessages(MessagesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue