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>
67 inline void SetCausedByEventId(
const char* value) { m_causedByEventIdHasBeenSet =
true; m_causedByEventId.assign(value); }
83 inline void SetEventId(
const char* value) { m_eventIdHasBeenSet =
true; m_eventId.assign(value); }
91 bool m_eventReasonHasBeenSet =
false;
94 bool m_causedByEventIdHasBeenSet =
false;
97 bool m_eventIdHasBeenSet =
false;
PlaybackInterruptionEvent & WithEventId(Aws::String &&value)
AWS_LEXRUNTIMEV2_API PlaybackInterruptionEvent()
PlaybackInterruptionEvent & WithEventId(const char *value)
void SetCausedByEventId(Aws::String &&value)
AWS_LEXRUNTIMEV2_API PlaybackInterruptionEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCausedByEventId(const Aws::String &value)
void SetEventId(Aws::String &&value)
PlaybackInterruptionEvent & WithCausedByEventId(const Aws::String &value)
const PlaybackInterruptionReason & GetEventReason() const
const Aws::String & GetEventId() const
void SetEventReason(const PlaybackInterruptionReason &value)
PlaybackInterruptionEvent & WithEventReason(PlaybackInterruptionReason &&value)
const Aws::String & GetCausedByEventId() const
PlaybackInterruptionEvent & WithCausedByEventId(Aws::String &&value)
PlaybackInterruptionEvent & WithCausedByEventId(const char *value)
void SetEventId(const char *value)
PlaybackInterruptionEvent & WithEventReason(const PlaybackInterruptionReason &value)
void SetCausedByEventId(const char *value)
PlaybackInterruptionEvent & WithEventId(const Aws::String &value)
bool EventReasonHasBeenSet() const
bool EventIdHasBeenSet() const
void SetEventId(const Aws::String &value)
AWS_LEXRUNTIMEV2_API PlaybackInterruptionEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEventReason(PlaybackInterruptionReason &&value)
bool CausedByEventIdHasBeenSet() const
PlaybackInterruptionReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue