{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.Kendra.Types.SalesforceChatterFeedIncludeFilterType
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.Kendra.Types.SalesforceChatterFeedIncludeFilterType
  ( SalesforceChatterFeedIncludeFilterType
      ( ..,
        SalesforceChatterFeedIncludeFilterType_ACTIVE_USER,
        SalesforceChatterFeedIncludeFilterType_STANDARD_USER
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

newtype SalesforceChatterFeedIncludeFilterType = SalesforceChatterFeedIncludeFilterType'
  { SalesforceChatterFeedIncludeFilterType -> Text
fromSalesforceChatterFeedIncludeFilterType ::
      Data.Text
  }
  deriving stock
    ( Int -> SalesforceChatterFeedIncludeFilterType -> ShowS
[SalesforceChatterFeedIncludeFilterType] -> ShowS
SalesforceChatterFeedIncludeFilterType -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SalesforceChatterFeedIncludeFilterType] -> ShowS
$cshowList :: [SalesforceChatterFeedIncludeFilterType] -> ShowS
show :: SalesforceChatterFeedIncludeFilterType -> String
$cshow :: SalesforceChatterFeedIncludeFilterType -> String
showsPrec :: Int -> SalesforceChatterFeedIncludeFilterType -> ShowS
$cshowsPrec :: Int -> SalesforceChatterFeedIncludeFilterType -> ShowS
Prelude.Show,
      ReadPrec [SalesforceChatterFeedIncludeFilterType]
ReadPrec SalesforceChatterFeedIncludeFilterType
Int -> ReadS SalesforceChatterFeedIncludeFilterType
ReadS [SalesforceChatterFeedIncludeFilterType]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SalesforceChatterFeedIncludeFilterType]
$creadListPrec :: ReadPrec [SalesforceChatterFeedIncludeFilterType]
readPrec :: ReadPrec SalesforceChatterFeedIncludeFilterType
$creadPrec :: ReadPrec SalesforceChatterFeedIncludeFilterType
readList :: ReadS [SalesforceChatterFeedIncludeFilterType]
$creadList :: ReadS [SalesforceChatterFeedIncludeFilterType]
readsPrec :: Int -> ReadS SalesforceChatterFeedIncludeFilterType
$creadsPrec :: Int -> ReadS SalesforceChatterFeedIncludeFilterType
Prelude.Read,
      SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Bool
$c/= :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Bool
== :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Bool
$c== :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Bool
Prelude.Eq,
      Eq SalesforceChatterFeedIncludeFilterType
SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Bool
SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Ordering
SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType
$cmin :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType
max :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType
$cmax :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType
>= :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Bool
$c>= :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Bool
> :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Bool
$c> :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Bool
<= :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Bool
$c<= :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Bool
< :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Bool
$c< :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Bool
compare :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Ordering
$ccompare :: SalesforceChatterFeedIncludeFilterType
-> SalesforceChatterFeedIncludeFilterType -> Ordering
Prelude.Ord,
      forall x.
Rep SalesforceChatterFeedIncludeFilterType x
-> SalesforceChatterFeedIncludeFilterType
forall x.
SalesforceChatterFeedIncludeFilterType
-> Rep SalesforceChatterFeedIncludeFilterType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep SalesforceChatterFeedIncludeFilterType x
-> SalesforceChatterFeedIncludeFilterType
$cfrom :: forall x.
SalesforceChatterFeedIncludeFilterType
-> Rep SalesforceChatterFeedIncludeFilterType x
Prelude.Generic
    )
  deriving newtype
    ( Eq SalesforceChatterFeedIncludeFilterType
Int -> SalesforceChatterFeedIncludeFilterType -> Int
SalesforceChatterFeedIncludeFilterType -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: SalesforceChatterFeedIncludeFilterType -> Int
$chash :: SalesforceChatterFeedIncludeFilterType -> Int
hashWithSalt :: Int -> SalesforceChatterFeedIncludeFilterType -> Int
$chashWithSalt :: Int -> SalesforceChatterFeedIncludeFilterType -> Int
Prelude.Hashable,
      SalesforceChatterFeedIncludeFilterType -> ()
forall a. (a -> ()) -> NFData a
rnf :: SalesforceChatterFeedIncludeFilterType -> ()
$crnf :: SalesforceChatterFeedIncludeFilterType -> ()
Prelude.NFData,
      Text -> Either String SalesforceChatterFeedIncludeFilterType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String SalesforceChatterFeedIncludeFilterType
$cfromText :: Text -> Either String SalesforceChatterFeedIncludeFilterType
Data.FromText,
      SalesforceChatterFeedIncludeFilterType -> Text
forall a. (a -> Text) -> ToText a
toText :: SalesforceChatterFeedIncludeFilterType -> Text
$ctoText :: SalesforceChatterFeedIncludeFilterType -> Text
Data.ToText,
      SalesforceChatterFeedIncludeFilterType -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: SalesforceChatterFeedIncludeFilterType -> ByteString
$ctoBS :: SalesforceChatterFeedIncludeFilterType -> ByteString
Data.ToByteString,
      SalesforceChatterFeedIncludeFilterType -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: SalesforceChatterFeedIncludeFilterType -> ByteStringBuilder
$cbuild :: SalesforceChatterFeedIncludeFilterType -> ByteStringBuilder
Data.ToLog,
      HeaderName -> SalesforceChatterFeedIncludeFilterType -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> SalesforceChatterFeedIncludeFilterType -> [Header]
$ctoHeader :: HeaderName -> SalesforceChatterFeedIncludeFilterType -> [Header]
Data.ToHeader,
      SalesforceChatterFeedIncludeFilterType -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: SalesforceChatterFeedIncludeFilterType -> QueryString
$ctoQuery :: SalesforceChatterFeedIncludeFilterType -> QueryString
Data.ToQuery,
      Value -> Parser [SalesforceChatterFeedIncludeFilterType]
Value -> Parser SalesforceChatterFeedIncludeFilterType
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [SalesforceChatterFeedIncludeFilterType]
$cparseJSONList :: Value -> Parser [SalesforceChatterFeedIncludeFilterType]
parseJSON :: Value -> Parser SalesforceChatterFeedIncludeFilterType
$cparseJSON :: Value -> Parser SalesforceChatterFeedIncludeFilterType
Data.FromJSON,
      FromJSONKeyFunction [SalesforceChatterFeedIncludeFilterType]
FromJSONKeyFunction SalesforceChatterFeedIncludeFilterType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [SalesforceChatterFeedIncludeFilterType]
$cfromJSONKeyList :: FromJSONKeyFunction [SalesforceChatterFeedIncludeFilterType]
fromJSONKey :: FromJSONKeyFunction SalesforceChatterFeedIncludeFilterType
$cfromJSONKey :: FromJSONKeyFunction SalesforceChatterFeedIncludeFilterType
Data.FromJSONKey,
      [SalesforceChatterFeedIncludeFilterType] -> Encoding
[SalesforceChatterFeedIncludeFilterType] -> Value
SalesforceChatterFeedIncludeFilterType -> Encoding
SalesforceChatterFeedIncludeFilterType -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [SalesforceChatterFeedIncludeFilterType] -> Encoding
$ctoEncodingList :: [SalesforceChatterFeedIncludeFilterType] -> Encoding
toJSONList :: [SalesforceChatterFeedIncludeFilterType] -> Value
$ctoJSONList :: [SalesforceChatterFeedIncludeFilterType] -> Value
toEncoding :: SalesforceChatterFeedIncludeFilterType -> Encoding
$ctoEncoding :: SalesforceChatterFeedIncludeFilterType -> Encoding
toJSON :: SalesforceChatterFeedIncludeFilterType -> Value
$ctoJSON :: SalesforceChatterFeedIncludeFilterType -> Value
Data.ToJSON,
      ToJSONKeyFunction [SalesforceChatterFeedIncludeFilterType]
ToJSONKeyFunction SalesforceChatterFeedIncludeFilterType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [SalesforceChatterFeedIncludeFilterType]
$ctoJSONKeyList :: ToJSONKeyFunction [SalesforceChatterFeedIncludeFilterType]
toJSONKey :: ToJSONKeyFunction SalesforceChatterFeedIncludeFilterType
$ctoJSONKey :: ToJSONKeyFunction SalesforceChatterFeedIncludeFilterType
Data.ToJSONKey,
      [Node] -> Either String SalesforceChatterFeedIncludeFilterType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String SalesforceChatterFeedIncludeFilterType
$cparseXML :: [Node] -> Either String SalesforceChatterFeedIncludeFilterType
Data.FromXML,
      SalesforceChatterFeedIncludeFilterType -> XML
forall a. (a -> XML) -> ToXML a
toXML :: SalesforceChatterFeedIncludeFilterType -> XML
$ctoXML :: SalesforceChatterFeedIncludeFilterType -> XML
Data.ToXML
    )

pattern SalesforceChatterFeedIncludeFilterType_ACTIVE_USER :: SalesforceChatterFeedIncludeFilterType
pattern $bSalesforceChatterFeedIncludeFilterType_ACTIVE_USER :: SalesforceChatterFeedIncludeFilterType
$mSalesforceChatterFeedIncludeFilterType_ACTIVE_USER :: forall {r}.
SalesforceChatterFeedIncludeFilterType
-> ((# #) -> r) -> ((# #) -> r) -> r
SalesforceChatterFeedIncludeFilterType_ACTIVE_USER = SalesforceChatterFeedIncludeFilterType' "ACTIVE_USER"

pattern SalesforceChatterFeedIncludeFilterType_STANDARD_USER :: SalesforceChatterFeedIncludeFilterType
pattern $bSalesforceChatterFeedIncludeFilterType_STANDARD_USER :: SalesforceChatterFeedIncludeFilterType
$mSalesforceChatterFeedIncludeFilterType_STANDARD_USER :: forall {r}.
SalesforceChatterFeedIncludeFilterType
-> ((# #) -> r) -> ((# #) -> r) -> r
SalesforceChatterFeedIncludeFilterType_STANDARD_USER = SalesforceChatterFeedIncludeFilterType' "STANDARD_USER"

{-# COMPLETE
  SalesforceChatterFeedIncludeFilterType_ACTIVE_USER,
  SalesforceChatterFeedIncludeFilterType_STANDARD_USER,
  SalesforceChatterFeedIncludeFilterType'
  #-}