module Stratosphere.Connect.QuickConnect.QueueQuickConnectConfigProperty (
QueueQuickConnectConfigProperty(..),
mkQueueQuickConnectConfigProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data QueueQuickConnectConfigProperty
=
QueueQuickConnectConfigProperty {QueueQuickConnectConfigProperty -> ()
haddock_workaround_ :: (),
QueueQuickConnectConfigProperty -> Value Text
contactFlowArn :: (Value Prelude.Text),
QueueQuickConnectConfigProperty -> Value Text
queueArn :: (Value Prelude.Text)}
deriving stock (QueueQuickConnectConfigProperty
-> QueueQuickConnectConfigProperty -> Bool
(QueueQuickConnectConfigProperty
-> QueueQuickConnectConfigProperty -> Bool)
-> (QueueQuickConnectConfigProperty
-> QueueQuickConnectConfigProperty -> Bool)
-> Eq QueueQuickConnectConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: QueueQuickConnectConfigProperty
-> QueueQuickConnectConfigProperty -> Bool
== :: QueueQuickConnectConfigProperty
-> QueueQuickConnectConfigProperty -> Bool
$c/= :: QueueQuickConnectConfigProperty
-> QueueQuickConnectConfigProperty -> Bool
/= :: QueueQuickConnectConfigProperty
-> QueueQuickConnectConfigProperty -> Bool
Prelude.Eq, Int -> QueueQuickConnectConfigProperty -> ShowS
[QueueQuickConnectConfigProperty] -> ShowS
QueueQuickConnectConfigProperty -> String
(Int -> QueueQuickConnectConfigProperty -> ShowS)
-> (QueueQuickConnectConfigProperty -> String)
-> ([QueueQuickConnectConfigProperty] -> ShowS)
-> Show QueueQuickConnectConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> QueueQuickConnectConfigProperty -> ShowS
showsPrec :: Int -> QueueQuickConnectConfigProperty -> ShowS
$cshow :: QueueQuickConnectConfigProperty -> String
show :: QueueQuickConnectConfigProperty -> String
$cshowList :: [QueueQuickConnectConfigProperty] -> ShowS
showList :: [QueueQuickConnectConfigProperty] -> ShowS
Prelude.Show)
mkQueueQuickConnectConfigProperty ::
Value Prelude.Text
-> Value Prelude.Text -> QueueQuickConnectConfigProperty
mkQueueQuickConnectConfigProperty :: Value Text -> Value Text -> QueueQuickConnectConfigProperty
mkQueueQuickConnectConfigProperty Value Text
contactFlowArn Value Text
queueArn
= QueueQuickConnectConfigProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), contactFlowArn :: Value Text
contactFlowArn = Value Text
contactFlowArn,
queueArn :: Value Text
queueArn = Value Text
queueArn}
instance ToResourceProperties QueueQuickConnectConfigProperty where
toResourceProperties :: QueueQuickConnectConfigProperty -> ResourceProperties
toResourceProperties QueueQuickConnectConfigProperty {()
Value Text
haddock_workaround_ :: QueueQuickConnectConfigProperty -> ()
contactFlowArn :: QueueQuickConnectConfigProperty -> Value Text
queueArn :: QueueQuickConnectConfigProperty -> Value Text
haddock_workaround_ :: ()
contactFlowArn :: Value Text
queueArn :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Connect::QuickConnect.QueueQuickConnectConfig",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"ContactFlowArn" 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
contactFlowArn,
Key
"QueueArn" 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
queueArn]}
instance JSON.ToJSON QueueQuickConnectConfigProperty where
toJSON :: QueueQuickConnectConfigProperty -> Value
toJSON QueueQuickConnectConfigProperty {()
Value Text
haddock_workaround_ :: QueueQuickConnectConfigProperty -> ()
contactFlowArn :: QueueQuickConnectConfigProperty -> Value Text
queueArn :: QueueQuickConnectConfigProperty -> Value Text
haddock_workaround_ :: ()
contactFlowArn :: Value Text
queueArn :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object
[Key
"ContactFlowArn" 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
contactFlowArn,
Key
"QueueArn" 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
queueArn]
instance Property "ContactFlowArn" QueueQuickConnectConfigProperty where
type PropertyType "ContactFlowArn" QueueQuickConnectConfigProperty = Value Prelude.Text
set :: PropertyType "ContactFlowArn" QueueQuickConnectConfigProperty
-> QueueQuickConnectConfigProperty
-> QueueQuickConnectConfigProperty
set PropertyType "ContactFlowArn" QueueQuickConnectConfigProperty
newValue QueueQuickConnectConfigProperty {()
Value Text
haddock_workaround_ :: QueueQuickConnectConfigProperty -> ()
contactFlowArn :: QueueQuickConnectConfigProperty -> Value Text
queueArn :: QueueQuickConnectConfigProperty -> Value Text
haddock_workaround_ :: ()
contactFlowArn :: Value Text
queueArn :: Value Text
..}
= QueueQuickConnectConfigProperty {contactFlowArn :: Value Text
contactFlowArn = PropertyType "ContactFlowArn" QueueQuickConnectConfigProperty
Value Text
newValue, ()
Value Text
haddock_workaround_ :: ()
queueArn :: Value Text
haddock_workaround_ :: ()
queueArn :: Value Text
..}
instance Property "QueueArn" QueueQuickConnectConfigProperty where
type PropertyType "QueueArn" QueueQuickConnectConfigProperty = Value Prelude.Text
set :: PropertyType "QueueArn" QueueQuickConnectConfigProperty
-> QueueQuickConnectConfigProperty
-> QueueQuickConnectConfigProperty
set PropertyType "QueueArn" QueueQuickConnectConfigProperty
newValue QueueQuickConnectConfigProperty {()
Value Text
haddock_workaround_ :: QueueQuickConnectConfigProperty -> ()
contactFlowArn :: QueueQuickConnectConfigProperty -> Value Text
queueArn :: QueueQuickConnectConfigProperty -> Value Text
haddock_workaround_ :: ()
contactFlowArn :: Value Text
queueArn :: Value Text
..}
= QueueQuickConnectConfigProperty {queueArn :: Value Text
queueArn = PropertyType "QueueArn" QueueQuickConnectConfigProperty
Value Text
newValue, ()
Value Text
haddock_workaround_ :: ()
contactFlowArn :: Value Text
haddock_workaround_ :: ()
contactFlowArn :: Value Text
..}