AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RoadSnapSnappedTracePoint.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GeoRoutes
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GEOROUTES_API RoadSnapSnappedTracePoint();
37 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline double GetConfidence() const{ return m_confidence; }
45 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
46 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
47 inline RoadSnapSnappedTracePoint& WithConfidence(double value) { SetConfidence(value); return *this;}
49
51
55 inline const Aws::Vector<double>& GetOriginalPosition() const{ return m_originalPosition; }
56 inline bool OriginalPositionHasBeenSet() const { return m_originalPositionHasBeenSet; }
57 inline void SetOriginalPosition(const Aws::Vector<double>& value) { m_originalPositionHasBeenSet = true; m_originalPosition = value; }
58 inline void SetOriginalPosition(Aws::Vector<double>&& value) { m_originalPositionHasBeenSet = true; m_originalPosition = std::move(value); }
61 inline RoadSnapSnappedTracePoint& AddOriginalPosition(double value) { m_originalPositionHasBeenSet = true; m_originalPosition.push_back(value); return *this; }
63
65
69 inline const Aws::Vector<double>& GetSnappedPosition() const{ return m_snappedPosition; }
70 inline bool SnappedPositionHasBeenSet() const { return m_snappedPositionHasBeenSet; }
71 inline void SetSnappedPosition(const Aws::Vector<double>& value) { m_snappedPositionHasBeenSet = true; m_snappedPosition = value; }
72 inline void SetSnappedPosition(Aws::Vector<double>&& value) { m_snappedPositionHasBeenSet = true; m_snappedPosition = std::move(value); }
74 inline RoadSnapSnappedTracePoint& WithSnappedPosition(Aws::Vector<double>&& value) { SetSnappedPosition(std::move(value)); return *this;}
75 inline RoadSnapSnappedTracePoint& AddSnappedPosition(double value) { m_snappedPositionHasBeenSet = true; m_snappedPosition.push_back(value); return *this; }
77 private:
78
79 double m_confidence;
80 bool m_confidenceHasBeenSet = false;
81
82 Aws::Vector<double> m_originalPosition;
83 bool m_originalPositionHasBeenSet = false;
84
85 Aws::Vector<double> m_snappedPosition;
86 bool m_snappedPositionHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace GeoRoutes
91} // namespace Aws
RoadSnapSnappedTracePoint & AddOriginalPosition(double value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOriginalPosition(Aws::Vector< double > &&value)
RoadSnapSnappedTracePoint & WithSnappedPosition(const Aws::Vector< double > &value)
RoadSnapSnappedTracePoint & WithOriginalPosition(const Aws::Vector< double > &value)
void SetOriginalPosition(const Aws::Vector< double > &value)
RoadSnapSnappedTracePoint & AddSnappedPosition(double value)
const Aws::Vector< double > & GetSnappedPosition() const
void SetSnappedPosition(const Aws::Vector< double > &value)
RoadSnapSnappedTracePoint & WithConfidence(double value)
AWS_GEOROUTES_API RoadSnapSnappedTracePoint(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RoadSnapSnappedTracePoint & operator=(Aws::Utils::Json::JsonView jsonValue)
RoadSnapSnappedTracePoint & WithOriginalPosition(Aws::Vector< double > &&value)
RoadSnapSnappedTracePoint & WithSnappedPosition(Aws::Vector< double > &&value)
const Aws::Vector< double > & GetOriginalPosition() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue