/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains error details for each geofence that failed to be stored in a given
* geofence collection.See Also:
AWS
* API Reference
Contains details associated to the batch error.
*/ inline const BatchItemError& GetError() const{ return m_error; } /** *Contains details associated to the batch error.
*/ inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** *Contains details associated to the batch error.
*/ inline void SetError(const BatchItemError& value) { m_errorHasBeenSet = true; m_error = value; } /** *Contains details associated to the batch error.
*/ inline void SetError(BatchItemError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** *Contains details associated to the batch error.
*/ inline BatchPutGeofenceError& WithError(const BatchItemError& value) { SetError(value); return *this;} /** *Contains details associated to the batch error.
*/ inline BatchPutGeofenceError& WithError(BatchItemError&& value) { SetError(std::move(value)); return *this;} /** *The geofence associated with the error message.
*/ inline const Aws::String& GetGeofenceId() const{ return m_geofenceId; } /** *The geofence associated with the error message.
*/ inline bool GeofenceIdHasBeenSet() const { return m_geofenceIdHasBeenSet; } /** *The geofence associated with the error message.
*/ inline void SetGeofenceId(const Aws::String& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = value; } /** *The geofence associated with the error message.
*/ inline void SetGeofenceId(Aws::String&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::move(value); } /** *The geofence associated with the error message.
*/ inline void SetGeofenceId(const char* value) { m_geofenceIdHasBeenSet = true; m_geofenceId.assign(value); } /** *The geofence associated with the error message.
*/ inline BatchPutGeofenceError& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;} /** *The geofence associated with the error message.
*/ inline BatchPutGeofenceError& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;} /** *The geofence associated with the error message.
*/ inline BatchPutGeofenceError& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;} private: BatchItemError m_error; bool m_errorHasBeenSet = false; Aws::String m_geofenceId; bool m_geofenceIdHasBeenSet = false; }; } // namespace Model } // namespace LocationService } // namespace Aws