AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteTollRate.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/RouteTollPrice.h>
10#include <aws/geo-routes/model/RouteTollPass.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/geo-routes/model/RouteTollPaymentMethod.h>
13#include <aws/geo-routes/model/RouteTransponder.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace GeoRoutes
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_GEOROUTES_API RouteTollRate();
40 AWS_GEOROUTES_API RouteTollRate(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GEOROUTES_API RouteTollRate& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetApplicableTimes() const{ return m_applicableTimes; }
50 inline bool ApplicableTimesHasBeenSet() const { return m_applicableTimesHasBeenSet; }
51 inline void SetApplicableTimes(const Aws::String& value) { m_applicableTimesHasBeenSet = true; m_applicableTimes = value; }
52 inline void SetApplicableTimes(Aws::String&& value) { m_applicableTimesHasBeenSet = true; m_applicableTimes = std::move(value); }
53 inline void SetApplicableTimes(const char* value) { m_applicableTimesHasBeenSet = true; m_applicableTimes.assign(value); }
54 inline RouteTollRate& WithApplicableTimes(const Aws::String& value) { SetApplicableTimes(value); return *this;}
55 inline RouteTollRate& WithApplicableTimes(Aws::String&& value) { SetApplicableTimes(std::move(value)); return *this;}
56 inline RouteTollRate& WithApplicableTimes(const char* value) { SetApplicableTimes(value); return *this;}
58
60
63 inline const RouteTollPrice& GetConvertedPrice() const{ return m_convertedPrice; }
64 inline bool ConvertedPriceHasBeenSet() const { return m_convertedPriceHasBeenSet; }
65 inline void SetConvertedPrice(const RouteTollPrice& value) { m_convertedPriceHasBeenSet = true; m_convertedPrice = value; }
66 inline void SetConvertedPrice(RouteTollPrice&& value) { m_convertedPriceHasBeenSet = true; m_convertedPrice = std::move(value); }
67 inline RouteTollRate& WithConvertedPrice(const RouteTollPrice& value) { SetConvertedPrice(value); return *this;}
68 inline RouteTollRate& WithConvertedPrice(RouteTollPrice&& value) { SetConvertedPrice(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetId() const{ return m_id; }
76 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
77 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
78 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
79 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
80 inline RouteTollRate& WithId(const Aws::String& value) { SetId(value); return *this;}
81 inline RouteTollRate& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
82 inline RouteTollRate& WithId(const char* value) { SetId(value); return *this;}
84
86
89 inline const RouteTollPrice& GetLocalPrice() const{ return m_localPrice; }
90 inline bool LocalPriceHasBeenSet() const { return m_localPriceHasBeenSet; }
91 inline void SetLocalPrice(const RouteTollPrice& value) { m_localPriceHasBeenSet = true; m_localPrice = value; }
92 inline void SetLocalPrice(RouteTollPrice&& value) { m_localPriceHasBeenSet = true; m_localPrice = std::move(value); }
93 inline RouteTollRate& WithLocalPrice(const RouteTollPrice& value) { SetLocalPrice(value); return *this;}
94 inline RouteTollRate& WithLocalPrice(RouteTollPrice&& value) { SetLocalPrice(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetName() const{ return m_name; }
102 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
103 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
104 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
105 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
106 inline RouteTollRate& WithName(const Aws::String& value) { SetName(value); return *this;}
107 inline RouteTollRate& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
108 inline RouteTollRate& WithName(const char* value) { SetName(value); return *this;}
110
112
115 inline const RouteTollPass& GetPass() const{ return m_pass; }
116 inline bool PassHasBeenSet() const { return m_passHasBeenSet; }
117 inline void SetPass(const RouteTollPass& value) { m_passHasBeenSet = true; m_pass = value; }
118 inline void SetPass(RouteTollPass&& value) { m_passHasBeenSet = true; m_pass = std::move(value); }
119 inline RouteTollRate& WithPass(const RouteTollPass& value) { SetPass(value); return *this;}
120 inline RouteTollRate& WithPass(RouteTollPass&& value) { SetPass(std::move(value)); return *this;}
122
124
127 inline const Aws::Vector<RouteTollPaymentMethod>& GetPaymentMethods() const{ return m_paymentMethods; }
128 inline bool PaymentMethodsHasBeenSet() const { return m_paymentMethodsHasBeenSet; }
129 inline void SetPaymentMethods(const Aws::Vector<RouteTollPaymentMethod>& value) { m_paymentMethodsHasBeenSet = true; m_paymentMethods = value; }
130 inline void SetPaymentMethods(Aws::Vector<RouteTollPaymentMethod>&& value) { m_paymentMethodsHasBeenSet = true; m_paymentMethods = std::move(value); }
133 inline RouteTollRate& AddPaymentMethods(const RouteTollPaymentMethod& value) { m_paymentMethodsHasBeenSet = true; m_paymentMethods.push_back(value); return *this; }
134 inline RouteTollRate& AddPaymentMethods(RouteTollPaymentMethod&& value) { m_paymentMethodsHasBeenSet = true; m_paymentMethods.push_back(std::move(value)); return *this; }
136
138
141 inline const Aws::Vector<RouteTransponder>& GetTransponders() const{ return m_transponders; }
142 inline bool TranspondersHasBeenSet() const { return m_transpondersHasBeenSet; }
143 inline void SetTransponders(const Aws::Vector<RouteTransponder>& value) { m_transpondersHasBeenSet = true; m_transponders = value; }
144 inline void SetTransponders(Aws::Vector<RouteTransponder>&& value) { m_transpondersHasBeenSet = true; m_transponders = std::move(value); }
146 inline RouteTollRate& WithTransponders(Aws::Vector<RouteTransponder>&& value) { SetTransponders(std::move(value)); return *this;}
147 inline RouteTollRate& AddTransponders(const RouteTransponder& value) { m_transpondersHasBeenSet = true; m_transponders.push_back(value); return *this; }
148 inline RouteTollRate& AddTransponders(RouteTransponder&& value) { m_transpondersHasBeenSet = true; m_transponders.push_back(std::move(value)); return *this; }
150 private:
151
152 Aws::String m_applicableTimes;
153 bool m_applicableTimesHasBeenSet = false;
154
155 RouteTollPrice m_convertedPrice;
156 bool m_convertedPriceHasBeenSet = false;
157
158 Aws::String m_id;
159 bool m_idHasBeenSet = false;
160
161 RouteTollPrice m_localPrice;
162 bool m_localPriceHasBeenSet = false;
163
164 Aws::String m_name;
165 bool m_nameHasBeenSet = false;
166
167 RouteTollPass m_pass;
168 bool m_passHasBeenSet = false;
169
171 bool m_paymentMethodsHasBeenSet = false;
172
173 Aws::Vector<RouteTransponder> m_transponders;
174 bool m_transpondersHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace GeoRoutes
179} // namespace Aws
RouteTollRate & WithApplicableTimes(Aws::String &&value)
const Aws::String & GetName() const
void SetApplicableTimes(const Aws::String &value)
void SetPass(RouteTollPass &&value)
void SetLocalPrice(RouteTollPrice &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteTollRate & AddTransponders(const RouteTransponder &value)
RouteTollRate & WithPaymentMethods(const Aws::Vector< RouteTollPaymentMethod > &value)
RouteTollRate & WithId(const char *value)
RouteTollRate & WithId(const Aws::String &value)
RouteTollRate & WithConvertedPrice(RouteTollPrice &&value)
void SetApplicableTimes(const char *value)
const Aws::String & GetApplicableTimes() const
const RouteTollPass & GetPass() const
RouteTollRate & AddPaymentMethods(const RouteTollPaymentMethod &value)
RouteTollRate & AddPaymentMethods(RouteTollPaymentMethod &&value)
RouteTollRate & WithTransponders(Aws::Vector< RouteTransponder > &&value)
void SetLocalPrice(const RouteTollPrice &value)
void SetApplicableTimes(Aws::String &&value)
RouteTollRate & WithPass(const RouteTollPass &value)
RouteTollRate & AddTransponders(RouteTransponder &&value)
void SetName(Aws::String &&value)
void SetPaymentMethods(const Aws::Vector< RouteTollPaymentMethod > &value)
void SetConvertedPrice(const RouteTollPrice &value)
AWS_GEOROUTES_API RouteTollRate(Aws::Utils::Json::JsonView jsonValue)
void SetPass(const RouteTollPass &value)
const RouteTollPrice & GetLocalPrice() const
RouteTollRate & WithLocalPrice(const RouteTollPrice &value)
RouteTollRate & WithApplicableTimes(const char *value)
AWS_GEOROUTES_API RouteTollRate & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteTollRate & WithApplicableTimes(const Aws::String &value)
RouteTollRate & WithPass(RouteTollPass &&value)
RouteTollRate & WithName(const Aws::String &value)
const Aws::Vector< RouteTollPaymentMethod > & GetPaymentMethods() const
void SetTransponders(const Aws::Vector< RouteTransponder > &value)
RouteTollRate & WithName(Aws::String &&value)
void SetTransponders(Aws::Vector< RouteTransponder > &&value)
void SetPaymentMethods(Aws::Vector< RouteTollPaymentMethod > &&value)
void SetConvertedPrice(RouteTollPrice &&value)
RouteTollRate & WithTransponders(const Aws::Vector< RouteTransponder > &value)
const Aws::String & GetId() const
RouteTollRate & WithId(Aws::String &&value)
RouteTollRate & WithName(const char *value)
void SetId(const Aws::String &value)
RouteTollRate & WithPaymentMethods(Aws::Vector< RouteTollPaymentMethod > &&value)
RouteTollRate & WithConvertedPrice(const RouteTollPrice &value)
void SetName(const Aws::String &value)
const RouteTollPrice & GetConvertedPrice() const
const Aws::Vector< RouteTransponder > & GetTransponders() const
RouteTollRate & WithLocalPrice(RouteTollPrice &&value)
void SetId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue