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/location/model/BatchItemError.h>
23namespace LocationService
49 template<
typename DeviceIdT = Aws::String>
50 void SetDeviceId(DeviceIdT&& value) { m_deviceIdHasBeenSet =
true; m_deviceId = std::forward<DeviceIdT>(value); }
51 template<
typename DeviceIdT = Aws::String>
63 template<
typename SampleTimeT = Aws::Utils::DateTime>
64 void SetSampleTime(SampleTimeT&& value) { m_sampleTimeHasBeenSet =
true; m_sampleTime = std::forward<SampleTimeT>(value); }
65 template<
typename SampleTimeT = Aws::Utils::DateTime>
76 template<
typename ErrorT = BatchItemError>
77 void SetError(ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
78 template<
typename ErrorT = BatchItemError>
84 bool m_deviceIdHasBeenSet =
false;
87 bool m_sampleTimeHasBeenSet =
false;
89 BatchItemError m_error;
90 bool m_errorHasBeenSet =
false;
BatchUpdateDevicePositionError & WithDeviceId(DeviceIdT &&value)
AWS_LOCATIONSERVICE_API BatchUpdateDevicePositionError(Aws::Utils::Json::JsonView jsonValue)
const BatchItemError & GetError() const
void SetError(ErrorT &&value)
BatchUpdateDevicePositionError & WithError(ErrorT &&value)
BatchUpdateDevicePositionError & WithSampleTime(SampleTimeT &&value)
const Aws::Utils::DateTime & GetSampleTime() const
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ErrorHasBeenSet() const
void SetSampleTime(SampleTimeT &&value)
bool SampleTimeHasBeenSet() const
AWS_LOCATIONSERVICE_API BatchUpdateDevicePositionError()=default
const Aws::String & GetDeviceId() const
void SetDeviceId(DeviceIdT &&value)
bool DeviceIdHasBeenSet() const
AWS_LOCATIONSERVICE_API BatchUpdateDevicePositionError & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue