module Stratosphere.MediaLive.Channel.VideoDescriptionProperty (
        module Exports, VideoDescriptionProperty(..),
        mkVideoDescriptionProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.MediaLive.Channel.VideoCodecSettingsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data VideoDescriptionProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videodescription.html>
    VideoDescriptionProperty {VideoDescriptionProperty -> ()
haddock_workaround_ :: (),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videodescription.html#cfn-medialive-channel-videodescription-codecsettings>
                              VideoDescriptionProperty -> Maybe VideoCodecSettingsProperty
codecSettings :: (Prelude.Maybe VideoCodecSettingsProperty),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videodescription.html#cfn-medialive-channel-videodescription-height>
                              VideoDescriptionProperty -> Maybe (Value Integer)
height :: (Prelude.Maybe (Value Prelude.Integer)),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videodescription.html#cfn-medialive-channel-videodescription-name>
                              VideoDescriptionProperty -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videodescription.html#cfn-medialive-channel-videodescription-respondtoafd>
                              VideoDescriptionProperty -> Maybe (Value Text)
respondToAfd :: (Prelude.Maybe (Value Prelude.Text)),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videodescription.html#cfn-medialive-channel-videodescription-scalingbehavior>
                              VideoDescriptionProperty -> Maybe (Value Text)
scalingBehavior :: (Prelude.Maybe (Value Prelude.Text)),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videodescription.html#cfn-medialive-channel-videodescription-sharpness>
                              VideoDescriptionProperty -> Maybe (Value Integer)
sharpness :: (Prelude.Maybe (Value Prelude.Integer)),
                              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videodescription.html#cfn-medialive-channel-videodescription-width>
                              VideoDescriptionProperty -> Maybe (Value Integer)
width :: (Prelude.Maybe (Value Prelude.Integer))}
  deriving stock (VideoDescriptionProperty -> VideoDescriptionProperty -> Bool
(VideoDescriptionProperty -> VideoDescriptionProperty -> Bool)
-> (VideoDescriptionProperty -> VideoDescriptionProperty -> Bool)
-> Eq VideoDescriptionProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: VideoDescriptionProperty -> VideoDescriptionProperty -> Bool
== :: VideoDescriptionProperty -> VideoDescriptionProperty -> Bool
$c/= :: VideoDescriptionProperty -> VideoDescriptionProperty -> Bool
/= :: VideoDescriptionProperty -> VideoDescriptionProperty -> Bool
Prelude.Eq, Int -> VideoDescriptionProperty -> ShowS
[VideoDescriptionProperty] -> ShowS
VideoDescriptionProperty -> String
(Int -> VideoDescriptionProperty -> ShowS)
-> (VideoDescriptionProperty -> String)
-> ([VideoDescriptionProperty] -> ShowS)
-> Show VideoDescriptionProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> VideoDescriptionProperty -> ShowS
showsPrec :: Int -> VideoDescriptionProperty -> ShowS
$cshow :: VideoDescriptionProperty -> String
show :: VideoDescriptionProperty -> String
$cshowList :: [VideoDescriptionProperty] -> ShowS
showList :: [VideoDescriptionProperty] -> ShowS
Prelude.Show)
mkVideoDescriptionProperty :: VideoDescriptionProperty
mkVideoDescriptionProperty :: VideoDescriptionProperty
mkVideoDescriptionProperty
  = VideoDescriptionProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), codecSettings :: Maybe VideoCodecSettingsProperty
codecSettings = Maybe VideoCodecSettingsProperty
forall a. Maybe a
Prelude.Nothing,
       height :: Maybe (Value Integer)
height = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       respondToAfd :: Maybe (Value Text)
respondToAfd = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, scalingBehavior :: Maybe (Value Text)
scalingBehavior = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       sharpness :: Maybe (Value Integer)
sharpness = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, width :: Maybe (Value Integer)
width = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties VideoDescriptionProperty where
  toResourceProperties :: VideoDescriptionProperty -> ResourceProperties
toResourceProperties VideoDescriptionProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe VideoCodecSettingsProperty
()
haddock_workaround_ :: VideoDescriptionProperty -> ()
codecSettings :: VideoDescriptionProperty -> Maybe VideoCodecSettingsProperty
height :: VideoDescriptionProperty -> Maybe (Value Integer)
name :: VideoDescriptionProperty -> Maybe (Value Text)
respondToAfd :: VideoDescriptionProperty -> Maybe (Value Text)
scalingBehavior :: VideoDescriptionProperty -> Maybe (Value Text)
sharpness :: VideoDescriptionProperty -> Maybe (Value Integer)
width :: VideoDescriptionProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::MediaLive::Channel.VideoDescription",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> VideoCodecSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CodecSettings" (VideoCodecSettingsProperty -> (Key, Value))
-> Maybe VideoCodecSettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe VideoCodecSettingsProperty
codecSettings,
                            Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Height" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
height,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Name" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
name,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RespondToAfd" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
respondToAfd,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ScalingBehavior" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
scalingBehavior,
                            Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Sharpness" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
sharpness,
                            Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Width" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
