AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeviceSummary.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/braket/model/DeviceStatus.h>
9#include <aws/braket/model/DeviceType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Braket {
22namespace Model {
23
30 public:
31 AWS_BRAKET_API DeviceSummary() = default;
32 AWS_BRAKET_API DeviceSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetDeviceArn() const { return m_deviceArn; }
41 inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
42 template <typename DeviceArnT = Aws::String>
43 void SetDeviceArn(DeviceArnT&& value) {
44 m_deviceArnHasBeenSet = true;
45 m_deviceArn = std::forward<DeviceArnT>(value);
46 }
47 template <typename DeviceArnT = Aws::String>
48 DeviceSummary& WithDeviceArn(DeviceArnT&& value) {
49 SetDeviceArn(std::forward<DeviceArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDeviceName() const { return m_deviceName; }
59 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
60 template <typename DeviceNameT = Aws::String>
61 void SetDeviceName(DeviceNameT&& value) {
62 m_deviceNameHasBeenSet = true;
63 m_deviceName = std::forward<DeviceNameT>(value);
64 }
65 template <typename DeviceNameT = Aws::String>
66 DeviceSummary& WithDeviceName(DeviceNameT&& value) {
67 SetDeviceName(std::forward<DeviceNameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetProviderName() const { return m_providerName; }
77 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
78 template <typename ProviderNameT = Aws::String>
79 void SetProviderName(ProviderNameT&& value) {
80 m_providerNameHasBeenSet = true;
81 m_providerName = std::forward<ProviderNameT>(value);
82 }
83 template <typename ProviderNameT = Aws::String>
84 DeviceSummary& WithProviderName(ProviderNameT&& value) {
85 SetProviderName(std::forward<ProviderNameT>(value));
86 return *this;
87 }
89
91
94 inline DeviceType GetDeviceType() const { return m_deviceType; }
95 inline bool DeviceTypeHasBeenSet() const { return m_deviceTypeHasBeenSet; }
96 inline void SetDeviceType(DeviceType value) {
97 m_deviceTypeHasBeenSet = true;
98 m_deviceType = value;
99 }
101 SetDeviceType(value);
102 return *this;
103 }
105
107
110 inline DeviceStatus GetDeviceStatus() const { return m_deviceStatus; }
111 inline bool DeviceStatusHasBeenSet() const { return m_deviceStatusHasBeenSet; }
112 inline void SetDeviceStatus(DeviceStatus value) {
113 m_deviceStatusHasBeenSet = true;
114 m_deviceStatus = value;
115 }
117 SetDeviceStatus(value);
118 return *this;
119 }
121 private:
122 Aws::String m_deviceArn;
123
124 Aws::String m_deviceName;
125
126 Aws::String m_providerName;
127
128 DeviceType m_deviceType{DeviceType::NOT_SET};
129
130 DeviceStatus m_deviceStatus{DeviceStatus::NOT_SET};
131 bool m_deviceArnHasBeenSet = false;
132 bool m_deviceNameHasBeenSet = false;
133 bool m_providerNameHasBeenSet = false;
134 bool m_deviceTypeHasBeenSet = false;
135 bool m_deviceStatusHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace Braket
140} // namespace Aws
void SetDeviceArn(DeviceArnT &&value)
DeviceSummary & WithProviderName(ProviderNameT &&value)
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeviceType(DeviceType value)
AWS_BRAKET_API DeviceSummary(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceStatus(DeviceStatus value)
DeviceSummary & WithDeviceStatus(DeviceStatus value)
DeviceSummary & WithDeviceName(DeviceNameT &&value)
AWS_BRAKET_API DeviceSummary()=default
void SetDeviceName(DeviceNameT &&value)
AWS_BRAKET_API DeviceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DeviceStatus GetDeviceStatus() const
const Aws::String & GetDeviceName() const
const Aws::String & GetDeviceArn() const
DeviceSummary & WithDeviceType(DeviceType value)
DeviceSummary & WithDeviceArn(DeviceArnT &&value)
void SetProviderName(ProviderNameT &&value)
const Aws::String & GetProviderName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue