module Stratosphere.SES.MailManagerIngressPoint.PublicNetworkConfigurationProperty (
        PublicNetworkConfigurationProperty(..),
        mkPublicNetworkConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
data PublicNetworkConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanageringresspoint-publicnetworkconfiguration.html>
    PublicNetworkConfigurationProperty {PublicNetworkConfigurationProperty -> ()
haddock_workaround_ :: (),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanageringresspoint-publicnetworkconfiguration.html#cfn-ses-mailmanageringresspoint-publicnetworkconfiguration-iptype>
                                        PublicNetworkConfigurationProperty -> Object
ipType :: JSON.Object}
  deriving stock (PublicNetworkConfigurationProperty
-> PublicNetworkConfigurationProperty -> Bool
(PublicNetworkConfigurationProperty
 -> PublicNetworkConfigurationProperty -> Bool)
-> (PublicNetworkConfigurationProperty
    -> PublicNetworkConfigurationProperty -> Bool)
-> Eq PublicNetworkConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: PublicNetworkConfigurationProperty
-> PublicNetworkConfigurationProperty -> Bool
== :: PublicNetworkConfigurationProperty
-> PublicNetworkConfigurationProperty -> Bool
$c/= :: PublicNetworkConfigurationProperty
-> PublicNetworkConfigurationProperty -> Bool
/= :: PublicNetworkConfigurationProperty
-> PublicNetworkConfigurationProperty -> Bool
Prelude.Eq, Int -> PublicNetworkConfigurationProperty -> ShowS
[PublicNetworkConfigurationProperty] -> ShowS
PublicNetworkConfigurationProperty -> String
(Int -> PublicNetworkConfigurationProperty -> ShowS)
-> (PublicNetworkConfigurationProperty -> String)
-> ([PublicNetworkConfigurationProperty] -> ShowS)
-> Show PublicNetworkConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> PublicNetworkConfigurationProperty -> ShowS
showsPrec :: Int -> PublicNetworkConfigurationProperty -> ShowS
$cshow :: PublicNetworkConfigurationProperty -> String
show :: PublicNetworkConfigurationProperty -> String
$cshowList :: [PublicNetworkConfigurationProperty] -> ShowS
showList :: [PublicNetworkConfigurationProperty] -> ShowS
Prelude.Show)
mkPublicNetworkConfigurationProperty ::
  JSON.Object -> PublicNetworkConfigurationProperty
mkPublicNetworkConfigurationProperty :: Object -> PublicNetworkConfigurationProperty
mkPublicNetworkConfigurationProperty Object
ipType
  = PublicNetworkConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), ipType :: Object
ipType = Object
ipType}
instance ToResourceProperties PublicNetworkConfigurationProperty where
  toResourceProperties :: PublicNetworkConfigurationProperty -> ResourceProperties
toResourceProperties PublicNetworkConfigurationProperty {()
Object
haddock_workaround_ :: PublicNetworkConfigurationProperty -> ()
ipType :: PublicNetworkConfigurationProperty -> Object
haddock_workaround_ :: ()
ipType :: Object
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::SES::MailManagerIngressPoint.PublicNetworkConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"IpType" Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Object
ipType]}
instance JSON.ToJSON PublicNetworkConfigurationProperty where
  toJSON :: PublicNetworkConfigurationProperty -> Value
toJSON PublicNetworkConfigurationProperty {()
Object
haddock_workaround_ :: PublicNetworkConfigurationProperty -> ()
ipType :: PublicNetworkConfigurationProperty -> Object
haddock_workaround_ :: ()
ipType :: Object
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"IpType" Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Object
ipType]
instance Property "IpType" PublicNetworkConfigurationProperty where
  type PropertyType "IpType" PublicNetworkConfigurationProperty = JSON.Object
  set :: PropertyType "IpType" PublicNetworkConfigurationProperty
-> PublicNetworkConfigurationProperty
-> PublicNetworkConfigurationProperty
set PropertyType "IpType" PublicNetworkConfigurationProperty
newValue PublicNetworkConfigurationProperty {()
Object
haddock_workaround_ :: PublicNetworkConfigurationProperty -> ()
ipType :: PublicNetworkConfigurationProperty -> Object
haddock_workaround_ :: ()
ipType :: Object
..}
    = PublicNetworkConfigurationProperty {ipType :: Object
ipType = Object
PropertyType "IpType" PublicNetworkConfigurationProperty
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}