AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CalculateRouteCarModeOptions.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LocationService
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_LOCATIONSERVICE_API CalculateRouteCarModeOptions();
34 AWS_LOCATIONSERVICE_API CalculateRouteCarModeOptions(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
45 inline bool GetAvoidFerries() const{ return m_avoidFerries; }
46 inline bool AvoidFerriesHasBeenSet() const { return m_avoidFerriesHasBeenSet; }
47 inline void SetAvoidFerries(bool value) { m_avoidFerriesHasBeenSet = true; m_avoidFerries = value; }
48 inline CalculateRouteCarModeOptions& WithAvoidFerries(bool value) { SetAvoidFerries(value); return *this;}
50
52
57 inline bool GetAvoidTolls() const{ return m_avoidTolls; }
58 inline bool AvoidTollsHasBeenSet() const { return m_avoidTollsHasBeenSet; }
59 inline void SetAvoidTolls(bool value) { m_avoidTollsHasBeenSet = true; m_avoidTolls = value; }
60 inline CalculateRouteCarModeOptions& WithAvoidTolls(bool value) { SetAvoidTolls(value); return *this;}
62 private:
63
64 bool m_avoidFerries;
65 bool m_avoidFerriesHasBeenSet = false;
66
67 bool m_avoidTolls;
68 bool m_avoidTollsHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace LocationService
73} // namespace Aws
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOCATIONSERVICE_API CalculateRouteCarModeOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API CalculateRouteCarModeOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue