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

Configures the quantum processing units (QPUs) or simulator used to create * and run an Amazon Braket job.

See Also:

AWS * API Reference

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

The primary quantum processing unit (QPU) or simulator used to create and run * an Amazon Braket job.

*/ inline const Aws::String& GetDevice() const{ return m_device; } /** *

The primary quantum processing unit (QPU) or simulator used to create and run * an Amazon Braket job.

*/ inline bool DeviceHasBeenSet() const { return m_deviceHasBeenSet; } /** *

The primary quantum processing unit (QPU) or simulator used to create and run * an Amazon Braket job.

*/ inline void SetDevice(const Aws::String& value) { m_deviceHasBeenSet = true; m_device = value; } /** *

The primary quantum processing unit (QPU) or simulator used to create and run * an Amazon Braket job.

*/ inline void SetDevice(Aws::String&& value) { m_deviceHasBeenSet = true; m_device = std::move(value); } /** *

The primary quantum processing unit (QPU) or simulator used to create and run * an Amazon Braket job.

*/ inline void SetDevice(const char* value) { m_deviceHasBeenSet = true; m_device.assign(value); } /** *

The primary quantum processing unit (QPU) or simulator used to create and run * an Amazon Braket job.

*/ inline DeviceConfig& WithDevice(const Aws::String& value) { SetDevice(value); return *this;} /** *

The primary quantum processing unit (QPU) or simulator used to create and run * an Amazon Braket job.

*/ inline DeviceConfig& WithDevice(Aws::String&& value) { SetDevice(std::move(value)); return *this;} /** *

The primary quantum processing unit (QPU) or simulator used to create and run * an Amazon Braket job.

*/ inline DeviceConfig& WithDevice(const char* value) { SetDevice(value); return *this;} private: Aws::String m_device; bool m_deviceHasBeenSet = false; }; } // namespace Model } // namespace Braket } // namespace Aws