AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CalculateRouteCarModeOptions.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace LocationService {
17namespace Model {
18
26 public:
27 AWS_LOCATIONSERVICE_API CalculateRouteCarModeOptions() = default;
28 AWS_LOCATIONSERVICE_API CalculateRouteCarModeOptions(Aws::Utils::Json::JsonView jsonValue);
30 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
38 inline bool GetAvoidFerries() const { return m_avoidFerries; }
39 inline bool AvoidFerriesHasBeenSet() const { return m_avoidFerriesHasBeenSet; }
40 inline void SetAvoidFerries(bool value) {
41 m_avoidFerriesHasBeenSet = true;
42 m_avoidFerries = value;
43 }
45 SetAvoidFerries(value);
46 return *this;
47 }
49
51
56 inline bool GetAvoidTolls() const { return m_avoidTolls; }
57 inline bool AvoidTollsHasBeenSet() const { return m_avoidTollsHasBeenSet; }
58 inline void SetAvoidTolls(bool value) {
59 m_avoidTollsHasBeenSet = true;
60 m_avoidTolls = value;
61 }
63 SetAvoidTolls(value);
64 return *this;
65 }
67 private:
68 bool m_avoidFerries{false};
69
70 bool m_avoidTolls{false};
71 bool m_avoidFerriesHasBeenSet = false;
72 bool m_avoidTollsHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace LocationService
77} // 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()=default
AWS_LOCATIONSERVICE_API CalculateRouteCarModeOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue