AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HoursOfOperationTimeSlice.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_CONNECT_API HoursOfOperationTimeSlice();
36 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetHours() const{ return m_hours; }
44 inline bool HoursHasBeenSet() const { return m_hoursHasBeenSet; }
45 inline void SetHours(int value) { m_hoursHasBeenSet = true; m_hours = value; }
46 inline HoursOfOperationTimeSlice& WithHours(int value) { SetHours(value); return *this;}
48
50
53 inline int GetMinutes() const{ return m_minutes; }
54 inline bool MinutesHasBeenSet() const { return m_minutesHasBeenSet; }
55 inline void SetMinutes(int value) { m_minutesHasBeenSet = true; m_minutes = value; }
56 inline HoursOfOperationTimeSlice& WithMinutes(int value) { SetMinutes(value); return *this;}
58 private:
59
60 int m_hours;
61 bool m_hoursHasBeenSet = false;
62
63 int m_minutes;
64 bool m_minutesHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace Connect
69} // namespace Aws
HoursOfOperationTimeSlice & WithMinutes(int value)
HoursOfOperationTimeSlice & WithHours(int value)
AWS_CONNECT_API HoursOfOperationTimeSlice(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API HoursOfOperationTimeSlice & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue