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