content: module Stratosphere.WAFv2.RuleGroup.RateLimitCookieProperty (
          module Exports, RateLimitCookieProperty(..),
          mkRateLimitCookieProperty
      ) where
  import qualified Data.Aeson as JSON
  import qualified Stratosphere.Prelude as Prelude
  import Stratosphere.Property
  import {-# SOURCE #-} Stratosphere.WAFv2.RuleGroup.TextTransformationProperty as Exports
  import Stratosphere.ResourceProperties
  import Stratosphere.Value
  data RateLimitCookieProperty
    = RateLimitCookieProperty {name :: (Value Prelude.Text),
                               textTransformations :: [TextTransformationProperty]}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkRateLimitCookieProperty ::
    Value Prelude.Text
    -> [TextTransformationProperty] -> RateLimitCookieProperty
  mkRateLimitCookieProperty name textTransformations
    = RateLimitCookieProperty
        {name = name, textTransformations = textTransformations}
  instance ToResourceProperties RateLimitCookieProperty where
    toResourceProperties RateLimitCookieProperty {..}
      = ResourceProperties
          {awsType = "AWS::WAFv2::RuleGroup.RateLimitCookie",
           supportsTags = Prelude.False,
           properties = ["Name" JSON..= name,
                         "TextTransformations" JSON..= textTransformations]}
  instance JSON.ToJSON RateLimitCookieProperty where
    toJSON RateLimitCookieProperty {..}
      = JSON.object
          ["Name" JSON..= name,
           "TextTransformations" JSON..= textTransformations]
  instance Property "Name" RateLimitCookieProperty where
    type PropertyType "Name" RateLimitCookieProperty = Value Prelude.Text
    set newValue RateLimitCookieProperty {..}
      = RateLimitCookieProperty {name = newValue, ..}
  instance Property "TextTransformations" RateLimitCookieProperty where
    type PropertyType "TextTransformations" RateLimitCookieProperty = [TextTransformationProperty]
    set newValue RateLimitCookieProperty {..}
      = RateLimitCookieProperty {textTransformations = newValue, ..}