AWS SDK for C++  1.9.105
AWS SDK for C++
Channel.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace MediaTailor
27 {
28 namespace Model
29 {
30 
37  {
38  public:
43 
44 
48  inline const Aws::String& GetArn() const{ return m_arn; }
49 
53  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
54 
58  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
59 
63  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
64 
68  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
69 
73  inline Channel& WithArn(const Aws::String& value) { SetArn(value); return *this;}
74 
78  inline Channel& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
79 
83  inline Channel& WithArn(const char* value) { SetArn(value); return *this;}
84 
85 
89  inline const Aws::String& GetChannelName() const{ return m_channelName; }
90 
94  inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
95 
99  inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
100 
104  inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
105 
109  inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
110 
114  inline Channel& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
115 
119  inline Channel& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
120 
124  inline Channel& WithChannelName(const char* value) { SetChannelName(value); return *this;}
125 
126 
130  inline const Aws::String& GetChannelState() const{ return m_channelState; }
131 
135  inline bool ChannelStateHasBeenSet() const { return m_channelStateHasBeenSet; }
136 
140  inline void SetChannelState(const Aws::String& value) { m_channelStateHasBeenSet = true; m_channelState = value; }
141 
145  inline void SetChannelState(Aws::String&& value) { m_channelStateHasBeenSet = true; m_channelState = std::move(value); }
146 
150  inline void SetChannelState(const char* value) { m_channelStateHasBeenSet = true; m_channelState.assign(value); }
151 
155  inline Channel& WithChannelState(const Aws::String& value) { SetChannelState(value); return *this;}
156 
160  inline Channel& WithChannelState(Aws::String&& value) { SetChannelState(std::move(value)); return *this;}
161 
165  inline Channel& WithChannelState(const char* value) { SetChannelState(value); return *this;}
166 
167 
171  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
172 
176  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
177 
181  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
182 
186  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
187 
191  inline Channel& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
192 
196  inline Channel& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
197 
198 
204  inline const SlateSource& GetFillerSlate() const{ return m_fillerSlate; }
205 
211  inline bool FillerSlateHasBeenSet() const { return m_fillerSlateHasBeenSet; }
212 
218  inline void SetFillerSlate(const SlateSource& value) { m_fillerSlateHasBeenSet = true; m_fillerSlate = value; }
219 
225  inline void SetFillerSlate(SlateSource&& value) { m_fillerSlateHasBeenSet = true; m_fillerSlate = std::move(value); }
226 
232  inline Channel& WithFillerSlate(const SlateSource& value) { SetFillerSlate(value); return *this;}
233 
239  inline Channel& WithFillerSlate(SlateSource&& value) { SetFillerSlate(std::move(value)); return *this;}
240 
241 
245  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
246 
250  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
251 
255  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
256 
260  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
261 
265  inline Channel& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
266 
270  inline Channel& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
271 
272 
276  inline const Aws::Vector<ResponseOutputItem>& GetOutputs() const{ return m_outputs; }
277 
281  inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
282 
286  inline void SetOutputs(const Aws::Vector<ResponseOutputItem>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
287 
291  inline void SetOutputs(Aws::Vector<ResponseOutputItem>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
292 
296  inline Channel& WithOutputs(const Aws::Vector<ResponseOutputItem>& value) { SetOutputs(value); return *this;}
297 
301  inline Channel& WithOutputs(Aws::Vector<ResponseOutputItem>&& value) { SetOutputs(std::move(value)); return *this;}
302 
306  inline Channel& AddOutputs(const ResponseOutputItem& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
307 
311  inline Channel& AddOutputs(ResponseOutputItem&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
312 
313 
320  inline const Aws::String& GetPlaybackMode() const{ return m_playbackMode; }
321 
328  inline bool PlaybackModeHasBeenSet() const { return m_playbackModeHasBeenSet; }
329 
336  inline void SetPlaybackMode(const Aws::String& value) { m_playbackModeHasBeenSet = true; m_playbackMode = value; }
337 
344  inline void SetPlaybackMode(Aws::String&& value) { m_playbackModeHasBeenSet = true; m_playbackMode = std::move(value); }
345 
352  inline void SetPlaybackMode(const char* value) { m_playbackModeHasBeenSet = true; m_playbackMode.assign(value); }
353 
360  inline Channel& WithPlaybackMode(const Aws::String& value) { SetPlaybackMode(value); return *this;}
361 
368  inline Channel& WithPlaybackMode(Aws::String&& value) { SetPlaybackMode(std::move(value)); return *this;}
369 
376  inline Channel& WithPlaybackMode(const char* value) { SetPlaybackMode(value); return *this;}
377 
378 
382  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
383 
387  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
388 
392  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
393 
397  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
398 
402  inline Channel& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
403 
407  inline Channel& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
408 
412  inline Channel& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
413 
417  inline Channel& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
418 
422  inline Channel& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
423 
427  inline Channel& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
428 
432  inline Channel& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
433 
437  inline Channel& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
438 
442  inline Channel& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
443 
444  private:
445 
446  Aws::String m_arn;
447  bool m_arnHasBeenSet;
448 
449  Aws::String m_channelName;
450  bool m_channelNameHasBeenSet;
451 
452  Aws::String m_channelState;
453  bool m_channelStateHasBeenSet;
454 
455  Aws::Utils::DateTime m_creationTime;
456  bool m_creationTimeHasBeenSet;
457 
458  SlateSource m_fillerSlate;
459  bool m_fillerSlateHasBeenSet;
460 
461  Aws::Utils::DateTime m_lastModifiedTime;
462  bool m_lastModifiedTimeHasBeenSet;
463 
465  bool m_outputsHasBeenSet;
466 
467  Aws::String m_playbackMode;
468  bool m_playbackModeHasBeenSet;
469 
471  bool m_tagsHasBeenSet;
472  };
473 
474 } // namespace Model
475 } // namespace MediaTailor
476 } // namespace Aws
Aws::MediaTailor::Model::Channel::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::DateTime
Definition: DateTime.h:55
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::Channel
Definition: Channel.h:37
Aws::MediaTailor::Model::Channel::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: Channel.h:250
Aws::MediaTailor::Model::Channel::WithArn
Channel & WithArn(const char *value)
Definition: Channel.h:83
ResponseOutputItem.h
Aws::MediaTailor::Model::Channel::SetChannelState
void SetChannelState(const char *value)
Definition: Channel.h:150
Aws::MediaTailor::Model::Channel::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: Channel.h:181
Aws::MediaTailor::Model::Channel::AddTags
Channel & AddTags(const Aws::String &key, Aws::String &&value)
Definition: Channel.h:422
Aws::MediaTailor::Model::Channel::AddOutputs
Channel & AddOutputs(ResponseOutputItem &&value)
Definition: Channel.h:311
Aws::MediaTailor::Model::Channel::AddOutputs
Channel & AddOutputs(const ResponseOutputItem &value)
Definition: Channel.h:306
DateTime.h
SlateSource.h
Aws::MediaTailor::Model::Channel::Channel
Channel(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::Channel::WithOutputs
Channel & WithOutputs(const Aws::Vector< ResponseOutputItem > &value)
Definition: Channel.h:296
Aws::MediaTailor::Model::Channel::operator=
Channel & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaTailor::Model::Channel::WithChannelState
Channel & WithChannelState(const Aws::String &value)
Definition: Channel.h:155
AWSVector.h
Aws::MediaTailor::Model::Channel::SetChannelState
void SetChannelState(const Aws::String &value)
Definition: Channel.h:140
Aws::MediaTailor::Model::Channel::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: Channel.h:245
Aws::MediaTailor::Model::Channel::AddTags
Channel & AddTags(Aws::String &&key, const char *value)
Definition: Channel.h:437
Aws::MediaTailor::Model::Channel::SetChannelName
void SetChannelName(Aws::String &&value)
Definition: Channel.h:104
Aws::MediaTailor::Model::Channel::AddTags
Channel & AddTags(const Aws::String &key, const Aws::String &value)
Definition: Channel.h:412
Aws::MediaTailor::Model::Channel::ChannelNameHasBeenSet
bool ChannelNameHasBeenSet() const
Definition: Channel.h:94
Aws::MediaTailor::Model::Channel::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: Channel.h:382
Aws::MediaTailor::Model::Channel::AddTags
Channel & AddTags(const char *key, const char *value)
Definition: Channel.h:442
Aws::MediaTailor::Model::Channel::SetOutputs
void SetOutputs(const Aws::Vector< ResponseOutputItem > &value)
Definition: Channel.h:286
Aws::MediaTailor::Model::Channel::WithLastModifiedTime
Channel & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: Channel.h:265
Aws::MediaTailor::Model::Channel::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: Channel.h:255
Aws::MediaTailor::Model::Channel::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: Channel.h:186
Aws::MediaTailor::Model::Channel::GetFillerSlate
const SlateSource & GetFillerSlate() const
Definition: Channel.h:204
Aws::MediaTailor::Model::Channel::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Channel.h:397
Aws::MediaTailor::Model::Channel::GetChannelName
const Aws::String & GetChannelName() const
Definition: Channel.h:89
Aws::MediaTailor::Model::Channel::WithTags
Channel & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Channel.h:407
Aws::MediaTailor::Model::Channel::SetPlaybackMode
void SetPlaybackMode(const char *value)
Definition: Channel.h:352
Aws::MediaTailor::Model::Channel::WithLastModifiedTime
Channel & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: Channel.h:270
Aws::MediaTailor::Model::Channel::WithChannelName
Channel & WithChannelName(const char *value)
Definition: Channel.h:124
Aws::MediaTailor::Model::Channel::WithCreationTime
Channel & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: Channel.h:191
Aws::MediaTailor::Model::Channel::OutputsHasBeenSet
bool OutputsHasBeenSet() const
Definition: Channel.h:281
Aws::MediaTailor::Model::Channel::SetChannelName
void SetChannelName(const char *value)
Definition: Channel.h:109
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::MediaTailor::Model::Channel::SetPlaybackMode
void SetPlaybackMode(const Aws::String &value)
Definition: Channel.h:336
Aws::MediaTailor::Model::Channel::SetChannelName
void SetChannelName(const Aws::String &value)
Definition: Channel.h:99
Aws::MediaTailor::Model::Channel::SetArn
void SetArn(const char *value)
Definition: Channel.h:68
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaTailor::Model::Channel::WithArn
Channel & WithArn(const Aws::String &value)
Definition: Channel.h:73
Aws::MediaTailor::Model::Channel::AddTags
Channel & AddTags(Aws::String &&key, const Aws::String &value)
Definition: Channel.h:417
Aws::MediaTailor::Model::Channel::WithFillerSlate
Channel & WithFillerSlate(SlateSource &&value)
Definition: Channel.h:239
Aws::MediaTailor::Model::Channel::WithChannelName
Channel & WithChannelName(Aws::String &&value)
Definition: Channel.h:119
Aws::MediaTailor::Model::Channel::WithCreationTime
Channel & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: Channel.h:196
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::Channel::WithChannelState
Channel & WithChannelState(Aws::String &&value)
Definition: Channel.h:160
Aws::MediaTailor::Model::Channel::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Channel.h:53
Aws::MediaTailor::Model::Channel::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: Channel.h:176
Aws::MediaTailor::Model::Channel::GetOutputs
const Aws::Vector< ResponseOutputItem > & GetOutputs() const
Definition: Channel.h:276
Aws::MediaTailor::Model::Channel::AddTags
Channel & AddTags(const char *key, Aws::String &&value)
Definition: Channel.h:432
Aws::MediaTailor::Model::Channel::AddTags
Channel & AddTags(Aws::String &&key, Aws::String &&value)
Definition: Channel.h:427
Aws::MediaTailor::Model::Channel::WithFillerSlate
Channel & WithFillerSlate(const SlateSource &value)
Definition: Channel.h:232
Aws::MediaTailor::Model::Channel::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: Channel.h:260
Aws::MediaTailor::Model::Channel::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Channel.h:392
Aws::MediaTailor::Model::Channel::Channel
Channel()
Aws::MediaTailor::Model::Channel::SetArn
void SetArn(Aws::String &&value)
Definition: Channel.h:63
Aws::MediaTailor::Model::Channel::WithPlaybackMode
Channel & WithPlaybackMode(const char *value)
Definition: Channel.h:376
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::SlateSource
Definition: SlateSource.h:32
Aws::MediaTailor::Model::Channel::SetArn
void SetArn(const Aws::String &value)
Definition: Channel.h:58
Aws::MediaTailor::Model::Channel::GetChannelState
const Aws::String & GetChannelState() const
Definition: Channel.h:130
Aws::MediaTailor::Model::Channel::GetPlaybackMode
const Aws::String & GetPlaybackMode() const
Definition: Channel.h:320
Aws::MediaTailor::Model::Channel::WithPlaybackMode
Channel & WithPlaybackMode(const Aws::String &value)
Definition: Channel.h:360
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::ResponseOutputItem
Definition: ResponseOutputItem.h:35
Aws::MediaTailor::Model::Channel::WithOutputs
Channel & WithOutputs(Aws::Vector< ResponseOutputItem > &&value)
Definition: Channel.h:301
Aws::MediaTailor::Model::Channel::WithArn
Channel & WithArn(Aws::String &&value)
Definition: Channel.h:78
Aws::MediaTailor::Model::Channel::ChannelStateHasBeenSet
bool ChannelStateHasBeenSet() const
Definition: Channel.h:135
Aws::MediaTailor::Model::Channel::SetOutputs
void SetOutputs(Aws::Vector< ResponseOutputItem > &&value)
Definition: Channel.h:291
Aws::MediaTailor::Model::Channel::SetFillerSlate
void SetFillerSlate(SlateSource &&value)
Definition: Channel.h:225
Aws::MediaTailor::Model::Channel::WithChannelState
Channel & WithChannelState(const char *value)
Definition: Channel.h:165
Aws::MediaTailor::Model::Channel::SetFillerSlate
void SetFillerSlate(const SlateSource &value)
Definition: Channel.h:218
AWSMap.h
Aws::MediaTailor::Model::Channel::FillerSlateHasBeenSet
bool FillerSlateHasBeenSet() const
Definition: Channel.h:211
Aws::MediaTailor::Model::Channel::SetPlaybackMode
void SetPlaybackMode(Aws::String &&value)
Definition: Channel.h:344
Aws::MediaTailor::Model::Channel::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: Channel.h:171
Aws::MediaTailor::Model::Channel::GetArn
const Aws::String & GetArn() const
Definition: Channel.h:48
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::MediaTailor::Model::Channel::PlaybackModeHasBeenSet
bool PlaybackModeHasBeenSet() const
Definition: Channel.h:328
Aws::MediaTailor::Model::Channel::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: Channel.h:387
Aws::MediaTailor::Model::Channel::WithChannelName
Channel & WithChannelName(const Aws::String &value)
Definition: Channel.h:114
Aws::MediaTailor::Model::Channel::WithPlaybackMode
Channel & WithPlaybackMode(Aws::String &&value)
Definition: Channel.h:368
Aws::MediaTailor::Model::Channel::SetChannelState
void SetChannelState(Aws::String &&value)
Definition: Channel.h:145
Aws::MediaTailor::Model::Channel::WithTags
Channel & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Channel.h:402