AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
Radios.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace DeviceFarm {
17namespace Model {
18
25class Radios {
26 public:
27 AWS_DEVICEFARM_API Radios() = default;
28 AWS_DEVICEFARM_API Radios(Aws::Utils::Json::JsonView jsonValue);
29 AWS_DEVICEFARM_API Radios& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline bool GetWifi() const { return m_wifi; }
37 inline bool WifiHasBeenSet() const { return m_wifiHasBeenSet; }
38 inline void SetWifi(bool value) {
39 m_wifiHasBeenSet = true;
40 m_wifi = value;
41 }
42 inline Radios& WithWifi(bool value) {
43 SetWifi(value);
44 return *this;
45 }
47
49
53 inline bool GetBluetooth() const { return m_bluetooth; }
54 inline bool BluetoothHasBeenSet() const { return m_bluetoothHasBeenSet; }
55 inline void SetBluetooth(bool value) {
56 m_bluetoothHasBeenSet = true;
57 m_bluetooth = value;
58 }
59 inline Radios& WithBluetooth(bool value) {
60 SetBluetooth(value);
61 return *this;
62 }
64
66
69 inline bool GetNfc() const { return m_nfc; }
70 inline bool NfcHasBeenSet() const { return m_nfcHasBeenSet; }
71 inline void SetNfc(bool value) {
72 m_nfcHasBeenSet = true;
73 m_nfc = value;
74 }
75 inline Radios& WithNfc(bool value) {
76 SetNfc(value);
77 return *this;
78 }
80
82
85 inline bool GetGps() const { return m_gps; }
86 inline bool GpsHasBeenSet() const { return m_gpsHasBeenSet; }
87 inline void SetGps(bool value) {
88 m_gpsHasBeenSet = true;
89 m_gps = value;
90 }
91 inline Radios& WithGps(bool value) {
92 SetGps(value);
93 return *this;
94 }
96 private:
97 bool m_wifi{false};
98
99 bool m_bluetooth{false};
100
101 bool m_nfc{false};
102
103 bool m_gps{false};
104 bool m_wifiHasBeenSet = false;
105 bool m_bluetoothHasBeenSet = false;
106 bool m_nfcHasBeenSet = false;
107 bool m_gpsHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace DeviceFarm
112} // namespace Aws
void SetNfc(bool value)
Definition Radios.h:71
AWS_DEVICEFARM_API Radios()=default
AWS_DEVICEFARM_API Radios(Aws::Utils::Json::JsonView jsonValue)
bool WifiHasBeenSet() const
Definition Radios.h:37
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
Radios & WithWifi(bool value)
Definition Radios.h:42
Radios & WithGps(bool value)
Definition Radios.h:91
void SetGps(bool value)
Definition Radios.h:87
bool BluetoothHasBeenSet() const
Definition Radios.h:54
Radios & WithBluetooth(bool value)
Definition Radios.h:59
void SetWifi(bool value)
Definition Radios.h:38
Radios & WithNfc(bool value)
Definition Radios.h:75
AWS_DEVICEFARM_API Radios & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBluetooth(bool value)
Definition Radios.h:55
Aws::Utils::Json::JsonValue JsonValue