7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/ivs/IVSRequest.h>
9#include <aws/ivs/model/ContainerFormat.h>
10#include <aws/ivs/model/ChannelLatencyMode.h>
11#include <aws/ivs/model/MultitrackInputConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/ivs/model/TranscodePreset.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/ivs/model/ChannelType.h>
48 inline void SetAuthorized(
bool value) { m_authorizedHasBeenSet =
true; m_authorized = value; }
74 inline void SetInsecureIngest(
bool value) { m_insecureIngestHasBeenSet =
true; m_insecureIngest = value; }
97 template<
typename MultitrackInputConfigurationT = MultitrackInputConfiguration>
98 void SetMultitrackInputConfiguration(MultitrackInputConfigurationT&& value) { m_multitrackInputConfigurationHasBeenSet =
true; m_multitrackInputConfiguration = std::forward<MultitrackInputConfigurationT>(value); }
99 template<
typename MultitrackInputConfigurationT = MultitrackInputConfiguration>
109 template<
typename NameT = Aws::String>
110 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
111 template<
typename NameT = Aws::String>
123 template<
typename PlaybackRestrictionPolicyArnT = Aws::String>
124 void SetPlaybackRestrictionPolicyArn(PlaybackRestrictionPolicyArnT&& value) { m_playbackRestrictionPolicyArnHasBeenSet =
true; m_playbackRestrictionPolicyArn = std::forward<PlaybackRestrictionPolicyArnT>(value); }
125 template<
typename PlaybackRestrictionPolicyArnT = Aws::String>
151 template<
typename RecordingConfigurationArnT = Aws::String>
152 void SetRecordingConfigurationArn(RecordingConfigurationArnT&& value) { m_recordingConfigurationArnHasBeenSet =
true; m_recordingConfigurationArn = std::forward<RecordingConfigurationArnT>(value); }
153 template<
typename RecordingConfigurationArnT = Aws::String>
169 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
170 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
171 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
173 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
175 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
194 bool m_authorized{
false};
195 bool m_authorizedHasBeenSet =
false;
198 bool m_containerFormatHasBeenSet =
false;
200 bool m_insecureIngest{
false};
201 bool m_insecureIngestHasBeenSet =
false;
204 bool m_latencyModeHasBeenSet =
false;
206 MultitrackInputConfiguration m_multitrackInputConfiguration;
207 bool m_multitrackInputConfigurationHasBeenSet =
false;
210 bool m_nameHasBeenSet =
false;
213 bool m_playbackRestrictionPolicyArnHasBeenSet =
false;
216 bool m_presetHasBeenSet =
false;
219 bool m_recordingConfigurationArnHasBeenSet =
false;
222 bool m_tagsHasBeenSet =
false;
225 bool m_typeHasBeenSet =
false;
void SetContainerFormat(ContainerFormat value)
bool GetInsecureIngest() const
void SetPlaybackRestrictionPolicyArn(PlaybackRestrictionPolicyArnT &&value)
bool PresetHasBeenSet() const
CreateChannelRequest & WithRecordingConfigurationArn(RecordingConfigurationArnT &&value)
CreateChannelRequest & WithInsecureIngest(bool value)
TranscodePreset GetPreset() const
void SetMultitrackInputConfiguration(MultitrackInputConfigurationT &&value)
CreateChannelRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool InsecureIngestHasBeenSet() const
CreateChannelRequest & WithLatencyMode(ChannelLatencyMode value)
const Aws::String & GetRecordingConfigurationArn() const
AWS_IVS_API CreateChannelRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateChannelRequest & WithType(ChannelType value)
void SetType(ChannelType value)
CreateChannelRequest & WithPreset(TranscodePreset value)
bool MultitrackInputConfigurationHasBeenSet() const
CreateChannelRequest & WithName(NameT &&value)
const Aws::String & GetPlaybackRestrictionPolicyArn() const
virtual const char * GetServiceRequestName() const override
CreateChannelRequest & WithContainerFormat(ContainerFormat value)
void SetRecordingConfigurationArn(RecordingConfigurationArnT &&value)
void SetAuthorized(bool value)
ChannelLatencyMode GetLatencyMode() const
void SetLatencyMode(ChannelLatencyMode value)
void SetInsecureIngest(bool value)
bool NameHasBeenSet() const
ContainerFormat GetContainerFormat() const
CreateChannelRequest & WithAuthorized(bool value)
bool AuthorizedHasBeenSet() const
bool GetAuthorized() const
bool ContainerFormatHasBeenSet() const
ChannelType GetType() const
bool TypeHasBeenSet() const
bool PlaybackRestrictionPolicyArnHasBeenSet() const
AWS_IVS_API Aws::String SerializePayload() const override
bool RecordingConfigurationArnHasBeenSet() const
CreateChannelRequest & WithMultitrackInputConfiguration(MultitrackInputConfigurationT &&value)
CreateChannelRequest & WithTags(TagsT &&value)
bool TagsHasBeenSet() const
void SetPreset(TranscodePreset value)
const Aws::String & GetName() const
bool LatencyModeHasBeenSet() const
void SetName(NameT &&value)
const MultitrackInputConfiguration & GetMultitrackInputConfiguration() const
void SetTags(TagsT &&value)
CreateChannelRequest & WithPlaybackRestrictionPolicyArn(PlaybackRestrictionPolicyArnT &&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