module Stratosphere.QuickSight.Analysis.StaticFileUrlSourceOptionsProperty (
        StaticFileUrlSourceOptionsProperty(..),
        mkStaticFileUrlSourceOptionsProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data StaticFileUrlSourceOptionsProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-staticfileurlsourceoptions.html>
    StaticFileUrlSourceOptionsProperty {StaticFileUrlSourceOptionsProperty -> ()
haddock_workaround_ :: (),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-staticfileurlsourceoptions.html#cfn-quicksight-analysis-staticfileurlsourceoptions-url>
                                        StaticFileUrlSourceOptionsProperty -> Value Text
url :: (Value Prelude.Text)}
  deriving stock (StaticFileUrlSourceOptionsProperty
-> StaticFileUrlSourceOptionsProperty -> Bool
(StaticFileUrlSourceOptionsProperty
 -> StaticFileUrlSourceOptionsProperty -> Bool)
-> (StaticFileUrlSourceOptionsProperty
    -> StaticFileUrlSourceOptionsProperty -> Bool)
-> Eq StaticFileUrlSourceOptionsProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: StaticFileUrlSourceOptionsProperty
-> StaticFileUrlSourceOptionsProperty -> Bool
== :: StaticFileUrlSourceOptionsProperty
-> StaticFileUrlSourceOptionsProperty -> Bool
$c/= :: StaticFileUrlSourceOptionsProperty
-> StaticFileUrlSourceOptionsProperty -> Bool
/= :: StaticFileUrlSourceOptionsProperty
-> StaticFileUrlSourceOptionsProperty -> Bool
Prelude.Eq, Int -> StaticFileUrlSourceOptionsProperty -> ShowS
[StaticFileUrlSourceOptionsProperty] -> ShowS
StaticFileUrlSourceOptionsProperty -> String
(Int -> StaticFileUrlSourceOptionsProperty -> ShowS)
-> (StaticFileUrlSourceOptionsProperty -> String)
-> ([StaticFileUrlSourceOptionsProperty] -> ShowS)
-> Show StaticFileUrlSourceOptionsProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> StaticFileUrlSourceOptionsProperty -> ShowS
showsPrec :: Int -> StaticFileUrlSourceOptionsProperty -> ShowS
$cshow :: StaticFileUrlSourceOptionsProperty -> String
show :: StaticFileUrlSourceOptionsProperty -> String
$cshowList :: [StaticFileUrlSourceOptionsProperty] -> ShowS
showList :: [StaticFileUrlSourceOptionsProperty] -> ShowS
Prelude.Show)
mkStaticFileUrlSourceOptionsProperty ::
  Value Prelude.Text -> StaticFileUrlSourceOptionsProperty
mkStaticFileUrlSourceOptionsProperty :: Value Text -> StaticFileUrlSourceOptionsProperty
mkStaticFileUrlSourceOptionsProperty Value Text
url
  = StaticFileUrlSourceOptionsProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), url :: Value Text
url = Value Text
url}
instance ToResourceProperties StaticFileUrlSourceOptionsProperty where
  toResourceProperties :: StaticFileUrlSourceOptionsProperty -> ResourceProperties
toResourceProperties StaticFileUrlSourceOptionsProperty {()
Value Text
haddock_workaround_ :: StaticFileUrlSourceOptionsProperty -> ()
url :: StaticFileUrlSourceOptionsProperty -> Value Text
haddock_workaround_ :: ()
url :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::QuickSight::Analysis.StaticFileUrlSourceOptions",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False, properties :: Object
properties = [Key
"Url" 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
url]}
instance JSON.ToJSON StaticFileUrlSourceOptionsProperty where
  toJSON :: StaticFileUrlSourceOptionsProperty -> Value
toJSON StaticFileUrlSourceOptionsProperty {()
Value Text
haddock_workaround_ :: StaticFileUrlSourceOptionsProperty -> ()
url :: StaticFileUrlSourceOptionsProperty -> Value Text
haddock_workaround_ :: ()
url :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"Url" 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
url]
instance Property "Url" StaticFileUrlSourceOptionsProperty where
  type PropertyType "Url" StaticFileUrlSourceOptionsProperty = Value Prelude.Text
  set :: PropertyType "Url" StaticFileUrlSourceOptionsProperty
-> StaticFileUrlSourceOptionsProperty
-> StaticFileUrlSourceOptionsProperty
set PropertyType "Url" StaticFileUrlSourceOptionsProperty
newValue StaticFileUrlSourceOptionsProperty {()
Value Text
haddock_workaround_ :: StaticFileUrlSourceOptionsProperty -> ()
url :: StaticFileUrlSourceOptionsProperty -> Value Text
haddock_workaround_ :: ()
url :: Value Text
..}
    = StaticFileUrlSourceOptionsProperty {url :: Value Text
url = PropertyType "Url" StaticFileUrlSourceOptionsProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}