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

Contains a summary of each geofence that was successfully stored in a given * geofence collection.

See Also:

AWS * API Reference

*/ class BatchPutGeofenceSuccess { public: AWS_LOCATIONSERVICE_API BatchPutGeofenceSuccess(); AWS_LOCATIONSERVICE_API BatchPutGeofenceSuccess(Aws::Utils::Json::JsonView jsonValue); AWS_LOCATIONSERVICE_API BatchPutGeofenceSuccess& 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 BatchPutGeofenceSuccess& 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 BatchPutGeofenceSuccess& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *

The geofence successfully stored in a geofence collection.

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

The geofence successfully stored in a geofence collection.

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

The geofence successfully stored in a geofence collection.

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

The geofence successfully stored in a geofence collection.

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

The geofence successfully stored in a geofence collection.

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

The geofence successfully stored in a geofence collection.

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

The geofence successfully stored in a geofence collection.

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

The geofence successfully stored in a geofence collection.

*/ inline BatchPutGeofenceSuccess& WithGeofenceId(const char* value) { SetGeofenceId(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 BatchPutGeofenceSuccess& 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 BatchPutGeofenceSuccess& 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::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; }; } // namespace Model } // namespace LocationService } // namespace Aws