AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RouteTollOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-routes/model/RouteEmissionType.h>
10#include <aws/geo-routes/model/RouteTollVehicleCategory.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GeoRoutes
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_GEOROUTES_API RouteTollOptions() = default;
37 AWS_GEOROUTES_API RouteTollOptions(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline bool GetAllTransponders() const { return m_allTransponders; }
49 inline bool AllTranspondersHasBeenSet() const { return m_allTranspondersHasBeenSet; }
50 inline void SetAllTransponders(bool value) { m_allTranspondersHasBeenSet = true; m_allTransponders = value; }
51 inline RouteTollOptions& WithAllTransponders(bool value) { SetAllTransponders(value); return *this;}
53
55
60 inline bool GetAllVignettes() const { return m_allVignettes; }
61 inline bool AllVignettesHasBeenSet() const { return m_allVignettesHasBeenSet; }
62 inline void SetAllVignettes(bool value) { m_allVignettesHasBeenSet = true; m_allVignettes = value; }
63 inline RouteTollOptions& WithAllVignettes(bool value) { SetAllVignettes(value); return *this;}
65
67
71 inline const Aws::String& GetCurrency() const { return m_currency; }
72 inline bool CurrencyHasBeenSet() const { return m_currencyHasBeenSet; }
73 template<typename CurrencyT = Aws::String>
74 void SetCurrency(CurrencyT&& value) { m_currencyHasBeenSet = true; m_currency = std::forward<CurrencyT>(value); }
75 template<typename CurrencyT = Aws::String>
76 RouteTollOptions& WithCurrency(CurrencyT&& value) { SetCurrency(std::forward<CurrencyT>(value)); return *this;}
78
80
84 inline const RouteEmissionType& GetEmissionType() const { return m_emissionType; }
85 inline bool EmissionTypeHasBeenSet() const { return m_emissionTypeHasBeenSet; }
86 template<typename EmissionTypeT = RouteEmissionType>
87 void SetEmissionType(EmissionTypeT&& value) { m_emissionTypeHasBeenSet = true; m_emissionType = std::forward<EmissionTypeT>(value); }
88 template<typename EmissionTypeT = RouteEmissionType>
89 RouteTollOptions& WithEmissionType(EmissionTypeT&& value) { SetEmissionType(std::forward<EmissionTypeT>(value)); return *this;}
91
93
96 inline RouteTollVehicleCategory GetVehicleCategory() const { return m_vehicleCategory; }
97 inline bool VehicleCategoryHasBeenSet() const { return m_vehicleCategoryHasBeenSet; }
98 inline void SetVehicleCategory(RouteTollVehicleCategory value) { m_vehicleCategoryHasBeenSet = true; m_vehicleCategory = value; }
101 private:
102
103 bool m_allTransponders{false};
104 bool m_allTranspondersHasBeenSet = false;
105
106 bool m_allVignettes{false};
107 bool m_allVignettesHasBeenSet = false;
108
109 Aws::String m_currency;
110 bool m_currencyHasBeenSet = false;
111
112 RouteEmissionType m_emissionType;
113 bool m_emissionTypeHasBeenSet = false;
114
116 bool m_vehicleCategoryHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace GeoRoutes
121} // namespace Aws
RouteTollVehicleCategory GetVehicleCategory() const
RouteTollOptions & WithCurrency(CurrencyT &&value)
AWS_GEOROUTES_API RouteTollOptions()=default
void SetEmissionType(EmissionTypeT &&value)
RouteTollOptions & WithVehicleCategory(RouteTollVehicleCategory value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteTollOptions & WithEmissionType(EmissionTypeT &&value)
RouteTollOptions & WithAllTransponders(bool value)
AWS_GEOROUTES_API RouteTollOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteTollOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteTollOptions & WithAllVignettes(bool value)
const RouteEmissionType & GetEmissionType() const
const Aws::String & GetCurrency() const
void SetVehicleCategory(RouteTollVehicleCategory value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue