AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
ForecastGeofenceEventsResult.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/location/model/DistanceUnit.h>
11#include <aws/location/model/SpeedUnit.h>
12#include <aws/location/model/ForecastedEvent.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace LocationService
28{
29namespace Model
30{
32 {
33 public:
34 AWS_LOCATIONSERVICE_API ForecastGeofenceEventsResult() = default;
37
38
40
43 inline const Aws::Vector<ForecastedEvent>& GetForecastedEvents() const { return m_forecastedEvents; }
44 template<typename ForecastedEventsT = Aws::Vector<ForecastedEvent>>
45 void SetForecastedEvents(ForecastedEventsT&& value) { m_forecastedEventsHasBeenSet = true; m_forecastedEvents = std::forward<ForecastedEventsT>(value); }
46 template<typename ForecastedEventsT = Aws::Vector<ForecastedEvent>>
47 ForecastGeofenceEventsResult& WithForecastedEvents(ForecastedEventsT&& value) { SetForecastedEvents(std::forward<ForecastedEventsT>(value)); return *this;}
48 template<typename ForecastedEventsT = ForecastedEvent>
49 ForecastGeofenceEventsResult& AddForecastedEvents(ForecastedEventsT&& value) { m_forecastedEventsHasBeenSet = true; m_forecastedEvents.emplace_back(std::forward<ForecastedEventsT>(value)); return *this; }
51
53
57 inline const Aws::String& GetNextToken() const { return m_nextToken; }
58 template<typename NextTokenT = Aws::String>
59 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
60 template<typename NextTokenT = Aws::String>
61 ForecastGeofenceEventsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
63
65
68 inline DistanceUnit GetDistanceUnit() const { return m_distanceUnit; }
69 inline void SetDistanceUnit(DistanceUnit value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; }
72
74
77 inline SpeedUnit GetSpeedUnit() const { return m_speedUnit; }
78 inline void SetSpeedUnit(SpeedUnit value) { m_speedUnitHasBeenSet = true; m_speedUnit = value; }
79 inline ForecastGeofenceEventsResult& WithSpeedUnit(SpeedUnit value) { SetSpeedUnit(value); return *this;}
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template<typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
87 template<typename RequestIdT = Aws::String>
88 ForecastGeofenceEventsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
90 private:
91
92 Aws::Vector<ForecastedEvent> m_forecastedEvents;
93 bool m_forecastedEventsHasBeenSet = false;
94
95 Aws::String m_nextToken;
96 bool m_nextTokenHasBeenSet = false;
97
98 DistanceUnit m_distanceUnit{DistanceUnit::NOT_SET};
99 bool m_distanceUnitHasBeenSet = false;
100
101 SpeedUnit m_speedUnit{SpeedUnit::NOT_SET};
102 bool m_speedUnitHasBeenSet = false;
103
104 Aws::String m_requestId;
105 bool m_requestIdHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace LocationService
110} // namespace Aws
AWS_LOCATIONSERVICE_API ForecastGeofenceEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ForecastGeofenceEventsResult & WithNextToken(NextTokenT &&value)
ForecastGeofenceEventsResult & WithSpeedUnit(SpeedUnit value)
const Aws::Vector< ForecastedEvent > & GetForecastedEvents() const
AWS_LOCATIONSERVICE_API ForecastGeofenceEventsResult()=default
ForecastGeofenceEventsResult & WithForecastedEvents(ForecastedEventsT &&value)
ForecastGeofenceEventsResult & WithDistanceUnit(DistanceUnit value)
AWS_LOCATIONSERVICE_API ForecastGeofenceEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ForecastGeofenceEventsResult & AddForecastedEvents(ForecastedEventsT &&value)
ForecastGeofenceEventsResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue