AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeviceSummary.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/braket/model/DeviceStatus.h>
10#include <aws/braket/model/DeviceType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Braket
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_BRAKET_API DeviceSummary();
37 AWS_BRAKET_API DeviceSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
47 inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
48 inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; }
49 inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); }
50 inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); }
51 inline DeviceSummary& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
52 inline DeviceSummary& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
53 inline DeviceSummary& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
55
57
60 inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
61 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
62 inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
63 inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
64 inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
65 inline DeviceSummary& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
66 inline DeviceSummary& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
67 inline DeviceSummary& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
69
71
74 inline const DeviceStatus& GetDeviceStatus() const{ return m_deviceStatus; }
75 inline bool DeviceStatusHasBeenSet() const { return m_deviceStatusHasBeenSet; }
76 inline void SetDeviceStatus(const DeviceStatus& value) { m_deviceStatusHasBeenSet = true; m_deviceStatus = value; }
77 inline void SetDeviceStatus(DeviceStatus&& value) { m_deviceStatusHasBeenSet = true; m_deviceStatus = std::move(value); }
78 inline DeviceSummary& WithDeviceStatus(const DeviceStatus& value) { SetDeviceStatus(value); return *this;}
79 inline DeviceSummary& WithDeviceStatus(DeviceStatus&& value) { SetDeviceStatus(std::move(value)); return *this;}
81
83
86 inline const DeviceType& GetDeviceType() const{ return m_deviceType; }
87 inline bool DeviceTypeHasBeenSet() const { return m_deviceTypeHasBeenSet; }
88 inline void SetDeviceType(const DeviceType& value) { m_deviceTypeHasBeenSet = true; m_deviceType = value; }
89 inline void SetDeviceType(DeviceType&& value) { m_deviceTypeHasBeenSet = true; m_deviceType = std::move(value); }
90 inline DeviceSummary& WithDeviceType(const DeviceType& value) { SetDeviceType(value); return *this;}
91 inline DeviceSummary& WithDeviceType(DeviceType&& value) { SetDeviceType(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetProviderName() const{ return m_providerName; }
99 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
100 inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
101 inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = std::move(value); }
102 inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); }
103 inline DeviceSummary& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
104 inline DeviceSummary& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
105 inline DeviceSummary& WithProviderName(const char* value) { SetProviderName(value); return *this;}
107 private:
108
109 Aws::String m_deviceArn;
110 bool m_deviceArnHasBeenSet = false;
111
112 Aws::String m_deviceName;
113 bool m_deviceNameHasBeenSet = false;
114
115 DeviceStatus m_deviceStatus;
116 bool m_deviceStatusHasBeenSet = false;
117
118 DeviceType m_deviceType;
119 bool m_deviceTypeHasBeenSet = false;
120
121 Aws::String m_providerName;
122 bool m_providerNameHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace Braket
127} // namespace Aws
void SetProviderName(Aws::String &&value)
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeviceArn(const Aws::String &value)
void SetDeviceArn(const char *value)
DeviceSummary & WithDeviceArn(Aws::String &&value)
void SetDeviceName(const Aws::String &value)
void SetDeviceArn(Aws::String &&value)
DeviceSummary & WithDeviceName(const char *value)
AWS_BRAKET_API DeviceSummary(Aws::Utils::Json::JsonView jsonValue)
DeviceSummary & WithDeviceStatus(const DeviceStatus &value)
void SetDeviceStatus(DeviceStatus &&value)
DeviceSummary & WithDeviceType(DeviceType &&value)
DeviceSummary & WithProviderName(const Aws::String &value)
void SetDeviceName(Aws::String &&value)
void SetDeviceType(const DeviceType &value)
AWS_BRAKET_API DeviceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DeviceSummary & WithProviderName(const char *value)
void SetProviderName(const Aws::String &value)
DeviceSummary & WithProviderName(Aws::String &&value)
DeviceSummary & WithDeviceName(Aws::String &&value)
const DeviceType & GetDeviceType() const
DeviceSummary & WithDeviceStatus(DeviceStatus &&value)
DeviceSummary & WithDeviceArn(const char *value)
void SetDeviceName(const char *value)
void SetProviderName(const char *value)
DeviceSummary & WithDeviceArn(const Aws::String &value)
const Aws::String & GetDeviceName() const
const Aws::String & GetDeviceArn() const
void SetDeviceType(DeviceType &&value)
DeviceSummary & WithDeviceType(const DeviceType &value)
const DeviceStatus & GetDeviceStatus() const
void SetDeviceStatus(const DeviceStatus &value)
const Aws::String & GetProviderName() const
DeviceSummary & WithDeviceName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue