module Stratosphere.DirectoryService.SimpleAD (
        module Exports, SimpleAD(..), mkSimpleAD
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.DirectoryService.SimpleAD.VpcSettingsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SimpleAD
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html>
    SimpleAD {SimpleAD -> ()
haddock_workaround_ :: (),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-createalias>
              SimpleAD -> Maybe (Value Bool)
createAlias :: (Prelude.Maybe (Value Prelude.Bool)),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-description>
              SimpleAD -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-enablesso>
              SimpleAD -> Maybe (Value Bool)
enableSso :: (Prelude.Maybe (Value Prelude.Bool)),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-name>
              SimpleAD -> Value Text
name :: (Value Prelude.Text),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-password>
              SimpleAD -> Maybe (Value Text)
password :: (Prelude.Maybe (Value Prelude.Text)),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-shortname>
              SimpleAD -> Maybe (Value Text)
shortName :: (Prelude.Maybe (Value Prelude.Text)),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-size>
              SimpleAD -> Value Text
size :: (Value Prelude.Text),
              -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-vpcsettings>
              SimpleAD -> VpcSettingsProperty
vpcSettings :: VpcSettingsProperty}
  deriving stock (SimpleAD -> SimpleAD -> Bool
(SimpleAD -> SimpleAD -> Bool)
-> (SimpleAD -> SimpleAD -> Bool) -> Eq SimpleAD
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SimpleAD -> SimpleAD -> Bool
== :: SimpleAD -> SimpleAD -> Bool
$c/= :: SimpleAD -> SimpleAD -> Bool
/= :: SimpleAD -> SimpleAD -> Bool
Prelude.Eq, Int -> SimpleAD -> ShowS
[SimpleAD] -> ShowS
SimpleAD -> String
(Int -> SimpleAD -> ShowS)
-> (SimpleAD -> String) -> ([SimpleAD] -> ShowS) -> Show SimpleAD
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SimpleAD -> ShowS
showsPrec :: Int -> SimpleAD -> ShowS
$cshow :: SimpleAD -> String
show :: SimpleAD -> String
$cshowList :: [SimpleAD] -> ShowS
showList :: [SimpleAD] -> ShowS
Prelude.Show)
mkSimpleAD ::
  Value Prelude.Text
  -> Value Prelude.Text -> VpcSettingsProperty -> SimpleAD
mkSimpleAD :: Value Text -> Value Text -> VpcSettingsProperty -> SimpleAD
mkSimpleAD Value Text
name Value Text
size VpcSettingsProperty
vpcSettings
  = SimpleAD
      {haddock_workaround_ :: ()
haddock_workaround_ = (), name :: Value Text
name = Value Text
name, size :: Value Text
size = Value Text
size,
       vpcSettings :: VpcSettingsProperty
vpcSettings = VpcSettingsProperty
vpcSettings, createAlias :: Maybe (Value Bool)
createAlias = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, enableSso :: Maybe (Value Bool)
enableSso = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       password :: Maybe (Value Text)
password = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, shortName :: Maybe (Value Text)
shortName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties SimpleAD where
  toResourceProperties :: SimpleAD -> ResourceProperties
toResourceProperties SimpleAD {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: SimpleAD -> ()
createAlias :: SimpleAD -> Maybe (Value Bool)
description :: SimpleAD -> Maybe (Value Text)
enableSso :: SimpleAD -> Maybe (Value Bool)
name :: SimpleAD -> Value Text
password :: SimpleAD -> Maybe (Value Text)
shortName :: SimpleAD -> Maybe (Value Text)
size :: SimpleAD -> Value Text
vpcSettings :: SimpleAD -> VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::DirectoryService::SimpleAD",
         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
"Name" 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
name, Key
"Size" 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
size,
                            Key
"VpcSettings" Key -> VpcSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= VpcSettingsProperty
vpcSettings]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CreateAlias" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
createAlias,
                               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
"Description" (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)
description,
                               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnableSso" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enableSso,
                               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
"Password" (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)
password,
                               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
"ShortName" (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)
shortName]))}
instance JSON.ToJSON SimpleAD where
  toJSON :: SimpleAD -> Value
toJSON SimpleAD {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: SimpleAD -> ()
createAlias :: SimpleAD -> Maybe (Value Bool)
description :: SimpleAD -> Maybe (Value Text)
enableSso :: SimpleAD -> Maybe (Value Bool)
name :: SimpleAD -> Value Text
password :: SimpleAD -> Maybe (Value Text)
shortName :: SimpleAD -> Maybe (Value Text)
size :: SimpleAD -> Value Text
vpcSettings :: SimpleAD -> VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
..}
    = [(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
"Name" 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
name, Key
"Size" 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
size,
               Key
"VpcSettings" Key -> VpcSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= VpcSettingsProperty
vpcSettings]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CreateAlias" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
createAlias,
                  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
"Description" (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)
description,
                  Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnableSso" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enableSso,
                  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
"Password" (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)
password,
                  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
"ShortName" (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)
shortName])))
instance Property "CreateAlias" SimpleAD where
  type PropertyType "CreateAlias" SimpleAD = Value Prelude.Bool
  set :: PropertyType "CreateAlias" SimpleAD -> SimpleAD -> SimpleAD
set PropertyType "CreateAlias" SimpleAD
newValue SimpleAD {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: SimpleAD -> ()
createAlias :: SimpleAD -> Maybe (Value Bool)
description :: SimpleAD -> Maybe (Value Text)
enableSso :: SimpleAD -> Maybe (Value Bool)
name :: SimpleAD -> Value Text
password :: SimpleAD -> Maybe (Value Text)
shortName :: SimpleAD -> Maybe (Value Text)
size :: SimpleAD -> Value Text
vpcSettings :: SimpleAD -> VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
..}
    = SimpleAD {createAlias :: Maybe (Value Bool)
createAlias = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CreateAlias" SimpleAD
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
..}
instance Property "Description" SimpleAD where
  type PropertyType "Description" SimpleAD = Value Prelude.Text
  set :: PropertyType "Description" SimpleAD -> SimpleAD -> SimpleAD
set PropertyType "Description" SimpleAD
newValue SimpleAD {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: SimpleAD -> ()
createAlias :: SimpleAD -> Maybe (Value Bool)
description :: SimpleAD -> Maybe (Value Text)
enableSso :: SimpleAD -> Maybe (Value Bool)
name :: SimpleAD -> Value Text
password :: SimpleAD -> Maybe (Value Text)
shortName :: SimpleAD -> Maybe (Value Text)
size :: SimpleAD -> Value Text
vpcSettings :: SimpleAD -> VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
..}
    = SimpleAD {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" SimpleAD
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
..}
instance Property "EnableSso" SimpleAD where
  type PropertyType "EnableSso" SimpleAD = Value Prelude.Bool
  set :: PropertyType "EnableSso" SimpleAD -> SimpleAD -> SimpleAD
set PropertyType "EnableSso" SimpleAD
newValue SimpleAD {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: SimpleAD -> ()
createAlias :: SimpleAD -> Maybe (Value Bool)
description :: SimpleAD -> Maybe (Value Text)
enableSso :: SimpleAD -> Maybe (Value Bool)
name :: SimpleAD -> Value Text
password :: SimpleAD -> Maybe (Value Text)
shortName :: SimpleAD -> Maybe (Value Text)
size :: SimpleAD -> Value Text
vpcSettings :: SimpleAD -> VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
..}
    = SimpleAD {enableSso :: Maybe (Value Bool)
enableSso = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EnableSso" SimpleAD
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
..}
instance Property "Name" SimpleAD where
  type PropertyType "Name" SimpleAD = Value Prelude.Text
  set :: PropertyType "Name" SimpleAD -> SimpleAD -> SimpleAD
set PropertyType "Name" SimpleAD
newValue SimpleAD {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: SimpleAD -> ()
createAlias :: SimpleAD -> Maybe (Value Bool)
description :: SimpleAD -> Maybe (Value Text)
enableSso :: SimpleAD -> Maybe (Value Bool)
name :: SimpleAD -> Value Text
password :: SimpleAD -> Maybe (Value Text)
shortName :: SimpleAD -> Maybe (Value Text)
size :: SimpleAD -> Value Text
vpcSettings :: SimpleAD -> VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
..} = SimpleAD {name :: Value Text
name = PropertyType "Name" SimpleAD
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
..}
instance Property "Password" SimpleAD where
  type PropertyType "Password" SimpleAD = Value Prelude.Text
  set :: PropertyType "Password" SimpleAD -> SimpleAD -> SimpleAD
