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

Includes information about the device.

See Also:

AWS * API Reference

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

The ARN of the device.

*/ inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; } /** *

The ARN of the device.

*/ inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; } /** *

The ARN of the device.

*/ inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; } /** *

The ARN of the device.

*/ inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); } /** *

The ARN of the device.

*/ inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); } /** *

The ARN of the device.

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

The ARN of the device.

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

The ARN of the device.

*/ inline DeviceSummary& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;} /** *

The name of the device.

*/ inline const Aws::String& GetDeviceName() const{ return m_deviceName; } /** *

The name of the device.

*/ inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; } /** *

The name of the device.

*/ inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; } /** *

The name of the device.

*/ inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); } /** *

The name of the device.

*/ inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); } /** *

The name of the device.

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

The name of the device.

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

The name of the device.

*/ inline DeviceSummary& WithDeviceName(const char* value) { SetDeviceName(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;} /** *

The type of the device.

*/ inline const DeviceType& GetDeviceType() const{ return m_deviceType; } /** *

The type of the device.

*/ inline bool DeviceTypeHasBeenSet() const { return m_deviceTypeHasBeenSet; } /** *

The type of the device.

*/ inline void SetDeviceType(const DeviceType& value) { m_deviceTypeHasBeenSet = true; m_deviceType = value; } /** *

The type of the device.

*/ inline void SetDeviceType(DeviceType&& value) { m_deviceTypeHasBeenSet = true; m_deviceType = std::move(value); } /** *

The type of the device.

*/ inline DeviceSummary& WithDeviceType(const DeviceType& value) { SetDeviceType(value); return *this;} /** *

The type of the device.

*/ inline DeviceSummary& WithDeviceType(DeviceType&& value) { SetDeviceType(std::move(value)); return *this;} /** *

The provider of the device.

*/ inline const Aws::String& GetProviderName() const{ return m_providerName; } /** *

The provider of the device.

*/ inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; } /** *

The provider of the device.

*/ inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; } /** *

The provider of the device.

*/ inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = std::move(value); } /** *

The provider of the device.

*/ inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); } /** *

The provider of the device.

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

The provider of the device.

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

The provider of the device.

*/ inline DeviceSummary& WithProviderName(const char* value) { SetProviderName(value); return *this;} private: Aws::String m_deviceArn; bool m_deviceArnHasBeenSet = false; Aws::String m_deviceName; bool m_deviceNameHasBeenSet = false; DeviceStatus m_deviceStatus; bool m_deviceStatusHasBeenSet = false; DeviceType m_deviceType; bool m_deviceTypeHasBeenSet = false; Aws::String m_providerName; bool m_providerNameHasBeenSet = false; }; } // namespace Model } // namespace Braket } // namespace Aws