AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ChannelSummary.h
1
6#pragma once
7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs/model/ChannelLatencyMode.h>
10#include <aws/ivs/model/TranscodePreset.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/ivs/model/ChannelType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace IVS
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_IVS_API ChannelSummary() = default;
42
43
45
48 inline const Aws::String& GetArn() const { return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 ChannelSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
61 inline bool GetAuthorized() const { return m_authorized; }
62 inline bool AuthorizedHasBeenSet() const { return m_authorizedHasBeenSet; }
63 inline void SetAuthorized(bool value) { m_authorizedHasBeenSet = true; m_authorized = value; }
64 inline ChannelSummary& WithAuthorized(bool value) { SetAuthorized(value); return *this;}
66
68
72 inline bool GetInsecureIngest() const { return m_insecureIngest; }
73 inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; }
74 inline void SetInsecureIngest(bool value) { m_insecureIngestHasBeenSet = true; m_insecureIngest = value; }
75 inline ChannelSummary& WithInsecureIngest(bool value) { SetInsecureIngest(value); return *this;}
77
79
84 inline ChannelLatencyMode GetLatencyMode() const { return m_latencyMode; }
85 inline bool LatencyModeHasBeenSet() const { return m_latencyModeHasBeenSet; }
86 inline void SetLatencyMode(ChannelLatencyMode value) { m_latencyModeHasBeenSet = true; m_latencyMode = value; }
87 inline ChannelSummary& WithLatencyMode(ChannelLatencyMode value) { SetLatencyMode(value); return *this;}
89
91
94 inline const Aws::String& GetName() const { return m_name; }
95 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 template<typename NameT = Aws::String>
97 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
98 template<typename NameT = Aws::String>
99 ChannelSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
101
103
108 inline const Aws::String& GetPlaybackRestrictionPolicyArn() const { return m_playbackRestrictionPolicyArn; }
109 inline bool PlaybackRestrictionPolicyArnHasBeenSet() const { return m_playbackRestrictionPolicyArnHasBeenSet; }
110 template<typename PlaybackRestrictionPolicyArnT = Aws::String>
111 void SetPlaybackRestrictionPolicyArn(PlaybackRestrictionPolicyArnT&& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = std::forward<PlaybackRestrictionPolicyArnT>(value); }
112 template<typename PlaybackRestrictionPolicyArnT = Aws::String>
113 ChannelSummary& WithPlaybackRestrictionPolicyArn(PlaybackRestrictionPolicyArnT&& value) { SetPlaybackRestrictionPolicyArn(std::forward<PlaybackRestrictionPolicyArnT>(value)); return *this;}
115
117
125 inline TranscodePreset GetPreset() const { return m_preset; }
126 inline bool PresetHasBeenSet() const { return m_presetHasBeenSet; }
127 inline void SetPreset(TranscodePreset value) { m_presetHasBeenSet = true; m_preset = value; }
128 inline ChannelSummary& WithPreset(TranscodePreset value) { SetPreset(value); return *this;}
130
132
136 inline const Aws::String& GetRecordingConfigurationArn() const { return m_recordingConfigurationArn; }
137 inline bool RecordingConfigurationArnHasBeenSet() const { return m_recordingConfigurationArnHasBeenSet; }
138 template<typename RecordingConfigurationArnT = Aws::String>
139 void SetRecordingConfigurationArn(RecordingConfigurationArnT&& value) { m_recordingConfigurationArnHasBeenSet = true; m_recordingConfigurationArn = std::forward<RecordingConfigurationArnT>(value); }
140 template<typename RecordingConfigurationArnT = Aws::String>
141 ChannelSummary& WithRecordingConfigurationArn(RecordingConfigurationArnT&& value) { SetRecordingConfigurationArn(std::forward<RecordingConfigurationArnT>(value)); return *this;}
143
145
154 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
155 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
156 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
157 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
158 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
159 ChannelSummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
160 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
161 ChannelSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
162 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
163 }
165
167
174 inline ChannelType GetType() const { return m_type; }
175 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
176 inline void SetType(ChannelType value) { m_typeHasBeenSet = true; m_type = value; }
177 inline ChannelSummary& WithType(ChannelType value) { SetType(value); return *this;}
179 private:
180
181 Aws::String m_arn;
182 bool m_arnHasBeenSet = false;
183
184 bool m_authorized{false};
185 bool m_authorizedHasBeenSet = false;
186
187 bool m_insecureIngest{false};
188 bool m_insecureIngestHasBeenSet = false;
189
191 bool m_latencyModeHasBeenSet = false;
192
193 Aws::String m_name;
194 bool m_nameHasBeenSet = false;
195
196 Aws::String m_playbackRestrictionPolicyArn;
197 bool m_playbackRestrictionPolicyArnHasBeenSet = false;
198
200 bool m_presetHasBeenSet = false;
201
202 Aws::String m_recordingConfigurationArn;
203 bool m_recordingConfigurationArnHasBeenSet = false;
204
206 bool m_tagsHasBeenSet = false;
207
209 bool m_typeHasBeenSet = false;
210 };
211
212} // namespace Model
213} // namespace IVS
214} // 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 & 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 & 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
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