/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Device attributes.See Also:
AWS
* API Reference
The ARN of a device.
*/ inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; } /** *The ARN of a device.
*/ inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; } /** *The ARN of a device.
*/ inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; } /** *The ARN of a device.
*/ inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); } /** *The ARN of a device.
*/ inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); } /** *The ARN of a device.
*/ inline DeviceData& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;} /** *The ARN of a device.
*/ inline DeviceData& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;} /** *The ARN of a device.
*/ inline DeviceData& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;} /** *The serial number of a device.
*/ inline const Aws::String& GetDeviceSerialNumber() const{ return m_deviceSerialNumber; } /** *The serial number of a device.
*/ inline bool DeviceSerialNumberHasBeenSet() const { return m_deviceSerialNumberHasBeenSet; } /** *The serial number of a device.
*/ inline void SetDeviceSerialNumber(const Aws::String& value) { m_deviceSerialNumberHasBeenSet = true; m_deviceSerialNumber = value; } /** *The serial number of a device.
*/ inline void SetDeviceSerialNumber(Aws::String&& value) { m_deviceSerialNumberHasBeenSet = true; m_deviceSerialNumber = std::move(value); } /** *The serial number of a device.
*/ inline void SetDeviceSerialNumber(const char* value) { m_deviceSerialNumberHasBeenSet = true; m_deviceSerialNumber.assign(value); } /** *The serial number of a device.
*/ inline DeviceData& WithDeviceSerialNumber(const Aws::String& value) { SetDeviceSerialNumber(value); return *this;} /** *The serial number of a device.
*/ inline DeviceData& WithDeviceSerialNumber(Aws::String&& value) { SetDeviceSerialNumber(std::move(value)); return *this;} /** *The serial number of a device.
*/ inline DeviceData& WithDeviceSerialNumber(const char* value) { SetDeviceSerialNumber(value); return *this;} /** *The type of a device.
*/ inline const Aws::String& GetDeviceType() const{ return m_deviceType; } /** *The type of a device.
*/ inline bool DeviceTypeHasBeenSet() const { return m_deviceTypeHasBeenSet; } /** *The type of a device.
*/ inline void SetDeviceType(const Aws::String& value) { m_deviceTypeHasBeenSet = true; m_deviceType = value; } /** *The type of a device.
*/ inline void SetDeviceType(Aws::String&& value) { m_deviceTypeHasBeenSet = true; m_deviceType = std::move(value); } /** *The type of a device.
*/ inline void SetDeviceType(const char* value) { m_deviceTypeHasBeenSet = true; m_deviceType.assign(value); } /** *The type of a device.
*/ inline DeviceData& WithDeviceType(const Aws::String& value) { SetDeviceType(value); return *this;} /** *The type of a device.
*/ inline DeviceData& WithDeviceType(Aws::String&& value) { SetDeviceType(std::move(value)); return *this;} /** *The type of a device.
*/ inline DeviceData& WithDeviceType(const char* value) { SetDeviceType(value); return *this;} /** *The name of a device.
*/ inline const Aws::String& GetDeviceName() const{ return m_deviceName; } /** *The name of a device.
*/ inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; } /** *The name of a device.
*/ inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; } /** *The name of a device.
*/ inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); } /** *The name of a device.
*/ inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); } /** *The name of a device.
*/ inline DeviceData& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;} /** *The name of a device.
*/ inline DeviceData& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;} /** *The name of a device.
*/ inline DeviceData& WithDeviceName(const char* value) { SetDeviceName(value); return *this;} /** *The software version of a device.
*/ inline const Aws::String& GetSoftwareVersion() const{ return m_softwareVersion; } /** *The software version of a device.
*/ inline bool SoftwareVersionHasBeenSet() const { return m_softwareVersionHasBeenSet; } /** *The software version of a device.
*/ inline void SetSoftwareVersion(const Aws::String& value) { m_softwareVersionHasBeenSet = true; m_softwareVersion = value; } /** *The software version of a device.
*/ inline void SetSoftwareVersion(Aws::String&& value) { m_softwareVersionHasBeenSet = true; m_softwareVersion = std::move(value); } /** *The software version of a device.
*/ inline void SetSoftwareVersion(const char* value) { m_softwareVersionHasBeenSet = true; m_softwareVersion.assign(value); } /** *The software version of a device.
*/ inline DeviceData& WithSoftwareVersion(const Aws::String& value) { SetSoftwareVersion(value); return *this;} /** *The software version of a device.
*/ inline DeviceData& WithSoftwareVersion(Aws::String&& value) { SetSoftwareVersion(std::move(value)); return *this;} /** *The software version of a device.
*/ inline DeviceData& WithSoftwareVersion(const char* value) { SetSoftwareVersion(value); return *this;} /** *The MAC address of a device.
*/ inline const Aws::String& GetMacAddress() const{ return m_macAddress; } /** *The MAC address of a device.
*/ inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; } /** *The MAC address of a device.
*/ inline void SetMacAddress(const Aws::String& value) { m_macAddressHasBeenSet = true; m_macAddress = value; } /** *The MAC address of a device.
*/ inline void SetMacAddress(Aws::String&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::move(value); } /** *The MAC address of a device.
*/ inline void SetMacAddress(const char* value) { m_macAddressHasBeenSet = true; m_macAddress.assign(value); } /** *The MAC address of a device.
*/ inline DeviceData& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;} /** *The MAC address of a device.
*/ inline DeviceData& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;} /** *The MAC address of a device.
*/ inline DeviceData& WithMacAddress(const char* value) { SetMacAddress(value); return *this;} /** *The status of a device.
*/ inline const DeviceStatus& GetDeviceStatus() const{ return m_deviceStatus; } /** *The status of a device.
*/ inline bool DeviceStatusHasBeenSet() const { return m_deviceStatusHasBeenSet; } /** *The status of a device.
*/ inline void SetDeviceStatus(const DeviceStatus& value) { m_deviceStatusHasBeenSet = true; m_deviceStatus = value; } /** *The status of a device.
*/ inline void SetDeviceStatus(DeviceStatus&& value) { m_deviceStatusHasBeenSet = true; m_deviceStatus = std::move(value); } /** *The status of a device.
*/ inline DeviceData& WithDeviceStatus(const DeviceStatus& value) { SetDeviceStatus(value); return *this;} /** *The status of a device.
*/ inline DeviceData& WithDeviceStatus(DeviceStatus&& value) { SetDeviceStatus(std::move(value)); return *this;} /** *The ARN of the network profile associated with a device.
*/ inline const Aws::String& GetNetworkProfileArn() const{ return m_networkProfileArn; } /** *The ARN of the network profile associated with a device.
*/ inline bool NetworkProfileArnHasBeenSet() const { return m_networkProfileArnHasBeenSet; } /** *The ARN of the network profile associated with a device.
*/ inline void SetNetworkProfileArn(const Aws::String& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = value; } /** *The ARN of the network profile associated with a device.
*/ inline void SetNetworkProfileArn(Aws::String&& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = std::move(value); } /** *The ARN of the network profile associated with a device.
*/ inline void SetNetworkProfileArn(const char* value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn.assign(value); } /** *The ARN of the network profile associated with a device.
*/ inline DeviceData& WithNetworkProfileArn(const Aws::String& value) { SetNetworkProfileArn(value); return *this;} /** *The ARN of the network profile associated with a device.
*/ inline DeviceData& WithNetworkProfileArn(Aws::String&& value) { SetNetworkProfileArn(std::move(value)); return *this;} /** *The ARN of the network profile associated with a device.
*/ inline DeviceData& WithNetworkProfileArn(const char* value) { SetNetworkProfileArn(value); return *this;} /** *The name of the network profile associated with a device.
*/ inline const Aws::String& GetNetworkProfileName() const{ return m_networkProfileName; } /** *The name of the network profile associated with a device.
*/ inline bool NetworkProfileNameHasBeenSet() const { return m_networkProfileNameHasBeenSet; } /** *The name of the network profile associated with a device.
*/ inline void SetNetworkProfileName(const Aws::String& value) { m_networkProfileNameHasBeenSet = true; m_networkProfileName = value; } /** *The name of the network profile associated with a device.
*/ inline void SetNetworkProfileName(Aws::String&& value) { m_networkProfileNameHasBeenSet = true; m_networkProfileName = std::move(value); } /** *The name of the network profile associated with a device.
*/ inline void SetNetworkProfileName(const char* value) { m_networkProfileNameHasBeenSet = true; m_networkProfileName.assign(value); } /** *The name of the network profile associated with a device.
*/ inline DeviceData& WithNetworkProfileName(const Aws::String& value) { SetNetworkProfileName(value); return *this;} /** *The name of the network profile associated with a device.
*/ inline DeviceData& WithNetworkProfileName(Aws::String&& value) { SetNetworkProfileName(std::move(value)); return *this;} /** *The name of the network profile associated with a device.
*/ inline DeviceData& WithNetworkProfileName(const char* value) { SetNetworkProfileName(value); return *this;} /** *The room ARN associated with a device.
*/ inline const Aws::String& GetRoomArn() const{ return m_roomArn; } /** *The room ARN associated with a device.
*/ inline bool RoomArnHasBeenSet() const { return m_roomArnHasBeenSet; } /** *The room ARN associated with a device.
*/ inline void SetRoomArn(const Aws::String& value) { m_roomArnHasBeenSet = true; m_roomArn = value; } /** *The room ARN associated with a device.
*/ inline void SetRoomArn(Aws::String&& value) { m_roomArnHasBeenSet = true; m_roomArn = std::move(value); } /** *The room ARN associated with a device.
*/ inline void SetRoomArn(const char* value) { m_roomArnHasBeenSet = true; m_roomArn.assign(value); } /** *The room ARN associated with a device.
*/ inline DeviceData& WithRoomArn(const Aws::String& value) { SetRoomArn(value); return *this;} /** *The room ARN associated with a device.
*/ inline DeviceData& WithRoomArn(Aws::String&& value) { SetRoomArn(std::move(value)); return *this;} /** *The room ARN associated with a device.
*/ inline DeviceData& WithRoomArn(const char* value) { SetRoomArn(value); return *this;} /** *The name of the room associated with a device.
*/ inline const Aws::String& GetRoomName() const{ return m_roomName; } /** *The name of the room associated with a device.
*/ inline bool RoomNameHasBeenSet() const { return m_roomNameHasBeenSet; } /** *The name of the room associated with a device.
*/ inline void SetRoomName(const Aws::String& value) { m_roomNameHasBeenSet = true; m_roomName = value; } /** *The name of the room associated with a device.
*/ inline void SetRoomName(Aws::String&& value) { m_roomNameHasBeenSet = true; m_roomName = std::move(value); } /** *The name of the room associated with a device.
*/ inline void SetRoomName(const char* value) { m_roomNameHasBeenSet = true; m_roomName.assign(value); } /** *The name of the room associated with a device.
*/ inline DeviceData& WithRoomName(const Aws::String& value) { SetRoomName(value); return *this;} /** *The name of the room associated with a device.
*/ inline DeviceData& WithRoomName(Aws::String&& value) { SetRoomName(std::move(value)); return *this;} /** *The name of the room associated with a device.
*/ inline DeviceData& WithRoomName(const char* value) { SetRoomName(value); return *this;} /** *Detailed information about a device's status.
*/ inline const DeviceStatusInfo& GetDeviceStatusInfo() const{ return m_deviceStatusInfo; } /** *Detailed information about a device's status.
*/ inline bool DeviceStatusInfoHasBeenSet() const { return m_deviceStatusInfoHasBeenSet; } /** *Detailed information about a device's status.
*/ inline void SetDeviceStatusInfo(const DeviceStatusInfo& value) { m_deviceStatusInfoHasBeenSet = true; m_deviceStatusInfo = value; } /** *Detailed information about a device's status.
*/ inline void SetDeviceStatusInfo(DeviceStatusInfo&& value) { m_deviceStatusInfoHasBeenSet = true; m_deviceStatusInfo = std::move(value); } /** *Detailed information about a device's status.
*/ inline DeviceData& WithDeviceStatusInfo(const DeviceStatusInfo& value) { SetDeviceStatusInfo(value); return *this;} /** *Detailed information about a device's status.
*/ inline DeviceData& WithDeviceStatusInfo(DeviceStatusInfo&& value) { SetDeviceStatusInfo(std::move(value)); return *this;} /** *The time (in epoch) when the device data was created.
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *The time (in epoch) when the device data was created.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *The time (in epoch) when the device data was created.
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *The time (in epoch) when the device data was created.
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *The time (in epoch) when the device data was created.
*/ inline DeviceData& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *The time (in epoch) when the device data was created.
*/ inline DeviceData& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} private: Aws::String m_deviceArn; bool m_deviceArnHasBeenSet = false; Aws::String m_deviceSerialNumber; bool m_deviceSerialNumberHasBeenSet = false; Aws::String m_deviceType; bool m_deviceTypeHasBeenSet = false; Aws::String m_deviceName; bool m_deviceNameHasBeenSet = false; Aws::String m_softwareVersion; bool m_softwareVersionHasBeenSet = false; Aws::String m_macAddress; bool m_macAddressHasBeenSet = false; DeviceStatus m_deviceStatus; bool m_deviceStatusHasBeenSet = false; Aws::String m_networkProfileArn; bool m_networkProfileArnHasBeenSet = false; Aws::String m_networkProfileName; bool m_networkProfileNameHasBeenSet = false; Aws::String m_roomArn; bool m_roomArnHasBeenSet = false; Aws::String m_roomName; bool m_roomNameHasBeenSet = false; DeviceStatusInfo m_deviceStatusInfo; bool m_deviceStatusInfoHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; }; } // namespace Model } // namespace AlexaForBusiness } // namespace Aws