AWS SDK for C++

AWS SDK for C++ Version 1.11.770

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
27 public:
28 AWS_GEOROUTES_API WeightPerAxleGroup() = default;
29 AWS_GEOROUTES_API WeightPerAxleGroup(Aws::Utils::Json::JsonView jsonValue);
31 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
38 inline long long GetSingle() const { return m_single; }
39 inline bool SingleHasBeenSet() const { return m_singleHasBeenSet; }
40 inline void SetSingle(long long value) {
41 m_singleHasBeenSet = true;
42 m_single = value;
43 }
44 inline WeightPerAxleGroup& WithSingle(long long value) {
45 SetSingle(value);
46 return *this;
47 }
49
51
55 inline long long GetTandem() const { return m_tandem; }
56 inline bool TandemHasBeenSet() const { return m_tandemHasBeenSet; }
57 inline void SetTandem(long long value) {
58 m_tandemHasBeenSet = true;
59 m_tandem = value;
60 }
61 inline WeightPerAxleGroup& WithTandem(long long value) {
62 SetTandem(value);
63 return *this;
64 }
66
68
72 inline long long GetTriple() const { return m_triple; }
73 inline bool TripleHasBeenSet() const { return m_tripleHasBeenSet; }
74 inline void SetTriple(long long value) {
75 m_tripleHasBeenSet = true;
76 m_triple = value;
77 }
78 inline WeightPerAxleGroup& WithTriple(long long value) {
79 SetTriple(value);
80 return *this;
81 }
83
85
88 inline long long GetQuad() const { return m_quad; }
89 inline bool QuadHasBeenSet() const { return m_quadHasBeenSet; }
90 inline void SetQuad(long long value) {
91 m_quadHasBeenSet = true;
92 m_quad = value;
93 }
94 inline WeightPerAxleGroup& WithQuad(long long value) {
95 SetQuad(value);
96 return *this;
97 }
99
101
104 inline long long GetQuint() const { return m_quint; }
105 inline bool QuintHasBeenSet() const { return m_quintHasBeenSet; }
106 inline void SetQuint(long long value) {
107 m_quintHasBeenSet = true;
108 m_quint = value;
109 }
110 inline WeightPerAxleGroup& WithQuint(long long value) {
111 SetQuint(value);
112 return *this;
113 }
115 private:
116 long long m_single{0};
117
118 long long m_tandem{0};
119
120 long long m_triple{0};
121
122 long long m_quad{0};
123
124 long long m_quint{0};
125 bool m_singleHasBeenSet = false;
126 bool m_tandemHasBeenSet = false;
127 bool m_tripleHasBeenSet = false;
128 bool m_quadHasBeenSet = false;
129 bool m_quintHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace GeoRoutes
134} // 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