{-# 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.Omics.Types.ReadSetFile
-- 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.Omics.Types.ReadSetFile
  ( ReadSetFile
      ( ..,
        ReadSetFile_INDEX,
        ReadSetFile_SOURCE1,
        ReadSetFile_SOURCE2
      ),
  )
where

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

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

pattern ReadSetFile_INDEX :: ReadSetFile
pattern $bReadSetFile_INDEX :: ReadSetFile
$mReadSetFile_INDEX :: forall {r}. ReadSetFile -> ((# #) -> r) -> ((# #) -> r) -> r
ReadSetFile_INDEX = ReadSetFile' "INDEX"

pattern ReadSetFile_SOURCE1 :: ReadSetFile
pattern $bReadSetFile_SOURCE1 :: ReadSetFile
$mReadSetFile_SOURCE1 :: forall {r}. ReadSetFile -> ((# #) -> r) -> ((# #) -> r) -> r
ReadSetFile_SOURCE1 = ReadSetFile' "SOURCE1"

pattern ReadSetFile_SOURCE2 :: ReadSetFile
pattern $bReadSetFile_SOURCE2 :: ReadSetFile
$mReadSetFile_SOURCE2 :: forall {r}. ReadSetFile -> ((# #) -> r) -> ((# #) -> r) -> r
ReadSetFile_SOURCE2 = ReadSetFile' "SOURCE2"

{-# COMPLETE
  ReadSetFile_INDEX,
  ReadSetFile_SOURCE1,
  ReadSetFile_SOURCE2,
  ReadSetFile'
  #-}