{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.SnowDeviceManagement.Types.Reboot
-- 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.SnowDeviceManagement.Types.Reboot where

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

-- | A structure used to reboot the device.
--
-- /See:/ 'newReboot' smart constructor.
data Reboot = Reboot'
  {
  }
  deriving (Reboot -> Reboot -> Bool
(Reboot -> Reboot -> Bool)
-> (Reboot -> Reboot -> Bool) -> Eq Reboot
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Reboot -> Reboot -> Bool
$c/= :: Reboot -> Reboot -> Bool
== :: Reboot -> Reboot -> Bool
$c== :: Reboot -> Reboot -> Bool
Prelude.Eq, ReadPrec [Reboot]
ReadPrec Reboot
Int -> ReadS Reboot
ReadS [Reboot]
(Int -> ReadS Reboot)
-> ReadS [Reboot]
-> ReadPrec Reboot
-> ReadPrec [Reboot]
-> Read Reboot
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Reboot]
$creadListPrec :: ReadPrec [Reboot]
readPrec :: ReadPrec Reboot
$creadPrec :: ReadPrec Reboot
readList :: ReadS [Reboot]
$creadList :: ReadS [Reboot]
readsPrec :: Int -> ReadS Reboot
$creadsPrec :: Int -> ReadS Reboot
Prelude.Read, Int -> Reboot -> ShowS
[Reboot] -> ShowS
Reboot -> String
(Int -> Reboot -> ShowS)
-> (Reboot -> String) -> ([Reboot] -> ShowS) -> Show Reboot
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Reboot] -> ShowS
$cshowList :: [Reboot] -> ShowS
show :: Reboot -> String
$cshow :: Reboot -> String
showsPrec :: Int -> Reboot -> ShowS
$cshowsPrec :: Int -> Reboot -> ShowS
Prelude.Show, (forall x. Reboot -> Rep Reboot x)
-> (forall x. Rep Reboot x -> Reboot) -> Generic Reboot
forall x. Rep Reboot x -> Reboot
forall x. Reboot -> Rep Reboot x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Reboot x -> Reboot
$cfrom :: forall x. Reboot -> Rep Reboot x
Prelude.Generic)

-- |
-- Create a value of 'Reboot' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
newReboot ::
  Reboot
newReboot :: Reboot
newReboot = Reboot
Reboot'

instance Prelude.Hashable Reboot

instance Prelude.NFData Reboot

instance Core.ToJSON Reboot where
  toJSON :: Reboot -> Value
toJSON = Value -> Reboot -> Value
forall a b. a -> b -> a
Prelude.const (Object -> Value
Core.Object Object
forall a. Monoid a => a
Prelude.mempty)