set PropertyType "Password" SimpleAD
newValue SimpleAD {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: SimpleAD -> ()
createAlias :: SimpleAD -> Maybe (Value Bool)
description :: SimpleAD -> Maybe (Value Text)
enableSso :: SimpleAD -> Maybe (Value Bool)
name :: SimpleAD -> Value Text
password :: SimpleAD -> Maybe (Value Text)
shortName :: SimpleAD -> Maybe (Value Text)
size :: SimpleAD -> Value Text
vpcSettings :: SimpleAD -> VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
..}
    = SimpleAD {password :: Maybe (Value Text)
password = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Password" SimpleAD
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
..}
instance Property "ShortName" SimpleAD where
  type PropertyType "ShortName" SimpleAD = Value Prelude.Text
  set :: PropertyType "ShortName" SimpleAD -> SimpleAD -> SimpleAD
set PropertyType "ShortName" SimpleAD
newValue SimpleAD {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: SimpleAD -> ()
createAlias :: SimpleAD -> Maybe (Value Bool)
description :: SimpleAD -> Maybe (Value Text)
enableSso :: SimpleAD -> Maybe (Value Bool)
name :: SimpleAD -> Value Text
password :: SimpleAD -> Maybe (Value Text)
shortName :: SimpleAD -> Maybe (Value Text)
size :: SimpleAD -> Value Text
vpcSettings :: SimpleAD -> VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
..}
    = SimpleAD {shortName :: Maybe (Value Text)
shortName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ShortName" SimpleAD
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
..}
instance Property "Size" SimpleAD where
  type PropertyType "Size" SimpleAD = Value Prelude.Text
  set :: PropertyType "Size" SimpleAD -> SimpleAD -> SimpleAD
set PropertyType "Size" SimpleAD
newValue SimpleAD {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: SimpleAD -> ()
createAlias :: SimpleAD -> Maybe (Value Bool)
description :: SimpleAD -> Maybe (Value Text)
enableSso :: SimpleAD -> Maybe (Value Bool)
name :: SimpleAD -> Value Text
password :: SimpleAD -> Maybe (Value Text)
shortName :: SimpleAD -> Maybe (Value Text)
size :: SimpleAD -> Value Text
vpcSettings :: SimpleAD -> VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
..} = SimpleAD {size :: Value Text
size = PropertyType "Size" SimpleAD
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
vpcSettings :: VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
vpcSettings :: VpcSettingsProperty
..}
instance Property "VpcSettings" SimpleAD where
  type PropertyType "VpcSettings" SimpleAD = VpcSettingsProperty
  set :: PropertyType "VpcSettings" SimpleAD -> SimpleAD -> SimpleAD
set PropertyType "VpcSettings" SimpleAD
newValue SimpleAD {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
VpcSettingsProperty
haddock_workaround_ :: SimpleAD -> ()
createAlias :: SimpleAD -> Maybe (Value Bool)
description :: SimpleAD -> Maybe (Value Text)
enableSso :: SimpleAD -> Maybe (Value Bool)
name :: SimpleAD -> Value Text
password :: SimpleAD -> Maybe (Value Text)
shortName :: SimpleAD -> Maybe (Value Text)
size :: SimpleAD -> Value Text
vpcSettings :: SimpleAD -> VpcSettingsProperty
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
vpcSettings :: VpcSettingsProperty
..} = SimpleAD {vpcSettings :: VpcSettingsProperty
vpcSettings = PropertyType "VpcSettings" SimpleAD
VpcSettingsProperty
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
haddock_workaround_ :: ()
createAlias :: Maybe (Value Bool)
description :: Maybe (Value Text)
enableSso :: Maybe (Value Bool)
name :: Value Text
password :: Maybe (Value Text)
shortName :: Maybe (Value Text)
size :: Value Text
..}