AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCurrency(const Aws::String& value) { m_currencyHasBeenSet = true; m_currency = value; }
74 inline void SetCurrency(Aws::String&& value) { m_currencyHasBeenSet = true; m_currency = std::move(value); }
75 inline void SetCurrency(const char* value) { m_currencyHasBeenSet = true; m_currency.assign(value); }
76 inline RouteTollOptions& WithCurrency(const Aws::String& value) { SetCurrency(value); return *this;}
77 inline RouteTollOptions& WithCurrency(Aws::String&& value) { SetCurrency(std::move(value)); return *this;}
78 inline RouteTollOptions& WithCurrency(const char* value) { SetCurrency(value); return *this;}
80
82
86 inline const RouteEmissionType& GetEmissionType() const{ return m_emissionType; }
87 inline bool EmissionTypeHasBeenSet() const { return m_emissionTypeHasBeenSet; }
88 inline void SetEmissionType(const RouteEmissionType& value) { m_emissionTypeHasBeenSet = true; m_emissionType = value; }
89 inline void SetEmissionType(RouteEmissionType&& value) { m_emissionTypeHasBeenSet = true; m_emissionType = std::move(value); }
90 inline RouteTollOptions& WithEmissionType(const RouteEmissionType& value) { SetEmissionType(value); return *this;}
91 inline RouteTollOptions& WithEmissionType(RouteEmissionType&& value) { SetEmissionType(std::move(value)); return *this;}
93
95
98 inline const RouteTollVehicleCategory& GetVehicleCategory() const{ return m_vehicleCategory; }
99 inline bool VehicleCategoryHasBeenSet() const { return m_vehicleCategoryHasBeenSet; }
100 inline void SetVehicleCategory(const RouteTollVehicleCategory& value) { m_vehicleCategoryHasBeenSet = true; m_vehicleCategory = value; }
101 inline void SetVehicleCategory(RouteTollVehicleCategory&& value) { m_vehicleCategoryHasBeenSet = true; m_vehicleCategory = std::move(value); }
103 inline RouteTollOptions& WithVehicleCategory(RouteTollVehicleCategory&& value) { SetVehicleCategory(std::move(value)); return *this;}
105 private:
106
107 bool m_allTransponders;
108 bool m_allTranspondersHasBeenSet = false;
109
110 bool m_allVignettes;
111 bool m_allVignettesHasBeenSet = false;
112
113 Aws::String m_currency;
114 bool m_currencyHasBeenSet = false;
115
116 RouteEmissionType m_emissionType;
117 bool m_emissionTypeHasBeenSet = false;
118
119 RouteTollVehicleCategory m_vehicleCategory;
120 bool m_vehicleCategoryHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace GeoRoutes
125} // namespace Aws
RouteTollOptions & WithVehicleCategory(RouteTollVehicleCategory &&value)
void SetEmissionType(const RouteEmissionType &value)
const RouteTollVehicleCategory & GetVehicleCategory() const
RouteTollOptions & WithEmissionType(const RouteEmissionType &value)
void SetVehicleCategory(RouteTollVehicleCategory &&value)
RouteTollOptions & WithCurrency(const char *value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCurrency(const Aws::String &value)
RouteTollOptions & WithAllTransponders(bool value)
RouteTollOptions & WithVehicleCategory(const RouteTollVehicleCategory &value)
AWS_GEOROUTES_API RouteTollOptions(Aws::Utils::Json::JsonView jsonValue)
void SetEmissionType(RouteEmissionType &&value)
AWS_GEOROUTES_API RouteTollOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteTollOptions & WithAllVignettes(bool value)
const RouteEmissionType & GetEmissionType() const
RouteTollOptions & WithEmissionType(RouteEmissionType &&value)
const Aws::String & GetCurrency() const
RouteTollOptions & WithCurrency(Aws::String &&value)
RouteTollOptions & WithCurrency(const Aws::String &value)
void SetVehicleCategory(const RouteTollVehicleCategory &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue