module Stratosphere.QBusiness.DataSource.VideoExtractionConfigurationProperty (
        VideoExtractionConfigurationProperty(..),
        mkVideoExtractionConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data VideoExtractionConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-videoextractionconfiguration.html>
    VideoExtractionConfigurationProperty {VideoExtractionConfigurationProperty -> ()
haddock_workaround_ :: (),
                                          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-videoextractionconfiguration.html#cfn-qbusiness-datasource-videoextractionconfiguration-videoextractionstatus>
                                          VideoExtractionConfigurationProperty -> Value Text
videoExtractionStatus :: (Value Prelude.Text)}
  deriving stock (VideoExtractionConfigurationProperty
-> VideoExtractionConfigurationProperty -> Bool
(VideoExtractionConfigurationProperty
 -> VideoExtractionConfigurationProperty -> Bool)
-> (VideoExtractionConfigurationProperty
    -> VideoExtractionConfigurationProperty -> Bool)
-> Eq VideoExtractionConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: VideoExtractionConfigurationProperty
-> VideoExtractionConfigurationProperty -> Bool
== :: VideoExtractionConfigurationProperty
-> VideoExtractionConfigurationProperty -> Bool
$c/= :: VideoExtractionConfigurationProperty
-> VideoExtractionConfigurationProperty -> Bool
/= :: VideoExtractionConfigurationProperty
-> VideoExtractionConfigurationProperty -> Bool
Prelude.Eq, Int -> VideoExtractionConfigurationProperty -> ShowS
[VideoExtractionConfigurationProperty] -> ShowS
VideoExtractionConfigurationProperty -> String
(Int -> VideoExtractionConfigurationProperty -> ShowS)
-> (VideoExtractionConfigurationProperty -> String)
-> ([VideoExtractionConfigurationProperty] -> ShowS)
-> Show VideoExtractionConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> VideoExtractionConfigurationProperty -> ShowS
showsPrec :: Int -> VideoExtractionConfigurationProperty -> ShowS
$cshow :: VideoExtractionConfigurationProperty -> String
show :: VideoExtractionConfigurationProperty -> String
$cshowList :: [VideoExtractionConfigurationProperty] -> ShowS
showList :: [VideoExtractionConfigurationProperty] -> ShowS
Prelude.Show)
mkVideoExtractionConfigurationProperty ::
  Value Prelude.Text -> VideoExtractionConfigurationProperty
mkVideoExtractionConfigurationProperty :: Value Text -> VideoExtractionConfigurationProperty
mkVideoExtractionConfigurationProperty Value Text
videoExtractionStatus
  = VideoExtractionConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       videoExtractionStatus :: Value Text
videoExtractionStatus = Value Text
videoExtractionStatus}
instance ToResourceProperties VideoExtractionConfigurationProperty where
  toResourceProperties :: VideoExtractionConfigurationProperty -> ResourceProperties
toResourceProperties VideoExtractionConfigurationProperty {()
Value Text
haddock_workaround_ :: VideoExtractionConfigurationProperty -> ()
videoExtractionStatus :: VideoExtractionConfigurationProperty -> Value Text
haddock_workaround_ :: ()
videoExtractionStatus :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::QBusiness::DataSource.VideoExtractionConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"VideoExtractionStatus"
                         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
videoExtractionStatus]}
instance JSON.ToJSON VideoExtractionConfigurationProperty where
  toJSON :: VideoExtractionConfigurationProperty -> Value
toJSON VideoExtractionConfigurationProperty {()
Value Text
haddock_workaround_ :: VideoExtractionConfigurationProperty -> ()
videoExtractionStatus :: VideoExtractionConfigurationProperty -> Value Text
haddock_workaround_ :: ()
videoExtractionStatus :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object
        [Key
"VideoExtractionStatus" 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
videoExtractionStatus]
instance Property "VideoExtractionStatus" VideoExtractionConfigurationProperty where
  type PropertyType "VideoExtractionStatus" VideoExtractionConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "VideoExtractionStatus" VideoExtractionConfigurationProperty
-> VideoExtractionConfigurationProperty
-> VideoExtractionConfigurationProperty
set PropertyType
  "VideoExtractionStatus" VideoExtractionConfigurationProperty
newValue VideoExtractionConfigurationProperty {()
Value Text
haddock_workaround_ :: VideoExtractionConfigurationProperty -> ()
videoExtractionStatus :: VideoExtractionConfigurationProperty -> Value Text
haddock_workaround_ :: ()
videoExtractionStatus :: Value Text
..}
    = VideoExtractionConfigurationProperty
        {videoExtractionStatus :: Value Text
videoExtractionStatus = PropertyType
  "VideoExtractionStatus" VideoExtractionConfigurationProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}