/** * 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 the tracker resource details.

See Also:

AWS * API Reference

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

The ID of the device for this position.

*/ inline const Aws::String& GetDeviceId() const{ return m_deviceId; } /** *

The ID of the device for this position.

*/ inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; } /** *

The ID of the device for this position.

*/ inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; } /** *

The ID of the device for this position.

*/ inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); } /** *

The ID of the device for this position.

*/ inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); } /** *

The ID of the device for this position.

*/ inline BatchDeleteDevicePositionHistoryError& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} /** *

The ID of the device for this position.

*/ inline BatchDeleteDevicePositionHistoryError& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} /** *

The ID of the device for this position.

*/ inline BatchDeleteDevicePositionHistoryError& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} inline const BatchItemError& GetError() const{ return m_error; } inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } inline void SetError(const BatchItemError& value) { m_errorHasBeenSet = true; m_error = value; } inline void SetError(BatchItemError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } inline BatchDeleteDevicePositionHistoryError& WithError(const BatchItemError& value) { SetError(value); return *this;} inline BatchDeleteDevicePositionHistoryError& WithError(BatchItemError&& value) { SetError(std::move(value)); return *this;} private: Aws::String m_deviceId; bool m_deviceIdHasBeenSet = false; BatchItemError m_error; bool m_errorHasBeenSet = false; }; } // namespace Model } // namespace LocationService } // namespace Aws