AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RouteVehicleArrival.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteVehiclePlace.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GeoRoutes
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GEOROUTES_API RouteVehicleArrival() = default;
36 AWS_GEOROUTES_API RouteVehicleArrival(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const RouteVehiclePlace& GetPlace() const { return m_place; }
46 inline bool PlaceHasBeenSet() const { return m_placeHasBeenSet; }
47 template<typename PlaceT = RouteVehiclePlace>
48 void SetPlace(PlaceT&& value) { m_placeHasBeenSet = true; m_place = std::forward<PlaceT>(value); }
49 template<typename PlaceT = RouteVehiclePlace>
50 RouteVehicleArrival& WithPlace(PlaceT&& value) { SetPlace(std::forward<PlaceT>(value)); return *this;}
52
54
57 inline const Aws::String& GetTime() const { return m_time; }
58 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
59 template<typename TimeT = Aws::String>
60 void SetTime(TimeT&& value) { m_timeHasBeenSet = true; m_time = std::forward<TimeT>(value); }
61 template<typename TimeT = Aws::String>
62 RouteVehicleArrival& WithTime(TimeT&& value) { SetTime(std::forward<TimeT>(value)); return *this;}
64 private:
65
66 RouteVehiclePlace m_place;
67 bool m_placeHasBeenSet = false;
68
69 Aws::String m_time;
70 bool m_timeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace GeoRoutes
75} // namespace Aws
const RouteVehiclePlace & GetPlace() const
AWS_GEOROUTES_API RouteVehicleArrival & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteVehicleArrival & WithTime(TimeT &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteVehicleArrival(Aws::Utils::Json::JsonView jsonValue)
RouteVehicleArrival & WithPlace(PlaceT &&value)
AWS_GEOROUTES_API RouteVehicleArrival()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue