AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Gnss.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 IoTWireless
23{
24namespace Model
25{
26
33 class Gnss
34 {
35 public:
36 AWS_IOTWIRELESS_API Gnss();
37 AWS_IOTWIRELESS_API Gnss(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTWIRELESS_API Gnss& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetPayload() const{ return m_payload; }
48 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
49 inline void SetPayload(const Aws::String& value) { m_payloadHasBeenSet = true; m_payload = value; }
50 inline void SetPayload(Aws::String&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
51 inline void SetPayload(const char* value) { m_payloadHasBeenSet = true; m_payload.assign(value); }
52 inline Gnss& WithPayload(const Aws::String& value) { SetPayload(value); return *this;}
53 inline Gnss& WithPayload(Aws::String&& value) { SetPayload(std::move(value)); return *this;}
54 inline Gnss& WithPayload(const char* value) { SetPayload(value); return *this;}
56
58
63 inline double GetCaptureTime() const{ return m_captureTime; }
64 inline bool CaptureTimeHasBeenSet() const { return m_captureTimeHasBeenSet; }
65 inline void SetCaptureTime(double value) { m_captureTimeHasBeenSet = true; m_captureTime = value; }
66 inline Gnss& WithCaptureTime(double value) { SetCaptureTime(value); return *this;}
68
70
74 inline double GetCaptureTimeAccuracy() const{ return m_captureTimeAccuracy; }
75 inline bool CaptureTimeAccuracyHasBeenSet() const { return m_captureTimeAccuracyHasBeenSet; }
76 inline void SetCaptureTimeAccuracy(double value) { m_captureTimeAccuracyHasBeenSet = true; m_captureTimeAccuracy = value; }
77 inline Gnss& WithCaptureTimeAccuracy(double value) { SetCaptureTimeAccuracy(value); return *this;}
79
81
86 inline const Aws::Vector<double>& GetAssistPosition() const{ return m_assistPosition; }
87 inline bool AssistPositionHasBeenSet() const { return m_assistPositionHasBeenSet; }
88 inline void SetAssistPosition(const Aws::Vector<double>& value) { m_assistPositionHasBeenSet = true; m_assistPosition = value; }
89 inline void SetAssistPosition(Aws::Vector<double>&& value) { m_assistPositionHasBeenSet = true; m_assistPosition = std::move(value); }
90 inline Gnss& WithAssistPosition(const Aws::Vector<double>& value) { SetAssistPosition(value); return *this;}
91 inline Gnss& WithAssistPosition(Aws::Vector<double>&& value) { SetAssistPosition(std::move(value)); return *this;}
92 inline Gnss& AddAssistPosition(double value) { m_assistPositionHasBeenSet = true; m_assistPosition.push_back(value); return *this; }
94
96
100 inline double GetAssistAltitude() const{ return m_assistAltitude; }
101 inline bool AssistAltitudeHasBeenSet() const { return m_assistAltitudeHasBeenSet; }
102 inline void SetAssistAltitude(double value) { m_assistAltitudeHasBeenSet = true; m_assistAltitude = value; }
103 inline Gnss& WithAssistAltitude(double value) { SetAssistAltitude(value); return *this;}
105
107
112 inline bool GetUse2DSolver() const{ return m_use2DSolver; }
113 inline bool Use2DSolverHasBeenSet() const { return m_use2DSolverHasBeenSet; }
114 inline void SetUse2DSolver(bool value) { m_use2DSolverHasBeenSet = true; m_use2DSolver = value; }
115 inline Gnss& WithUse2DSolver(bool value) { SetUse2DSolver(value); return *this;}
117 private:
118
119 Aws::String m_payload;
120 bool m_payloadHasBeenSet = false;
121
122 double m_captureTime;
123 bool m_captureTimeHasBeenSet = false;
124
125 double m_captureTimeAccuracy;
126 bool m_captureTimeAccuracyHasBeenSet = false;
127
128 Aws::Vector<double> m_assistPosition;
129 bool m_assistPositionHasBeenSet = false;
130
131 double m_assistAltitude;
132 bool m_assistAltitudeHasBeenSet = false;
133
134 bool m_use2DSolver;
135 bool m_use2DSolverHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace IoTWireless
140} // namespace Aws
const Aws::String & GetPayload() const
Definition Gnss.h:47
Gnss & WithAssistPosition(Aws::Vector< double > &&value)
Definition Gnss.h:91
bool CaptureTimeAccuracyHasBeenSet() const
Definition Gnss.h:75
void SetCaptureTime(double value)
Definition Gnss.h:65
void SetCaptureTimeAccuracy(double value)
Definition Gnss.h:76
Gnss & WithPayload(const char *value)
Definition Gnss.h:54
Gnss & WithPayload(Aws::String &&value)
Definition Gnss.h:53
AWS_IOTWIRELESS_API Gnss()
void SetUse2DSolver(bool value)
Definition Gnss.h:114
void SetPayload(Aws::String &&value)
Definition Gnss.h:50
double GetCaptureTime() const
Definition Gnss.h:63
AWS_IOTWIRELESS_API Gnss & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< double > & GetAssistPosition() const
Definition Gnss.h:86
bool GetUse2DSolver() const
Definition Gnss.h:112
AWS_IOTWIRELESS_API Gnss(Aws::Utils::Json::JsonView jsonValue)
Gnss & WithCaptureTimeAccuracy(double value)
Definition Gnss.h:77
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool CaptureTimeHasBeenSet() const
Definition Gnss.h:64
void SetPayload(const Aws::String &value)
Definition Gnss.h:49
bool Use2DSolverHasBeenSet() const
Definition Gnss.h:113
void SetPayload(const char *value)
Definition Gnss.h:51
bool AssistAltitudeHasBeenSet() const
Definition Gnss.h:101
Gnss & WithAssistPosition(const Aws::Vector< double > &value)
Definition Gnss.h:90
bool PayloadHasBeenSet() const
Definition Gnss.h:48
void SetAssistPosition(const Aws::Vector< double > &value)
Definition Gnss.h:88
void SetAssistAltitude(double value)
Definition Gnss.h:102
bool AssistPositionHasBeenSet() const
Definition Gnss.h:87
Gnss & WithAssistAltitude(double value)
Definition Gnss.h:103
Gnss & AddAssistPosition(double value)
Definition Gnss.h:92
double GetAssistAltitude() const
Definition Gnss.h:100
double GetCaptureTimeAccuracy() const
Definition Gnss.h:74
Gnss & WithPayload(const Aws::String &value)
Definition Gnss.h:52
Gnss & WithCaptureTime(double value)
Definition Gnss.h:66
Gnss & WithUse2DSolver(bool value)
Definition Gnss.h:115
void SetAssistPosition(Aws::Vector< double > &&value)
Definition Gnss.h:89
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue