AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const ROS2PrimitiveType& GetPrimitiveType() const{ return m_primitiveType; }
47 inline bool PrimitiveTypeHasBeenSet() const { return m_primitiveTypeHasBeenSet; }
48 inline void SetPrimitiveType(const ROS2PrimitiveType& value) { m_primitiveTypeHasBeenSet = true; m_primitiveType = value; }
49 inline void SetPrimitiveType(ROS2PrimitiveType&& value) { m_primitiveTypeHasBeenSet = true; m_primitiveType = std::move(value); }
51 inline ROS2PrimitiveMessageDefinition& WithPrimitiveType(ROS2PrimitiveType&& value) { SetPrimitiveType(std::move(value)); return *this;}
53
55
59 inline double GetOffset() const{ return m_offset; }
60 inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; }
61 inline void SetOffset(double value) { m_offsetHasBeenSet = true; m_offset = value; }
62 inline ROS2PrimitiveMessageDefinition& WithOffset(double value) { SetOffset(value); return *this;}
64
66
69 inline double GetScaling() const{ return m_scaling; }
70 inline bool ScalingHasBeenSet() const { return m_scalingHasBeenSet; }
71 inline void SetScaling(double value) { m_scalingHasBeenSet = true; m_scaling = value; }
72 inline ROS2PrimitiveMessageDefinition& WithScaling(double value) { SetScaling(value); return *this;}
74
76
80 inline long long GetUpperBound() const{ return m_upperBound; }
81 inline bool UpperBoundHasBeenSet() const { return m_upperBoundHasBeenSet; }
82 inline void SetUpperBound(long long value) { m_upperBoundHasBeenSet = true; m_upperBound = value; }
83 inline ROS2PrimitiveMessageDefinition& WithUpperBound(long long value) { SetUpperBound(value); return *this;}
85 private:
86
87 ROS2PrimitiveType m_primitiveType;
88 bool m_primitiveTypeHasBeenSet = false;
89
90 double m_offset;
91 bool m_offsetHasBeenSet = false;
92
93 double m_scaling;
94 bool m_scalingHasBeenSet = false;
95
96 long long m_upperBound;
97 bool m_upperBoundHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace IoTFleetWise
102} // namespace Aws
AWS_IOTFLEETWISE_API ROS2PrimitiveMessageDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
ROS2PrimitiveMessageDefinition & WithPrimitiveType(const ROS2PrimitiveType &value)
ROS2PrimitiveMessageDefinition & WithPrimitiveType(ROS2PrimitiveType &&value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
ROS2PrimitiveMessageDefinition & WithUpperBound(long long value)
AWS_IOTFLEETWISE_API ROS2PrimitiveMessageDefinition(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue