7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/lexv2-runtime/model/PlaybackInterruptionReason.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
63 template<
typename CausedByEventIdT = Aws::String>
64 void SetCausedByEventId(CausedByEventIdT&& value) { m_causedByEventIdHasBeenSet =
true; m_causedByEventId = std::forward<CausedByEventIdT>(value); }
65 template<
typename CausedByEventIdT = Aws::String>
77 template<
typename EventIdT = Aws::String>
78 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
79 template<
typename EventIdT = Aws::String>
85 bool m_eventReasonHasBeenSet =
false;
88 bool m_causedByEventIdHasBeenSet =
false;
91 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