module Stratosphere.EFS.FileSystem.ReplicationDestinationProperty (
        ReplicationDestinationProperty(..),
        mkReplicationDestinationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ReplicationDestinationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-replicationdestination.html>
    ReplicationDestinationProperty {ReplicationDestinationProperty -> ()
haddock_workaround_ :: (),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-replicationdestination.html#cfn-efs-filesystem-replicationdestination-availabilityzonename>
                                    ReplicationDestinationProperty -> Maybe (Value Text)
availabilityZoneName :: (Prelude.Maybe (Value Prelude.Text)),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-replicationdestination.html#cfn-efs-filesystem-replicationdestination-filesystemid>
                                    ReplicationDestinationProperty -> Maybe (Value Text)
fileSystemId :: (Prelude.Maybe (Value Prelude.Text)),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-replicationdestination.html#cfn-efs-filesystem-replicationdestination-kmskeyid>
                                    ReplicationDestinationProperty -> Maybe (Value Text)
kmsKeyId :: (Prelude.Maybe (Value Prelude.Text)),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-replicationdestination.html#cfn-efs-filesystem-replicationdestination-region>
                                    ReplicationDestinationProperty -> Maybe (Value Text)
region :: (Prelude.Maybe (Value Prelude.Text)),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-replicationdestination.html#cfn-efs-filesystem-replicationdestination-rolearn>
                                    ReplicationDestinationProperty -> Maybe (Value Text)
roleArn :: (Prelude.Maybe (Value Prelude.Text)),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-replicationdestination.html#cfn-efs-filesystem-replicationdestination-status>
                                    ReplicationDestinationProperty -> Maybe (Value Text)
status :: (Prelude.Maybe (Value Prelude.Text)),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-replicationdestination.html#cfn-efs-filesystem-replicationdestination-statusmessage>
                                    ReplicationDestinationProperty -> Maybe (Value Text)
statusMessage :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (ReplicationDestinationProperty
-> ReplicationDestinationProperty -> Bool
(ReplicationDestinationProperty
 -> ReplicationDestinationProperty -> Bool)
-> (ReplicationDestinationProperty
    -> ReplicationDestinationProperty -> Bool)
-> Eq ReplicationDestinationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ReplicationDestinationProperty
-> ReplicationDestinationProperty -> Bool
== :: ReplicationDestinationProperty
-> ReplicationDestinationProperty -> Bool
$c/= :: ReplicationDestinationProperty
-> ReplicationDestinationProperty -> Bool
/= :: ReplicationDestinationProperty
-> ReplicationDestinationProperty -> Bool
Prelude.Eq, Int -> ReplicationDestinationProperty -> ShowS
[ReplicationDestinationProperty] -> ShowS
ReplicationDestinationProperty -> String
(Int -> ReplicationDestinationProperty -> ShowS)
-> (ReplicationDestinationProperty -> String)
-> ([ReplicationDestinationProperty] -> ShowS)
-> Show ReplicationDestinationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ReplicationDestinationProperty -> ShowS
showsPrec :: Int -> ReplicationDestinationProperty -> ShowS
$cshow :: ReplicationDestinationProperty -> String
show :: ReplicationDestinationProperty -> String
$cshowList :: [ReplicationDestinationProperty] -> ShowS
showList :: [ReplicationDestinationProperty] -> ShowS
Prelude.Show)
mkReplicationDestinationProperty :: ReplicationDestinationProperty
mkReplicationDestinationProperty :: ReplicationDestinationProperty
mkReplicationDestinationProperty
  = ReplicationDestinationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), availabilityZoneName :: Maybe (Value Text)
availabilityZoneName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       fileSystemId :: Maybe (Value Text)
fileSystemId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, kmsKeyId :: Maybe (Value Text)
kmsKeyId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       region :: Maybe (Value Text)
region = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, roleArn :: Maybe (Value Text)
roleArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       status :: Maybe (Value Text)
status = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, statusMessage :: Maybe (Value Text)
statusMessage = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ReplicationDestinationProperty where
  toResourceProperties :: ReplicationDestinationProperty -> ResourceProperties
toResourceProperties ReplicationDestinationProperty {Maybe (Value Text)
()
haddock_workaround_ :: ReplicationDestinationProperty -> ()
availabilityZoneName :: ReplicationDestinationProperty -> Maybe (Value Text)
fileSystemId :: ReplicationDestinationProperty -> Maybe (Value Text)
kmsKeyId :: ReplicationDestinationProperty -> Maybe (Value Text)
region :: ReplicationDestinationProperty -> Maybe (Value Text)
roleArn :: ReplicationDestinationProperty -> Maybe (Value Text)
status :: ReplicationDestinationProperty -> Maybe (Value Text)
statusMessage :: ReplicationDestinationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::EFS::FileSystem.ReplicationDestination",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [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
"AvailabilityZoneName" (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)
availabilityZoneName,
                            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
"FileSystemId" (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)
fileSystemId,
                            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
"KmsKeyId" (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)
kmsKeyId,
                            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
"Region" (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)
region,
                            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
"RoleArn" (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)
roleArn,
                            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
"Status" (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)
status,
                            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
"StatusMessage" (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)
statusMessage])}
instance JSON.ToJSON ReplicationDestinationProperty where
  toJSON :: ReplicationDestinationProperty -> Value
