7#include <aws/lex/LexRuntimeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lex/model/IntentConfidence.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/lex/model/SentimentResponse.h>
13#include <aws/lex/model/MessageFormatType.h>
14#include <aws/lex/model/DialogState.h>
15#include <aws/lex/model/ResponseCard.h>
16#include <aws/lex/model/PredictedIntent.h>
17#include <aws/lex/model/ActiveContext.h>
22template<
typename RESULT_TYPE>
23class AmazonWebServiceResult;
32namespace LexRuntimeService
51 inline void SetIntentName(
const char* value) { m_intentName.assign(value); }
155 inline void SetMessage(
const char* value) { m_message.assign(value); }
264 inline void SetSessionId(
const char* value) { m_sessionId.assign(value); }
279 inline void SetBotVersion(
const char* value) { m_botVersion.assign(value); }
307 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
const ResponseCard & GetResponseCard() const
PostTextResult & WithResponseCard(ResponseCard &&value)
void SetMessage(const Aws::String &value)
const MessageFormatType & GetMessageFormat() const
void SetSessionId(const Aws::String &value)
void SetResponseCard(ResponseCard &&value)
void SetSessionId(const char *value)
void SetMessage(Aws::String &&value)
AWS_LEXRUNTIMESERVICE_API PostTextResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PostTextResult & WithSlotToElicit(const Aws::String &value)
void SetSlotToElicit(const Aws::String &value)
const Aws::Vector< PredictedIntent > & GetAlternativeIntents() const
void SetRequestId(Aws::String &&value)
PostTextResult & WithSlotToElicit(const char *value)
PostTextResult & AddSlots(Aws::String &&key, const Aws::String &value)
PostTextResult & WithBotVersion(const char *value)
PostTextResult & WithAlternativeIntents(Aws::Vector< PredictedIntent > &&value)
void SetRequestId(const char *value)
void SetAlternativeIntents(const Aws::Vector< PredictedIntent > &value)
void SetRequestId(const Aws::String &value)
PostTextResult & WithRequestId(Aws::String &&value)
PostTextResult & AddSessionAttributes(const Aws::String &key, Aws::String &&value)
void SetResponseCard(const ResponseCard &value)
PostTextResult & AddAlternativeIntents(PredictedIntent &&value)
PostTextResult & WithDialogState(DialogState &&value)
void SetSessionAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetMessageFormat(MessageFormatType &&value)
PostTextResult & WithSlots(Aws::Map< Aws::String, Aws::String > &&value)
void SetSessionId(Aws::String &&value)
PostTextResult & AddSlots(Aws::String &&key, const char *value)
PostTextResult & WithNluIntentConfidence(IntentConfidence &&value)
const DialogState & GetDialogState() const
PostTextResult & WithBotVersion(Aws::String &&value)
PostTextResult & WithMessage(const Aws::String &value)
AWS_LEXRUNTIMESERVICE_API PostTextResult()
PostTextResult & WithSessionAttributes(const Aws::Map< Aws::String, Aws::String > &value)
PostTextResult & WithSessionId(const char *value)
const Aws::String & GetMessage() const
PostTextResult & WithMessageFormat(MessageFormatType &&value)
PostTextResult & AddSlots(Aws::String &&key, Aws::String &&value)
void SetDialogState(DialogState &&value)
PostTextResult & WithSessionId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetSlots() const
void SetNluIntentConfidence(const IntentConfidence &value)
const Aws::Vector< ActiveContext > & GetActiveContexts() const
PostTextResult & WithRequestId(const Aws::String &value)
PostTextResult & AddSlots(const char *key, Aws::String &&value)
void SetSlots(Aws::Map< Aws::String, Aws::String > &&value)
void SetSessionAttributes(Aws::Map< Aws::String, Aws::String > &&value)
PostTextResult & WithNluIntentConfidence(const IntentConfidence &value)
PostTextResult & WithMessage(Aws::String &&value)
void SetActiveContexts(const Aws::Vector< ActiveContext > &value)
void SetIntentName(Aws::String &&value)
const IntentConfidence & GetNluIntentConfidence() const
void SetSlotToElicit(const char *value)
PostTextResult & AddSessionAttributes(Aws::String &&key, const Aws::String &value)
const Aws::String & GetBotVersion() const
PostTextResult & WithRequestId(const char *value)
PostTextResult & AddSessionAttributes(const Aws::String &key, const Aws::String &value)
PostTextResult & WithIntentName(const char *value)
PostTextResult & WithAlternativeIntents(const Aws::Vector< PredictedIntent > &value)
void SetSlots(const Aws::Map< Aws::String, Aws::String > &value)
PostTextResult & WithMessage(const char *value)
void SetMessage(const char *value)
void SetDialogState(const DialogState &value)
void SetSentimentResponse(const SentimentResponse &value)
PostTextResult & AddActiveContexts(ActiveContext &&value)
void SetMessageFormat(const MessageFormatType &value)
AWS_LEXRUNTIMESERVICE_API PostTextResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PostTextResult & AddSlots(const char *key, const char *value)
void SetAlternativeIntents(Aws::Vector< PredictedIntent > &&value)
PostTextResult & AddSessionAttributes(Aws::String &&key, const char *value)
PostTextResult & AddSessionAttributes(const char *key, const char *value)
const Aws::String & GetSlotToElicit() const
void SetIntentName(const Aws::String &value)
const Aws::String & GetSessionId() const
PostTextResult & AddSessionAttributes(const char *key, Aws::String &&value)
PostTextResult & AddSlots(const Aws::String &key, const Aws::String &value)
PostTextResult & WithSlots(const Aws::Map< Aws::String, Aws::String > &value)
PostTextResult & WithResponseCard(const ResponseCard &value)
const Aws::String & GetIntentName() const
PostTextResult & WithBotVersion(const Aws::String &value)
void SetActiveContexts(Aws::Vector< ActiveContext > &&value)
PostTextResult & WithSessionId(const Aws::String &value)
PostTextResult & WithSessionAttributes(Aws::Map< Aws::String, Aws::String > &&value)
const SentimentResponse & GetSentimentResponse() const
void SetSlotToElicit(Aws::String &&value)
PostTextResult & WithDialogState(const DialogState &value)
const Aws::String & GetRequestId() const
PostTextResult & AddSlots(const Aws::String &key, Aws::String &&value)
PostTextResult & WithSentimentResponse(SentimentResponse &&value)
void SetNluIntentConfidence(IntentConfidence &&value)
void SetBotVersion(const char *value)
PostTextResult & WithSentimentResponse(const SentimentResponse &value)
PostTextResult & WithIntentName(Aws::String &&value)
void SetIntentName(const char *value)
PostTextResult & WithIntentName(const Aws::String &value)
PostTextResult & WithMessageFormat(const MessageFormatType &value)
PostTextResult & AddActiveContexts(const ActiveContext &value)
PostTextResult & WithActiveContexts(Aws::Vector< ActiveContext > &&value)
PostTextResult & WithSlotToElicit(Aws::String &&value)
void SetBotVersion(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetSessionAttributes() const
PostTextResult & AddSessionAttributes(Aws::String &&key, Aws::String &&value)
void SetSentimentResponse(SentimentResponse &&value)
PostTextResult & WithActiveContexts(const Aws::Vector< ActiveContext > &value)
PostTextResult & AddAlternativeIntents(const PredictedIntent &value)
void SetBotVersion(Aws::String &&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