module Stratosphere.WorkspacesInstances.WorkspaceInstance.HibernationOptionsRequestProperty ( HibernationOptionsRequestProperty(..), mkHibernationOptionsRequestProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data HibernationOptionsRequestProperty = -- | See: HibernationOptionsRequestProperty {haddock_workaround_ :: (), -- | See: configured :: (Prelude.Maybe (Value Prelude.Bool))} deriving stock (Prelude.Eq, Prelude.Show) mkHibernationOptionsRequestProperty :: HibernationOptionsRequestProperty mkHibernationOptionsRequestProperty = HibernationOptionsRequestProperty {haddock_workaround_ = (), configured = Prelude.Nothing} instance ToResourceProperties HibernationOptionsRequestProperty where toResourceProperties HibernationOptionsRequestProperty {..} = ResourceProperties {awsType = "AWS::WorkspacesInstances::WorkspaceInstance.HibernationOptionsRequest", supportsTags = Prelude.False, properties = Prelude.fromList (Prelude.catMaybes [(JSON..=) "Configured" Prelude.<$> configured])} instance JSON.ToJSON HibernationOptionsRequestProperty where toJSON HibernationOptionsRequestProperty {..} = JSON.object (Prelude.fromList (Prelude.catMaybes [(JSON..=) "Configured" Prelude.<$> configured])) instance Property "Configured" HibernationOptionsRequestProperty where type PropertyType "Configured" HibernationOptionsRequestProperty = Value Prelude.Bool set newValue HibernationOptionsRequestProperty {..} = HibernationOptionsRequestProperty {configured = Prelude.pure newValue, ..}