7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lex-models/model/Message.h>
23namespace LexModelBuildingService
40 AWS_LEXMODELBUILDINGSERVICE_API
Prompt();
59 inline Prompt&
AddMessages(
Message&& value) { m_messagesHasBeenSet =
true; m_messages.push_back(std::move(value));
return *
this; }
68 inline void SetMaxAttempts(
int value) { m_maxAttemptsHasBeenSet =
true; m_maxAttempts = value; }
83 inline void SetResponseCard(
const char* value) { m_responseCardHasBeenSet =
true; m_responseCard.assign(value); }
91 bool m_messagesHasBeenSet =
false;
94 bool m_maxAttemptsHasBeenSet =
false;
97 bool m_responseCardHasBeenSet =
false;
Prompt & WithResponseCard(const Aws::String &value)
void SetResponseCard(Aws::String &&value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Prompt & AddMessages(Message &&value)
Prompt & AddMessages(const Message &value)
const Aws::Vector< Message > & GetMessages() const
Prompt & WithMessages(Aws::Vector< Message > &&value)
bool ResponseCardHasBeenSet() const
void SetMaxAttempts(int value)
int GetMaxAttempts() const
bool MessagesHasBeenSet() const
bool MaxAttemptsHasBeenSet() const
void SetMessages(Aws::Vector< Message > &&value)
AWS_LEXMODELBUILDINGSERVICE_API Prompt()
void SetMessages(const Aws::Vector< Message > &value)
void SetResponseCard(const Aws::String &value)
Prompt & WithMaxAttempts(int value)
void SetResponseCard(const char *value)
Prompt & WithMessages(const Aws::Vector< Message > &value)
Prompt & WithResponseCard(Aws::String &&value)
AWS_LEXMODELBUILDINGSERVICE_API Prompt(Aws::Utils::Json::JsonView jsonValue)
Prompt & WithResponseCard(const char *value)
const Aws::String & GetResponseCard() const
AWS_LEXMODELBUILDINGSERVICE_API Prompt & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue