AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ForecastGeofenceEventsRequest.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/LocationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/location/model/ForecastGeofenceEventsDeviceState.h>
11#include <aws/location/model/DistanceUnit.h>
12#include <aws/location/model/SpeedUnit.h>
13#include <utility>
14
15namespace Aws
16{
17namespace LocationService
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_LOCATIONSERVICE_API ForecastGeofenceEventsRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ForecastGeofenceEvents"; }
34
35 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetCollectionName() const { return m_collectionName; }
43 inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; }
44 template<typename CollectionNameT = Aws::String>
45 void SetCollectionName(CollectionNameT&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::forward<CollectionNameT>(value); }
46 template<typename CollectionNameT = Aws::String>
47 ForecastGeofenceEventsRequest& WithCollectionName(CollectionNameT&& value) { SetCollectionName(std::forward<CollectionNameT>(value)); return *this;}
49
51
54 inline const ForecastGeofenceEventsDeviceState& GetDeviceState() const { return m_deviceState; }
55 inline bool DeviceStateHasBeenSet() const { return m_deviceStateHasBeenSet; }
56 template<typename DeviceStateT = ForecastGeofenceEventsDeviceState>
57 void SetDeviceState(DeviceStateT&& value) { m_deviceStateHasBeenSet = true; m_deviceState = std::forward<DeviceStateT>(value); }
58 template<typename DeviceStateT = ForecastGeofenceEventsDeviceState>
59 ForecastGeofenceEventsRequest& WithDeviceState(DeviceStateT&& value) { SetDeviceState(std::forward<DeviceStateT>(value)); return *this;}
61
63
66 inline double GetTimeHorizonMinutes() const { return m_timeHorizonMinutes; }
67 inline bool TimeHorizonMinutesHasBeenSet() const { return m_timeHorizonMinutesHasBeenSet; }
68 inline void SetTimeHorizonMinutes(double value) { m_timeHorizonMinutesHasBeenSet = true; m_timeHorizonMinutes = value; }
69 inline ForecastGeofenceEventsRequest& WithTimeHorizonMinutes(double value) { SetTimeHorizonMinutes(value); return *this;}
71
73
81 inline DistanceUnit GetDistanceUnit() const { return m_distanceUnit; }
82 inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; }
83 inline void SetDistanceUnit(DistanceUnit value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; }
86
88
95 inline SpeedUnit GetSpeedUnit() const { return m_speedUnit; }
96 inline bool SpeedUnitHasBeenSet() const { return m_speedUnitHasBeenSet; }
97 inline void SetSpeedUnit(SpeedUnit value) { m_speedUnitHasBeenSet = true; m_speedUnit = value; }
98 inline ForecastGeofenceEventsRequest& WithSpeedUnit(SpeedUnit value) { SetSpeedUnit(value); return *this;}
100
102
107 inline const Aws::String& GetNextToken() const { return m_nextToken; }
108 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
109 template<typename NextTokenT = Aws::String>
110 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
111 template<typename NextTokenT = Aws::String>
112 ForecastGeofenceEventsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
114
116
120 inline int GetMaxResults() const { return m_maxResults; }
121 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
122 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
123 inline ForecastGeofenceEventsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
125 private:
126
127 Aws::String m_collectionName;
128 bool m_collectionNameHasBeenSet = false;
129
131 bool m_deviceStateHasBeenSet = false;
132
133 double m_timeHorizonMinutes{0.0};
134 bool m_timeHorizonMinutesHasBeenSet = false;
135
136 DistanceUnit m_distanceUnit{DistanceUnit::NOT_SET};
137 bool m_distanceUnitHasBeenSet = false;
138
139 SpeedUnit m_speedUnit{SpeedUnit::NOT_SET};
140 bool m_speedUnitHasBeenSet = false;
141
142 Aws::String m_nextToken;
143 bool m_nextTokenHasBeenSet = false;
144
145 int m_maxResults{0};
146 bool m_maxResultsHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace LocationService
151} // 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