AWS SDK for C++

AWS SDK for C++ Version 1.11.794

Loading...
Searching...
No Matches
WeightPerAxleGroup.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
28 public:
29 AWS_GEOROUTES_API WeightPerAxleGroup() = default;
30 AWS_GEOROUTES_API WeightPerAxleGroup(Aws::Utils::Json::JsonView jsonValue);
32 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline long long GetSingle() const { return m_single; }
40 inline bool SingleHasBeenSet() const { return m_singleHasBeenSet; }
41 inline void SetSingle(long long value) {
42 m_singleHasBeenSet = true;
43 m_single = value;
44 }
45 inline WeightPerAxleGroup& WithSingle(long long value) {
46 SetSingle(value);
47 return *this;
48 }
50
52
56 inline long long GetTandem() const { return m_tandem; }
57 inline bool TandemHasBeenSet() const { return m_tandemHasBeenSet; }
58 inline void SetTandem(long long value) {
59 m_tandemHasBeenSet = true;
60 m_tandem = value;
61 }
62 inline WeightPerAxleGroup& WithTandem(long long value) {
63 SetTandem(value);
64 return *this;
65 }
67
69
73 inline long long GetTriple() const { return m_triple; }
74 inline bool TripleHasBeenSet() const { return m_tripleHasBeenSet; }
75 inline void SetTriple(long long value) {
76 m_tripleHasBeenSet = true;
77 m_triple = value;
78 }
79 inline WeightPerAxleGroup& WithTriple(long long value) {
80 SetTriple(value);
81 return *this;
82 }
84
86
90 inline long long GetQuad() const { return m_quad; }
91 inline bool QuadHasBeenSet() const { return m_quadHasBeenSet; }
92 inline void SetQuad(long long value) {
93 m_quadHasBeenSet = true;
94 m_quad = value;
95 }
96 inline WeightPerAxleGroup& WithQuad(long long value) {
97 SetQuad(value);
98 return *this;
99 }
101
103
107 inline long long GetQuint() const { return m_quint; }
108 inline bool QuintHasBeenSet() const { return m_quintHasBeenSet; }
109 inline void SetQuint(long long value) {
110 m_quintHasBeenSet = true;
111 m_quint = value;
112 }
113 inline WeightPerAxleGroup& WithQuint(long long value) {
114 SetQuint(value);
115 return *this;
116 }
118 private:
119 long long m_single{0};
120
121 long long m_tandem{0};
122
123 long long m_triple{0};
124
125 long long m_quad{0};
126
127 long long m_quint{0};
128 bool m_singleHasBeenSet = false;
129 bool m_tandemHasBeenSet = false;
130 bool m_tripleHasBeenSet = false;
131 bool m_quadHasBeenSet = false;
132 bool m_quintHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace GeoRoutes
137} // namespace Aws
AWS_GEOROUTES_API WeightPerAxleGroup()=default
WeightPerAxleGroup & WithTandem(long long value)
WeightPerAxleGroup & WithQuad(long long value)
AWS_GEOROUTES_API WeightPerAxleGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
WeightPerAxleGroup & WithSingle(long long value)
AWS_GEOROUTES_API WeightPerAxleGroup(Aws::Utils::Json::JsonView jsonValue)
WeightPerAxleGroup & WithQuint(long long value)
WeightPerAxleGroup & WithTriple(long long value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue