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>
60 template<
typename ApproximateStartTimeT = Aws::Utils::DateTime>
61 void SetApproximateStartTime(ApproximateStartTimeT&& value) { m_approximateStartTimeHasBeenSet =
true; m_approximateStartTime = std::forward<ApproximateStartTimeT>(value); }
62 template<
typename ApproximateStartTimeT = Aws::Utils::DateTime>
72 template<
typename ArnT = Aws::String>
73 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
74 template<
typename ArnT = Aws::String>
84 template<
typename ChannelNameT = Aws::String>
85 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet =
true; m_channelName = std::forward<ChannelNameT>(value); }
86 template<
typename ChannelNameT = Aws::String>
96 template<
typename LiveSourceNameT = Aws::String>
97 void SetLiveSourceName(LiveSourceNameT&& value) { m_liveSourceNameHasBeenSet =
true; m_liveSourceName = std::forward<LiveSourceNameT>(value); }
98 template<
typename LiveSourceNameT = Aws::String>
108 template<
typename ProgramNameT = Aws::String>
109 void SetProgramName(ProgramNameT&& value) { m_programNameHasBeenSet =
true; m_programName = std::forward<ProgramNameT>(value); }
110 template<
typename ProgramNameT = Aws::String>
120 template<
typename ScheduleAdBreaksT = Aws::Vector<ScheduleAdBreak>>
121 void SetScheduleAdBreaks(ScheduleAdBreaksT&& value) { m_scheduleAdBreaksHasBeenSet =
true; m_scheduleAdBreaks = std::forward<ScheduleAdBreaksT>(value); }
122 template<
typename ScheduleAdBreaksT = Aws::Vector<ScheduleAdBreak>>
124 template<
typename ScheduleAdBreaksT = ScheduleAdBreak>
125 ScheduleEntry&
AddScheduleAdBreaks(ScheduleAdBreaksT&& value) { m_scheduleAdBreaksHasBeenSet =
true; m_scheduleAdBreaks.emplace_back(std::forward<ScheduleAdBreaksT>(value));
return *
this; }
144 template<
typename SourceLocationNameT = Aws::String>
145 void SetSourceLocationName(SourceLocationNameT&& value) { m_sourceLocationNameHasBeenSet =
true; m_sourceLocationName = std::forward<SourceLocationNameT>(value); }
146 template<
typename SourceLocationNameT = Aws::String>
156 template<
typename VodSourceNameT = Aws::String>
157 void SetVodSourceName(VodSourceNameT&& value) { m_vodSourceNameHasBeenSet =
true; m_vodSourceName = std::forward<VodSourceNameT>(value); }
158 template<
typename VodSourceNameT = Aws::String>
168 template<
typename AudiencesT = Aws::Vector<Aws::String>>
169 void SetAudiences(AudiencesT&& value) { m_audiencesHasBeenSet =
true; m_audiences = std::forward<AudiencesT>(value); }
170 template<
typename AudiencesT = Aws::Vector<Aws::String>>
172 template<
typename AudiencesT = Aws::String>
173 ScheduleEntry&
AddAudiences(AudiencesT&& value) { m_audiencesHasBeenSet =
true; m_audiences.emplace_back(std::forward<AudiencesT>(value));
return *
this; }
177 long long m_approximateDurationSeconds{0};
178 bool m_approximateDurationSecondsHasBeenSet =
false;
181 bool m_approximateStartTimeHasBeenSet =
false;
184 bool m_arnHasBeenSet =
false;
187 bool m_channelNameHasBeenSet =
false;
190 bool m_liveSourceNameHasBeenSet =
false;
193 bool m_programNameHasBeenSet =
false;
196 bool m_scheduleAdBreaksHasBeenSet =
false;
199 bool m_scheduleEntryTypeHasBeenSet =
false;
202 bool m_sourceLocationNameHasBeenSet =
false;
205 bool m_vodSourceNameHasBeenSet =
false;
208 bool m_audiencesHasBeenSet =
false;
const Aws::String & GetVodSourceName() const
ScheduleEntry & WithApproximateDurationSeconds(long long value)
bool ApproximateDurationSecondsHasBeenSet() const
void SetSourceLocationName(SourceLocationNameT &&value)
void SetProgramName(ProgramNameT &&value)
const Aws::String & GetSourceLocationName() const
bool ScheduleEntryTypeHasBeenSet() const
AWS_MEDIATAILOR_API ScheduleEntry(Aws::Utils::Json::JsonView jsonValue)
ScheduleEntry & WithChannelName(ChannelNameT &&value)
void SetChannelName(ChannelNameT &&value)
const Aws::String & GetLiveSourceName() const
const Aws::Vector< ScheduleAdBreak > & GetScheduleAdBreaks() const
ScheduleEntry & WithSourceLocationName(SourceLocationNameT &&value)
void SetApproximateStartTime(ApproximateStartTimeT &&value)
void SetLiveSourceName(LiveSourceNameT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetProgramName() const
bool ApproximateStartTimeHasBeenSet() const
bool ArnHasBeenSet() const
const Aws::Vector< Aws::String > & GetAudiences() const
ScheduleEntry & WithVodSourceName(VodSourceNameT &&value)
bool VodSourceNameHasBeenSet() const
long long GetApproximateDurationSeconds() const
void SetAudiences(AudiencesT &&value)
bool ScheduleAdBreaksHasBeenSet() const
ScheduleEntry & WithScheduleAdBreaks(ScheduleAdBreaksT &&value)
void SetVodSourceName(VodSourceNameT &&value)
const Aws::String & GetChannelName() const
AWS_MEDIATAILOR_API ScheduleEntry()=default
ScheduleEntry & WithAudiences(AudiencesT &&value)
const Aws::Utils::DateTime & GetApproximateStartTime() const
void SetScheduleAdBreaks(ScheduleAdBreaksT &&value)
ScheduleEntry & WithScheduleEntryType(ScheduleEntryType value)
const Aws::String & GetArn() const
ScheduleEntry & WithArn(ArnT &&value)
void SetScheduleEntryType(ScheduleEntryType value)
bool ProgramNameHasBeenSet() const
bool ChannelNameHasBeenSet() const
bool LiveSourceNameHasBeenSet() const
ScheduleEntryType GetScheduleEntryType() const
void SetApproximateDurationSeconds(long long value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduleEntry & AddAudiences(AudiencesT &&value)
ScheduleEntry & WithApproximateStartTime(ApproximateStartTimeT &&value)
ScheduleEntry & WithProgramName(ProgramNameT &&value)
AWS_MEDIATAILOR_API ScheduleEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleEntry & WithLiveSourceName(LiveSourceNameT &&value)
bool SourceLocationNameHasBeenSet() const
ScheduleEntry & AddScheduleAdBreaks(ScheduleAdBreaksT &&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