AWS SDK for C++

AWS SDK for C++ Version 1.11.771

Loading...
Searching...
No Matches
RouteVehicleArrival.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
9#include <aws/geo-routes/model/RouteVehiclePlace.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GeoRoutes {
21namespace Model {
22
29 public:
30 AWS_GEOROUTES_API RouteVehicleArrival() = default;
31 AWS_GEOROUTES_API RouteVehicleArrival(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const RouteVehiclePlace& GetPlace() const { return m_place; }
40 inline bool PlaceHasBeenSet() const { return m_placeHasBeenSet; }
41 template <typename PlaceT = RouteVehiclePlace>
42 void SetPlace(PlaceT&& value) {
43 m_placeHasBeenSet = true;
44 m_place = std::forward<PlaceT>(value);
45 }
46 template <typename PlaceT = RouteVehiclePlace>
47 RouteVehicleArrival& WithPlace(PlaceT&& value) {
48 SetPlace(std::forward<PlaceT>(value));
49 return *this;
50 }
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) {
61 m_timeHasBeenSet = true;
62 m_time = std::forward<TimeT>(value);
63 }
64 template <typename TimeT = Aws::String>
65 RouteVehicleArrival& WithTime(TimeT&& value) {
66 SetTime(std::forward<TimeT>(value));
67 return *this;
68 }
70 private:
71 RouteVehiclePlace m_place;
72
73 Aws::String m_time;
74 bool m_placeHasBeenSet = false;
75 bool m_timeHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace GeoRoutes
80} // 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