stratosphere-b2bi-1.0.0: gen/Stratosphere/B2BI/Capability/EdiTypeProperty.hs
module Stratosphere.B2BI.Capability.EdiTypeProperty (
module Exports, EdiTypeProperty(..), mkEdiTypeProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.B2BI.Capability.X12DetailsProperty as Exports
import Stratosphere.ResourceProperties
data EdiTypeProperty
= -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-editype.html>
EdiTypeProperty {haddock_workaround_ :: (),
-- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-editype.html#cfn-b2bi-capability-editype-x12details>
x12Details :: X12DetailsProperty}
deriving stock (Prelude.Eq, Prelude.Show)
mkEdiTypeProperty :: X12DetailsProperty -> EdiTypeProperty
mkEdiTypeProperty x12Details
= EdiTypeProperty
{haddock_workaround_ = (), x12Details = x12Details}
instance ToResourceProperties EdiTypeProperty where
toResourceProperties EdiTypeProperty {..}
= ResourceProperties
{awsType = "AWS::B2BI::Capability.EdiType",
supportsTags = Prelude.False,
properties = ["X12Details" JSON..= x12Details]}
instance JSON.ToJSON EdiTypeProperty where
toJSON EdiTypeProperty {..}
= JSON.object ["X12Details" JSON..= x12Details]
instance Property "X12Details" EdiTypeProperty where
type PropertyType "X12Details" EdiTypeProperty = X12DetailsProperty
set newValue EdiTypeProperty {..}
= EdiTypeProperty {x12Details = newValue, ..}