AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
BatchGetDevicePositionError.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/location/model/BatchItemError.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LocationService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LOCATIONSERVICE_API BatchGetDevicePositionError() = default;
37 AWS_LOCATIONSERVICE_API BatchGetDevicePositionError(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
47 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
48 template<typename DeviceIdT = Aws::String>
49 void SetDeviceId(DeviceIdT&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::forward<DeviceIdT>(value); }
50 template<typename DeviceIdT = Aws::String>
51 BatchGetDevicePositionError& WithDeviceId(DeviceIdT&& value) { SetDeviceId(std::forward<DeviceIdT>(value)); return *this;}
53
55
58 inline const BatchItemError& GetError() const { return m_error; }
59 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
60 template<typename ErrorT = BatchItemError>
61 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
62 template<typename ErrorT = BatchItemError>
63 BatchGetDevicePositionError& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
65 private:
66
67 Aws::String m_deviceId;
68 bool m_deviceIdHasBeenSet = false;
69
70 BatchItemError m_error;
71 bool m_errorHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LocationService
76} // namespace Aws
BatchGetDevicePositionError & WithDeviceId(DeviceIdT &&value)
BatchGetDevicePositionError & WithError(ErrorT &&value)
AWS_LOCATIONSERVICE_API BatchGetDevicePositionError()=default
AWS_LOCATIONSERVICE_API BatchGetDevicePositionError(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API BatchGetDevicePositionError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue