AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RoutePedestrianDeparture.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RoutePedestrianPlace.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
36 {
37 public:
38 AWS_GEOROUTES_API RoutePedestrianDeparture();
41 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const RoutePedestrianPlace& GetPlace() const{ return m_place; }
49 inline bool PlaceHasBeenSet() const { return m_placeHasBeenSet; }
50 inline void SetPlace(const RoutePedestrianPlace& value) { m_placeHasBeenSet = true; m_place = value; }
51 inline void SetPlace(RoutePedestrianPlace&& value) { m_placeHasBeenSet = true; m_place = std::move(value); }
52 inline RoutePedestrianDeparture& WithPlace(const RoutePedestrianPlace& value) { SetPlace(value); return *this;}
53 inline RoutePedestrianDeparture& WithPlace(RoutePedestrianPlace&& value) { SetPlace(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetTime() const{ return m_time; }
61 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
62 inline void SetTime(const Aws::String& value) { m_timeHasBeenSet = true; m_time = value; }
63 inline void SetTime(Aws::String&& value) { m_timeHasBeenSet = true; m_time = std::move(value); }
64 inline void SetTime(const char* value) { m_timeHasBeenSet = true; m_time.assign(value); }
65 inline RoutePedestrianDeparture& WithTime(const Aws::String& value) { SetTime(value); return *this;}
66 inline RoutePedestrianDeparture& WithTime(Aws::String&& value) { SetTime(std::move(value)); return *this;}
67 inline RoutePedestrianDeparture& WithTime(const char* value) { SetTime(value); return *this;}
69 private:
70
72 bool m_placeHasBeenSet = false;
73
74 Aws::String m_time;
75 bool m_timeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace GeoRoutes
80} // namespace Aws
void SetPlace(const RoutePedestrianPlace &value)
RoutePedestrianDeparture & WithTime(const char *value)
RoutePedestrianDeparture & WithTime(Aws::String &&value)
AWS_GEOROUTES_API RoutePedestrianDeparture & operator=(Aws::Utils::Json::JsonView jsonValue)
RoutePedestrianDeparture & WithTime(const Aws::String &value)
AWS_GEOROUTES_API RoutePedestrianDeparture(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RoutePedestrianDeparture & WithPlace(const RoutePedestrianPlace &value)
RoutePedestrianDeparture & WithPlace(RoutePedestrianPlace &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue