AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteTrailerOptions.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
30 {
31 public:
32 AWS_GEOROUTES_API RouteTrailerOptions();
33 AWS_GEOROUTES_API RouteTrailerOptions(Aws::Utils::Json::JsonView jsonValue);
35 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetAxleCount() const{ return m_axleCount; }
43 inline bool AxleCountHasBeenSet() const { return m_axleCountHasBeenSet; }
44 inline void SetAxleCount(int value) { m_axleCountHasBeenSet = true; m_axleCount = value; }
45 inline RouteTrailerOptions& WithAxleCount(int value) { SetAxleCount(value); return *this;}
47
49
53 inline int GetTrailerCount() const{ return m_trailerCount; }
54 inline bool TrailerCountHasBeenSet() const { return m_trailerCountHasBeenSet; }
55 inline void SetTrailerCount(int value) { m_trailerCountHasBeenSet = true; m_trailerCount = value; }
56 inline RouteTrailerOptions& WithTrailerCount(int value) { SetTrailerCount(value); return *this;}
58 private:
59
60 int m_axleCount;
61 bool m_axleCountHasBeenSet = false;
62
63 int m_trailerCount;
64 bool m_trailerCountHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace GeoRoutes
69} // namespace Aws
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