/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LocationService { namespace Model { /** *

Contains a list of geofences stored in a given geofence * collection.

See Also:

AWS * API Reference

*/ class ListGeofenceResponseEntry { public: AWS_LOCATIONSERVICE_API ListGeofenceResponseEntry(); AWS_LOCATIONSERVICE_API ListGeofenceResponseEntry(Aws::Utils::Json::JsonView jsonValue); AWS_LOCATIONSERVICE_API ListGeofenceResponseEntry& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The timestamp for when the geofence was stored in a geofence collection in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ

*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *

The timestamp for when the geofence was stored in a geofence collection in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ

*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *

The timestamp for when the geofence was stored in a geofence collection in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ

*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *

The timestamp for when the geofence was stored in a geofence collection in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ

*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *

The timestamp for when the geofence was stored in a geofence collection in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ

*/ inline ListGeofenceResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *

The timestamp for when the geofence was stored in a geofence collection in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ

*/ inline ListGeofenceResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *

The geofence identifier.

*/ inline const Aws::String& GetGeofenceId() const{ return m_geofenceId; } /** *

The geofence identifier.

*/ inline bool GeofenceIdHasBeenSet() const { return m_geofenceIdHasBeenSet; } /** *

The geofence identifier.

*/ inline void SetGeofenceId(const Aws::String& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = value; } /** *

The geofence identifier.

*/ inline void SetGeofenceId(Aws::String&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::move(value); } /** *

The geofence identifier.

*/ inline void SetGeofenceId(const char* value) { m_geofenceIdHasBeenSet = true; m_geofenceId.assign(value); } /** *

The geofence identifier.

*/ inline ListGeofenceResponseEntry& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;} /** *

The geofence identifier.

*/ inline ListGeofenceResponseEntry& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;} /** *

The geofence identifier.

*/ inline ListGeofenceResponseEntry& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;} /** *

User defined properties of the geofence. A property is a key-value pair * stored with the geofence and added to any geofence event triggered with that * geofence.

Format: "key" : "value"

*/ inline const Aws::Map& GetGeofenceProperties() const{ return m_geofenceProperties; } /** *

User defined properties of the geofence. A property is a key-value pair * stored with the geofence and added to any geofence event triggered with that * geofence.

Format: "key" : "value"

*/ inline bool GeofencePropertiesHasBeenSet() const { return m_geofencePropertiesHasBeenSet; } /** *

User defined properties of the geofence. A property is a key-value pair * stored with the geofence and added to any geofence event triggered with that * geofence.

Format: "key" : "value"

*/ inline void SetGeofenceProperties(const Aws::Map& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties = value; } /** *

User defined properties of the geofence. A property is a key-value pair * stored with the geofence and added to any geofence event triggered with that * geofence.

Format: "key" : "value"

*/ inline void SetGeofenceProperties(Aws::Map&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties = std::move(value); } /** *

User defined properties of the geofence. A property is a key-value pair * stored with the geofence and added to any geofence event triggered with that * geofence.

Format: "key" : "value"

*/ inline ListGeofenceResponseEntry& WithGeofenceProperties(const Aws::Map& value) { SetGeofenceProperties(value); return *this;} /** *

User defined properties of the geofence. A property is a key-value pair * stored with the geofence and added to any geofence event triggered with that * geofence.

Format: "key" : "value"

*/ inline ListGeofenceResponseEntry& WithGeofenceProperties(Aws::Map&& value) { SetGeofenceProperties(std::move(value)); return *this;} /** *

User defined properties of the geofence. A property is a key-value pair * stored with the geofence and added to any geofence event triggered with that * geofence.

Format: "key" : "value"

*/ inline ListGeofenceResponseEntry& AddGeofenceProperties(const Aws::String& key, const Aws::String& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, value); return *this; } /** *

User defined properties of the geofence. A property is a key-value pair * stored with the geofence and added to any geofence event triggered with that * geofence.

Format: "key" : "value"

*/ inline ListGeofenceResponseEntry& AddGeofenceProperties(Aws::String&& key, const Aws::String& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), value); return *this; } /** *

User defined properties of the geofence. A property is a key-value pair * stored with the geofence and added to any geofence event triggered with that * geofence.

Format: "key" : "value"

*/ inline ListGeofenceResponseEntry& AddGeofenceProperties(const Aws::String& key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, std::move(value)); return *this; } /** *

User defined properties of the geofence. A property is a key-value pair * stored with the geofence and added to any geofence event triggered with that * geofence.

Format: "key" : "value"

*/ inline ListGeofenceResponseEntry& AddGeofenceProperties(Aws::String&& key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), std::move(value)); return *this; } /** *

User defined properties of the geofence. A property is a key-value pair * stored with the geofence and added to any geofence event triggered with that * geofence.

Format: "key" : "value"

*/ inline ListGeofenceResponseEntry& AddGeofenceProperties(const char* key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, std::move(value)); return *this; } /** *

User defined properties of the geofence. A property is a key-value pair * stored with the geofence and added to any geofence event triggered with that * geofence.

Format: "key" : "value"

*/ inline ListGeofenceResponseEntry& AddGeofenceProperties(Aws::String&& key, const char* value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), value); return *this; } /** *

User defined properties of the geofence. A property is a key-value pair * stored with the geofence and added to any geofence event triggered with that * geofence.

Format: "key" : "value"

*/ inline ListGeofenceResponseEntry& AddGeofenceProperties(const char* key, const char* value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, value); return *this; } /** *

Contains the geofence geometry details describing a polygon or a circle.

*/ inline const GeofenceGeometry& GetGeometry() const{ return m_geometry; } /** *

Contains the geofence geometry details describing a polygon or a circle.

*/ inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; } /** *

Contains the geofence geometry details describing a polygon or a circle.

*/ inline void SetGeometry(const GeofenceGeometry& value) { m_geometryHasBeenSet = true; m_geometry = value; } /** *

Contains the geofence geometry details describing a polygon or a circle.

*/ inline void SetGeometry(GeofenceGeometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); } /** *

Contains the geofence geometry details describing a polygon or a circle.

*/ inline ListGeofenceResponseEntry& WithGeometry(const GeofenceGeometry& value) { SetGeometry(value); return *this;} /** *

Contains the geofence geometry details describing a polygon or a circle.

*/ inline ListGeofenceResponseEntry& WithGeometry(GeofenceGeometry&& value) { SetGeometry(std::move(value)); return *this;} /** *

Identifies the state of the geofence. A geofence will hold one of the * following states:

  • ACTIVE — The geofence has been * indexed by the system.

  • PENDING — The geofence * is being processed by the system.

  • FAILED — The * geofence failed to be indexed by the system.

  • * DELETED — The geofence has been deleted from the system index.

    *
  • DELETING — The geofence is being deleted from the * system index.

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

Identifies the state of the geofence. A geofence will hold one of the * following states:

  • ACTIVE — The geofence has been * indexed by the system.

  • PENDING — The geofence * is being processed by the system.

  • FAILED — The * geofence failed to be indexed by the system.

  • * DELETED — The geofence has been deleted from the system index.

    *
  • DELETING — The geofence is being deleted from the * system index.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Identifies the state of the geofence. A geofence will hold one of the * following states:

  • ACTIVE — The geofence has been * indexed by the system.

  • PENDING — The geofence * is being processed by the system.

  • FAILED — The * geofence failed to be indexed by the system.

  • * DELETED — The geofence has been deleted from the system index.

    *
  • DELETING — The geofence is being deleted from the * system index.

*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Identifies the state of the geofence. A geofence will hold one of the * following states:

  • ACTIVE — The geofence has been * indexed by the system.

  • PENDING — The geofence * is being processed by the system.

  • FAILED — The * geofence failed to be indexed by the system.

  • * DELETED — The geofence has been deleted from the system index.

    *
  • DELETING — The geofence is being deleted from the * system index.

*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Identifies the state of the geofence. A geofence will hold one of the * following states:

  • ACTIVE — The geofence has been * indexed by the system.

  • PENDING — The geofence * is being processed by the system.

  • FAILED — The * geofence failed to be indexed by the system.

  • * DELETED — The geofence has been deleted from the system index.

    *
  • DELETING — The geofence is being deleted from the * system index.

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

Identifies the state of the geofence. A geofence will hold one of the * following states:

  • ACTIVE — The geofence has been * indexed by the system.

  • PENDING — The geofence * is being processed by the system.

  • FAILED — The * geofence failed to be indexed by the system.

  • * DELETED — The geofence has been deleted from the system index.

    *
  • DELETING — The geofence is being deleted from the * system index.

*/ inline ListGeofenceResponseEntry& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

