module Stratosphere.MediaPackageV2.OriginEndpoint.DashTtmlConfigurationProperty (
        DashTtmlConfigurationProperty(..), mkDashTtmlConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data DashTtmlConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashttmlconfiguration.html>
    DashTtmlConfigurationProperty {DashTtmlConfigurationProperty -> ()
haddock_workaround_ :: (),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashttmlconfiguration.html#cfn-mediapackagev2-originendpoint-dashttmlconfiguration-ttmlprofile>
                                   DashTtmlConfigurationProperty -> Value Text
ttmlProfile :: (Value Prelude.Text)}
  deriving stock (DashTtmlConfigurationProperty
-> DashTtmlConfigurationProperty -> Bool
(DashTtmlConfigurationProperty
 -> DashTtmlConfigurationProperty -> Bool)
-> (DashTtmlConfigurationProperty
    -> DashTtmlConfigurationProperty -> Bool)
-> Eq DashTtmlConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DashTtmlConfigurationProperty
-> DashTtmlConfigurationProperty -> Bool
== :: DashTtmlConfigurationProperty
-> DashTtmlConfigurationProperty -> Bool
$c/= :: DashTtmlConfigurationProperty
-> DashTtmlConfigurationProperty -> Bool
/= :: DashTtmlConfigurationProperty
-> DashTtmlConfigurationProperty -> Bool
Prelude.Eq, Int -> DashTtmlConfigurationProperty -> ShowS
[DashTtmlConfigurationProperty] -> ShowS
DashTtmlConfigurationProperty -> String
(Int -> DashTtmlConfigurationProperty -> ShowS)
-> (DashTtmlConfigurationProperty -> String)
-> ([DashTtmlConfigurationProperty] -> ShowS)
-> Show DashTtmlConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DashTtmlConfigurationProperty -> ShowS
showsPrec :: Int -> DashTtmlConfigurationProperty -> ShowS
$cshow :: DashTtmlConfigurationProperty -> String
show :: DashTtmlConfigurationProperty -> String
$cshowList :: [DashTtmlConfigurationProperty] -> ShowS
showList :: [DashTtmlConfigurationProperty] -> ShowS
Prelude.Show)
mkDashTtmlConfigurationProperty ::
  Value Prelude.Text -> DashTtmlConfigurationProperty
mkDashTtmlConfigurationProperty :: Value Text -> DashTtmlConfigurationProperty
mkDashTtmlConfigurationProperty Value Text
ttmlProfile
  = DashTtmlConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), ttmlProfile :: Value Text
ttmlProfile = Value Text
ttmlProfile}
instance ToResourceProperties DashTtmlConfigurationProperty where
  toResourceProperties :: DashTtmlConfigurationProperty -> ResourceProperties
toResourceProperties DashTtmlConfigurationProperty {()
Value Text
haddock_workaround_ :: DashTtmlConfigurationProperty -> ()
ttmlProfile :: DashTtmlConfigurationProperty -> Value Text
haddock_workaround_ :: ()
ttmlProfile :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::MediaPackageV2::OriginEndpoint.DashTtmlConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"TtmlProfile" 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..= Value Text
ttmlProfile]}
instance JSON.ToJSON DashTtmlConfigurationProperty where
  toJSON :: DashTtmlConfigurationProperty -> Value
toJSON DashTtmlConfigurationProperty {()
Value Text
haddock_workaround_ :: DashTtmlConfigurationProperty -> ()
ttmlProfile :: DashTtmlConfigurationProperty -> Value Text
haddock_workaround_ :: ()
ttmlProfile :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"TtmlProfile" 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..= Value Text
ttmlProfile]
instance Property "TtmlProfile" DashTtmlConfigurationProperty where
  type PropertyType "TtmlProfile" DashTtmlConfigurationProperty = Value Prelude.Text
  set :: PropertyType "TtmlProfile" DashTtmlConfigurationProperty
-> DashTtmlConfigurationProperty -> DashTtmlConfigurationProperty
set PropertyType "TtmlProfile" DashTtmlConfigurationProperty
newValue DashTtmlConfigurationProperty {()
Value Text
haddock_workaround_ :: DashTtmlConfigurationProperty -> ()
ttmlProfile :: DashTtmlConfigurationProperty -> Value Text
haddock_workaround_ :: ()
ttmlProfile :: Value Text
..}
    = DashTtmlConfigurationProperty {ttmlProfile :: Value Text
ttmlProfile = PropertyType "TtmlProfile" DashTtmlConfigurationProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}