libZSservicesZSamazonka-locationZSamazonka-location
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • avoidTolls :: Maybe Bool

    Avoids tolls when calculating routes.

    Default Value: false

    Valid Values: false | true

  • avoidFerries :: Maybe Bool

    Avoids ferries when calculating routes.

    Default Value: false

    Valid Values: false | true

Instances

Instances details
Eq CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

Read CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

Show 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 #

NFData CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

Hashable CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

ToJSON 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" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "CalculateRouteCarModeOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "avoidTolls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "avoidFerries") '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:avoidTolls:CalculateRouteCarModeOptions', calculateRouteCarModeOptions_avoidTolls - Avoids tolls when calculating routes.

Default Value: false

Valid Values: false | true

$sel:avoidFerries:CalculateRouteCarModeOptions', calculateRouteCarModeOptions_avoidFerries - 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

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

Avoids ferries when calculating routes.

Default Value: false

Valid Values: false | true