AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37
38
40
43 inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
44 inline void SetDeviceArn(const Aws::String& value) { m_deviceArn = value; }
45 inline void SetDeviceArn(Aws::String&& value) { m_deviceArn = std::move(value); }
46 inline void SetDeviceArn(const char* value) { m_deviceArn.assign(value); }
47 inline GetDeviceResult& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
48 inline GetDeviceResult& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
49 inline GetDeviceResult& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
51
53
56 inline const Aws::String& GetDeviceCapabilities() const{ return m_deviceCapabilities; }
57 inline void SetDeviceCapabilities(const Aws::String& value) { m_deviceCapabilities = value; }
58 inline void SetDeviceCapabilities(Aws::String&& value) { m_deviceCapabilities = std::move(value); }
59 inline void SetDeviceCapabilities(const char* value) { m_deviceCapabilities.assign(value); }
60 inline GetDeviceResult& WithDeviceCapabilities(const Aws::String& value) { SetDeviceCapabilities(value); return *this;}
61 inline GetDeviceResult& WithDeviceCapabilities(Aws::String&& value) { SetDeviceCapabilities(std::move(value)); return *this;}
62 inline GetDeviceResult& WithDeviceCapabilities(const char* value) { SetDeviceCapabilities(value); return *this;}
64
66
69 inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
70 inline void SetDeviceName(const Aws::String& value) { m_deviceName = value; }
71 inline void SetDeviceName(Aws::String&& value) { m_deviceName = std::move(value); }
72 inline void SetDeviceName(const char* value) { m_deviceName.assign(value); }
73 inline GetDeviceResult& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
74 inline GetDeviceResult& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
75 inline GetDeviceResult& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
77
79
82 inline const Aws::Vector<DeviceQueueInfo>& GetDeviceQueueInfo() const{ return m_deviceQueueInfo; }
83 inline void SetDeviceQueueInfo(const Aws::Vector<DeviceQueueInfo>& value) { m_deviceQueueInfo = value; }
84 inline void SetDeviceQueueInfo(Aws::Vector<DeviceQueueInfo>&& value) { m_deviceQueueInfo = std::move(value); }
86 inline GetDeviceResult& WithDeviceQueueInfo(Aws::Vector<DeviceQueueInfo>&& value) { SetDeviceQueueInfo(std::move(value)); return *this;}
87 inline GetDeviceResult& AddDeviceQueueInfo(const DeviceQueueInfo& value) { m_deviceQueueInfo.push_back(value); return *this; }
88 inline GetDeviceResult& AddDeviceQueueInfo(DeviceQueueInfo&& value) { m_deviceQueueInfo.push_back(std::move(value)); return *this; }
90
92
95 inline const DeviceStatus& GetDeviceStatus() const{ return m_deviceStatus; }
96 inline void SetDeviceStatus(const DeviceStatus& value) { m_deviceStatus = value; }
97 inline void SetDeviceStatus(DeviceStatus&& value) { m_deviceStatus = std::move(value); }
98 inline GetDeviceResult& WithDeviceStatus(const DeviceStatus& value) { SetDeviceStatus(value); return *this;}
99 inline GetDeviceResult& WithDeviceStatus(DeviceStatus&& value) { SetDeviceStatus(std::move(value)); return *this;}
101
103
106 inline const DeviceType& GetDeviceType() const{ return m_deviceType; }
107 inline void SetDeviceType(const DeviceType& value) { m_deviceType = value; }
108 inline void SetDeviceType(DeviceType&& value) { m_deviceType = std::move(value); }
109 inline GetDeviceResult& WithDeviceType(const DeviceType& value) { SetDeviceType(value); return *this;}
110 inline GetDeviceResult& WithDeviceType(DeviceType&& value) { SetDeviceType(std::move(value)); return *this;}
112
114
117 inline const Aws::String& GetProviderName() const{ return m_providerName; }
118 inline void SetProviderName(const Aws::String& value) { m_providerName = value; }
119 inline void SetProviderName(Aws::String&& value) { m_providerName = std::move(value); }
120 inline void SetProviderName(const char* value) { m_providerName.assign(value); }
121 inline GetDeviceResult& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
122 inline GetDeviceResult& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
123 inline GetDeviceResult& WithProviderName(const char* value) { SetProviderName(value); return *this;}
125
127
128 inline const Aws::String& GetRequestId() const{ return m_requestId; }
129 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
130 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
131 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
132 inline GetDeviceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
133 inline GetDeviceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
134 inline GetDeviceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
136 private:
137
138 Aws::String m_deviceArn;
139
140 Aws::String m_deviceCapabilities;
141
142 Aws::String m_deviceName;
143
144 Aws::Vector<DeviceQueueInfo> m_deviceQueueInfo;
145
146 DeviceStatus m_deviceStatus;
147
148 DeviceType m_deviceType;
149
150 Aws::String m_providerName;
151
152 Aws::String m_requestId;
153 };
154
155} // namespace Model
156} // namespace Braket
157} // namespace Aws
GetDeviceResult & AddDeviceQueueInfo(DeviceQueueInfo &&value)
GetDeviceResult & WithDeviceCapabilities(const char *value)
AWS_BRAKET_API GetDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDeviceType(const DeviceType &value)
void SetDeviceStatus(const DeviceStatus &value)
void SetDeviceCapabilities(const Aws::String &value)
GetDeviceResult & WithDeviceName(const char *value)
void SetRequestId(Aws::String &&value)
void SetDeviceName(const Aws::String &value)
const DeviceStatus & GetDeviceStatus() const
void SetRequestId(const Aws::String &value)
GetDeviceResult & WithDeviceQueueInfo(Aws::Vector< DeviceQueueInfo > &&value)
const Aws::String & GetDeviceCapabilities() const
GetDeviceResult & WithDeviceArn(const char *value)
GetDeviceResult & WithDeviceStatus(DeviceStatus &&value)
GetDeviceResult & WithProviderName(const Aws::String &value)
void SetRequestId(const char *value)
const Aws::String & GetProviderName() const
GetDeviceResult & WithDeviceArn(const Aws::String &value)
const Aws::String & GetDeviceArn() const
GetDeviceResult & WithRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetDeviceCapabilities(Aws::String &&value)
void SetDeviceQueueInfo(const Aws::Vector< DeviceQueueInfo > &value)
GetDeviceResult & WithDeviceCapabilities(const Aws::String &value)
GetDeviceResult & WithRequestId(const Aws::String &value)
GetDeviceResult & WithDeviceQueueInfo(const Aws::Vector< DeviceQueueInfo > &value)
GetDeviceResult & WithDeviceName(Aws::String &&value)
GetDeviceResult & WithDeviceName(const Aws::String &value)
GetDeviceResult & WithProviderName(Aws::String &&value)
GetDeviceResult & WithProviderName(const char *value)
void SetProviderName(const Aws::String &value)
GetDeviceResult & WithDeviceCapabilities(Aws::String &&value)
GetDeviceResult & AddDeviceQueueInfo(const DeviceQueueInfo &value)
void SetProviderName(const char *value)
GetDeviceResult & WithRequestId(const char *value)
void SetDeviceQueueInfo(Aws::Vector< DeviceQueueInfo > &&value)
void SetDeviceArn(const char *value)
void SetDeviceType(DeviceType &&value)
void SetDeviceStatus(DeviceStatus &&value)
void SetDeviceName(Aws::String &&value)
GetDeviceResult & WithDeviceType(DeviceType &&value)
void SetProviderName(Aws::String &&value)
void SetDeviceArn(const Aws::String &value)
void SetDeviceName(const char *value)
GetDeviceResult & WithDeviceArn(Aws::String &&value)
const DeviceType & GetDeviceType() const
void SetDeviceCapabilities(const char *value)
const Aws::String & GetDeviceName() const
GetDeviceResult & WithDeviceStatus(const DeviceStatus &value)
const Aws::Vector< DeviceQueueInfo > & GetDeviceQueueInfo() const
GetDeviceResult & WithDeviceType(const DeviceType &value)
AWS_BRAKET_API GetDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDeviceArn(Aws::String &&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