7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/location/model/GeofenceGeometry.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace LocationService
43 template<
typename GeofenceIdT = Aws::String>
44 void SetGeofenceId(GeofenceIdT&& value) { m_geofenceIdHasBeenSet =
true; m_geofenceId = std::forward<GeofenceIdT>(value); }
45 template<
typename GeofenceIdT = Aws::String>
55 template<
typename GeometryT = GeofenceGeometry>
56 void SetGeometry(GeometryT&& value) { m_geometryHasBeenSet =
true; m_geometry = std::forward<GeometryT>(value); }
57 template<
typename GeometryT = GeofenceGeometry>
73 template<
typename StatusT = Aws::String>
74 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
75 template<
typename StatusT = Aws::String>
86 template<
typename CreateTimeT = Aws::Utils::DateTime>
87 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
88 template<
typename CreateTimeT = Aws::Utils::DateTime>
99 template<
typename UpdateTimeT = Aws::Utils::DateTime>
100 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet =
true; m_updateTime = std::forward<UpdateTimeT>(value); }
101 template<
typename UpdateTimeT = Aws::Utils::DateTime>
112 template<
typename GeofencePropertiesT = Aws::Map<Aws::String, Aws::String>>
113 void SetGeofenceProperties(GeofencePropertiesT&& value) { m_geofencePropertiesHasBeenSet =
true; m_geofenceProperties = std::forward<GeofencePropertiesT>(value); }
114 template<
typename GeofencePropertiesT = Aws::Map<Aws::String, Aws::String>>
116 template<
typename GeofencePropertiesKeyT = Aws::String,
typename GeofencePropertiesValueT = Aws::String>
118 m_geofencePropertiesHasBeenSet =
true; m_geofenceProperties.emplace(std::forward<GeofencePropertiesKeyT>(key), std::forward<GeofencePropertiesValueT>(value));
return *
this;
125 template<
typename RequestIdT = Aws::String>
126 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
127 template<
typename RequestIdT = Aws::String>
133 bool m_geofenceIdHasBeenSet =
false;
136 bool m_geometryHasBeenSet =
false;
139 bool m_statusHasBeenSet =
false;
142 bool m_createTimeHasBeenSet =
false;
145 bool m_updateTimeHasBeenSet =
false;
148 bool m_geofencePropertiesHasBeenSet =
false;
151 bool m_requestIdHasBeenSet =
false;
void SetGeometry(GeometryT &&value)
void SetCreateTime(CreateTimeT &&value)
GetGeofenceResult & WithGeofenceId(GeofenceIdT &&value)
void SetUpdateTime(UpdateTimeT &&value)
GetGeofenceResult & WithStatus(StatusT &&value)
AWS_LOCATIONSERVICE_API GetGeofenceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetStatus() const
void SetStatus(StatusT &&value)
const Aws::Map< Aws::String, Aws::String > & GetGeofenceProperties() const
const GeofenceGeometry & GetGeometry() const
GetGeofenceResult & WithGeofenceProperties(GeofencePropertiesT &&value)
void SetRequestId(RequestIdT &&value)
void SetGeofenceId(GeofenceIdT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
void SetGeofenceProperties(GeofencePropertiesT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetGeofenceId() const
GetGeofenceResult & WithRequestId(RequestIdT &&value)
AWS_LOCATIONSERVICE_API GetGeofenceResult()=default
AWS_LOCATIONSERVICE_API GetGeofenceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGeofenceResult & WithGeometry(GeometryT &&value)
GetGeofenceResult & WithCreateTime(CreateTimeT &&value)
GetGeofenceResult & AddGeofenceProperties(GeofencePropertiesKeyT &&key, GeofencePropertiesValueT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
GetGeofenceResult & WithUpdateTime(UpdateTimeT &&value)
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