AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetFrom(const WaypointOptimizationAccessHoursEntry& value) { m_fromHasBeenSet = true; m_from = value; }
48 inline void SetFrom(WaypointOptimizationAccessHoursEntry&& value) { m_fromHasBeenSet = true; m_from = std::move(value); }
50 inline WaypointOptimizationAccessHours& WithFrom(WaypointOptimizationAccessHoursEntry&& value) { SetFrom(std::move(value)); return *this;}
52
54
57 inline const WaypointOptimizationAccessHoursEntry& GetTo() const{ return m_to; }
58 inline bool ToHasBeenSet() const { return m_toHasBeenSet; }
59 inline void SetTo(const WaypointOptimizationAccessHoursEntry& value) { m_toHasBeenSet = true; m_to = value; }
60 inline void SetTo(WaypointOptimizationAccessHoursEntry&& value) { m_toHasBeenSet = true; m_to = std::move(value); }
62 inline WaypointOptimizationAccessHours& WithTo(WaypointOptimizationAccessHoursEntry&& value) { SetTo(std::move(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
void SetFrom(const WaypointOptimizationAccessHoursEntry &value)
AWS_GEOROUTES_API WaypointOptimizationAccessHours(Aws::Utils::Json::JsonView jsonValue)
WaypointOptimizationAccessHours & WithTo(WaypointOptimizationAccessHoursEntry &&value)
void SetFrom(WaypointOptimizationAccessHoursEntry &&value)
void SetTo(const WaypointOptimizationAccessHoursEntry &value)
WaypointOptimizationAccessHours & WithTo(const WaypointOptimizationAccessHoursEntry &value)
AWS_GEOROUTES_API WaypointOptimizationAccessHours & operator=(Aws::Utils::Json::JsonView jsonValue)
WaypointOptimizationAccessHours & WithFrom(WaypointOptimizationAccessHoursEntry &&value)
const WaypointOptimizationAccessHoursEntry & GetTo() const
void SetTo(WaypointOptimizationAccessHoursEntry &&value)
const WaypointOptimizationAccessHoursEntry & GetFrom() const
WaypointOptimizationAccessHours & WithFrom(const WaypointOptimizationAccessHoursEntry &value)
Aws::Utils::Json::JsonValue JsonValue