{-# 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.Athena.Types.S3AclOption
-- 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.Athena.Types.S3AclOption
  ( S3AclOption
      ( ..,
        S3AclOption_BUCKET_OWNER_FULL_CONTROL
      ),
  )
where

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

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

pattern S3AclOption_BUCKET_OWNER_FULL_CONTROL :: S3AclOption
pattern $bS3AclOption_BUCKET_OWNER_FULL_CONTROL :: S3AclOption
$mS3AclOption_BUCKET_OWNER_FULL_CONTROL :: forall {r}. S3AclOption -> ((# #) -> r) -> ((# #) -> r) -> r
S3AclOption_BUCKET_OWNER_FULL_CONTROL = S3AclOption' "BUCKET_OWNER_FULL_CONTROL"

{-# COMPLETE
  S3AclOption_BUCKET_OWNER_FULL_CONTROL,
  S3AclOption'
  #-}