/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Braket { namespace Model { class GetDeviceResult { public: AWS_BRAKET_API GetDeviceResult(); AWS_BRAKET_API GetDeviceResult(const Aws::AmazonWebServiceResult& result); AWS_BRAKET_API GetDeviceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the device.

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

The ARN of the device.

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

The ARN of the device.

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

The ARN of the device.

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

The ARN of the device.

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

The ARN of the device.

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

The ARN of the device.

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

Details about the capabilities of the device.

*/ inline const Aws::String& GetDeviceCapabilities() const{ return m_deviceCapabilities; } /** *

Details about the capabilities of the device.

*/ inline void SetDeviceCapabilities(const Aws::String& value) { m_deviceCapabilities = value; } /** *

Details about the capabilities of the device.

*/ inline void SetDeviceCapabilities(Aws::String&& value) { m_deviceCapabilities = std::move(value); } /** *

Details about the capabilities of the device.

*/ inline void SetDeviceCapabilities(const char* value) { m_deviceCapabilities.assign(value); } /** *

Details about the capabilities of the device.

*/ inline GetDeviceResult& WithDeviceCapabilities(const Aws::String& value) { SetDeviceCapabilities(value); return *this;} /** *

Details about the capabilities of the device.

*/ inline GetDeviceResult& WithDeviceCapabilities(Aws::String&& value) { SetDeviceCapabilities(std::move(value)); return *this;} /** *

Details about the capabilities of the device.

*/ inline GetDeviceResult& WithDeviceCapabilities(const char* value) { SetDeviceCapabilities(value); return *this;} /** *

The name of the device.

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

The name of the device.

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

The name of the device.

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

The name of the device.

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

The name of the device.

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

The name of the device.

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

The name of the device.

*/ inline GetDeviceResult& 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 void SetDeviceStatus(const DeviceStatus& value) { m_deviceStatus = value; } /** *

The status of the device.

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

The status of the device.

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

The status of the device.

*/ inline GetDeviceResult& 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 void SetDeviceType(const DeviceType& value) { m_deviceType = value; } /** *

The type of the device.

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

The type of the device.

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

The type of the device.

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

The name of the partner company for the device.

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

The name of the partner company for the device.

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

The name of the partner company for the device.

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

The name of the partner company for the device.

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

The name of the partner company for the device.

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

The name of the partner company for the device.

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

The name of the partner company for the device.

*/ inline GetDeviceResult& WithProviderName(const char* value) { SetProviderName(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetDeviceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDeviceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDeviceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_deviceArn; Aws::String m_deviceCapabilities; Aws::String m_deviceName; DeviceStatus m_deviceStatus; DeviceType m_deviceType; Aws::String m_providerName; Aws::String m_requestId; }; } // namespace Model } // namespace Braket } // namespace Aws