content: module Stratosphere.CodePipeline.CustomActionType.ArtifactDetailsProperty (
          ArtifactDetailsProperty(..), mkArtifactDetailsProperty
      ) where
  import qualified Data.Aeson as JSON
  import qualified Stratosphere.Prelude as Prelude
  import Stratosphere.Property
  import Stratosphere.ResourceProperties
  import Stratosphere.Value
  data ArtifactDetailsProperty
    = ArtifactDetailsProperty {maximumCount :: (Value Prelude.Integer),
                               minimumCount :: (Value Prelude.Integer)}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkArtifactDetailsProperty ::
    Value Prelude.Integer
    -> Value Prelude.Integer -> ArtifactDetailsProperty
  mkArtifactDetailsProperty maximumCount minimumCount
    = ArtifactDetailsProperty
        {maximumCount = maximumCount, minimumCount = minimumCount}
  instance ToResourceProperties ArtifactDetailsProperty where
    toResourceProperties ArtifactDetailsProperty {..}
      = ResourceProperties
          {awsType = "AWS::CodePipeline::CustomActionType.ArtifactDetails",
           supportsTags = Prelude.False,
           properties = ["MaximumCount" JSON..= maximumCount,
                         "MinimumCount" JSON..= minimumCount]}
  instance JSON.ToJSON ArtifactDetailsProperty where
    toJSON ArtifactDetailsProperty {..}
      = JSON.object
          ["MaximumCount" JSON..= maximumCount,
           "MinimumCount" JSON..= minimumCount]
  instance Property "MaximumCount" ArtifactDetailsProperty where
    type PropertyType "MaximumCount" ArtifactDetailsProperty = Value Prelude.Integer
    set newValue ArtifactDetailsProperty {..}
      = ArtifactDetailsProperty {maximumCount = newValue, ..}
  instance Property "MinimumCount" ArtifactDetailsProperty where
    type PropertyType "MinimumCount" ArtifactDetailsProperty = Value Prelude.Integer
    set newValue ArtifactDetailsProperty {..}
      = ArtifactDetailsProperty {minimumCount = newValue, ..}