AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ForecastGeofenceEventsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/location/LocationServiceRequest.h>
9#include <aws/location/LocationService_EXPORTS.h>
10#include <aws/location/model/DistanceUnit.h>
11#include <aws/location/model/ForecastGeofenceEventsDeviceState.h>
12#include <aws/location/model/SpeedUnit.h>
13
14#include <utility>
15
16namespace Aws {
17namespace LocationService {
18namespace Model {
19
23 public:
24 AWS_LOCATIONSERVICE_API ForecastGeofenceEventsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ForecastGeofenceEvents"; }
31
32 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetCollectionName() const { return m_collectionName; }
39 inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; }
40 template <typename CollectionNameT = Aws::String>
41 void SetCollectionName(CollectionNameT&& value) {
42 m_collectionNameHasBeenSet = true;
43 m_collectionName = std::forward<CollectionNameT>(value);
44 }
45 template <typename CollectionNameT = Aws::String>
47 SetCollectionName(std::forward<CollectionNameT>(value));
48 return *this;
49 }
51
53
59 inline const ForecastGeofenceEventsDeviceState& GetDeviceState() const { return m_deviceState; }
60 inline bool DeviceStateHasBeenSet() const { return m_deviceStateHasBeenSet; }
61 template <typename DeviceStateT = ForecastGeofenceEventsDeviceState>
62 void SetDeviceState(DeviceStateT&& value) {
63 m_deviceStateHasBeenSet = true;
64 m_deviceState = std::forward<DeviceStateT>(value);
65 }
66 template <typename DeviceStateT = ForecastGeofenceEventsDeviceState>
68 SetDeviceState(std::forward<DeviceStateT>(value));
69 return *this;
70 }
72
74
81 inline double GetTimeHorizonMinutes() const { return m_timeHorizonMinutes; }
82 inline bool TimeHorizonMinutesHasBeenSet() const { return m_timeHorizonMinutesHasBeenSet; }
83 inline void SetTimeHorizonMinutes(double value) {
84 m_timeHorizonMinutesHasBeenSet = true;
85 m_timeHorizonMinutes = value;
86 }
89 return *this;
90 }
92
94
102 inline DistanceUnit GetDistanceUnit() const { return m_distanceUnit; }
103 inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; }
104 inline void SetDistanceUnit(DistanceUnit value) {
105 m_distanceUnitHasBeenSet = true;
106 m_distanceUnit = value;
107 }
109 SetDistanceUnit(value);
110 return *this;
111 }
113
115
122 inline SpeedUnit GetSpeedUnit() const { return m_speedUnit; }
123 inline bool SpeedUnitHasBeenSet() const { return m_speedUnitHasBeenSet; }
124 inline void SetSpeedUnit(SpeedUnit value) {
125 m_speedUnitHasBeenSet = true;
126 m_speedUnit = value;
127 }
129 SetSpeedUnit(value);
130 return *this;
131 }
133
135
140 inline const Aws::String& GetNextToken() const { return m_nextToken; }
141 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
142 template <typename NextTokenT = Aws::String>
143 void SetNextToken(NextTokenT&& value) {
144 m_nextTokenHasBeenSet = true;
145 m_nextToken = std::forward<NextTokenT>(value);
146 }
147 template <typename NextTokenT = Aws::String>
149 SetNextToken(std::forward<NextTokenT>(value));
150 return *this;
151 }
153
155
159 inline int GetMaxResults() const { return m_maxResults; }
160 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
161 inline void SetMaxResults(int value) {
162 m_maxResultsHasBeenSet = true;
163 m_maxResults = value;
164 }
166 SetMaxResults(value);
167 return *this;
168 }
170 private:
171 Aws::String m_collectionName;
172
174
175 double m_timeHorizonMinutes{0.0};
176
177 DistanceUnit m_distanceUnit{DistanceUnit::NOT_SET};
178
179 SpeedUnit m_speedUnit{SpeedUnit::NOT_SET};
180
181 Aws::String m_nextToken;
182
183 int m_maxResults{0};
184 bool m_collectionNameHasBeenSet = false;
185 bool m_deviceStateHasBeenSet = false;
186 bool m_timeHorizonMinutesHasBeenSet = false;
187 bool m_distanceUnitHasBeenSet = false;
188 bool m_speedUnitHasBeenSet = false;
189 bool m_nextTokenHasBeenSet = false;
190 bool m_maxResultsHasBeenSet = false;
191};
192
193} // namespace Model
194} // namespace LocationService
195} // namespace Aws
ForecastGeofenceEventsRequest & WithDeviceState(DeviceStateT &&value)
const ForecastGeofenceEventsDeviceState & GetDeviceState() const
ForecastGeofenceEventsRequest & WithTimeHorizonMinutes(double value)
AWS_LOCATIONSERVICE_API ForecastGeofenceEventsRequest()=default
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
ForecastGeofenceEventsRequest & WithDistanceUnit(DistanceUnit value)
ForecastGeofenceEventsRequest & WithCollectionName(CollectionNameT &&value)
ForecastGeofenceEventsRequest & WithSpeedUnit(SpeedUnit value)
ForecastGeofenceEventsRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String