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