AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
WaypointOptimizationAccessHours.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/WaypointOptimizationAccessHoursEntry.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GeoRoutes {
20namespace Model {
21
29 public:
30 AWS_GEOROUTES_API WaypointOptimizationAccessHours() = default;
33 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const WaypointOptimizationAccessHoursEntry& GetFrom() const { return m_from; }
40 inline bool FromHasBeenSet() const { return m_fromHasBeenSet; }
41 template <typename FromT = WaypointOptimizationAccessHoursEntry>
42 void SetFrom(FromT&& value) {
43 m_fromHasBeenSet = true;
44 m_from = std::forward<FromT>(value);
45 }
46 template <typename FromT = WaypointOptimizationAccessHoursEntry>
48 SetFrom(std::forward<FromT>(value));
49 return *this;
50 }
52
54
57 inline const WaypointOptimizationAccessHoursEntry& GetTo() const { return m_to; }
58 inline bool ToHasBeenSet() const { return m_toHasBeenSet; }
59 template <typename ToT = WaypointOptimizationAccessHoursEntry>
60 void SetTo(ToT&& value) {
61 m_toHasBeenSet = true;
62 m_to = std::forward<ToT>(value);
63 }
64 template <typename ToT = WaypointOptimizationAccessHoursEntry>
66 SetTo(std::forward<ToT>(value));
67 return *this;
68 }
70 private:
72
74 bool m_fromHasBeenSet = false;
75 bool m_toHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace GeoRoutes
80} // namespace Aws
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API WaypointOptimizationAccessHours(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API WaypointOptimizationAccessHours & operator=(Aws::Utils::Json::JsonView jsonValue)
WaypointOptimizationAccessHours & WithFrom(FromT &&value)
const WaypointOptimizationAccessHoursEntry & GetTo() const
AWS_GEOROUTES_API WaypointOptimizationAccessHours()=default
const WaypointOptimizationAccessHoursEntry & GetFrom() const
Aws::Utils::Json::JsonValue JsonValue