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/ivs/model/Srt.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/ivs/model/ChannelType.h>
52 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
53 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
66 inline void SetAuthorized(
bool value) { m_authorizedHasBeenSet =
true; m_authorized = value; }
79 inline void SetIngestEndpoint(
const char* value) { m_ingestEndpointHasBeenSet =
true; m_ingestEndpoint.assign(value); }
92 inline void SetInsecureIngest(
bool value) { m_insecureIngestHasBeenSet =
true; m_insecureIngest = value; }
118 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
148 inline void SetPlaybackUrl(
const char* value) { m_playbackUrlHasBeenSet =
true; m_playbackUrl.assign(value); }
180 inline void SetRecordingConfigurationArn(
const char* value) { m_recordingConfigurationArnHasBeenSet =
true; m_recordingConfigurationArn.assign(value); }
193 inline void SetSrt(
const Srt& value) { m_srtHasBeenSet =
true; m_srt = value; }
194 inline void SetSrt(
Srt&& value) { m_srtHasBeenSet =
true; m_srt = std::move(value); }
219 inline Channel&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
220 inline Channel&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
221 inline Channel&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
242 bool m_arnHasBeenSet =
false;
245 bool m_authorizedHasBeenSet =
false;
248 bool m_ingestEndpointHasBeenSet =
false;
250 bool m_insecureIngest;
251 bool m_insecureIngestHasBeenSet =
false;
254 bool m_latencyModeHasBeenSet =
false;
257 bool m_nameHasBeenSet =
false;
260 bool m_playbackRestrictionPolicyArnHasBeenSet =
false;
263 bool m_playbackUrlHasBeenSet =
false;
266 bool m_presetHasBeenSet =
false;
269 bool m_recordingConfigurationArnHasBeenSet =
false;
272 bool m_srtHasBeenSet =
false;
275 bool m_tagsHasBeenSet =
false;
278 bool m_typeHasBeenSet =
false;
Channel & AddTags(const Aws::String &key, Aws::String &&value)
void SetType(ChannelType &&value)
Channel & AddTags(const Aws::String &key, const Aws::String &value)
Channel & AddTags(Aws::String &&key, Aws::String &&value)
Channel & AddTags(Aws::String &&key, const char *value)
Channel & WithRecordingConfigurationArn(Aws::String &&value)
Channel & WithAuthorized(bool value)
bool PlaybackRestrictionPolicyArnHasBeenSet() const
void SetPlaybackUrl(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Channel & WithLatencyMode(ChannelLatencyMode &&value)
Channel & AddTags(const char *key, Aws::String &&value)
Channel & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool RecordingConfigurationArnHasBeenSet() const
Channel & WithPreset(TranscodePreset &&value)
const ChannelType & GetType() const
bool TypeHasBeenSet() const
AWS_IVS_API Channel(Aws::Utils::Json::JsonView jsonValue)
Channel & WithIngestEndpoint(Aws::String &&value)
const ChannelLatencyMode & GetLatencyMode() const
Channel & WithArn(const char *value)
bool GetInsecureIngest() const
Channel & WithName(Aws::String &&value)
bool InsecureIngestHasBeenSet() const
bool PlaybackUrlHasBeenSet() const
const Aws::String & GetRecordingConfigurationArn() const
void SetIngestEndpoint(Aws::String &&value)
Channel & WithPlaybackUrl(Aws::String &&value)
Channel & WithType(ChannelType &&value)
const Aws::String & GetIngestEndpoint() const
const Aws::String & GetPlaybackRestrictionPolicyArn() const
bool PresetHasBeenSet() const
const Aws::String & GetPlaybackUrl() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetName() const
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
const Srt & GetSrt() const
void SetIngestEndpoint(const char *value)
bool SrtHasBeenSet() const
Channel & WithSrt(Srt &&value)
AWS_IVS_API Channel & operator=(Aws::Utils::Json::JsonView jsonValue)
Channel & WithPlaybackRestrictionPolicyArn(const Aws::String &value)
Channel & WithPlaybackUrl(const Aws::String &value)
bool TagsHasBeenSet() const
bool IngestEndpointHasBeenSet() const
Channel & WithType(const ChannelType &value)
Channel & WithPlaybackRestrictionPolicyArn(const char *value)
void SetRecordingConfigurationArn(const Aws::String &value)
Channel & WithInsecureIngest(bool value)
void SetArn(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetIngestEndpoint(const Aws::String &value)
void SetName(Aws::String &&value)
bool GetAuthorized() const
void SetAuthorized(bool value)
void SetType(const ChannelType &value)
Channel & AddTags(Aws::String &&key, const Aws::String &value)
void SetRecordingConfigurationArn(const char *value)
void SetArn(const char *value)
void SetPreset(TranscodePreset &&value)
void SetArn(Aws::String &&value)
void SetPlaybackRestrictionPolicyArn(const char *value)
Channel & WithSrt(const Srt &value)
void SetPlaybackRestrictionPolicyArn(const Aws::String &value)
Channel & AddTags(const char *key, const char *value)
Channel & WithRecordingConfigurationArn(const Aws::String &value)
void SetLatencyMode(const ChannelLatencyMode &value)
Channel & WithPlaybackUrl(const char *value)
Channel & WithArn(const Aws::String &value)
Channel & WithName(const char *value)
const TranscodePreset & GetPreset() const
void SetPlaybackUrl(const Aws::String &value)
void SetLatencyMode(ChannelLatencyMode &&value)
bool AuthorizedHasBeenSet() const
void SetRecordingConfigurationArn(Aws::String &&value)
void SetName(const char *value)
void SetSrt(const Srt &value)
void SetInsecureIngest(bool value)
void SetPlaybackUrl(Aws::String &&value)
const Aws::String & GetArn() const
Channel & WithIngestEndpoint(const char *value)
void SetPlaybackRestrictionPolicyArn(Aws::String &&value)
Channel & WithIngestEndpoint(const Aws::String &value)
Channel & WithName(const Aws::String &value)
void SetPreset(const TranscodePreset &value)
Channel & WithLatencyMode(const ChannelLatencyMode &value)
Channel & WithPlaybackRestrictionPolicyArn(Aws::String &&value)
bool NameHasBeenSet() const
Channel & WithArn(Aws::String &&value)
Channel & WithPreset(const TranscodePreset &value)
Channel & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool ArnHasBeenSet() const
bool LatencyModeHasBeenSet() const
Channel & WithRecordingConfigurationArn(const char *value)
void SetName(const 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