module Stratosphere.Backup.BackupSelection.BackupSelectionResourceTypeProperty (
        module Exports, BackupSelectionResourceTypeProperty(..),
        mkBackupSelectionResourceTypeProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Backup.BackupSelection.ConditionResourceTypeProperty as Exports
import {-# SOURCE #-} Stratosphere.Backup.BackupSelection.ConditionsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data BackupSelectionResourceTypeProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-backupselectionresourcetype.html>
    BackupSelectionResourceTypeProperty {BackupSelectionResourceTypeProperty -> ()
haddock_workaround_ :: (),
                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-backupselectionresourcetype.html#cfn-backup-backupselection-backupselectionresourcetype-conditions>
                                         BackupSelectionResourceTypeProperty -> Maybe ConditionsProperty
conditions :: (Prelude.Maybe ConditionsProperty),
                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-backupselectionresourcetype.html#cfn-backup-backupselection-backupselectionresourcetype-iamrolearn>
                                         BackupSelectionResourceTypeProperty -> Value Text
iamRoleArn :: (Value Prelude.Text),
                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-backupselectionresourcetype.html#cfn-backup-backupselection-backupselectionresourcetype-listoftags>
                                         BackupSelectionResourceTypeProperty
-> Maybe [ConditionResourceTypeProperty]
listOfTags :: (Prelude.Maybe [ConditionResourceTypeProperty]),
                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-backupselectionresourcetype.html#cfn-backup-backupselection-backupselectionresourcetype-notresources>
                                         BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
notResources :: (Prelude.Maybe (ValueList Prelude.Text)),
                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-backupselectionresourcetype.html#cfn-backup-backupselection-backupselectionresourcetype-resources>
                                         BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
resources :: (Prelude.Maybe (ValueList Prelude.Text)),
                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-backupselectionresourcetype.html#cfn-backup-backupselection-backupselectionresourcetype-selectionname>
                                         BackupSelectionResourceTypeProperty -> Value Text
selectionName :: (Value Prelude.Text)}
  deriving stock (BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty -> Bool
(BackupSelectionResourceTypeProperty
 -> BackupSelectionResourceTypeProperty -> Bool)
-> (BackupSelectionResourceTypeProperty
    -> BackupSelectionResourceTypeProperty -> Bool)
-> Eq BackupSelectionResourceTypeProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty -> Bool
== :: BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty -> Bool
$c/= :: BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty -> Bool
/= :: BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty -> Bool
Prelude.Eq, Int -> BackupSelectionResourceTypeProperty -> ShowS
[BackupSelectionResourceTypeProperty] -> ShowS
BackupSelectionResourceTypeProperty -> String
(Int -> BackupSelectionResourceTypeProperty -> ShowS)
-> (BackupSelectionResourceTypeProperty -> String)
-> ([BackupSelectionResourceTypeProperty] -> ShowS)
-> Show BackupSelectionResourceTypeProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> BackupSelectionResourceTypeProperty -> ShowS
showsPrec :: Int -> BackupSelectionResourceTypeProperty -> ShowS
$cshow :: BackupSelectionResourceTypeProperty -> String
show :: BackupSelectionResourceTypeProperty -> String
$cshowList :: [BackupSelectionResourceTypeProperty] -> ShowS
showList :: [BackupSelectionResourceTypeProperty] -> ShowS
Prelude.Show)
mkBackupSelectionResourceTypeProperty ::
  Value Prelude.Text
  -> Value Prelude.Text -> BackupSelectionResourceTypeProperty
mkBackupSelectionResourceTypeProperty :: Value Text -> Value Text -> BackupSelectionResourceTypeProperty
mkBackupSelectionResourceTypeProperty Value Text
iamRoleArn Value Text
selectionName
  = BackupSelectionResourceTypeProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), iamRoleArn :: Value Text
iamRoleArn = Value Text
iamRoleArn,
       selectionName :: Value Text
selectionName = Value Text
selectionName, conditions :: Maybe ConditionsProperty
conditions = Maybe ConditionsProperty
forall a. Maybe a
Prelude.Nothing,
       listOfTags :: Maybe [ConditionResourceTypeProperty]
listOfTags = Maybe [ConditionResourceTypeProperty]
forall a. Maybe a
Prelude.Nothing, notResources :: Maybe (ValueList Text)
notResources = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       resources :: Maybe (ValueList Text)
resources = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties BackupSelectionResourceTypeProperty where
  toResourceProperties :: BackupSelectionResourceTypeProperty -> ResourceProperties
toResourceProperties BackupSelectionResourceTypeProperty {Maybe [ConditionResourceTypeProperty]
Maybe (ValueList Text)
Maybe ConditionsProperty
()
Value Text
haddock_workaround_ :: BackupSelectionResourceTypeProperty -> ()
conditions :: BackupSelectionResourceTypeProperty -> Maybe ConditionsProperty
iamRoleArn :: BackupSelectionResourceTypeProperty -> Value Text
listOfTags :: BackupSelectionResourceTypeProperty
-> Maybe [ConditionResourceTypeProperty]
notResources :: BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
resources :: BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
selectionName :: BackupSelectionResourceTypeProperty -> Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
iamRoleArn :: Value Text
listOfTags :: Maybe [ConditionResourceTypeProperty]
notResources :: Maybe (ValueList Text)
resources :: Maybe (ValueList Text)
selectionName :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Backup::BackupSelection.BackupSelectionResourceType",
         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
"IamRoleArn" 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
iamRoleArn,
                            Key
"SelectionName" 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
selectionName]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> ConditionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Conditions" (ConditionsProperty -> (Key, Value))
-> Maybe ConditionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ConditionsProperty
conditions,
                               Key -> [ConditionResourceTypeProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ListOfTags" ([ConditionResourceTypeProperty] -> (Key, Value))
-> Maybe [ConditionResourceTypeProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ConditionResourceTypeProperty]
listOfTags,
                               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
"NotResources" (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)
notResources,
                               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
"Resources" (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)
resources]))}
instance JSON.ToJSON BackupSelectionResourceTypeProperty where
  toJSON :: BackupSelectionResourceTypeProperty -> Value
toJSON BackupSelectionResourceTypeProperty {Maybe [ConditionResourceTypeProperty]
Maybe (ValueList Text)
Maybe ConditionsProperty
()
Value Text
haddock_workaround_ :: BackupSelectionResourceTypeProperty -> ()
conditions :: BackupSelectionResourceTypeProperty -> Maybe ConditionsProperty
iamRoleArn :: BackupSelectionResourceTypeProperty -> Value Text
listOfTags :: BackupSelectionResourceTypeProperty
-> Maybe [ConditionResourceTypeProperty]
notResources :: BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
resources :: BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
selectionName :: BackupSelectionResourceTypeProperty -> Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
iamRoleArn :: Value Text
listOfTags :: Maybe [ConditionResourceTypeProperty]
notResources :: Maybe (ValueList Text)
resources :: Maybe (ValueList Text)
selectionName :: Value 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
"IamRoleArn" 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
iamRoleArn,
               Key
"SelectionName" 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
selectionName]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> ConditionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Conditions" (ConditionsProperty -> (Key, Value))
-> Maybe ConditionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ConditionsProperty
conditions,
                  Key -> [ConditionResourceTypeProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ListOfTags" ([ConditionResourceTypeProperty] -> (Key, Value))
-> Maybe [ConditionResourceTypeProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ConditionResourceTypeProperty]
listOfTags,
                  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
"NotResources" (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)
notResources,
                  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
"Resources" (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)
resources])))
instance Property "Conditions" BackupSelectionResourceTypeProperty where
  type PropertyType "Conditions" BackupSelectionResourceTypeProperty = ConditionsProperty
  set :: PropertyType "Conditions" BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty
set PropertyType "Conditions" BackupSelectionResourceTypeProperty
newValue BackupSelectionResourceTypeProperty {Maybe [ConditionResourceTypeProperty]
Maybe (ValueList Text)
Maybe ConditionsProperty
()
Value Text
haddock_workaround_ :: BackupSelectionResourceTypeProperty -> ()
conditions :: BackupSelectionResourceTypeProperty -> Maybe ConditionsProperty
iamRoleArn :: BackupSelectionResourceTypeProperty -> Value Text
listOfTags :: BackupSelectionResourceTypeProperty
-> Maybe [ConditionResourceTypeProperty]
notResources :: BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
resources :: BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
selectionName :: BackupSelectionResourceTypeProperty -> Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
iamRoleArn :: Value Text
listOfTags :: Maybe [ConditionResourceTypeProperty]
notResources :: Maybe (ValueList Text)
resources :: Maybe (ValueList Text)
selectionName :: Value Text
..}
    = BackupSelectionResourceTypeProperty
        {conditions :: Maybe ConditionsProperty
conditions = ConditionsProperty -> Maybe ConditionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Conditions" BackupSelectionResourceTypeProperty
ConditionsProperty
newValue, Maybe [ConditionResourceTypeProperty]
Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: ()
iamRoleArn :: Value Text
listOfTags :: Maybe [ConditionResourceTypeProperty]
notResources :: Maybe (ValueList Text)
resources :: Maybe (ValueList Text)
selectionName :: Value Text
haddock_workaround_ :: ()
iamRoleArn :: Value Text
listOfTags :: Maybe [ConditionResourceTypeProperty]
notResources :: Maybe (ValueList Text)
resources :: Maybe (ValueList Text)
selectionName :: Value Text
..}
instance Property "IamRoleArn" BackupSelectionResourceTypeProperty where
  type PropertyType "IamRoleArn" BackupSelectionResourceTypeProperty = Value Prelude.Text
  set :: PropertyType "IamRoleArn" BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty
set PropertyType "IamRoleArn" BackupSelectionResourceTypeProperty
newValue BackupSelectionResourceTypeProperty {Maybe [ConditionResourceTypeProperty]
Maybe (ValueList Text)
Maybe ConditionsProperty
()
Value Text
haddock_workaround_ :: BackupSelectionResourceTypeProperty -> ()
conditions :: BackupSelectionResourceTypeProperty -> Maybe ConditionsProperty
iamRoleArn :: BackupSelectionResourceTypeProperty -> Value Text
listOfTags :: BackupSelectionResourceTypeProperty
-> Maybe [ConditionResourceTypeProperty]
notResources :: BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
resources :: BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
selectionName :: BackupSelectionResourceTypeProperty -> Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
iamRoleArn :: Value Text
listOfTags :: Maybe [ConditionResourceTypeProperty]
notResources :: Maybe (ValueList Text)
resources :: Maybe (ValueList Text)
selectionName :: Value Text
..}
    = BackupSelectionResourceTypeProperty {iamRoleArn :: Value Text
iamRoleArn = PropertyType "IamRoleArn" BackupSelectionResourceTypeProperty
Value Text
newValue, Maybe [ConditionResourceTypeProperty]
Maybe (ValueList Text)
Maybe ConditionsProperty
()
Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
listOfTags :: Maybe [ConditionResourceTypeProperty]
notResources :: Maybe (ValueList Text)
resources :: Maybe (ValueList Text)
selectionName :: Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
listOfTags :: Maybe [ConditionResourceTypeProperty]
notResources :: Maybe (ValueList Text)
resources :: Maybe (ValueList Text)
selectionName :: Value Text
..}
instance Property "ListOfTags" BackupSelectionResourceTypeProperty where
  type PropertyType "ListOfTags" BackupSelectionResourceTypeProperty = [ConditionResourceTypeProperty]
  set :: PropertyType "ListOfTags" BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty
