content: module Stratosphere.SageMaker.ModelQualityJobDefinition.MonitoringResourcesProperty (
          module Exports, MonitoringResourcesProperty(..),
          mkMonitoringResourcesProperty
      ) where
  import qualified Data.Aeson as JSON
  import qualified Stratosphere.Prelude as Prelude
  import Stratosphere.Property
  import {-# SOURCE #-} Stratosphere.SageMaker.ModelQualityJobDefinition.ClusterConfigProperty as Exports
  import Stratosphere.ResourceProperties
  data MonitoringResourcesProperty
    = MonitoringResourcesProperty {clusterConfig :: ClusterConfigProperty}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkMonitoringResourcesProperty ::
    ClusterConfigProperty -> MonitoringResourcesProperty
  mkMonitoringResourcesProperty clusterConfig
    = MonitoringResourcesProperty {clusterConfig = clusterConfig}
  instance ToResourceProperties MonitoringResourcesProperty where
    toResourceProperties MonitoringResourcesProperty {..}
      = ResourceProperties
          {awsType = "AWS::SageMaker::ModelQualityJobDefinition.MonitoringResources",
           supportsTags = Prelude.False,
           properties = ["ClusterConfig" JSON..= clusterConfig]}
  instance JSON.ToJSON MonitoringResourcesProperty where
    toJSON MonitoringResourcesProperty {..}
      = JSON.object ["ClusterConfig" JSON..= clusterConfig]
  instance Property "ClusterConfig" MonitoringResourcesProperty where
    type PropertyType "ClusterConfig" MonitoringResourcesProperty = ClusterConfigProperty
    set newValue MonitoringResourcesProperty {}
      = MonitoringResourcesProperty {clusterConfig = newValue, ..}