toJSON ReplicationDestinationProperty {Maybe (Value Text)
()
haddock_workaround_ :: ReplicationDestinationProperty -> ()
availabilityZoneName :: ReplicationDestinationProperty -> Maybe (Value Text)
fileSystemId :: ReplicationDestinationProperty -> Maybe (Value Text)
kmsKeyId :: ReplicationDestinationProperty -> Maybe (Value Text)
region :: ReplicationDestinationProperty -> Maybe (Value Text)
roleArn :: ReplicationDestinationProperty -> Maybe (Value Text)
status :: ReplicationDestinationProperty -> Maybe (Value Text)
statusMessage :: ReplicationDestinationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [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
"AvailabilityZoneName" (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)
availabilityZoneName,
               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
"FileSystemId" (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)
fileSystemId,
               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
"KmsKeyId" (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)
kmsKeyId,
               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
"Region" (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)
region,
               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
"RoleArn" (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)
roleArn,
               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
"Status" (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)
status,
               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
"StatusMessage" (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)
statusMessage]))
instance Property "AvailabilityZoneName" ReplicationDestinationProperty where
  type PropertyType "AvailabilityZoneName" ReplicationDestinationProperty = Value Prelude.Text
  set :: PropertyType "AvailabilityZoneName" ReplicationDestinationProperty
-> ReplicationDestinationProperty -> ReplicationDestinationProperty
set PropertyType "AvailabilityZoneName" ReplicationDestinationProperty
newValue ReplicationDestinationProperty {Maybe (Value Text)
()
haddock_workaround_ :: ReplicationDestinationProperty -> ()
availabilityZoneName :: ReplicationDestinationProperty -> Maybe (Value Text)
fileSystemId :: ReplicationDestinationProperty -> Maybe (Value Text)
kmsKeyId :: ReplicationDestinationProperty -> Maybe (Value Text)
region :: ReplicationDestinationProperty -> Maybe (Value Text)
roleArn :: ReplicationDestinationProperty -> Maybe (Value Text)
status :: ReplicationDestinationProperty -> Maybe (Value Text)
statusMessage :: ReplicationDestinationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
..}
    = ReplicationDestinationProperty
        {availabilityZoneName :: Maybe (Value Text)
availabilityZoneName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AvailabilityZoneName" ReplicationDestinationProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
haddock_workaround_ :: ()
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
..}
instance Property "FileSystemId" ReplicationDestinationProperty where
  type PropertyType "FileSystemId" ReplicationDestinationProperty = Value Prelude.Text
  set :: PropertyType "FileSystemId" ReplicationDestinationProperty
-> ReplicationDestinationProperty -> ReplicationDestinationProperty
set PropertyType "FileSystemId" ReplicationDestinationProperty
newValue ReplicationDestinationProperty {Maybe (Value Text)
()
haddock_workaround_ :: ReplicationDestinationProperty -> ()
availabilityZoneName :: ReplicationDestinationProperty -> Maybe (Value Text)
fileSystemId :: ReplicationDestinationProperty -> Maybe (Value Text)
kmsKeyId :: ReplicationDestinationProperty -> Maybe (Value Text)
region :: ReplicationDestinationProperty -> Maybe (Value Text)
roleArn :: ReplicationDestinationProperty -> Maybe (Value Text)
status :: ReplicationDestinationProperty -> Maybe (Value Text)
statusMessage :: ReplicationDestinationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
..}
    = ReplicationDestinationProperty
        {fileSystemId :: Maybe (Value Text)
fileSystemId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FileSystemId" ReplicationDestinationProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
..}
instance Property "KmsKeyId" ReplicationDestinationProperty where
  type PropertyType "KmsKeyId" ReplicationDestinationProperty = Value Prelude.Text
  set :: PropertyType "KmsKeyId" ReplicationDestinationProperty
-> ReplicationDestinationProperty -> ReplicationDestinationProperty
set PropertyType "KmsKeyId" ReplicationDestinationProperty
newValue ReplicationDestinationProperty {Maybe (Value Text)
()
haddock_workaround_ :: ReplicationDestinationProperty -> ()
availabilityZoneName :: ReplicationDestinationProperty -> Maybe (Value Text)
fileSystemId :: ReplicationDestinationProperty -> Maybe (Value Text)
kmsKeyId :: ReplicationDestinationProperty -> Maybe (Value Text)
region :: ReplicationDestinationProperty -> Maybe (Value Text)
roleArn :: ReplicationDestinationProperty -> Maybe (Value Text)
status :: ReplicationDestinationProperty -> Maybe (Value Text)
statusMessage :: ReplicationDestinationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
..}
    = ReplicationDestinationProperty
        {kmsKeyId :: Maybe (Value Text)
kmsKeyId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "KmsKeyId" ReplicationDestinationProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
..}
instance Property "Region" ReplicationDestinationProperty where
  type PropertyType "Region" ReplicationDestinationProperty = Value Prelude.Text
  set :: PropertyType "Region" ReplicationDestinationProperty
