247 lines
6.9 KiB
C
247 lines
6.9 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/braket/Braket_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/braket/model/DeviceStatus.h>
|
|||
|
|
#include <aws/braket/model/DeviceType.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace Braket
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Includes information about the device.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/DeviceSummary">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_BRAKET_API DeviceSummary
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
DeviceSummary();
|
|||
|
|
DeviceSummary(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
DeviceSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeviceSummary& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeviceSummary& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeviceSummary& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeviceSummary& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeviceSummary& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeviceSummary& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline const DeviceStatus& GetDeviceStatus() const{ return m_deviceStatus; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool DeviceStatusHasBeenSet() const { return m_deviceStatusHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeviceStatus(const DeviceStatus& value) { m_deviceStatusHasBeenSet = true; m_deviceStatus = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeviceStatus(DeviceStatus&& value) { m_deviceStatusHasBeenSet = true; m_deviceStatus = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeviceSummary& WithDeviceStatus(const DeviceStatus& value) { SetDeviceStatus(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeviceSummary& WithDeviceStatus(DeviceStatus&& value) { SetDeviceStatus(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline const DeviceType& GetDeviceType() const{ return m_deviceType; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool DeviceTypeHasBeenSet() const { return m_deviceTypeHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeviceType(const DeviceType& value) { m_deviceTypeHasBeenSet = true; m_deviceType = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeviceType(DeviceType&& value) { m_deviceTypeHasBeenSet = true; m_deviceType = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeviceSummary& WithDeviceType(const DeviceType& value) { SetDeviceType(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeviceSummary& WithDeviceType(DeviceType&& value) { SetDeviceType(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The provider of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetProviderName() const{ return m_providerName; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The provider of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The provider of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The provider of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The provider of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The provider of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeviceSummary& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The provider of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeviceSummary& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The provider of the device.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeviceSummary& WithProviderName(const char* value) { SetProviderName(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_deviceArn;
|
|||
|
|
bool m_deviceArnHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_deviceName;
|
|||
|
|
bool m_deviceNameHasBeenSet;
|
|||
|
|
|
|||
|
|
DeviceStatus m_deviceStatus;
|
|||
|
|
bool m_deviceStatusHasBeenSet;
|
|||
|
|
|
|||
|
|
DeviceType m_deviceType;
|
|||
|
|
bool m_deviceTypeHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_providerName;
|
|||
|
|
bool m_providerNameHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Braket
|
|||
|
|
} // namespace Aws
|