AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GeoRoutes
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GEOROUTES_API WaypointOptimizationAccessHours() = default;
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const WaypointOptimizationAccessHoursEntry& GetFrom() const { return m_from; }
46 inline bool FromHasBeenSet() const { return m_fromHasBeenSet; }
47 template<typename FromT = WaypointOptimizationAccessHoursEntry>
48 void SetFrom(FromT&& value) { m_fromHasBeenSet = true; m_from = std::forward<FromT>(value); }
49 template<typename FromT = WaypointOptimizationAccessHoursEntry>
50 WaypointOptimizationAccessHours& WithFrom(FromT&& value) { SetFrom(std::forward<FromT>(value)); return *this;}
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) { m_toHasBeenSet = true; m_to = std::forward<ToT>(value); }
61 template<typename ToT = WaypointOptimizationAccessHoursEntry>
62 WaypointOptimizationAccessHours& WithTo(ToT&& value) { SetTo(std::forward<ToT>(value)); return *this;}
64 private:
65
67 bool m_fromHasBeenSet = false;
68
70 bool m_toHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace GeoRoutes
75} // 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