AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
RouteFerryArrival.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/RouteFerryPlace.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
30 public:
31 AWS_GEOROUTES_API RouteFerryArrival() = default;
32 AWS_GEOROUTES_API RouteFerryArrival(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const RouteFerryPlace& GetPlace() const { return m_place; }
41 inline bool PlaceHasBeenSet() const { return m_placeHasBeenSet; }
42 template <typename PlaceT = RouteFerryPlace>
43 void SetPlace(PlaceT&& value) {
44 m_placeHasBeenSet = true;
45 m_place = std::forward<PlaceT>(value);
46 }
47 template <typename PlaceT = RouteFerryPlace>
48 RouteFerryArrival& WithPlace(PlaceT&& value) {
49 SetPlace(std::forward<PlaceT>(value));
50 return *this;
51 }
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) {
62 m_timeHasBeenSet = true;
63 m_time = std::forward<TimeT>(value);
64 }
65 template <typename TimeT = Aws::String>
66 RouteFerryArrival& WithTime(TimeT&& value) {
67 SetTime(std::forward<TimeT>(value));
68 return *this;
69 }
71 private:
72 RouteFerryPlace m_place;
73
74 Aws::String m_time;
75 bool m_placeHasBeenSet = false;
76 bool m_timeHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace GeoRoutes
81} // namespace Aws
RouteFerryArrival & WithTime(TimeT &&value)
AWS_GEOROUTES_API RouteFerryArrival()=default
AWS_GEOROUTES_API RouteFerryArrival & operator=(Aws::Utils::Json::JsonView jsonValue)
const RouteFerryPlace & GetPlace() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteFerryArrival & WithPlace(PlaceT &&value)
AWS_GEOROUTES_API RouteFerryArrival(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue