AWS SDK for C++

AWS SDK for C++ Version 1.11.832

Loading...
Searching...
No Matches
RouteChargeStepDetails.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace GeoRoutes {
17namespace Model {
18
26 public:
27 AWS_GEOROUTES_API RouteChargeStepDetails() = default;
30 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline double GetArrivalCharge() const { return m_arrivalCharge; }
37 inline bool ArrivalChargeHasBeenSet() const { return m_arrivalChargeHasBeenSet; }
38 inline void SetArrivalCharge(double value) {
39 m_arrivalChargeHasBeenSet = true;
40 m_arrivalCharge = value;
41 }
43 SetArrivalCharge(value);
44 return *this;
45 }
47
49
53 inline double GetConsumablePower() const { return m_consumablePower; }
54 inline bool ConsumablePowerHasBeenSet() const { return m_consumablePowerHasBeenSet; }
55 inline void SetConsumablePower(double value) {
56 m_consumablePowerHasBeenSet = true;
57 m_consumablePower = value;
58 }
60 SetConsumablePower(value);
61 return *this;
62 }
64
66
70 inline double GetDesiredCharge() const { return m_desiredCharge; }
71 inline bool DesiredChargeHasBeenSet() const { return m_desiredChargeHasBeenSet; }
72 inline void SetDesiredCharge(double value) {
73 m_desiredChargeHasBeenSet = true;
74 m_desiredCharge = value;
75 }
77 SetDesiredCharge(value);
78 return *this;
79 }
81 private:
82 double m_arrivalCharge{0.0};
83
84 double m_consumablePower{0.0};
85
86 double m_desiredCharge{0.0};
87 bool m_arrivalChargeHasBeenSet = false;
88 bool m_consumablePowerHasBeenSet = false;
89 bool m_desiredChargeHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace GeoRoutes
94} // namespace Aws
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteChargeStepDetails(Aws::Utils::Json::JsonView jsonValue)
RouteChargeStepDetails & WithArrivalCharge(double value)
AWS_GEOROUTES_API RouteChargeStepDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteChargeStepDetails & WithConsumablePower(double value)
RouteChargeStepDetails & WithDesiredCharge(double value)
AWS_GEOROUTES_API RouteChargeStepDetails()=default
Aws::Utils::Json::JsonValue JsonValue