AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ForecastGeofenceEventsDeviceState.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.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 LocationService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LOCATIONSERVICE_API ForecastGeofenceEventsDeviceState();
38 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<double>& GetPosition() const{ return m_position; }
46 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
47 inline void SetPosition(const Aws::Vector<double>& value) { m_positionHasBeenSet = true; m_position = value; }
48 inline void SetPosition(Aws::Vector<double>&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
50 inline ForecastGeofenceEventsDeviceState& WithPosition(Aws::Vector<double>&& value) { SetPosition(std::move(value)); return *this;}
51 inline ForecastGeofenceEventsDeviceState& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; }
53
55
58 inline double GetSpeed() const{ return m_speed; }
59 inline bool SpeedHasBeenSet() const { return m_speedHasBeenSet; }
60 inline void SetSpeed(double value) { m_speedHasBeenSet = true; m_speed = value; }
61 inline ForecastGeofenceEventsDeviceState& WithSpeed(double value) { SetSpeed(value); return *this;}
63 private:
64
65 Aws::Vector<double> m_position;
66 bool m_positionHasBeenSet = false;
67
68 double m_speed;
69 bool m_speedHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace LocationService
74} // namespace Aws
AWS_LOCATIONSERVICE_API ForecastGeofenceEventsDeviceState(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ForecastGeofenceEventsDeviceState & WithPosition(Aws::Vector< double > &&value)
ForecastGeofenceEventsDeviceState & WithPosition(const Aws::Vector< double > &value)
AWS_LOCATIONSERVICE_API ForecastGeofenceEventsDeviceState & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue