module Stratosphere.MediaLive.Channel.CaptionDescriptionProperty (
        module Exports, CaptionDescriptionProperty(..),
        mkCaptionDescriptionProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.MediaLive.Channel.CaptionDestinationSettingsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data CaptionDescriptionProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html>
    CaptionDescriptionProperty {CaptionDescriptionProperty -> ()
haddock_workaround_ :: (),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-accessibility>
                                CaptionDescriptionProperty -> Maybe (Value Text)
accessibility :: (Prelude.Maybe (Value Prelude.Text)),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-captiondashroles>
                                CaptionDescriptionProperty -> Maybe (ValueList Text)
captionDashRoles :: (Prelude.Maybe (ValueList Prelude.Text)),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-captionselectorname>
                                CaptionDescriptionProperty -> Maybe (Value Text)
captionSelectorName :: (Prelude.Maybe (Value Prelude.Text)),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-destinationsettings>
                                CaptionDescriptionProperty
-> Maybe CaptionDestinationSettingsProperty
destinationSettings :: (Prelude.Maybe CaptionDestinationSettingsProperty),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-dvbdashaccessibility>
                                CaptionDescriptionProperty -> Maybe (Value Text)
dvbDashAccessibility :: (Prelude.Maybe (Value Prelude.Text)),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-languagecode>
                                CaptionDescriptionProperty -> Maybe (Value Text)
languageCode :: (Prelude.Maybe (Value Prelude.Text)),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-languagedescription>
                                CaptionDescriptionProperty -> Maybe (Value Text)
languageDescription :: (Prelude.Maybe (Value Prelude.Text)),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-name>
                                CaptionDescriptionProperty -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (CaptionDescriptionProperty -> CaptionDescriptionProperty -> Bool
(CaptionDescriptionProperty -> CaptionDescriptionProperty -> Bool)
-> (CaptionDescriptionProperty
    -> CaptionDescriptionProperty -> Bool)
-> Eq CaptionDescriptionProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: CaptionDescriptionProperty -> CaptionDescriptionProperty -> Bool
== :: CaptionDescriptionProperty -> CaptionDescriptionProperty -> Bool
$c/= :: CaptionDescriptionProperty -> CaptionDescriptionProperty -> Bool
/= :: CaptionDescriptionProperty -> CaptionDescriptionProperty -> Bool
Prelude.Eq, Int -> CaptionDescriptionProperty -> ShowS
[CaptionDescriptionProperty] -> ShowS
CaptionDescriptionProperty -> String
(Int -> CaptionDescriptionProperty -> ShowS)
-> (CaptionDescriptionProperty -> String)
-> ([CaptionDescriptionProperty] -> ShowS)
-> Show CaptionDescriptionProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> CaptionDescriptionProperty -> ShowS
showsPrec :: Int -> CaptionDescriptionProperty -> ShowS
$cshow :: CaptionDescriptionProperty -> String
show :: CaptionDescriptionProperty -> String
$cshowList :: [CaptionDescriptionProperty] -> ShowS
showList :: [CaptionDescriptionProperty] -> ShowS
Prelude.Show)
mkCaptionDescriptionProperty :: CaptionDescriptionProperty
mkCaptionDescriptionProperty :: CaptionDescriptionProperty
mkCaptionDescriptionProperty
  = CaptionDescriptionProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), accessibility :: Maybe (Value Text)
accessibility = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       captionDashRoles :: Maybe (ValueList Text)
captionDashRoles = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       captionSelectorName :: Maybe (Value Text)
captionSelectorName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       destinationSettings :: Maybe CaptionDestinationSettingsProperty
destinationSettings = Maybe CaptionDestinationSettingsProperty
forall a. Maybe a
Prelude.Nothing,
       dvbDashAccessibility :: Maybe (Value Text)
dvbDashAccessibility = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       languageCode :: Maybe (Value Text)
languageCode = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       languageDescription :: Maybe (Value Text)
languageDescription = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties CaptionDescriptionProperty where
  toResourceProperties :: CaptionDescriptionProperty -> ResourceProperties
toResourceProperties CaptionDescriptionProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: CaptionDescriptionProperty -> ()
accessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
captionDashRoles :: CaptionDescriptionProperty -> Maybe (ValueList Text)
captionSelectorName :: CaptionDescriptionProperty -> Maybe (Value Text)
destinationSettings :: CaptionDescriptionProperty
-> Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
languageCode :: CaptionDescriptionProperty -> Maybe (Value Text)
languageDescription :: CaptionDescriptionProperty -> Maybe (Value Text)
name :: CaptionDescriptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::MediaLive::Channel.CaptionDescription",
         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 -> 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
"Accessibility" (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)
accessibility,
                            Key -> ValueList 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
"CaptionDashRoles" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
captionDashRoles,
                            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
"CaptionSelectorName" (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)
captionSelectorName,
                            Key -> CaptionDestinationSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DestinationSettings" (CaptionDestinationSettingsProperty -> (Key, Value))
-> Maybe CaptionDestinationSettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CaptionDestinationSettingsProperty
destinationSettings,
                            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
"DvbDashAccessibility" (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)
dvbDashAccessibility,
                            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
"LanguageCode" (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)
languageCode,
                            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
"LanguageDescription" (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)
languageDescription,
                            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])}
instance JSON.ToJSON CaptionDescriptionProperty where
  toJSON :: CaptionDescriptionProperty -> Value
toJSON CaptionDescriptionProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: CaptionDescriptionProperty -> ()
accessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
captionDashRoles :: CaptionDescriptionProperty -> Maybe (ValueList Text)
captionSelectorName :: CaptionDescriptionProperty -> Maybe (Value Text)
destinationSettings :: CaptionDescriptionProperty
-> Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
languageCode :: CaptionDescriptionProperty -> Maybe (Value Text)
languageDescription :: CaptionDescriptionProperty -> Maybe (Value Text)
name :: CaptionDescriptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = [(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 -> 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
"Accessibility" (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)
accessibility,
               Key -> ValueList 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
"CaptionDashRoles" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
captionDashRoles,
               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
"CaptionSelectorName" (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)
captionSelectorName,
               Key -> CaptionDestinationSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DestinationSettings" (CaptionDestinationSettingsProperty -> (Key, Value))
-> Maybe CaptionDestinationSettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CaptionDestinationSettingsProperty
destinationSettings,
               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
"DvbDashAccessibility" (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)
dvbDashAccessibility,
               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
"LanguageCode" (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)
languageCode,
               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
"LanguageDescription" (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)
languageDescription,
               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]))
instance Property "Accessibility" CaptionDescriptionProperty where
  type PropertyType "Accessibility" CaptionDescriptionProperty = Value Prelude.Text
  set :: PropertyType "Accessibility" CaptionDescriptionProperty
