/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DeviceFarm { namespace Model { /** *

Represents the set of radios and their states on a device. Examples of radios * include Wi-Fi, GPS, Bluetooth, and NFC.

See Also:

AWS * API Reference

*/ class Radios { public: AWS_DEVICEFARM_API Radios(); AWS_DEVICEFARM_API Radios(Aws::Utils::Json::JsonView jsonValue); AWS_DEVICEFARM_API Radios& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

True if Wi-Fi is enabled at the beginning of the test. Otherwise, false.

*/ inline bool GetWifi() const{ return m_wifi; } /** *

True if Wi-Fi is enabled at the beginning of the test. Otherwise, false.

*/ inline bool WifiHasBeenSet() const { return m_wifiHasBeenSet; } /** *

True if Wi-Fi is enabled at the beginning of the test. Otherwise, false.

*/ inline void SetWifi(bool value) { m_wifiHasBeenSet = true; m_wifi = value; } /** *

True if Wi-Fi is enabled at the beginning of the test. Otherwise, false.

*/ inline Radios& WithWifi(bool value) { SetWifi(value); return *this;} /** *

True if Bluetooth is enabled at the beginning of the test. Otherwise, * false.

*/ inline bool GetBluetooth() const{ return m_bluetooth; } /** *

True if Bluetooth is enabled at the beginning of the test. Otherwise, * false.

*/ inline bool BluetoothHasBeenSet() const { return m_bluetoothHasBeenSet; } /** *

True if Bluetooth is enabled at the beginning of the test. Otherwise, * false.

*/ inline void SetBluetooth(bool value) { m_bluetoothHasBeenSet = true; m_bluetooth = value; } /** *

True if Bluetooth is enabled at the beginning of the test. Otherwise, * false.

*/ inline Radios& WithBluetooth(bool value) { SetBluetooth(value); return *this;} /** *

True if NFC is enabled at the beginning of the test. Otherwise, false.

*/ inline bool GetNfc() const{ return m_nfc; } /** *

True if NFC is enabled at the beginning of the test. Otherwise, false.

*/ inline bool NfcHasBeenSet() const { return m_nfcHasBeenSet; } /** *

True if NFC is enabled at the beginning of the test. Otherwise, false.

*/ inline void SetNfc(bool value) { m_nfcHasBeenSet = true; m_nfc = value; } /** *

True if NFC is enabled at the beginning of the test. Otherwise, false.

*/ inline Radios& WithNfc(bool value) { SetNfc(value); return *this;} /** *

True if GPS is enabled at the beginning of the test. Otherwise, false.

*/ inline bool GetGps() const{ return m_gps; } /** *

True if GPS is enabled at the beginning of the test. Otherwise, false.

*/ inline bool GpsHasBeenSet() const { return m_gpsHasBeenSet; } /** *

True if GPS is enabled at the beginning of the test. Otherwise, false.

*/ inline void SetGps(bool value) { m_gpsHasBeenSet = true; m_gps = value; } /** *

True if GPS is enabled at the beginning of the test. Otherwise, false.

*/ inline Radios& WithGps(bool value) { SetGps(value); return *this;} private: bool m_wifi; bool m_wifiHasBeenSet = false; bool m_bluetooth; bool m_bluetoothHasBeenSet = false; bool m_nfc; bool m_nfcHasBeenSet = false; bool m_gps; bool m_gpsHasBeenSet = false; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws