AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WaypointOptimizationAccessHoursEntry.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/DayOfWeek.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
33 {
34 public:
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const DayOfWeek& GetDayOfWeek() const{ return m_dayOfWeek; }
46 inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; }
47 inline void SetDayOfWeek(const DayOfWeek& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; }
48 inline void SetDayOfWeek(DayOfWeek&& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = std::move(value); }
49 inline WaypointOptimizationAccessHoursEntry& WithDayOfWeek(const DayOfWeek& value) { SetDayOfWeek(value); return *this;}
50 inline WaypointOptimizationAccessHoursEntry& WithDayOfWeek(DayOfWeek&& value) { SetDayOfWeek(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetTimeOfDay() const{ return m_timeOfDay; }
58 inline bool TimeOfDayHasBeenSet() const { return m_timeOfDayHasBeenSet; }
59 inline void SetTimeOfDay(const Aws::String& value) { m_timeOfDayHasBeenSet = true; m_timeOfDay = value; }
60 inline void SetTimeOfDay(Aws::String&& value) { m_timeOfDayHasBeenSet = true; m_timeOfDay = std::move(value); }
61 inline void SetTimeOfDay(const char* value) { m_timeOfDayHasBeenSet = true; m_timeOfDay.assign(value); }
62 inline WaypointOptimizationAccessHoursEntry& WithTimeOfDay(const Aws::String& value) { SetTimeOfDay(value); return *this;}
63 inline WaypointOptimizationAccessHoursEntry& WithTimeOfDay(Aws::String&& value) { SetTimeOfDay(std::move(value)); return *this;}
64 inline WaypointOptimizationAccessHoursEntry& WithTimeOfDay(const char* value) { SetTimeOfDay(value); return *this;}
66 private:
67
68 DayOfWeek m_dayOfWeek;
69 bool m_dayOfWeekHasBeenSet = false;
70
71 Aws::String m_timeOfDay;
72 bool m_timeOfDayHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace GeoRoutes
77} // namespace Aws
void SetDayOfWeek(DayOfWeek &&value)
void SetTimeOfDay(Aws::String &&value)
WaypointOptimizationAccessHoursEntry & WithTimeOfDay(const char *value)
AWS_GEOROUTES_API WaypointOptimizationAccessHoursEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API WaypointOptimizationAccessHoursEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API WaypointOptimizationAccessHoursEntry()
WaypointOptimizationAccessHoursEntry & WithDayOfWeek(const DayOfWeek &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
bool DayOfWeekHasBeenSet() const
bool TimeOfDayHasBeenSet() const
const DayOfWeek & GetDayOfWeek() const
WaypointOptimizationAccessHoursEntry & WithTimeOfDay(Aws::String &&value)
void SetDayOfWeek(const DayOfWeek &value)
WaypointOptimizationAccessHoursEntry & WithTimeOfDay(const Aws::String &value)
const Aws::String & GetTimeOfDay() const
void SetTimeOfDay(const Aws::String &value)
void SetTimeOfDay(const char *value)
WaypointOptimizationAccessHoursEntry & WithDayOfWeek(DayOfWeek &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue