stratosphere-connect-1.0.0: gen/Stratosphere/Connect/TaskTemplate/InvisibleFieldInfoProperty.hs
module Stratosphere.Connect.TaskTemplate.InvisibleFieldInfoProperty (
module Exports, InvisibleFieldInfoProperty(..),
mkInvisibleFieldInfoProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Connect.TaskTemplate.FieldIdentifierProperty as Exports
import Stratosphere.ResourceProperties
data InvisibleFieldInfoProperty
= -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-tasktemplate-invisiblefieldinfo.html>
InvisibleFieldInfoProperty {haddock_workaround_ :: (),
-- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-tasktemplate-invisiblefieldinfo.html#cfn-connect-tasktemplate-invisiblefieldinfo-id>
id :: FieldIdentifierProperty}
deriving stock (Prelude.Eq, Prelude.Show)
mkInvisibleFieldInfoProperty ::
FieldIdentifierProperty -> InvisibleFieldInfoProperty
mkInvisibleFieldInfoProperty id
= InvisibleFieldInfoProperty {haddock_workaround_ = (), id = id}
instance ToResourceProperties InvisibleFieldInfoProperty where
toResourceProperties InvisibleFieldInfoProperty {..}
= ResourceProperties
{awsType = "AWS::Connect::TaskTemplate.InvisibleFieldInfo",
supportsTags = Prelude.False, properties = ["Id" JSON..= id]}
instance JSON.ToJSON InvisibleFieldInfoProperty where
toJSON InvisibleFieldInfoProperty {..}
= JSON.object ["Id" JSON..= id]
instance Property "Id" InvisibleFieldInfoProperty where
type PropertyType "Id" InvisibleFieldInfoProperty = FieldIdentifierProperty
set newValue InvisibleFieldInfoProperty {..}
= InvisibleFieldInfoProperty {id = newValue, ..}