AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WeightPerAxleGroup.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GeoRoutes
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_GEOROUTES_API WeightPerAxleGroup();
35 AWS_GEOROUTES_API WeightPerAxleGroup(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline long long GetSingle() const{ return m_single; }
46 inline bool SingleHasBeenSet() const { return m_singleHasBeenSet; }
47 inline void SetSingle(long long value) { m_singleHasBeenSet = true; m_single = value; }
48 inline WeightPerAxleGroup& WithSingle(long long value) { SetSingle(value); return *this;}
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) { m_tandemHasBeenSet = true; m_tandem = value; }
59 inline WeightPerAxleGroup& WithTandem(long long value) { SetTandem(value); return *this;}
61
63
67 inline long long GetTriple() const{ return m_triple; }
68 inline bool TripleHasBeenSet() const { return m_tripleHasBeenSet; }
69 inline void SetTriple(long long value) { m_tripleHasBeenSet = true; m_triple = value; }
70 inline WeightPerAxleGroup& WithTriple(long long value) { SetTriple(value); return *this;}
72
74
77 inline long long GetQuad() const{ return m_quad; }
78 inline bool QuadHasBeenSet() const { return m_quadHasBeenSet; }
79 inline void SetQuad(long long value) { m_quadHasBeenSet = true; m_quad = value; }
80 inline WeightPerAxleGroup& WithQuad(long long value) { SetQuad(value); return *this;}
82
84
87 inline long long GetQuint() const{ return m_quint; }
88 inline bool QuintHasBeenSet() const { return m_quintHasBeenSet; }
89 inline void SetQuint(long long value) { m_quintHasBeenSet = true; m_quint = value; }
90 inline WeightPerAxleGroup& WithQuint(long long value) { SetQuint(value); return *this;}
92 private:
93
94 long long m_single;
95 bool m_singleHasBeenSet = false;
96
97 long long m_tandem;
98 bool m_tandemHasBeenSet = false;
99
100 long long m_triple;
101 bool m_tripleHasBeenSet = false;
102
103 long long m_quad;
104 bool m_quadHasBeenSet = false;
105
106 long long m_quint;
107 bool m_quintHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace GeoRoutes
112} // namespace Aws
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