content: module Stratosphere.S3.Bucket.ReplicationTimeProperty (
          module Exports, ReplicationTimeProperty(..),
          mkReplicationTimeProperty
      ) where
  import qualified Data.Aeson as JSON
  import qualified Stratosphere.Prelude as Prelude
  import Stratosphere.Property
  import {-# SOURCE #-} Stratosphere.S3.Bucket.ReplicationTimeValueProperty as Exports
  import Stratosphere.ResourceProperties
  import Stratosphere.Value
  data ReplicationTimeProperty
    = ReplicationTimeProperty {status :: (Value Prelude.Text),
                               time :: ReplicationTimeValueProperty}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkReplicationTimeProperty ::
    Value Prelude.Text
    -> ReplicationTimeValueProperty -> ReplicationTimeProperty
  mkReplicationTimeProperty status time
    = ReplicationTimeProperty {status = status, time = time}
  instance ToResourceProperties ReplicationTimeProperty where
    toResourceProperties ReplicationTimeProperty {..}
      = ResourceProperties
          {awsType = "AWS::S3::Bucket.ReplicationTime",
           supportsTags = Prelude.False,
           properties = ["Status" JSON..= status, "Time" JSON..= time]}
  instance JSON.ToJSON ReplicationTimeProperty where
    toJSON ReplicationTimeProperty {..}
      = JSON.object ["Status" JSON..= status, "Time" JSON..= time]
  instance Property "Status" ReplicationTimeProperty where
    type PropertyType "Status" ReplicationTimeProperty = Value Prelude.Text
    set newValue ReplicationTimeProperty {..}
      = ReplicationTimeProperty {status = newValue, ..}
  instance Property "Time" ReplicationTimeProperty where
    type PropertyType "Time" ReplicationTimeProperty = ReplicationTimeValueProperty
    set newValue ReplicationTimeProperty {..}
      = ReplicationTimeProperty {time = newValue, ..}