AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InferredState.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/location/model/PositionalAccuracy.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 InferredState();
37 AWS_LOCATIONSERVICE_API InferredState(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOCATIONSERVICE_API InferredState& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<double>& GetPosition() const{ return m_position; }
48 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
49 inline void SetPosition(const Aws::Vector<double>& value) { m_positionHasBeenSet = true; m_position = value; }
50 inline void SetPosition(Aws::Vector<double>&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
51 inline InferredState& WithPosition(const Aws::Vector<double>& value) { SetPosition(value); return *this;}
52 inline InferredState& WithPosition(Aws::Vector<double>&& value) { SetPosition(std::move(value)); return *this;}
53 inline InferredState& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; }
55
57
60 inline const PositionalAccuracy& GetAccuracy() const{ return m_accuracy; }
61 inline bool AccuracyHasBeenSet() const { return m_accuracyHasBeenSet; }
62 inline void SetAccuracy(const PositionalAccuracy& value) { m_accuracyHasBeenSet = true; m_accuracy = value; }
63 inline void SetAccuracy(PositionalAccuracy&& value) { m_accuracyHasBeenSet = true; m_accuracy = std::move(value); }
64 inline InferredState& WithAccuracy(const PositionalAccuracy& value) { SetAccuracy(value); return *this;}
65 inline InferredState& WithAccuracy(PositionalAccuracy&& value) { SetAccuracy(std::move(value)); return *this;}
67
69
73 inline double GetDeviationDistance() const{ return m_deviationDistance; }
74 inline bool DeviationDistanceHasBeenSet() const { return m_deviationDistanceHasBeenSet; }
75 inline void SetDeviationDistance(double value) { m_deviationDistanceHasBeenSet = true; m_deviationDistance = value; }
76 inline InferredState& WithDeviationDistance(double value) { SetDeviationDistance(value); return *this;}
78
80
83 inline bool GetProxyDetected() const{ return m_proxyDetected; }
84 inline bool ProxyDetectedHasBeenSet() const { return m_proxyDetectedHasBeenSet; }
85 inline void SetProxyDetected(bool value) { m_proxyDetectedHasBeenSet = true; m_proxyDetected = value; }
86 inline InferredState& WithProxyDetected(bool value) { SetProxyDetected(value); return *this;}
88 private:
89
90 Aws::Vector<double> m_position;
91 bool m_positionHasBeenSet = false;
92
93 PositionalAccuracy m_accuracy;
94 bool m_accuracyHasBeenSet = false;
95
96 double m_deviationDistance;
97 bool m_deviationDistanceHasBeenSet = false;
98
99 bool m_proxyDetected;
100 bool m_proxyDetectedHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace LocationService
105} // namespace Aws
void SetAccuracy(PositionalAccuracy &&value)
InferredState & WithDeviationDistance(double value)
const Aws::Vector< double > & GetPosition() const
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPosition(const Aws::Vector< double > &value)
AWS_LOCATIONSERVICE_API InferredState()
const PositionalAccuracy & GetAccuracy() const
InferredState & WithAccuracy(PositionalAccuracy &&value)
AWS_LOCATIONSERVICE_API InferredState & operator=(Aws::Utils::Json::JsonView jsonValue)
InferredState & AddPosition(double value)
void SetAccuracy(const PositionalAccuracy &value)
InferredState & WithAccuracy(const PositionalAccuracy &value)
InferredState & WithPosition(Aws::Vector< double > &&value)
InferredState & WithProxyDetected(bool value)
AWS_LOCATIONSERVICE_API InferredState(Aws::Utils::Json::JsonView jsonValue)
InferredState & WithPosition(const Aws::Vector< double > &value)
void SetPosition(Aws::Vector< double > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue