AWS SDK for C++

AWS SDK for C++ Version 1.11.796

Loading...
Searching...
No Matches
ChannelSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs/IVS_EXPORTS.h>
10#include <aws/ivs/model/ChannelLatencyMode.h>
11#include <aws/ivs/model/ChannelType.h>
12#include <aws/ivs/model/TranscodePreset.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IVS {
24namespace Model {
25
32 public:
33 AWS_IVS_API ChannelSummary() = default;
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
44 template <typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) {
46 m_arnHasBeenSet = true;
47 m_arn = std::forward<ArnT>(value);
48 }
49 template <typename ArnT = Aws::String>
50 ChannelSummary& WithArn(ArnT&& value) {
51 SetArn(std::forward<ArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template <typename NameT = Aws::String>
63 void SetName(NameT&& value) {
64 m_nameHasBeenSet = true;
65 m_name = std::forward<NameT>(value);
66 }
67 template <typename NameT = Aws::String>
68 ChannelSummary& WithName(NameT&& value) {
69 SetName(std::forward<NameT>(value));
70 return *this;
71 }
73
75
80 inline ChannelLatencyMode GetLatencyMode() const { return m_latencyMode; }
81 inline bool LatencyModeHasBeenSet() const { return m_latencyModeHasBeenSet; }
83 m_latencyModeHasBeenSet = true;
84 m_latencyMode = value;
85 }
87 SetLatencyMode(value);
88 return *this;
89 }
91
93
97 inline bool GetAuthorized() const { return m_authorized; }
98 inline bool AuthorizedHasBeenSet() const { return m_authorizedHasBeenSet; }
99 inline void SetAuthorized(bool value) {
100 m_authorizedHasBeenSet = true;
101 m_authorized = value;
102 }
103 inline ChannelSummary& WithAuthorized(bool value) {
104 SetAuthorized(value);
105 return *this;
106 }
108
110
114 inline const Aws::String& GetRecordingConfigurationArn() const { return m_recordingConfigurationArn; }
115 inline bool RecordingConfigurationArnHasBeenSet() const { return m_recordingConfigurationArnHasBeenSet; }
116 template <typename RecordingConfigurationArnT = Aws::String>
117 void SetRecordingConfigurationArn(RecordingConfigurationArnT&& value) {
118 m_recordingConfigurationArnHasBeenSet = true;
119 m_recordingConfigurationArn = std::forward<RecordingConfigurationArnT>(value);
120 }
121 template <typename RecordingConfigurationArnT = Aws::String>
122 ChannelSummary& WithRecordingConfigurationArn(RecordingConfigurationArnT&& value) {
123 SetRecordingConfigurationArn(std::forward<RecordingConfigurationArnT>(value));
124 return *this;
125 }
127
129
138 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
139 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
140 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
141 void SetTags(TagsT&& value) {
142 m_tagsHasBeenSet = true;
143 m_tags = std::forward<TagsT>(value);
144 }
145 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
146 ChannelSummary& WithTags(TagsT&& value) {
147 SetTags(std::forward<TagsT>(value));
148 return *this;
149 }
150 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
151 ChannelSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
152 m_tagsHasBeenSet = true;
153 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
154 return *this;
155 }
157
159
163 inline bool GetInsecureIngest() const { return m_insecureIngest; }
164 inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; }
165 inline void SetInsecureIngest(bool value) {
166 m_insecureIngestHasBeenSet = true;
167 m_insecureIngest = value;
168 }
169 inline ChannelSummary& WithInsecureIngest(bool value) {
170 SetInsecureIngest(value);
171 return *this;
172 }
174
176
183 inline ChannelType GetType() const { return m_type; }
184 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
185 inline void SetType(ChannelType value) {
186 m_typeHasBeenSet = true;
187 m_type = value;
188 }
190 SetType(value);
191 return *this;
192 }
194
196
204 inline TranscodePreset GetPreset() const { return m_preset; }
205 inline bool PresetHasBeenSet() const { return m_presetHasBeenSet; }
206 inline void SetPreset(TranscodePreset value) {
207 m_presetHasBeenSet = true;
208 m_preset = value;
209 }
211 SetPreset(value);
212 return *this;
213 }
215
217
222 inline const Aws::String& GetPlaybackRestrictionPolicyArn() const { return m_playbackRestrictionPolicyArn; }
223 inline bool PlaybackRestrictionPolicyArnHasBeenSet() const { return m_playbackRestrictionPolicyArnHasBeenSet; }
224 template <typename PlaybackRestrictionPolicyArnT = Aws::String>
225 void SetPlaybackRestrictionPolicyArn(PlaybackRestrictionPolicyArnT&& value) {
226 m_playbackRestrictionPolicyArnHasBeenSet = true;
227 m_playbackRestrictionPolicyArn = std::forward<PlaybackRestrictionPolicyArnT>(value);
228 }
229 template <typename PlaybackRestrictionPolicyArnT = Aws::String>
230 ChannelSummary& WithPlaybackRestrictionPolicyArn(PlaybackRestrictionPolicyArnT&& value) {
231 SetPlaybackRestrictionPolicyArn(std::forward<PlaybackRestrictionPolicyArnT>(value));
232 return *this;
233 }
235
237
240 inline const Aws::String& GetAdConfigurationArn() const { return m_adConfigurationArn; }
241 inline bool AdConfigurationArnHasBeenSet() const { return m_adConfigurationArnHasBeenSet; }
242 template <typename AdConfigurationArnT = Aws::String>
243 void SetAdConfigurationArn(AdConfigurationArnT&& value) {
244 m_adConfigurationArnHasBeenSet = true;
245 m_adConfigurationArn = std::forward<AdConfigurationArnT>(value);
246 }
247 template <typename AdConfigurationArnT = Aws::String>
248 ChannelSummary& WithAdConfigurationArn(AdConfigurationArnT&& value) {
249 SetAdConfigurationArn(std::forward<AdConfigurationArnT>(value));
250 return *this;
251 }
253 private:
254 Aws::String m_arn;
255
256 Aws::String m_name;
257
259
260 bool m_authorized{false};
261
262 Aws::String m_recordingConfigurationArn;
263
265
266 bool m_insecureIngest{false};
267
269
271
272 Aws::String m_playbackRestrictionPolicyArn;
273
274 Aws::String m_adConfigurationArn;
275 bool m_arnHasBeenSet = false;
276 bool m_nameHasBeenSet = false;
277 bool m_latencyModeHasBeenSet = false;
278 bool m_authorizedHasBeenSet = false;
279 bool m_recordingConfigurationArnHasBeenSet = false;
280 bool m_tagsHasBeenSet = false;
281 bool m_insecureIngestHasBeenSet = false;
282 bool m_typeHasBeenSet = false;
283 bool m_presetHasBeenSet = false;
284 bool m_playbackRestrictionPolicyArnHasBeenSet = false;
285 bool m_adConfigurationArnHasBeenSet = false;
286};
287
288} // namespace Model
289} // namespace IVS
290} // namespace Aws
TranscodePreset GetPreset() const
bool PlaybackRestrictionPolicyArnHasBeenSet() const
void SetRecordingConfigurationArn(RecordingConfigurationArnT &&value)
void SetPreset(TranscodePreset value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAdConfigurationArn() const
const Aws::String & GetArn() const
ChannelSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_IVS_API ChannelSummary(Aws::Utils::Json::JsonView jsonValue)
ChannelSummary & WithArn(ArnT &&value)
ChannelSummary & WithName(NameT &&value)
void SetLatencyMode(ChannelLatencyMode value)
ChannelSummary & WithPlaybackRestrictionPolicyArn(PlaybackRestrictionPolicyArnT &&value)
ChannelSummary & WithInsecureIngest(bool value)
ChannelSummary & WithAdConfigurationArn(AdConfigurationArnT &&value)
ChannelSummary & WithRecordingConfigurationArn(RecordingConfigurationArnT &&value)
void SetType(ChannelType value)
AWS_IVS_API ChannelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ChannelSummary & WithPreset(TranscodePreset value)
ChannelSummary & WithType(ChannelType value)
ChannelSummary & WithAuthorized(bool value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetRecordingConfigurationArn() const
const Aws::String & GetName() const
void SetPlaybackRestrictionPolicyArn(PlaybackRestrictionPolicyArnT &&value)
ChannelSummary & WithTags(TagsT &&value)
ChannelLatencyMode GetLatencyMode() const
ChannelSummary & WithLatencyMode(ChannelLatencyMode value)
AWS_IVS_API ChannelSummary()=default
void SetAdConfigurationArn(AdConfigurationArnT &&value)
bool RecordingConfigurationArnHasBeenSet() const
const Aws::String & GetPlaybackRestrictionPolicyArn() const
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
Aws::Utils::Json::JsonValue JsonValue