width])}
instance JSON.ToJSON VideoDescriptionProperty where
  toJSON :: VideoDescriptionProperty -> Value
toJSON VideoDescriptionProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe VideoCodecSettingsProperty
()
haddock_workaround_ :: VideoDescriptionProperty -> ()
codecSettings :: VideoDescriptionProperty -> Maybe VideoCodecSettingsProperty
height :: VideoDescriptionProperty -> Maybe (Value Integer)
name :: VideoDescriptionProperty -> Maybe (Value Text)
respondToAfd :: VideoDescriptionProperty -> Maybe (Value Text)
scalingBehavior :: VideoDescriptionProperty -> Maybe (Value Text)
sharpness :: VideoDescriptionProperty -> Maybe (Value Integer)
width :: VideoDescriptionProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> VideoCodecSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CodecSettings" (VideoCodecSettingsProperty -> (Key, Value))
-> Maybe VideoCodecSettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe VideoCodecSettingsProperty
codecSettings,
               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Height" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
height,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Name" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
name,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RespondToAfd" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
respondToAfd,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ScalingBehavior" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
scalingBehavior,
               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Sharpness" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
sharpness,
               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Width" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
width]))
instance Property "CodecSettings" VideoDescriptionProperty where
  type PropertyType "CodecSettings" VideoDescriptionProperty = VideoCodecSettingsProperty
  set :: PropertyType "CodecSettings" VideoDescriptionProperty
-> VideoDescriptionProperty -> VideoDescriptionProperty
set PropertyType "CodecSettings" VideoDescriptionProperty
newValue VideoDescriptionProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe VideoCodecSettingsProperty
()
haddock_workaround_ :: VideoDescriptionProperty -> ()
codecSettings :: VideoDescriptionProperty -> Maybe VideoCodecSettingsProperty
height :: VideoDescriptionProperty -> Maybe (Value Integer)
name :: VideoDescriptionProperty -> Maybe (Value Text)
respondToAfd :: VideoDescriptionProperty -> Maybe (Value Text)
scalingBehavior :: VideoDescriptionProperty -> Maybe (Value Text)
sharpness :: VideoDescriptionProperty -> Maybe (Value Integer)
width :: VideoDescriptionProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
..}
    = VideoDescriptionProperty
        {codecSettings :: Maybe VideoCodecSettingsProperty
codecSettings = VideoCodecSettingsProperty -> Maybe VideoCodecSettingsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CodecSettings" VideoDescriptionProperty
VideoCodecSettingsProperty
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
haddock_workaround_ :: ()
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
..}
instance Property "Height" VideoDescriptionProperty where
  type PropertyType "Height" VideoDescriptionProperty = Value Prelude.Integer
  set :: PropertyType "Height" VideoDescriptionProperty
-> VideoDescriptionProperty -> VideoDescriptionProperty
set PropertyType "Height" VideoDescriptionProperty
newValue VideoDescriptionProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe VideoCodecSettingsProperty
()
haddock_workaround_ :: VideoDescriptionProperty -> ()
codecSettings :: VideoDescriptionProperty -> Maybe VideoCodecSettingsProperty
height :: VideoDescriptionProperty -> Maybe (Value Integer)
name :: VideoDescriptionProperty -> Maybe (Value Text)
respondToAfd :: VideoDescriptionProperty -> Maybe (Value Text)
scalingBehavior :: VideoDescriptionProperty -> Maybe (Value Text)
sharpness :: VideoDescriptionProperty -> Maybe (Value Integer)
width :: VideoDescriptionProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
..}
    = VideoDescriptionProperty {height :: Maybe (Value Integer)
height = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Height" VideoDescriptionProperty
Value Integer
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe VideoCodecSettingsProperty
()
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
..}
instance Property "Name" VideoDescriptionProperty where
  type PropertyType "Name" VideoDescriptionProperty = Value Prelude.Text
  set :: PropertyType "Name" VideoDescriptionProperty
-> VideoDescriptionProperty -> VideoDescriptionProperty
set PropertyType "Name" VideoDescriptionProperty
newValue VideoDescriptionProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe VideoCodecSettingsProperty
()
haddock_workaround_ :: VideoDescriptionProperty -> ()
codecSettings :: VideoDescriptionProperty -> Maybe VideoCodecSettingsProperty
height :: VideoDescriptionProperty -> Maybe (Value Integer)
name :: VideoDescriptionProperty -> Maybe (Value Text)
respondToAfd :: VideoDescriptionProperty -> Maybe (Value Text)
scalingBehavior :: VideoDescriptionProperty -> Maybe (Value Text)
sharpness :: VideoDescriptionProperty -> Maybe (Value Integer)
width :: VideoDescriptionProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
..}
    = VideoDescriptionProperty {name :: Maybe (Value Text)
name = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Name" VideoDescriptionProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe VideoCodecSettingsProperty
()
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
..}
instance Property "RespondToAfd" VideoDescriptionProperty where
  type PropertyType "RespondToAfd" VideoDescriptionProperty = Value Prelude.Text
  set :: PropertyType "RespondToAfd" VideoDescriptionProperty