-> ReplicationDestinationProperty -> ReplicationDestinationProperty
set PropertyType "Region" ReplicationDestinationProperty
newValue ReplicationDestinationProperty {Maybe (Value Text)
()
haddock_workaround_ :: ReplicationDestinationProperty -> ()
availabilityZoneName :: ReplicationDestinationProperty -> Maybe (Value Text)
fileSystemId :: ReplicationDestinationProperty -> Maybe (Value Text)
kmsKeyId :: ReplicationDestinationProperty -> Maybe (Value Text)
region :: ReplicationDestinationProperty -> Maybe (Value Text)
roleArn :: ReplicationDestinationProperty -> Maybe (Value Text)
status :: ReplicationDestinationProperty -> Maybe (Value Text)
statusMessage :: ReplicationDestinationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
..}
    = ReplicationDestinationProperty
        {region :: Maybe (Value Text)
region = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Region" ReplicationDestinationProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
..}
instance Property "RoleArn" ReplicationDestinationProperty where
  type PropertyType "RoleArn" ReplicationDestinationProperty = Value Prelude.Text
  set :: PropertyType "RoleArn" ReplicationDestinationProperty
-> ReplicationDestinationProperty -> ReplicationDestinationProperty
set PropertyType "RoleArn" ReplicationDestinationProperty
newValue ReplicationDestinationProperty {Maybe (Value Text)
()
haddock_workaround_ :: ReplicationDestinationProperty -> ()
availabilityZoneName :: ReplicationDestinationProperty -> Maybe (Value Text)
fileSystemId :: ReplicationDestinationProperty -> Maybe (Value Text)
kmsKeyId :: ReplicationDestinationProperty -> Maybe (Value Text)
region :: ReplicationDestinationProperty -> Maybe (Value Text)
roleArn :: ReplicationDestinationProperty -> Maybe (Value Text)
status :: ReplicationDestinationProperty -> Maybe (Value Text)
statusMessage :: ReplicationDestinationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
..}
    = ReplicationDestinationProperty
        {roleArn :: Maybe (Value Text)
roleArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RoleArn" ReplicationDestinationProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
..}
instance Property "Status" ReplicationDestinationProperty where
  type PropertyType "Status" ReplicationDestinationProperty = Value Prelude.Text
  set :: PropertyType "Status" ReplicationDestinationProperty
-> ReplicationDestinationProperty -> ReplicationDestinationProperty
set PropertyType "Status" ReplicationDestinationProperty
newValue ReplicationDestinationProperty {Maybe (Value Text)
()
haddock_workaround_ :: ReplicationDestinationProperty -> ()
availabilityZoneName :: ReplicationDestinationProperty -> Maybe (Value Text)
fileSystemId :: ReplicationDestinationProperty -> Maybe (Value Text)
kmsKeyId :: ReplicationDestinationProperty -> Maybe (Value Text)
region :: ReplicationDestinationProperty -> Maybe (Value Text)
roleArn :: ReplicationDestinationProperty -> Maybe (Value Text)
status :: ReplicationDestinationProperty -> Maybe (Value Text)
statusMessage :: ReplicationDestinationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
..}
    = ReplicationDestinationProperty
        {status :: Maybe (Value Text)
status = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Status" ReplicationDestinationProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
..}
instance Property "StatusMessage" ReplicationDestinationProperty where
  type PropertyType "StatusMessage" ReplicationDestinationProperty = Value Prelude.Text
  set :: PropertyType "StatusMessage" ReplicationDestinationProperty
-> ReplicationDestinationProperty -> ReplicationDestinationProperty
set PropertyType "StatusMessage" ReplicationDestinationProperty
newValue ReplicationDestinationProperty {Maybe (Value Text)
()
haddock_workaround_ :: ReplicationDestinationProperty -> ()
availabilityZoneName :: ReplicationDestinationProperty -> Maybe (Value Text)
fileSystemId :: ReplicationDestinationProperty -> Maybe (Value Text)
kmsKeyId :: ReplicationDestinationProperty -> Maybe (Value Text)
region :: ReplicationDestinationProperty -> Maybe (Value Text)
roleArn :: ReplicationDestinationProperty -> Maybe (Value Text)
status :: ReplicationDestinationProperty -> Maybe (Value Text)
statusMessage :: ReplicationDestinationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
statusMessage :: Maybe (Value Text)
..}
    = ReplicationDestinationProperty
        {statusMessage :: Maybe (Value Text)
statusMessage = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "StatusMessage" ReplicationDestinationProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityZoneName :: Maybe (Value Text)
fileSystemId :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
status :: Maybe (Value Text)
..}