7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace LocationService
47 template<
typename PositionT = Aws::Vector<
double>>
48 void SetPosition(PositionT&& value) { m_positionHasBeenSet =
true; m_position = std::forward<PositionT>(value); }
49 template<
typename PositionT = Aws::Vector<
double>>
58 inline double GetSpeed()
const {
return m_speed; }
60 inline void SetSpeed(
double value) { m_speedHasBeenSet =
true; m_speed = value; }
66 bool m_positionHasBeenSet =
false;
69 bool m_speedHasBeenSet =
false;
AWS_LOCATIONSERVICE_API ForecastGeofenceEventsDeviceState(Aws::Utils::Json::JsonView jsonValue)
ForecastGeofenceEventsDeviceState & WithPosition(PositionT &&value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ForecastGeofenceEventsDeviceState & WithSpeed(double value)
ForecastGeofenceEventsDeviceState & AddPosition(double value)
void SetSpeed(double value)
const Aws::Vector< double > & GetPosition() const
void SetPosition(PositionT &&value)
AWS_LOCATIONSERVICE_API ForecastGeofenceEventsDeviceState & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PositionHasBeenSet() const
AWS_LOCATIONSERVICE_API ForecastGeofenceEventsDeviceState()=default
bool SpeedHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue