7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/location/LocationService_EXPORTS.h>
11#include <aws/location/model/ForecastedGeofenceEventType.h>
22namespace LocationService {
45 template <
typename EventIdT = Aws::String>
47 m_eventIdHasBeenSet =
true;
48 m_eventId = std::forward<EventIdT>(value);
50 template <
typename EventIdT = Aws::String>
63 template <
typename GeofenceIdT = Aws::String>
65 m_geofenceIdHasBeenSet =
true;
66 m_geofenceId = std::forward<GeofenceIdT>(value);
68 template <
typename GeofenceIdT = Aws::String>
82 m_isDeviceInGeofenceHasBeenSet =
true;
83 m_isDeviceInGeofence = value;
98 m_nearestDistanceHasBeenSet =
true;
99 m_nearestDistance = value;
120 m_eventTypeHasBeenSet =
true;
137 template <
typename ForecastedBreachTimeT = Aws::Utils::DateTime>
139 m_forecastedBreachTimeHasBeenSet =
true;
140 m_forecastedBreachTime = std::forward<ForecastedBreachTimeT>(value);
142 template <
typename ForecastedBreachTimeT = Aws::Utils::DateTime>
155 template <
typename GeofencePropertiesT = Aws::Map<Aws::String, Aws::String>>
157 m_geofencePropertiesHasBeenSet =
true;
158 m_geofenceProperties = std::forward<GeofencePropertiesT>(value);
160 template <
typename GeofencePropertiesT = Aws::Map<Aws::String, Aws::String>>
165 template <
typename GeofencePropertiesKeyT = Aws::String,
typename GeofencePropertiesValueT = Aws::String>
167 m_geofencePropertiesHasBeenSet =
true;
168 m_geofenceProperties.emplace(std::forward<GeofencePropertiesKeyT>(key), std::forward<GeofencePropertiesValueT>(value));
177 bool m_isDeviceInGeofence{
false};
179 double m_nearestDistance{0.0};
186 bool m_eventIdHasBeenSet =
false;
187 bool m_geofenceIdHasBeenSet =
false;
188 bool m_isDeviceInGeofenceHasBeenSet =
false;
189 bool m_nearestDistanceHasBeenSet =
false;
190 bool m_eventTypeHasBeenSet =
false;
191 bool m_forecastedBreachTimeHasBeenSet =
false;
192 bool m_geofencePropertiesHasBeenSet =
false;
bool GeofenceIdHasBeenSet() const
bool IsDeviceInGeofenceHasBeenSet() const
ForecastedEvent & WithEventId(EventIdT &&value)
AWS_LOCATIONSERVICE_API ForecastedEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetGeofenceId() const
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ForecastedEvent & WithForecastedBreachTime(ForecastedBreachTimeT &&value)
bool NearestDistanceHasBeenSet() const
ForecastedEvent & WithEventType(ForecastedGeofenceEventType value)
ForecastedEvent & WithGeofenceId(GeofenceIdT &&value)
void SetEventType(ForecastedGeofenceEventType value)
bool EventTypeHasBeenSet() const
double GetNearestDistance() const
void SetForecastedBreachTime(ForecastedBreachTimeT &&value)
void SetEventId(EventIdT &&value)
ForecastedGeofenceEventType GetEventType() const
const Aws::String & GetEventId() const
bool ForecastedBreachTimeHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetGeofenceProperties() const
const Aws::Utils::DateTime & GetForecastedBreachTime() const
bool GeofencePropertiesHasBeenSet() const
AWS_LOCATIONSERVICE_API ForecastedEvent(Aws::Utils::Json::JsonView jsonValue)
bool EventIdHasBeenSet() const
bool GetIsDeviceInGeofence() const
ForecastedEvent & AddGeofenceProperties(GeofencePropertiesKeyT &&key, GeofencePropertiesValueT &&value)
ForecastedEvent & WithIsDeviceInGeofence(bool value)
void SetNearestDistance(double value)
ForecastedEvent & WithNearestDistance(double value)
void SetIsDeviceInGeofence(bool value)
AWS_LOCATIONSERVICE_API ForecastedEvent()=default
void SetGeofenceProperties(GeofencePropertiesT &&value)
ForecastedEvent & WithGeofenceProperties(GeofencePropertiesT &&value)
void SetGeofenceId(GeofenceIdT &&value)
ForecastedGeofenceEventType
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue