AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RouteFerryDeparture.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteFerryPlace.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
34 {
35 public:
36 AWS_GEOROUTES_API RouteFerryDeparture() = default;
37 AWS_GEOROUTES_API RouteFerryDeparture(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const RouteFerryPlace& GetPlace() const { return m_place; }
47 inline bool PlaceHasBeenSet() const { return m_placeHasBeenSet; }
48 template<typename PlaceT = RouteFerryPlace>
49 void SetPlace(PlaceT&& value) { m_placeHasBeenSet = true; m_place = std::forward<PlaceT>(value); }
50 template<typename PlaceT = RouteFerryPlace>
51 RouteFerryDeparture& WithPlace(PlaceT&& value) { SetPlace(std::forward<PlaceT>(value)); return *this;}
53
55
58 inline const Aws::String& GetTime() const { return m_time; }
59 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
60 template<typename TimeT = Aws::String>
61 void SetTime(TimeT&& value) { m_timeHasBeenSet = true; m_time = std::forward<TimeT>(value); }
62 template<typename TimeT = Aws::String>
63 RouteFerryDeparture& WithTime(TimeT&& value) { SetTime(std::forward<TimeT>(value)); return *this;}
65 private:
66
67 RouteFerryPlace m_place;
68 bool m_placeHasBeenSet = false;
69
70 Aws::String m_time;
71 bool m_timeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace GeoRoutes
76} // namespace Aws
RouteFerryDeparture & WithPlace(PlaceT &&value)
AWS_GEOROUTES_API RouteFerryDeparture()=default
RouteFerryDeparture & WithTime(TimeT &&value)
AWS_GEOROUTES_API RouteFerryDeparture & operator=(Aws::Utils::Json::JsonView jsonValue)
const RouteFerryPlace & GetPlace() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteFerryDeparture(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue