/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The event sent from Amazon Lex V2 to your application with text to present to
* the user.See Also:
AWS
* API Reference
A list of messages to send to the user. Messages are ordered based on the * order that you returned the messages from your Lambda function or the order that * the messages are defined in the bot.
*/ inline const Aws::VectorA list of messages to send to the user. Messages are ordered based on the * order that you returned the messages from your Lambda function or the order that * the messages are defined in the bot.
*/ inline bool MessagesHasBeenSet() const { return m_messagesHasBeenSet; } /** *A list of messages to send to the user. Messages are ordered based on the * order that you returned the messages from your Lambda function or the order that * the messages are defined in the bot.
*/ inline void SetMessages(const Aws::VectorA list of messages to send to the user. Messages are ordered based on the * order that you returned the messages from your Lambda function or the order that * the messages are defined in the bot.
*/ inline void SetMessages(Aws::VectorA list of messages to send to the user. Messages are ordered based on the * order that you returned the messages from your Lambda function or the order that * the messages are defined in the bot.
*/ inline TextResponseEvent& WithMessages(const Aws::VectorA list of messages to send to the user. Messages are ordered based on the * order that you returned the messages from your Lambda function or the order that * the messages are defined in the bot.
*/ inline TextResponseEvent& WithMessages(Aws::VectorA list of messages to send to the user. Messages are ordered based on the * order that you returned the messages from your Lambda function or the order that * the messages are defined in the bot.
*/ inline TextResponseEvent& AddMessages(const Message& value) { m_messagesHasBeenSet = true; m_messages.push_back(value); return *this; } /** *A list of messages to send to the user. Messages are ordered based on the * order that you returned the messages from your Lambda function or the order that * the messages are defined in the bot.
*/ inline TextResponseEvent& AddMessages(Message&& value) { m_messagesHasBeenSet = true; m_messages.push_back(std::move(value)); return *this; } /** *A unique identifier of the event sent by Amazon Lex V2. The identifier is in
* the form RESPONSE-N
, where N is a number starting with one and
* incremented for each event sent by Amazon Lex V2 in the current session.
A unique identifier of the event sent by Amazon Lex V2. The identifier is in
* the form RESPONSE-N
, where N is a number starting with one and
* incremented for each event sent by Amazon Lex V2 in the current session.
A unique identifier of the event sent by Amazon Lex V2. The identifier is in
* the form RESPONSE-N
, where N is a number starting with one and
* incremented for each event sent by Amazon Lex V2 in the current session.
A unique identifier of the event sent by Amazon Lex V2. The identifier is in
* the form RESPONSE-N
, where N is a number starting with one and
* incremented for each event sent by Amazon Lex V2 in the current session.
A unique identifier of the event sent by Amazon Lex V2. The identifier is in
* the form RESPONSE-N
, where N is a number starting with one and
* incremented for each event sent by Amazon Lex V2 in the current session.
A unique identifier of the event sent by Amazon Lex V2. The identifier is in
* the form RESPONSE-N
, where N is a number starting with one and
* incremented for each event sent by Amazon Lex V2 in the current session.
A unique identifier of the event sent by Amazon Lex V2. The identifier is in
* the form RESPONSE-N
, where N is a number starting with one and
* incremented for each event sent by Amazon Lex V2 in the current session.
A unique identifier of the event sent by Amazon Lex V2. The identifier is in
* the form RESPONSE-N
, where N is a number starting with one and
* incremented for each event sent by Amazon Lex V2 in the current session.