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