7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
9#include <aws/lexv2-runtime/model/PlaybackInterruptionReason.h>
20namespace LexRuntimeV2 {
47 m_eventReasonHasBeenSet =
true;
48 m_eventReason = value;
63 template <
typename CausedByEventIdT = Aws::String>
65 m_causedByEventIdHasBeenSet =
true;
66 m_causedByEventId = std::forward<CausedByEventIdT>(value);
68 template <
typename CausedByEventIdT = Aws::String>
83 template <
typename EventIdT = Aws::String>
85 m_eventIdHasBeenSet =
true;
86 m_eventId = std::forward<EventIdT>(value);
88 template <
typename EventIdT = Aws::String>
100 bool m_eventReasonHasBeenSet =
false;
101 bool m_causedByEventIdHasBeenSet =
false;
102 bool m_eventIdHasBeenSet =
false;
PlaybackInterruptionReason GetEventReason() const
AWS_LEXRUNTIMEV2_API PlaybackInterruptionEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
PlaybackInterruptionEvent & WithEventId(EventIdT &&value)
const Aws::String & GetEventId() const
void SetEventId(EventIdT &&value)
const Aws::String & GetCausedByEventId() const
PlaybackInterruptionEvent & WithCausedByEventId(CausedByEventIdT &&value)
void SetCausedByEventId(CausedByEventIdT &&value)
AWS_LEXRUNTIMEV2_API PlaybackInterruptionEvent()=default
void SetEventReason(PlaybackInterruptionReason value)
bool EventReasonHasBeenSet() const
bool EventIdHasBeenSet() const
PlaybackInterruptionEvent & WithEventReason(PlaybackInterruptionReason value)
AWS_LEXRUNTIMEV2_API PlaybackInterruptionEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CausedByEventIdHasBeenSet() const
PlaybackInterruptionReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue