AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HoursOfOperationConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/HoursOfOperationDays.h>
9#include <aws/connect/model/HoursOfOperationTimeSlice.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 Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API HoursOfOperationConfig();
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const HoursOfOperationDays& GetDay() const{ return m_day; }
47 inline bool DayHasBeenSet() const { return m_dayHasBeenSet; }
48 inline void SetDay(const HoursOfOperationDays& value) { m_dayHasBeenSet = true; m_day = value; }
49 inline void SetDay(HoursOfOperationDays&& value) { m_dayHasBeenSet = true; m_day = std::move(value); }
50 inline HoursOfOperationConfig& WithDay(const HoursOfOperationDays& value) { SetDay(value); return *this;}
51 inline HoursOfOperationConfig& WithDay(HoursOfOperationDays&& value) { SetDay(std::move(value)); return *this;}
53
55
58 inline const HoursOfOperationTimeSlice& GetStartTime() const{ return m_startTime; }
59 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
60 inline void SetStartTime(const HoursOfOperationTimeSlice& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
61 inline void SetStartTime(HoursOfOperationTimeSlice&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
62 inline HoursOfOperationConfig& WithStartTime(const HoursOfOperationTimeSlice& value) { SetStartTime(value); return *this;}
63 inline HoursOfOperationConfig& WithStartTime(HoursOfOperationTimeSlice&& value) { SetStartTime(std::move(value)); return *this;}
65
67
70 inline const HoursOfOperationTimeSlice& GetEndTime() const{ return m_endTime; }
71 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
72 inline void SetEndTime(const HoursOfOperationTimeSlice& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
73 inline void SetEndTime(HoursOfOperationTimeSlice&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
74 inline HoursOfOperationConfig& WithEndTime(const HoursOfOperationTimeSlice& value) { SetEndTime(value); return *this;}
75 inline HoursOfOperationConfig& WithEndTime(HoursOfOperationTimeSlice&& value) { SetEndTime(std::move(value)); return *this;}
77 private:
78
80 bool m_dayHasBeenSet = false;
81
82 HoursOfOperationTimeSlice m_startTime;
83 bool m_startTimeHasBeenSet = false;
84
86 bool m_endTimeHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Connect
91} // namespace Aws
void SetStartTime(HoursOfOperationTimeSlice &&value)
const HoursOfOperationDays & GetDay() const
HoursOfOperationConfig & WithDay(HoursOfOperationDays &&value)
HoursOfOperationConfig & WithEndTime(const HoursOfOperationTimeSlice &value)
HoursOfOperationConfig & WithEndTime(HoursOfOperationTimeSlice &&value)
AWS_CONNECT_API HoursOfOperationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEndTime(HoursOfOperationTimeSlice &&value)
const HoursOfOperationTimeSlice & GetStartTime() const
HoursOfOperationConfig & WithStartTime(const HoursOfOperationTimeSlice &value)
void SetEndTime(const HoursOfOperationTimeSlice &value)
HoursOfOperationConfig & WithDay(const HoursOfOperationDays &value)
void SetDay(HoursOfOperationDays &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStartTime(const HoursOfOperationTimeSlice &value)
AWS_CONNECT_API HoursOfOperationConfig(Aws::Utils::Json::JsonView jsonValue)
HoursOfOperationConfig & WithStartTime(HoursOfOperationTimeSlice &&value)
void SetDay(const HoursOfOperationDays &value)
const HoursOfOperationTimeSlice & GetEndTime() const
Aws::Utils::Json::JsonValue JsonValue