AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPlace(const RouteVehiclePlace& value) { m_placeHasBeenSet = true; m_place = value; }
48 inline void SetPlace(RouteVehiclePlace&& value) { m_placeHasBeenSet = true; m_place = std::move(value); }
49 inline RouteVehicleArrival& WithPlace(const RouteVehiclePlace& value) { SetPlace(value); return *this;}
50 inline RouteVehicleArrival& WithPlace(RouteVehiclePlace&& value) { SetPlace(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetTime() const{ return m_time; }
58 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
59 inline void SetTime(const Aws::String& value) { m_timeHasBeenSet = true; m_time = value; }
60 inline void SetTime(Aws::String&& value) { m_timeHasBeenSet = true; m_time = std::move(value); }
61 inline void SetTime(const char* value) { m_timeHasBeenSet = true; m_time.assign(value); }
62 inline RouteVehicleArrival& WithTime(const Aws::String& value) { SetTime(value); return *this;}
63 inline RouteVehicleArrival& WithTime(Aws::String&& value) { SetTime(std::move(value)); return *this;}
64 inline RouteVehicleArrival& WithTime(const char* value) { SetTime(value); return *this;}
66 private:
67
68 RouteVehiclePlace m_place;
69 bool m_placeHasBeenSet = false;
70
71 Aws::String m_time;
72 bool m_timeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace GeoRoutes
77} // namespace Aws
RouteVehicleArrival & WithPlace(RouteVehiclePlace &&value)
RouteVehicleArrival & WithPlace(const RouteVehiclePlace &value)
const RouteVehiclePlace & GetPlace() const
AWS_GEOROUTES_API RouteVehicleArrival & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPlace(const RouteVehiclePlace &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteVehicleArrival(Aws::Utils::Json::JsonView jsonValue)
RouteVehicleArrival & WithTime(const char *value)
void SetPlace(RouteVehiclePlace &&value)
RouteVehicleArrival & WithTime(const Aws::String &value)
RouteVehicleArrival & WithTime(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue