{-# 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.IoTSiteWise.Types.ListTimeSeriesType
-- 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.IoTSiteWise.Types.ListTimeSeriesType
  ( ListTimeSeriesType
      ( ..,
        ListTimeSeriesType_ASSOCIATED,
        ListTimeSeriesType_DISASSOCIATED
      ),
  )
where

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

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

pattern ListTimeSeriesType_ASSOCIATED :: ListTimeSeriesType
pattern $bListTimeSeriesType_ASSOCIATED :: ListTimeSeriesType
$mListTimeSeriesType_ASSOCIATED :: forall {r}. ListTimeSeriesType -> ((# #) -> r) -> ((# #) -> r) -> r
ListTimeSeriesType_ASSOCIATED = ListTimeSeriesType' "ASSOCIATED"

pattern ListTimeSeriesType_DISASSOCIATED :: ListTimeSeriesType
pattern $bListTimeSeriesType_DISASSOCIATED :: ListTimeSeriesType
$mListTimeSeriesType_DISASSOCIATED :: forall {r}. ListTimeSeriesType -> ((# #) -> r) -> ((# #) -> r) -> r
ListTimeSeriesType_DISASSOCIATED = ListTimeSeriesType' "DISASSOCIATED"

{-# COMPLETE
  ListTimeSeriesType_ASSOCIATED,
  ListTimeSeriesType_DISASSOCIATED,
  ListTimeSeriesType'
  #-}