/** * 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 WorkLink { namespace Model { /** *

The summary of devices.

See Also:

AWS * API Reference

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

The ID of the device.

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

The ID of the device.

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

The ID of the device.

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

The ID of the device.

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

The ID of the device.

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

The ID of the device.

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

The ID of the device.

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

The ID of the device.

*/ inline DeviceSummary& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} /** *

The status of the device.

*/ inline const DeviceStatus& GetDeviceStatus() const{ return m_deviceStatus; } /** *

The status of the device.

*/ inline bool DeviceStatusHasBeenSet() const { return m_deviceStatusHasBeenSet; } /** *

The status of the device.

*/ inline void SetDeviceStatus(const DeviceStatus& value) { m_deviceStatusHasBeenSet = true; m_deviceStatus = value; } /** *

The status of the device.

*/ inline void SetDeviceStatus(DeviceStatus&& value) { m_deviceStatusHasBeenSet = true; m_deviceStatus = std::move(value); } /** *

The status of the device.

*/ inline DeviceSummary& WithDeviceStatus(const DeviceStatus& value) { SetDeviceStatus(value); return *this;} /** *

The status of the device.

*/ inline DeviceSummary& WithDeviceStatus(DeviceStatus&& value) { SetDeviceStatus(std::move(value)); return *this;} private: Aws::String m_deviceId; bool m_deviceIdHasBeenSet = false; DeviceStatus m_deviceStatus; bool m_deviceStatusHasBeenSet = false; }; } // namespace Model } // namespace WorkLink } // namespace Aws