AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCollectionName(const Aws::String& value) { m_collectionNameHasBeenSet = true; m_collectionName = value; }
45 inline void SetCollectionName(Aws::String&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::move(value); }
46 inline void SetCollectionName(const char* value) { m_collectionNameHasBeenSet = true; m_collectionName.assign(value); }
48 inline ForecastGeofenceEventsRequest& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;}
49 inline ForecastGeofenceEventsRequest& WithCollectionName(const char* value) { SetCollectionName(value); return *this;}
51
53
56 inline const ForecastGeofenceEventsDeviceState& GetDeviceState() const{ return m_deviceState; }
57 inline bool DeviceStateHasBeenSet() const { return m_deviceStateHasBeenSet; }
58 inline void SetDeviceState(const ForecastGeofenceEventsDeviceState& value) { m_deviceStateHasBeenSet = true; m_deviceState = value; }
59 inline void SetDeviceState(ForecastGeofenceEventsDeviceState&& value) { m_deviceStateHasBeenSet = true; m_deviceState = std::move(value); }
63
65
68 inline double GetTimeHorizonMinutes() const{ return m_timeHorizonMinutes; }
69 inline bool TimeHorizonMinutesHasBeenSet() const { return m_timeHorizonMinutesHasBeenSet; }
70 inline void SetTimeHorizonMinutes(double value) { m_timeHorizonMinutesHasBeenSet = true; m_timeHorizonMinutes = value; }
71 inline ForecastGeofenceEventsRequest& WithTimeHorizonMinutes(double value) { SetTimeHorizonMinutes(value); return *this;}
73
75
83 inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; }
84 inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; }
85 inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; }
86 inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); }
87 inline ForecastGeofenceEventsRequest& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;}
88 inline ForecastGeofenceEventsRequest& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;}
90
92
99 inline const SpeedUnit& GetSpeedUnit() const{ return m_speedUnit; }
100 inline bool SpeedUnitHasBeenSet() const { return m_speedUnitHasBeenSet; }
101 inline void SetSpeedUnit(const SpeedUnit& value) { m_speedUnitHasBeenSet = true; m_speedUnit = value; }
102 inline void SetSpeedUnit(SpeedUnit&& value) { m_speedUnitHasBeenSet = true; m_speedUnit = std::move(value); }
103 inline ForecastGeofenceEventsRequest& WithSpeedUnit(const SpeedUnit& value) { SetSpeedUnit(value); return *this;}
104 inline ForecastGeofenceEventsRequest& WithSpeedUnit(SpeedUnit&& value) { SetSpeedUnit(std::move(value)); return *this;}
106
108
113 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
114 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
115 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
116 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
117 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
118 inline ForecastGeofenceEventsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
119 inline ForecastGeofenceEventsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 inline ForecastGeofenceEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
122
124
128 inline int GetMaxResults() const{ return m_maxResults; }
129 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
130 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
131 inline ForecastGeofenceEventsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
133 private:
134
135 Aws::String m_collectionName;
136 bool m_collectionNameHasBeenSet = false;
137
139 bool m_deviceStateHasBeenSet = false;
140
141 double m_timeHorizonMinutes;
142 bool m_timeHorizonMinutesHasBeenSet = false;
143
144 DistanceUnit m_distanceUnit;
145 bool m_distanceUnitHasBeenSet = false;
146
147 SpeedUnit m_speedUnit;
148 bool m_speedUnitHasBeenSet = false;
149
150 Aws::String m_nextToken;
151 bool m_nextTokenHasBeenSet = false;
152
153 int m_maxResults;
154 bool m_maxResultsHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace LocationService
159} // namespace Aws
ForecastGeofenceEventsRequest & WithNextToken(const Aws::String &value)
ForecastGeofenceEventsRequest & WithDeviceState(ForecastGeofenceEventsDeviceState &&value)
const ForecastGeofenceEventsDeviceState & GetDeviceState() const
ForecastGeofenceEventsRequest & WithTimeHorizonMinutes(double value)
ForecastGeofenceEventsRequest & WithCollectionName(const char *value)
void SetDeviceState(const ForecastGeofenceEventsDeviceState &value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
ForecastGeofenceEventsRequest & WithNextToken(Aws::String &&value)
ForecastGeofenceEventsRequest & WithCollectionName(const Aws::String &value)
void SetDeviceState(ForecastGeofenceEventsDeviceState &&value)
ForecastGeofenceEventsRequest & WithDistanceUnit(DistanceUnit &&value)
ForecastGeofenceEventsRequest & WithDeviceState(const ForecastGeofenceEventsDeviceState &value)
ForecastGeofenceEventsRequest & WithNextToken(const char *value)
ForecastGeofenceEventsRequest & WithSpeedUnit(const SpeedUnit &value)
ForecastGeofenceEventsRequest & WithSpeedUnit(SpeedUnit &&value)
ForecastGeofenceEventsRequest & WithCollectionName(Aws::String &&value)
ForecastGeofenceEventsRequest & WithDistanceUnit(const DistanceUnit &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String