-> CaptionDescriptionProperty -> CaptionDescriptionProperty
set PropertyType "Accessibility" CaptionDescriptionProperty
newValue CaptionDescriptionProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: CaptionDescriptionProperty -> ()
accessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
captionDashRoles :: CaptionDescriptionProperty -> Maybe (ValueList Text)
captionSelectorName :: CaptionDescriptionProperty -> Maybe (Value Text)
destinationSettings :: CaptionDescriptionProperty
-> Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
languageCode :: CaptionDescriptionProperty -> Maybe (Value Text)
languageDescription :: CaptionDescriptionProperty -> Maybe (Value Text)
name :: CaptionDescriptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = CaptionDescriptionProperty
        {accessibility :: Maybe (Value Text)
accessibility = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Accessibility" CaptionDescriptionProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: ()
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
haddock_workaround_ :: ()
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
instance Property "CaptionDashRoles" CaptionDescriptionProperty where
  type PropertyType "CaptionDashRoles" CaptionDescriptionProperty = ValueList Prelude.Text
  set :: PropertyType "CaptionDashRoles" CaptionDescriptionProperty
-> CaptionDescriptionProperty -> CaptionDescriptionProperty
set PropertyType "CaptionDashRoles" CaptionDescriptionProperty
newValue CaptionDescriptionProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: CaptionDescriptionProperty -> ()
accessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
captionDashRoles :: CaptionDescriptionProperty -> Maybe (ValueList Text)
captionSelectorName :: CaptionDescriptionProperty -> Maybe (Value Text)
destinationSettings :: CaptionDescriptionProperty
-> Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
languageCode :: CaptionDescriptionProperty -> Maybe (Value Text)
languageDescription :: CaptionDescriptionProperty -> Maybe (Value Text)
name :: CaptionDescriptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = CaptionDescriptionProperty
        {captionDashRoles :: Maybe (ValueList Text)
captionDashRoles = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CaptionDashRoles" CaptionDescriptionProperty
ValueList Text
newValue, Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
instance Property "CaptionSelectorName" CaptionDescriptionProperty where
  type PropertyType "CaptionSelectorName" CaptionDescriptionProperty = Value Prelude.Text
  set :: PropertyType "CaptionSelectorName" CaptionDescriptionProperty
-> CaptionDescriptionProperty -> CaptionDescriptionProperty
set PropertyType "CaptionSelectorName" CaptionDescriptionProperty
newValue CaptionDescriptionProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: CaptionDescriptionProperty -> ()
accessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
captionDashRoles :: CaptionDescriptionProperty -> Maybe (ValueList Text)
captionSelectorName :: CaptionDescriptionProperty -> Maybe (Value Text)
destinationSettings :: CaptionDescriptionProperty
-> Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
languageCode :: CaptionDescriptionProperty -> Maybe (Value Text)
languageDescription :: CaptionDescriptionProperty -> Maybe (Value Text)
name :: CaptionDescriptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = CaptionDescriptionProperty
        {captionSelectorName :: Maybe (Value Text)
captionSelectorName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CaptionSelectorName" CaptionDescriptionProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
instance Property "DestinationSettings" CaptionDescriptionProperty where
  type PropertyType "DestinationSettings" CaptionDescriptionProperty = CaptionDestinationSettingsProperty
  set :: PropertyType "DestinationSettings" CaptionDescriptionProperty
-> CaptionDescriptionProperty -> CaptionDescriptionProperty
set PropertyType "DestinationSettings" CaptionDescriptionProperty
newValue CaptionDescriptionProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: CaptionDescriptionProperty -> ()
accessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
captionDashRoles :: CaptionDescriptionProperty -> Maybe (ValueList Text)
captionSelectorName :: CaptionDescriptionProperty -> Maybe (Value Text)
destinationSettings :: CaptionDescriptionProperty
-> Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
languageCode :: CaptionDescriptionProperty -> Maybe (Value Text)
languageDescription :: CaptionDescriptionProperty -> Maybe (Value Text)
name :: CaptionDescriptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = CaptionDescriptionProperty
        {destinationSettings :: Maybe CaptionDestinationSettingsProperty
destinationSettings = CaptionDestinationSettingsProperty
-> Maybe CaptionDestinationSettingsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DestinationSettings" CaptionDescriptionProperty
CaptionDestinationSettingsProperty
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
instance Property "DvbDashAccessibility" CaptionDescriptionProperty where
  type PropertyType "DvbDashAccessibility" CaptionDescriptionProperty = Value Prelude.Text
  set :: PropertyType "DvbDashAccessibility" CaptionDescriptionProperty
-> CaptionDescriptionProperty -> CaptionDescriptionProperty
set PropertyType "DvbDashAccessibility" CaptionDescriptionProperty
newValue CaptionDescriptionProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: CaptionDescriptionProperty -> ()
accessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
captionDashRoles :: CaptionDescriptionProperty -> Maybe (ValueList Text)
captionSelectorName :: CaptionDescriptionProperty -> Maybe (Value Text)
destinationSettings :: CaptionDescriptionProperty
-> Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
languageCode :: CaptionDescriptionProperty -> Maybe (Value Text)
languageDescription :: CaptionDescriptionProperty -> Maybe (Value Text)
name :: CaptionDescriptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = CaptionDescriptionProperty
        {dvbDashAccessibility :: Maybe (Value Text)
dvbDashAccessibility = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DvbDashAccessibility" CaptionDescriptionProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
instance Property "LanguageCode" CaptionDescriptionProperty where
  type PropertyType "LanguageCode" CaptionDescriptionProperty = Value Prelude.Text
  set :: PropertyType "LanguageCode" CaptionDescriptionProperty
-> CaptionDescriptionProperty -> CaptionDescriptionProperty
set PropertyType "LanguageCode" CaptionDescriptionProperty
newValue CaptionDescriptionProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: CaptionDescriptionProperty -> ()
accessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
captionDashRoles :: CaptionDescriptionProperty -> Maybe (ValueList Text)
captionSelectorName :: CaptionDescriptionProperty -> Maybe (Value Text)
destinationSettings :: CaptionDescriptionProperty
-> Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
languageCode :: CaptionDescriptionProperty -> Maybe (Value Text)
languageDescription :: CaptionDescriptionProperty -> Maybe (Value Text)
name :: CaptionDescriptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = CaptionDescriptionProperty
        {languageCode :: Maybe (Value Text)
languageCode = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LanguageCode" CaptionDescriptionProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
instance Property "LanguageDescription" CaptionDescriptionProperty where
  type PropertyType "LanguageDescription" CaptionDescriptionProperty = Value Prelude.Text
  set :: PropertyType "LanguageDescription" CaptionDescriptionProperty
-> CaptionDescriptionProperty -> CaptionDescriptionProperty
set PropertyType "LanguageDescription" CaptionDescriptionProperty
newValue CaptionDescriptionProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: CaptionDescriptionProperty -> ()
accessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
captionDashRoles :: CaptionDescriptionProperty -> Maybe (ValueList Text)
captionSelectorName :: CaptionDescriptionProperty -> Maybe (Value Text)
destinationSettings :: CaptionDescriptionProperty
-> Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
languageCode :: CaptionDescriptionProperty -> Maybe (Value Text)
languageDescription :: CaptionDescriptionProperty -> Maybe (Value Text)
name :: CaptionDescriptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = CaptionDescriptionProperty
        {languageDescription :: Maybe (Value Text)
languageDescription = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LanguageDescription" CaptionDescriptionProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
name :: Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
instance Property "Name" CaptionDescriptionProperty where
  type PropertyType "Name" CaptionDescriptionProperty = Value Prelude.Text
  set :: PropertyType "Name" CaptionDescriptionProperty
-> CaptionDescriptionProperty -> CaptionDescriptionProperty
set PropertyType "Name" CaptionDescriptionProperty
newValue CaptionDescriptionProperty {Maybe (ValueList Text)
Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: CaptionDescriptionProperty -> ()
accessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
captionDashRoles :: CaptionDescriptionProperty -> Maybe (ValueList Text)
captionSelectorName :: CaptionDescriptionProperty -> Maybe (Value Text)
destinationSettings :: CaptionDescriptionProperty
-> Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: CaptionDescriptionProperty -> Maybe (Value Text)
languageCode :: CaptionDescriptionProperty -> Maybe (Value Text)
languageDescription :: CaptionDescriptionProperty -> Maybe (Value Text)
name :: CaptionDescriptionProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
name :: Maybe (Value Text)
..}
    = CaptionDescriptionProperty {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" CaptionDescriptionProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe CaptionDestinationSettingsProperty
()
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
haddock_workaround_ :: ()
accessibility :: Maybe (Value Text)
captionDashRoles :: Maybe (ValueList Text)
captionSelectorName :: Maybe (Value Text)
destinationSettings :: Maybe CaptionDestinationSettingsProperty
dvbDashAccessibility :: Maybe (Value Text)
languageCode :: Maybe (Value Text)
languageDescription :: Maybe (Value Text)
..}