7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/lexv2-runtime/model/PlaybackInterruptionEvent.h>
9#include <aws/lexv2-runtime/model/TranscriptEvent.h>
10#include <aws/lexv2-runtime/model/IntentResultEvent.h>
11#include <aws/lexv2-runtime/model/TextResponseEvent.h>
12#include <aws/lexv2-runtime/model/AudioResponseEvent.h>
13#include <aws/lexv2-runtime/model/HeartbeatEvent.h>
50 template<
typename PlaybackInterruptionEventT = PlaybackInterruptionEvent>
51 void SetPlaybackInterruptionEvent(PlaybackInterruptionEventT&& value) { m_playbackInterruptionEventHasBeenSet =
true; m_playbackInterruptionEvent = std::forward<PlaybackInterruptionEventT>(value); }
52 template<
typename PlaybackInterruptionEventT = PlaybackInterruptionEvent>
60 template<
typename TranscriptEventT = TranscriptEvent>
61 void SetTranscriptEvent(TranscriptEventT&& value) { m_transcriptEventHasBeenSet =
true; m_transcriptEvent = std::forward<TranscriptEventT>(value); }
62 template<
typename TranscriptEventT = TranscriptEvent>
73 template<
typename IntentResultEventT = IntentResultEvent>
74 void SetIntentResultEvent(IntentResultEventT&& value) { m_intentResultEventHasBeenSet =
true; m_intentResultEvent = std::forward<IntentResultEventT>(value); }
75 template<
typename IntentResultEventT = IntentResultEvent>
83 template<
typename TextResponseEventT = TextResponseEvent>
84 void SetTextResponseEvent(TextResponseEventT&& value) { m_textResponseEventHasBeenSet =
true; m_textResponseEvent = std::forward<TextResponseEventT>(value); }
85 template<
typename TextResponseEventT = TextResponseEvent>
93 template<
typename AudioResponseEventT = AudioResponseEvent>
94 void SetAudioResponseEvent(AudioResponseEventT&& value) { m_audioResponseEventHasBeenSet =
true; m_audioResponseEvent = std::forward<AudioResponseEventT>(value); }
95 template<
typename AudioResponseEventT = AudioResponseEvent>
103 template<
typename HeartbeatEventT = HeartbeatEvent>
104 void SetHeartbeatEvent(HeartbeatEventT&& value) { m_heartbeatEventHasBeenSet =
true; m_heartbeatEvent = std::forward<HeartbeatEventT>(value); }
105 template<
typename HeartbeatEventT = HeartbeatEvent>
117 template<
typename AccessDeniedExceptionT = LexRuntimeV2Error>
118 void SetAccessDeniedException(AccessDeniedExceptionT&& value) { m_accessDeniedExceptionHasBeenSet =
true; m_accessDeniedException = std::forward<AccessDeniedExceptionT>(value); }
119 template<
typename AccessDeniedExceptionT = LexRuntimeV2Error>
130 template<
typename ResourceNotFoundExceptionT = LexRuntimeV2Error>
131 void SetResourceNotFoundException(ResourceNotFoundExceptionT&& value) { m_resourceNotFoundExceptionHasBeenSet =
true; m_resourceNotFoundException = std::forward<ResourceNotFoundExceptionT>(value); }
132 template<
typename ResourceNotFoundExceptionT = LexRuntimeV2Error>
143 template<
typename Val
idationExceptionT = LexRuntimeV2Error>
144 void SetValidationException(ValidationExceptionT&& value) { m_validationExceptionHasBeenSet =
true; m_validationException = std::forward<ValidationExceptionT>(value); }
145 template<
typename Val
idationExceptionT = LexRuntimeV2Error>
156 template<
typename ThrottlingExceptionT = LexRuntimeV2Error>
157 void SetThrottlingException(ThrottlingExceptionT&& value) { m_throttlingExceptionHasBeenSet =
true; m_throttlingException = std::forward<ThrottlingExceptionT>(value); }
158 template<
typename ThrottlingExceptionT = LexRuntimeV2Error>
168 template<
typename InternalServerExceptionT = LexRuntimeV2Error>
169 void SetInternalServerException(InternalServerExceptionT&& value) { m_internalServerExceptionHasBeenSet =
true; m_internalServerException = std::forward<InternalServerExceptionT>(value); }
170 template<
typename InternalServerExceptionT = LexRuntimeV2Error>
181 template<
typename ConflictExceptionT = LexRuntimeV2Error>
182 void SetConflictException(ConflictExceptionT&& value) { m_conflictExceptionHasBeenSet =
true; m_conflictException = std::forward<ConflictExceptionT>(value); }
183 template<
typename ConflictExceptionT = LexRuntimeV2Error>
191 template<
typename DependencyFailedExceptionT = LexRuntimeV2Error>
192 void SetDependencyFailedException(DependencyFailedExceptionT&& value) { m_dependencyFailedExceptionHasBeenSet =
true; m_dependencyFailedException = std::forward<DependencyFailedExceptionT>(value); }
193 template<
typename DependencyFailedExceptionT = LexRuntimeV2Error>
201 template<
typename BadGatewayExceptionT = LexRuntimeV2Error>
202 void SetBadGatewayException(BadGatewayExceptionT&& value) { m_badGatewayExceptionHasBeenSet =
true; m_badGatewayException = std::forward<BadGatewayExceptionT>(value); }
203 template<
typename BadGatewayExceptionT = LexRuntimeV2Error>
209 bool m_playbackInterruptionEventHasBeenSet =
false;
212 bool m_transcriptEventHasBeenSet =
false;
215 bool m_intentResultEventHasBeenSet =
false;
218 bool m_textResponseEventHasBeenSet =
false;
221 bool m_audioResponseEventHasBeenSet =
false;
224 bool m_heartbeatEventHasBeenSet =
false;
227 bool m_accessDeniedExceptionHasBeenSet =
false;
230 bool m_resourceNotFoundExceptionHasBeenSet =
false;
233 bool m_validationExceptionHasBeenSet =
false;
236 bool m_throttlingExceptionHasBeenSet =
false;
239 bool m_internalServerExceptionHasBeenSet =
false;
242 bool m_conflictExceptionHasBeenSet =
false;
245 bool m_dependencyFailedExceptionHasBeenSet =
false;
248 bool m_badGatewayExceptionHasBeenSet =
false;
const HeartbeatEvent & GetHeartbeatEvent() const
const LexRuntimeV2Error & GetValidationException() const
bool AccessDeniedExceptionHasBeenSet() const
void SetInternalServerException(InternalServerExceptionT &&value)
void SetValidationException(ValidationExceptionT &&value)
void SetIntentResultEvent(IntentResultEventT &&value)
bool DependencyFailedExceptionHasBeenSet() const
bool TranscriptEventHasBeenSet() const
StartConversationResponseEventStream & WithThrottlingException(ThrottlingExceptionT &&value)
StartConversationResponseEventStream & WithAccessDeniedException(AccessDeniedExceptionT &&value)
StartConversationResponseEventStream & WithTextResponseEvent(TextResponseEventT &&value)
void SetAudioResponseEvent(AudioResponseEventT &&value)
void SetBadGatewayException(BadGatewayExceptionT &&value)
const LexRuntimeV2Error & GetDependencyFailedException() const
AWS_LEXRUNTIMEV2_API StartConversationResponseEventStream(Aws::Utils::Json::JsonView jsonValue)
bool TextResponseEventHasBeenSet() const
StartConversationResponseEventStream & WithIntentResultEvent(IntentResultEventT &&value)
void SetTranscriptEvent(TranscriptEventT &&value)
bool ValidationExceptionHasBeenSet() const
StartConversationResponseEventStream & WithPlaybackInterruptionEvent(PlaybackInterruptionEventT &&value)
const LexRuntimeV2Error & GetAccessDeniedException() const
StartConversationResponseEventStream & WithInternalServerException(InternalServerExceptionT &&value)
bool AudioResponseEventHasBeenSet() const
const LexRuntimeV2Error & GetBadGatewayException() const
const LexRuntimeV2Error & GetResourceNotFoundException() const
void SetAccessDeniedException(AccessDeniedExceptionT &&value)
bool BadGatewayExceptionHasBeenSet() const
const LexRuntimeV2Error & GetConflictException() const
const TextResponseEvent & GetTextResponseEvent() const
const PlaybackInterruptionEvent & GetPlaybackInterruptionEvent() const
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDependencyFailedException(DependencyFailedExceptionT &&value)
bool ThrottlingExceptionHasBeenSet() const
AWS_LEXRUNTIMEV2_API StartConversationResponseEventStream()=default
StartConversationResponseEventStream & WithDependencyFailedException(DependencyFailedExceptionT &&value)
const AudioResponseEvent & GetAudioResponseEvent() const
const LexRuntimeV2Error & GetThrottlingException() const
bool InternalServerExceptionHasBeenSet() const
void SetThrottlingException(ThrottlingExceptionT &&value)
void SetHeartbeatEvent(HeartbeatEventT &&value)
const TranscriptEvent & GetTranscriptEvent() const
bool PlaybackInterruptionEventHasBeenSet() const
StartConversationResponseEventStream & WithConflictException(ConflictExceptionT &&value)
StartConversationResponseEventStream & WithResourceNotFoundException(ResourceNotFoundExceptionT &&value)
AWS_LEXRUNTIMEV2_API StartConversationResponseEventStream & operator=(Aws::Utils::Json::JsonView jsonValue)
const IntentResultEvent & GetIntentResultEvent() const
StartConversationResponseEventStream & WithTranscriptEvent(TranscriptEventT &&value)
void SetConflictException(ConflictExceptionT &&value)
StartConversationResponseEventStream & WithAudioResponseEvent(AudioResponseEventT &&value)
StartConversationResponseEventStream & WithHeartbeatEvent(HeartbeatEventT &&value)
void SetResourceNotFoundException(ResourceNotFoundExceptionT &&value)
StartConversationResponseEventStream & WithBadGatewayException(BadGatewayExceptionT &&value)
bool HeartbeatEventHasBeenSet() const
void SetTextResponseEvent(TextResponseEventT &&value)
bool ResourceNotFoundExceptionHasBeenSet() const
const LexRuntimeV2Error & GetInternalServerException() const
void SetPlaybackInterruptionEvent(PlaybackInterruptionEventT &&value)
StartConversationResponseEventStream & WithValidationException(ValidationExceptionT &&value)
bool IntentResultEventHasBeenSet() const
bool ConflictExceptionHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue