AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline ChannelSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline ChannelSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline ChannelSummary& WithArn(const char* value) { SetArn(value); return *this;}
57
59
63 inline bool GetAuthorized() const{ return m_authorized; }
64 inline bool AuthorizedHasBeenSet() const { return m_authorizedHasBeenSet; }
65 inline void SetAuthorized(bool value) { m_authorizedHasBeenSet = true; m_authorized = value; }
66 inline ChannelSummary& WithAuthorized(bool value) { SetAuthorized(value); return *this;}
68
70
74 inline bool GetInsecureIngest() const{ return m_insecureIngest; }
75 inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; }
76 inline void SetInsecureIngest(bool value) { m_insecureIngestHasBeenSet = true; m_insecureIngest = value; }
77 inline ChannelSummary& WithInsecureIngest(bool value) { SetInsecureIngest(value); return *this;}
79
81
86 inline const ChannelLatencyMode& GetLatencyMode() const{ return m_latencyMode; }
87 inline bool LatencyModeHasBeenSet() const { return m_latencyModeHasBeenSet; }
88 inline void SetLatencyMode(const ChannelLatencyMode& value) { m_latencyModeHasBeenSet = true; m_latencyMode = value; }
89 inline void SetLatencyMode(ChannelLatencyMode&& value) { m_latencyModeHasBeenSet = true; m_latencyMode = std::move(value); }
90 inline ChannelSummary& WithLatencyMode(const ChannelLatencyMode& value) { SetLatencyMode(value); return *this;}
91 inline ChannelSummary& WithLatencyMode(ChannelLatencyMode&& value) { SetLatencyMode(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetName() const{ return m_name; }
99 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
100 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
101 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
102 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
103 inline ChannelSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
104 inline ChannelSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
105 inline ChannelSummary& WithName(const char* value) { SetName(value); return *this;}
107
109
114 inline const Aws::String& GetPlaybackRestrictionPolicyArn() const{ return m_playbackRestrictionPolicyArn; }
115 inline bool PlaybackRestrictionPolicyArnHasBeenSet() const { return m_playbackRestrictionPolicyArnHasBeenSet; }
116 inline void SetPlaybackRestrictionPolicyArn(const Aws::String& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = value; }
117 inline void SetPlaybackRestrictionPolicyArn(Aws::String&& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = std::move(value); }
118 inline void SetPlaybackRestrictionPolicyArn(const char* value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn.assign(value); }
121 inline ChannelSummary& WithPlaybackRestrictionPolicyArn(const char* value) { SetPlaybackRestrictionPolicyArn(value); return *this;}
123
125
133 inline const TranscodePreset& GetPreset() const{ return m_preset; }
134 inline bool PresetHasBeenSet() const { return m_presetHasBeenSet; }
135 inline void SetPreset(const TranscodePreset& value) { m_presetHasBeenSet = true; m_preset = value; }
136 inline void SetPreset(TranscodePreset&& value) { m_presetHasBeenSet = true; m_preset = std::move(value); }
137 inline ChannelSummary& WithPreset(const TranscodePreset& value) { SetPreset(value); return *this;}
138 inline ChannelSummary& WithPreset(TranscodePreset&& value) { SetPreset(std::move(value)); return *this;}
140
142
146 inline const Aws::String& GetRecordingConfigurationArn() const{ return m_recordingConfigurationArn; }
147 inline bool RecordingConfigurationArnHasBeenSet() const { return m_recordingConfigurationArnHasBeenSet; }
148 inline void SetRecordingConfigurationArn(const Aws::String& value) { m_recordingConfigurationArnHasBeenSet = true; m_recordingConfigurationArn = value; }
149 inline void SetRecordingConfigurationArn(Aws::String&& value) { m_recordingConfigurationArnHasBeenSet = true; m_recordingConfigurationArn = std::move(value); }
150 inline void SetRecordingConfigurationArn(const char* value) { m_recordingConfigurationArnHasBeenSet = true; m_recordingConfigurationArn.assign(value); }
153 inline ChannelSummary& WithRecordingConfigurationArn(const char* value) { SetRecordingConfigurationArn(value); return *this;}
155
157
166 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
167 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
168 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
169 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
170 inline ChannelSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
171 inline ChannelSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
172 inline ChannelSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
173 inline ChannelSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
174 inline ChannelSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
175 inline ChannelSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
176 inline ChannelSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
177 inline ChannelSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
178 inline ChannelSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
180
182
189 inline const ChannelType& GetType() const{ return m_type; }
190 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
191 inline void SetType(const ChannelType& value) { m_typeHasBeenSet = true; m_type = value; }
192 inline void SetType(ChannelType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
193 inline ChannelSummary& WithType(const ChannelType& value) { SetType(value); return *this;}
194 inline ChannelSummary& WithType(ChannelType&& value) { SetType(std::move(value)); return *this;}
196 private:
197
198 Aws::String m_arn;
199 bool m_arnHasBeenSet = false;
200
201 bool m_authorized;
202 bool m_authorizedHasBeenSet = false;
203
204 bool m_insecureIngest;
205 bool m_insecureIngestHasBeenSet = false;
206
207 ChannelLatencyMode m_latencyMode;
208 bool m_latencyModeHasBeenSet = false;
209
210 Aws::String m_name;
211 bool m_nameHasBeenSet = false;
212
213 Aws::String m_playbackRestrictionPolicyArn;
214 bool m_playbackRestrictionPolicyArnHasBeenSet = false;
215
216 TranscodePreset m_preset;
217 bool m_presetHasBeenSet = false;
218
219 Aws::String m_recordingConfigurationArn;
220 bool m_recordingConfigurationArnHasBeenSet = false;
221
223 bool m_tagsHasBeenSet = false;
224
225 ChannelType m_type;
226 bool m_typeHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace IVS
231} // namespace Aws
ChannelSummary & WithArn(const Aws::String &value)
bool PlaybackRestrictionPolicyArnHasBeenSet() const
ChannelSummary & WithLatencyMode(const ChannelLatencyMode &value)
ChannelSummary & WithRecordingConfigurationArn(Aws::String &&value)
void SetType(const ChannelType &value)
const ChannelLatencyMode & GetLatencyMode() const
void SetName(const Aws::String &value)
ChannelSummary & AddTags(const Aws::String &key, Aws::String &&value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
ChannelSummary & WithPlaybackRestrictionPolicyArn(const Aws::String &value)
void SetType(ChannelType &&value)
ChannelSummary & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetArn() const
const TranscodePreset & GetPreset() const
ChannelSummary & WithArn(Aws::String &&value)
AWS_IVS_API ChannelSummary(Aws::Utils::Json::JsonView jsonValue)
ChannelSummary & WithRecordingConfigurationArn(const Aws::String &value)
ChannelSummary & WithType(ChannelType &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ChannelSummary & WithInsecureIngest(bool value)
ChannelSummary & WithArn(const char *value)
ChannelSummary & WithLatencyMode(ChannelLatencyMode &&value)
void SetPlaybackRestrictionPolicyArn(const Aws::String &value)
ChannelSummary & WithRecordingConfigurationArn(const char *value)
const ChannelType & GetType() const
ChannelSummary & WithType(const ChannelType &value)
ChannelSummary & WithPlaybackRestrictionPolicyArn(const char *value)
void SetName(const char *value)
ChannelSummary & AddTags(Aws::String &&key, const char *value)
ChannelSummary & WithName(const Aws::String &value)
AWS_IVS_API ChannelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPreset(const TranscodePreset &value)
ChannelSummary & WithPreset(const TranscodePreset &value)
void SetRecordingConfigurationArn(Aws::String &&value)
void SetArn(const Aws::String &value)
ChannelSummary & WithAuthorized(bool value)
void SetPreset(TranscodePreset &&value)
ChannelSummary & AddTags(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ChannelSummary & WithName(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetArn(const char *value)
ChannelSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetPlaybackRestrictionPolicyArn(Aws::String &&value)
const Aws::String & GetRecordingConfigurationArn() const
const Aws::String & GetName() const
void SetArn(Aws::String &&value)
ChannelSummary & AddTags(const Aws::String &key, const Aws::String &value)
ChannelSummary & WithPreset(TranscodePreset &&value)
void SetName(Aws::String &&value)
ChannelSummary & WithName(Aws::String &&value)
void SetLatencyMode(const ChannelLatencyMode &value)
ChannelSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool RecordingConfigurationArnHasBeenSet() const
ChannelSummary & WithPlaybackRestrictionPolicyArn(Aws::String &&value)
const Aws::String & GetPlaybackRestrictionPolicyArn() const
void SetRecordingConfigurationArn(const Aws::String &value)
void SetPlaybackRestrictionPolicyArn(const char *value)
void SetRecordingConfigurationArn(const char *value)
void SetLatencyMode(ChannelLatencyMode &&value)
ChannelSummary & AddTags(const char *key, Aws::String &&value)
ChannelSummary & AddTags(Aws::String &&key, Aws::String &&value)
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