7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/LocationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/location/model/GeofenceGeometry.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
16namespace LocationService
43 template<
typename CollectionNameT = Aws::String>
44 void SetCollectionName(CollectionNameT&& value) { m_collectionNameHasBeenSet =
true; m_collectionName = std::forward<CollectionNameT>(value); }
45 template<
typename CollectionNameT = Aws::String>
56 template<
typename GeofenceIdT = Aws::String>
57 void SetGeofenceId(GeofenceIdT&& value) { m_geofenceIdHasBeenSet =
true; m_geofenceId = std::forward<GeofenceIdT>(value); }
58 template<
typename GeofenceIdT = Aws::String>
74 template<
typename GeometryT = GeofenceGeometry>
75 void SetGeometry(GeometryT&& value) { m_geometryHasBeenSet =
true; m_geometry = std::forward<GeometryT>(value); }
76 template<
typename GeometryT = GeofenceGeometry>
88 template<
typename GeofencePropertiesT = Aws::Map<Aws::String, Aws::String>>
89 void SetGeofenceProperties(GeofencePropertiesT&& value) { m_geofencePropertiesHasBeenSet =
true; m_geofenceProperties = std::forward<GeofencePropertiesT>(value); }
90 template<
typename GeofencePropertiesT = Aws::Map<Aws::String, Aws::String>>
92 template<
typename GeofencePropertiesKeyT = Aws::String,
typename GeofencePropertiesValueT = Aws::String>
94 m_geofencePropertiesHasBeenSet =
true; m_geofenceProperties.emplace(std::forward<GeofencePropertiesKeyT>(key), std::forward<GeofencePropertiesValueT>(value));
return *
this;
100 bool m_collectionNameHasBeenSet =
false;
103 bool m_geofenceIdHasBeenSet =
false;
106 bool m_geometryHasBeenSet =
false;
109 bool m_geofencePropertiesHasBeenSet =
false;
PutGeofenceRequest & WithGeofenceId(GeofenceIdT &&value)
bool GeometryHasBeenSet() const
void SetGeofenceId(GeofenceIdT &&value)
virtual const char * GetServiceRequestName() const override
PutGeofenceRequest & WithGeofenceProperties(GeofencePropertiesT &&value)
void SetGeofenceProperties(GeofencePropertiesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetGeofenceProperties() const
AWS_LOCATIONSERVICE_API PutGeofenceRequest()=default
const Aws::String & GetCollectionName() const
const Aws::String & GetGeofenceId() const
PutGeofenceRequest & AddGeofenceProperties(GeofencePropertiesKeyT &&key, GeofencePropertiesValueT &&value)
bool GeofenceIdHasBeenSet() const
const GeofenceGeometry & GetGeometry() const
void SetGeometry(GeometryT &&value)
void SetCollectionName(CollectionNameT &&value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
bool CollectionNameHasBeenSet() const
bool GeofencePropertiesHasBeenSet() const
PutGeofenceRequest & WithGeometry(GeometryT &&value)
PutGeofenceRequest & WithCollectionName(CollectionNameT &&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