AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OperationalHour.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/OverrideTimeSlice.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 Connect
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CONNECT_API OperationalHour() = default;
36 AWS_CONNECT_API OperationalHour(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const OverrideTimeSlice& GetStart() const { return m_start; }
46 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
47 template<typename StartT = OverrideTimeSlice>
48 void SetStart(StartT&& value) { m_startHasBeenSet = true; m_start = std::forward<StartT>(value); }
49 template<typename StartT = OverrideTimeSlice>
50 OperationalHour& WithStart(StartT&& value) { SetStart(std::forward<StartT>(value)); return *this;}
52
54
57 inline const OverrideTimeSlice& GetEnd() const { return m_end; }
58 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
59 template<typename EndT = OverrideTimeSlice>
60 void SetEnd(EndT&& value) { m_endHasBeenSet = true; m_end = std::forward<EndT>(value); }
61 template<typename EndT = OverrideTimeSlice>
62 OperationalHour& WithEnd(EndT&& value) { SetEnd(std::forward<EndT>(value)); return *this;}
64 private:
65
66 OverrideTimeSlice m_start;
67 bool m_startHasBeenSet = false;
68
70 bool m_endHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Connect
75} // namespace Aws
const OverrideTimeSlice & GetEnd() const
OperationalHour & WithEnd(EndT &&value)
AWS_CONNECT_API OperationalHour()=default
const OverrideTimeSlice & GetStart() const
AWS_CONNECT_API OperationalHour & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API OperationalHour(Aws::Utils::Json::JsonView jsonValue)
OperationalHour & WithStart(StartT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue