AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
RouteTrailerOptions.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
25 public:
26 AWS_GEOROUTES_API RouteTrailerOptions() = default;
27 AWS_GEOROUTES_API RouteTrailerOptions(Aws::Utils::Json::JsonView jsonValue);
29 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetAxleCount() const { return m_axleCount; }
36 inline bool AxleCountHasBeenSet() const { return m_axleCountHasBeenSet; }
37 inline void SetAxleCount(int value) {
38 m_axleCountHasBeenSet = true;
39 m_axleCount = value;
40 }
42 SetAxleCount(value);
43 return *this;
44 }
46
48
52 inline int GetTrailerCount() const { return m_trailerCount; }
53 inline bool TrailerCountHasBeenSet() const { return m_trailerCountHasBeenSet; }
54 inline void SetTrailerCount(int value) {
55 m_trailerCountHasBeenSet = true;
56 m_trailerCount = value;
57 }
59 SetTrailerCount(value);
60 return *this;
61 }
63 private:
64 int m_axleCount{0};
65
66 int m_trailerCount{0};
67 bool m_axleCountHasBeenSet = false;
68 bool m_trailerCountHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace GeoRoutes
73} // namespace Aws
AWS_GEOROUTES_API RouteTrailerOptions()=default
AWS_GEOROUTES_API RouteTrailerOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteTrailerOptions & WithTrailerCount(int value)
AWS_GEOROUTES_API RouteTrailerOptions(Aws::Utils::Json::JsonView jsonValue)
RouteTrailerOptions & WithAxleCount(int value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue