{-# 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.RobOMaker.Types.RenderingEngineType
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.RobOMaker.Types.RenderingEngineType
  ( RenderingEngineType
      ( ..,
        RenderingEngineType_OGRE
      ),
  )
where

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

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

pattern RenderingEngineType_OGRE :: RenderingEngineType
pattern $bRenderingEngineType_OGRE :: RenderingEngineType
$mRenderingEngineType_OGRE :: forall r. RenderingEngineType -> (Void# -> r) -> (Void# -> r) -> r
RenderingEngineType_OGRE = RenderingEngineType' "OGRE"

{-# COMPLETE
  RenderingEngineType_OGRE,
  RenderingEngineType'
  #-}