-> VideoDescriptionProperty -> VideoDescriptionProperty
set PropertyType "RespondToAfd" VideoDescriptionProperty
newValue VideoDescriptionProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe VideoCodecSettingsProperty
()
haddock_workaround_ :: VideoDescriptionProperty -> ()
codecSettings :: VideoDescriptionProperty -> Maybe VideoCodecSettingsProperty
height :: VideoDescriptionProperty -> Maybe (Value Integer)
name :: VideoDescriptionProperty -> Maybe (Value Text)
respondToAfd :: VideoDescriptionProperty -> Maybe (Value Text)
scalingBehavior :: VideoDescriptionProperty -> Maybe (Value Text)
sharpness :: VideoDescriptionProperty -> Maybe (Value Integer)
width :: VideoDescriptionProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
..}
    = VideoDescriptionProperty
        {respondToAfd :: Maybe (Value Text)
respondToAfd = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RespondToAfd" VideoDescriptionProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe VideoCodecSettingsProperty
()
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
..}
instance Property "ScalingBehavior" VideoDescriptionProperty where
  type PropertyType "ScalingBehavior" VideoDescriptionProperty = Value Prelude.Text
  set :: PropertyType "ScalingBehavior" VideoDescriptionProperty
-> VideoDescriptionProperty -> VideoDescriptionProperty
set PropertyType "ScalingBehavior" VideoDescriptionProperty
newValue VideoDescriptionProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe VideoCodecSettingsProperty
()
haddock_workaround_ :: VideoDescriptionProperty -> ()
codecSettings :: VideoDescriptionProperty -> Maybe VideoCodecSettingsProperty
height :: VideoDescriptionProperty -> Maybe (Value Integer)
name :: VideoDescriptionProperty -> Maybe (Value Text)
respondToAfd :: VideoDescriptionProperty -> Maybe (Value Text)
scalingBehavior :: VideoDescriptionProperty -> Maybe (Value Text)
sharpness :: VideoDescriptionProperty -> Maybe (Value Integer)
width :: VideoDescriptionProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
..}
    = VideoDescriptionProperty
        {scalingBehavior :: Maybe (Value Text)
scalingBehavior = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ScalingBehavior" VideoDescriptionProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe VideoCodecSettingsProperty
()
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
..}
instance Property "Sharpness" VideoDescriptionProperty where
  type PropertyType "Sharpness" VideoDescriptionProperty = Value Prelude.Integer
  set :: PropertyType "Sharpness" VideoDescriptionProperty
-> VideoDescriptionProperty -> VideoDescriptionProperty
set PropertyType "Sharpness" VideoDescriptionProperty
newValue VideoDescriptionProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe VideoCodecSettingsProperty
()
haddock_workaround_ :: VideoDescriptionProperty -> ()
codecSettings :: VideoDescriptionProperty -> Maybe VideoCodecSettingsProperty
height :: VideoDescriptionProperty -> Maybe (Value Integer)
name :: VideoDescriptionProperty -> Maybe (Value Text)
respondToAfd :: VideoDescriptionProperty -> Maybe (Value Text)
scalingBehavior :: VideoDescriptionProperty -> Maybe (Value Text)
sharpness :: VideoDescriptionProperty -> Maybe (Value Integer)
width :: VideoDescriptionProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
..}
    = VideoDescriptionProperty {sharpness :: Maybe (Value Integer)
sharpness = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Sharpness" VideoDescriptionProperty
Value Integer
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe VideoCodecSettingsProperty
()
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
width :: Maybe (Value Integer)
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
width :: Maybe (Value Integer)
..}
instance Property "Width" VideoDescriptionProperty where
  type PropertyType "Width" VideoDescriptionProperty = Value Prelude.Integer
  set :: PropertyType "Width" VideoDescriptionProperty
-> VideoDescriptionProperty -> VideoDescriptionProperty
set PropertyType "Width" VideoDescriptionProperty
newValue VideoDescriptionProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe VideoCodecSettingsProperty
()
haddock_workaround_ :: VideoDescriptionProperty -> ()
codecSettings :: VideoDescriptionProperty -> Maybe VideoCodecSettingsProperty
height :: VideoDescriptionProperty -> Maybe (Value Integer)
name :: VideoDescriptionProperty -> Maybe (Value Text)
respondToAfd :: VideoDescriptionProperty -> Maybe (Value Text)
scalingBehavior :: VideoDescriptionProperty -> Maybe (Value Text)
sharpness :: VideoDescriptionProperty -> Maybe (Value Integer)
width :: VideoDescriptionProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
width :: Maybe (Value Integer)
..}
    = VideoDescriptionProperty {width :: Maybe (Value Integer)
width = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Width" VideoDescriptionProperty
Value Integer
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe VideoCodecSettingsProperty
()
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
haddock_workaround_ :: ()
codecSettings :: Maybe VideoCodecSettingsProperty
height :: Maybe (Value Integer)
name :: Maybe (Value Text)
respondToAfd :: Maybe (Value Text)
scalingBehavior :: Maybe (Value Text)
sharpness :: Maybe (Value Integer)
..}