AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPositionEstimateRequest.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotwireless/model/CellTowers.h>
11#include <aws/iotwireless/model/Ip.h>
12#include <aws/iotwireless/model/Gnss.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/iotwireless/model/WiFiAccessPoint.h>
15#include <utility>
16
17namespace Aws
18{
19namespace IoTWireless
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IOTWIRELESS_API GetPositionEstimateRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetPositionEstimate"; }
36
37 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::Vector<WiFiAccessPoint>& GetWiFiAccessPoints() const{ return m_wiFiAccessPoints; }
46 inline bool WiFiAccessPointsHasBeenSet() const { return m_wiFiAccessPointsHasBeenSet; }
47 inline void SetWiFiAccessPoints(const Aws::Vector<WiFiAccessPoint>& value) { m_wiFiAccessPointsHasBeenSet = true; m_wiFiAccessPoints = value; }
48 inline void SetWiFiAccessPoints(Aws::Vector<WiFiAccessPoint>&& value) { m_wiFiAccessPointsHasBeenSet = true; m_wiFiAccessPoints = std::move(value); }
51 inline GetPositionEstimateRequest& AddWiFiAccessPoints(const WiFiAccessPoint& value) { m_wiFiAccessPointsHasBeenSet = true; m_wiFiAccessPoints.push_back(value); return *this; }
52 inline GetPositionEstimateRequest& AddWiFiAccessPoints(WiFiAccessPoint&& value) { m_wiFiAccessPointsHasBeenSet = true; m_wiFiAccessPoints.push_back(std::move(value)); return *this; }
54
56
61 inline const CellTowers& GetCellTowers() const{ return m_cellTowers; }
62 inline bool CellTowersHasBeenSet() const { return m_cellTowersHasBeenSet; }
63 inline void SetCellTowers(const CellTowers& value) { m_cellTowersHasBeenSet = true; m_cellTowers = value; }
64 inline void SetCellTowers(CellTowers&& value) { m_cellTowersHasBeenSet = true; m_cellTowers = std::move(value); }
65 inline GetPositionEstimateRequest& WithCellTowers(const CellTowers& value) { SetCellTowers(value); return *this;}
66 inline GetPositionEstimateRequest& WithCellTowers(CellTowers&& value) { SetCellTowers(std::move(value)); return *this;}
68
70
75 inline const Ip& GetIp() const{ return m_ip; }
76 inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
77 inline void SetIp(const Ip& value) { m_ipHasBeenSet = true; m_ip = value; }
78 inline void SetIp(Ip&& value) { m_ipHasBeenSet = true; m_ip = std::move(value); }
79 inline GetPositionEstimateRequest& WithIp(const Ip& value) { SetIp(value); return *this;}
80 inline GetPositionEstimateRequest& WithIp(Ip&& value) { SetIp(std::move(value)); return *this;}
82
84
89 inline const Gnss& GetGnss() const{ return m_gnss; }
90 inline bool GnssHasBeenSet() const { return m_gnssHasBeenSet; }
91 inline void SetGnss(const Gnss& value) { m_gnssHasBeenSet = true; m_gnss = value; }
92 inline void SetGnss(Gnss&& value) { m_gnssHasBeenSet = true; m_gnss = std::move(value); }
93 inline GetPositionEstimateRequest& WithGnss(const Gnss& value) { SetGnss(value); return *this;}
94 inline GetPositionEstimateRequest& WithGnss(Gnss&& value) { SetGnss(std::move(value)); return *this;}
96
98
103 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
104 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
105 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
106 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
107 inline GetPositionEstimateRequest& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
108 inline GetPositionEstimateRequest& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
110 private:
111
112 Aws::Vector<WiFiAccessPoint> m_wiFiAccessPoints;
113 bool m_wiFiAccessPointsHasBeenSet = false;
114
115 CellTowers m_cellTowers;
116 bool m_cellTowersHasBeenSet = false;
117
118 Ip m_ip;
119 bool m_ipHasBeenSet = false;
120
121 Gnss m_gnss;
122 bool m_gnssHasBeenSet = false;
123
124 Aws::Utils::DateTime m_timestamp;
125 bool m_timestampHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace IoTWireless
130} // namespace Aws
GetPositionEstimateRequest & WithTimestamp(Aws::Utils::DateTime &&value)
GetPositionEstimateRequest & WithCellTowers(CellTowers &&value)
GetPositionEstimateRequest & WithGnss(const Gnss &value)
GetPositionEstimateRequest & WithWiFiAccessPoints(const Aws::Vector< WiFiAccessPoint > &value)
GetPositionEstimateRequest & AddWiFiAccessPoints(const WiFiAccessPoint &value)
const Aws::Vector< WiFiAccessPoint > & GetWiFiAccessPoints() const
void SetWiFiAccessPoints(Aws::Vector< WiFiAccessPoint > &&value)
GetPositionEstimateRequest & WithIp(const Ip &value)
GetPositionEstimateRequest & AddWiFiAccessPoints(WiFiAccessPoint &&value)
GetPositionEstimateRequest & WithCellTowers(const CellTowers &value)
void SetWiFiAccessPoints(const Aws::Vector< WiFiAccessPoint > &value)
virtual const char * GetServiceRequestName() const override
GetPositionEstimateRequest & WithTimestamp(const Aws::Utils::DateTime &value)
GetPositionEstimateRequest & WithWiFiAccessPoints(Aws::Vector< WiFiAccessPoint > &&value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
GetPositionEstimateRequest & WithGnss(Gnss &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector