module Stratosphere.S3.StorageLensGroup.FilterProperty (
module Exports, FilterProperty(..), mkFilterProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.S3.StorageLensGroup.AndProperty as Exports
import {-# SOURCE #-} Stratosphere.S3.StorageLensGroup.MatchObjectAgeProperty as Exports
import {-# SOURCE #-} Stratosphere.S3.StorageLensGroup.MatchObjectSizeProperty as Exports
import {-# SOURCE #-} Stratosphere.S3.StorageLensGroup.OrProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data FilterProperty
=
FilterProperty {FilterProperty -> ()
haddock_workaround_ :: (),
FilterProperty -> Maybe AndProperty
and :: (Prelude.Maybe AndProperty),
FilterProperty -> Maybe (ValueList Text)
matchAnyPrefix :: (Prelude.Maybe (ValueList Prelude.Text)),
FilterProperty -> Maybe (ValueList Text)
matchAnySuffix :: (Prelude.Maybe (ValueList Prelude.Text)),
FilterProperty -> Maybe [Tag]
matchAnyTag :: (Prelude.Maybe [Tag]),
FilterProperty -> Maybe MatchObjectAgeProperty
matchObjectAge :: (Prelude.Maybe MatchObjectAgeProperty),
FilterProperty -> Maybe MatchObjectSizeProperty
matchObjectSize :: (Prelude.Maybe MatchObjectSizeProperty),
FilterProperty -> Maybe OrProperty
or :: (Prelude.Maybe OrProperty)}
deriving stock (FilterProperty -> FilterProperty -> Bool
(FilterProperty -> FilterProperty -> Bool)
-> (FilterProperty -> FilterProperty -> Bool) -> Eq FilterProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: FilterProperty -> FilterProperty -> Bool
== :: FilterProperty -> FilterProperty -> Bool
$c/= :: FilterProperty -> FilterProperty -> Bool
/= :: FilterProperty -> FilterProperty -> Bool
Prelude.Eq, Int -> FilterProperty -> ShowS
[FilterProperty] -> ShowS
FilterProperty -> String
(Int -> FilterProperty -> ShowS)
-> (FilterProperty -> String)
-> ([FilterProperty] -> ShowS)
-> Show FilterProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> FilterProperty -> ShowS
showsPrec :: Int -> FilterProperty -> ShowS
$cshow :: FilterProperty -> String
show :: FilterProperty -> String
$cshowList :: [FilterProperty] -> ShowS
showList :: [FilterProperty] -> ShowS
Prelude.Show)
mkFilterProperty :: FilterProperty
mkFilterProperty :: FilterProperty
mkFilterProperty
= FilterProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), and :: Maybe AndProperty
and = Maybe AndProperty
forall a. Maybe a
Prelude.Nothing,
matchAnyPrefix :: Maybe (ValueList Text)
matchAnyPrefix = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, matchAnySuffix :: Maybe (ValueList Text)
matchAnySuffix = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
matchAnyTag :: Maybe [Tag]
matchAnyTag = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing, matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectAge = Maybe MatchObjectAgeProperty
forall a. Maybe a
Prelude.Nothing,
matchObjectSize :: Maybe MatchObjectSizeProperty
matchObjectSize = Maybe MatchObjectSizeProperty
forall a. Maybe a
Prelude.Nothing, or :: Maybe OrProperty
or = Maybe OrProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties FilterProperty where
toResourceProperties :: FilterProperty -> ResourceProperties
toResourceProperties FilterProperty {Maybe [Tag]
Maybe (ValueList Text)
Maybe MatchObjectAgeProperty
Maybe MatchObjectSizeProperty
Maybe AndProperty
Maybe OrProperty
()
haddock_workaround_ :: FilterProperty -> ()
and :: FilterProperty -> Maybe AndProperty
matchAnyPrefix :: FilterProperty -> Maybe (ValueList Text)
matchAnySuffix :: FilterProperty -> Maybe (ValueList Text)
matchAnyTag :: FilterProperty -> Maybe [Tag]
matchObjectAge :: FilterProperty -> Maybe MatchObjectAgeProperty
matchObjectSize :: FilterProperty -> Maybe MatchObjectSizeProperty
or :: FilterProperty -> Maybe OrProperty
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::S3::StorageLensGroup.Filter",
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 -> AndProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"And" (AndProperty -> (Key, Value))
-> Maybe AndProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AndProperty
and,
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
"MatchAnyPrefix" (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)
matchAnyPrefix,
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
"MatchAnySuffix" (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)
matchAnySuffix,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MatchAnyTag" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
matchAnyTag,
Key -> MatchObjectAgeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MatchObjectAge" (MatchObjectAgeProperty -> (Key, Value))
-> Maybe MatchObjectAgeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MatchObjectAgeProperty
matchObjectAge,
Key -> MatchObjectSizeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MatchObjectSize" (MatchObjectSizeProperty -> (Key, Value))
-> Maybe MatchObjectSizeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MatchObjectSizeProperty
matchObjectSize,
Key -> OrProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Or" (OrProperty -> (Key, Value))
-> Maybe OrProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OrProperty
or])}
instance JSON.ToJSON FilterProperty where
toJSON :: FilterProperty -> Value
toJSON FilterProperty {Maybe [Tag]
Maybe (ValueList Text)
Maybe MatchObjectAgeProperty
Maybe MatchObjectSizeProperty
Maybe AndProperty
Maybe OrProperty
()
haddock_workaround_ :: FilterProperty -> ()
and :: FilterProperty -> Maybe AndProperty
matchAnyPrefix :: FilterProperty -> Maybe (ValueList Text)
matchAnySuffix :: FilterProperty -> Maybe (ValueList Text)
matchAnyTag :: FilterProperty -> Maybe [Tag]
matchObjectAge :: FilterProperty -> Maybe MatchObjectAgeProperty
matchObjectSize :: FilterProperty -> Maybe MatchObjectSizeProperty
or :: FilterProperty -> Maybe OrProperty
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
..}
= [(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 -> AndProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"And" (AndProperty -> (Key, Value))
-> Maybe AndProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AndProperty
and,
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
"MatchAnyPrefix" (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)
matchAnyPrefix,
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
"MatchAnySuffix" (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)
matchAnySuffix,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MatchAnyTag" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
matchAnyTag,
Key -> MatchObjectAgeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MatchObjectAge" (MatchObjectAgeProperty -> (Key, Value))
-> Maybe MatchObjectAgeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MatchObjectAgeProperty
matchObjectAge,
Key -> MatchObjectSizeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MatchObjectSize" (MatchObjectSizeProperty -> (Key, Value))
-> Maybe MatchObjectSizeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MatchObjectSizeProperty
matchObjectSize,
Key -> OrProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Or" (OrProperty -> (Key, Value))
-> Maybe OrProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OrProperty
or]))
instance Property "And" FilterProperty where
type PropertyType "And" FilterProperty = AndProperty
set :: PropertyType "And" FilterProperty
-> FilterProperty -> FilterProperty
set PropertyType "And" FilterProperty
newValue FilterProperty {Maybe [Tag]
Maybe (ValueList Text)
Maybe MatchObjectAgeProperty
Maybe MatchObjectSizeProperty
Maybe AndProperty
Maybe OrProperty
()
haddock_workaround_ :: FilterProperty -> ()
and :: FilterProperty -> Maybe AndProperty
matchAnyPrefix :: FilterProperty -> Maybe (ValueList Text)
matchAnySuffix :: FilterProperty -> Maybe (ValueList Text)
matchAnyTag :: FilterProperty -> Maybe [Tag]
matchObjectAge :: FilterProperty -> Maybe MatchObjectAgeProperty
matchObjectSize :: FilterProperty -> Maybe MatchObjectSizeProperty
or :: FilterProperty -> Maybe OrProperty
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
..}
= FilterProperty {and :: Maybe AndProperty
and = AndProperty -> Maybe AndProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "And" FilterProperty
AndProperty
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe MatchObjectAgeProperty
Maybe MatchObjectSizeProperty
Maybe OrProperty
()
haddock_workaround_ :: ()
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
haddock_workaround_ :: ()
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
..}
instance Property "MatchAnyPrefix" FilterProperty where
type PropertyType "MatchAnyPrefix" FilterProperty = ValueList Prelude.Text
set :: PropertyType "MatchAnyPrefix" FilterProperty
-> FilterProperty -> FilterProperty
set PropertyType "MatchAnyPrefix" FilterProperty
newValue FilterProperty {Maybe [Tag]
Maybe (ValueList Text)
Maybe MatchObjectAgeProperty
Maybe MatchObjectSizeProperty
Maybe AndProperty
Maybe OrProperty
()
haddock_workaround_ :: FilterProperty -> ()
and :: FilterProperty -> Maybe AndProperty
matchAnyPrefix :: FilterProperty -> Maybe (ValueList Text)
matchAnySuffix :: FilterProperty -> Maybe (ValueList Text)
matchAnyTag :: FilterProperty -> Maybe [Tag]
matchObjectAge :: FilterProperty -> Maybe MatchObjectAgeProperty
matchObjectSize :: FilterProperty -> Maybe MatchObjectSizeProperty
or :: FilterProperty -> Maybe OrProperty
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
..}
= FilterProperty {matchAnyPrefix :: Maybe (ValueList Text)
matchAnyPrefix = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MatchAnyPrefix" FilterProperty
ValueList Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe MatchObjectAgeProperty
Maybe MatchObjectSizeProperty
Maybe AndProperty
Maybe OrProperty
()
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
..}
instance Property "MatchAnySuffix" FilterProperty where
type PropertyType "MatchAnySuffix" FilterProperty = ValueList Prelude.Text
set :: PropertyType "MatchAnySuffix" FilterProperty
-> FilterProperty -> FilterProperty
set PropertyType "MatchAnySuffix" FilterProperty
newValue FilterProperty {Maybe [Tag]
Maybe (ValueList Text)
Maybe MatchObjectAgeProperty
Maybe MatchObjectSizeProperty
Maybe AndProperty
Maybe OrProperty
()
haddock_workaround_ :: FilterProperty -> ()
and :: FilterProperty -> Maybe AndProperty
matchAnyPrefix :: FilterProperty -> Maybe (ValueList Text)
matchAnySuffix :: FilterProperty -> Maybe (ValueList Text)
matchAnyTag :: FilterProperty -> Maybe [Tag]
matchObjectAge :: FilterProperty -> Maybe MatchObjectAgeProperty
matchObjectSize :: FilterProperty -> Maybe MatchObjectSizeProperty
or :: FilterProperty -> Maybe OrProperty
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
..}
= FilterProperty {matchAnySuffix :: Maybe (ValueList Text)
matchAnySuffix = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MatchAnySuffix" FilterProperty
ValueList Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe MatchObjectAgeProperty
Maybe MatchObjectSizeProperty
Maybe AndProperty
Maybe OrProperty
()
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
..}
instance Property "MatchAnyTag" FilterProperty where
type PropertyType "MatchAnyTag" FilterProperty = [Tag]
set :: PropertyType "MatchAnyTag" FilterProperty
-> FilterProperty -> FilterProperty
set PropertyType "MatchAnyTag" FilterProperty
newValue FilterProperty {Maybe [Tag]
Maybe (ValueList Text)
Maybe MatchObjectAgeProperty
Maybe MatchObjectSizeProperty
Maybe AndProperty
Maybe OrProperty
()
haddock_workaround_ :: FilterProperty -> ()
and :: FilterProperty -> Maybe AndProperty
matchAnyPrefix :: FilterProperty -> Maybe (ValueList Text)
matchAnySuffix :: FilterProperty -> Maybe (ValueList Text)
matchAnyTag :: FilterProperty -> Maybe [Tag]
matchObjectAge :: FilterProperty -> Maybe MatchObjectAgeProperty
matchObjectSize :: FilterProperty -> Maybe MatchObjectSizeProperty
or :: FilterProperty -> Maybe OrProperty
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
..}
= FilterProperty {matchAnyTag :: Maybe [Tag]
matchAnyTag = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "MatchAnyTag" FilterProperty
newValue, Maybe (ValueList Text)
Maybe MatchObjectAgeProperty
Maybe MatchObjectSizeProperty
Maybe AndProperty
Maybe OrProperty
()
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
..}
instance Property "MatchObjectAge" FilterProperty where
type PropertyType "MatchObjectAge" FilterProperty = MatchObjectAgeProperty
set :: PropertyType "MatchObjectAge" FilterProperty
-> FilterProperty -> FilterProperty
set PropertyType "MatchObjectAge" FilterProperty
newValue FilterProperty {Maybe [Tag]
Maybe (ValueList Text)
Maybe MatchObjectAgeProperty
Maybe MatchObjectSizeProperty
Maybe AndProperty
Maybe OrProperty
()
haddock_workaround_ :: FilterProperty -> ()
and :: FilterProperty -> Maybe AndProperty
matchAnyPrefix :: FilterProperty -> Maybe (ValueList Text)
matchAnySuffix :: FilterProperty -> Maybe (ValueList Text)
matchAnyTag :: FilterProperty -> Maybe [Tag]
matchObjectAge :: FilterProperty -> Maybe MatchObjectAgeProperty
matchObjectSize :: FilterProperty -> Maybe MatchObjectSizeProperty
or :: FilterProperty -> Maybe OrProperty
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
..}
= FilterProperty {matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectAge = MatchObjectAgeProperty -> Maybe MatchObjectAgeProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MatchObjectAge" FilterProperty
MatchObjectAgeProperty
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe MatchObjectSizeProperty
Maybe AndProperty
Maybe OrProperty
()
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
..}
instance Property "MatchObjectSize" FilterProperty where
type PropertyType "MatchObjectSize" FilterProperty = MatchObjectSizeProperty
set :: PropertyType "MatchObjectSize" FilterProperty
-> FilterProperty -> FilterProperty
set PropertyType "MatchObjectSize" FilterProperty
newValue FilterProperty {Maybe [Tag]
Maybe (ValueList Text)
Maybe MatchObjectAgeProperty
Maybe MatchObjectSizeProperty
Maybe AndProperty
Maybe OrProperty
()
haddock_workaround_ :: FilterProperty -> ()
and :: FilterProperty -> Maybe AndProperty
matchAnyPrefix :: FilterProperty -> Maybe (ValueList Text)
matchAnySuffix :: FilterProperty -> Maybe (ValueList Text)
matchAnyTag :: FilterProperty -> Maybe [Tag]
matchObjectAge :: FilterProperty -> Maybe MatchObjectAgeProperty
matchObjectSize :: FilterProperty -> Maybe MatchObjectSizeProperty
or :: FilterProperty -> Maybe OrProperty
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
..}
= FilterProperty {matchObjectSize :: Maybe MatchObjectSizeProperty
matchObjectSize = MatchObjectSizeProperty -> Maybe MatchObjectSizeProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MatchObjectSize" FilterProperty
MatchObjectSizeProperty
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe MatchObjectAgeProperty
Maybe AndProperty
Maybe OrProperty
()
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
or :: Maybe OrProperty
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
or :: Maybe OrProperty
..}
instance Property "Or" FilterProperty where
type PropertyType "Or" FilterProperty = OrProperty
set :: PropertyType "Or" FilterProperty
-> FilterProperty -> FilterProperty
set PropertyType "Or" FilterProperty
newValue FilterProperty {Maybe [Tag]
Maybe (ValueList Text)
Maybe MatchObjectAgeProperty
Maybe MatchObjectSizeProperty
Maybe AndProperty
Maybe OrProperty
()
haddock_workaround_ :: FilterProperty -> ()
and :: FilterProperty -> Maybe AndProperty
matchAnyPrefix :: FilterProperty -> Maybe (ValueList Text)
matchAnySuffix :: FilterProperty -> Maybe (ValueList Text)
matchAnyTag :: FilterProperty -> Maybe [Tag]
matchObjectAge :: FilterProperty -> Maybe MatchObjectAgeProperty
matchObjectSize :: FilterProperty -> Maybe MatchObjectSizeProperty
or :: FilterProperty -> Maybe OrProperty
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
or :: Maybe OrProperty
..}
= FilterProperty {or :: Maybe OrProperty
or = OrProperty -> Maybe OrProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Or" FilterProperty
OrProperty
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe MatchObjectAgeProperty
Maybe MatchObjectSizeProperty
Maybe AndProperty
()
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
haddock_workaround_ :: ()
and :: Maybe AndProperty
matchAnyPrefix :: Maybe (ValueList Text)
matchAnySuffix :: Maybe (ValueList Text)
matchAnyTag :: Maybe [Tag]
matchObjectAge :: Maybe MatchObjectAgeProperty
matchObjectSize :: Maybe MatchObjectSizeProperty
..}