7#include <aws/lex/LexRuntimeService_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lex/model/MessageFormatType.h>
11#include <aws/lex/model/DialogState.h>
12#include <aws/core/utils/Array.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
20namespace LexRuntimeService
47 template<
typename ContentTypeT = Aws::String>
48 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
49 template<
typename ContentTypeT = Aws::String>
58 template<
typename IntentNameT = Aws::String>
59 void SetIntentName(IntentNameT&& value) { m_intentNameHasBeenSet =
true; m_intentName = std::forward<IntentNameT>(value); }
60 template<
typename IntentNameT = Aws::String>
72 template<
typename NluIntentConf
idenceT = Aws::String>
73 void SetNluIntentConfidence(NluIntentConfidenceT&& value) { m_nluIntentConfidenceHasBeenSet =
true; m_nluIntentConfidence = std::forward<NluIntentConfidenceT>(value); }
74 template<
typename NluIntentConf
idenceT = Aws::String>
86 template<
typename AlternativeIntentsT = Aws::String>
87 void SetAlternativeIntents(AlternativeIntentsT&& value) { m_alternativeIntentsHasBeenSet =
true; m_alternativeIntents = std::forward<AlternativeIntentsT>(value); }
88 template<
typename AlternativeIntentsT = Aws::String>
108 template<
typename SlotsT = Aws::String>
109 void SetSlots(SlotsT&& value) { m_slotsHasBeenSet =
true; m_slots = std::forward<SlotsT>(value); }
110 template<
typename SlotsT = Aws::String>
120 template<
typename SessionAttributesT = Aws::String>
121 void SetSessionAttributes(SessionAttributesT&& value) { m_sessionAttributesHasBeenSet =
true; m_sessionAttributes = std::forward<SessionAttributesT>(value); }
122 template<
typename SessionAttributesT = Aws::String>
133 template<
typename SentimentResponseT = Aws::String>
134 void SetSentimentResponse(SentimentResponseT&& value) { m_sentimentResponseHasBeenSet =
true; m_sentimentResponse = std::forward<SentimentResponseT>(value); }
135 template<
typename SentimentResponseT = Aws::String>
158 template<
typename EncodedMessageT = Aws::String>
159 void SetEncodedMessage(EncodedMessageT&& value) { m_encodedMessageHasBeenSet =
true; m_encodedMessage = std::forward<EncodedMessageT>(value); }
160 template<
typename EncodedMessageT = Aws::String>
222 template<
typename SlotToElicitT = Aws::String>
223 void SetSlotToElicit(SlotToElicitT&& value) { m_slotToElicitHasBeenSet =
true; m_slotToElicit = std::forward<SlotToElicitT>(value); }
224 template<
typename SlotToElicitT = Aws::String>
239 template<
typename EncodedInputTranscriptT = Aws::String>
240 void SetEncodedInputTranscript(EncodedInputTranscriptT&& value) { m_encodedInputTranscriptHasBeenSet =
true; m_encodedInputTranscript = std::forward<EncodedInputTranscriptT>(value); }
241 template<
typename EncodedInputTranscriptT = Aws::String>
267 template<
typename BotVersionT = Aws::String>
268 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet =
true; m_botVersion = std::forward<BotVersionT>(value); }
269 template<
typename BotVersionT = Aws::String>
278 template<
typename SessionIdT = Aws::String>
279 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet =
true; m_sessionId = std::forward<SessionIdT>(value); }
280 template<
typename SessionIdT = Aws::String>
293 template<
typename ActiveContextsT = Aws::String>
294 void SetActiveContexts(ActiveContextsT&& value) { m_activeContextsHasBeenSet =
true; m_activeContexts = std::forward<ActiveContextsT>(value); }
295 template<
typename ActiveContextsT = Aws::String>
302 template<
typename RequestIdT = Aws::String>
303 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
304 template<
typename RequestIdT = Aws::String>
310 bool m_contentTypeHasBeenSet =
false;
313 bool m_intentNameHasBeenSet =
false;
316 bool m_nluIntentConfidenceHasBeenSet =
false;
319 bool m_alternativeIntentsHasBeenSet =
false;
322 bool m_slotsHasBeenSet =
false;
325 bool m_sessionAttributesHasBeenSet =
false;
328 bool m_sentimentResponseHasBeenSet =
false;
331 bool m_encodedMessageHasBeenSet =
false;
334 bool m_messageFormatHasBeenSet =
false;
337 bool m_dialogStateHasBeenSet =
false;
340 bool m_slotToElicitHasBeenSet =
false;
343 bool m_encodedInputTranscriptHasBeenSet =
false;
346 bool m_audioStreamHasBeenSet =
false;
349 bool m_botVersionHasBeenSet =
false;
352 bool m_sessionIdHasBeenSet =
false;
355 bool m_activeContextsHasBeenSet =
false;
358 bool m_requestIdHasBeenSet =
false;
PostContentResult & WithNluIntentConfidence(NluIntentConfidenceT &&value)
void SetIntentName(IntentNameT &&value)
void SetSentimentResponse(SentimentResponseT &&value)
const Aws::String & GetEncodedInputTranscript() const
PostContentResult & WithSessionAttributes(SessionAttributesT &&value)
PostContentResult & WithSlots(SlotsT &&value)
const Aws::String & GetSessionId() const
const Aws::String & GetEncodedMessage() const
void SetContentType(ContentTypeT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetContentType() const
void SetEncodedInputTranscript(EncodedInputTranscriptT &&value)
PostContentResult & WithContentType(ContentTypeT &&value)
const Aws::String & GetActiveContexts() const
AWS_LEXRUNTIMESERVICE_API PostContentResult(PostContentResult &&)=default
AWS_LEXRUNTIMESERVICE_API PostContentResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
void SetSlotToElicit(SlotToElicitT &&value)
PostContentResult & WithSessionId(SessionIdT &&value)
PostContentResult & WithActiveContexts(ActiveContextsT &&value)
PostContentResult(const PostContentResult &)=delete
void SetSessionAttributes(SessionAttributesT &&value)
AWS_LEXRUNTIMESERVICE_API PostContentResult()=default
MessageFormatType GetMessageFormat() const
void SetMessageFormat(MessageFormatType value)
const Aws::String & GetNluIntentConfidence() const
Aws::IOStream & GetAudioStream() const
PostContentResult & operator=(const PostContentResult &)=delete
void SetActiveContexts(ActiveContextsT &&value)
AWS_LEXRUNTIMESERVICE_API PostContentResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
void SetAlternativeIntents(AlternativeIntentsT &&value)
void SetNluIntentConfidence(NluIntentConfidenceT &&value)
PostContentResult & WithEncodedInputTranscript(EncodedInputTranscriptT &&value)
PostContentResult & WithDialogState(DialogState value)
const Aws::String & GetBotVersion() const
PostContentResult & WithMessageFormat(MessageFormatType value)
void ReplaceBody(Aws::IOStream *body)
const Aws::String & GetSlotToElicit() const
PostContentResult & WithRequestId(RequestIdT &&value)
PostContentResult & WithSentimentResponse(SentimentResponseT &&value)
PostContentResult & WithBotVersion(BotVersionT &&value)
const Aws::String & GetSentimentResponse() const
const Aws::String & GetAlternativeIntents() const
DialogState GetDialogState() const
const Aws::String & GetIntentName() const
PostContentResult & WithIntentName(IntentNameT &&value)
void SetDialogState(DialogState value)
void SetSessionId(SessionIdT &&value)
const Aws::String & GetSlots() const
const Aws::String & GetRequestId() const
PostContentResult & WithEncodedMessage(EncodedMessageT &&value)
PostContentResult & WithAlternativeIntents(AlternativeIntentsT &&value)
const Aws::String & GetSessionAttributes() const
void SetBotVersion(BotVersionT &&value)
AWS_LEXRUNTIMESERVICE_API PostContentResult & operator=(PostContentResult &&)=default
void SetSlots(SlotsT &&value)
PostContentResult & WithSlotToElicit(SlotToElicitT &&value)
void SetEncodedMessage(EncodedMessageT &&value)
Aws::IOStream & GetUnderlyingStream() const
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String