amazonka-location-2.0: Amazon Location Service 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.Location.Types.CalculateRouteCarModeOptions

Description

 
Synopsis

Documentation

data CalculateRouteCarModeOptions Source #

Contains details about additional route preferences for requests that specify TravelMode as Car.

See: newCalculateRouteCarModeOptions smart constructor.

Constructors

CalculateRouteCarModeOptions' 

Fields

  • avoidFerries :: Maybe Bool

    Avoids ferries when calculating routes.

    Default Value: false

    Valid Values: false | true

  • avoidTolls :: Maybe Bool

    Avoids tolls when calculating routes.

    Default Value: false

    Valid Values: false | true

Instances

Instances details
ToJSON CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

Generic CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

Associated Types

type Rep CalculateRouteCarModeOptions :: Type -> Type #

Read CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

Show CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

NFData CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

Eq CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

Hashable CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

type Rep CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

type Rep CalculateRouteCarModeOptions = D1 ('MetaData "CalculateRouteCarModeOptions" "Amazonka.Location.Types.CalculateRouteCarModeOptions" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "CalculateRouteCarModeOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "avoidFerries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "avoidTolls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newCalculateRouteCarModeOptions :: CalculateRouteCarModeOptions Source #

Create a value of CalculateRouteCarModeOptions 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:avoidFerries:CalculateRouteCarModeOptions', calculateRouteCarModeOptions_avoidFerries - Avoids ferries when calculating routes.

Default Value: false

Valid Values: false | true

$sel:avoidTolls:CalculateRouteCarModeOptions', calculateRouteCarModeOptions_avoidTolls - Avoids tolls when calculating routes.

Default Value: false

Valid Values: false | true

calculateRouteCarModeOptions_avoidFerries :: Lens' CalculateRouteCarModeOptions (Maybe Bool) Source #

Avoids ferries when calculating routes.

Default Value: false

Valid Values: false | true

calculateRouteCarModeOptions_avoidTolls :: Lens' CalculateRouteCarModeOptions (Maybe Bool) Source #

Avoids tolls when calculating routes.

Default Value: false

Valid Values: false | true