AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37
38
40
43 inline const Aws::Vector<ForecastedEvent>& GetForecastedEvents() const{ return m_forecastedEvents; }
44 inline void SetForecastedEvents(const Aws::Vector<ForecastedEvent>& value) { m_forecastedEvents = value; }
45 inline void SetForecastedEvents(Aws::Vector<ForecastedEvent>&& value) { m_forecastedEvents = std::move(value); }
48 inline ForecastGeofenceEventsResult& AddForecastedEvents(const ForecastedEvent& value) { m_forecastedEvents.push_back(value); return *this; }
49 inline ForecastGeofenceEventsResult& AddForecastedEvents(ForecastedEvent&& value) { m_forecastedEvents.push_back(std::move(value)); return *this; }
51
53
57 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
58 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
59 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
60 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
61 inline ForecastGeofenceEventsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
62 inline ForecastGeofenceEventsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
63 inline ForecastGeofenceEventsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
65
67
70 inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; }
71 inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnit = value; }
72 inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnit = std::move(value); }
73 inline ForecastGeofenceEventsResult& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;}
74 inline ForecastGeofenceEventsResult& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;}
76
78
81 inline const SpeedUnit& GetSpeedUnit() const{ return m_speedUnit; }
82 inline void SetSpeedUnit(const SpeedUnit& value) { m_speedUnit = value; }
83 inline void SetSpeedUnit(SpeedUnit&& value) { m_speedUnit = std::move(value); }
84 inline ForecastGeofenceEventsResult& WithSpeedUnit(const SpeedUnit& value) { SetSpeedUnit(value); return *this;}
85 inline ForecastGeofenceEventsResult& WithSpeedUnit(SpeedUnit&& value) { SetSpeedUnit(std::move(value)); return *this;}
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
94 inline ForecastGeofenceEventsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 inline ForecastGeofenceEventsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline ForecastGeofenceEventsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 Aws::Vector<ForecastedEvent> m_forecastedEvents;
101
102 Aws::String m_nextToken;
103
104 DistanceUnit m_distanceUnit;
105
106 SpeedUnit m_speedUnit;
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace LocationService
113} // namespace Aws
AWS_LOCATIONSERVICE_API ForecastGeofenceEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ForecastGeofenceEventsResult & WithRequestId(Aws::String &&value)
const Aws::Vector< ForecastedEvent > & GetForecastedEvents() const
ForecastGeofenceEventsResult & WithSpeedUnit(SpeedUnit &&value)
ForecastGeofenceEventsResult & WithSpeedUnit(const SpeedUnit &value)
void SetForecastedEvents(Aws::Vector< ForecastedEvent > &&value)
ForecastGeofenceEventsResult & WithForecastedEvents(Aws::Vector< ForecastedEvent > &&value)
ForecastGeofenceEventsResult & WithNextToken(const Aws::String &value)
ForecastGeofenceEventsResult & AddForecastedEvents(const ForecastedEvent &value)
ForecastGeofenceEventsResult & WithRequestId(const Aws::String &value)
ForecastGeofenceEventsResult & WithNextToken(const char *value)
ForecastGeofenceEventsResult & WithForecastedEvents(const Aws::Vector< ForecastedEvent > &value)
ForecastGeofenceEventsResult & WithDistanceUnit(DistanceUnit &&value)
AWS_LOCATIONSERVICE_API ForecastGeofenceEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ForecastGeofenceEventsResult & AddForecastedEvents(ForecastedEvent &&value)
void SetForecastedEvents(const Aws::Vector< ForecastedEvent > &value)
ForecastGeofenceEventsResult & WithDistanceUnit(const DistanceUnit &value)
ForecastGeofenceEventsResult & WithRequestId(const char *value)
ForecastGeofenceEventsResult & WithNextToken(Aws::String &&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