AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetDeviceResult.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/braket/model/DeviceStatus.h>
11#include <aws/braket/model/DeviceType.h>
12#include <aws/braket/model/DeviceQueueInfo.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Braket
28{
29namespace Model
30{
32 {
33 public:
34 AWS_BRAKET_API GetDeviceResult() = default;
37
38
40
43 inline const Aws::String& GetDeviceArn() const { return m_deviceArn; }
44 template<typename DeviceArnT = Aws::String>
45 void SetDeviceArn(DeviceArnT&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::forward<DeviceArnT>(value); }
46 template<typename DeviceArnT = Aws::String>
47 GetDeviceResult& WithDeviceArn(DeviceArnT&& value) { SetDeviceArn(std::forward<DeviceArnT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDeviceCapabilities() const { return m_deviceCapabilities; }
55 template<typename DeviceCapabilitiesT = Aws::String>
56 void SetDeviceCapabilities(DeviceCapabilitiesT&& value) { m_deviceCapabilitiesHasBeenSet = true; m_deviceCapabilities = std::forward<DeviceCapabilitiesT>(value); }
57 template<typename DeviceCapabilitiesT = Aws::String>
58 GetDeviceResult& WithDeviceCapabilities(DeviceCapabilitiesT&& value) { SetDeviceCapabilities(std::forward<DeviceCapabilitiesT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDeviceName() const { return m_deviceName; }
66 template<typename DeviceNameT = Aws::String>
67 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::forward<DeviceNameT>(value); }
68 template<typename DeviceNameT = Aws::String>
69 GetDeviceResult& WithDeviceName(DeviceNameT&& value) { SetDeviceName(std::forward<DeviceNameT>(value)); return *this;}
71
73
76 inline const Aws::Vector<DeviceQueueInfo>& GetDeviceQueueInfo() const { return m_deviceQueueInfo; }
77 template<typename DeviceQueueInfoT = Aws::Vector<DeviceQueueInfo>>
78 void SetDeviceQueueInfo(DeviceQueueInfoT&& value) { m_deviceQueueInfoHasBeenSet = true; m_deviceQueueInfo = std::forward<DeviceQueueInfoT>(value); }
79 template<typename DeviceQueueInfoT = Aws::Vector<DeviceQueueInfo>>
80 GetDeviceResult& WithDeviceQueueInfo(DeviceQueueInfoT&& value) { SetDeviceQueueInfo(std::forward<DeviceQueueInfoT>(value)); return *this;}
81 template<typename DeviceQueueInfoT = DeviceQueueInfo>
82 GetDeviceResult& AddDeviceQueueInfo(DeviceQueueInfoT&& value) { m_deviceQueueInfoHasBeenSet = true; m_deviceQueueInfo.emplace_back(std::forward<DeviceQueueInfoT>(value)); return *this; }
84
86
89 inline DeviceStatus GetDeviceStatus() const { return m_deviceStatus; }
90 inline void SetDeviceStatus(DeviceStatus value) { m_deviceStatusHasBeenSet = true; m_deviceStatus = value; }
91 inline GetDeviceResult& WithDeviceStatus(DeviceStatus value) { SetDeviceStatus(value); return *this;}
93
95
98 inline DeviceType GetDeviceType() const { return m_deviceType; }
99 inline void SetDeviceType(DeviceType value) { m_deviceTypeHasBeenSet = true; m_deviceType = value; }
100 inline GetDeviceResult& WithDeviceType(DeviceType value) { SetDeviceType(value); return *this;}
102
104
107 inline const Aws::String& GetProviderName() const { return m_providerName; }
108 template<typename ProviderNameT = Aws::String>
109 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet = true; m_providerName = std::forward<ProviderNameT>(value); }
110 template<typename ProviderNameT = Aws::String>
111 GetDeviceResult& WithProviderName(ProviderNameT&& value) { SetProviderName(std::forward<ProviderNameT>(value)); return *this;}
113
115
116 inline const Aws::String& GetRequestId() const { return m_requestId; }
117 template<typename RequestIdT = Aws::String>
118 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
119 template<typename RequestIdT = Aws::String>
120 GetDeviceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
122 private:
123
124 Aws::String m_deviceArn;
125 bool m_deviceArnHasBeenSet = false;
126
127 Aws::String m_deviceCapabilities;
128 bool m_deviceCapabilitiesHasBeenSet = false;
129
130 Aws::String m_deviceName;
131 bool m_deviceNameHasBeenSet = false;
132
133 Aws::Vector<DeviceQueueInfo> m_deviceQueueInfo;
134 bool m_deviceQueueInfoHasBeenSet = false;
135
136 DeviceStatus m_deviceStatus{DeviceStatus::NOT_SET};
137 bool m_deviceStatusHasBeenSet = false;
138
139 DeviceType m_deviceType{DeviceType::NOT_SET};
140 bool m_deviceTypeHasBeenSet = false;
141
142 Aws::String m_providerName;
143 bool m_providerNameHasBeenSet = false;
144
145 Aws::String m_requestId;
146 bool m_requestIdHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace Braket
151} // namespace Aws
void SetDeviceStatus(DeviceStatus value)
AWS_BRAKET_API GetDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDeviceName(DeviceNameT &&value)
void SetDeviceType(DeviceType value)
GetDeviceResult & WithProviderName(ProviderNameT &&value)
const Aws::String & GetDeviceCapabilities() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetProviderName() const
GetDeviceResult & WithDeviceName(DeviceNameT &&value)
const Aws::String & GetDeviceArn() const
const Aws::String & GetRequestId() const
AWS_BRAKET_API GetDeviceResult()=default
GetDeviceResult & AddDeviceQueueInfo(DeviceQueueInfoT &&value)
GetDeviceResult & WithDeviceCapabilities(DeviceCapabilitiesT &&value)
GetDeviceResult & WithDeviceQueueInfo(DeviceQueueInfoT &&value)
void SetDeviceArn(DeviceArnT &&value)
void SetDeviceQueueInfo(DeviceQueueInfoT &&value)
GetDeviceResult & WithRequestId(RequestIdT &&value)
GetDeviceResult & WithDeviceStatus(DeviceStatus value)
GetDeviceResult & WithDeviceType(DeviceType value)
GetDeviceResult & WithDeviceArn(DeviceArnT &&value)
void SetProviderName(ProviderNameT &&value)
const Aws::String & GetDeviceName() const
const Aws::Vector< DeviceQueueInfo > & GetDeviceQueueInfo() const
AWS_BRAKET_API GetDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDeviceCapabilities(DeviceCapabilitiesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue