AWS SDK for C++  1.9.153
AWS SDK for C++
HoursOfOperationConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Connect
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const HoursOfOperationDays& GetDay() const{ return m_day; }
46 
50  inline bool DayHasBeenSet() const { return m_dayHasBeenSet; }
51 
55  inline void SetDay(const HoursOfOperationDays& value) { m_dayHasBeenSet = true; m_day = value; }
56 
60  inline void SetDay(HoursOfOperationDays&& value) { m_dayHasBeenSet = true; m_day = std::move(value); }
61 
65  inline HoursOfOperationConfig& WithDay(const HoursOfOperationDays& value) { SetDay(value); return *this;}
66 
70  inline HoursOfOperationConfig& WithDay(HoursOfOperationDays&& value) { SetDay(std::move(value)); return *this;}
71 
72 
76  inline const HoursOfOperationTimeSlice& GetStartTime() const{ return m_startTime; }
77 
81  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
82 
86  inline void SetStartTime(const HoursOfOperationTimeSlice& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
87 
91  inline void SetStartTime(HoursOfOperationTimeSlice&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
92 
96  inline HoursOfOperationConfig& WithStartTime(const HoursOfOperationTimeSlice& value) { SetStartTime(value); return *this;}
97 
101  inline HoursOfOperationConfig& WithStartTime(HoursOfOperationTimeSlice&& value) { SetStartTime(std::move(value)); return *this;}
102 
103 
107  inline const HoursOfOperationTimeSlice& GetEndTime() const{ return m_endTime; }
108 
112  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
113 
117  inline void SetEndTime(const HoursOfOperationTimeSlice& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
118 
122  inline void SetEndTime(HoursOfOperationTimeSlice&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
123 
127  inline HoursOfOperationConfig& WithEndTime(const HoursOfOperationTimeSlice& value) { SetEndTime(value); return *this;}
128 
132  inline HoursOfOperationConfig& WithEndTime(HoursOfOperationTimeSlice&& value) { SetEndTime(std::move(value)); return *this;}
133 
134  private:
135 
136  HoursOfOperationDays m_day;
137  bool m_dayHasBeenSet;
138 
139  HoursOfOperationTimeSlice m_startTime;
140  bool m_startTimeHasBeenSet;
141 
142  HoursOfOperationTimeSlice m_endTime;
143  bool m_endTimeHasBeenSet;
144  };
145 
146 } // namespace Model
147 } // namespace Connect
148 } // namespace Aws
Aws::Connect::Model::HoursOfOperationConfig::WithStartTime
HoursOfOperationConfig & WithStartTime(const HoursOfOperationTimeSlice &value)
Definition: HoursOfOperationConfig.h:96
Aws::Connect::Model::HoursOfOperationTimeSlice
Definition: HoursOfOperationTimeSlice.h:31
Aws::Connect::Model::HoursOfOperationDays
HoursOfOperationDays
Definition: HoursOfOperationDays.h:17
Aws::Connect::Model::HoursOfOperationConfig::operator=
HoursOfOperationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::HoursOfOperationConfig::GetStartTime
const HoursOfOperationTimeSlice & GetStartTime() const
Definition: HoursOfOperationConfig.h:76
Aws::Connect::Model::HoursOfOperationConfig::GetEndTime
const HoursOfOperationTimeSlice & GetEndTime() const
Definition: HoursOfOperationConfig.h:107
Aws::Connect::Model::HoursOfOperationConfig::WithStartTime
HoursOfOperationConfig & WithStartTime(HoursOfOperationTimeSlice &&value)
Definition: HoursOfOperationConfig.h:101
Aws::Connect::Model::HoursOfOperationConfig::SetEndTime
void SetEndTime(HoursOfOperationTimeSlice &&value)
Definition: HoursOfOperationConfig.h:122
Aws::Connect::Model::HoursOfOperationConfig::WithEndTime
HoursOfOperationConfig & WithEndTime(const HoursOfOperationTimeSlice &value)
Definition: HoursOfOperationConfig.h:127
Aws::Connect::Model::HoursOfOperationConfig::SetDay
void SetDay(const HoursOfOperationDays &value)
Definition: HoursOfOperationConfig.h:55
Aws::Connect::Model::HoursOfOperationConfig::HoursOfOperationConfig
HoursOfOperationConfig()
Aws::Connect::Model::HoursOfOperationConfig::HoursOfOperationConfig
HoursOfOperationConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::HoursOfOperationConfig::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: HoursOfOperationConfig.h:81
HoursOfOperationTimeSlice.h
Aws::Connect::Model::HoursOfOperationConfig::WithEndTime
HoursOfOperationConfig & WithEndTime(HoursOfOperationTimeSlice &&value)
Definition: HoursOfOperationConfig.h:132
Aws::Connect::Model::HoursOfOperationConfig::SetEndTime
void SetEndTime(const HoursOfOperationTimeSlice &value)
Definition: HoursOfOperationConfig.h:117
Aws::Connect::Model::HoursOfOperationConfig
Definition: HoursOfOperationConfig.h:34
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::HoursOfOperationConfig::SetStartTime
void SetStartTime(HoursOfOperationTimeSlice &&value)
Definition: HoursOfOperationConfig.h:91
HoursOfOperationDays.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::HoursOfOperationConfig::WithDay
HoursOfOperationConfig & WithDay(HoursOfOperationDays &&value)
Definition: HoursOfOperationConfig.h:70
Aws::Connect::Model::HoursOfOperationConfig::WithDay
HoursOfOperationConfig & WithDay(const HoursOfOperationDays &value)
Definition: HoursOfOperationConfig.h:65
Aws::Connect::Model::HoursOfOperationConfig::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: HoursOfOperationConfig.h:112
Aws::Connect::Model::HoursOfOperationConfig::SetDay
void SetDay(HoursOfOperationDays &&value)
Definition: HoursOfOperationConfig.h:60
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::HoursOfOperationConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::HoursOfOperationConfig::GetDay
const HoursOfOperationDays & GetDay() const
Definition: HoursOfOperationConfig.h:45
Connect_EXPORTS.h
Aws::Connect::Model::HoursOfOperationConfig::DayHasBeenSet
bool DayHasBeenSet() const
Definition: HoursOfOperationConfig.h:50
Aws::Connect::Model::HoursOfOperationConfig::SetStartTime
void SetStartTime(const HoursOfOperationTimeSlice &value)
Definition: HoursOfOperationConfig.h:86