stratosphere-amplifyuibuilder-1.0.0: gen/Stratosphere/AmplifyUIBuilder/Form/FormInputBindingPropertiesValuePropertiesProperty.hs
module Stratosphere.AmplifyUIBuilder.Form.FormInputBindingPropertiesValuePropertiesProperty (
FormInputBindingPropertiesValuePropertiesProperty(..),
mkFormInputBindingPropertiesValuePropertiesProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data FormInputBindingPropertiesValuePropertiesProperty
= -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-forminputbindingpropertiesvalueproperties.html>
FormInputBindingPropertiesValuePropertiesProperty {haddock_workaround_ :: (),
-- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-forminputbindingpropertiesvalueproperties.html#cfn-amplifyuibuilder-form-forminputbindingpropertiesvalueproperties-model>
model :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (Prelude.Eq, Prelude.Show)
mkFormInputBindingPropertiesValuePropertiesProperty ::
FormInputBindingPropertiesValuePropertiesProperty
mkFormInputBindingPropertiesValuePropertiesProperty
= FormInputBindingPropertiesValuePropertiesProperty
{haddock_workaround_ = (), model = Prelude.Nothing}
instance ToResourceProperties FormInputBindingPropertiesValuePropertiesProperty where
toResourceProperties
FormInputBindingPropertiesValuePropertiesProperty {..}
= ResourceProperties
{awsType = "AWS::AmplifyUIBuilder::Form.FormInputBindingPropertiesValueProperties",
supportsTags = Prelude.False,
properties = Prelude.fromList
(Prelude.catMaybes [(JSON..=) "Model" Prelude.<$> model])}
instance JSON.ToJSON FormInputBindingPropertiesValuePropertiesProperty where
toJSON FormInputBindingPropertiesValuePropertiesProperty {..}
= JSON.object
(Prelude.fromList
(Prelude.catMaybes [(JSON..=) "Model" Prelude.<$> model]))
instance Property "Model" FormInputBindingPropertiesValuePropertiesProperty where
type PropertyType "Model" FormInputBindingPropertiesValuePropertiesProperty = Value Prelude.Text
set newValue FormInputBindingPropertiesValuePropertiesProperty {..}
= FormInputBindingPropertiesValuePropertiesProperty
{model = Prelude.pure newValue, ..}