7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/location/model/PositionalAccuracy.h>
12#include <aws/location/model/CellSignals.h>
13#include <aws/location/model/WiFiAccessPoint.h>
26namespace LocationService
54 inline void SetDeviceId(
const char* value) { m_deviceIdHasBeenSet =
true; m_deviceId.assign(value); }
84 inline DeviceState&
AddPosition(
double value) { m_positionHasBeenSet =
true; m_position.push_back(value);
return *
this; }
105 inline void SetIpv4Address(
const char* value) { m_ipv4AddressHasBeenSet =
true; m_ipv4Address.assign(value); }
139 bool m_deviceIdHasBeenSet =
false;
142 bool m_sampleTimeHasBeenSet =
false;
145 bool m_positionHasBeenSet =
false;
148 bool m_accuracyHasBeenSet =
false;
151 bool m_ipv4AddressHasBeenSet =
false;
154 bool m_wiFiAccessPointsHasBeenSet =
false;
157 bool m_cellSignalsHasBeenSet =
false;
AWS_LOCATIONSERVICE_API DeviceState()
DeviceState & WithAccuracy(PositionalAccuracy &&value)
DeviceState & WithCellSignals(const CellSignals &value)
DeviceState & WithPosition(const Aws::Vector< double > &value)
DeviceState & WithSampleTime(const Aws::Utils::DateTime &value)
DeviceState & WithDeviceId(Aws::String &&value)
void SetSampleTime(const Aws::Utils::DateTime &value)
DeviceState & AddWiFiAccessPoints(WiFiAccessPoint &&value)
void SetSampleTime(Aws::Utils::DateTime &&value)
bool SampleTimeHasBeenSet() const
const Aws::Vector< WiFiAccessPoint > & GetWiFiAccessPoints() const
void SetAccuracy(PositionalAccuracy &&value)
bool DeviceIdHasBeenSet() const
const PositionalAccuracy & GetAccuracy() const
void SetDeviceId(Aws::String &&value)
AWS_LOCATIONSERVICE_API DeviceState(Aws::Utils::Json::JsonView jsonValue)
DeviceState & AddPosition(double value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DeviceState & WithAccuracy(const PositionalAccuracy &value)
AWS_LOCATIONSERVICE_API DeviceState & operator=(Aws::Utils::Json::JsonView jsonValue)
const CellSignals & GetCellSignals() const
bool PositionHasBeenSet() const
void SetIpv4Address(Aws::String &&value)
const Aws::Vector< double > & GetPosition() const
void SetWiFiAccessPoints(Aws::Vector< WiFiAccessPoint > &&value)
DeviceState & WithWiFiAccessPoints(Aws::Vector< WiFiAccessPoint > &&value)
DeviceState & AddWiFiAccessPoints(const WiFiAccessPoint &value)
DeviceState & WithPosition(Aws::Vector< double > &&value)
void SetIpv4Address(const char *value)
bool WiFiAccessPointsHasBeenSet() const
DeviceState & WithDeviceId(const char *value)
void SetWiFiAccessPoints(const Aws::Vector< WiFiAccessPoint > &value)
DeviceState & WithIpv4Address(const char *value)
void SetCellSignals(const CellSignals &value)
const Aws::String & GetDeviceId() const
bool CellSignalsHasBeenSet() const
bool Ipv4AddressHasBeenSet() const
void SetPosition(const Aws::Vector< double > &value)
void SetDeviceId(const char *value)
void SetPosition(Aws::Vector< double > &&value)
DeviceState & WithWiFiAccessPoints(const Aws::Vector< WiFiAccessPoint > &value)
DeviceState & WithCellSignals(CellSignals &&value)
DeviceState & WithIpv4Address(const Aws::String &value)
void SetDeviceId(const Aws::String &value)
void SetIpv4Address(const Aws::String &value)
void SetAccuracy(const PositionalAccuracy &value)
void SetCellSignals(CellSignals &&value)
DeviceState & WithIpv4Address(Aws::String &&value)
DeviceState & WithSampleTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetSampleTime() const
DeviceState & WithDeviceId(const Aws::String &value)
const Aws::String & GetIpv4Address() const
bool AccuracyHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue