module Stratosphere.Connect.QuickConnect.UserQuickConnectConfigProperty ( UserQuickConnectConfigProperty(..), mkUserQuickConnectConfigProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data UserQuickConnectConfigProperty = -- | See: UserQuickConnectConfigProperty {haddock_workaround_ :: (), -- | See: contactFlowArn :: (Value Prelude.Text), -- | See: userArn :: (Value Prelude.Text)} deriving stock (Prelude.Eq, Prelude.Show) mkUserQuickConnectConfigProperty :: Value Prelude.Text -> Value Prelude.Text -> UserQuickConnectConfigProperty mkUserQuickConnectConfigProperty contactFlowArn userArn = UserQuickConnectConfigProperty {haddock_workaround_ = (), contactFlowArn = contactFlowArn, userArn = userArn} instance ToResourceProperties UserQuickConnectConfigProperty where toResourceProperties UserQuickConnectConfigProperty {..} = ResourceProperties {awsType = "AWS::Connect::QuickConnect.UserQuickConnectConfig", supportsTags = Prelude.False, properties = ["ContactFlowArn" JSON..= contactFlowArn, "UserArn" JSON..= userArn]} instance JSON.ToJSON UserQuickConnectConfigProperty where toJSON UserQuickConnectConfigProperty {..} = JSON.object ["ContactFlowArn" JSON..= contactFlowArn, "UserArn" JSON..= userArn] instance Property "ContactFlowArn" UserQuickConnectConfigProperty where type PropertyType "ContactFlowArn" UserQuickConnectConfigProperty = Value Prelude.Text set newValue UserQuickConnectConfigProperty {..} = UserQuickConnectConfigProperty {contactFlowArn = newValue, ..} instance Property "UserArn" UserQuickConnectConfigProperty where type PropertyType "UserArn" UserQuickConnectConfigProperty = Value Prelude.Text set newValue UserQuickConnectConfigProperty {..} = UserQuickConnectConfigProperty {userArn = newValue, ..}