7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/stream/ResponseStream.h>
11#include <aws/lex/LexRuntimeService_EXPORTS.h>
12#include <aws/lex/model/DialogState.h>
13#include <aws/lex/model/MessageFormatType.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
21namespace LexRuntimeService {
42 template <
typename ContentTypeT = Aws::String>
44 m_contentTypeHasBeenSet =
true;
45 m_contentType = std::forward<ContentTypeT>(value);
47 template <
typename ContentTypeT = Aws::String>
59 template <
typename IntentNameT = Aws::String>
61 m_intentNameHasBeenSet =
true;
62 m_intentName = std::forward<IntentNameT>(value);
64 template <
typename IntentNameT = Aws::String>
79 template <
typename NluIntentConf
idenceT = Aws::String>
81 m_nluIntentConfidenceHasBeenSet =
true;
82 m_nluIntentConfidence = std::forward<NluIntentConfidenceT>(value);
84 template <
typename NluIntentConf
idenceT = Aws::String>
99 template <
typename AlternativeIntentsT = Aws::String>
101 m_alternativeIntentsHasBeenSet =
true;
102 m_alternativeIntents = std::forward<AlternativeIntentsT>(value);
104 template <
typename AlternativeIntentsT = Aws::String>
127 template <
typename SlotsT = Aws::String>
129 m_slotsHasBeenSet =
true;
130 m_slots = std::forward<SlotsT>(value);
132 template <
typename SlotsT = Aws::String>
134 SetSlots(std::forward<SlotsT>(value));
145 template <
typename SessionAttributesT = Aws::String>
147 m_sessionAttributesHasBeenSet =
true;
148 m_sessionAttributes = std::forward<SessionAttributesT>(value);
150 template <
typename SessionAttributesT = Aws::String>
164 template <
typename SentimentResponseT = Aws::String>
166 m_sentimentResponseHasBeenSet =
true;
167 m_sentimentResponse = std::forward<SentimentResponseT>(value);
169 template <
typename SentimentResponseT = Aws::String>
195 template <
typename EncodedMessageT = Aws::String>
197 m_encodedMessageHasBeenSet =
true;
198 m_encodedMessage = std::forward<EncodedMessageT>(value);
200 template <
typename EncodedMessageT = Aws::String>
220 m_messageFormatHasBeenSet =
true;
221 m_messageFormat = value;
262 m_dialogStateHasBeenSet =
true;
263 m_dialogState = value;
277 template <
typename SlotToElicitT = Aws::String>
279 m_slotToElicitHasBeenSet =
true;
280 m_slotToElicit = std::forward<SlotToElicitT>(value);
282 template <
typename SlotToElicitT = Aws::String>
300 template <
typename EncodedInputTranscriptT = Aws::String>
302 m_encodedInputTranscriptHasBeenSet =
true;
303 m_encodedInputTranscript = std::forward<EncodedInputTranscriptT>(value);
305 template <
typename EncodedInputTranscriptT = Aws::String>
334 template <
typename BotVersionT = Aws::String>
336 m_botVersionHasBeenSet =
true;
337 m_botVersion = std::forward<BotVersionT>(value);
339 template <
typename BotVersionT = Aws::String>
351 template <
typename SessionIdT = Aws::String>
353 m_sessionIdHasBeenSet =
true;
354 m_sessionId = std::forward<SessionIdT>(value);
356 template <
typename SessionIdT = Aws::String>
372 template <
typename ActiveContextsT = Aws::String>
374 m_activeContextsHasBeenSet =
true;
375 m_activeContexts = std::forward<ActiveContextsT>(value);
377 template <
typename ActiveContextsT = Aws::String>
387 template <
typename RequestIdT = Aws::String>
389 m_requestIdHasBeenSet =
true;
390 m_requestId = std::forward<RequestIdT>(value);
392 template <
typename RequestIdT = Aws::String>
435 bool m_contentTypeHasBeenSet =
false;
436 bool m_intentNameHasBeenSet =
false;
437 bool m_nluIntentConfidenceHasBeenSet =
false;
438 bool m_alternativeIntentsHasBeenSet =
false;
439 bool m_slotsHasBeenSet =
false;
440 bool m_sessionAttributesHasBeenSet =
false;
441 bool m_sentimentResponseHasBeenSet =
false;
442 bool m_encodedMessageHasBeenSet =
false;
443 bool m_messageFormatHasBeenSet =
false;
444 bool m_dialogStateHasBeenSet =
false;
445 bool m_slotToElicitHasBeenSet =
false;
446 bool m_encodedInputTranscriptHasBeenSet =
false;
447 bool m_audioStreamHasBeenSet =
false;
448 bool m_botVersionHasBeenSet =
false;
449 bool m_sessionIdHasBeenSet =
false;
450 bool m_activeContextsHasBeenSet =
false;
451 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
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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