AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Channel.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/mediatailor/model/SlateSource.h>
12#include <aws/mediatailor/model/LogConfigurationForChannel.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/mediatailor/model/ResponseOutputItem.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace MediaTailor
28{
29namespace Model
30{
31
41 class Channel
42 {
43 public:
44 AWS_MEDIATAILOR_API Channel();
45 AWS_MEDIATAILOR_API Channel(Aws::Utils::Json::JsonView jsonValue);
46 AWS_MEDIATAILOR_API Channel& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetArn() const{ return m_arn; }
55 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
56 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
57 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
58 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
59 inline Channel& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 inline Channel& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
61 inline Channel& WithArn(const char* value) { SetArn(value); return *this;}
63
65
68 inline const Aws::Vector<Aws::String>& GetAudiences() const{ return m_audiences; }
69 inline bool AudiencesHasBeenSet() const { return m_audiencesHasBeenSet; }
70 inline void SetAudiences(const Aws::Vector<Aws::String>& value) { m_audiencesHasBeenSet = true; m_audiences = value; }
71 inline void SetAudiences(Aws::Vector<Aws::String>&& value) { m_audiencesHasBeenSet = true; m_audiences = std::move(value); }
72 inline Channel& WithAudiences(const Aws::Vector<Aws::String>& value) { SetAudiences(value); return *this;}
73 inline Channel& WithAudiences(Aws::Vector<Aws::String>&& value) { SetAudiences(std::move(value)); return *this;}
74 inline Channel& AddAudiences(const Aws::String& value) { m_audiencesHasBeenSet = true; m_audiences.push_back(value); return *this; }
75 inline Channel& AddAudiences(Aws::String&& value) { m_audiencesHasBeenSet = true; m_audiences.push_back(std::move(value)); return *this; }
76 inline Channel& AddAudiences(const char* value) { m_audiencesHasBeenSet = true; m_audiences.push_back(value); return *this; }
78
80
83 inline const Aws::String& GetChannelName() const{ return m_channelName; }
84 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
85 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
86 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
87 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
88 inline Channel& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
89 inline Channel& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
90 inline Channel& WithChannelName(const char* value) { SetChannelName(value); return *this;}
92
94
97 inline const Aws::String& GetChannelState() const{ return m_channelState; }
98 inline bool ChannelStateHasBeenSet() const { return m_channelStateHasBeenSet; }
99 inline void SetChannelState(const Aws::String& value) { m_channelStateHasBeenSet = true; m_channelState = value; }
100 inline void SetChannelState(Aws::String&& value) { m_channelStateHasBeenSet = true; m_channelState = std::move(value); }
101 inline void SetChannelState(const char* value) { m_channelStateHasBeenSet = true; m_channelState.assign(value); }
102 inline Channel& WithChannelState(const Aws::String& value) { SetChannelState(value); return *this;}
103 inline Channel& WithChannelState(Aws::String&& value) { SetChannelState(std::move(value)); return *this;}
104 inline Channel& WithChannelState(const char* value) { SetChannelState(value); return *this;}
106
108
111 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
112 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
113 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
114 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
115 inline Channel& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
116 inline Channel& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
118
120
126 inline const SlateSource& GetFillerSlate() const{ return m_fillerSlate; }
127 inline bool FillerSlateHasBeenSet() const { return m_fillerSlateHasBeenSet; }
128 inline void SetFillerSlate(const SlateSource& value) { m_fillerSlateHasBeenSet = true; m_fillerSlate = value; }
129 inline void SetFillerSlate(SlateSource&& value) { m_fillerSlateHasBeenSet = true; m_fillerSlate = std::move(value); }
130 inline Channel& WithFillerSlate(const SlateSource& value) { SetFillerSlate(value); return *this;}
131 inline Channel& WithFillerSlate(SlateSource&& value) { SetFillerSlate(std::move(value)); return *this;}
133
135
138 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
139 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
140 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
141 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
142 inline Channel& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
143 inline Channel& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
145
147
150 inline const LogConfigurationForChannel& GetLogConfiguration() const{ return m_logConfiguration; }
151 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
152 inline void SetLogConfiguration(const LogConfigurationForChannel& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; }
153 inline void SetLogConfiguration(LogConfigurationForChannel&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); }
154 inline Channel& WithLogConfiguration(const LogConfigurationForChannel& value) { SetLogConfiguration(value); return *this;}
155 inline Channel& WithLogConfiguration(LogConfigurationForChannel&& value) { SetLogConfiguration(std::move(value)); return *this;}
157
159
162 inline const Aws::Vector<ResponseOutputItem>& GetOutputs() const{ return m_outputs; }
163 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
164 inline void SetOutputs(const Aws::Vector<ResponseOutputItem>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
165 inline void SetOutputs(Aws::Vector<ResponseOutputItem>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
166 inline Channel& WithOutputs(const Aws::Vector<ResponseOutputItem>& value) { SetOutputs(value); return *this;}
167 inline Channel& WithOutputs(Aws::Vector<ResponseOutputItem>&& value) { SetOutputs(std::move(value)); return *this;}
168 inline Channel& AddOutputs(const ResponseOutputItem& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
169 inline Channel& AddOutputs(ResponseOutputItem&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
171
173
179 inline const Aws::String& GetPlaybackMode() const{ return m_playbackMode; }
180 inline bool PlaybackModeHasBeenSet() const { return m_playbackModeHasBeenSet; }
181 inline void SetPlaybackMode(const Aws::String& value) { m_playbackModeHasBeenSet = true; m_playbackMode = value; }
182 inline void SetPlaybackMode(Aws::String&& value) { m_playbackModeHasBeenSet = true; m_playbackMode = std::move(value); }
183 inline void SetPlaybackMode(const char* value) { m_playbackModeHasBeenSet = true; m_playbackMode.assign(value); }
184 inline Channel& WithPlaybackMode(const Aws::String& value) { SetPlaybackMode(value); return *this;}
185 inline Channel& WithPlaybackMode(Aws::String&& value) { SetPlaybackMode(std::move(value)); return *this;}
186 inline Channel& WithPlaybackMode(const char* value) { SetPlaybackMode(value); return *this;}
188
190
197 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
198 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
199 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
200 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
201 inline Channel& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
202 inline Channel& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
203 inline Channel& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
204 inline Channel& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
205 inline Channel& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
206 inline Channel& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
207 inline Channel& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
208 inline Channel& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
209 inline Channel& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
211
213
217 inline const Aws::String& GetTier() const{ return m_tier; }
218 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
219 inline void SetTier(const Aws::String& value) { m_tierHasBeenSet = true; m_tier = value; }
220 inline void SetTier(Aws::String&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); }
221 inline void SetTier(const char* value) { m_tierHasBeenSet = true; m_tier.assign(value); }
222 inline Channel& WithTier(const Aws::String& value) { SetTier(value); return *this;}
223 inline Channel& WithTier(Aws::String&& value) { SetTier(std::move(value)); return *this;}
224 inline Channel& WithTier(const char* value) { SetTier(value); return *this;}
226 private:
227
228 Aws::String m_arn;
229 bool m_arnHasBeenSet = false;
230
231 Aws::Vector<Aws::String> m_audiences;
232 bool m_audiencesHasBeenSet = false;
233
234 Aws::String m_channelName;
235 bool m_channelNameHasBeenSet = false;
236
237 Aws::String m_channelState;
238 bool m_channelStateHasBeenSet = false;
239
240 Aws::Utils::DateTime m_creationTime;
241 bool m_creationTimeHasBeenSet = false;
242
243 SlateSource m_fillerSlate;
244 bool m_fillerSlateHasBeenSet = false;
245
246 Aws::Utils::DateTime m_lastModifiedTime;
247 bool m_lastModifiedTimeHasBeenSet = false;
248
249 LogConfigurationForChannel m_logConfiguration;
250 bool m_logConfigurationHasBeenSet = false;
251
253 bool m_outputsHasBeenSet = false;
254
255 Aws::String m_playbackMode;
256 bool m_playbackModeHasBeenSet = false;
257
259 bool m_tagsHasBeenSet = false;
260
261 Aws::String m_tier;
262 bool m_tierHasBeenSet = false;
263 };
264
265} // namespace Model
266} // namespace MediaTailor
267} // namespace Aws
AWS_MEDIATAILOR_API Channel()
Channel & WithAudiences(const Aws::Vector< Aws::String > &value)
Definition Channel.h:72
void SetChannelState(const char *value)
Definition Channel.h:101
Channel & WithCreationTime(const Aws::Utils::DateTime &value)
Definition Channel.h:115
Channel & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Channel.h:201
Channel & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Channel.h:142
Channel & AddAudiences(Aws::String &&value)
Definition Channel.h:75
Channel & AddTags(const Aws::String &key, Aws::String &&value)
Definition Channel.h:205
Channel & WithLogConfiguration(const LogConfigurationForChannel &value)
Definition Channel.h:154
void SetFillerSlate(const SlateSource &value)
Definition Channel.h:128
Channel & WithPlaybackMode(const char *value)
Definition Channel.h:186
const Aws::String & GetChannelName() const
Definition Channel.h:83
void SetAudiences(const Aws::Vector< Aws::String > &value)
Definition Channel.h:70
Channel & WithChannelState(const char *value)
Definition Channel.h:104
Channel & AddTags(Aws::String &&key, const Aws::String &value)
Definition Channel.h:204
Channel & WithTier(const Aws::String &value)
Definition Channel.h:222
Channel & WithOutputs(Aws::Vector< ResponseOutputItem > &&value)
Definition Channel.h:167
const Aws::String & GetTier() const
Definition Channel.h:217
void SetAudiences(Aws::Vector< Aws::String > &&value)
Definition Channel.h:71
const Aws::Utils::DateTime & GetCreationTime() const
Definition Channel.h:111
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition Channel.h:114
Channel & WithFillerSlate(const SlateSource &value)
Definition Channel.h:130
bool PlaybackModeHasBeenSet() const
Definition Channel.h:180
void SetLogConfiguration(LogConfigurationForChannel &&value)
Definition Channel.h:153
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Channel.h:200
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Channel.h:141
Channel & AddAudiences(const Aws::String &value)
Definition Channel.h:74
Channel & WithArn(const Aws::String &value)
Definition Channel.h:59
void SetChannelName(const char *value)
Definition Channel.h:87
const Aws::Vector< ResponseOutputItem > & GetOutputs() const
Definition Channel.h:162
bool CreationTimeHasBeenSet() const
Definition Channel.h:112
void SetTier(const Aws::String &value)
Definition Channel.h:219
void SetOutputs(const Aws::Vector< ResponseOutputItem > &value)
Definition Channel.h:164
Channel & WithPlaybackMode(Aws::String &&value)
Definition Channel.h:185
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Channel.h:199
void SetPlaybackMode(Aws::String &&value)
Definition Channel.h:182
Channel & AddTags(Aws::String &&key, const char *value)
Definition Channel.h:208
void SetChannelName(const Aws::String &value)
Definition Channel.h:85
Channel & WithFillerSlate(SlateSource &&value)
Definition Channel.h:131
void SetArn(Aws::String &&value)
Definition Channel.h:57
const LogConfigurationForChannel & GetLogConfiguration() const
Definition Channel.h:150
Channel & WithChannelName(Aws::String &&value)
Definition Channel.h:89
Channel & WithArn(Aws::String &&value)
Definition Channel.h:60
Channel & WithChannelName(const char *value)
Definition Channel.h:90
void SetArn(const Aws::String &value)
Definition Channel.h:56
void SetChannelName(Aws::String &&value)
Definition Channel.h:86
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition Channel.h:138
Channel & AddTags(Aws::String &&key, Aws::String &&value)
Definition Channel.h:206
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Channel.h:140
Channel & WithLogConfiguration(LogConfigurationForChannel &&value)
Definition Channel.h:155
void SetLogConfiguration(const LogConfigurationForChannel &value)
Definition Channel.h:152
const Aws::String & GetChannelState() const
Definition Channel.h:97
Channel & WithChannelState(Aws::String &&value)
Definition Channel.h:103
void SetTier(Aws::String &&value)
Definition Channel.h:220
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Channel.h:197
Channel & WithPlaybackMode(const Aws::String &value)
Definition Channel.h:184
Channel & AddAudiences(const char *value)
Definition Channel.h:76
void SetChannelState(Aws::String &&value)
Definition Channel.h:100
bool LogConfigurationHasBeenSet() const
Definition Channel.h:151
Channel & AddTags(const char *key, Aws::String &&value)
Definition Channel.h:207
bool ChannelStateHasBeenSet() const
Definition Channel.h:98
Channel & WithTier(const char *value)
Definition Channel.h:224
Channel & AddOutputs(ResponseOutputItem &&value)
Definition Channel.h:169
void SetFillerSlate(SlateSource &&value)
Definition Channel.h:129
void SetPlaybackMode(const Aws::String &value)
Definition Channel.h:181
Channel & WithCreationTime(Aws::Utils::DateTime &&value)
Definition Channel.h:116
Channel & AddOutputs(const ResponseOutputItem &value)
Definition Channel.h:168
const Aws::String & GetArn() const
Definition Channel.h:54
Channel & WithTier(Aws::String &&value)
Definition Channel.h:223
Channel & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Channel.h:202
const Aws::String & GetPlaybackMode() const
Definition Channel.h:179
const Aws::Vector< Aws::String > & GetAudiences() const
Definition Channel.h:68
void SetArn(const char *value)
Definition Channel.h:58
Channel & WithAudiences(Aws::Vector< Aws::String > &&value)
Definition Channel.h:73
void SetPlaybackMode(const char *value)
Definition Channel.h:183
AWS_MEDIATAILOR_API Channel(Aws::Utils::Json::JsonView jsonValue)
const SlateSource & GetFillerSlate() const
Definition Channel.h:126
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
Channel & WithChannelName(const Aws::String &value)
Definition Channel.h:88
Channel & WithOutputs(const Aws::Vector< ResponseOutputItem > &value)
Definition Channel.h:166
void SetTier(const char *value)
Definition Channel.h:221
void SetChannelState(const Aws::String &value)
Definition Channel.h:99
bool LastModifiedTimeHasBeenSet() const
Definition Channel.h:139
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition Channel.h:113
Channel & AddTags(const Aws::String &key, const Aws::String &value)
Definition Channel.h:203
Channel & AddTags(const char *key, const char *value)
Definition Channel.h:209
bool ChannelNameHasBeenSet() const
Definition Channel.h:84
void SetOutputs(Aws::Vector< ResponseOutputItem > &&value)
Definition Channel.h:165
Channel & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Channel.h:143
Channel & WithArn(const char *value)
Definition Channel.h:61
Channel & WithChannelState(const Aws::String &value)
Definition Channel.h:102
AWS_MEDIATAILOR_API Channel & operator=(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue