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>
14#include <aws/lexv2-runtime/model/AccessDeniedException.h>
15#include <aws/lexv2-runtime/model/ResourceNotFoundException.h>
16#include <aws/lexv2-runtime/model/ValidationException.h>
17#include <aws/lexv2-runtime/model/ThrottlingException.h>
18#include <aws/lexv2-runtime/model/InternalServerException.h>
19#include <aws/lexv2-runtime/model/ConflictException.h>
20#include <aws/lexv2-runtime/model/DependencyFailedException.h>
21#include <aws/lexv2-runtime/model/BadGatewayException.h>
125 inline void SetAccessDeniedException(
const AccessDeniedException& value) { m_accessDeniedExceptionHasBeenSet =
true; m_accessDeniedException = value; }
126 inline void SetAccessDeniedException(AccessDeniedException&& value) { m_accessDeniedExceptionHasBeenSet =
true; m_accessDeniedException = std::move(value); }
138 inline void SetResourceNotFoundException(
const ResourceNotFoundException& value) { m_resourceNotFoundExceptionHasBeenSet =
true; m_resourceNotFoundException = value; }
139 inline void SetResourceNotFoundException(ResourceNotFoundException&& value) { m_resourceNotFoundExceptionHasBeenSet =
true; m_resourceNotFoundException = std::move(value); }
151 inline void SetValidationException(
const ValidationException& value) { m_validationExceptionHasBeenSet =
true; m_validationException = value; }
152 inline void SetValidationException(ValidationException&& value) { m_validationExceptionHasBeenSet =
true; m_validationException = std::move(value); }
164 inline void SetThrottlingException(
const ThrottlingException& value) { m_throttlingExceptionHasBeenSet =
true; m_throttlingException = value; }
165 inline void SetThrottlingException(ThrottlingException&& value) { m_throttlingExceptionHasBeenSet =
true; m_throttlingException = std::move(value); }
176 inline void SetInternalServerException(
const InternalServerException& value) { m_internalServerExceptionHasBeenSet =
true; m_internalServerException = value; }
177 inline void SetInternalServerException(InternalServerException&& value) { m_internalServerExceptionHasBeenSet =
true; m_internalServerException = std::move(value); }
189 inline void SetConflictException(
const ConflictException& value) { m_conflictExceptionHasBeenSet =
true; m_conflictException = value; }
190 inline void SetConflictException(ConflictException&& value) { m_conflictExceptionHasBeenSet =
true; m_conflictException = std::move(value); }
199 inline void SetDependencyFailedException(
const DependencyFailedException& value) { m_dependencyFailedExceptionHasBeenSet =
true; m_dependencyFailedException = value; }
200 inline void SetDependencyFailedException(DependencyFailedException&& value) { m_dependencyFailedExceptionHasBeenSet =
true; m_dependencyFailedException = std::move(value); }
209 inline void SetBadGatewayException(
const BadGatewayException& value) { m_badGatewayExceptionHasBeenSet =
true; m_badGatewayException = value; }
210 inline void SetBadGatewayException(BadGatewayException&& value) { m_badGatewayExceptionHasBeenSet =
true; m_badGatewayException = std::move(value); }
217 bool m_playbackInterruptionEventHasBeenSet =
false;
220 bool m_transcriptEventHasBeenSet =
false;
223 bool m_intentResultEventHasBeenSet =
false;
226 bool m_textResponseEventHasBeenSet =
false;
229 bool m_audioResponseEventHasBeenSet =
false;
232 bool m_heartbeatEventHasBeenSet =
false;
234 AccessDeniedException m_accessDeniedException;
235 bool m_accessDeniedExceptionHasBeenSet =
false;
237 ResourceNotFoundException m_resourceNotFoundException;
238 bool m_resourceNotFoundExceptionHasBeenSet =
false;
240 ValidationException m_validationException;
241 bool m_validationExceptionHasBeenSet =
false;
243 ThrottlingException m_throttlingException;
244 bool m_throttlingExceptionHasBeenSet =
false;
246 InternalServerException m_internalServerException;
247 bool m_internalServerExceptionHasBeenSet =
false;
249 ConflictException m_conflictException;
250 bool m_conflictExceptionHasBeenSet =
false;
252 DependencyFailedException m_dependencyFailedException;
253 bool m_dependencyFailedExceptionHasBeenSet =
false;
255 BadGatewayException m_badGatewayException;
256 bool m_badGatewayExceptionHasBeenSet =
false;
StartConversationResponseEventStream & WithTextResponseEvent(const TextResponseEvent &value)
void SetIntentResultEvent(IntentResultEvent &&value)
const HeartbeatEvent & GetHeartbeatEvent() const
void SetIntentResultEvent(const IntentResultEvent &value)
StartConversationResponseEventStream & WithDependencyFailedException(DependencyFailedException &&value)
bool AccessDeniedExceptionHasBeenSet() const
const InternalServerException & GetInternalServerException() const
StartConversationResponseEventStream & WithBadGatewayException(const BadGatewayException &value)
StartConversationResponseEventStream & WithResourceNotFoundException(ResourceNotFoundException &&value)
void SetBadGatewayException(const BadGatewayException &value)
bool DependencyFailedExceptionHasBeenSet() const
AWS_LEXRUNTIMEV2_API StartConversationResponseEventStream()
bool TranscriptEventHasBeenSet() const
void SetAudioResponseEvent(const AudioResponseEvent &value)
StartConversationResponseEventStream & WithConflictException(const ConflictException &value)
void SetTextResponseEvent(const TextResponseEvent &value)
StartConversationResponseEventStream & WithIntentResultEvent(const IntentResultEvent &value)
void SetValidationException(ValidationException &&value)
void SetPlaybackInterruptionEvent(PlaybackInterruptionEvent &&value)
const ThrottlingException & GetThrottlingException() const
void SetDependencyFailedException(DependencyFailedException &&value)
void SetTranscriptEvent(TranscriptEvent &&value)
AWS_LEXRUNTIMEV2_API StartConversationResponseEventStream(Aws::Utils::Json::JsonView jsonValue)
StartConversationResponseEventStream & WithThrottlingException(const ThrottlingException &value)
StartConversationResponseEventStream & WithPlaybackInterruptionEvent(const PlaybackInterruptionEvent &value)
void SetDependencyFailedException(const DependencyFailedException &value)
const BadGatewayException & GetBadGatewayException() const
StartConversationResponseEventStream & WithBadGatewayException(BadGatewayException &&value)
StartConversationResponseEventStream & WithValidationException(const ValidationException &value)
bool TextResponseEventHasBeenSet() const
bool ValidationExceptionHasBeenSet() const
StartConversationResponseEventStream & WithPlaybackInterruptionEvent(PlaybackInterruptionEvent &&value)
bool AudioResponseEventHasBeenSet() const
void SetPlaybackInterruptionEvent(const PlaybackInterruptionEvent &value)
const ResourceNotFoundException & GetResourceNotFoundException() const
bool BadGatewayExceptionHasBeenSet() const
StartConversationResponseEventStream & WithDependencyFailedException(const DependencyFailedException &value)
const TextResponseEvent & GetTextResponseEvent() const
StartConversationResponseEventStream & WithTranscriptEvent(TranscriptEvent &&value)
void SetResourceNotFoundException(ResourceNotFoundException &&value)
const ValidationException & GetValidationException() const
const PlaybackInterruptionEvent & GetPlaybackInterruptionEvent() const
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
StartConversationResponseEventStream & WithInternalServerException(InternalServerException &&value)
StartConversationResponseEventStream & WithAudioResponseEvent(AudioResponseEvent &&value)
StartConversationResponseEventStream & WithConflictException(ConflictException &&value)
StartConversationResponseEventStream & WithAccessDeniedException(const AccessDeniedException &value)
void SetInternalServerException(InternalServerException &&value)
bool ThrottlingExceptionHasBeenSet() const
const AudioResponseEvent & GetAudioResponseEvent() const
void SetHeartbeatEvent(const HeartbeatEvent &value)
StartConversationResponseEventStream & WithInternalServerException(const InternalServerException &value)
void SetAudioResponseEvent(AudioResponseEvent &&value)
StartConversationResponseEventStream & WithHeartbeatEvent(const HeartbeatEvent &value)
bool InternalServerExceptionHasBeenSet() const
void SetInternalServerException(const InternalServerException &value)
void SetAccessDeniedException(AccessDeniedException &&value)
void SetAccessDeniedException(const AccessDeniedException &value)
const DependencyFailedException & GetDependencyFailedException() const
StartConversationResponseEventStream & WithAudioResponseEvent(const AudioResponseEvent &value)
const TranscriptEvent & GetTranscriptEvent() const
void SetHeartbeatEvent(HeartbeatEvent &&value)
void SetBadGatewayException(BadGatewayException &&value)
bool PlaybackInterruptionEventHasBeenSet() const
void SetTranscriptEvent(const TranscriptEvent &value)
void SetThrottlingException(const ThrottlingException &value)
AWS_LEXRUNTIMEV2_API StartConversationResponseEventStream & operator=(Aws::Utils::Json::JsonView jsonValue)
const AccessDeniedException & GetAccessDeniedException() const
StartConversationResponseEventStream & WithResourceNotFoundException(const ResourceNotFoundException &value)
const IntentResultEvent & GetIntentResultEvent() const
void SetValidationException(const ValidationException &value)
StartConversationResponseEventStream & WithAccessDeniedException(AccessDeniedException &&value)
StartConversationResponseEventStream & WithThrottlingException(ThrottlingException &&value)
bool HeartbeatEventHasBeenSet() const
void SetConflictException(const ConflictException &value)
void SetThrottlingException(ThrottlingException &&value)
StartConversationResponseEventStream & WithTextResponseEvent(TextResponseEvent &&value)
bool ResourceNotFoundExceptionHasBeenSet() const
const ConflictException & GetConflictException() const
bool IntentResultEventHasBeenSet() const
StartConversationResponseEventStream & WithHeartbeatEvent(HeartbeatEvent &&value)
void SetTextResponseEvent(TextResponseEvent &&value)
void SetConflictException(ConflictException &&value)
void SetResourceNotFoundException(const ResourceNotFoundException &value)
StartConversationResponseEventStream & WithIntentResultEvent(IntentResultEvent &&value)
StartConversationResponseEventStream & WithValidationException(ValidationException &&value)
bool ConflictExceptionHasBeenSet() const
StartConversationResponseEventStream & WithTranscriptEvent(const TranscriptEvent &value)
Aws::Utils::Json::JsonValue JsonValue