7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/location/LocationService_EXPORTS.h>
10#include <aws/location/model/DistanceUnit.h>
11#include <aws/location/model/ForecastedEvent.h>
12#include <aws/location/model/SpeedUnit.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace LocationService {
38 template <
typename ForecastedEventsT = Aws::Vector<ForecastedEvent>>
40 m_forecastedEventsHasBeenSet =
true;
41 m_forecastedEvents = std::forward<ForecastedEventsT>(value);
43 template <
typename ForecastedEventsT = Aws::Vector<ForecastedEvent>>
48 template <
typename ForecastedEventsT = ForecastedEvent>
50 m_forecastedEventsHasBeenSet =
true;
51 m_forecastedEvents.emplace_back(std::forward<ForecastedEventsT>(value));
62 template <
typename NextTokenT = Aws::String>
64 m_nextTokenHasBeenSet =
true;
65 m_nextToken = std::forward<NextTokenT>(value);
67 template <
typename NextTokenT = Aws::String>
80 m_distanceUnitHasBeenSet =
true;
81 m_distanceUnit = value;
95 m_speedUnitHasBeenSet =
true;
107 template <
typename RequestIdT = Aws::String>
109 m_requestIdHasBeenSet =
true;
110 m_requestId = std::forward<RequestIdT>(value);
112 template <
typename RequestIdT = Aws::String>
128 bool m_forecastedEventsHasBeenSet =
false;
129 bool m_nextTokenHasBeenSet =
false;
130 bool m_distanceUnitHasBeenSet =
false;
131 bool m_speedUnitHasBeenSet =
false;
132 bool m_requestIdHasBeenSet =
false;
AWS_LOCATIONSERVICE_API ForecastGeofenceEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ForecastGeofenceEventsResult & WithNextToken(NextTokenT &&value)
ForecastGeofenceEventsResult & WithSpeedUnit(SpeedUnit value)
DistanceUnit GetDistanceUnit() const
const Aws::Vector< ForecastedEvent > & GetForecastedEvents() const
SpeedUnit GetSpeedUnit() const
const Aws::String & GetRequestId() const
void SetDistanceUnit(DistanceUnit value)
AWS_LOCATIONSERVICE_API ForecastGeofenceEventsResult()=default
ForecastGeofenceEventsResult & WithForecastedEvents(ForecastedEventsT &&value)
ForecastGeofenceEventsResult & WithDistanceUnit(DistanceUnit value)
void SetSpeedUnit(SpeedUnit value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
AWS_LOCATIONSERVICE_API ForecastGeofenceEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ForecastGeofenceEventsResult & AddForecastedEvents(ForecastedEventsT &&value)
ForecastGeofenceEventsResult & WithRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
void SetForecastedEvents(ForecastedEventsT &&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