{-# 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.Transfer.Types.SetStatOption
-- 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.Transfer.Types.SetStatOption
  ( SetStatOption
      ( ..,
        SetStatOption_DEFAULT,
        SetStatOption_ENABLE_NO_OP
      ),
  )
where

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

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

pattern SetStatOption_DEFAULT :: SetStatOption
pattern $bSetStatOption_DEFAULT :: SetStatOption
$mSetStatOption_DEFAULT :: forall {r}. SetStatOption -> ((# #) -> r) -> ((# #) -> r) -> r
SetStatOption_DEFAULT = SetStatOption' "DEFAULT"

pattern SetStatOption_ENABLE_NO_OP :: SetStatOption
pattern $bSetStatOption_ENABLE_NO_OP :: SetStatOption
$mSetStatOption_ENABLE_NO_OP :: forall {r}. SetStatOption -> ((# #) -> r) -> ((# #) -> r) -> r
SetStatOption_ENABLE_NO_OP = SetStatOption' "ENABLE_NO_OP"

{-# COMPLETE
  SetStatOption_DEFAULT,
  SetStatOption_ENABLE_NO_OP,
  SetStatOption'
  #-}