amazonka-quicksight-2.0: Amazon QuickSight SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.QuickSight.Types.WhatIfRangeScenario

Description

 
Synopsis

Documentation

data WhatIfRangeScenario Source #

Provides the forecast to meet the target for a particular date range.

See: newWhatIfRangeScenario smart constructor.

Constructors

WhatIfRangeScenario' 

Fields

  • startDate :: POSIX

    The start date in the date range that you need the forecast results for.

  • endDate :: POSIX

    The end date in the date range that you need the forecast results for.

  • value :: Double

    The target value that you want to meet for the provided date range.

Instances

Instances details
FromJSON WhatIfRangeScenario Source # 
Instance details

Defined in Amazonka.QuickSight.Types.WhatIfRangeScenario

ToJSON WhatIfRangeScenario Source # 
Instance details

Defined in Amazonka.QuickSight.Types.WhatIfRangeScenario

Generic WhatIfRangeScenario Source # 
Instance details

Defined in Amazonka.QuickSight.Types.WhatIfRangeScenario

Associated Types

type Rep WhatIfRangeScenario :: Type -> Type #

Read WhatIfRangeScenario Source # 
Instance details

Defined in Amazonka.QuickSight.Types.WhatIfRangeScenario

Show WhatIfRangeScenario Source # 
Instance details

Defined in Amazonka.QuickSight.Types.WhatIfRangeScenario

NFData WhatIfRangeScenario Source # 
Instance details

Defined in Amazonka.QuickSight.Types.WhatIfRangeScenario

Methods

rnf :: WhatIfRangeScenario -> () #

Eq WhatIfRangeScenario Source # 
Instance details

Defined in Amazonka.QuickSight.Types.WhatIfRangeScenario

Hashable WhatIfRangeScenario Source # 
Instance details

Defined in Amazonka.QuickSight.Types.WhatIfRangeScenario

type Rep WhatIfRangeScenario Source # 
Instance details

Defined in Amazonka.QuickSight.Types.WhatIfRangeScenario

type Rep WhatIfRangeScenario = D1 ('MetaData "WhatIfRangeScenario" "Amazonka.QuickSight.Types.WhatIfRangeScenario" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "WhatIfRangeScenario'" 'PrefixI 'True) (S1 ('MetaSel ('Just "startDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: (S1 ('MetaSel ('Just "endDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double))))

newWhatIfRangeScenario Source #

Create a value of WhatIfRangeScenario with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:startDate:WhatIfRangeScenario', whatIfRangeScenario_startDate - The start date in the date range that you need the forecast results for.

$sel:endDate:WhatIfRangeScenario', whatIfRangeScenario_endDate - The end date in the date range that you need the forecast results for.

$sel:value:WhatIfRangeScenario', whatIfRangeScenario_value - The target value that you want to meet for the provided date range.

whatIfRangeScenario_startDate :: Lens' WhatIfRangeScenario UTCTime Source #

The start date in the date range that you need the forecast results for.

whatIfRangeScenario_endDate :: Lens' WhatIfRangeScenario UTCTime Source #

The end date in the date range that you need the forecast results for.

whatIfRangeScenario_value :: Lens' WhatIfRangeScenario Double Source #

The target value that you want to meet for the provided date range.