Identifies the state of the geofence. A geofence will hold one of the * following states:

  • ACTIVE — The geofence has been * indexed by the system.

  • PENDING — The geofence * is being processed by the system.

  • FAILED — The * geofence failed to be indexed by the system.

  • * DELETED — The geofence has been deleted from the system index.

    *
  • DELETING — The geofence is being deleted from the * system index.

*/ inline ListGeofenceResponseEntry& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

Identifies the state of the geofence. A geofence will hold one of the * following states:

  • ACTIVE — The geofence has been * indexed by the system.

  • PENDING — The geofence * is being processed by the system.

  • FAILED — The * geofence failed to be indexed by the system.

  • * DELETED — The geofence has been deleted from the system index.

    *
  • DELETING — The geofence is being deleted from the * system index.

*/ inline ListGeofenceResponseEntry& WithStatus(const char* value) { SetStatus(value); return *this;} /** *

The timestamp for when the geofence was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ

*/ inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } /** *

The timestamp for when the geofence was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ

*/ inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; } /** *

The timestamp for when the geofence was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ

*/ inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; } /** *

The timestamp for when the geofence was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ

*/ inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); } /** *

The timestamp for when the geofence was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ

*/ inline ListGeofenceResponseEntry& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} /** *

The timestamp for when the geofence was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ

*/ inline ListGeofenceResponseEntry& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} private: Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet = false; Aws::String m_geofenceId; bool m_geofenceIdHasBeenSet = false; Aws::Map m_geofenceProperties; bool m_geofencePropertiesHasBeenSet = false; GeofenceGeometry m_geometry; bool m_geometryHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; }; } // namespace Model } // namespace LocationService } // namespace Aws