AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VerifyDevicePositionResult.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/model/InferredState.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/location/model/DistanceUnit.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace LocationService
27{
28namespace Model
29{
31 {
32 public:
33 AWS_LOCATIONSERVICE_API VerifyDevicePositionResult();
36
37
39
43 inline const InferredState& GetInferredState() const{ return m_inferredState; }
44 inline void SetInferredState(const InferredState& value) { m_inferredState = value; }
45 inline void SetInferredState(InferredState&& value) { m_inferredState = std::move(value); }
46 inline VerifyDevicePositionResult& WithInferredState(const InferredState& value) { SetInferredState(value); return *this;}
47 inline VerifyDevicePositionResult& WithInferredState(InferredState&& value) { SetInferredState(std::move(value)); return *this;}
49
51
54 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
55 inline void SetDeviceId(const Aws::String& value) { m_deviceId = value; }
56 inline void SetDeviceId(Aws::String&& value) { m_deviceId = std::move(value); }
57 inline void SetDeviceId(const char* value) { m_deviceId.assign(value); }
58 inline VerifyDevicePositionResult& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
59 inline VerifyDevicePositionResult& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
60 inline VerifyDevicePositionResult& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
62
64
69 inline const Aws::Utils::DateTime& GetSampleTime() const{ return m_sampleTime; }
70 inline void SetSampleTime(const Aws::Utils::DateTime& value) { m_sampleTime = value; }
71 inline void SetSampleTime(Aws::Utils::DateTime&& value) { m_sampleTime = std::move(value); }
72 inline VerifyDevicePositionResult& WithSampleTime(const Aws::Utils::DateTime& value) { SetSampleTime(value); return *this;}
73 inline VerifyDevicePositionResult& WithSampleTime(Aws::Utils::DateTime&& value) { SetSampleTime(std::move(value)); return *this;}
75
77
82 inline const Aws::Utils::DateTime& GetReceivedTime() const{ return m_receivedTime; }
83 inline void SetReceivedTime(const Aws::Utils::DateTime& value) { m_receivedTime = value; }
84 inline void SetReceivedTime(Aws::Utils::DateTime&& value) { m_receivedTime = std::move(value); }
86 inline VerifyDevicePositionResult& WithReceivedTime(Aws::Utils::DateTime&& value) { SetReceivedTime(std::move(value)); return *this;}
88
90
93 inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; }
94 inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnit = value; }
95 inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnit = std::move(value); }
96 inline VerifyDevicePositionResult& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;}
97 inline VerifyDevicePositionResult& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const{ return m_requestId; }
103 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
104 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
105 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
106 inline VerifyDevicePositionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
107 inline VerifyDevicePositionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
108 inline VerifyDevicePositionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
110 private:
111
112 InferredState m_inferredState;
113
114 Aws::String m_deviceId;
115
116 Aws::Utils::DateTime m_sampleTime;
117
118 Aws::Utils::DateTime m_receivedTime;
119
120 DistanceUnit m_distanceUnit;
121
122 Aws::String m_requestId;
123 };
124
125} // namespace Model
126} // namespace LocationService
127} // namespace Aws
VerifyDevicePositionResult & WithDeviceId(Aws::String &&value)
VerifyDevicePositionResult & WithDistanceUnit(const DistanceUnit &value)
VerifyDevicePositionResult & WithRequestId(const char *value)
VerifyDevicePositionResult & WithDeviceId(const Aws::String &value)
VerifyDevicePositionResult & WithDeviceId(const char *value)
VerifyDevicePositionResult & WithDistanceUnit(DistanceUnit &&value)
VerifyDevicePositionResult & WithInferredState(InferredState &&value)
VerifyDevicePositionResult & WithReceivedTime(const Aws::Utils::DateTime &value)
VerifyDevicePositionResult & WithRequestId(const Aws::String &value)
VerifyDevicePositionResult & WithReceivedTime(Aws::Utils::DateTime &&value)
AWS_LOCATIONSERVICE_API VerifyDevicePositionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
VerifyDevicePositionResult & WithInferredState(const InferredState &value)
AWS_LOCATIONSERVICE_API VerifyDevicePositionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
VerifyDevicePositionResult & WithSampleTime(const Aws::Utils::DateTime &value)
VerifyDevicePositionResult & WithRequestId(Aws::String &&value)
VerifyDevicePositionResult & WithSampleTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue