AWS SDK for C++  0.12.9
AWS SDK for C++
Radios.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace DeviceFarm
28 {
29 namespace Model
30 {
31 
37  {
38  public:
39  Radios();
40  Radios(const Aws::Utils::Json::JsonValue& jsonValue);
41  Radios& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
47  inline bool GetWifi() const{ return m_wifi; }
48 
52  inline void SetWifi(bool value) { m_wifiHasBeenSet = true; m_wifi = value; }
53 
57  inline Radios& WithWifi(bool value) { SetWifi(value); return *this;}
58 
63  inline bool GetBluetooth() const{ return m_bluetooth; }
64 
69  inline void SetBluetooth(bool value) { m_bluetoothHasBeenSet = true; m_bluetooth = value; }
70 
75  inline Radios& WithBluetooth(bool value) { SetBluetooth(value); return *this;}
76 
80  inline bool GetNfc() const{ return m_nfc; }
81 
85  inline void SetNfc(bool value) { m_nfcHasBeenSet = true; m_nfc = value; }
86 
90  inline Radios& WithNfc(bool value) { SetNfc(value); return *this;}
91 
95  inline bool GetGps() const{ return m_gps; }
96 
100  inline void SetGps(bool value) { m_gpsHasBeenSet = true; m_gps = value; }
101 
105  inline Radios& WithGps(bool value) { SetGps(value); return *this;}
106 
107  private:
108  bool m_wifi;
109  bool m_wifiHasBeenSet;
110  bool m_bluetooth;
111  bool m_bluetoothHasBeenSet;
112  bool m_nfc;
113  bool m_nfcHasBeenSet;
114  bool m_gps;
115  bool m_gpsHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace DeviceFarm
120 } // namespace Aws
#define AWS_DEVICEFARM_API
void SetNfc(bool value)
Definition: Radios.h:85
bool GetBluetooth() const
Definition: Radios.h:63
Radios & WithWifi(bool value)
Definition: Radios.h:57
void SetBluetooth(bool value)
Definition: Radios.h:69
Radios & WithNfc(bool value)
Definition: Radios.h:90
Radios & WithGps(bool value)
Definition: Radios.h:105
Radios & WithBluetooth(bool value)
Definition: Radios.h:75
void SetGps(bool value)
Definition: Radios.h:100
void SetWifi(bool value)
Definition: Radios.h:52
JSON (JavaScript Object Notation).