set PropertyType "ListOfTags" BackupSelectionResourceTypeProperty
newValue BackupSelectionResourceTypeProperty {Maybe [ConditionResourceTypeProperty]
Maybe (ValueList Text)
Maybe ConditionsProperty
()
Value Text
haddock_workaround_ :: BackupSelectionResourceTypeProperty -> ()
conditions :: BackupSelectionResourceTypeProperty -> Maybe ConditionsProperty
iamRoleArn :: BackupSelectionResourceTypeProperty -> Value Text
listOfTags :: BackupSelectionResourceTypeProperty
-> Maybe [ConditionResourceTypeProperty]
notResources :: BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
resources :: BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
selectionName :: BackupSelectionResourceTypeProperty -> Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
iamRoleArn :: Value Text
listOfTags :: Maybe [ConditionResourceTypeProperty]
notResources :: Maybe (ValueList Text)
resources :: Maybe (ValueList Text)
selectionName :: Value Text
..}
    = BackupSelectionResourceTypeProperty
        {listOfTags :: Maybe [ConditionResourceTypeProperty]
listOfTags = [ConditionResourceTypeProperty]
-> Maybe [ConditionResourceTypeProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [ConditionResourceTypeProperty]
PropertyType "ListOfTags" BackupSelectionResourceTypeProperty
newValue, Maybe (ValueList Text)
Maybe ConditionsProperty
()
Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
iamRoleArn :: Value Text
notResources :: Maybe (ValueList Text)
resources :: Maybe (ValueList Text)
selectionName :: Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
iamRoleArn :: Value Text
notResources :: Maybe (ValueList Text)
resources :: Maybe (ValueList Text)
selectionName :: Value Text
..}
instance Property "NotResources" BackupSelectionResourceTypeProperty where
  type PropertyType "NotResources" BackupSelectionResourceTypeProperty = ValueList Prelude.Text
  set :: PropertyType "NotResources" BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty
set PropertyType "NotResources" BackupSelectionResourceTypeProperty
newValue BackupSelectionResourceTypeProperty {Maybe [ConditionResourceTypeProperty]
Maybe (ValueList Text)
Maybe ConditionsProperty
()
Value Text
haddock_workaround_ :: BackupSelectionResourceTypeProperty -> ()
conditions :: BackupSelectionResourceTypeProperty -> Maybe ConditionsProperty
iamRoleArn :: BackupSelectionResourceTypeProperty -> Value Text
listOfTags :: BackupSelectionResourceTypeProperty
-> Maybe [ConditionResourceTypeProperty]
notResources :: BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
resources :: BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
selectionName :: BackupSelectionResourceTypeProperty -> Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
iamRoleArn :: Value Text
listOfTags :: Maybe [ConditionResourceTypeProperty]
notResources :: Maybe (ValueList Text)
resources :: Maybe (ValueList Text)
selectionName :: Value Text
..}
    = BackupSelectionResourceTypeProperty
        {notResources :: Maybe (ValueList Text)
notResources = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "NotResources" BackupSelectionResourceTypeProperty
ValueList Text
newValue, Maybe [ConditionResourceTypeProperty]
Maybe (ValueList Text)
Maybe ConditionsProperty
()
Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
iamRoleArn :: Value Text
listOfTags :: Maybe [ConditionResourceTypeProperty]
resources :: Maybe (ValueList Text)
selectionName :: Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
iamRoleArn :: Value Text
listOfTags :: Maybe [ConditionResourceTypeProperty]
resources :: Maybe (ValueList Text)
selectionName :: Value Text
..}
instance Property "Resources" BackupSelectionResourceTypeProperty where
  type PropertyType "Resources" BackupSelectionResourceTypeProperty = ValueList Prelude.Text
  set :: PropertyType "Resources" BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty
set PropertyType "Resources" BackupSelectionResourceTypeProperty
newValue BackupSelectionResourceTypeProperty {Maybe [ConditionResourceTypeProperty]
Maybe (ValueList Text)
Maybe ConditionsProperty
()
Value Text
haddock_workaround_ :: BackupSelectionResourceTypeProperty -> ()
conditions :: BackupSelectionResourceTypeProperty -> Maybe ConditionsProperty
iamRoleArn :: BackupSelectionResourceTypeProperty -> Value Text
listOfTags :: BackupSelectionResourceTypeProperty
-> Maybe [ConditionResourceTypeProperty]
notResources :: BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
resources :: BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
selectionName :: BackupSelectionResourceTypeProperty -> Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
iamRoleArn :: Value Text
listOfTags :: Maybe [ConditionResourceTypeProperty]
notResources :: Maybe (ValueList Text)
resources :: Maybe (ValueList Text)
selectionName :: Value Text
..}
    = BackupSelectionResourceTypeProperty
        {resources :: Maybe (ValueList Text)
resources = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Resources" BackupSelectionResourceTypeProperty
ValueList Text
newValue, Maybe [ConditionResourceTypeProperty]
Maybe (ValueList Text)
Maybe ConditionsProperty
()
Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
iamRoleArn :: Value Text
listOfTags :: Maybe [ConditionResourceTypeProperty]
notResources :: Maybe (ValueList Text)
selectionName :: Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
iamRoleArn :: Value Text
listOfTags :: Maybe [ConditionResourceTypeProperty]
notResources :: Maybe (ValueList Text)
selectionName :: Value Text
..}
instance Property "SelectionName" BackupSelectionResourceTypeProperty where
  type PropertyType "SelectionName" BackupSelectionResourceTypeProperty = Value Prelude.Text
  set :: PropertyType "SelectionName" BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty
-> BackupSelectionResourceTypeProperty
set PropertyType "SelectionName" BackupSelectionResourceTypeProperty
newValue BackupSelectionResourceTypeProperty {Maybe [ConditionResourceTypeProperty]
Maybe (ValueList Text)
Maybe ConditionsProperty
()
Value Text
haddock_workaround_ :: BackupSelectionResourceTypeProperty -> ()
conditions :: BackupSelectionResourceTypeProperty -> Maybe ConditionsProperty
iamRoleArn :: BackupSelectionResourceTypeProperty -> Value Text
listOfTags :: BackupSelectionResourceTypeProperty
-> Maybe [ConditionResourceTypeProperty]
notResources :: BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
resources :: BackupSelectionResourceTypeProperty -> Maybe (ValueList Text)
selectionName :: BackupSelectionResourceTypeProperty -> Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
iamRoleArn :: Value Text
listOfTags :: Maybe [ConditionResourceTypeProperty]
notResources :: Maybe (ValueList Text)
resources :: Maybe (ValueList Text)
selectionName :: Value Text
..}
    = BackupSelectionResourceTypeProperty
        {selectionName :: Value Text
selectionName = PropertyType "SelectionName" BackupSelectionResourceTypeProperty
Value Text
newValue, Maybe [ConditionResourceTypeProperty]
Maybe (ValueList Text)
Maybe ConditionsProperty
()
Value Text
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
iamRoleArn :: Value Text
listOfTags :: Maybe [ConditionResourceTypeProperty]
notResources :: Maybe (ValueList Text)
resources :: Maybe (ValueList Text)
haddock_workaround_ :: ()
conditions :: Maybe ConditionsProperty
iamRoleArn :: Value Text
listOfTags :: Maybe [ConditionResourceTypeProperty]
notResources :: Maybe (ValueList Text)
resources :: Maybe (ValueList Text)
..}