AWS SDK for C++  1.9.105
AWS SDK for C++
DescribeChannelResult.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 template<typename RESULT_TYPE>
20 class AmazonWebServiceResult;
21 
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace MediaTailor
30 {
31 namespace Model
32 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetArn() const{ return m_arn; }
45 
49  inline void SetArn(const Aws::String& value) { m_arn = value; }
50 
54  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
55 
59  inline void SetArn(const char* value) { m_arn.assign(value); }
60 
64  inline DescribeChannelResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
65 
69  inline DescribeChannelResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
70 
74  inline DescribeChannelResult& WithArn(const char* value) { SetArn(value); return *this;}
75 
76 
80  inline const Aws::String& GetChannelName() const{ return m_channelName; }
81 
85  inline void SetChannelName(const Aws::String& value) { m_channelName = value; }
86 
90  inline void SetChannelName(Aws::String&& value) { m_channelName = std::move(value); }
91 
95  inline void SetChannelName(const char* value) { m_channelName.assign(value); }
96 
100  inline DescribeChannelResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
101 
105  inline DescribeChannelResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
106 
110  inline DescribeChannelResult& WithChannelName(const char* value) { SetChannelName(value); return *this;}
111 
112 
116  inline const ChannelState& GetChannelState() const{ return m_channelState; }
117 
121  inline void SetChannelState(const ChannelState& value) { m_channelState = value; }
122 
126  inline void SetChannelState(ChannelState&& value) { m_channelState = std::move(value); }
127 
131  inline DescribeChannelResult& WithChannelState(const ChannelState& value) { SetChannelState(value); return *this;}
132 
136  inline DescribeChannelResult& WithChannelState(ChannelState&& value) { SetChannelState(std::move(value)); return *this;}
137 
138 
142  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
143 
147  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
148 
152  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
153 
157  inline DescribeChannelResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
158 
162  inline DescribeChannelResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
163 
164 
169  inline const SlateSource& GetFillerSlate() const{ return m_fillerSlate; }
170 
175  inline void SetFillerSlate(const SlateSource& value) { m_fillerSlate = value; }
176 
181  inline void SetFillerSlate(SlateSource&& value) { m_fillerSlate = std::move(value); }
182 
187  inline DescribeChannelResult& WithFillerSlate(const SlateSource& value) { SetFillerSlate(value); return *this;}
188 
193  inline DescribeChannelResult& WithFillerSlate(SlateSource&& value) { SetFillerSlate(std::move(value)); return *this;}
194 
195 
199  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
200 
204  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
205 
209  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
210 
214  inline DescribeChannelResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
215 
219  inline DescribeChannelResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
220 
221 
225  inline const Aws::Vector<ResponseOutputItem>& GetOutputs() const{ return m_outputs; }
226 
230  inline void SetOutputs(const Aws::Vector<ResponseOutputItem>& value) { m_outputs = value; }
231 
235  inline void SetOutputs(Aws::Vector<ResponseOutputItem>&& value) { m_outputs = std::move(value); }
236 
240  inline DescribeChannelResult& WithOutputs(const Aws::Vector<ResponseOutputItem>& value) { SetOutputs(value); return *this;}
241 
245  inline DescribeChannelResult& WithOutputs(Aws::Vector<ResponseOutputItem>&& value) { SetOutputs(std::move(value)); return *this;}
246 
250  inline DescribeChannelResult& AddOutputs(const ResponseOutputItem& value) { m_outputs.push_back(value); return *this; }
251 
255  inline DescribeChannelResult& AddOutputs(ResponseOutputItem&& value) { m_outputs.push_back(std::move(value)); return *this; }
256 
257 
261  inline const Aws::String& GetPlaybackMode() const{ return m_playbackMode; }
262 
266  inline void SetPlaybackMode(const Aws::String& value) { m_playbackMode = value; }
267 
271  inline void SetPlaybackMode(Aws::String&& value) { m_playbackMode = std::move(value); }
272 
276  inline void SetPlaybackMode(const char* value) { m_playbackMode.assign(value); }
277 
281  inline DescribeChannelResult& WithPlaybackMode(const Aws::String& value) { SetPlaybackMode(value); return *this;}
282 
286  inline DescribeChannelResult& WithPlaybackMode(Aws::String&& value) { SetPlaybackMode(std::move(value)); return *this;}
287 
291  inline DescribeChannelResult& WithPlaybackMode(const char* value) { SetPlaybackMode(value); return *this;}
292 
293 
297  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
298 
302  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
303 
307  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
308 
312  inline DescribeChannelResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
313 
317  inline DescribeChannelResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
318 
322  inline DescribeChannelResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
323 
327  inline DescribeChannelResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
328 
332  inline DescribeChannelResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
333 
337  inline DescribeChannelResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
338 
342  inline DescribeChannelResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
343 
347  inline DescribeChannelResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
348 
352  inline DescribeChannelResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
353 
354  private:
355 
356  Aws::String m_arn;
357 
358  Aws::String m_channelName;
359 
360  ChannelState m_channelState;
361 
362  Aws::Utils::DateTime m_creationTime;
363 
364  SlateSource m_fillerSlate;
365 
366  Aws::Utils::DateTime m_lastModifiedTime;
367 
369 
370  Aws::String m_playbackMode;
371 
373  };
374 
375 } // namespace Model
376 } // namespace MediaTailor
377 } // namespace Aws
Aws::MediaTailor::Model::DescribeChannelResult::WithLastModifiedTime
DescribeChannelResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeChannelResult.h:214
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::MediaTailor::Model::DescribeChannelResult::AddTags
DescribeChannelResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: DescribeChannelResult.h:337
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MediaTailor::Model::DescribeChannelResult::SetChannelState
void SetChannelState(const ChannelState &value)
Definition: DescribeChannelResult.h:121
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::DescribeChannelResult::WithPlaybackMode
DescribeChannelResult & WithPlaybackMode(const Aws::String &value)
Definition: DescribeChannelResult.h:281
ResponseOutputItem.h
Aws::MediaTailor::Model::DescribeChannelResult::SetOutputs
void SetOutputs(Aws::Vector< ResponseOutputItem > &&value)
Definition: DescribeChannelResult.h:235
Aws::MediaTailor::Model::DescribeChannelResult::WithOutputs
DescribeChannelResult & WithOutputs(Aws::Vector< ResponseOutputItem > &&value)
Definition: DescribeChannelResult.h:245
Aws::MediaTailor::Model::DescribeChannelResult::WithTags
DescribeChannelResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeChannelResult.h:317
Aws::MediaTailor::Model::DescribeChannelResult::AddTags
DescribeChannelResult & AddTags(const char *key, Aws::String &&value)
Definition: DescribeChannelResult.h:342
Aws::MediaTailor::Model::DescribeChannelResult::WithChannelName
DescribeChannelResult & WithChannelName(const char *value)
Definition: DescribeChannelResult.h:110
Aws::MediaTailor::Model::DescribeChannelResult
Definition: DescribeChannelResult.h:34
Aws::MediaTailor::Model::DescribeChannelResult::GetPlaybackMode
const Aws::String & GetPlaybackMode() const
Definition: DescribeChannelResult.h:261
Aws::MediaTailor::Model::DescribeChannelResult::WithChannelName
DescribeChannelResult & WithChannelName(const Aws::String &value)
Definition: DescribeChannelResult.h:100
DateTime.h
SlateSource.h
Aws::MediaTailor::Model::DescribeChannelResult::WithLastModifiedTime
DescribeChannelResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeChannelResult.h:219
Aws::MediaTailor::Model::DescribeChannelResult::WithChannelName
DescribeChannelResult & WithChannelName(Aws::String &&value)
Definition: DescribeChannelResult.h:105
Aws::MediaTailor::Model::DescribeChannelResult::WithCreationTime
DescribeChannelResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeChannelResult.h:157
Aws::MediaTailor::Model::DescribeChannelResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: DescribeChannelResult.h:297
Aws::MediaTailor::Model::DescribeChannelResult::AddOutputs
DescribeChannelResult & AddOutputs(ResponseOutputItem &&value)
Definition: DescribeChannelResult.h:255
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaTailor::Model::DescribeChannelResult::SetChannelName
void SetChannelName(const Aws::String &value)
Definition: DescribeChannelResult.h:85
Aws::MediaTailor::Model::DescribeChannelResult::WithPlaybackMode
DescribeChannelResult & WithPlaybackMode(const char *value)
Definition: DescribeChannelResult.h:291
Aws::MediaTailor::Model::DescribeChannelResult::WithCreationTime
DescribeChannelResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeChannelResult.h:162
Aws::MediaTailor::Model::DescribeChannelResult::SetChannelState
void SetChannelState(ChannelState &&value)
Definition: DescribeChannelResult.h:126
AWSVector.h
Aws::MediaTailor::Model::DescribeChannelResult::WithArn
DescribeChannelResult & WithArn(const Aws::String &value)
Definition: DescribeChannelResult.h:64
Aws::MediaTailor::Model::DescribeChannelResult::WithArn
DescribeChannelResult & WithArn(const char *value)
Definition: DescribeChannelResult.h:74
Aws::MediaTailor::Model::DescribeChannelResult::AddTags
DescribeChannelResult & AddTags(const char *key, const char *value)
Definition: DescribeChannelResult.h:352
Aws::MediaTailor::Model::DescribeChannelResult::AddTags
DescribeChannelResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: DescribeChannelResult.h:322
Aws::MediaTailor::Model::DescribeChannelResult::WithPlaybackMode
DescribeChannelResult & WithPlaybackMode(Aws::String &&value)
Definition: DescribeChannelResult.h:286
Aws::MediaTailor::Model::DescribeChannelResult::operator=
DescribeChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaTailor::Model::DescribeChannelResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeChannelResult.h:152
Aws::MediaTailor::Model::DescribeChannelResult::WithChannelState
DescribeChannelResult & WithChannelState(ChannelState &&value)
Definition: DescribeChannelResult.h:136
Aws::MediaTailor::Model::DescribeChannelResult::WithOutputs
DescribeChannelResult & WithOutputs(const Aws::Vector< ResponseOutputItem > &value)
Definition: DescribeChannelResult.h:240
Aws::MediaTailor::Model::DescribeChannelResult::SetPlaybackMode
void SetPlaybackMode(const char *value)
Definition: DescribeChannelResult.h:276
Aws::MediaTailor::Model::DescribeChannelResult::GetArn
const Aws::String & GetArn() const
Definition: DescribeChannelResult.h:44
Aws::MediaTailor::Model::ChannelState
ChannelState
Definition: ChannelState.h:17
Aws::MediaTailor::Model::DescribeChannelResult::DescribeChannelResult
DescribeChannelResult()
Aws::MediaTailor::Model::DescribeChannelResult::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: DescribeChannelResult.h:199
Aws::MediaTailor::Model::DescribeChannelResult::SetFillerSlate
void SetFillerSlate(const SlateSource &value)
Definition: DescribeChannelResult.h:175
Aws::MediaTailor::Model::DescribeChannelResult::WithTags
DescribeChannelResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeChannelResult.h:312
Aws::MediaTailor::Model::DescribeChannelResult::AddOutputs
DescribeChannelResult & AddOutputs(const ResponseOutputItem &value)
Definition: DescribeChannelResult.h:250
AWSString.h
Aws::MediaTailor::Model::DescribeChannelResult::GetChannelState
const ChannelState & GetChannelState() const
Definition: DescribeChannelResult.h:116
Aws::MediaTailor::Model::DescribeChannelResult::WithFillerSlate
DescribeChannelResult & WithFillerSlate(SlateSource &&value)
Definition: DescribeChannelResult.h:193
Aws::MediaTailor::Model::DescribeChannelResult::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeChannelResult.h:209
Aws::MediaTailor::Model::DescribeChannelResult::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeChannelResult.h:204
Aws::MediaTailor::Model::DescribeChannelResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeChannelResult.h:307
Aws::MediaTailor::Model::DescribeChannelResult::WithArn
DescribeChannelResult & WithArn(Aws::String &&value)
Definition: DescribeChannelResult.h:69
Aws::MediaTailor::Model::DescribeChannelResult::SetChannelName
void SetChannelName(const char *value)
Definition: DescribeChannelResult.h:95
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::DescribeChannelResult::SetOutputs
void SetOutputs(const Aws::Vector< ResponseOutputItem > &value)
Definition: DescribeChannelResult.h:230
Aws::MediaTailor::Model::DescribeChannelResult::WithFillerSlate
DescribeChannelResult & WithFillerSlate(const SlateSource &value)
Definition: DescribeChannelResult.h:187
Aws::MediaTailor::Model::DescribeChannelResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeChannelResult.h:142
Aws::MediaTailor::Model::DescribeChannelResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeChannelResult.h:302
Aws::MediaTailor::Model::DescribeChannelResult::SetPlaybackMode
void SetPlaybackMode(const Aws::String &value)
Definition: DescribeChannelResult.h:266
Aws::MediaTailor::Model::DescribeChannelResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeChannelResult.h:147
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::SlateSource
Definition: SlateSource.h:32
Aws::MediaTailor::Model::DescribeChannelResult::AddTags
DescribeChannelResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: DescribeChannelResult.h:327
Aws::MediaTailor::Model::DescribeChannelResult::DescribeChannelResult
DescribeChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaTailor::Model::DescribeChannelResult::AddTags
DescribeChannelResult & AddTags(Aws::String &&key, const char *value)
Definition: DescribeChannelResult.h:347
Aws::MediaTailor::Model::DescribeChannelResult::GetFillerSlate
const SlateSource & GetFillerSlate() const
Definition: DescribeChannelResult.h:169
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::DescribeChannelResult::WithChannelState
DescribeChannelResult & WithChannelState(const ChannelState &value)
Definition: DescribeChannelResult.h:131
Aws::MediaTailor::Model::DescribeChannelResult::GetChannelName
const Aws::String & GetChannelName() const
Definition: DescribeChannelResult.h:80
Aws::MediaTailor::Model::DescribeChannelResult::GetOutputs
const Aws::Vector< ResponseOutputItem > & GetOutputs() const
Definition: DescribeChannelResult.h:225
Aws::MediaTailor::Model::DescribeChannelResult::SetArn
void SetArn(const char *value)
Definition: DescribeChannelResult.h:59
ChannelState.h
Aws::MediaTailor::Model::DescribeChannelResult::SetChannelName
void SetChannelName(Aws::String &&value)
Definition: DescribeChannelResult.h:90
AWSMap.h
Aws::MediaTailor::Model::DescribeChannelResult::AddTags
DescribeChannelResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: DescribeChannelResult.h:332
Aws::MediaTailor::Model::DescribeChannelResult::SetPlaybackMode
void SetPlaybackMode(Aws::String &&value)
Definition: DescribeChannelResult.h:271
Aws::MediaTailor::Model::DescribeChannelResult::SetArn
void SetArn(Aws::String &&value)
Definition: DescribeChannelResult.h:54
Aws::MediaTailor::Model::DescribeChannelResult::SetArn
void SetArn(const Aws::String &value)
Definition: DescribeChannelResult.h:49
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::MediaTailor::Model::DescribeChannelResult::SetFillerSlate
void SetFillerSlate(SlateSource &&value)
Definition: DescribeChannelResult.h:181