7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/location/model/ForecastedGeofenceEventType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
24namespace LocationService
51 template<
typename EventIdT = Aws::String>
52 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
53 template<
typename EventIdT = Aws::String>
63 template<
typename GeofenceIdT = Aws::String>
64 void SetGeofenceId(GeofenceIdT&& value) { m_geofenceIdHasBeenSet =
true; m_geofenceId = std::forward<GeofenceIdT>(value); }
65 template<
typename GeofenceIdT = Aws::String>
75 inline void SetIsDeviceInGeofence(
bool value) { m_isDeviceInGeofenceHasBeenSet =
true; m_isDeviceInGeofence = value; }
85 inline void SetNearestDistance(
double value) { m_nearestDistanceHasBeenSet =
true; m_nearestDistance = value; }
113 template<
typename ForecastedBreachTimeT = Aws::Utils::DateTime>
114 void SetForecastedBreachTime(ForecastedBreachTimeT&& value) { m_forecastedBreachTimeHasBeenSet =
true; m_forecastedBreachTime = std::forward<ForecastedBreachTimeT>(value); }
115 template<
typename ForecastedBreachTimeT = Aws::Utils::DateTime>
125 template<
typename GeofencePropertiesT = Aws::Map<Aws::String, Aws::String>>
126 void SetGeofenceProperties(GeofencePropertiesT&& value) { m_geofencePropertiesHasBeenSet =
true; m_geofenceProperties = std::forward<GeofencePropertiesT>(value); }
127 template<
typename GeofencePropertiesT = Aws::Map<Aws::String, Aws::String>>
129 template<
typename GeofencePropertiesKeyT = Aws::String,
typename GeofencePropertiesValueT = Aws::String>
131 m_geofencePropertiesHasBeenSet =
true; m_geofenceProperties.emplace(std::forward<GeofencePropertiesKeyT>(key), std::forward<GeofencePropertiesValueT>(value));
return *
this;
137 bool m_eventIdHasBeenSet =
false;
140 bool m_geofenceIdHasBeenSet =
false;
142 bool m_isDeviceInGeofence{
false};
143 bool m_isDeviceInGeofenceHasBeenSet =
false;
145 double m_nearestDistance{0.0};
146 bool m_nearestDistanceHasBeenSet =
false;
149 bool m_eventTypeHasBeenSet =
false;
152 bool m_forecastedBreachTimeHasBeenSet =
false;
155 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