AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ROS2PrimitiveMessageDefinition.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/iotfleetwise/model/ROS2PrimitiveType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTFleetWise
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTFLEETWISE_API ROS2PrimitiveMessageDefinition() = default;
38 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline ROS2PrimitiveType GetPrimitiveType() const { return m_primitiveType; }
47 inline bool PrimitiveTypeHasBeenSet() const { return m_primitiveTypeHasBeenSet; }
48 inline void SetPrimitiveType(ROS2PrimitiveType value) { m_primitiveTypeHasBeenSet = true; m_primitiveType = value; }
51
53
57 inline double GetOffset() const { return m_offset; }
58 inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; }
59 inline void SetOffset(double value) { m_offsetHasBeenSet = true; m_offset = value; }
60 inline ROS2PrimitiveMessageDefinition& WithOffset(double value) { SetOffset(value); return *this;}
62
64
67 inline double GetScaling() const { return m_scaling; }
68 inline bool ScalingHasBeenSet() const { return m_scalingHasBeenSet; }
69 inline void SetScaling(double value) { m_scalingHasBeenSet = true; m_scaling = value; }
70 inline ROS2PrimitiveMessageDefinition& WithScaling(double value) { SetScaling(value); return *this;}
72
74
78 inline long long GetUpperBound() const { return m_upperBound; }
79 inline bool UpperBoundHasBeenSet() const { return m_upperBoundHasBeenSet; }
80 inline void SetUpperBound(long long value) { m_upperBoundHasBeenSet = true; m_upperBound = value; }
81 inline ROS2PrimitiveMessageDefinition& WithUpperBound(long long value) { SetUpperBound(value); return *this;}
83 private:
84
86 bool m_primitiveTypeHasBeenSet = false;
87
88 double m_offset{0.0};
89 bool m_offsetHasBeenSet = false;
90
91 double m_scaling{0.0};
92 bool m_scalingHasBeenSet = false;
93
94 long long m_upperBound{0};
95 bool m_upperBoundHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace IoTFleetWise
100} // namespace Aws
ROS2PrimitiveMessageDefinition & WithPrimitiveType(ROS2PrimitiveType value)
AWS_IOTFLEETWISE_API ROS2PrimitiveMessageDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
ROS2PrimitiveMessageDefinition & WithUpperBound(long long value)
AWS_IOTFLEETWISE_API ROS2PrimitiveMessageDefinition()=default
AWS_IOTFLEETWISE_API ROS2PrimitiveMessageDefinition(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue