module Stratosphere.RDS.OptionGroup.OptionConfigurationProperty (
        module Exports, OptionConfigurationProperty(..),
        mkOptionConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.RDS.OptionGroup.OptionSettingProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data OptionConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfiguration.html>
    OptionConfigurationProperty {OptionConfigurationProperty -> ()
haddock_workaround_ :: (),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfiguration.html#cfn-rds-optiongroup-optionconfiguration-dbsecuritygroupmemberships>
                                 OptionConfigurationProperty -> Maybe (ValueList Text)
dBSecurityGroupMemberships :: (Prelude.Maybe (ValueList Prelude.Text)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfiguration.html#cfn-rds-optiongroup-optionconfiguration-optionname>
                                 OptionConfigurationProperty -> Value Text
optionName :: (Value Prelude.Text),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfiguration.html#cfn-rds-optiongroup-optionconfiguration-optionsettings>
                                 OptionConfigurationProperty -> Maybe [OptionSettingProperty]
optionSettings :: (Prelude.Maybe [OptionSettingProperty]),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfiguration.html#cfn-rds-optiongroup-optionconfiguration-optionversion>
                                 OptionConfigurationProperty -> Maybe (Value Text)
optionVersion :: (Prelude.Maybe (Value Prelude.Text)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfiguration.html#cfn-rds-optiongroup-optionconfiguration-port>
                                 OptionConfigurationProperty -> Maybe (Value Integer)
port :: (Prelude.Maybe (Value Prelude.Integer)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfiguration.html#cfn-rds-optiongroup-optionconfiguration-vpcsecuritygroupmemberships>
                                 OptionConfigurationProperty -> Maybe (ValueList Text)
vpcSecurityGroupMemberships :: (Prelude.Maybe (ValueList Prelude.Text))}
  deriving stock (OptionConfigurationProperty -> OptionConfigurationProperty -> Bool
(OptionConfigurationProperty
 -> OptionConfigurationProperty -> Bool)
-> (OptionConfigurationProperty
    -> OptionConfigurationProperty -> Bool)
-> Eq OptionConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: OptionConfigurationProperty -> OptionConfigurationProperty -> Bool
== :: OptionConfigurationProperty -> OptionConfigurationProperty -> Bool
$c/= :: OptionConfigurationProperty -> OptionConfigurationProperty -> Bool
/= :: OptionConfigurationProperty -> OptionConfigurationProperty -> Bool
Prelude.Eq, Int -> OptionConfigurationProperty -> ShowS
[OptionConfigurationProperty] -> ShowS
OptionConfigurationProperty -> String
(Int -> OptionConfigurationProperty -> ShowS)
-> (OptionConfigurationProperty -> String)
-> ([OptionConfigurationProperty] -> ShowS)
-> Show OptionConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> OptionConfigurationProperty -> ShowS
showsPrec :: Int -> OptionConfigurationProperty -> ShowS
$cshow :: OptionConfigurationProperty -> String
show :: OptionConfigurationProperty -> String
$cshowList :: [OptionConfigurationProperty] -> ShowS
showList :: [OptionConfigurationProperty] -> ShowS
Prelude.Show)
mkOptionConfigurationProperty ::
  Value Prelude.Text -> OptionConfigurationProperty
mkOptionConfigurationProperty :: Value Text -> OptionConfigurationProperty
mkOptionConfigurationProperty Value Text
optionName
  = OptionConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), optionName :: Value Text
optionName = Value Text
optionName,
       dBSecurityGroupMemberships :: Maybe (ValueList Text)
dBSecurityGroupMemberships = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       optionSettings :: Maybe [OptionSettingProperty]
optionSettings = Maybe [OptionSettingProperty]
forall a. Maybe a
Prelude.Nothing, optionVersion :: Maybe (Value Text)
optionVersion = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       port :: Maybe (Value Integer)
port = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       vpcSecurityGroupMemberships :: Maybe (ValueList Text)
vpcSecurityGroupMemberships = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties OptionConfigurationProperty where
  toResourceProperties :: OptionConfigurationProperty -> ResourceProperties
toResourceProperties OptionConfigurationProperty {Maybe [OptionSettingProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OptionConfigurationProperty -> ()
dBSecurityGroupMemberships :: OptionConfigurationProperty -> Maybe (ValueList Text)
optionName :: OptionConfigurationProperty -> Value Text
optionSettings :: OptionConfigurationProperty -> Maybe [OptionSettingProperty]
optionVersion :: OptionConfigurationProperty -> Maybe (Value Text)
port :: OptionConfigurationProperty -> Maybe (Value Integer)
vpcSecurityGroupMemberships :: OptionConfigurationProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionName :: Value Text
optionSettings :: Maybe [OptionSettingProperty]
optionVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::RDS::OptionGroup.OptionConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"OptionName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
optionName]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DBSecurityGroupMemberships"
                                 (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
dBSecurityGroupMemberships,
                               Key -> [OptionSettingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OptionSettings" ([OptionSettingProperty] -> (Key, Value))
-> Maybe [OptionSettingProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [OptionSettingProperty]
optionSettings,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OptionVersion" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
optionVersion,
                               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Port" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
port,
                               Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VpcSecurityGroupMemberships"
                                 (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
vpcSecurityGroupMemberships]))}
instance JSON.ToJSON OptionConfigurationProperty where
  toJSON :: OptionConfigurationProperty -> Value
toJSON OptionConfigurationProperty {Maybe [OptionSettingProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OptionConfigurationProperty -> ()
dBSecurityGroupMemberships :: OptionConfigurationProperty -> Maybe (ValueList Text)
optionName :: OptionConfigurationProperty -> Value Text
optionSettings :: OptionConfigurationProperty -> Maybe [OptionSettingProperty]
optionVersion :: OptionConfigurationProperty -> Maybe (Value Text)
port :: OptionConfigurationProperty -> Maybe (Value Integer)
vpcSecurityGroupMemberships :: OptionConfigurationProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionName :: Value Text
optionSettings :: Maybe [OptionSettingProperty]
optionVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"OptionName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
optionName]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DBSecurityGroupMemberships"
                    (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
dBSecurityGroupMemberships,
                  Key -> [OptionSettingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OptionSettings" ([OptionSettingProperty] -> (Key, Value))
-> Maybe [OptionSettingProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [OptionSettingProperty]
optionSettings,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OptionVersion" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
optionVersion,
                  Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Port" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
port,
                  Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VpcSecurityGroupMemberships"
                    (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
vpcSecurityGroupMemberships])))
instance Property "DBSecurityGroupMemberships" OptionConfigurationProperty where
  type PropertyType "DBSecurityGroupMemberships" OptionConfigurationProperty = ValueList Prelude.Text
  set :: PropertyType
  "DBSecurityGroupMemberships" OptionConfigurationProperty
-> OptionConfigurationProperty -> OptionConfigurationProperty
set PropertyType
  "DBSecurityGroupMemberships" OptionConfigurationProperty
newValue OptionConfigurationProperty {Maybe [OptionSettingProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OptionConfigurationProperty -> ()
dBSecurityGroupMemberships :: OptionConfigurationProperty -> Maybe (ValueList Text)
optionName :: OptionConfigurationProperty -> Value Text
optionSettings :: OptionConfigurationProperty -> Maybe [OptionSettingProperty]
optionVersion :: OptionConfigurationProperty -> Maybe (Value Text)
port :: OptionConfigurationProperty -> Maybe (Value Integer)
vpcSecurityGroupMemberships :: OptionConfigurationProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionName :: Value Text
optionSettings :: Maybe [OptionSettingProperty]
optionVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
..}
    = OptionConfigurationProperty
        {dBSecurityGroupMemberships :: Maybe (ValueList Text)
dBSecurityGroupMemberships = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "DBSecurityGroupMemberships" OptionConfigurationProperty
ValueList Text
newValue, Maybe [OptionSettingProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
optionName :: Value Text
optionSettings :: Maybe [OptionSettingProperty]
optionVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
haddock_workaround_ :: ()
optionName :: Value Text
optionSettings :: Maybe [OptionSettingProperty]
optionVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
..}
instance Property "OptionName" OptionConfigurationProperty where
  type PropertyType "OptionName" OptionConfigurationProperty = Value Prelude.Text
  set :: PropertyType "OptionName" OptionConfigurationProperty
-> OptionConfigurationProperty -> OptionConfigurationProperty
set PropertyType "OptionName" OptionConfigurationProperty
newValue OptionConfigurationProperty {Maybe [OptionSettingProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OptionConfigurationProperty -> ()
dBSecurityGroupMemberships :: OptionConfigurationProperty -> Maybe (ValueList Text)
optionName :: OptionConfigurationProperty -> Value Text
optionSettings :: OptionConfigurationProperty -> Maybe [OptionSettingProperty]
optionVersion :: OptionConfigurationProperty -> Maybe (Value Text)
port :: OptionConfigurationProperty -> Maybe (Value Integer)
vpcSecurityGroupMemberships :: OptionConfigurationProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionName :: Value Text
optionSettings :: Maybe [OptionSettingProperty]
optionVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
..}
    = OptionConfigurationProperty {optionName :: Value Text
optionName = PropertyType "OptionName" OptionConfigurationProperty
Value Text
newValue, Maybe [OptionSettingProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionSettings :: Maybe [OptionSettingProperty]
optionVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionSettings :: Maybe [OptionSettingProperty]
optionVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
..}
instance Property "OptionSettings" OptionConfigurationProperty where
  type PropertyType "OptionSettings" OptionConfigurationProperty = [OptionSettingProperty]
  set :: PropertyType "OptionSettings" OptionConfigurationProperty
-> OptionConfigurationProperty -> OptionConfigurationProperty
set PropertyType "OptionSettings" OptionConfigurationProperty
newValue OptionConfigurationProperty {Maybe [OptionSettingProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OptionConfigurationProperty -> ()
dBSecurityGroupMemberships :: OptionConfigurationProperty -> Maybe (ValueList Text)
optionName :: OptionConfigurationProperty -> Value Text
optionSettings :: OptionConfigurationProperty -> Maybe [OptionSettingProperty]
optionVersion :: OptionConfigurationProperty -> Maybe (Value Text)
port :: OptionConfigurationProperty -> Maybe (Value Integer)
vpcSecurityGroupMemberships :: OptionConfigurationProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionName :: Value Text
optionSettings :: Maybe [OptionSettingProperty]
optionVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
..}
    = OptionConfigurationProperty
        {optionSettings :: Maybe [OptionSettingProperty]
optionSettings = [OptionSettingProperty] -> Maybe [OptionSettingProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [OptionSettingProperty]
PropertyType "OptionSettings" OptionConfigurationProperty
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionName :: Value Text
optionVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionName :: Value Text
optionVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
..}
instance Property "OptionVersion" OptionConfigurationProperty where
  type PropertyType "OptionVersion" OptionConfigurationProperty = Value Prelude.Text
  set :: PropertyType "OptionVersion" OptionConfigurationProperty
-> OptionConfigurationProperty -> OptionConfigurationProperty
set PropertyType "OptionVersion" OptionConfigurationProperty
newValue OptionConfigurationProperty {Maybe [OptionSettingProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OptionConfigurationProperty -> ()
dBSecurityGroupMemberships :: OptionConfigurationProperty -> Maybe (ValueList Text)
optionName :: OptionConfigurationProperty -> Value Text
optionSettings :: OptionConfigurationProperty -> Maybe [OptionSettingProperty]
optionVersion :: OptionConfigurationProperty -> Maybe (Value Text)
port :: OptionConfigurationProperty -> Maybe (Value Integer)
vpcSecurityGroupMemberships :: OptionConfigurationProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionName :: Value Text
optionSettings :: Maybe [OptionSettingProperty]
optionVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
..}
    = OptionConfigurationProperty
        {optionVersion :: Maybe (Value Text)
optionVersion = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OptionVersion" OptionConfigurationProperty
Value Text
newValue, Maybe [OptionSettingProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
()
Value Text
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionName :: Value Text
optionSettings :: Maybe [OptionSettingProperty]
port :: Maybe (Value Integer)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionName :: Value Text
optionSettings :: Maybe [OptionSettingProperty]
port :: Maybe (Value Integer)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
..}
instance Property "Port" OptionConfigurationProperty where
  type PropertyType "Port" OptionConfigurationProperty = Value Prelude.Integer
  set :: PropertyType "Port" OptionConfigurationProperty
-> OptionConfigurationProperty -> OptionConfigurationProperty
set PropertyType "Port" OptionConfigurationProperty
newValue OptionConfigurationProperty {Maybe [OptionSettingProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OptionConfigurationProperty -> ()
dBSecurityGroupMemberships :: OptionConfigurationProperty -> Maybe (ValueList Text)
optionName :: OptionConfigurationProperty -> Value Text
optionSettings :: OptionConfigurationProperty -> Maybe [OptionSettingProperty]
optionVersion :: OptionConfigurationProperty -> Maybe (Value Text)
port :: OptionConfigurationProperty -> Maybe (Value Integer)
vpcSecurityGroupMemberships :: OptionConfigurationProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionName :: Value Text
optionSettings :: Maybe [OptionSettingProperty]
optionVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
..}
    = OptionConfigurationProperty {port :: Maybe (Value Integer)
port = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Port" OptionConfigurationProperty
Value Integer
newValue, Maybe [OptionSettingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionName :: Value Text
optionSettings :: Maybe [OptionSettingProperty]
optionVersion :: Maybe (Value Text)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionName :: Value Text
optionSettings :: Maybe [OptionSettingProperty]
optionVersion :: Maybe (Value Text)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
..}
instance Property "VpcSecurityGroupMemberships" OptionConfigurationProperty where
  type PropertyType "VpcSecurityGroupMemberships" OptionConfigurationProperty = ValueList Prelude.Text
  set :: PropertyType
  "VpcSecurityGroupMemberships" OptionConfigurationProperty
-> OptionConfigurationProperty -> OptionConfigurationProperty
set PropertyType
  "VpcSecurityGroupMemberships" OptionConfigurationProperty
newValue OptionConfigurationProperty {Maybe [OptionSettingProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OptionConfigurationProperty -> ()
dBSecurityGroupMemberships :: OptionConfigurationProperty -> Maybe (ValueList Text)
optionName :: OptionConfigurationProperty -> Value Text
optionSettings :: OptionConfigurationProperty -> Maybe [OptionSettingProperty]
optionVersion :: OptionConfigurationProperty -> Maybe (Value Text)
port :: OptionConfigurationProperty -> Maybe (Value Integer)
vpcSecurityGroupMemberships :: OptionConfigurationProperty -> Maybe (ValueList Text)
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionName :: Value Text
optionSettings :: Maybe [OptionSettingProperty]
optionVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
vpcSecurityGroupMemberships :: Maybe (ValueList Text)
..}
    = OptionConfigurationProperty
        {vpcSecurityGroupMemberships :: Maybe (ValueList Text)
vpcSecurityGroupMemberships = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "VpcSecurityGroupMemberships" OptionConfigurationProperty
ValueList Text
newValue, Maybe [OptionSettingProperty]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionName :: Value Text
optionSettings :: Maybe [OptionSettingProperty]
optionVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
haddock_workaround_ :: ()
dBSecurityGroupMemberships :: Maybe (ValueList Text)
optionName :: Value Text
optionSettings :: Maybe [OptionSettingProperty]
optionVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
..}