AWS SDK for C++  1.9.161
AWS SDK for C++
HoursOfOperationTimeSlice.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace Connect
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
42  inline int GetHours() const{ return m_hours; }
43 
47  inline bool HoursHasBeenSet() const { return m_hoursHasBeenSet; }
48 
52  inline void SetHours(int value) { m_hoursHasBeenSet = true; m_hours = value; }
53 
57  inline HoursOfOperationTimeSlice& WithHours(int value) { SetHours(value); return *this;}
58 
59 
63  inline int GetMinutes() const{ return m_minutes; }
64 
68  inline bool MinutesHasBeenSet() const { return m_minutesHasBeenSet; }
69 
73  inline void SetMinutes(int value) { m_minutesHasBeenSet = true; m_minutes = value; }
74 
78  inline HoursOfOperationTimeSlice& WithMinutes(int value) { SetMinutes(value); return *this;}
79 
80  private:
81 
82  int m_hours;
83  bool m_hoursHasBeenSet;
84 
85  int m_minutes;
86  bool m_minutesHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace Connect
91 } // namespace Aws
Aws::Connect::Model::HoursOfOperationTimeSlice
Definition: HoursOfOperationTimeSlice.h:31
Aws::Connect::Model::HoursOfOperationTimeSlice::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::HoursOfOperationTimeSlice::SetMinutes
void SetMinutes(int value)
Definition: HoursOfOperationTimeSlice.h:73
Aws::Connect::Model::HoursOfOperationTimeSlice::WithMinutes
HoursOfOperationTimeSlice & WithMinutes(int value)
Definition: HoursOfOperationTimeSlice.h:78
Aws::Connect::Model::HoursOfOperationTimeSlice::HoursOfOperationTimeSlice
HoursOfOperationTimeSlice(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::HoursOfOperationTimeSlice::WithHours
HoursOfOperationTimeSlice & WithHours(int value)
Definition: HoursOfOperationTimeSlice.h:57
Aws::Connect::Model::HoursOfOperationTimeSlice::HoursHasBeenSet
bool HoursHasBeenSet() const
Definition: HoursOfOperationTimeSlice.h:47
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Connect::Model::HoursOfOperationTimeSlice::MinutesHasBeenSet
bool MinutesHasBeenSet() const
Definition: HoursOfOperationTimeSlice.h:68
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::HoursOfOperationTimeSlice::GetHours
int GetHours() const
Definition: HoursOfOperationTimeSlice.h:42
Aws::Connect::Model::HoursOfOperationTimeSlice::SetHours
void SetHours(int value)
Definition: HoursOfOperationTimeSlice.h:52
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::HoursOfOperationTimeSlice::GetMinutes
int GetMinutes() const
Definition: HoursOfOperationTimeSlice.h:63
Aws::Connect::Model::HoursOfOperationTimeSlice::operator=
HoursOfOperationTimeSlice & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::HoursOfOperationTimeSlice::HoursOfOperationTimeSlice
HoursOfOperationTimeSlice()