7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mediatailor/model/ScheduleEntryType.h>
12#include <aws/mediatailor/model/ScheduleAdBreak.h>
73 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
74 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
103 inline void SetChannelName(
const char* value) { m_channelNameHasBeenSet =
true; m_channelName.assign(value); }
117 inline void SetLiveSourceName(
const char* value) { m_liveSourceNameHasBeenSet =
true; m_liveSourceName.assign(value); }
131 inline void SetProgramName(
const char* value) { m_programNameHasBeenSet =
true; m_programName.assign(value); }
171 inline void SetSourceLocationName(
const char* value) { m_sourceLocationNameHasBeenSet =
true; m_sourceLocationName.assign(value); }
185 inline void SetVodSourceName(
const char* value) { m_vodSourceNameHasBeenSet =
true; m_vodSourceName.assign(value); }
192 long long m_approximateDurationSeconds;
193 bool m_approximateDurationSecondsHasBeenSet =
false;
196 bool m_approximateStartTimeHasBeenSet =
false;
199 bool m_arnHasBeenSet =
false;
202 bool m_audiencesHasBeenSet =
false;
205 bool m_channelNameHasBeenSet =
false;
208 bool m_liveSourceNameHasBeenSet =
false;
211 bool m_programNameHasBeenSet =
false;
214 bool m_scheduleAdBreaksHasBeenSet =
false;
217 bool m_scheduleEntryTypeHasBeenSet =
false;
220 bool m_sourceLocationNameHasBeenSet =
false;
223 bool m_vodSourceNameHasBeenSet =
false;
ScheduleEntry & WithArn(Aws::String &&value)
ScheduleEntry & WithLiveSourceName(Aws::String &&value)
void SetSourceLocationName(Aws::String &&value)
void SetChannelName(const Aws::String &value)
const Aws::String & GetVodSourceName() const
ScheduleEntry & WithApproximateStartTime(const Aws::Utils::DateTime &value)
ScheduleEntry & WithApproximateDurationSeconds(long long value)
ScheduleEntry & AddAudiences(const char *value)
ScheduleEntry & WithScheduleAdBreaks(const Aws::Vector< ScheduleAdBreak > &value)
void SetScheduleEntryType(ScheduleEntryType &&value)
void SetVodSourceName(const char *value)
void SetAudiences(Aws::Vector< Aws::String > &&value)
ScheduleEntry & WithArn(const Aws::String &value)
void SetLiveSourceName(const Aws::String &value)
bool ApproximateDurationSecondsHasBeenSet() const
ScheduleEntry & WithAudiences(const Aws::Vector< Aws::String > &value)
const Aws::String & GetSourceLocationName() const
bool ScheduleEntryTypeHasBeenSet() const
const ScheduleEntryType & GetScheduleEntryType() const
AWS_MEDIATAILOR_API ScheduleEntry(Aws::Utils::Json::JsonView jsonValue)
ScheduleEntry & WithScheduleEntryType(const ScheduleEntryType &value)
const Aws::String & GetLiveSourceName() const
ScheduleEntry & WithSourceLocationName(const char *value)
const Aws::Vector< ScheduleAdBreak > & GetScheduleAdBreaks() const
ScheduleEntry & WithVodSourceName(const char *value)
ScheduleEntry & AddScheduleAdBreaks(const ScheduleAdBreak &value)
void SetVodSourceName(Aws::String &&value)
ScheduleEntry & WithProgramName(const Aws::String &value)
void SetApproximateStartTime(Aws::Utils::DateTime &&value)
void SetChannelName(const char *value)
ScheduleEntry & AddAudiences(Aws::String &&value)
ScheduleEntry & WithLiveSourceName(const char *value)
const Aws::String & GetProgramName() const
void SetProgramName(Aws::String &&value)
bool ApproximateStartTimeHasBeenSet() const
void SetScheduleEntryType(const ScheduleEntryType &value)
AWS_MEDIATAILOR_API ScheduleEntry()
ScheduleEntry & AddScheduleAdBreaks(ScheduleAdBreak &&value)
bool ArnHasBeenSet() const
const Aws::Vector< Aws::String > & GetAudiences() const
bool VodSourceNameHasBeenSet() const
ScheduleEntry & WithProgramName(const char *value)
ScheduleEntry & WithChannelName(const char *value)
ScheduleEntry & WithVodSourceName(const Aws::String &value)
void SetSourceLocationName(const char *value)
long long GetApproximateDurationSeconds() const
void SetArn(Aws::String &&value)
void SetProgramName(const Aws::String &value)
void SetSourceLocationName(const Aws::String &value)
ScheduleEntry & WithSourceLocationName(const Aws::String &value)
bool ScheduleAdBreaksHasBeenSet() const
void SetLiveSourceName(const char *value)
void SetApproximateStartTime(const Aws::Utils::DateTime &value)
ScheduleEntry & WithChannelName(Aws::String &&value)
ScheduleEntry & AddAudiences(const Aws::String &value)
ScheduleEntry & WithSourceLocationName(Aws::String &&value)
const Aws::String & GetChannelName() const
const Aws::Utils::DateTime & GetApproximateStartTime() const
const Aws::String & GetArn() const
void SetProgramName(const char *value)
void SetAudiences(const Aws::Vector< Aws::String > &value)
void SetArn(const Aws::String &value)
ScheduleEntry & WithVodSourceName(Aws::String &&value)
bool ProgramNameHasBeenSet() const
void SetArn(const char *value)
bool ChannelNameHasBeenSet() const
bool LiveSourceNameHasBeenSet() const
ScheduleEntry & WithScheduleAdBreaks(Aws::Vector< ScheduleAdBreak > &&value)
void SetApproximateDurationSeconds(long long value)
ScheduleEntry & WithApproximateStartTime(Aws::Utils::DateTime &&value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduleEntry & WithLiveSourceName(const Aws::String &value)
void SetVodSourceName(const Aws::String &value)
ScheduleEntry & WithScheduleEntryType(ScheduleEntryType &&value)
ScheduleEntry & WithArn(const char *value)
ScheduleEntry & WithAudiences(Aws::Vector< Aws::String > &&value)
void SetChannelName(Aws::String &&value)
ScheduleEntry & WithProgramName(Aws::String &&value)
void SetLiveSourceName(Aws::String &&value)
AWS_MEDIATAILOR_API ScheduleEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetScheduleAdBreaks(const Aws::Vector< ScheduleAdBreak > &value)
bool SourceLocationNameHasBeenSet() const
ScheduleEntry & WithChannelName(const Aws::String &value)
void SetScheduleAdBreaks(Aws::Vector< ScheduleAdBreak > &&value)
bool AudiencesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue