AWS SDK for C++  1.9.104
AWS SDK for C++
ScheduleEntry.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace MediaTailor
26 {
27 namespace Model
28 {
29 
36  {
37  public:
42 
43 
47  inline long long GetApproximateDurationSeconds() const{ return m_approximateDurationSeconds; }
48 
52  inline bool ApproximateDurationSecondsHasBeenSet() const { return m_approximateDurationSecondsHasBeenSet; }
53 
57  inline void SetApproximateDurationSeconds(long long value) { m_approximateDurationSecondsHasBeenSet = true; m_approximateDurationSeconds = value; }
58 
62  inline ScheduleEntry& WithApproximateDurationSeconds(long long value) { SetApproximateDurationSeconds(value); return *this;}
63 
64 
68  inline const Aws::Utils::DateTime& GetApproximateStartTime() const{ return m_approximateStartTime; }
69 
73  inline bool ApproximateStartTimeHasBeenSet() const { return m_approximateStartTimeHasBeenSet; }
74 
78  inline void SetApproximateStartTime(const Aws::Utils::DateTime& value) { m_approximateStartTimeHasBeenSet = true; m_approximateStartTime = value; }
79 
83  inline void SetApproximateStartTime(Aws::Utils::DateTime&& value) { m_approximateStartTimeHasBeenSet = true; m_approximateStartTime = std::move(value); }
84 
88  inline ScheduleEntry& WithApproximateStartTime(const Aws::Utils::DateTime& value) { SetApproximateStartTime(value); return *this;}
89 
93  inline ScheduleEntry& WithApproximateStartTime(Aws::Utils::DateTime&& value) { SetApproximateStartTime(std::move(value)); return *this;}
94 
95 
99  inline const Aws::String& GetArn() const{ return m_arn; }
100 
104  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
105 
109  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
110 
114  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
115 
119  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
120 
124  inline ScheduleEntry& WithArn(const Aws::String& value) { SetArn(value); return *this;}
125 
129  inline ScheduleEntry& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
130 
134  inline ScheduleEntry& WithArn(const char* value) { SetArn(value); return *this;}
135 
136 
140  inline const Aws::String& GetChannelName() const{ return m_channelName; }
141 
145  inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
146 
150  inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
151 
155  inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
156 
160  inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
161 
165  inline ScheduleEntry& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
166 
170  inline ScheduleEntry& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
171 
175  inline ScheduleEntry& WithChannelName(const char* value) { SetChannelName(value); return *this;}
176 
177 
181  inline const Aws::String& GetProgramName() const{ return m_programName; }
182 
186  inline bool ProgramNameHasBeenSet() const { return m_programNameHasBeenSet; }
187 
191  inline void SetProgramName(const Aws::String& value) { m_programNameHasBeenSet = true; m_programName = value; }
192 
196  inline void SetProgramName(Aws::String&& value) { m_programNameHasBeenSet = true; m_programName = std::move(value); }
197 
201  inline void SetProgramName(const char* value) { m_programNameHasBeenSet = true; m_programName.assign(value); }
202 
206  inline ScheduleEntry& WithProgramName(const Aws::String& value) { SetProgramName(value); return *this;}
207 
211  inline ScheduleEntry& WithProgramName(Aws::String&& value) { SetProgramName(std::move(value)); return *this;}
212 
216  inline ScheduleEntry& WithProgramName(const char* value) { SetProgramName(value); return *this;}
217 
218 
222  inline const Aws::Vector<ScheduleAdBreak>& GetScheduleAdBreaks() const{ return m_scheduleAdBreaks; }
223 
227  inline bool ScheduleAdBreaksHasBeenSet() const { return m_scheduleAdBreaksHasBeenSet; }
228 
232  inline void SetScheduleAdBreaks(const Aws::Vector<ScheduleAdBreak>& value) { m_scheduleAdBreaksHasBeenSet = true; m_scheduleAdBreaks = value; }
233 
237  inline void SetScheduleAdBreaks(Aws::Vector<ScheduleAdBreak>&& value) { m_scheduleAdBreaksHasBeenSet = true; m_scheduleAdBreaks = std::move(value); }
238 
242  inline ScheduleEntry& WithScheduleAdBreaks(const Aws::Vector<ScheduleAdBreak>& value) { SetScheduleAdBreaks(value); return *this;}
243 
247  inline ScheduleEntry& WithScheduleAdBreaks(Aws::Vector<ScheduleAdBreak>&& value) { SetScheduleAdBreaks(std::move(value)); return *this;}
248 
252  inline ScheduleEntry& AddScheduleAdBreaks(const ScheduleAdBreak& value) { m_scheduleAdBreaksHasBeenSet = true; m_scheduleAdBreaks.push_back(value); return *this; }
253 
257  inline ScheduleEntry& AddScheduleAdBreaks(ScheduleAdBreak&& value) { m_scheduleAdBreaksHasBeenSet = true; m_scheduleAdBreaks.push_back(std::move(value)); return *this; }
258 
259 
263  inline const ScheduleEntryType& GetScheduleEntryType() const{ return m_scheduleEntryType; }
264 
268  inline bool ScheduleEntryTypeHasBeenSet() const { return m_scheduleEntryTypeHasBeenSet; }
269 
273  inline void SetScheduleEntryType(const ScheduleEntryType& value) { m_scheduleEntryTypeHasBeenSet = true; m_scheduleEntryType = value; }
274 
278  inline void SetScheduleEntryType(ScheduleEntryType&& value) { m_scheduleEntryTypeHasBeenSet = true; m_scheduleEntryType = std::move(value); }
279 
283  inline ScheduleEntry& WithScheduleEntryType(const ScheduleEntryType& value) { SetScheduleEntryType(value); return *this;}
284 
288  inline ScheduleEntry& WithScheduleEntryType(ScheduleEntryType&& value) { SetScheduleEntryType(std::move(value)); return *this;}
289 
290 
294  inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
295 
299  inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; }
300 
304  inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; }
305 
309  inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); }
310 
314  inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); }
315 
319  inline ScheduleEntry& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
320 
324  inline ScheduleEntry& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
325 
329  inline ScheduleEntry& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
330 
331 
335  inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; }
336 
340  inline bool VodSourceNameHasBeenSet() const { return m_vodSourceNameHasBeenSet; }
341 
345  inline void SetVodSourceName(const Aws::String& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = value; }
346 
350  inline void SetVodSourceName(Aws::String&& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = std::move(value); }
351 
355  inline void SetVodSourceName(const char* value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName.assign(value); }
356 
360  inline ScheduleEntry& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
361 
365  inline ScheduleEntry& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
366 
370  inline ScheduleEntry& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;}
371 
372  private:
373 
374  long long m_approximateDurationSeconds;
375  bool m_approximateDurationSecondsHasBeenSet;
376 
377  Aws::Utils::DateTime m_approximateStartTime;
378  bool m_approximateStartTimeHasBeenSet;
379 
380  Aws::String m_arn;
381  bool m_arnHasBeenSet;
382 
383  Aws::String m_channelName;
384  bool m_channelNameHasBeenSet;
385 
386  Aws::String m_programName;
387  bool m_programNameHasBeenSet;
388 
389  Aws::Vector<ScheduleAdBreak> m_scheduleAdBreaks;
390  bool m_scheduleAdBreaksHasBeenSet;
391 
392  ScheduleEntryType m_scheduleEntryType;
393  bool m_scheduleEntryTypeHasBeenSet;
394 
395  Aws::String m_sourceLocationName;
396  bool m_sourceLocationNameHasBeenSet;
397 
398  Aws::String m_vodSourceName;
399  bool m_vodSourceNameHasBeenSet;
400  };
401 
402 } // namespace Model
403 } // namespace MediaTailor
404 } // namespace Aws
Aws::MediaTailor::Model::ScheduleEntry::ScheduleEntry
ScheduleEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::ScheduleEntry::WithScheduleAdBreaks
ScheduleEntry & WithScheduleAdBreaks(Aws::Vector< ScheduleAdBreak > &&value)
Definition: ScheduleEntry.h:247
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::MediaTailor::Model::ScheduleEntry
Definition: ScheduleEntry.h:36
Aws::MediaTailor::Model::ScheduleEntry::SetScheduleAdBreaks
void SetScheduleAdBreaks(Aws::Vector< ScheduleAdBreak > &&value)
Definition: ScheduleEntry.h:237
Aws::MediaTailor::Model::ScheduleEntry::WithApproximateStartTime
ScheduleEntry & WithApproximateStartTime(const Aws::Utils::DateTime &value)
Definition: ScheduleEntry.h:88
ScheduleEntryType.h
Aws::MediaTailor::Model::ScheduleEntry::SetProgramName
void SetProgramName(const char *value)
Definition: ScheduleEntry.h:201
Aws::MediaTailor::Model::ScheduleEntry::WithApproximateDurationSeconds
ScheduleEntry & WithApproximateDurationSeconds(long long value)
Definition: ScheduleEntry.h:62
Aws::MediaTailor::Model::ScheduleEntry::SetProgramName
void SetProgramName(const Aws::String &value)
Definition: ScheduleEntry.h:191
Aws::MediaTailor::Model::ScheduleEntry::WithVodSourceName
ScheduleEntry & WithVodSourceName(const char *value)
Definition: ScheduleEntry.h:370
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::ScheduleEntry::WithApproximateStartTime
ScheduleEntry & WithApproximateStartTime(Aws::Utils::DateTime &&value)
Definition: ScheduleEntry.h:93
Aws::MediaTailor::Model::ScheduleEntry::GetChannelName
const Aws::String & GetChannelName() const
Definition: ScheduleEntry.h:140
Aws::MediaTailor::Model::ScheduleEntry::WithArn
ScheduleEntry & WithArn(const Aws::String &value)
Definition: ScheduleEntry.h:124
Aws::MediaTailor::Model::ScheduleEntry::AddScheduleAdBreaks
ScheduleEntry & AddScheduleAdBreaks(const ScheduleAdBreak &value)
Definition: ScheduleEntry.h:252
Aws::MediaTailor::Model::ScheduleEntry::SetChannelName
void SetChannelName(const char *value)
Definition: ScheduleEntry.h:160
DateTime.h
Aws::MediaTailor::Model::ScheduleEntry::WithSourceLocationName
ScheduleEntry & WithSourceLocationName(const char *value)
Definition: ScheduleEntry.h:329
Aws::MediaTailor::Model::ScheduleEntry::WithScheduleAdBreaks
ScheduleEntry & WithScheduleAdBreaks(const Aws::Vector< ScheduleAdBreak > &value)
Definition: ScheduleEntry.h:242
Aws::MediaTailor::Model::ScheduleEntry::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ScheduleEntry.h:104
Aws::MediaTailor::Model::ScheduleEntry::AddScheduleAdBreaks
ScheduleEntry & AddScheduleAdBreaks(ScheduleAdBreak &&value)
Definition: ScheduleEntry.h:257
Aws::MediaTailor::Model::ScheduleEntry::SetScheduleAdBreaks
void SetScheduleAdBreaks(const Aws::Vector< ScheduleAdBreak > &value)
Definition: ScheduleEntry.h:232
Aws::MediaTailor::Model::ScheduleEntry::WithChannelName
ScheduleEntry & WithChannelName(const char *value)
Definition: ScheduleEntry.h:175
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaTailor::Model::ScheduleEntry::GetApproximateDurationSeconds
long long GetApproximateDurationSeconds() const
Definition: ScheduleEntry.h:47
Aws::MediaTailor::Model::ScheduleEntry::SetApproximateDurationSeconds
void SetApproximateDurationSeconds(long long value)
Definition: ScheduleEntry.h:57
Aws::MediaTailor::Model::ScheduleEntry::SetProgramName
void SetProgramName(Aws::String &&value)
Definition: ScheduleEntry.h:196
AWSVector.h
Aws::MediaTailor::Model::ScheduleEntry::SetArn
void SetArn(Aws::String &&value)
Definition: ScheduleEntry.h:114
Aws::MediaTailor::Model::ScheduleEntry::SetArn
void SetArn(const Aws::String &value)
Definition: ScheduleEntry.h:109
Aws::MediaTailor::Model::ScheduleAdBreak
Definition: ScheduleAdBreak.h:33
Aws::MediaTailor::Model::ScheduleEntry::WithProgramName
ScheduleEntry & WithProgramName(const Aws::String &value)
Definition: ScheduleEntry.h:206
Aws::MediaTailor::Model::ScheduleEntry::SetSourceLocationName
void SetSourceLocationName(const char *value)
Definition: ScheduleEntry.h:314
Aws::MediaTailor::Model::ScheduleEntry::SetApproximateStartTime
void SetApproximateStartTime(const Aws::Utils::DateTime &value)
Definition: ScheduleEntry.h:78
Aws::MediaTailor::Model::ScheduleEntry::ScheduleEntryTypeHasBeenSet
bool ScheduleEntryTypeHasBeenSet() const
Definition: ScheduleEntry.h:268
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::MediaTailor::Model::ScheduleEntry::WithVodSourceName
ScheduleEntry & WithVodSourceName(Aws::String &&value)
Definition: ScheduleEntry.h:365
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaTailor::Model::ScheduleEntry::SetArn
void SetArn(const char *value)
Definition: ScheduleEntry.h:119
Aws::MediaTailor::Model::ScheduleEntry::WithChannelName
ScheduleEntry & WithChannelName(Aws::String &&value)
Definition: ScheduleEntry.h:170
Aws::MediaTailor::Model::ScheduleEntry::GetScheduleAdBreaks
const Aws::Vector< ScheduleAdBreak > & GetScheduleAdBreaks() const
Definition: ScheduleEntry.h:222
Aws::MediaTailor::Model::ScheduleEntry::SetScheduleEntryType
void SetScheduleEntryType(const ScheduleEntryType &value)
Definition: ScheduleEntry.h:273
Aws::MediaTailor::Model::ScheduleEntry::SetChannelName
void SetChannelName(Aws::String &&value)
Definition: ScheduleEntry.h:155
Aws::MediaTailor::Model::ScheduleEntryType
ScheduleEntryType
Definition: ScheduleEntryType.h:17
Aws::MediaTailor::Model::ScheduleEntry::ApproximateStartTimeHasBeenSet
bool ApproximateStartTimeHasBeenSet() const
Definition: ScheduleEntry.h:73
Aws::MediaTailor::Model::ScheduleEntry::SourceLocationNameHasBeenSet
bool SourceLocationNameHasBeenSet() const
Definition: ScheduleEntry.h:299
MediaTailor_EXPORTS.h
ScheduleAdBreak.h
Aws::MediaTailor::Model::ScheduleEntry::WithProgramName
ScheduleEntry & WithProgramName(Aws::String &&value)
Definition: ScheduleEntry.h:211
Aws::MediaTailor::Model::ScheduleEntry::WithSourceLocationName
ScheduleEntry & WithSourceLocationName(Aws::String &&value)
Definition: ScheduleEntry.h:324
Aws::MediaTailor::Model::ScheduleEntry::GetSourceLocationName
const Aws::String & GetSourceLocationName() const
Definition: ScheduleEntry.h:294
Aws::MediaTailor::Model::ScheduleEntry::SetScheduleEntryType
void SetScheduleEntryType(ScheduleEntryType &&value)
Definition: ScheduleEntry.h:278
Aws::MediaTailor::Model::ScheduleEntry::WithProgramName
ScheduleEntry & WithProgramName(const char *value)
Definition: ScheduleEntry.h:216
Aws::MediaTailor::Model::ScheduleEntry::ApproximateDurationSecondsHasBeenSet
bool ApproximateDurationSecondsHasBeenSet() const
Definition: ScheduleEntry.h:52
Aws::MediaTailor::Model::ScheduleEntry::GetScheduleEntryType
const ScheduleEntryType & GetScheduleEntryType() const
Definition: ScheduleEntry.h:263
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::ScheduleEntry::VodSourceNameHasBeenSet
bool VodSourceNameHasBeenSet() const
Definition: ScheduleEntry.h:340
Aws::MediaTailor::Model::ScheduleEntry::GetVodSourceName
const Aws::String & GetVodSourceName() const
Definition: ScheduleEntry.h:335
Aws::MediaTailor::Model::ScheduleEntry::ProgramNameHasBeenSet
bool ProgramNameHasBeenSet() const
Definition: ScheduleEntry.h:186
Aws::MediaTailor::Model::ScheduleEntry::WithScheduleEntryType
ScheduleEntry & WithScheduleEntryType(ScheduleEntryType &&value)
Definition: ScheduleEntry.h:288
Aws::MediaTailor::Model::ScheduleEntry::WithChannelName
ScheduleEntry & WithChannelName(const Aws::String &value)
Definition: ScheduleEntry.h:165
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::ScheduleEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaTailor::Model::ScheduleEntry::SetSourceLocationName
void SetSourceLocationName(const Aws::String &value)
Definition: ScheduleEntry.h:304
Aws::MediaTailor::Model::ScheduleEntry::WithArn
ScheduleEntry & WithArn(Aws::String &&value)
Definition: ScheduleEntry.h:129
Aws::MediaTailor::Model::ScheduleEntry::WithScheduleEntryType
ScheduleEntry & WithScheduleEntryType(const ScheduleEntryType &value)
Definition: ScheduleEntry.h:283
Aws::MediaTailor::Model::ScheduleEntry::operator=
ScheduleEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::ScheduleEntry::WithArn
ScheduleEntry & WithArn(const char *value)
Definition: ScheduleEntry.h:134
Aws::MediaTailor::Model::ScheduleEntry::SetChannelName
void SetChannelName(const Aws::String &value)
Definition: ScheduleEntry.h:150
Aws::MediaTailor::Model::ScheduleEntry::SetVodSourceName
void SetVodSourceName(const char *value)
Definition: ScheduleEntry.h:355
Aws::MediaTailor::Model::ScheduleEntry::WithVodSourceName
ScheduleEntry & WithVodSourceName(const Aws::String &value)
Definition: ScheduleEntry.h:360
Aws::MediaTailor::Model::ScheduleEntry::SetVodSourceName
void SetVodSourceName(Aws::String &&value)
Definition: ScheduleEntry.h:350
Aws::MediaTailor::Model::ScheduleEntry::ScheduleEntry
ScheduleEntry()
Aws::MediaTailor::Model::ScheduleEntry::SetApproximateStartTime
void SetApproximateStartTime(Aws::Utils::DateTime &&value)
Definition: ScheduleEntry.h:83
Aws::MediaTailor::Model::ScheduleEntry::ScheduleAdBreaksHasBeenSet
bool ScheduleAdBreaksHasBeenSet() const
Definition: ScheduleEntry.h:227
Aws::MediaTailor::Model::ScheduleEntry::ChannelNameHasBeenSet
bool ChannelNameHasBeenSet() const
Definition: ScheduleEntry.h:145
Aws::MediaTailor::Model::ScheduleEntry::WithSourceLocationName
ScheduleEntry & WithSourceLocationName(const Aws::String &value)
Definition: ScheduleEntry.h:319
Aws::MediaTailor::Model::ScheduleEntry::SetVodSourceName
void SetVodSourceName(const Aws::String &value)
Definition: ScheduleEntry.h:345
Aws::MediaTailor::Model::ScheduleEntry::SetSourceLocationName
void SetSourceLocationName(Aws::String &&value)
Definition: ScheduleEntry.h:309
Aws::MediaTailor::Model::ScheduleEntry::GetProgramName
const Aws::String & GetProgramName() const
Definition: ScheduleEntry.h:181
Aws::MediaTailor::Model::ScheduleEntry::GetApproximateStartTime
const Aws::Utils::DateTime & GetApproximateStartTime() const
Definition: ScheduleEntry.h:68
Aws::MediaTailor::Model::ScheduleEntry::GetArn
const Aws::String & GetArn() const
Definition: ScheduleEntry.h:99