{-# 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.SageMakerGeoSpatial.Types.TemporalStatistics
-- 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.SageMakerGeoSpatial.Types.TemporalStatistics
  ( TemporalStatistics
      ( ..,
        TemporalStatistics_MEAN,
        TemporalStatistics_MEDIAN,
        TemporalStatistics_STANDARD_DEVIATION
      ),
  )
where

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

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

pattern TemporalStatistics_MEAN :: TemporalStatistics
pattern $bTemporalStatistics_MEAN :: TemporalStatistics
$mTemporalStatistics_MEAN :: forall {r}. TemporalStatistics -> ((# #) -> r) -> ((# #) -> r) -> r
TemporalStatistics_MEAN = TemporalStatistics' "MEAN"

pattern TemporalStatistics_MEDIAN :: TemporalStatistics
pattern $bTemporalStatistics_MEDIAN :: TemporalStatistics
$mTemporalStatistics_MEDIAN :: forall {r}. TemporalStatistics -> ((# #) -> r) -> ((# #) -> r) -> r
TemporalStatistics_MEDIAN = TemporalStatistics' "MEDIAN"

pattern TemporalStatistics_STANDARD_DEVIATION :: TemporalStatistics
pattern $bTemporalStatistics_STANDARD_DEVIATION :: TemporalStatistics
$mTemporalStatistics_STANDARD_DEVIATION :: forall {r}. TemporalStatistics -> ((# #) -> r) -> ((# #) -> r) -> r
TemporalStatistics_STANDARD_DEVIATION = TemporalStatistics' "STANDARD_DEVIATION"

{-# COMPLETE
  TemporalStatistics_MEAN,
  TemporalStatistics_MEDIAN,
  TemporalStatistics_STANDARD_DEVIATION,
  TemporalStatistics'
  #-}