AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
VerifyDevicePositionResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/location/LocationService_EXPORTS.h>
10#include <aws/location/model/DistanceUnit.h>
11#include <aws/location/model/InferredState.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LocationService {
25namespace Model {
27 public:
28 AWS_LOCATIONSERVICE_API VerifyDevicePositionResult() = default;
31
33
37 inline const InferredState& GetInferredState() const { return m_inferredState; }
38 template <typename InferredStateT = InferredState>
39 void SetInferredState(InferredStateT&& value) {
40 m_inferredStateHasBeenSet = true;
41 m_inferredState = std::forward<InferredStateT>(value);
42 }
43 template <typename InferredStateT = InferredState>
45 SetInferredState(std::forward<InferredStateT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
55 template <typename DeviceIdT = Aws::String>
56 void SetDeviceId(DeviceIdT&& value) {
57 m_deviceIdHasBeenSet = true;
58 m_deviceId = std::forward<DeviceIdT>(value);
59 }
60 template <typename DeviceIdT = Aws::String>
62 SetDeviceId(std::forward<DeviceIdT>(value));
63 return *this;
64 }
66
68
73 inline const Aws::Utils::DateTime& GetSampleTime() const { return m_sampleTime; }
74 template <typename SampleTimeT = Aws::Utils::DateTime>
75 void SetSampleTime(SampleTimeT&& value) {
76 m_sampleTimeHasBeenSet = true;
77 m_sampleTime = std::forward<SampleTimeT>(value);
78 }
79 template <typename SampleTimeT = Aws::Utils::DateTime>
81 SetSampleTime(std::forward<SampleTimeT>(value));
82 return *this;
83 }
85
87
92 inline const Aws::Utils::DateTime& GetReceivedTime() const { return m_receivedTime; }
93 template <typename ReceivedTimeT = Aws::Utils::DateTime>
94 void SetReceivedTime(ReceivedTimeT&& value) {
95 m_receivedTimeHasBeenSet = true;
96 m_receivedTime = std::forward<ReceivedTimeT>(value);
97 }
98 template <typename ReceivedTimeT = Aws::Utils::DateTime>
100 SetReceivedTime(std::forward<ReceivedTimeT>(value));
101 return *this;
102 }
104
106
109 inline DistanceUnit GetDistanceUnit() const { return m_distanceUnit; }
110 inline void SetDistanceUnit(DistanceUnit value) {
111 m_distanceUnitHasBeenSet = true;
112 m_distanceUnit = value;
113 }
115 SetDistanceUnit(value);
116 return *this;
117 }
119
121
122 inline const Aws::String& GetRequestId() const { return m_requestId; }
123 template <typename RequestIdT = Aws::String>
124 void SetRequestId(RequestIdT&& value) {
125 m_requestIdHasBeenSet = true;
126 m_requestId = std::forward<RequestIdT>(value);
127 }
128 template <typename RequestIdT = Aws::String>
130 SetRequestId(std::forward<RequestIdT>(value));
131 return *this;
132 }
134 private:
135 InferredState m_inferredState;
136
137 Aws::String m_deviceId;
138
139 Aws::Utils::DateTime m_sampleTime{};
140
141 Aws::Utils::DateTime m_receivedTime{};
142
143 DistanceUnit m_distanceUnit{DistanceUnit::NOT_SET};
144
145 Aws::String m_requestId;
146 bool m_inferredStateHasBeenSet = false;
147 bool m_deviceIdHasBeenSet = false;
148 bool m_sampleTimeHasBeenSet = false;
149 bool m_receivedTimeHasBeenSet = false;
150 bool m_distanceUnitHasBeenSet = false;
151 bool m_requestIdHasBeenSet = false;
152};
153
154} // namespace Model
155} // namespace LocationService
156} // namespace Aws
VerifyDevicePositionResult & WithInferredState(InferredStateT &&value)
VerifyDevicePositionResult & WithDeviceId(DeviceIdT &&value)
VerifyDevicePositionResult & WithDistanceUnit(DistanceUnit value)
AWS_LOCATIONSERVICE_API VerifyDevicePositionResult()=default
VerifyDevicePositionResult & WithRequestId(RequestIdT &&value)
VerifyDevicePositionResult & WithReceivedTime(ReceivedTimeT &&value)
AWS_LOCATIONSERVICE_API VerifyDevicePositionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LOCATIONSERVICE_API VerifyDevicePositionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
VerifyDevicePositionResult & WithSampleTime(SampleTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue