{-# 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.FsxFileSystemType
-- 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.FsxFileSystemType
  ( FsxFileSystemType
      ( ..,
        FsxFileSystemType_WINDOWS
      ),
  )
where

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

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

pattern FsxFileSystemType_WINDOWS :: FsxFileSystemType
pattern $bFsxFileSystemType_WINDOWS :: FsxFileSystemType
$mFsxFileSystemType_WINDOWS :: forall {r}. FsxFileSystemType -> ((# #) -> r) -> ((# #) -> r) -> r
FsxFileSystemType_WINDOWS = FsxFileSystemType' "WINDOWS"

{-# COMPLETE
  FsxFileSystemType_WINDOWS,
  FsxFileSystemType'
  #-}