AWS SDK for C++

AWS SDK for C++ Version 1.11.794

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