AWS SDK for C++  1.9.104
AWS SDK for C++
CreateChannelResult.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 CreateChannelResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
65 
69  inline CreateChannelResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
70 
74  inline CreateChannelResult& 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 CreateChannelResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
101 
105  inline CreateChannelResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
106 
110  inline CreateChannelResult& 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 CreateChannelResult& WithChannelState(const ChannelState& value) { SetChannelState(value); return *this;}
132 
136  inline CreateChannelResult& 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 CreateChannelResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
158 
162  inline CreateChannelResult& 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 CreateChannelResult& WithFillerSlate(const SlateSource& value) { SetFillerSlate(value); return *this;}
188 
193  inline CreateChannelResult& 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 CreateChannelResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
215 
219  inline CreateChannelResult& 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 CreateChannelResult& WithOutputs(const Aws::Vector<ResponseOutputItem>& value) { SetOutputs(value); return *this;}
241 
245  inline CreateChannelResult& WithOutputs(Aws::Vector<ResponseOutputItem>&& value) { SetOutputs(std::move(value)); return *this;}
246 
250  inline CreateChannelResult& AddOutputs(const ResponseOutputItem& value) { m_outputs.push_back(value); return *this; }
251 
255  inline CreateChannelResult& 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 CreateChannelResult& WithPlaybackMode(const Aws::String& value) { SetPlaybackMode(value); return *this;}
282 
286  inline CreateChannelResult& WithPlaybackMode(Aws::String&& value) { SetPlaybackMode(std::move(value)); return *this;}
287 
291  inline CreateChannelResult& 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 CreateChannelResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
313 
317  inline CreateChannelResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
318 
322  inline CreateChannelResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
323 
327  inline CreateChannelResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
328 
332  inline CreateChannelResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
333 
337  inline CreateChannelResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
338 
342  inline CreateChannelResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
343 
347  inline CreateChannelResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
348 
352  inline CreateChannelResult& 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::Utils::DateTime
Definition: DateTime.h:55
Aws::MediaTailor::Model::CreateChannelResult::WithCreationTime
CreateChannelResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: CreateChannelResult.h:162
Aws::MediaTailor::Model::CreateChannelResult::SetChannelState
void SetChannelState(const ChannelState &value)
Definition: CreateChannelResult.h:121
Aws::MediaTailor::Model::CreateChannelResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateChannelResult.h:49
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MediaTailor::Model::CreateChannelResult::AddTags
CreateChannelResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateChannelResult.h:322
Aws::MediaTailor::Model::CreateChannelResult::AddTags
CreateChannelResult & AddTags(const char *key, const char *value)
Definition: CreateChannelResult.h:352
Aws::MediaTailor::Model::CreateChannelResult::operator=
CreateChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaTailor::Model::CreateChannelResult::GetPlaybackMode
const Aws::String & GetPlaybackMode() const
Definition: CreateChannelResult.h:261
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
ResponseOutputItem.h
Aws::MediaTailor::Model::CreateChannelResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: CreateChannelResult.h:142
Aws::MediaTailor::Model::CreateChannelResult::CreateChannelResult
CreateChannelResult()
Aws::MediaTailor::Model::CreateChannelResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateChannelResult.h:307
Aws::MediaTailor::Model::CreateChannelResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateChannelResult.h:302
Aws::MediaTailor::Model::CreateChannelResult::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: CreateChannelResult.h:199
DateTime.h
Aws::MediaTailor::Model::CreateChannelResult::WithChannelName
CreateChannelResult & WithChannelName(const char *value)
Definition: CreateChannelResult.h:110
Aws::MediaTailor::Model::CreateChannelResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: CreateChannelResult.h:152
Aws::MediaTailor::Model::CreateChannelResult::WithTags
CreateChannelResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateChannelResult.h:312
SlateSource.h
Aws::MediaTailor::Model::CreateChannelResult::WithArn
CreateChannelResult & WithArn(Aws::String &&value)
Definition: CreateChannelResult.h:69
Aws::MediaTailor::Model::CreateChannelResult::SetOutputs
void SetOutputs(Aws::Vector< ResponseOutputItem > &&value)
Definition: CreateChannelResult.h:235
Aws::MediaTailor::Model::CreateChannelResult::SetFillerSlate
void SetFillerSlate(const SlateSource &value)
Definition: CreateChannelResult.h:175
Aws::MediaTailor::Model::CreateChannelResult::WithChannelName
CreateChannelResult & WithChannelName(Aws::String &&value)
Definition: CreateChannelResult.h:105
Aws::MediaTailor::Model::CreateChannelResult::AddTags
CreateChannelResult & AddTags(const char *key, Aws::String &&value)
Definition: CreateChannelResult.h:342
Aws::MediaTailor::Model::CreateChannelResult::WithCreationTime
CreateChannelResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: CreateChannelResult.h:157
Aws::MediaTailor::Model::CreateChannelResult::SetFillerSlate
void SetFillerSlate(SlateSource &&value)
Definition: CreateChannelResult.h:181
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaTailor::Model::CreateChannelResult::AddTags
CreateChannelResult & AddTags(Aws::String &&key, const char *value)
Definition: CreateChannelResult.h:347
Aws::MediaTailor::Model::CreateChannelResult::WithLastModifiedTime
CreateChannelResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: CreateChannelResult.h:214
AWSVector.h
Aws::MediaTailor::Model::CreateChannelResult::WithLastModifiedTime
CreateChannelResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: CreateChannelResult.h:219
Aws::MediaTailor::Model::CreateChannelResult::SetChannelName
void SetChannelName(Aws::String &&value)
Definition: CreateChannelResult.h:90
Aws::MediaTailor::Model::CreateChannelResult::WithChannelState
CreateChannelResult & WithChannelState(ChannelState &&value)
Definition: CreateChannelResult.h:136
Aws::MediaTailor::Model::CreateChannelResult::WithChannelName
CreateChannelResult & WithChannelName(const Aws::String &value)
Definition: CreateChannelResult.h:100
Aws::MediaTailor::Model::CreateChannelResult::WithPlaybackMode
CreateChannelResult & WithPlaybackMode(Aws::String &&value)
Definition: CreateChannelResult.h:286
Aws::MediaTailor::Model::CreateChannelResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateChannelResult.h:297
Aws::MediaTailor::Model::CreateChannelResult::SetChannelState
void SetChannelState(ChannelState &&value)
Definition: CreateChannelResult.h:126
Aws::MediaTailor::Model::CreateChannelResult
Definition: CreateChannelResult.h:34
Aws::MediaTailor::Model::ChannelState
ChannelState
Definition: ChannelState.h:17
Aws::MediaTailor::Model::CreateChannelResult::WithFillerSlate
CreateChannelResult & WithFillerSlate(const SlateSource &value)
Definition: CreateChannelResult.h:187
Aws::MediaTailor::Model::CreateChannelResult::GetChannelName
const Aws::String & GetChannelName() const
Definition: CreateChannelResult.h:80
Aws::MediaTailor::Model::CreateChannelResult::SetChannelName
void SetChannelName(const Aws::String &value)
Definition: CreateChannelResult.h:85
Aws::MediaTailor::Model::CreateChannelResult::AddTags
CreateChannelResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateChannelResult.h:337
AWSString.h
Aws::MediaTailor::Model::CreateChannelResult::GetArn
const Aws::String & GetArn() const
Definition: CreateChannelResult.h:44
Aws::MediaTailor::Model::CreateChannelResult::AddOutputs
CreateChannelResult & AddOutputs(ResponseOutputItem &&value)
Definition: CreateChannelResult.h:255
Aws::MediaTailor::Model::CreateChannelResult::SetPlaybackMode
void SetPlaybackMode(const char *value)
Definition: CreateChannelResult.h:276
Aws::MediaTailor::Model::CreateChannelResult::SetOutputs
void SetOutputs(const Aws::Vector< ResponseOutputItem > &value)
Definition: CreateChannelResult.h:230
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::CreateChannelResult::SetChannelName
void SetChannelName(const char *value)
Definition: CreateChannelResult.h:95
Aws::MediaTailor::Model::CreateChannelResult::AddTags
CreateChannelResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateChannelResult.h:332
Aws::MediaTailor::Model::CreateChannelResult::GetFillerSlate
const SlateSource & GetFillerSlate() const
Definition: CreateChannelResult.h:169
Aws::MediaTailor::Model::CreateChannelResult::WithOutputs
CreateChannelResult & WithOutputs(Aws::Vector< ResponseOutputItem > &&value)
Definition: CreateChannelResult.h:245
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::SlateSource
Definition: SlateSource.h:32
Aws::MediaTailor::Model::CreateChannelResult::WithPlaybackMode
CreateChannelResult & WithPlaybackMode(const Aws::String &value)
Definition: CreateChannelResult.h:281
Aws::MediaTailor::Model::CreateChannelResult::AddOutputs
CreateChannelResult & AddOutputs(const ResponseOutputItem &value)
Definition: CreateChannelResult.h:250
Aws::MediaTailor::Model::CreateChannelResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateChannelResult.h:54
Aws::MediaTailor::Model::CreateChannelResult::GetChannelState
const ChannelState & GetChannelState() const
Definition: CreateChannelResult.h:116
Aws::MediaTailor::Model::CreateChannelResult::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: CreateChannelResult.h:209
Aws::MediaTailor::Model::CreateChannelResult::SetPlaybackMode
void SetPlaybackMode(const Aws::String &value)
Definition: CreateChannelResult.h:266
Aws::MediaTailor::Model::CreateChannelResult::WithPlaybackMode
CreateChannelResult & WithPlaybackMode(const char *value)
Definition: CreateChannelResult.h:291
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::CreateChannelResult::WithOutputs
CreateChannelResult & WithOutputs(const Aws::Vector< ResponseOutputItem > &value)
Definition: CreateChannelResult.h:240
Aws::MediaTailor::Model::CreateChannelResult::WithChannelState
CreateChannelResult & WithChannelState(const ChannelState &value)
Definition: CreateChannelResult.h:131
Aws::MediaTailor::Model::CreateChannelResult::AddTags
CreateChannelResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateChannelResult.h:327
ChannelState.h
Aws::MediaTailor::Model::CreateChannelResult::WithFillerSlate
CreateChannelResult & WithFillerSlate(SlateSource &&value)
Definition: CreateChannelResult.h:193
Aws::MediaTailor::Model::CreateChannelResult::WithTags
CreateChannelResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateChannelResult.h:317
Aws::MediaTailor::Model::CreateChannelResult::WithArn
CreateChannelResult & WithArn(const Aws::String &value)
Definition: CreateChannelResult.h:64
AWSMap.h
Aws::MediaTailor::Model::CreateChannelResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: CreateChannelResult.h:147
Aws::MediaTailor::Model::CreateChannelResult::WithArn
CreateChannelResult & WithArn(const char *value)
Definition: CreateChannelResult.h:74
Aws::MediaTailor::Model::CreateChannelResult::GetOutputs
const Aws::Vector< ResponseOutputItem > & GetOutputs() const
Definition: CreateChannelResult.h:225
Aws::MediaTailor::Model::CreateChannelResult::SetArn
void SetArn(const char *value)
Definition: CreateChannelResult.h:59
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::MediaTailor::Model::CreateChannelResult::CreateChannelResult
CreateChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaTailor::Model::CreateChannelResult::SetPlaybackMode
void SetPlaybackMode(Aws::String &&value)
Definition: CreateChannelResult.h:271
Aws::MediaTailor::Model::CreateChannelResult::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: CreateChannelResult.h:204