module Stratosphere.SageMaker.EndpointConfig.ClarifyShapBaselineConfigProperty ( ClarifyShapBaselineConfigProperty(..), mkClarifyShapBaselineConfigProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data ClarifyShapBaselineConfigProperty = -- | See: ClarifyShapBaselineConfigProperty {haddock_workaround_ :: (), -- | See: mimeType :: (Prelude.Maybe (Value Prelude.Text)), -- | See: shapBaseline :: (Prelude.Maybe (Value Prelude.Text)), -- | See: shapBaselineUri :: (Prelude.Maybe (Value Prelude.Text))} deriving stock (Prelude.Eq, Prelude.Show) mkClarifyShapBaselineConfigProperty :: ClarifyShapBaselineConfigProperty mkClarifyShapBaselineConfigProperty = ClarifyShapBaselineConfigProperty {haddock_workaround_ = (), mimeType = Prelude.Nothing, shapBaseline = Prelude.Nothing, shapBaselineUri = Prelude.Nothing} instance ToResourceProperties ClarifyShapBaselineConfigProperty where toResourceProperties ClarifyShapBaselineConfigProperty {..} = ResourceProperties {awsType = "AWS::SageMaker::EndpointConfig.ClarifyShapBaselineConfig", supportsTags = Prelude.False, properties = Prelude.fromList (Prelude.catMaybes [(JSON..=) "MimeType" Prelude.<$> mimeType, (JSON..=) "ShapBaseline" Prelude.<$> shapBaseline, (JSON..=) "ShapBaselineUri" Prelude.<$> shapBaselineUri])} instance JSON.ToJSON ClarifyShapBaselineConfigProperty where toJSON ClarifyShapBaselineConfigProperty {..} = JSON.object (Prelude.fromList (Prelude.catMaybes [(JSON..=) "MimeType" Prelude.<$> mimeType, (JSON..=) "ShapBaseline" Prelude.<$> shapBaseline, (JSON..=) "ShapBaselineUri" Prelude.<$> shapBaselineUri])) instance Property "MimeType" ClarifyShapBaselineConfigProperty where type PropertyType "MimeType" ClarifyShapBaselineConfigProperty = Value Prelude.Text set newValue ClarifyShapBaselineConfigProperty {..} = ClarifyShapBaselineConfigProperty {mimeType = Prelude.pure newValue, ..} instance Property "ShapBaseline" ClarifyShapBaselineConfigProperty where type PropertyType "ShapBaseline" ClarifyShapBaselineConfigProperty = Value Prelude.Text set newValue ClarifyShapBaselineConfigProperty {..} = ClarifyShapBaselineConfigProperty {shapBaseline = Prelude.pure newValue, ..} instance Property "ShapBaselineUri" ClarifyShapBaselineConfigProperty where type PropertyType "ShapBaselineUri" ClarifyShapBaselineConfigProperty = Value Prelude.Text set newValue ClarifyShapBaselineConfigProperty {..} = ClarifyShapBaselineConfigProperty {shapBaselineUri = Prelude.pure newValue, ..}